1 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3 * docs/gst/gstreamer-sections.txt:
4 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
5 (gst_registry_binary_check_magic):
6 * gst/gstregistrybinary.h:
7 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
8 and add it to the (private part) of the docs to fix the build.
10 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
12 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
13 (gst_registry_binary_check_magic),
14 (gst_registry_binary_read_cache):
15 * gst/gstregistrybinary.h:
16 Don't use GST_MAJORMINOR for the binary registry version. Instead
17 hardcode a value that must be changed whenever the format changes
18 in an incompatible way.
19 Also don't GST_ERROR when there is a version mismatch, just
20 regenerate the registry silently.
22 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
25 Back to development - 0.10.18.1
27 === release 0.10.18 ===
29 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
32 releasing 0.10.18, "So far away"
34 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
37 * win32/common/config.h:
40 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
42 Patch by: Ole André Vadla Ravnås
43 <ole dot andre dot ravnas at tandberg dot com>
45 * docs/gst/gstreamer-sections.txt:
46 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
47 (gst_poll_update_winsock_event_mask),
48 (gst_poll_prepare_winsock_active_sets),
49 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
50 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
51 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
52 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
53 (gst_poll_check_ctrl_commands), (gst_poll_wait):
55 * win32/common/libgstreamer.def:
56 Add new function gst_poll_fd_ignored() for improved Windows
58 Various minor fixes and cleanups. See #520808.
60 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
62 * gst/gstindex.c: (gst_index_entry_free):
64 Don't free key strings which we don't own. Fixes crash in
65 gst_index_entry_free() (#522741).
67 * tests/check/Makefile.am:
68 * tests/check/gst/.cvsignore:
69 * tests/check/gst/gstindex.c: (test_index_entries),
70 (gst_index_suite), (gst_index):
71 Add unit test for the above.
73 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
75 * win32/common/libgstreamer.def:
76 Remove symbols that were removed recently. Fixes bug #521740.
78 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
81 * win32/common/config.h:
84 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
86 Patch by: Ole André Vadla Ravnås
87 <ole dot andre dot ravnas at tandberg dot com>
89 * docs/gst/gstreamer-sections.txt:
90 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
91 (gst_poll_update_winsock_event_mask), (gst_poll_new),
92 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
93 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
94 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
95 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
96 (gst_poll_fd_can_write), (gst_poll_wait),
97 (gst_poll_set_controllable), (gst_poll_restart),
98 (gst_poll_set_flushing):
100 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
101 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
102 (gst_net_time_provider_new):
103 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
104 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
105 * tests/benchmarks/gstpollstress.c: (main):
106 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
107 Remove GstPollMode from the API, it does not make sense to let the
108 application control this.
109 Add support for Win32.
110 Fix the testsuite. Fixes #520671.
112 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
114 Patch by: Ole André Vadla Ravnås
115 <ole dot andre dot ravnas at tandberg dot com>
117 * gst/gstregistrybinary.c:
118 Include io.h for write() and close() when building with MSVC. Fixes
121 2008-03-07 Stefan Kost <ensonic@users.sf.net>
125 * gst/gstconfig.h.in:
127 * gst/gstregistrybinary.c:
128 * win32/common/gstconfig.h:
129 Move registry backend API to private headers where we can. Add
130 fixme-0.11 comments for the others. Add stubs for the xml backend when
131 using the binary to ensure they functions exists (they should not be
132 used though). Fixes #520756.
134 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
137 * win32/common/config.h:
140 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
142 * gst/gstregistrybinary.c: (gst_registry_binary_write),
143 (gst_registry_binary_read_cache):
144 * gst/gstregistryxml.c: (gst_registry_save):
145 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
146 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
147 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
148 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
149 Switch to using portabl gsize/gssize instead of size_t/ssize_t
152 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
154 * gst/gstminiobject.c:
155 Import gst_private.h before any other header that might include other
156 glib headers. This fixes the build on windows using native compilers.
158 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
160 * win32/common/gstconfig.h:
161 Add here too, just for completeness.
163 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
166 * gst/gstconfig.h.in:
168 Fix broken use of config.h-defined preprocessor directive in a public
169 header file. Add a corresponding define to gstconfig.h, since we can't
170 really remove those function declarations from the header file now
171 (or can we? and why are they there in the first place?).
173 2008-03-03 Andy Wingo <wingo@pobox.com>
175 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
178 * gst/gststructure.c (gst_structure_from_string): Warn if
179 structure_from_string didn't consume the whole string, but the
180 caller did not provide an end pointer.
182 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
184 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
186 * gst/gstregistryxml.c: (read_string), (load_feature):
187 Strings allocated by libxml2 should be freed with xmlFree(), not
188 with g_free(). Fixes issues on windows in certain contexts (#519698).
190 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
192 * gst/gstinterface.c: (gst_element_implements_interface):
193 Don't crash if the element supports the interface queried, but does
194 not implement GstImplementsInterface. Fixes #519584.
196 * tests/check/Makefile.am:
197 * tests/check/gst/.cvsignore:
198 * tests/check/gst/gstinterface.c:
199 Add unit test for the above.
201 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
203 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
206 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
208 * gst/gstsegment.c: (gst_segment_set_seek),
209 (gst_segment_to_stream_time):
210 Improve some comment.
211 Update variables where it makes more sense.
213 2008-02-29 Rene Stadler <mail@renestadler.de>
215 * gst/gsturi.c: (gst_uri_handler_get_protocols):
216 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
217 URIHandlers implemented using language bindings.
219 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
221 * gst/gstelementfactory.h:
222 * tests/check/elements/fakesink.c:
223 * tests/check/elements/fakesrc.c: (setup_fakesrc):
224 * tests/check/elements/fdsrc.c: (setup_fdsrc):
225 * tests/check/elements/filesink.c: (setup_filesink):
226 * tests/check/elements/filesrc.c: (setup_filesrc):
227 * tests/check/elements/identity.c: (setup_identity):
228 * tests/check/elements/tee.c:
229 * tests/check/generic/sinks.c:
230 * tests/check/generic/states.c: (setup), (teardown):
231 * tests/check/gst/gst.c:
232 * tests/check/gst/gstabi.c:
233 * tests/check/gst/gstbin.c:
234 * tests/check/gst/gstbus.c: (pull_messages):
235 * tests/check/gst/gstcaps.c:
236 * tests/check/gst/gstelement.c:
237 * tests/check/gst/gstevent.c:
238 * tests/check/gst/gstghostpad.c:
239 * tests/check/gst/gstiterator.c:
240 * tests/check/gst/gstmessage.c:
241 * tests/check/gst/gstminiobject.c: (my_foo_init):
242 * tests/check/gst/gstobject.c: (thread_name_object),
244 * tests/check/gst/gstpad.c:
245 * tests/check/gst/gstplugin.c:
246 * tests/check/gst/gstpoll.c:
247 * tests/check/gst/gstquery.c:
248 * tests/check/gst/gstsegment.c:
249 * tests/check/gst/gststructure.c:
250 * tests/check/gst/gstsystemclock.c:
251 * tests/check/gst/gsttask.c:
252 * tests/check/gst/gstutils.c:
253 * tests/check/gst/gstvalue.c:
254 * tests/check/gst/struct_hppa.h:
255 * tests/check/gst/struct_i386.h:
256 * tests/check/gst/struct_ppc32.h:
257 * tests/check/gst/struct_ppc64.h:
258 * tests/check/gst/struct_x86_64.h:
259 * tests/check/libs/adapter.c: (create_and_fill_adapter):
260 * tests/check/libs/basesrc.c:
261 * tests/check/libs/controller.c: (GST_START_TEST):
262 * tests/check/libs/gdp.c:
263 * tests/check/libs/gstnetclientclock.c:
264 * tests/check/libs/gstnettimeprovider.c:
265 * tests/check/libs/libsabi.c:
266 * tests/check/libs/struct_hppa.h:
267 * tests/check/libs/struct_i386.h:
268 * tests/check/libs/struct_ppc32.h:
269 * tests/check/libs/struct_ppc64.h:
270 * tests/check/libs/struct_x86_64.h:
271 * tests/check/pipelines/cleanup.c:
272 * tests/check/pipelines/simple-launch-lines.c:
273 * tests/check/pipelines/stress.c:
274 And correct even more valid sparse warnings.
276 * win32/common/libgstreamer.def:
277 Add gst_poll_fd_init to the list of symbols.
279 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
281 * gst/gstconfig.h.in:
282 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
283 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
284 (gst_check_log_critical_func), (gst_check_drop_buffers),
285 (gst_check_element_push_buffer_list):
286 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
287 (gst_controller_get_type):
288 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
289 (gst_object_get_controller), (gst_object_get_control_source):
290 * libs/gst/controller/gstinterpolationcontrolsource.c:
291 (gst_interpolation_control_source_new):
292 * libs/gst/controller/gstlfocontrolsource.c:
293 (gst_lfo_control_source_new):
294 * libs/gst/dataprotocol/dataprotocol.c:
295 (gst_dp_event_from_packet_0_2):
296 * plugins/elements/gstfdsrc.c:
297 * plugins/elements/gstmultiqueue.c:
298 * plugins/elements/gsttee.c:
299 * plugins/elements/gsttypefindelement.c:
300 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
301 (gst_file_index_add_association):
302 * plugins/indexers/gstmemindex.c:
303 * tests/benchmarks/gstpollstress.c: (mess_some_more):
304 * tests/check/elements/queue.c: (setup_queue):
305 * tests/check/gst/gstpipeline.c:
306 * tests/check/libs/collectpads.c: (setup), (teardown),
307 (gst_collect_pads_suite):
308 * tests/examples/adapter/adapter_test.c:
309 * tests/examples/metadata/read-metadata.c: (make_pipeline):
310 * tests/examples/xml/createxml.c:
311 * tests/examples/xml/runxml.c:
312 * tools/gst-inspect.c:
314 Correct all relevant warnings found by the sparse semantic code
315 analyzer. This include marking several symbols static, using
316 NULL instead of 0 for pointers, not using variable sized arrays
317 on the stack, moving variable declarations to the beginning of
318 a block and using "foo (void)" instead of "foo ()" for declarations.
320 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
322 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
323 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
324 Don't reset GstPollFDs, this is not necessary at all.
326 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
327 (delayed_restart), (delayed_control):
328 Use GST_POLL_FD_INIT.
330 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
332 * gst/gstpoll.c: (gst_poll_fd_init):
336 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
337 Use some more init macros.
339 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
341 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
342 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
343 Use init macros and functions.
345 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
347 * docs/gst/gstreamer-sections.txt:
348 * gst/gstpoll.c: (gst_poll_fd_init):
350 Add INIT macro and _init method for initializing the GstPollFD.
352 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
354 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
355 (gst_fd_sink_update_fd):
356 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
357 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
358 (delayed_restart), (delayed_control):
359 Initialize some uninitialized variables as spotted by valgrind.
361 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
363 * tests/benchmarks/Makefile.am:
364 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
366 Add poll stress test.
368 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
370 Patch by: Peter Kjellerstedt <pkj at axis dot com>
372 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
373 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
374 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
375 * plugins/elements/gstfdsink.h:
376 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
377 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
378 (gst_fd_src_unlock_stop), (gst_fd_src_create),
379 (gst_fd_src_uri_set_uri):
380 * plugins/elements/gstfdsrc.h:
381 Port to GstPoll. See #505417.
383 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
385 * win32/common/libgstreamer.def:
386 Add new gst_poll_ symbols to win32 defs.
388 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
390 * docs/libs/gstreamer-libs-sections.txt:
391 * libs/gst/net/gstnetclientclock.c:
392 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
393 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
394 (gst_net_client_clock_thread), (gst_net_client_clock_start),
395 (gst_net_client_clock_stop), (gst_net_client_clock_new):
396 * libs/gst/net/gstnetclientclock.h:
397 * libs/gst/net/gstnettimeprovider.c:
398 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
399 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
400 (gst_net_time_provider_start), (gst_net_time_provider_stop),
401 (gst_net_time_provider_new):
402 * libs/gst/net/gstnettimeprovider.h:
403 Use a private stuct to not break ABI.
405 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
407 Patch by: Peter Kjellerstedt <pkj at axis dot com>
409 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
410 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
411 (gst_net_client_clock_thread), (gst_net_client_clock_start),
412 (gst_net_client_clock_stop), (gst_net_client_clock_new):
413 * libs/gst/net/gstnetclientclock.h:
414 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
415 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
416 (gst_net_time_provider_start), (gst_net_time_provider_stop),
417 (gst_net_time_provider_new):
418 * libs/gst/net/gstnettimeprovider.h:
419 Massive code removal and cleanups because of GstPoll.
422 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
425 Add checks for poll, ppoll and pselect.
427 * docs/gst/gstreamer-docs.sgml:
428 * docs/gst/gstreamer-sections.txt:
429 Add docs for GstPoll.
433 * gst/gstpoll.c: (find_index), (selectable_fds),
434 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
435 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
436 (gst_poll_set_mode), (gst_poll_get_mode),
437 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
438 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
439 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
440 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
441 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
442 (gst_poll_fd_can_write), (gst_poll_wait),
443 (gst_poll_set_controllable), (gst_poll_restart),
444 (gst_poll_set_flushing):
446 Add generic poll abstraction. We ideally don't want to have this in core
447 here but in glib intead...
448 This code will be used in various network elements and ultimately for
449 the nanosecond precision monotonic clock (that's why it's here in core).
450 It'll allow us to implement cancelable socket operations for windows too.
452 * tests/check/Makefile.am:
453 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
454 (delayed_stop), (delayed_restart), (delayed_flush),
455 (delayed_control), (gst_poll_suite):
456 Add GstPoll unit test.
458 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
461 Improve documentation of gst_filter_run(). Fixes #518627.
463 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
466 Add a few lines about the new 'check-inspected-versions' target.
468 2008-02-21 Stefan Kost <ensonic@users.sf.net>
470 * tests/check/gst/gstevent.c:
471 Add qos to the event test. Rename tcase/tsuite; is not only about
474 2008-02-21 Stefan Kost <ensonic@users.sf.net>
476 * plugins/elements/gstqueue.c:
477 Ensure that buffer metadata is writeable, before modifying. Spotted by
480 2008-02-20 Stefan Kost <ensonic@users.sf.net>
482 * plugins/elements/gstqueue.c:
483 * plugins/elements/gstqueue.h:
484 When dropping buffers in leaky modes, mark next buffers we sent as
487 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
489 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
490 Also, if mmap() fails that would be a READ error, not OPEN_READ.
492 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
494 * plugins/elements/Makefile.am:
495 * plugins/elements/gstbufferstore.c:
496 * plugins/elements/gstbufferstore.h:
497 * plugins/elements/gsttypefindelement.h:
498 Remove GstBufferStore, no idea why we were still building it.
499 It's not used anywhere and superseded by GstAdapter.
501 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
502 (gst_file_src_create_mmap):
503 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
504 Printf format fixes for 64-bit integers.
506 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
509 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
510 We're not in 0.8 times anymore.
512 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
514 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
515 (gst_check_element_push_buffer_list):
516 * libs/gst/check/gstcheck.h:
517 Make the declaration in the header for
518 gst_check_element_push_buffer_list match the implementation.
520 Fix up spelling, grammar and wording of the documentation in a few
521 places, and add the Since keyword to new API functions.
522 Use g_list_delete_link instead of g_list_remove in
523 gst_check_drop_buffers, since it's immeasurably more efficient.
525 * tests/check/elements/fakesrc.c: (GST_START_TEST):
526 Use new gst_check_drop_buffers function where appropriate.
528 * win32/common/libgstbase.def:
529 * win32/common/libgstreamer.def:
530 Add new symbols gst_collect_pads_take_buffer,
531 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
534 Changelog surgery to add API keyword to new gst_check API.
536 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
538 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
539 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
540 Update pre-generated flex files with flex 2.3.34.
542 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
544 * gst/gstminiobject.c:
545 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
546 friendly to subclasses and not require them to know all internals
547 of their parent class.
549 2008-02-15 Stefan Kost <ensonic@users.sf.net>
551 * docs/libs/gstreamer-libs-sections.txt:
552 * libs/gst/base/gstcollectpads.c:
553 * libs/gst/base/gstcollectpads.h:
554 Add sub-buffer functions to collectpads. Fixes #516187.
555 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
557 2008-02-15 Stefan Kost <ensonic@users.sf.net>
560 Copy selected buffer-flags when creating subbuffers.
563 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
565 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
566 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
567 * gst/gstmessage.c: (gst_message_class_init),
568 (gst_message_finalize):
569 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
570 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
571 (gst_mmap_buffer_finalize):
572 Properly chain up finalize functions to the parent class.
574 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
576 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
578 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
579 (gst_index_set_resolver_full):
581 Add new function with option to dispose of user_data in resolver.
582 Actually call the dispose function when finalizing the object and not
583 just when changing the resolver/filter.
584 API: GstIndex::gst_index_set_resolver_full()
586 * docs/gst/gstreamer-sections.txt:
587 Add new function to docs. Fixes #515469.
589 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
591 * gst/gstindex.c: (gst_index_finalize):
592 Chain up finalize to the parent class. Fixes leaking the GstObject
593 name and other things.
595 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
598 Make DISABLE_DEPRECATED defined *only* during CVS, not during
599 pre-releases or releases.
601 * docs/faq/gst-uninstalled:
604 * docs/random/release:
605 Change one of the steps - we only upload core & base to Gnome FTP
607 2008-02-06 Stefan Kost <ensonic@users.sf.net>
609 * gst/gstconfig.h.in:
610 Add 'id' for example.
614 * plugins/elements/gstfdsink.c:
615 Link to signals. Doc and comment fixes.
617 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
619 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
620 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
621 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
622 unused and unimplemented; finally, it is plugin features, not
623 plugins, that have ranks.
625 2008-02-05 Stefan Kost <ensonic@users.sf.net>
627 * gst/gstpluginfeature.h:
628 Clarify GstRank range docs.
630 2008-02-05 David Schleef <ds@schleef.org>
632 * gst/gst.c: Add a separate gst_deinitialized that prevents
633 gst_init() from being called after gst_deinit(). Fixes #509559
635 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
637 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
638 (gst_bin_class_init):
639 * gst/gstelement.c: (gst_element_base_class_init),
640 (gst_element_class_add_pad_template):
641 * gst/gstpadtemplate.c: (gst_pad_template_init):
642 * gst/gstpipeline.c: (gst_pipeline_get_type),
643 (gst_pipeline_base_init), (gst_pipeline_class_init):
644 * libs/gst/base/gstbasesink.c:
645 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
646 (gst_base_src_base_init), (gst_base_src_class_init):
647 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
648 (gst_capsfilter_class_init):
649 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
650 (gst_fake_sink_class_init):
651 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
652 (gst_fake_src_class_init):
653 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
654 (gst_fd_sink_class_init):
655 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
656 (gst_fd_src_class_init):
657 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
658 (gst_file_sink_class_init):
659 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
660 (gst_file_src_class_init):
661 * plugins/elements/gstidentity.c: (gst_identity_base_init),
662 (gst_identity_class_init):
663 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
664 (gst_multi_queue_class_init):
665 * plugins/elements/gstqueue.c: (gst_queue_base_init),
666 (gst_queue_class_init):
667 * plugins/elements/gsttee.c: (gst_tee_base_init),
668 (gst_tee_class_init):
669 * plugins/elements/gsttypefindelement.c:
670 (gst_type_find_element_base_init),
671 (gst_type_find_element_class_init):
672 * tests/check/gst/gstelement.c: (gst_element_suite):
673 Revert previous changes to the behaviour of GstPadTemplates, etc
674 and the possiblity to call them in class_init as it breaks too
675 many elements. Reopens bug #491501.
677 Should be applied again for 0.11, thus added a few FIXME 0.11 at
680 2008-02-05 Stefan Kost <ensonic@users.sf.net>
682 * tools/gst-launch.c:
683 Dump one graph per pipeline state-change and state change name
684 (if GST_DEBUG_DUMP_DOT_DIR is set).
686 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
689 * tests/check/gst/gstpad.c:
690 Be sure that we have a new copy of the caps and not
691 reffed caps from a template
693 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
695 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
696 * gst/gstpipeline.c: (gst_pipeline_get_type),
697 (gst_pipeline_class_init):
698 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
699 (gst_base_sink_class_init):
700 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
701 (gst_base_src_class_init):
702 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
703 (gst_base_transform_class_init):
704 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
705 (gst_collect_pads_class_init):
706 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
707 * libs/gst/net/gstnettimeprovider.c:
708 (gst_net_time_provider_base_init),
709 (gst_net_time_provider_class_init):
710 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
711 (gst_capsfilter_class_init):
712 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
713 (gst_fake_sink_class_init):
714 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
715 (gst_fake_src_class_init):
716 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
717 (gst_fd_sink_class_init):
718 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
719 (gst_fd_src_class_init):
720 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
721 (gst_file_sink_class_init):
722 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
723 (gst_file_src_class_init):
724 * plugins/elements/gstidentity.c: (gst_identity_base_init),
725 (gst_identity_class_init):
726 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
727 (gst_multi_queue_class_init):
728 * plugins/elements/gstqueue.c: (gst_queue_base_init),
729 (gst_queue_class_init):
730 * plugins/elements/gsttee.c: (gst_tee_base_init),
731 (gst_tee_class_init):
732 * plugins/elements/gsttypefindelement.c:
733 (gst_type_find_element_base_init),
734 (gst_type_find_element_class_init):
735 Don't use base_init where not absolutely necessary. For example it's
736 not necessary anymore for adding pad templates or setting element
739 Leave empty base_init functions in several places as GST_BOILERPLATE
740 still defines and uses them.
742 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
744 * gst/gstelement.c: (gst_element_base_class_init),
745 (gst_element_class_add_pad_template):
746 * gst/gstpadtemplate.c:
747 Make it possible (and recommended) to set element details and add
748 pad templates in the class_init functions by copying the details/pad
749 templates in GstElement's base_init.
751 Also make it possible to replace existing pad templates by adding
752 a new one with the same name. This was done in a hackish fashion
753 in same elements before already.
755 Don't reference pad templates that are added a second time. A
756 new pad template has a refcount of one and is not floating anymore
757 and to be owned by the element's class. Make this more explicit by
758 mentioning it in the docs of gst_element_class_add_pad_template().
760 These changes are backwards compatible. Fixes bug #491501.
762 * tests/check/gst/gstelement.c:
763 Add unit test for setting element details, adding pad templates and
764 replacing them in a subclass.
766 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
768 * tools/gst-inspect.c: (print_interfaces),
769 (print_element_properties_info), (print_pad_info),
770 (print_signal_info), (print_element_info):
771 Fix a few memory leaks.
773 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
775 * docs/libs/gstreamer-libs-sections.txt:
776 * libs/gst/check/gstcheck.c:
777 * libs/gst/check/gstcheck.h:
778 Add more functions for unit testing: gst_check_drop_buffers,
779 gst_check_caps_equal, gst_check_element_push_buffer_list,
780 gst_check_element_push_buffer
781 API: gst_check_drop_buffers
782 API: gst_check_caps_equal
783 API: gst_check_element_push_buffer_list
784 API: gst_check_element_push_buffer
786 2008-02-01 Julien Moutte <julien@fluendo.com>
788 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
789 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
790 (gst_index_finalize), (gst_index_entry_free),
791 (gst_index_add_association): Fix memory leaks.
792 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
793 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
794 (gst_mem_index_free_format), (gst_mem_index_free_id),
795 (gst_mem_index_finalize): Fix memory leaks.
796 * win32/common/config.h: Updated to CVS HEAD.
798 2008-02-01 Stefan Kost <ensonic@users.sf.net>
801 Some more details about how the plugin docs works.
803 * docs/plugins/gstreamer-plugins-sections.txt:
806 2008-02-01 Stefan Kost <ensonic@users.sf.net>
808 * gst/parse/grammar.tab.pre.c:
809 * gst/parse/grammar.tab.pre.h:
810 * gst/parse/grammar.y:
811 * gst/parse/lex._gst_parse_yy.pre.c:
812 Add delayed set-property. This allows to set properties on dynamicaly
813 created objects (pads in videomxer).
815 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
818 Check if caps are not NULL (fix bug #510194)
820 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
822 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
823 (gst_base_sink_get_position_paused):
824 Add fixme regarding EOS in pull mode.
825 Fix position reporting in PAUSED for negative rates.
827 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
829 * gst/gstminiobject.c: (gst_mini_object_replace):
830 When replacing a miniobject, do a quick equality check first so that we
831 can avoid a ref/unref pair.
833 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
835 * docs/design/part-synchronisation.txt:
838 * docs/plugins/Makefile.am:
839 * docs/plugins/gstreamer-plugins-docs.sgml:
840 * docs/plugins/gstreamer-plugins-sections.txt:
841 * plugins/elements/gstmultiqueue.c:
842 Add multiqueue to the docs.
844 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
849 === release 0.10.17 ===
851 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
854 releasing 0.10.17, "Due Negligence"
856 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
859 Revert caps != NULL check temporarily for 0.10.17 release.
861 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
864 Check if caps are not NULL (fix bug #510194)
866 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
869 Fix compilation on systems that have posix timers but no
872 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
875 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
877 * tools/gst-inspect.c:
878 Revert previous commit in preparation for an impromptu 0.10.17 release
880 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
882 * tools/gst-inspect.c: (print_interfaces),
883 (print_element_properties_info), (print_pad_info),
884 (print_signal_info), (print_element_info):
885 Fix a few memory leaks.
887 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
892 === release 0.10.16 ===
894 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
897 releasing 0.10.16, "Special Dispensation"
899 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
902 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
903 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
904 not fail when trying to crosscompile on OpenEmbedded (#511750).
906 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
909 Use $(MAKE) instead of make to fix the build if GNU make is
910 called different. Fixes bug #510747.
912 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
914 * gst/gstplugin.c: (_gst_plugin_initialize):
915 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
916 again, which I broke two commits ago when changing the API
917 of gst_plugin_register_static(): the g_list_foreach() in
918 _gst_plugin_register_static still assumed the old function
919 signature and would therefore fail (re-fixes #510187).
921 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
922 (_gst_plugin_register_static), (gst_plugin_register_static):
923 Revert the (technically correct) change to call g_thread_init() from
924 the pre-main() constructor. This will break programs which call
925 g_thread_init() without an if (!g_thread_supported()) guard in their
926 main function. We could just blame it on GLib or the application, but
927 it's probably best to just avoid this altogether and simply not use
928 any GLib functions here and use plain old malloc() with a simple
929 array to store the plugins to register later when gst_init() is
930 finally called (re-fixes #510187).
932 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
933 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
934 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
935 (GST_START_TEST), (gst_plugin_suite):
936 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
939 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
941 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
942 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
943 This makes gtk-doc complain, but results in slightly better
944 compiler errors. The old _gst_plugin_register_static() is
945 still guarded, so there'll be a compiler warning about that
946 instead. Fixes #510187 too.
948 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
950 * gst/gst.c: (init_post):
951 * gst/gstplugin.c: (_gst_plugin_register_static),
952 (gst_plugin_register_static), (_gst_plugin_initialize):
953 * gst/gstplugin.h: (GstPluginFilter):
954 Change API of gst_plugin_register_static() to not take
955 a GstPluginDesc, but rather just take all the arguments
956 in a GstPluginDesc directly. This is more intuitive and
957 avoids certain mistakes when porting code from
958 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
961 * tests/check/gst/gstplugin.c:
962 Fix up for changed API.
964 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
966 * docs/faq/legal.xml:
967 Update FAQ, Totem actually has an exception these days.
969 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
971 * win32/common/libgstreamer.def:
972 Add new API declarations
974 2008-01-14 Stefan Kost <ensonic@users.sf.net>
976 * gst/gstminiobject.c:
977 Spelling fixes for the API docs.
979 2008-01-14 Stefan Kost <ensonic@users.sf.net>
981 * libs/gst/base/gstbasetransform.c:
982 Fix long property description for QoS.
984 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
987 _gst_trace_on is already provided by gsttrace.h, no need to declare
990 * docs/libs/gstreamer-libs-sections.txt:
991 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
992 and remove strange tcase_add_test which is outputting a warning.
994 * libs/gst/check/gstcheck.c:
995 * libs/gst/check/gstcheck.h:
996 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
997 and define them in gstcheck.c instead of having every .c file whcih
998 includes gstcheck.h be defining its own copy and relying on symbol
999 interposing to marry them all, which doesn't work on Solaris.
1001 * tests/check/elements/identity.c: (GST_START_TEST):
1002 Don't define 'buffers' locally, it comes from libgstcheck.
1004 * tests/check/generic/sinks.c: (send_buffer):
1005 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1007 * tests/check/gst/gststructure.c: (GST_START_TEST):
1008 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1009 * tests/check/gst/gstutils.c: (GST_START_TEST):
1010 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1011 Add a bunch of casts to make various constants fit the types
1012 they're being assigned to.
1014 2008-01-10 Stefan Kost <ensonic@users.sf.net>
1016 * gst/gstchildproxy.c:
1017 Improve docs and add some ideas for making this more general-purpose.
1019 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
1021 * gst/gst_private.h: (GST_CAT_TYPES):
1022 Add GST_CAT_TYPES, for consistency, and so that the other
1023 debug categories don't make fun of it. Spotted by Saur on IRC.
1025 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1027 * gst/parse/Makefile.am:
1028 Move types.h from EXTRA_DIST to noinst_HEADERS.
1030 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1033 Add -Wno-portability to the automake parameters to stop warnings
1034 about GNU make extensions being used. We require GNU make in almost
1035 every Makefile anyway.
1038 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1039 at the same time is required for per target flags.
1041 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1044 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1045 __GNUC__ is defined before using it.
1047 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1049 * docs/gst/gstreamer-sections.txt:
1050 * gst/gst.c: (init_post):
1051 * gst/gstplugin.c: (_gst_plugin_register_static),
1052 (gst_plugin_register_static), (_gst_plugin_initialize),
1053 (gst_plugin_register_func):
1054 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1055 API: add gst_plugin_register_static() and deprecate
1056 GST_PLUGIN_DEFINE_STATIC, since it's not portable
1058 Also, in _gst_plugin_register_static(), make sure to call
1059 g_thread_init() before calling GLib functions such as
1060 g_list_append() if we're not initialised yet, since that
1061 may lead to random crashes with older GSlice/GLib versions.
1063 * tests/check/gst/gstplugin.c:
1064 Adapt unit test to above changes.
1066 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1068 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1069 * gst/gstcaps.c: (gst_caps_to_string):
1070 * gst/gststructure.c: (GST_ASCII_IS_STRING),
1071 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1072 Yet another gratuitous GString micro-optimisation: add a (private)
1073 function that serialises a structure appending to an existing
1074 GString, so that when we serialise caps we don't need to alloc+free
1075 a throwaway GString for each structure (each of which also entailing
1076 multiple reallocs on the way); also use g_string_sized_new() in
1077 various places with an approximate string length to avoid reallocs
1078 within GString. See #500143.
1080 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1082 * gst/gststructure.c: (gst_structure_id_set_value):
1083 Always check UTF-8 conformance of structure strings and not only
1084 if the debugging system is enabled; reasoning: the behaviour of
1085 the actual code shouldn't really change depending on whether the
1086 debugging system is enabled or not (#508291).
1088 2008-01-09 Stefan Kost <ensonic@users.sf.net>
1091 Remove old coverage target in favour of "make lcov".
1093 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1095 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1096 (gst_base_src_loop):
1097 The start segment for reverse playback goes from start to last_stop.
1099 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1101 Patch by: Peter Kjellerstedt <pkj axis com>
1104 Cast the results from the timeval/spec_to_time macros to what the
1105 docs say it casts to, a GstClockTime. fixes #508175.
1107 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1110 Update some comments.
1112 * tools/gst-inspect.c: (print_element_properties_info):
1113 Improve printing of flags.
1115 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
1117 * libs/gst/base/gstbasetransform.c:
1118 (gst_base_transform_transform_size):
1119 Print element name with g_warning() if there's a problem
1122 2008-01-07 David Schleef <ds@schleef.org>
1124 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1126 * libs/gst/controller/gstcontroller.h:
1127 * libs/gst/controller/gstcontrolsource.h:
1128 * libs/gst/controller/gstinterpolationcontrolsource.h:
1129 * libs/gst/controller/gstlfocontrolsource.h:
1130 * libs/gst/dataprotocol/dataprotocol.h:
1131 Fix empty prototypes. Fixes bug #507957.
1133 2008-01-07 David Schleef <ds@schleef.org>
1135 * docs/faq/dependencies.xml: Fix typo.
1137 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
1139 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1140 (gst_base_src_loop):
1141 Don't update the last_stop position in do_seek, that's the position we
1143 Read backwards when we have a negative rate.
1145 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1146 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1148 Add check for reverse reading.
1150 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
1152 Patch by: Alexis Ballier <aballier at gentoo org>
1154 * tests/check/gst/gstabi.c:
1155 * tests/check/gst/struct_ppc64.h:
1156 * tests/check/libs/libsabi.c:
1157 * tests/check/libs/struct_ppc64.h:
1158 Decide which header to include based on the userland ABI target
1159 and not the kernel/cpu. Fix up structure sizes of ppc64 header
1160 for 64-bit userland (#503590). Might need something similar for
1163 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
1165 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1166 Log the reason why fopen fails in addition to the fact that it failed.
1168 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
1170 * gst/parse/parse.l:
1171 Use "%option never-interactive" to prevent useless calls to isatty()
1172 on every input when parsing. Also use "%option noinput" to not define
1173 the static input/yyinput functions which we don't use anyway. This
1174 removes a compiler warning with gcc 4.3 and saves some bytes in the
1177 * gst/parse/lex._gst_parse_yy.pre.c:
1178 Regenerated for the above change.
1180 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
1182 * gst/gstpad.c: (fixate_value):
1183 Don't crash when trying to fixate and empty list.
1186 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
1188 * docs/faq/gst-uninstalled:
1189 Clarify the comments to make the usage of this script and what it
1190 does easier to understand.
1192 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
1194 * tools/gst-plot-timeline.py:
1195 Add more options to gst-plot-timeline
1197 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
1199 * docs/design/part-synchronisation.txt:
1200 Some more info on how the stream_time in GstBaseSink is done.
1202 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
1204 * tests/check/generic/sinks.c: (gst_sinks_suite):
1205 Put back the tcase_set_timeout(), apparently it's needed after
1206 all; fix it up in a way that makes things work with valgrind too.
1208 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
1210 * gst/gstdebugutils.c:
1211 Add warning when failed to open file for writing.
1213 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1215 Based on patch by: Laurent Glayal <spglegle yahoo fr>
1217 * gst/gstvalue.c: (gst_value_is_fixed):
1218 Optimisation: bail out of the loop as early as possible (#500143).
1220 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1222 * gst/gstcaps.c: (gst_caps_to_string):
1223 * gst/gstinfo.c: (gst_debug_construct_term_color):
1224 * gst/gstparse.c: (gst_parse_launchv):
1225 * gst/gstutils.c: (gst_util_dump_mem):
1226 * gst/gstvalue.c: (gst_value_serialize_any_list),
1227 (gst_value_transform_any_list_string):
1228 Bunch of gratuitous nano-optimisations.
1230 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1232 * tests/check/generic/sinks.c: (async_done_func),
1233 (async_done_eos_func):
1234 Fix leak in unit test (bus sync handler must unref the message
1235 if it returns GST_BUS_DROP). Don't fiddle with the default test
1236 timeout, this is smaller than the current preconfigured value
1237 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1238 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1240 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1242 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1245 Check for stdio_ext.h for the filesink changes.
1247 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1248 (gst_file_sink_class_init), (gst_file_sink_init),
1249 (gst_file_sink_dispose), (gst_file_sink_set_property),
1250 (gst_file_sink_get_property), (gst_file_sink_open_file),
1251 (gst_file_sink_close_file):
1252 * plugins/elements/gstfilesink.h:
1253 Add two properties to control the buffering mode and size.
1254 API: GstFileSink::buffer-mode
1255 API: GstFileSink::buffer-size
1258 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1260 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1261 Add some more docs to explain why a FIXME was wrongly added.
1263 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
1266 Fix typo in the gst_object_{ref,unref} documentation.
1268 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1270 * tests/check/libs/controller.c:
1271 * tests/check/libs/typefindhelper.c:
1272 * tests/check/pipelines/parse-launch.c:
1273 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1274 going to be deprecated (see #498924).
1276 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1278 * gst/gsttypefind.c: (gst_type_find_register):
1279 Make gst_type_find_register work for static typefind functions,
1280 ie. allow passing plugin == NULL (prerequisite for #498924).
1282 * gst/gstelementfactory.c: (gst_element_register):
1283 Small docs addition.
1285 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
1287 * gst/gstpad.c: (gst_pad_dispose):
1288 Really unlink the peer pad instead of setting the peer pointer to NULL
1289 when we dispose the pad.
1290 This correctly calls the unlink functions and makes sure that the peer
1291 does not have a handle to invalid memory. See #504671.
1293 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1294 Add testsuite for above case.
1296 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
1298 Patch by: Peter Kjellerstedt <pkj axis com>
1300 * libs/gst/check/gstcheck.h:
1301 Fix detection of the check version we're compiling against (would
1302 otherwise break if check goes v0.10.0); correctly report the
1303 name of the failed test again in case of failure, instead of
1304 just 'tf' (fixes #504499).
1306 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1308 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1309 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1310 (gst_base_src_loop), (gst_base_src_set_flushing),
1311 (gst_base_src_change_state):
1312 Allow sending EOS to the source to make it send out an EOS event from
1313 the streaming thread.
1314 Update docs and deprecate the old NULL/READY shutdown method.
1316 * tests/check/libs/basesrc.c: (GST_START_TEST),
1317 (gst_basesrc_suite):
1318 Add unit test for controlled shutdown.
1320 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1322 * docs/design/part-synchronisation.txt:
1325 * gst/gstsegment.c: (gst_segment_set_seek),
1326 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1327 (gst_segment_to_running_time):
1328 The seek format can be different from the segment format when the start
1329 and stop values are not to be updated, when we only do a rate change for
1332 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1333 (gst_segment_suite):
1334 Add a testcase for the rate-only seeks, checking that the format is
1335 correctly ignored when start and stop are not updated.
1337 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
1339 Patch by: Matthias Bolte <photon at mail dot upb dot de>
1341 * win32/vs8/grammar.vcproj:
1342 * win32/vs8/libgstcontroller.vcproj:
1343 * win32/vs8/libgstreamer.vcproj:
1344 Fix compilation with VS8 and include some missing files.
1346 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
1349 Small docs addition: mention that the strings returned by
1350 gst_tag_list_get_string*() are in UTF-8 encoding.
1352 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
1355 The check-exports stuff moved to common/win32.mak, so include that.
1357 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
1359 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1360 (gst_base_src_perform_seek), (gst_base_src_get_range),
1361 (gst_base_src_set_playing), (gst_base_src_change_state):
1362 Make _wait_playing() not check any variables so that we can call this
1363 function from subclasses. Move the checks elsewhere similar to
1364 _wait_preroll() in basesink.
1366 Only signal the LIVE cond when we are going back to PLAYING.
1368 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
1370 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1371 Use g_remove() and g_rename(). Check result of g_rename(), and
1372 don't leak the open file descriptor if we error out when writing.
1374 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1375 Must check the return value of close() after writing out the new
1376 registry file. Sometimes write problems such as out-of-diskspace
1377 are only reported when the file is closed and not already during
1378 the write. This may have caused partial/broken registry files in
1379 some rare circumstances. Should fix #503675.
1381 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
1383 * docs/gst/.cvsignore:
1384 * docs/libs/.cvsignore:
1385 * docs/plugins/.cvsignore:
1386 Ignore files generated by new common/* modifications
1388 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1390 * win32/common/libgstbase.def:
1391 Yes, you can also have a <TAB> if you want.
1393 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1395 * win32/common/libgstbase.def:
1396 Add new basetransform API to win export file.
1398 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1400 * tests/check/gst/gstbin.c:
1401 Adjust the test to the refcount change two days ago.
1403 2007-12-14 David Schleef <ds@schleef.org>
1405 * docs/faq/getting.xml: Fix typo.
1407 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
1409 * docs/libs/gstreamer-libs-sections.txt:
1410 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1411 (gst_base_transform_prepare_output_buffer),
1412 (gst_base_transform_set_gap_aware):
1413 * libs/gst/base/gstbasetransform.h:
1414 API: Add gst_base_transform_set_gap_aware() to control whether
1415 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1416 get buffers with this flag at all. Fixes #503231.
1418 2007-12-13 Stefan Kost <ensonic@users.sf.net>
1420 * libs/gst/base/gstbasesink.c:
1421 * libs/gst/base/gstbasesrc.c:
1422 * libs/gst/base/gstbasetransform.c:
1423 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1424 thread. Correct log message in gstbasesrc.c.
1426 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1428 * gst/gstutils.c: (element_find_unconnected_pad):
1429 Fix possible compiler warning (#503417).
1431 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1433 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1434 Don't use GST_CAT_EVENT here for logging, it makes no sense.
1436 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
1438 * tools/gst-inspect.c: (print_element_properties_info):
1439 Add support for GstFraction properties.
1441 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
1444 Add check-exports target and run it as part of 'make check'
1445 (see #499140 and #493983).
1447 * gst/gst_private.h:
1448 * gst/gstelementfactory.h:
1449 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1450 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1451 (_priv_gst_in_valgrind):
1452 * gst/gstinfo.h: (GstLogFunction):
1453 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1454 (gst_type_find_register):
1455 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1456 (gst_type_find_factory_get_type):
1457 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1458 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1459 (gst_controller_new_valist), (gst_controller_new_list),
1460 (_gst_controller_dispose), (_gst_controller_class_init):
1461 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1462 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1463 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1464 (gst_object_get_controller), (gst_object_set_controller),
1465 (gst_object_suggest_next_sync), (gst_object_sync_values),
1466 (gst_object_set_control_source), (gst_object_get_control_source),
1467 (gst_object_get_value_arrays), (gst_object_get_value_array),
1468 (gst_object_get_control_rate), (gst_object_set_control_rate):
1469 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1470 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1471 Make some functions that should be static static; rename some
1472 private symbols so that they don't get exported; add some FIXME
1473 comments so we can move accidentally exported functions into
1474 our private section in 0.11.
1476 * win32/common/libgstreamer.def:
1477 Add gst_utils_get_timestamp().
1479 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1483 Add more missing "Since:" tags to docs.
1485 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1488 Add mising "Since:" to docs.
1490 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1493 Include "glib-compat-private.h" to fix the build on system with
1494 glib < 2.10. Fixes #503131.
1496 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1500 Actually its not PURE as it gets the time from elsewhere.
1502 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1504 * docs/gst/gstreamer-sections.txt:
1506 * gst/gstdebugutils.c:
1510 * libs/gst/base/gstbasesink.c:
1511 * tools/gst-launch.c:
1512 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1513 uses as we don't have HAVE_POSIX_TIMERS in public headers.
1514 Thanks Tim for spotting.
1515 API: gst_util_get_timestamp
1517 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
1520 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1522 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
1524 * gst/gststructure.c: (gst_structure_validate_name),
1525 (gst_structure_new_valist), (gst_structure_parse_value),
1526 (gst_structure_from_string):
1527 Don't crash in _from_string() if the structure name is not valid
1528 (fixes #501560). Allow structure names to start with a number
1529 again (this apparently broke the ubuntu codec installer).
1531 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1533 Add unit test for the crash; update unit tests for new behaviour.
1535 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
1538 Clarify gst_element_get_compatible_pad() documentation.
1541 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
1543 * tests/check/Makefile.am:
1544 Don't forget to dist {gst,libs}/struct_hppa.h.
1546 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1548 * libs/gst/base/gstbasesink.c:
1549 Use new API to get elapsed time.
1551 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1553 * gst/gstdebugutils.c:
1555 Fix wrong order of args in GST_CLOCK_DIFF() usage.
1557 * tools/gst-launch.c:
1558 Use new API to get elapsed time.
1560 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1562 * docs/gst/gstreamer-sections.txt:
1564 * gst/gstdebugutils.c:
1566 Rename new API + ChangeLog surgery to remove old name from last entry..
1568 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1570 * docs/gst/gstreamer-sections.txt:
1572 * gst/gstdebugutils.c:
1574 Now hide the different clock stuff behind a macro.
1576 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1579 * gst/gstdebugutils.c:
1581 Apply the posix-timer check from #361155. Conditionally use the posix
1582 timer for logging. This gives better timestamp precission, less
1583 overhead and no ntp jitter.
1585 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
1587 * gst/gstminiobject.c: (gst_mini_object_get_type),
1588 (gst_mini_object_class_init), (gst_mini_object_copy_default),
1589 (gst_mini_object_finalize), (gst_mini_object_copy),
1590 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1591 (gst_mini_object_replace), (param_mini_object_validate),
1592 (gst_param_spec_mini_object_get_type):
1593 Some cleanup and checking against invalid function parameters.
1595 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
1597 * docs/gst/gstreamer-sections.txt:
1599 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1600 (gst_systemclock_suite):
1601 Start merging in the easy bits of #361155, the monotonic clock patch.
1602 This one adds a few handy macros with docs and a testsuite.
1604 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
1606 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1607 Be a bit smarter when seeking, like, don't try to do a seek when it's
1608 not needed. This avoids errors when the file is not seekable.
1611 2007-11-26 Stefan Kost <ensonic@users.sf.net>
1613 * docs/gst/gstreamer-docs.sgml:
1614 * docs/gst/gstreamer-sections.txt:
1615 * docs/gst/gstreamer.types.in:
1620 * plugins/elements/gstqueue.c:
1621 Due to popular request remove preset interface again. :-(.
1623 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1625 * tools/gst-inspect.c:
1626 Print 'default value' for enums and flags too.
1628 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1630 * docs/random/ensonic/profiling.txt:
1634 Fix typo and give better log output.
1636 * gst/gstdebugutils.c:
1637 * gst/gstdebugutils.h:
1638 More ideas, make graphs a bit smaller and fix param name in macro.
1640 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1643 Try harder to use the return value from fgets().
1645 2007-11-21 Stefan Kost <ensonic@users.sf.net>
1648 For theses two fgets we handle the error below.
1650 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1652 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1653 Only send upstream events upstream. Fixes #498746.
1655 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1657 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1659 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1660 (gst_identity_init), (gst_identity_transform_ip),
1661 (gst_identity_set_property), (gst_identity_get_property):
1662 * plugins/elements/gstidentity.h:
1663 Add property to disable handoff signal emission. Fixes #498694.
1664 API: GstIdentity::signal-handoffs
1666 2007-11-21 Julien Moutte <julien@fluendo.com>
1668 * docs/faq/gst-uninstalled: Yet another missing library for the
1669 uninstalled script (fft)
1671 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
1673 * docs/faq/developing.xml:
1674 Add a question about how to submit new translations.
1676 * docs/random/release:
1677 Update the contact email address for the Translation Project
1679 * plugins/elements/gstfdsrc.c:
1680 The parent_class for fdsrc is pushsrc, not GstElement.
1682 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1685 Plug a leak and fix saving.
1687 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
1689 * docs/gst/gstreamer-sections.txt:
1690 Add new gst_preset__get_property_names() function to the docs
1693 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1697 Change _get_preset_names API to return a strv with copies. Add
1698 _get_property_names to allow implementations to filter and provide
1699 good default implementation.
1701 2007-11-20 Julien MOUTTE <julien@moutte.net>
1703 * docs/faq/gst-uninstalled: Add another library to the uninstalled
1706 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1709 More cleanups, docs, and TODOs from comments that now slowly come in.
1711 2007-11-19 Julien MOUTTE <julien@moutte.net>
1713 * docs/faq/gst-uninstalled: Add new base libraries in the LD
1716 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1719 Fix bogus warning and make the property type specific code more
1722 2007-11-19 Julien MOUTTE <julien@moutte.net>
1724 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1727 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
1729 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1730 (gst_bin_add_func), (gst_bin_remove_func),
1731 (gst_bin_change_state_func), (gst_bin_continue_func):
1732 Change email, cleanups add some more debug and comments.
1733 Also set bus and clock on new elements when the pipeline was in error.
1735 2007-11-18 Stefan Kost <ensonic@users.sf.net>
1738 * gst/gstdebugutils.c:
1739 Fix build with --disable-gst-debug. Fixes #497859.
1740 Spotted by Sameer Naik.
1742 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1745 Little documentation improvment.
1748 More TODO cleanups. Remove c++ comments.
1750 * libs/gst/controller/gstcontroller.c:
1751 Add TODO and use quark from static string.
1753 * tests/check/gst/gstmessage.c:
1754 * tests/check/gst/gststructure.c:
1755 Use quark from static string.
1757 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1760 Add some comments and TODOs.
1763 Add padding for future changes.
1765 * plugins/elements/gstqueue.c:
1766 Implement the iface.
1768 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1770 * docs/gst/gstreamer-docs.sgml:
1771 * docs/gst/gstreamer-sections.txt:
1772 * docs/gst/gstreamer.types.in:
1777 Add the preset interface (Fixes #396779). Do some doc cleanups along.
1779 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
1785 === release 0.10.15 ===
1787 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
1790 releasing 0.10.15, "October"
1792 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
1794 * win32/vs6/libgstreamer.dsp:
1795 Convert line endings back to DOS.
1797 2007-11-13 Stefan Kost <ensonic@users.sf.net>
1799 * docs/design/draft-tagreading.txt:
1800 * docs/random/ensonic/profiling.txt:
1801 Update fast tagreading draft and performance profiling ideas.
1803 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1805 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1806 Don't hold the object lock when unreffing a buffer because it could
1807 cause a deadlock when the finalize function wants to grab the object
1808 lock too. Fixes #495133.
1810 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1812 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1813 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1814 Also accumulate time correctly when doing reverse playback. Fixes
1816 When converting to running and stream time, use default values for
1817 start/stop/time/accum when comparing different formats. Fixes #494245.
1819 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1820 Do running/stream time in TIME format.
1822 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1823 (gst_segment_suite):
1824 2 new unit tests for segment accumulation.
1826 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
1828 * gst/gst.c: (init_pre):
1829 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1830 (_gst_debug_bin_to_dot_file):
1831 Move getenv() back into gst_init, so everyone can live happily
1832 ever after. Make sure the symbol isn't exported though.
1834 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1836 Patch by: Sebastien Moutte <sebastien moutte net>
1838 * win32/common/gstenumtypes.c:
1839 * win32/common/gstenumtypes.h:
1842 * win32/vs6/libgstreamer.dsp:
1843 Update vs6 project files (#494343).
1845 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1847 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1848 (gst_base_src_perform_seek), (gst_base_src_default_event),
1849 (gst_base_src_set_flushing), (gst_base_src_activate_push),
1850 (gst_base_src_activate_pull):
1851 Unify flushing code, remove some old unlock code that is no longer used.
1852 Take the streaming lock when seeking to avoid races. Fixes #492729.
1853 Added some more comments.
1855 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1857 * gst/gst.c: (_gst_disable_segtrap):
1858 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
1859 we can use gst_segtrap_is_enabled() there now that we have that API.
1860 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1861 to do the getenv here (and export the variable).
1863 * gst/gstdebugutils.c: (debug_dump_element),
1864 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1865 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1867 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1868 (gst_debug_log_default):
1869 Rename _gst_info_start_time to priv_gst_info_start_time so it
1870 doesn't get exported (was never in any header).
1872 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1873 (gst_plugin_loading_mutex):
1874 Make static mutex gst_plugin_loading_mutex really static (was never
1875 in any header), and use gst_segtrap_is_enabled() instead of
1876 _gst_disable_segtrap.
1878 * gst/gsttrace.c: (_gst_trace_default):
1879 Make local _gst_trace_default static (was never in any header).
1881 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1883 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1885 * win32/common/libgstbase.def:
1886 * win32/common/libgstcontroller.def:
1887 * win32/common/libgstdataprotocol.def:
1888 * win32/common/libgstnet.def:
1889 * win32/common/libgstreamer.def:
1890 Add more missing symbols, remove some duplicates, and sort
1891 as the 'sort' command sorts it (partially fixes #493983).
1893 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1895 * gst/gstelement.c: (gst_element_set_state_func):
1896 Only change the state cookie if a different state was set on the
1897 element. See #492729.
1899 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1902 Remove unused and uninitialised type variables that were still
1903 exported for some reason (they were never in any header files
1906 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1908 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1909 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1910 (gst_base_sink_event), (gst_base_sink_get_position_last),
1911 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1912 (gst_base_sink_change_state):
1913 Don't try to report a 0 position when we don't know, return -1 and FALSE
1914 instead. This mostly happens when we are prerolling.
1915 Make sure we can report the right position before we post the ASYNC_DONE
1916 message so that a message handler can query position without races.
1918 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1919 (async_done_handoff), (async_done_func), (send_buffer),
1920 (async_done_eos_func), (gst_sinks_suite):
1921 Add two tests for the above.
1923 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1926 Update with new email address.
1928 * docs/design/part-TODO.txt:
1929 Add some more info about future pad-block and negotiation changes.
1931 * docs/design/part-buffering.txt:
1932 Add some ideas about buffering reporting.
1934 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
1936 * tests/check/gst/gstobject.c:
1937 Disable silly racy test that always fails on this combination of CPU
1940 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
1942 Patch by: Murray Cumming <murrayc@murrayc.com>
1945 Corrected the registration of the parent-set and parent-unset
1946 signals: The parameter is a GstObject, not a GObject (#493134).
1948 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1950 * gst/gst_private.h:
1959 Move declaration of private _gst_foo_initialize() functions into
1960 our private header file where they should have been all along.
1962 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1964 * docs/plugins/gstreamer-plugins-sections.txt:
1965 * gst/gstdebugutils.h:
1967 * plugins/elements/gstqueue.c:
1968 gtk-doc fixes; trailing-comma-in-enum fix.
1970 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1972 * gst/gst.c: (gst_deinit):
1973 Clean up on deinit (not the external ones though, doesn't seem to be
1974 needed for some reason).
1976 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1978 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1979 Remove __declspec(dllimport) for MSVC that was copied over into core
1980 from a plugin, obviously without ever having been tested (note the
1981 single underscore in _declspec in the initial commit), and that doesn't
1982 really make sense. See #492077.
1984 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1986 * gst/gst.c: (init_post):
1987 * gst/gstevent.c: (_gst_event_initialize):
1988 * gst/gstquery.c: (_gst_query_initialize):
1989 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1990 g_type_class_ref() other types as well, see #349410 and #64764.
1992 * gst/gstbuffer.c: (_gst_buffer_initialize):
1993 * gst/gstmessage.c: (_gst_message_initialize):
1994 Simplify existing g_type_class_ref().
1996 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/gstformat.c: (_gst_format_initialize):
1999 g_type_class_ref() our GstFormat type to make sure we avoid the
2000 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2001 bug #64764. Should fix intermittent tee unit test failures (#474823).
2003 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2005 * tests/check/elements/tee.c: (test_num_buffers):
2006 Simplify, simplify, simplify - or not. Rewrite unit test
2007 not to use gst_parse_launch(); allow N sub-streams. Increasing
2008 the number of sub-streams seems to reproduce #474823 more easily.
2010 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2012 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2015 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2016 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2017 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2018 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2019 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2020 so use _pipe() directly (#492077).
2022 * win32/common/dirent.c: (_treaddir):
2023 Add a couple of casts to make it build without warnings with MSVC.
2025 * win32/common/libgstreamer.def:
2026 Add some more symbols that need to be exported.
2028 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2030 * tests/examples/metadata/read-metadata.c: (message_loop):
2031 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2032 arriving in a second or third tag message are added to
2033 the tag list as well.
2035 2007-10-31 Stefan Kost <ensonic@users.sf.net>
2037 * libs/gst/base/gstbasesrc.c:
2038 Its "Since:" and not "@Since:". And remove an superflous cast.
2040 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
2042 * docs/libs/gstreamer-libs-sections.txt:
2043 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2044 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2045 (gst_base_sink_get_property), (gst_base_sink_render_object),
2046 (gst_base_sink_preroll_object),
2047 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2048 (gst_base_sink_change_state):
2049 * libs/gst/base/gstbasesink.h:
2050 Add a new last-buffer property that contains the last buffer used in
2051 basesink for preroll or rendering. useful for making snapshots.
2052 API: gst_base_sink_get_last_buffer()
2053 API: GstBaseSink::last-buffer
2055 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2057 * docs/gst/running.xml:
2059 * gst/gstdebugutils.c:
2060 * gst/gstdebugutils.h:
2061 * tools/gst-launch.c:
2062 Improve bin graph dumping, by using the envvar to specify a path.
2063 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2065 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
2067 * plugins/elements/gsttypefindelement.c:
2068 (gst_type_find_element_handle_event),
2069 (gst_type_find_element_activate):
2070 Post special error message if we can't determine the type of a stream
2073 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2075 * docs/gst/running.xml:
2076 * gst/gstdebugutils.c:
2077 Document new env-var. Add one log-line after dumpng a graph.
2079 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
2082 Ugly hack to put the (recently removed and non-portable, apparently)
2083 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2084 GNU ld, because without that 'make check' fails miserably on my debian
2085 stable box. Someone with more knowledge of linker intricacies and
2086 portability issues than me fix this properly please.
2088 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
2090 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2091 Reset last seen position after flushing so that we don't report the old
2094 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2096 * gst/gstelementfactory.c: (gst_element_register):
2098 Patch from Alessandro Decina adding get_type_full and
2099 get_protocols_full private vfuncs to the URIHandler interface
2100 to allow bindings to support creating URI handlers.
2101 Partially fixes: #339279
2102 API: GstURIHandlerInterface::get_type_full
2103 API: GstURIHandlerInterface::get_protocols_full
2105 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2107 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2108 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2109 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2110 Make it so that pads are considered linked until a buffer is pushed
2111 and discovered otherwise. This avoids problems with decodebin2 hanging
2112 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2115 Make sure we lock the multiqueue when updating the max-size properties.
2117 Fix a crash on Solaris in a debug statement in get_request_pad that
2118 passes a NULL string to GST_DEBUG.
2120 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2121 (run_output_order_test):
2122 Fix the test to allow the first buffer on not-linked pads to come out
2123 of sequence while multiqueue discovers that they are not-linked.
2125 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2128 * libs/gst/check/Makefile.am:
2129 Use a custom export symbol regex for libgstcheck, as it needs
2130 to export symbols that don't match the standard GStreamer gst_*
2131 pattern, and --export-dynamic is not portable (only works on
2134 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2135 (gst_check_setup_sink_pad):
2136 Make sure to pass a message parameter to the fail_* macros.
2138 * tests/check/gst/gstinfo.c: (GST_START_TEST):
2139 Fix some compiler warnings.
2141 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
2143 * tests/check/gst/gststructure.c: (test_to_string):
2144 Disable test that checks that white spaces are not allowed
2145 in structure names or field names, since we need to
2146 support that for now for backwards compatibility reasons.
2148 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2150 * docs/gst/gstreamer-sections.txt:
2153 API: add GST_TAG_ARTIST_SORTNAME
2154 API: add GST_TAG_ALBUM_SORTNAME
2155 API: add GST_TAG_TITLE_SORTNAME
2156 Add tag variants for sorting (#414539).
2158 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2160 * gst/gststructure.c:
2161 Also allow white space for names so we don't break
2162 backwards compatibility.
2164 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
2166 * docs/design/part-TODO.txt:
2167 * docs/design/part-segments.txt:
2168 * docs/design/part-streams.txt:
2171 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2173 * docs/gst/gstreamer-sections.txt:
2174 Fixed documentation from my previous commit (added new API add
2175 gst_value_set_structure(), add gst_value_get_structure() and
2176 GST_VALUE_HOLDS_STRUCTURE).
2178 2007-10-22 Stefan Kost <ensonic@users.sf.net>
2180 * gst/gstdebugutils.c:
2181 Reflow code to fix uninitialized variable warning.
2183 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2185 * gst/gstcaps.c: (gst_caps_to_string),
2186 (gst_caps_from_string_inplace):
2187 * gst/gststructure.c: (gst_structure_get_abbrs),
2188 (gst_structure_to_string), (gst_structure_from_string):
2189 * gst/gstvalue.c: (gst_value_set_structure),
2190 (gst_value_get_structure), (gst_value_serialize_structure),
2191 (gst_value_deserialize_structure), (_gst_value_initialize):
2193 * tests/check/gst/gststructure.c: (GST_START_TEST),
2194 (gst_structure_suite):
2195 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2196 Added GstStructure to gst_value_table and its related functions.
2197 Changed gst_structure_to_string to print ';' in the end.
2198 Changed gst_caps_to_string to not print ';' beteween its
2199 fields (structures) anymore and remove the lastes ';' from latest
2200 structure. Now it is possible to have nested structures.
2201 In addition, backward compatibilty is assured by accepting '\0' as
2202 end delimiter. Fixes: #487969.
2203 API: add gst_value_set_structure()
2204 API: add gst_value_get_structure()
2205 API: add GST_VALUE_HOLDS_STRUCTURE
2207 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
2210 When no GSource callback has been set up, tell developer
2211 to use a function that actually exists.
2213 2007-10-17 Stefan Kost <ensonic@users.sf.net>
2215 * docs/gst/gstreamer-sections.txt:
2219 * gst/gstdebugutils.c:
2220 * gst/gstdebugutils.h:
2223 * tools/gst-launch.c:
2224 Allow dumping pipelines as dot graphs. Fixes #456573.
2226 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2228 * gst/gststructure.c:
2229 Allow '+' as well, it can be part of media or mime types
2230 such as image/svg+xml.
2232 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2234 * docs/gst/gstreamer-sections.txt:
2237 API: add gst_bus_pop_filtered
2238 API: add gst_bus_timed_pop_filtered
2239 Two new functions for waiting for specific message types on the
2240 bus for a specified amount of time without iterating any main
2241 loops or main contexts.
2243 * tests/check/gst/gstbus.c:
2244 Some tests for the new functions.
2246 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2248 * docs/libs/gstreamer-libs-sections.txt:
2249 Make gtk-doc ignore stuff it should ignore.
2251 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2253 * libs/gst/check/gstcheck.c:
2254 * libs/gst/check/gstcheck.h:
2255 Allow runtime selection of unit tests to run via the GST_CHECKS
2256 environment variable (test case function names, comma-separated).
2258 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2260 * gst/gststructure.c:
2261 * tests/check/gst/gststructure.c:
2262 Revert serialisation change and constrain structure-names after
2263 consensus on irc. Update api documentation to reflect the change.
2265 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2267 * gst/gststructure.c:
2268 Improve serialization and fix tests.
2270 * tests/check/gst/gststructure.c:
2271 Add another test that covers why I actually did the previous structure
2274 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2276 * tools/gst-inspect.c: (print_element_info):
2277 Don't crash when inspecting an element.
2279 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
2281 * tests/check/gst/gststructure.c:
2282 Add unit test for escaping of structure name when serialising
2283 and deserialising to/from strings.
2285 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2287 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2288 (gst_single_queue_new):
2289 * plugins/elements/gstqueue.c: (gst_queue_init),
2290 (gst_queue_push_one):
2291 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2292 upstream is tricked into thinking it can suggest a format downstream
2293 while downstream does not support that format. The real problem is that
2294 core calls acceptcaps when pushing a buffer with new caps, for which we
2295 do a little workaround by setting the caps on the srcpad ourselves
2296 before pushing the buffer (until this is figured out). Fixes #486758.
2298 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2300 * gst/gststructure.c:
2302 Add some more comments and debug output. Quote structure name to fix
2303 deserialisation of some strings.
2305 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2308 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2309 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2311 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2313 * tools/gst-inspect.c:
2314 Save approx. 400 1 byte allocs when printing. Use API to acces element
2320 * tools/gst-xmlinspect.c:
2321 Use API to acces element details.
2323 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2326 Fix some spelling errors.
2328 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
2330 * gst/gstbin.c: (bin_handle_async_done):
2331 Correctly set the next state if all of our async children commited their
2332 state. This makes sure we can actually cancel the state change in
2333 progress. Fixes a regression in Rhythmbox when seeking.
2335 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2338 Don't shadow local variable.
2341 Don't shadow global function name.
2343 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2345 * gst/gstelementfactory.c:
2346 * gst/gstpluginfeature.c:
2347 * gst/gstpluginfeature.h:
2348 * gst/gstregistrybinary.c:
2349 * gst/gstregistryxml.c:
2350 * gst/gsttypefind.c:
2351 Use already-interned string for the private GstPluginFeature
2354 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2356 * docs/libs/gstreamer-libs-sections.txt:
2357 Add new API to docs; fixes the build.
2359 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
2361 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2363 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2364 (gst_base_sink_event):
2365 * libs/gst/base/gstbasesink.h:
2366 Add function to wait for EOS, subclasses can use this to correctly wait
2367 for devices to drain before performing the EOS logic. Fixes #485343.
2368 API: gst_base_sink_wait_eos()
2370 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2373 Cast description string constants in GST_PLUGIN_DEFINE macros
2374 to a (gchar*) to make C++ code using these macros compile
2375 without warning with g++-4.2 (see #462737). Even if slightly
2376 ugly, this seems preferable to putting the description strings
2377 into the GLib quark table or making the structure member a
2378 const gchar * and doing casts in core code that allocs and
2379 frees these strings, or requiring a cast in the C++ code.
2381 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2384 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2385 to print the entire class/function signature into the log
2386 file for C++ code. This only affects C++ code, for C code
2387 everything remains the same.
2389 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
2391 * gst/gstbin.c: (remove_from_queue):
2392 Work around a problem with pipelines containing (semi)loops until a
2393 proper, more complicated solution is ready. See #475455.
2395 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2399 * gst/gstregistrybinary.c:
2400 * gst/gstregistryxml.c:
2401 Put more strings into the GLib quark table. No need to keep
2402 a hundred-something copies of identical version strings,
2403 license strings, package name strings and package origin
2406 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2408 * docs/manual/advanced-dataaccess.xml:
2409 Don't imply that it's okay to unconditionally change
2410 buffer data or buffer metadata in a pad probe callback,
2411 and a bunch of other comments. Fixes #430031.
2413 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2415 * win32/common/gstenumtypes.c:
2416 * win32/common/gstenumtypes.h:
2417 * win32/common/gstversion.h:
2418 Update generated files.
2420 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2422 * docs/manual/advanced-autoplugging.xml:
2423 Prefix section with broken code with a warning (see #342432).
2425 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2427 * docs/manual/appendix-integration.xml:
2428 * docs/manual/basics-init.xml:
2429 Call g_thread_init() before g_option_context_new() to
2430 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2432 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2434 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2435 (gst_base_sink_queue_object_unlocked),
2436 (gst_base_sink_queue_object), (gst_base_sink_event),
2437 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2438 When we received EOS and are waiting for when to post the EOS message,
2439 our state is prerolled and we should not return ASYNC.
2440 Reorganize some code paths to implement this behavior.
2442 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2444 Add unit test to verify above EOS fix.
2446 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2448 * plugins/elements/gsttypefindelement.c:
2449 (gst_type_find_element_have_type), (gst_type_find_element_init),
2450 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2451 Move detecting the input caps of the sinkpad to the setcaps function.
2452 This allows us to update the output caps when we receive new input caps
2453 instead of always using the first detected caps.
2455 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2457 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2458 (gst_base_sink_get_position):
2459 Don't try to preroll non-async elements after a flush.
2460 Subtract latency form clock times when reporting position.
2462 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2464 * gst/gstpad.c: (gst_pad_pause_task):
2466 Small comment and documentation update.
2468 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2470 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2471 (gst_base_src_set_live), (gst_base_src_is_live),
2472 (gst_base_src_query_latency), (gst_base_src_perform_seek),
2473 (gst_base_src_default_event), (gst_base_src_wait),
2474 (gst_base_src_do_sync), (gst_base_src_get_range),
2475 (gst_base_src_pad_get_range), (gst_base_src_loop),
2476 (gst_base_src_unlock), (gst_base_src_unlock_stop),
2477 (gst_base_src_set_flushing), (gst_base_src_set_playing),
2478 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2479 (gst_base_src_change_state):
2480 Rework the locking of basesrc in a similar fashion to basesink. We
2481 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2482 us to handle live sources and semi live ones much better.
2484 Fix unlocking when seeking, shutting down and pausing in live sources.
2486 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2488 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2489 Fix compilation again.
2491 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2494 Use meaningful categories for the logs to clean the default one.
2496 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2498 * tests/check/pipelines/cleanup.c:
2499 Print message name and not just number.
2501 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2503 * docs/design/draft-tagreading.txt:
2504 Add some more thoughts.
2506 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2508 * tests/check/pipelines/simple-launch-lines.c:
2509 Print message name and not just number.
2511 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2513 * libs/gst/base/gsttypefindhelper.c:
2514 Speedup typefinding. This is work in progress (see #459862).
2516 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2519 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2520 Spotted by Josep Torra Valles <josep@fluendo.com>.
2522 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
2525 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2526 field has moved to GstObject.
2528 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
2530 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2531 (gst_base_src_get_range), (gst_base_src_change_state):
2532 Call unlock for live sources so that they can't get stuck in _create and
2533 produce a buffer before they are set back to PLAYING.
2535 2007-10-02 Edward Hervey <bilboed@bilboed.com>
2537 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2538 (gst_queue_locked_dequeue):
2539 Comment the segment-related code... in the PROPER function.
2540 See #482147 and my commit from yesterday.
2542 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
2544 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2545 Also initialize the counter that calculates the first timestamp on a
2546 buffer correctly for non-live sources.
2548 2007-10-01 Edward Hervey <bilboed@bilboed.com>
2550 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2551 Disable code that's breaking the current-time-level reporting.
2554 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
2556 * docs/gst/gstreamer-sections.txt:
2557 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2558 as they shouldn't show up. Fixes the docs build.
2560 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
2563 Add an explicit variable importation needed on VS6 (only for MSC_VER)
2564 Define M_PI which is used in files which are including gstinfo.h.
2565 VS6 includes doesn't define it.
2566 * win32/common/libgstbase.def:
2567 * win32/common/libgstcontroller.def:
2568 * win32/common/libgstreamer.def:
2569 Add new exported functions and variables.
2570 * win32/vs6/libgstcontroller.dsp:
2571 * win32/vs6/libgstreamer.dsp:
2572 Update the list of files to build.
2574 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2576 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2578 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2579 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2580 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2581 Improve debugging. Fixes #480858.
2583 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2585 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2587 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2588 First patch of code cleanups, use the macros and right arguments in the
2589 macros to signal and lock the queue. See #480858.
2591 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
2593 * gst/gstbus.c: (poll_func):
2594 Improve debugging when dealing with _poll().
2596 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
2598 * gst/gstregistryxml.c:
2599 Fix memory leak I introduced a few days ago.
2601 2007-09-26 Michael Smith <msmith@fluendo.com>
2603 * gst/gstbuffer.c: (gst_buffer_finalize):
2604 Make it once again possible to free GstBuffers in the default
2606 The poisoning scribbles on parts of the miniobject we need in
2610 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
2612 * docs/gst/gstreamer-sections.txt:
2615 API: add GST_TAG_COMPOSER, fixes #459809.
2617 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
2621 Add the 3-clause BSD license and the MIT/X11 license to the license
2622 list. Fixes #479784.
2624 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
2626 * docs/faq/getting.xml:
2627 Add Q+A about different GStreamer versions (#364056).
2629 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2631 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2632 (gst_base_sink_event), (gst_base_sink_change_state):
2633 Return correct gboolean from query function.
2635 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2637 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2638 (gst_base_sink_event), (gst_base_sink_query),
2639 (gst_base_sink_change_state):
2640 Simplify latency query.
2641 When not synchronizing, we can report latency without querying the peer
2644 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2648 Fix small typos in the docs.
2650 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2652 * docs/design/draft-latency.txt:
2653 * docs/design/draft-push-pull.txt:
2654 * docs/design/draft-tagreading.txt:
2655 * docs/design/part-MT-refcounting.txt:
2656 * docs/design/part-activation.txt:
2657 * docs/design/part-block.txt:
2658 * docs/design/part-element-source.txt:
2659 * docs/design/part-events.txt:
2660 * docs/design/part-gstbin.txt:
2661 * docs/design/part-gstelement.txt:
2662 * docs/design/part-gstobject.txt:
2663 * docs/design/part-gstpipeline.txt:
2664 * docs/design/part-messages.txt:
2665 * docs/design/part-preroll.txt:
2666 * docs/design/part-push-pull.txt:
2667 * docs/design/part-qos.txt:
2668 * docs/design/part-query.txt:
2669 * docs/design/part-scheduling.txt:
2670 * docs/design/part-seeking.txt:
2671 * docs/design/part-segments.txt:
2672 * docs/design/part-states.txt:
2673 Documentation updates and typo fixes.
2675 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
2677 * plugins/elements/gstfakesink.c:
2678 Add some debug text to error message to indicate that
2679 we errored out on request.
2681 * tools/gst-launch.c:
2682 When the state change to PLAYING fails, check for an
2683 error message on the bus and print it.
2685 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2687 translated by: Jorge González González <aloriel@gmail.com>
2691 Added Spanish translation.
2693 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
2695 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2696 Fix printf arguments.
2698 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2700 * tests/check/generic/states.c:
2701 Improved state change unit test.
2703 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2706 Move priv to the right place.
2708 * gst/gstsystemclock.c:
2709 Add FIXME: and improve log.
2711 * tests/check/Makefile.am:
2712 * tests/examples/manual/Makefile.am:
2713 Work with all types of registries.
2715 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
2717 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2718 Don't unref the event after pushing it. Fixes #478401.
2720 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2723 * tests/examples/manual/.cvsignore:
2724 Ignore registries in any format.
2726 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
2728 * gst/glib-compat-private.h:
2729 Add compatibility macro for g_intern_string() for
2730 GLib-2.8 (any reason we can't just bump the
2731 requirement to at least 2.10?)
2733 * gst/gstpadtemplate.h:
2734 * gst/gstelementfactory.c:
2735 * gst/gstregistryxml.c:
2736 * gst/gstregistrybinary.c:
2737 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2738 up the internal code accordingly. This shouldn't be a problem, since
2739 there is no reason external code could ever assume the string in such
2740 a structure is dynamically allocated unless it did that itself; the
2741 use of g_strdup() is private to element factories. The new code also
2742 saves some memory by putting pad template name strings into the GLib
2743 quark table instead of allocating them dynamically.
2744 Declaring this field constant fixes warnings with g++-4.2 when using
2745 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2747 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2749 * gst/gstelementfactory.c:
2750 Release static caps. Fixes #475723.
2752 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
2756 Make some internal API take const gchar * instead of just
2757 gchar * to avoid compiler warnings with g++-4.2.2 when
2758 passing string constants (partially fixes #478092).
2760 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2762 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2763 A latency query fails when one of the sinks fail.
2765 * gst/gstelement.c: (gst_element_set_base_time):
2768 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2770 * gst/gstbin.c: (gst_bin_continue_func):
2771 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2773 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2775 Fix minor compilation warnings shown with Forte.
2777 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2779 * plugins/elements/gstqueue.c: (apply_buffer),
2780 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2781 Measure queue level based on the diff between head and tail timestamps
2782 even when pushing the first buffer.
2784 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2786 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2787 (gst_base_sink_event), (gst_base_sink_change_state):
2788 Sinks that don't preroll can always be queried for the latency.
2789 Don't post ASYNC start when we are not async.
2791 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2793 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2794 (gst_queue_handle_sink_event), (gst_queue_chain),
2795 (gst_queue_push_one), (gst_queue_handle_src_query),
2796 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2797 * plugins/elements/gstqueue.h:
2798 When downstream returns UNEXPECTED from pushing a buffer, don't try to
2799 push more buffers but allow pushing of EOS and NEWSEGMENT.
2800 Add some more debug info here and there. Fixes #476514.
2802 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2804 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2805 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2806 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2807 (gst_base_sink_set_flushing), (gst_base_sink_query),
2808 (gst_base_sink_change_state):
2809 Latency query is allowed after we are prerolled. Introduce a new flag
2810 for this and stop abusing other variables.
2812 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2814 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2815 Push OOB events downstream when we get them in send_event. This allows
2816 the application to insert events in the pipeline.
2817 Add some more comments.
2819 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2821 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2822 (do_bin_latency), (gst_bin_change_state_func):
2823 * gst/gstpipeline.c: (gst_pipeline_change_state):
2824 Move latency query from GstPipeline to GstBin so that we can also
2825 use it when async-handling is enabled on bins.
2827 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2829 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2830 (gst_base_src_do_sync), (gst_base_src_change_state):
2832 Clean up the timestamping and syncing code for pseudo live sources.
2834 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
2836 Patch by: Steve Fink <sphink gmail com>
2838 * docs/manual/appendix-checklist.xml:
2839 Mention less -R switch in the section about debug output (#474055).
2841 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2843 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2844 Queue can latency to the pipeline up to the configured max size in time.
2845 Report this fact in the latency query.
2847 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2849 Patch by: Sebastien Moutte <sebastien at moutte dot net>
2851 * libs/gst/controller/gstinterpolation.c:
2852 * libs/gst/controller/gstlfocontrolsource.c:
2853 Use gst_guint64_to_gdouble() when converting from a uint64 or
2854 GstClockTime to double to fix the build on win32. Fixes #474371.
2856 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2858 * gst/gstbuffer.c: (gst_buffer_finalize):
2859 Implement poisoning for GstBuffer if --enable-poisoning is specified.
2860 When finalizing a buffer the complete struct is filled with 0xff,
2861 thus making a use of the buffer after the final unref impossible.
2863 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2865 * tests/check/libs/controller.c: (GST_START_TEST):
2866 Use fail_unless_equals_int(a, b) instead of
2867 fail_unless_equals (a == b) to get better output on failures.
2869 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2871 * tests/check/gst/gsturi.c:
2872 Also check for the other file URI variant on win32.
2874 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2876 * gst/gsturi.c: (gst_uri_get_location):
2877 If there's no hostname, we want to return 'c:/foo/bar.txt'
2878 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2880 * tests/check/gst/gsturi.c:
2881 Unit test for the above and a few more things.
2883 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2885 * docs/design/part-live-source.txt:
2886 Add docs on how live sources should timestamp.
2888 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2889 Add some more debug info.
2890 For subclasses that are live and like to sync, add aditional startup
2891 latency to sync time and timestamps so that we timstamp according to the
2894 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2897 Also do a g_type_class_ref() for the subbuffer type in
2900 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2902 * docs/gst/gstreamer-sections.txt:
2903 * gst/gstpad.c: (gst_pad_peer_query):
2905 Add function to perform a query on the peer of a pad.
2906 API: gst_pad_peer_query()
2908 2007-09-11 Stefan Kost <ensonic@users.sf.net>
2910 * tests/check/gst/gstsystemclock.c:
2911 Cleanup the test a little (use gst-logging and not g_message). Improve
2912 test to check if a wait reached the target.
2914 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2916 * docs/libs/gstreamer-libs-sections.txt:
2917 Add new API to docs and fix the build.
2919 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
2921 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2922 (gst_base_src_init), (gst_base_src_set_do_timestamp),
2923 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2924 (gst_base_src_get_property), (gst_base_src_do_sync):
2925 * libs/gst/base/gstbasesrc.h:
2926 Add property to make the basesrc timestamp buffers based on the current
2928 API: GstBaseSrc::do-timestamp
2929 API: gst_base_src_set_do_timestamp()
2930 API: gst_base_src_get_do_timestamp()
2932 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
2934 * docs/random/release:
2935 Really make sure translations are up-to-date before
2936 a release (#465010).
2938 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
2940 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2941 Always destroy the timer, also in error cases.
2943 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2945 * docs/manual/highlevel-xml.xml:
2946 Fix XML example code. Fixes #472714.
2948 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2950 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2951 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2952 (gst_base_sink_query):
2953 Protect eos and have_preroll with the OBJECT lock so we don't need to
2954 take the PREROLL lock when querying the latency. Fixes #473846.
2956 2007-09-05 Stefan Kost <ensonic@users.sf.net>
2959 Give some log-messages a category.
2961 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
2963 * gst/gststructure.c:
2964 (gst_structure_fixate_field_nearest_fraction):
2965 Fix fraction list fixation code. Take the fraction with the smallest
2966 difference with the target instead of the first one in the list.
2968 * tests/check/gst/gststructure.c: (GST_START_TEST),
2969 (gst_structure_suite):
2970 Added test to verify correct fraction list fixation behaviour.
2972 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
2974 * win32/common/libgstreamer.def:
2975 Export gst_bus_add_signal_watch too.
2977 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
2979 * docs/libs/gstreamer-libs-sections.txt:
2980 Add new methods to docs.
2982 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2983 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2984 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2985 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2986 * libs/gst/base/gstbasesink.h:
2987 Add ts-offset property to fine-tune the synchronisation.
2988 API: GstBaseSink::ts-offset property
2989 API: gst_base_sink_set_ts_offset()
2990 API: gst_base_sink_get_ts_offset()
2992 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
2994 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2995 (gst_base_sink_init), (gst_base_sink_set_sync),
2996 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2997 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2998 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2999 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3000 (gst_base_sink_get_property), (gst_base_sink_change_state):
3001 * libs/gst/base/gstbasesink.h:
3002 Add async property to instruct the sink never to inform the parent about
3003 ASYNC state changes, update docs.
3004 Check argument with g_return_* for the public functions.
3005 API: GstBaseSink::async property
3006 API: gst_base_sink_set_async_enabled()
3007 API: gst_base_sink_is_async_enabled()
3009 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
3011 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3014 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3015 (gst_base_src_default_query), (gst_base_src_wait),
3016 (gst_base_src_do_sync), (gst_base_src_change_state):
3017 Rearrange some code so that we can add support for measuring the
3020 2007-08-27 Stefan Kost <ensonic@users.sf.net>
3022 * docs/random/ensonic/dynlink.txt:
3023 More thoughs on this.
3025 * plugins/elements/gstcapsfilter.c:
3026 Add bugzilla ticket number to FIXME comment.
3028 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
3030 * docs/design/part-TODO.txt:
3031 * docs/design/part-block.txt:
3034 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3037 Revert patch which uses $(gst_headers) instead of $^ because it
3040 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3042 * tests/check/gst/gstbin.c: (GST_START_TEST):
3043 Fix leaks in the new unit test.
3045 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
3048 Don't use GST_INFO before the debug system is actually initialised
3049 (shouldn't do any harm, but won't print anything either, so we can
3050 just as well remove it).
3053 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3054 compilers that don't support variadic macros (such as MSVC), should
3055 check for debug_level <= __gst_debug_min as well, since that's the
3056 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3057 inline helper functions. Should improve performance a bit, but also
3058 makes sure uses of GST_INFO et.al are ignored if the debugging
3059 system isn't initialised yet (instead of printing an assertion
3062 2007-08-23 Stefan Kost <ensonic@users.sf.net>
3064 patch by: David Nečas <yeti@physics.muni.cz>
3067 Replace some non portable makefile constructs.
3069 2007-08-21 Stefan Kost <ensonic@users.sf.net>
3071 * common/gtk-doc-plugins.mak:
3072 Grrrrr. Don't remove the types file on make clean.
3074 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
3076 * tools/gst-launch.1.in:
3077 Add colorspace to example pipeline. Fixes #458274.
3079 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
3081 * docs/random/release:
3082 The release manager should run 'make download-po' before making a
3083 release to make sure translations are up-to-date.
3089 Add some new translations.
3091 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
3093 * tools/gst-launch.c: (event_loop), (main):
3094 Don´t try to do any state management when a live pipeline posts
3096 Also make the buffering string translatable.
3098 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3100 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3101 (bin_handle_async_start), (gst_bin_handle_message_func):
3103 When adding elements, insert messages into the bus of the newly added
3104 element and make sure the element is the source of the message. This
3105 allows the parent bin to intercept the message and do the
3106 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3107 messages to the app (which is not allowed).
3110 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3111 Fix testsuite so that is does not work around messages that should not
3112 have been posted in the first place.
3114 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3116 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3117 (update_degree), (gst_bin_sort_iterator_next):
3118 Fix annoying bug in the sorted iterator where a sink that is not really
3119 a sink (when it has downstream links) screwed up the iterator.
3121 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3122 Unit test to verify the fix.
3124 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3127 Add some more docs for the messages.
3129 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3130 (gst_base_sink_query):
3131 Add some more debugging.
3133 * tools/gst-launch.c: (event_loop):
3134 When interrupting, don't try to set pipeline to PAUSED twice.
3136 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3139 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3140 (bin_handle_async_start), (gst_bin_handle_message_func):
3141 Move ASYNC_START message posting to where it belongs, similar to
3143 Don't post ASYNC_START when we are in error.
3144 Post ASYNC_START when we added an async element to a bin.
3146 2007-08-14 Julien MOUTTE <julien@moutte.net>
3148 * gst/gstindex.c: (gst_index_add_association): Fix index entry
3149 generation from vargs. Fixes #466595.
3151 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3153 * gst/gstbin.c: (gst_bin_element_set_state):
3154 Always change the state of a NO_PREROLL element even if it has ASYNC
3155 elements inside (in case of a bin).
3157 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3158 Unit test for this case.
3160 2007-08-13 Stefan Kost <ensonic@users.sf.net>
3162 * libs/gst/check/gstbufferstraw.c:
3163 * libs/gst/check/gstcheck.h:
3164 * libs/gst/controller/gstcontroller.c:
3165 * libs/gst/controller/gstcontrolsource.h:
3166 * libs/gst/controller/gstlfocontrolsource.h:
3167 * plugins/elements/gstcapsfilter.h:
3168 * plugins/elements/gstfdsink.h:
3169 * plugins/elements/gstfdsrc.h:
3170 Add more missing docs.
3172 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3174 * gst/gststructure.c:
3175 Add Since tag to docs.
3177 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3179 * docs/gst/gstreamer-sections.txt:
3180 * gst/gststructure.c: (gst_structure_get_uint):
3181 * gst/gststructure.h:
3182 Add function to get uint from a structure.
3183 API: gst_structure_get_uint()
3185 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3187 * gst/gstcaps.c: (gst_caps_set_simple_valist),
3188 (gst_caps_intersect):
3189 Fix proper check for simple caps.
3191 2007-08-10 Stefan Kost <ensonic@users.sf.net>
3193 * docs/gst/Makefile.am:
3194 * docs/libs/Makefile.am:
3195 Remove cruft and do some cleanups.
3197 * docs/gst/gstreamer-docs.sgml:
3198 * docs/libs/gstreamer-libs-docs.sgml:
3199 Prepare for comming gtkdoc features (rebase against online docs).
3201 2007-08-10 Michael Smith <msmith@fluendo.com>
3203 * docs/gst/gstreamer-sections.txt:
3204 Add gst_registry_add_path to docs.
3206 2007-08-10 Michael Smith <msmith@fluendo.com>
3208 * gst/gstregistry.h:
3209 Add gst_registry_add_path, which was missing from this header.
3211 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
3213 * libs/gst/controller/gstlfocontrolsource.c:
3216 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3218 * libs/gst/base/gstbasesink.c:
3219 Don't send an async_start message during downwards state change if
3220 target state is less than READY
3222 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3224 translated by: Gabor Kelemen <kelemeng@gnome.hu>
3228 Added Hungarian translation.
3230 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3237 Updated translations.
3239 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3241 * libs/gst/controller/Makefile.am:
3242 Dist gstlfocontrolsourceprivate.h
3244 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3246 * docs/libs/gstreamer-libs.types:
3247 Don't register the enum type gst_lfo_waveform_get_type() in the
3248 .types file - only GObject derived types belong.
3250 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3252 Patch by: <arenevier at fdn dot fr>
3255 Remove comma from last element in enum to avoid compile errors when
3256 using -pendantic. Fixes #464366.
3258 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3260 * docs/design/part-TODO.txt:
3261 Add some more TODO items
3263 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3266 * gst/gstcaps.c: (gst_caps_intersect):
3267 Optimize trivial intersection case between identical caps pointers.
3269 * gst/gstelement.c: (gst_element_continue_state),
3270 (gst_element_set_state_func):
3272 Fix spelling and grammar mistakes.
3274 2007-08-05 Stefan Kost <ensonic@users.sf.net>
3278 Update POTFILES. Fixes #461599.
3280 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3283 Fix confusing typo in debug output.
3285 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3287 reviewed by: Stefan Kost <ensonic@users.sf.net>
3289 * libs/gst/controller/Makefile.am:
3290 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3291 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3292 (gst_lfo_control_source_new),
3293 (gst_lfo_control_source_set_waveform),
3294 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3295 (gst_lfo_control_source_finalize),
3296 (gst_lfo_control_source_dispose),
3297 (gst_lfo_control_source_set_property),
3298 (gst_lfo_control_source_get_property),
3299 (gst_lfo_control_source_class_init):
3300 * libs/gst/controller/gstlfocontrolsource.h:
3301 * libs/gst/controller/gstlfocontrolsourceprivate.h:
3302 API: Add GstLFOControlSource, a control source that gives values
3303 for specific timestamps based on several periodic waveforms.
3306 * tests/check/libs/controller.c: (GST_START_TEST),
3307 (gst_controller_suite):
3308 * docs/libs/gstreamer-libs-docs.sgml:
3309 * docs/libs/gstreamer-libs-sections.txt:
3310 * docs/libs/gstreamer-libs.types:
3311 Add documentation and unit tests for GstLFOControlSource.
3313 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3318 === release 0.10.14 ===
3320 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3323 releasing 0.10.14, "Breathing Vacuum"
3325 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3327 * gst/gstelement.c: (gst_element_class_set_details_simple):
3329 Make strings passed to gst_element_class_set_details_simple()
3330 constant, as they should be (#462752).
3332 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
3334 * gst/gstbin.c: (gst_bin_change_state_func),
3335 (bin_handle_async_done), (gst_bin_handle_message_func):
3336 Don't forget about the fact that some element went ASYNC even after a
3337 resync. This makes us post the ASYNC_DONE message correctly.
3340 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3342 * gst/gstregistry.c: (gst_registry_add_feature):
3343 When replacing an existing feature in the registry, make sure to
3344 continue holding a reference until we've replaced the name string
3345 within our feature hash table. Make sure to use g_hash_table_replace
3346 instead of g_hash_table_insert to ensure the new name string is used
3347 as a key instead of the old one that we're about to free.
3350 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3352 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3353 (gst_plugin_feature_set_name):
3354 Revert patch from #459466 until after the release and we can work
3355 out exactly what the problem is (if any).
3357 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3359 * docs/gst/gstreamer-sections.txt:
3362 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3364 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3366 * docs/libs/Makefile.am:
3367 Include our build-prefix libs and includes before the generic ones to
3368 avoid linking against the installed libs when we want the build-tree
3371 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3373 Patch by: Steve Fink <sphink gmail com>
3375 * docs/pwg/building-testapp.xml:
3376 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3377 if people try to build or install the example from the plugin
3378 template against a GStreamer from package using the configure
3381 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
3383 Patch by: Steve Fink <sphink gmail com>
3385 * tools/gst-inspect.1.in:
3386 Document --print-all and --print-plugin-auto-install-info command
3387 line options in man page.
3389 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3391 * docs/gst/gstreamer-sections.txt:
3392 Add docs for new api function.
3394 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3396 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3397 * gst/gstelementfactory.h:
3398 API: gst_element_factory_has_interface()
3399 Added method to check if an element factory implements a named
3402 2007-07-25 Stefan Kost <ensonic@users.sf.net>
3405 * docs/gst/gstreamer.types.in:
3406 Another conditional doc check.
3409 * gst/gstparamspecs.h:
3410 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3415 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3417 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3418 (gst_registry_binary_load_feature),
3419 (gst_registry_binary_load_plugin),
3420 (gst_registry_binary_read_cache):
3421 Print error just once and with additional info.
3423 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3425 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3426 (helper_find_suggest), (helper_find_get_length),
3427 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3428 (gst_type_find_helper_for_buffer):
3429 Cleanup the typefindhelper code and add private doc comments.
3431 2007-07-24 Edward Hervey <bilboed@bilboed.com>
3433 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3434 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3435 Fix capsfilter for cases where the caps set on capsfilter will provide
3436 additional information.
3439 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3441 * gst/gsttypefindfactory.c:
3442 Fix docs that recommened wrong function to use.
3444 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3446 * tools/gst-inspect.c: (print_plugin_features):
3447 Also give media-type for typefinders in element output.
3449 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3451 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3452 (gst_registry_remove_features_for_plugin_unlocked),
3453 (gst_registry_add_feature), (gst_registry_remove_feature),
3454 (gst_registry_lookup_feature_locked):
3455 * gst/gstregistry.h:
3456 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3459 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3461 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3462 (gst_plugin_feature_set_name):
3463 Avoid double memory usage for pluginfeature names. Fixes #459466.
3465 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3468 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3469 driving the pipeline may need to explicitly check for NOT_LINKED as
3470 well, since IS_FATAL doesn't cover that.
3472 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3474 * docs/pwg/advanced-types.xml:
3475 Fix typo and duplicate entry in video formats list.
3477 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3479 * libs/gst/controller/gstinterpolation.c:
3480 Also round to the nearest int when using cubic interpolation.
3482 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
3484 * libs/gst/controller/gstinterpolation.c:
3485 When linearly interpolating integer types, round to the nearest int
3486 by adding 0.5. Don't do it for float/double types.
3487 Fixes the failing controller test on my machine, which is somehow
3488 rounding differently than on the buildbots.
3490 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3492 * tools/gst-plot-timeline.py:
3493 Better log parsing (categories can have -). Adjust text vs. lines, so
3494 that they span the same y-range.
3496 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3498 * docs/random/ensonic/audiobaseclasses.txt:
3499 * docs/random/ensonic/dynlink.txt:
3500 * docs/random/ensonic/profiling.txt:
3503 * docs/random/moving-plugins:
3504 Add note to use g_assert type macros.
3506 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3509 * libs/gst/check/Makefile.am:
3510 Add libm check as we use in for plugins.
3512 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
3514 * gst/gstbin.c: (gst_bin_continue_func):
3515 Check that the state_cookie hasn't changed since the continue_func
3516 was scheduled. Avoids problems where the state changes back to
3517 something it shouldn't be because it was changed in the meantime.
3519 2007-07-17 Stefan Kost <ensonic@users.sf.net>
3521 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3522 (gst_registry_binary_save_string),
3523 (gst_registry_binary_save_pad_template),
3524 (gst_registry_binary_save_feature),
3525 (gst_registry_binary_save_plugin),
3526 (gst_registry_binary_load_feature),
3527 (gst_registry_binary_load_plugin),
3528 (gst_registry_binary_read_cache):
3529 Fix memory leak. Be less verbose in the log.
3531 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3533 * tests/check/elements/.cvsignore:
3534 Add file to cvsignore as commanded.
3536 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3538 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3539 (mq_dummypad_event), (run_output_order_test):
3540 Use a GStaticMutex to protect all cases where libcheck
3541 fail_if/fail_unless macros might be called from multiple threads
3542 simultaneously to avoid errors like:
3543 "check_pack.c:107: :-1081725400:Bad message type arg"
3545 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3547 * tests/check/pipelines/stress.c: (GST_START_TEST):
3548 Make sure we set the pipeline back to the NULL state before
3549 dropping our final reference.
3551 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3553 * tests/check/elements/tee.c: (GST_START_TEST):
3554 Make the tee stress-test a little less stressful so it doesn't just
3555 time out on slow-machines, and remove a small race when it's starting
3556 up by adding a get_state() call.
3558 2007-07-16 Stefan Kost <ensonic@users.sf.net>
3561 Avoid reading registry twice on startup. Fixes #457322.
3563 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3565 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3566 * pkgconfig/gstreamer-check.pc.in:
3567 Substitute the CFLAGS for libcheck into our .pc file too so that
3568 dependent modules will pick it up properly if libcheck is installed
3569 into some other prefix.
3571 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3574 Revert the pkg-config check for libcheck, since it pulls in the
3575 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3576 a proper solution, either from the check project, or something else.
3578 2007-07-12 Stefan Kost <ensonic@users.sf.net>
3581 Use pkg-config to locate check.
3583 2007-07-10 Stefan Kost <ensonic@users.sf.net>
3590 Add deprecation guards.
3592 * libs/gst/base/gstcollectpads.h:
3593 Don't document object (this is implicitly private).
3595 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
3597 * gst/gststructure.c: (gst_structure_parse_value):
3598 When deserialising foo=bar without a type cast, check if it's a
3599 boolean before falling back to a string type, otherwise things like
3600 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3601 because the filtercaps end up having a signed=(string)true field,
3602 which causes problems later when intersection caps.
3604 * tests/check/gst/gststructure.c: (GST_START_TEST):
3605 Add a unit test for this.
3607 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
3609 Reviewed by: Stefan Kost <ensonic@users.sf.net>
3611 * libs/gst/controller/Makefile.am:
3612 * libs/gst/controller/gstcontroller.c:
3613 (gst_controlled_property_add_interpolation_control_source),
3614 (gst_controlled_property_new), (gst_controlled_property_free),
3615 (gst_controller_find_controlled_property),
3616 (gst_controller_new_valist), (gst_controller_new_list),
3617 (gst_controller_new), (gst_controller_remove_properties_valist),
3618 (gst_controller_remove_properties_list),
3619 (gst_controller_remove_properties),
3620 (gst_controller_set_property_disabled),
3621 (gst_controller_set_disabled), (gst_controller_set_control_source),
3622 (gst_controller_get_control_source), (gst_controller_get),
3623 (gst_controller_sync_values), (gst_controller_get_value_array),
3624 (_gst_controller_dispose), (gst_controller_get_type),
3625 (gst_controlled_property_set_interpolation_mode),
3626 (gst_controller_set), (gst_controller_set_from_list),
3627 (gst_controller_unset), (gst_controller_unset_all),
3628 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3629 * libs/gst/controller/gstcontroller.h:
3630 * libs/gst/controller/gstcontrollerprivate.h:
3631 * libs/gst/controller/gstcontrolsource.c:
3632 (gst_control_source_class_init), (gst_control_source_init),
3633 (gst_control_source_get_value),
3634 (gst_control_source_get_value_array), (gst_control_source_bind):
3635 * libs/gst/controller/gstcontrolsource.h:
3636 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3637 (gst_object_get_control_source):
3638 * libs/gst/controller/gstinterpolation.c:
3639 (gst_interpolation_control_source_find_control_point_node),
3640 (gst_interpolation_control_source_get_first_value),
3641 (_interpolate_none_get), (interpolate_none_get),
3642 (interpolate_none_get_boolean_value_array),
3643 (interpolate_none_get_enum_value_array),
3644 (interpolate_none_get_string_value_array),
3645 (_interpolate_trigger_get), (interpolate_trigger_get),
3646 (interpolate_trigger_get_boolean_value_array),
3647 (interpolate_trigger_get_enum_value_array),
3648 (interpolate_trigger_get_string_value_array):
3649 * libs/gst/controller/gstinterpolationcontrolsource.c:
3650 (gst_control_point_free), (gst_interpolation_control_source_reset),
3651 (gst_interpolation_control_source_new),
3652 (gst_interpolation_control_source_set_interpolation_mode),
3653 (gst_interpolation_control_source_bind),
3654 (gst_control_point_compare), (gst_control_point_find),
3655 (gst_interpolation_control_source_set_internal),
3656 (gst_interpolation_control_source_set),
3657 (gst_interpolation_control_source_set_from_list),
3658 (gst_interpolation_control_source_unset),
3659 (gst_interpolation_control_source_unset_all),
3660 (gst_interpolation_control_source_get_all),
3661 (gst_interpolation_control_source_get_count),
3662 (gst_interpolation_control_source_init),
3663 (gst_interpolation_control_source_finalize),
3664 (gst_interpolation_control_source_dispose),
3665 (gst_interpolation_control_source_class_init):
3666 * libs/gst/controller/gstinterpolationcontrolsource.h:
3667 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3668 API: Refactor GstController into the core controller which can take
3669 a GstControlSource for providing actual values for timestamps.
3670 Implement a interpolation control source and use this for backward
3671 compatibility, deprecate a bunch of functions that are now handled
3672 by GstControlSource or GstInterpolationControlSource.
3673 Make it possible to disable the controller completely or only for
3674 specific properties. Fixes #450711.
3675 * docs/libs/gstreamer-libs-docs.sgml:
3676 * docs/libs/gstreamer-libs-sections.txt:
3677 * docs/libs/gstreamer-libs.types:
3678 Add new functions and classes to the docs.
3679 * tests/check/libs/controller.c: (GST_START_TEST),
3680 (gst_controller_suite):
3681 * tests/examples/controller/audio-example.c: (main):
3682 Port unit test and example to the new API and add some new
3685 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
3687 Patch by: Mark Nauwelaerts <manauw at skynet be>
3689 * plugins/elements/gstmultiqueue.c:
3690 (gst_multi_queue_get_internal_links), (apply_buffer),
3691 (single_queue_overrun_cb), (gst_single_queue_new):
3692 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3693 the pipeline layout can be tracked correctly. Fixes #453732.
3695 2007-07-05 Stefan Kost <ensonic@users.sf.net>
3697 * docs/gst/Makefile.am:
3698 * docs/libs/Makefile.am:
3699 * docs/plugins/Makefile.am:
3700 Simplify --extra-dir as gtkdoc scans recursively.
3702 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3704 * tools/gst-launch.c: (main):
3705 When we got an error, there is no point in waiting for preroll when
3708 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3710 * plugins/elements/gsttee.c: (gst_tee_base_init),
3711 (gst_tee_request_new_pad), (gst_tee_release_pad),
3712 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3713 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3715 Be a lot smarter when deciding what srcpad to use for proxying
3716 the buffer_alloc. Also handle pad added/removed when doing so.
3718 Keep track of what pads we already pushed on in case we have pads
3719 added/removed while pushing. Fixes #374639
3721 * tests/check/Makefile.am:
3722 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3724 Added unit test for pad resync.
3726 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3730 Updated translations.
3732 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3734 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3738 Added new Finnish translation.
3740 2007-06-28 Wim Taymans <wim@fluendo.com>
3742 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3743 (single_queue_overrun_cb):
3744 When figuring out when a queue is filled, use our internal time estimate
3745 based on segments, just like check_full does.
3747 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3749 * gst/gstminiobject.c: (gst_mini_object_get_type):
3750 Remove 3 do-nothing methods.
3752 2007-06-27 Wim Taymans <wim@fluendo.com>
3754 Patch by: Tim Angus <tim at ngus dot net>
3756 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3757 (gst_capsfilter_set_property):
3758 Take a reference instead of a copy when setting "caps".
3759 Fix documentation to clarify this behaviour. Fixes #449414.
3761 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3763 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3764 * gst/gstplugin.c: (gst_plugin_init):
3765 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3766 * gst/gstquery.c: (gst_query_get_type):
3767 * gst/gstregistry.c: (gst_registry_init):
3768 * gst/gsturi.c: (gst_uri_handler_base_init):
3769 Remove empty instance_init() functions to save relocs and lessen the
3770 noise. Remove some of the function prototypes that are doubled by
3773 2007-06-27 Wim Taymans <wim@fluendo.com>
3775 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3777 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3778 Add peer and direction in the XML serialisation of ghostpads.
3781 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3784 Preserve useful information, thanks Tim.
3786 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
3788 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3789 (gst_single_queue_flush), (apply_segment), (apply_buffer),
3790 (gst_single_queue_push_one), (gst_multi_queue_loop),
3791 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3792 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3793 (compute_high_id), (gst_single_queue_new):
3794 * plugins/elements/gstmultiqueue.h:
3795 Take the multiqueue lock when updating the fill level so we don't get
3798 After applying a buffer or event on the src pad segment, make sure to
3799 call gst_data_queue_limits_changed() to get the data queue to unblock
3800 and check the filled state again.
3802 Rework the not-linked pad handling so the logic is that not-linked
3803 pads can push as fast as they like, but only so they never get
3804 ahead of any linked pads.
3806 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3807 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3808 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3810 Add a test to check that not-linked pads always stay behind
3815 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
3817 * docs/random/release:
3818 Some updates to the release procedure.
3820 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3822 * gst/gstelementfactory.c: (__gst_element_details_clear):
3823 Microoptimization that saves stunning 80 bytes.
3825 2007-06-25 Stefan Kost <ensonic@users.sf.net>
3827 * docs/plugins/gstreamer-plugins.args:
3828 * docs/plugins/inspect/plugin-coreelements.xml:
3829 * docs/plugins/inspect/plugin-coreindexers.xml:
3830 Update docs with caps info.
3832 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3835 Updated Italian translation.
3837 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
3841 Update Vietnamese translations.
3843 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3845 * libs/gst/base/gstbasesink.c:
3846 Remove unused signal enum.
3848 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3850 * docs/gst/gstreamer-sections.txt:
3852 * gst/gstutils.c: (gst_type_register_static_full):
3853 Beef up and include the docs for gst_type_register_static_full and
3854 gst_element_class_set_details_simple and add the API keyword
3857 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3859 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3860 (update_time_level), (gst_single_queue_push_one),
3861 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3862 (single_queue_overrun_cb), (single_queue_underrun_cb),
3863 (single_queue_check_full):
3864 Fix setting max-* properties after adding queues.
3865 Use IS_FILLED for checking visible items.
3866 Signal overrun if multiple queues overrun.
3867 Add extra debug output.
3868 Patch by: Wim Taymans <wim@fluendo.com>
3870 2007-06-21 Stefan Kost <ensonic@users.sf.net>
3872 * gst/gstelement.c: (gst_element_class_set_details_simple):
3874 * gst/gstutils.c: (gst_type_register_static_full):
3876 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3877 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3878 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3879 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3880 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3881 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3882 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3883 * plugins/elements/gstidentity.c: (gst_identity_base_init):
3884 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3885 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3886 (apply_buffer), (gst_queue_chain):
3887 * plugins/elements/gsttee.c: (gst_tee_base_init):
3888 * plugins/elements/gsttypefindelement.c:
3889 (gst_type_find_element_base_init),
3890 (gst_type_find_element_class_init):
3891 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3892 API: add gst_type_register_static_full
3893 API: add gst_element_class_set_details_simple
3895 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3897 * docs/pwg/advanced-types.xml:
3898 Fix typo in iana.org URI.
3900 2007-06-19 Andy Wingo <wingo@pobox.com>
3902 * tests/check/pipelines/simple-launch-lines.c
3903 (test_state_change_returns): Enable pull-mode tests now that
3904 basesink has been fixed.
3906 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3907 Changed from gst_base_sink_is_prerolled, reversing the sense of
3908 the return value. Returns FALSE also if the sink is in pull mode,
3909 in which case it needs no preroll.
3910 (gst_base_sink_query, gst_base_sink_change_state): Update for
3911 needs_preroll change.
3912 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3913 chaining up, in which we return SUCCESS directly if we activated
3914 in pull mode instead of ASYNC. Involves countering an async_start
3915 message sent before chaining up; not sure if this is correct, in
3916 an ideal world we only send async-start when activating in push
3919 * tests/check/pipelines/simple-launch-lines.c
3920 (test_state_change_returns): New test, partially disabled until
3923 2007-06-19 Wim Taymans <wim@fluendo.com>
3925 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3926 (gst_multi_queue_sink_event):
3929 2007-06-19 Wim Taymans <wim@fluendo.com>
3931 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3932 (gst_bin_change_state_func), (bin_push_state_continue),
3933 (bin_handle_async_start), (bin_handle_async_done),
3934 (gst_bin_handle_message_func):
3935 Move the common code for posting state-change messages into
3937 Broadcast the state signal after we posted the messages.
3938 Mark the bin as busy when it's doing a state-change.
3939 Make sure async-start/done messages don't interfere with the bin's
3940 state when it's busy.
3941 After the state change, let the bin check which elements completed the
3942 state change while it was busy so that it can update its state.
3944 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
3946 * docs/random/release:
3947 Add a note about updating the doap file to the release checklist
3949 2007-06-18 Wim Taymans <wim@fluendo.com>
3951 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3952 (gst_single_queue_push_one), (gst_multi_queue_chain),
3953 (gst_multi_queue_sink_event):
3954 Make sure we don't reference the buffer/event after we have given away
3955 ownership in the queue.
3957 2007-06-18 Wim Taymans <wim@fluendo.com>
3959 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3960 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3961 Update queue state _after_ adding the item in the queue because else we
3962 could end up being full without the element added yet.
3964 2007-06-18 Wim Taymans <wim@fluendo.com>
3966 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3967 (gst_bin_remove_func), (gst_bin_get_state_func),
3968 (gst_bin_element_set_state), (gst_bin_continue_func),
3969 (bin_push_state_continue), (bin_handle_async_start),
3970 (bin_handle_async_done), (gst_bin_handle_message_func):
3972 Immediatly commit the toplevel bin state when receiving an async-done
3973 message. This enables us to avoid spawning a thread to commit the state
3974 in some common cases and it also avoids some races.
3975 Avoid spawning a state thread when adding/removing async elements to a
3976 toplevel bin. Instead we immediatly update the bin state.
3977 Get rid of iterating all the children when getting the state in the bin
3978 because it is now always up-to-date.
3979 Fix bug where locked elements would always return _SUCCESS even it they
3980 returned NO_PREROLL before being locked.
3981 Fix the order of the state_change, async-start/done messages that was
3982 sometimes incorrect.
3983 Mark the state_dirty field as deprecated, we don't need it anymore as we
3984 are always up-to-date.
3986 * gst/gstelement.c: (gst_element_get_state_func),
3987 (gst_element_continue_state):
3988 Small debug inprovements.
3989 Return the previous element state return when nothing is pending instead
3990 of blindly returning SUCCESS.
3992 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3994 Add a whole bunch of new testcases.
3996 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4000 Update translations.
4002 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
4005 Fix typo in the docs.
4007 2007-06-15 Wim Taymans <wim@fluendo.com>
4009 * docs/libs/gstreamer-libs-sections.txt:
4010 Add docs for new methods.
4012 2007-06-15 Wim Taymans <wim@fluendo.com>
4014 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4015 (gst_multi_queue_item_new):
4016 Don't use GSlice because we don't depend on >= 2.10 yet.
4018 2007-06-15 Wim Taymans <wim@fluendo.com>
4020 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4021 (update_time_level), (apply_segment), (apply_buffer),
4022 (gst_single_queue_push_one), (gst_multi_queue_item_new),
4023 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4024 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4025 (single_queue_underrun_cb), (single_queue_check_full):
4026 Remove debug printf.
4028 2007-06-15 Wim Taymans <wim@fluendo.com>
4030 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4031 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4032 (gst_data_queue_set_flushing), (gst_data_queue_push),
4033 (gst_data_queue_pop), (gst_data_queue_drop_head),
4034 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4035 * libs/gst/base/gstdataqueue.h:
4037 Added methods to get the current levels and to inform the queue that the
4038 'full' limits changed.
4040 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4041 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4042 (gst_single_queue_flush), (update_time_level), (apply_segment),
4043 (apply_buffer), (gst_single_queue_push_one),
4044 (gst_multi_queue_item_steal_object),
4045 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4046 (gst_multi_queue_loop), (gst_multi_queue_chain),
4047 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4048 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4049 (gst_multi_queue_src_query), (single_queue_overrun_cb),
4050 (single_queue_underrun_cb), (single_queue_check_full),
4051 (gst_single_queue_new):
4052 Keep track of time in the queue by measuring the difference between
4053 running_time on input and output. This gives more accurate results and
4054 can compensate for segments correctly.
4055 Make a queue by default only 5 buffers deep. We will now increase the
4056 buffer size depending on the filledness of the other queues.
4057 Factor out commong flush code.
4058 Make sure we don't add additional refcounts to buffers when we can avoid
4060 Propagate GstFlowReturn differently.
4061 Use GSlice for intermediate GstMultiQueueItems.
4063 Resize queues on over and underruns based on filled level of other
4065 When checking if the queue is filled, prefer to measure in time if we
4066 can and fall back to bytes when no time is known.
4068 * plugins/elements/gstqueue.c:
4071 2007-06-15 Wim Taymans <wim@fluendo.com>
4073 * libs/gst/base/gstbasetransform.c:
4074 (gst_base_transform_sink_event):
4075 Work around the brokenness of the event vmethod in basetransform. Prefer
4076 to return TRUE when the subclass returned FALSE (meaning don't forward
4079 * libs/gst/base/gstbasetransform.h:
4082 2007-06-15 Wim Taymans <wim@fluendo.com>
4084 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4085 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4086 (gst_base_src_default_query), (gst_base_src_get_range),
4087 (gst_base_src_start):
4088 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4091 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4093 * docs/pwg/advanced-types.xml:
4094 Added more formats to caps table.
4096 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4098 * tools/gst-launch.c: (main):
4099 Remove crufy code. GOption does not need this workaround.
4101 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4103 * libs/gst/controller/gstcontroller.c:
4104 (gst_controlled_property_set_interpolation_mode):
4105 Fix wrong getter for enums in controller.
4107 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4109 * libs/gst/check/gstcheck.c: (gst_check_init):
4110 Intercept criticals and warnings in the Gst-Phonon log domain, so
4111 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4114 2007-06-14 Edward Hervey <edward@fluendo.com>
4116 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4117 Since this file doesn't include "gst.h" it will not go through the
4118 macros that disable GST_LOG if debugging was disabled.
4120 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4122 * libs/gst/check/Makefile.am:
4123 * libs/gst/check/gstcheck.h:
4124 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4125 * pkgconfig/gstreamer-check.pc.in:
4126 Ugly 'fix' for the controller unit test on the p5 bot: in
4127 fail_unless_equals_float() check whether the values are 'almost
4128 equal' by allowing a small absolute error, which should be good
4129 enough for our use cases (normal numbers and values close to 0).
4130 Proper fixage left to floating point arithmetic aficionados.
4132 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4134 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4135 (gst_base_sink_render_object), (gst_base_sink_get_position):
4136 Add two breaks thats where missing.
4138 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4140 * docs/libs/gstreamer-libs-sections.txt:
4141 * libs/gst/check/gstcheck.h:
4142 API: add fail_unless_equals_float() and assert_equals_float().
4143 Add documentation for some of the macros.
4145 * tests/check/libs/controller.c: (GST_START_TEST):
4146 Use newly-added asserts.
4148 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4150 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4151 Show the caps change in the log to help spotting the case of not
4152 exactly matching caps.
4154 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4156 * docs/pwg/building-boiler.xml:
4157 Fix typos, spotted by Thijs Vermeir (#447190).
4159 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4161 * docs/plugins/tmpl/.cvsignore:
4162 Ignore file to keep the buildbots happy
4164 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4166 * docs/plugins/Makefile.am:
4167 * docs/plugins/gstreamer-plugins-docs.sgml:
4168 * docs/plugins/gstreamer-plugins-sections.txt:
4169 Pull fdsink into the docs too.
4171 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
4173 * libs/gst/controller/gstinterpolation.c:
4174 Actually use the new functions with min/max checks for the trigger and
4175 none interpolation modes for get() and get_value_array() instead of
4178 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
4180 * libs/gst/controller/gstcontroller.c:
4181 (gst_controlled_property_free):
4182 Unset the minimum and maximum GValues when freeing the corresponding
4183 GstControllerProperty struct.
4185 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
4187 * libs/gst/controller/gstcontroller.c:
4188 (gst_controlled_property_new):
4189 * libs/gst/controller/gstcontrollerprivate.h:
4190 * libs/gst/controller/gstinterpolation.c:
4191 (gst_controlled_property_find_control_point_node),
4192 (interpolate_none_get), (interpolate_none_get_enum_value_array),
4193 (interpolate_none_get_string_value_array),
4194 (interpolate_trigger_get),
4195 (interpolate_trigger_get_enum_value_array),
4196 (interpolate_trigger_get_string_value_array):
4197 Protect against values larger or smaller than the minimum or maximum
4198 allowed value for the property when using values that can be compared.
4200 Optimize trigger interpolator a bit by taking the last requested value
4201 into account instead of always looping through the complete list.
4203 Fix coding style a bit, everywhere else we use "return foo" instead
4206 * tests/check/libs/controller.c: (GST_START_TEST),
4207 (gst_controller_suite):
4208 Add unit test for the protection against too large or too small
4211 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
4213 * docs/random/slomo/controller.txt:
4214 Add some thoughts about the future of the controller.
4216 2007-06-08 Wim Taymans <wim@fluendo.com>
4218 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4219 Don't overflow in retimestamping code.
4221 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
4223 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4224 Use gst_util_guint64_to_gdouble for conversions.
4225 * win32/common/libgstreamer.def:
4226 Add new exported functions.
4228 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
4231 Small docs addition.
4233 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4236 Remove that test line again.
4238 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4241 Test commit mail sending.
4243 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4246 Fix typo and test commit mail sending.
4248 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4250 * tests/examples/controller/audio-example.c:
4251 Improve comment and test commit mail sending.
4253 2007-06-07 Wim Taymans <wim@fluendo.com>
4255 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4256 (gst_bin_remove_func), (gst_bin_element_set_state),
4257 (bin_handle_async_start), (bin_handle_async_done),
4258 (gst_bin_handle_message_func):
4259 Add helper function to find messages.
4260 Generate the async-done messages together with the state change
4262 Small cleanups in handling toplevel bins.
4264 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4266 * libs/gst/base/gstdataqueue.c:
4267 * libs/gst/base/gstdataqueue.h:
4268 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4269 (gst_multi_queue_item_new), (gst_multi_queue_chain),
4270 (gst_multi_queue_sink_event):
4271 * tests/check/elements/multiqueue.c: (multiqueue_suite):
4272 Fix multiqueue leaking buffers and events when downstream or the
4273 queue are flushing. Make refcounting assumptions explicit and
4274 document them (shouldn't break existing code that uses it other than
4275 maybe leak miniobjects, but that already happens anyway). Add unit
4276 test for the most common flushing case. Fixes #423700.
4278 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4280 * libs/gst/controller/gstcontroller.c:
4281 Clarify docs: The get_all, get_value_array(s) functions
4282 don't modify the GObject properties.
4284 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4286 * libs/gst/controller/gstcontroller.c:
4287 (gst_controlled_property_set_interpolation_mode),
4288 (gst_controlled_property_prepend_default),
4289 (gst_controlled_property_new), (gst_controller_set_unlocked),
4290 (gst_controller_set), (gst_controller_set_from_list),
4291 (gst_controller_unset), (gst_controller_unset_all):
4292 * libs/gst/controller/gstcontrollerprivate.h:
4293 * libs/gst/controller/gstinterpolation.c:
4294 Factor out the 'set' logic into gst_controller_set_unlocked for the
4295 gst_controller_set and gst_controller_set_from_list functions.
4297 To make life of the interpolators easier always add a control point
4298 at timestamp zero with the default value.
4300 In the linear interpolator make things more obvious by better variable
4303 Implement cubic interpolation mode (by using a natural cubic spline)
4304 and map the quadratic interpolation mode to this too (as quadratic
4305 doesn't make much sense, see discussion on the list).
4307 * tests/check/libs/controller.c: (GST_START_TEST),
4308 (gst_controller_suite):
4309 Add unit test for the cubic interpolation mode and check everywhere
4310 if the interpolation mode could be set as expected.
4312 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4314 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4315 Don't use GLib-2.10 functions, we still depend on
4316 GLib-how-old-is-it-again-2.8.
4318 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4320 * docs/gst/gstreamer-sections.txt:
4324 * gst/gstparamspecs.c: (_gst_param_fraction_init),
4325 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4326 (_gst_param_fraction_values_cmp),
4327 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4328 * gst/gstparamspecs.h:
4330 * tests/check/Makefile.am:
4331 * tests/check/gst/.cvsignore:
4332 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4333 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4334 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4335 (GST_START_TEST), (gst_param_spec_suite):
4336 API: add GstParamSpecFraction, so elements can have fraction
4337 properties without lots of painful string parsing (#444648).
4339 2007-06-05 Wim Taymans <wim@fluendo.com>
4341 * gst/gstobject.c: (gst_object_class_init):
4342 Fix signal signature.
4345 Add small clarification in the api docs.
4347 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4348 States are protected with object lock.
4350 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4353 I should probably be listed as an author by now.
4355 * docs/random/release:
4356 Update the release doc
4358 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
4361 Make docs for gst_value_compare() mention return enums that
4364 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4369 === release 0.10.13 ===
4371 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4374 releasing 0.10.13, "With or without you"
4376 2007-05-25 Wim Taymans <wim@fluendo.com>
4378 * gst/gstbin.c: (bin_handle_async_done):
4379 Make sure that the child bin stops after completing the async state
4380 change so that the parent can continue the state change to PLAYING.
4383 2007-05-25 Wim Taymans <wim@fluendo.com>
4385 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4386 (unref_data), (gst_collect_pads_remove_pad),
4387 (gst_collect_pads_check_pads):
4388 Use additional refcounting to avoid crashes when dynamically adding and
4389 removing pads. Fixes #420206.
4391 2007-05-24 Wim Taymans <wim@fluendo.com>
4393 * tools/gst-launch.c: (event_loop):
4394 When buffering goes from a two digit to a single digit number, make sure
4395 to remove the old second digit by writing a blank over it.
4397 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4399 * libs/gst/base/gstdataqueue.c:
4400 Eliminate tabs and trailing comma in enum list; fix some typos.
4402 2007-05-24 Wim Taymans <wim@fluendo.com>
4404 * tests/check/gst/gstbin.c: (GST_START_TEST):
4405 Allow refcount of 3 and 4 because some state thread might still be busy
4408 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4410 * plugins/elements/Makefile.am:
4411 * plugins/elements/gstmultiqueue.h:
4412 * plugins/elements/gstqueue.h:
4413 These are not installed headers, no need for padding.
4415 2007-05-24 Wim Taymans <wim@fluendo.com>
4417 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4418 (gst_bin_continue_func):
4419 Enable latency for next release.
4420 Restore STATE_LOCK around recalc_state that was left out during the
4421 rewrite and could result in racy behaviour when _get_state and
4422 recalc_state are run concurrently. See #440463.
4424 2007-05-23 Wim Taymans <wim@fluendo.com>
4426 * tests/check/gst/gstsystemclock.c: (store_callback),
4428 Improve test_async_order to also work when both timers are already
4429 expired when we get scheduled to check it.
4431 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4433 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4434 (gst_bin_set_property), (gst_bin_get_property),
4435 (gst_bin_remove_func), (gst_bin_handle_message_func):
4437 'private' is a c++ keyword, let's not use that in header files,
4438 otherwise c++ compilers will throw a tantrum.
4440 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4442 * plugins/elements/gstelements.c:
4443 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4444 (gst_file_sink_get_current_offset):
4445 * plugins/indexers/gstindexers.c: (plugin_init):
4446 Use #ifdef for HAVE_XYZ for consistency.
4448 * tests/check/Makefile.am:
4449 * tests/check/elements/.cvsignore:
4450 * tests/check/elements/filesink.c: (setup_filesink),
4451 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4452 Add some unit tests for filesink.
4454 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4456 Patch by: Mark Nauwelaerts <manauw at skynet be>
4458 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4459 (gst_file_sink_query), (gst_file_sink_do_seek),
4460 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4461 * plugins/elements/gstfilesink.h:
4462 Fix position reporting; rename data_written member to current_pos to
4463 reflect its real meaning (fixes #412648).
4465 2007-05-22 Edward Hervey <edward@fluendo.com>
4467 * docs/gst/gstreamer-sections.txt:
4468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4469 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4470 (gst_bin_remove_func), (gst_bin_handle_message_func):
4472 Add a property for bins that handle the state change of their childs.
4475 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
4477 * libs/gst/controller/gstinterpolation.c:
4478 Use an array of the correct type when using _get_value_array with
4479 linear interpolation.
4481 2007-05-22 Stefan Kost <ensonic@users.sf.net>
4483 * gst/gstelement.c (gst_element_requires_clock,
4484 gst_element_provides_clock, gst_element_request_pad,
4485 gst_element_class_set_details, gst_element_class_set_details_simple,
4486 gst_element_default_send_event, gst_element_abort_state,
4487 gst_element_continue_state, gst_element_set_state,
4488 gst_element_set_state_func, iterator_activate_fold_with_resync):
4489 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4490 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4491 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4492 gst_pad_get_range, gst_pad_pull_range):
4493 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4494 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4495 GstPadActivateModeFunction, GstPadChainFunction,
4496 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4497 GstPadFixateCapsFunction, GstPadTemplate):
4498 * gst/gstpipeline.c (gst_pipeline_change_state,
4499 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4500 gst_pipeline_set_clock, gst_pipeline_auto_clock,
4501 gst_pipeline_get_delay):
4502 Whitespace and docs fixes.
4504 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4506 * libs/gst/controller/gstinterpolation.c:
4507 (interpolate_trigger_get_enum_value_array),
4508 (interpolate_trigger_get_string_value_array):
4509 Add support for retrieving value arrays when using the trigger
4512 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4514 * libs/gst/controller/gstcontroller.c:
4515 (gst_controller_get_value_array):
4516 * libs/gst/controller/gstcontroller.h:
4517 Clarify the docs of gst_controller_get_value_array(): The array where
4518 the values should be written to must be allocated as there seems to be
4519 no way to get the size of a random GType. This doesn't change any
4520 behaviour. Also fix some typos all over the place and remove an unused,
4521 commented function that is not necessary as g_object_set() could be
4523 * tests/check/libs/controller.c: (GST_START_TEST),
4524 (gst_controller_suite):
4525 Add unit test for gst_controller_get_value_array().
4527 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
4529 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4531 Disable part of the gst_buffer_try_new_and_alloc test, because
4532 it can happily succeed on 64-bit systems where there's more address
4535 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4537 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4538 Add unit test for the improved caps checking from bug #421543.
4540 2007-05-21 Wim Taymans <wim@fluendo.com>
4542 * docs/design/part-synchronisation.txt:
4545 * gst/gstbin.c: (gst_bin_query):
4546 * plugins/elements/gstqueue.c: (apply_segment):
4552 2007-05-21 Wim Taymans <wim@fluendo.com>
4554 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4555 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4556 (gst_pad_configure_src):
4557 Added simple version of improved caps checking. It was previously
4558 assumed that a setcaps function would check the validity of the caps but
4559 people prefer us to check caps against the template automatically.
4562 2007-05-21 Wim Taymans <wim@fluendo.com>
4564 * libs/gst/base/gstbasetransform.h:
4565 Fix macro for locking/unlocking the transform lock.
4567 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
4569 * docs/plugins/tmpl/.cvsignore:
4572 2007-05-18 Edward Hervey <edward@fluendo.com>
4574 * plugins/elements/gstqueue.c: (gst_queue_loop):
4575 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4576 for the subtle art of warning a potentially blocking thread that it
4577 should check the source pad return value, and relay the information
4580 2007-05-18 Edward Hervey <edward@fluendo.com>
4582 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4583 Release the queue lock !
4585 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4587 * docs/libs/gstreamer-libs-sections.txt:
4588 Add the two new controller functions to the appropiate places.
4590 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4592 reviewed by: Stefan Kost <ensonic@users.sf.net>
4594 * libs/gst/controller/gstcontroller.c:
4595 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4596 (_gst_controller_get_property), (_gst_controller_set_property),
4597 (_gst_controller_init), (_gst_controller_class_init):
4598 * libs/gst/controller/gstcontroller.h:
4599 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4600 (gst_object_get_control_rate), (gst_object_set_control_rate):
4601 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4602 Add API that provides sync suggestion timestamps for elements that
4603 call gst_object_sync_values() from which those elements can subdivide
4604 their processing loop to get the best results for the controlled
4605 properties. For now it just suggests last_sync + control_rate as
4606 new timestamp but this will be improved in the future.
4608 While doing that change the control-rate property to a GstClockTime
4609 from guint and change it's meaning from samples to nanoseconds as
4610 the GstController doesn't know anything about sampling rate. Strictly
4611 speaking this breaks ABI but as the control-rate property didn't do
4612 anything in the past and as such couldn't be used this should be no
4615 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4617 reviewed by: Stefan Kost <ensonic@users.sf.net>
4619 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4620 (gst_controller_unset_all):
4621 * libs/gst/controller/gstcontrollerprivate.h:
4622 * libs/gst/controller/gstinterpolation.c:
4623 (gst_controlled_property_find_control_point_node):
4624 Save last synced value from the list to continue searching from there
4625 in future syncs. This speeds everything up a bit.
4627 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4629 reviewed by: Stefan Kost <ensonic@users.sf.net>
4631 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4632 (gst_control_point_find), (gst_controlled_property_new),
4633 (gst_control_point_free), (gst_controlled_property_free),
4634 (gst_controller_set), (gst_controller_set_from_list),
4635 (gst_controller_unset), (gst_controller_unset_all),
4636 (gst_controller_sync_values):
4637 * libs/gst/controller/gstcontroller.h:
4638 * libs/gst/controller/gstcontrollerprivate.h:
4639 * libs/gst/controller/gstinterpolation.c:
4640 (gst_controlled_property_find_control_point_node),
4641 (interpolate_none_get), (interpolate_trigger_get):
4642 Add a new private GstControlPoint struct which "inherits" from
4643 GstTimedValue to allow different interpolators to store internal
4644 values next to each control point. From the outside everything is
4645 still a GstControlPoint so we don't loose binary compatibility.
4646 Also fixup all the GValue handling to not leak GValues or list nodes.
4647 * tests/check/libs/controller.c: (GST_START_TEST):
4648 Free the list nodes and GValues in the controller_misc test.
4650 2007-05-17 Edward Hervey <edward@fluendo.com>
4655 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
4657 * gst/gstplugin.c: (gst_plugin_load_file):
4658 If we fail to load a plugin because of unresolved symbols or missing
4659 libraries and spew a warning to stderr, we may just as well mention
4660 which plugin it was that failed to load.
4662 2007-05-13 David Schleef <ds@schleef.org>
4664 * docs/Makefile.am: the gtk-doc makefile snippet correctly
4665 handles the case when ENABLE_GTK_DOC is false, and installs
4666 the prebuilt documentation. So gtk-doc subdirs are
4667 unconditionally enabled. Fixes: #349099.
4669 2007-05-13 David Schleef <ds@schleef.org>
4671 * gst/gstutils.h: Reword some documentation.
4673 2007-05-12 David Schleef <ds@schleef.org>
4675 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4676 do anything with the passed "module" parameter, so remove it.
4677 Allows removal of additional vestigal code.
4679 2007-05-12 David Schleef <ds@schleef.org>
4682 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4683 Switch to using g_stat() because it's more portable.
4685 2007-05-12 David Schleef <ds@schleef.org>
4688 Add GST_DISABLE_OPTION_PARSING, in order to disable option
4689 parsing for embedded systems.
4690 * gst/gstelementfactory.c:
4691 Allow gst_element_register() to be called with plugin==NULL.
4692 Did nobody notice that static elements were broken?
4694 2007-05-12 Wim Taymans <wim@fluendo.com>
4696 * tools/gst-launch.c: (event_loop):
4697 Give more interesting info when buffering starts and stops.
4698 Fix case where buffering starts but we fail to update the buffering flag
4699 because the target state is not PLAYING.
4701 2007-05-12 Wim Taymans <wim@fluendo.com>
4703 * plugins/elements/gstqueue.c: (gst_queue_init),
4704 (gst_queue_finalize), (update_time_level), (apply_segment),
4705 (apply_buffer), (gst_queue_locked_flush),
4706 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4707 (gst_queue_handle_sink_event), (gst_queue_chain),
4708 (gst_queue_push_one), (gst_queue_loop):
4709 * plugins/elements/gstqueue.h:
4710 Refactor an cleanup queue a bit.
4711 Do better time level calculations that also work when the srcpad is not
4713 Remove some unneeded debug lines.
4715 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4716 Added testcase for time level measurement.
4717 Try to make some stuff more racefree.
4719 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4721 * gst/gsturi.c: (gst_element_make_from_uri):
4722 Don't leak plugin feature.
4724 * tests/check/Makefile.am:
4725 * tests/check/gst/.cvsignore:
4726 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4727 Add brain-dead unit test.
4729 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4731 Patch by: Jeroen Wouters <woutersj at gmail com>
4733 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4734 Treat protocol strings in a case-insensitive way (#437563).
4736 2007-05-11 Michael Smith <msmith@fluendo.com>
4738 * gst/gstplugin.c: (gst_plugin_load_file):
4739 * gst/gstregistry.c: (gst_registry_scan_path_level):
4740 Don't print a g_warning for any failure to load a shared object.
4741 Instead, push this down into gstplugin.c, and warn _only_ if we
4742 failed to open the module (i.e. failure to link).
4743 Avoids warnings on normal, working, non-plugin .so files.
4745 2007-05-11 Stefan Kost <ensonic@users.sf.net>
4747 * gst/gstplugin.c (gst_plugin_load_file):
4748 * gst/gstregistry.c (GST_CAT_DEFAULT,
4749 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4750 Print a g_warning if there was an error when loading a plugins during
4751 registry scan. The shuld help beginners starting with gst-plugin
4754 2007-05-10 Wim Taymans <wim@fluendo.com>
4756 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4757 (update_time_level), (gst_queue_locked_flush),
4758 (gst_queue_handle_sink_event), (gst_queue_chain),
4759 (gst_queue_push_one), (gst_queue_loop):
4760 * plugins/elements/gstqueue.h:
4761 Be smarter when calculating the current amount of data in the queue by
4762 measuring the difference between start and end timestamps (in running
4763 time) inside the queue. Fixes #432876.
4764 API: GstQueue::pushing to notify elements that we are pushing data again
4765 since the running signal is rather broken for this purpose.
4767 2007-05-10 Stefan Kost <ensonic@users.sf.net>
4769 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4770 gst_queue_base_init, gst_queue_init):
4773 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
4775 * win32/common/libgstreamer.def:
4776 Add new exported functions.
4777 * win32/vs6/grammar.dsp:
4778 Use grammar pre-generated files.
4780 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4782 Based on patch by: Peter Kjellerstedt <pkj at axis com>
4785 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4787 * gst/gstutils.c: (gst_parse_bin_from_description):
4789 Maintain API and ABI when --disable-parse is used. Now that
4790 we have an appropriate error code, we can just return NULL and the
4791 appropriate error when gst_parse_launch() is used despite it having
4792 been disabled (#342564).
4794 * tests/check/Makefile.am:
4795 * tests/check/pipelines/.cvsignore:
4796 * tests/check/pipelines/parse-disabled.c:
4797 Make sure these functions exist and return NULL plus a GError when
4798 --disable-parse is used.
4800 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4802 * tests/benchmarks/complexity.c: (main):
4803 * tests/benchmarks/mass-elements.c: (main):
4804 Set a good example and don't leak messages.
4806 2007-05-06 Stefan Kost <ensonic@users.sf.net>
4808 * docs/gst/Makefile.am:
4809 * docs/libs/Makefile.am:
4810 Correct fixxrefs options.
4812 * docs/plugins/Makefile.am:
4813 * docs/plugins/gstreamer-plugins-docs.sgml:
4814 * docs/plugins/gstreamer-plugins-sections.txt:
4815 * plugins/elements/Makefile.am:
4816 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4817 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4818 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4819 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4820 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4821 _GstCapsFilterClass, trans_class):
4822 * plugins/elements/gstelements.c (name, rank, type, _elements):
4823 * plugins/elements/gstidentity.c
4824 (gst_identity_check_imperfect_timestamp,
4825 gst_identity_check_imperfect_offset):
4826 Document capsfilter and add doc-blurb to identity.
4828 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
4830 * libs/gst/controller/gstcontroller.c:
4831 (gst_controlled_property_set_interpolation_mode):
4832 * libs/gst/controller/gstinterpolation.c:
4833 Don't crash if someone tries to set an interpolation mode that
4834 is invalid or that isn't supported yet. Fixes #422295.
4836 * tests/check/libs/controller.c: (GST_START_TEST),
4837 (gst_controller_suite):
4838 Add a test case for the above.
4840 2007-05-03 Edward Hervey <edward@fluendo.com>
4842 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4843 Properly set the last_stop position on GstSegment. This will only happen
4844 if there is a buffer to push out.
4846 2007-05-03 Wim Taymans <wim@fluendo.com>
4848 * libs/gst/base/gstbasetransform.c:
4849 (gst_base_transform_buffer_alloc):
4850 always_in_place does not mean that the sink and source caps are the
4851 same! Make sure we don't blindly proxy the buffer_alloc in this case.
4853 2007-05-03 Wim Taymans <wim@fluendo.com>
4855 * docs/libs/gstreamer-libs-sections.txt:
4856 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4857 (gst_base_src_default_query), (gst_base_src_get_range):
4858 * libs/gst/base/gstbasesrc.h:
4859 API: gst_base_src_query_latency(). Added method so that subclasses can
4860 easily get the latency values of the base source class.
4862 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
4864 * tools/gst-inspect.c (print_implementation_info):
4867 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
4869 * tools/Makefile.am:
4870 * tools/gst-launch.1.in:
4871 Don't create a customised man page based on the host architecture,
4872 describe the default registry path generically. That way the man
4873 page is the same for all architectures and packagers have one
4874 multilib issue less to deal with. Fixes #434926.
4876 2007-05-02 Wim Taymans <wim@fluendo.com>
4879 Fix documentation as spotted by rg on IRC.
4881 2007-04-29 Stefan Kost <ensonic@users.sf.net>
4884 Improve docs for gst_element_{link,unlink}.
4886 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
4888 * docs/design/part-events.txt:
4889 * docs/design/part-overview.txt:
4893 * libs/gst/base/gstbasesink.c:
4894 Typo fixes; minor docs addition.
4896 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4898 * docs/gst/gstreamer-sections.txt:
4899 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4900 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4902 API: Add gst_uri_protocol_is_supported(), which checks if a sink
4903 or src that supports a given URI protocol exists.
4905 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4907 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4908 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4909 Set the location to NULL if "file://" is set as URI. Otherwise
4910 some random previous URI would still be set if "file://" is
4911 set on an already used filesink/filesrc.
4913 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4915 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4916 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4917 Special case the "file://" URI as as this is used by some
4918 applications to test with gst_element_make_from_uri if there's
4919 an element that supports the URI protocol.
4920 Also move the g_path_is_absolute() check for the location part
4921 of the URI to also check this for "file://localhost/bla" URIs.
4923 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
4925 * docs/gst/gstreamer-sections.txt:
4926 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4928 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4930 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4932 2007-04-26 Stefan Kost <ensonic@users.sf.net>
4934 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4935 (gst_registry_binary_load_pad_template),
4936 (gst_registry_binary_load_plugin),
4937 (gst_registry_binary_read_cache):
4938 * gst/gstregistrybinary.h:
4939 Implement no-mmap alternative for registry reading. Do code cleanups.
4940 Add more comments about avoiding strdups for all text data. Comments
4943 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4945 * gst/gstregistrybinary.h (GstBinaryPluginElement,
4946 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4947 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4948 Comment structs and reformat to fix the build (that stuff should go
4949 into a priv. header).
4951 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4953 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4954 (gst_registry_binary_load_feature):
4955 * gst/gstregistrybinary.h:
4956 Refactor so that we can implement multiple features. Add support for
4957 TypeFindFactory features.
4959 2007-04-24 Stefan Kost <ensonic@users.sf.net>
4961 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4964 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4966 2007-04-23 Stefan Kost <ensonic@users.sf.net>
4968 * gst/gstbin.c: (gst_bin_element_set_state),
4969 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4970 (bin_handle_async_done), (gst_bin_handle_message_func):
4971 Fix build with --gst-disable-gst-debug
4973 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
4975 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4976 Make sure streaming has finished before calling the ::stop() vfunc,
4977 since that vfunc might clear state which is being used in the
4978 streaming thread. This fixes a race that caused crashes in
4979 audioresample when shutting down a pipeline (#420106).
4981 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4983 * docs/gst/gstreamer-sections.txt:
4984 That was one byte missing.
4986 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4989 * docs/gst/gstreamer-sections.txt:
4991 * gst/gstconfig.h.in:
4992 * gst/gstobject.c: (gst_object_class_init),
4993 (gst_signal_object_class_init):
4995 2nd attempt to have a xml-less build as a joined effort of #413123
4998 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5000 * docs/design/draft-tagreading.txt:
5001 Added open issues/thoughts to draft.
5003 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5005 * gst/parse/grammar.tab.pre.c:
5006 * gst/parse/grammar.tab.pre.h:
5007 * gst/parse/lex._gst_parse_yy.pre.c:
5008 Update the prebuild parser sources.
5010 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5012 * gst/parse/Makefile.am:
5013 And now fix the building of the flex sources. Now everything should
5016 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5018 * gst/parse/Makefile.am:
5019 Now hopefully fix the build failures by setting proper rule
5020 dependencies and moving instead of copying.
5022 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5024 * tests/benchmarks/complexity.gnuplot:
5025 * tests/benchmarks/complexity.scm:
5026 * tests/benchmarks/mass-elements.gnuplot:
5027 * tests/benchmarks/mass-elements.scm:
5028 Total licensification.
5030 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5032 * gst/parse/Makefile.am:
5033 Fix the build by correcting the rule that gave wrong files to flex.
5035 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5037 * tests/benchmarks/complexity.c:
5038 * tests/benchmarks/mass-elements.c:
5039 Change licence to LGPL as granted by Benjamin and Andy.
5041 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5043 * gst/parse/Makefile.am:
5044 Add correct grammar.tab.h dependency if compiling without new enough
5045 flex. Fixes #431150.
5047 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5049 * gst/parse/Makefile.am:
5050 Fix typo and use outdated sources if the flex/bison sources are newer
5051 than the pregenerated ones but flex is too old. Print a warning in
5052 that case. This should fix the build on the build bot.
5054 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5056 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5057 * gst/parse/Makefile.am:
5058 * gst/parse/grammar.y:
5059 * gst/parse/parse.l:
5060 Make the parser reentrant and recursively callable. This requires flex
5061 >= 2.5.31, for older versions pregenerated sources are used as we
5062 can't bump the build dependency. Finally fixes #349180.
5064 * gst/gstparse.c: (gst_parse_launch):
5065 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5068 * docs/gst/Makefile.am:
5069 * docs/gst/Makefile.am:
5070 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5071 (__gst_parse_strfree), (__gst_parse_link_new),
5072 (__gst_parse_link_free), (__gst_parse_chain_new),
5073 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5074 (gst_parse_element_set), (gst_parse_free_link),
5075 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5076 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5077 (_gst_parse_launch):
5078 * gst/parse/grammar.tab.pre.h:
5079 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5080 (yy_get_previous_state), (yy_try_NUL_trans), (input),
5081 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5082 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5083 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5084 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5085 (_gst_parse_yypop_buffer_state),
5086 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5087 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5088 (yy_fatal_error), (_gst_parse_yyget_extra),
5089 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5090 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5091 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5092 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5093 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5094 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5095 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5096 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5097 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5098 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5099 (_gst_parse_yyfree):
5100 If the installed flex version is too old use pre-generated parser
5101 sources. These pre-generated parser sources are always updated when
5102 the actual flex/bison sources change but require everybody who wants
5103 to change something in the parser to have flex >= 2.5.31 installed.
5105 2007-04-18 Stefan Kost <ensonic@users.sf.net>
5107 * common/m4/gst-gettext.m4:
5108 * gst/gst-i18n-lib.h:
5109 Make --disable-nls to work
5111 2007-04-17 Wim Taymans <wim@fluendo.com>
5113 * gst/gstconfig.h.in:
5114 Revert previous change that broke the build.
5116 2007-04-17 Stefan Kost <ensonic@users.sf.net>
5120 * gst/gstconfig.h.in:
5121 Drop libxml2 dependency when building with
5122 --enable-binary-registry --disable-loadsave
5124 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
5126 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5127 (gst_registry_binary_read_cache):
5128 * gst/gstregistrybinary.h:
5129 Remove unnecessary <sys/mman.h> include which broke the win32 build
5130 with MingW; move includes from header file to .c file, even if the
5131 header file isn't installed; use g_strerror() where UTF-8 strings
5132 are expected, such as in GST_DEBUG messages.
5134 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5136 * docs/libs/gstreamer-libs-sections.txt:
5137 Remove bogus addition for API I didn't end up keeping.
5139 * libs/gst/base/gstbasesrc.h:
5140 Mention Since: 0.10.13 in the documentation.
5142 Add the API keyword to the previous ChangeLog entry.
5144 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5146 * docs/libs/gstreamer-libs-sections.txt:
5147 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5148 (gst_base_src_default_prepare_seek_segment),
5149 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5150 * libs/gst/base/gstbasesrc.h:
5151 Allow basesrc derived classes to execute seeks in other formats
5152 by providing a prepare_seek_segment vmethod. Sub-classes can choose
5153 to prepare the GstSegment in any format that their perform_seek method
5154 will be able to understand. The default implementation provides the
5155 old behaviour of attempting to convert the seek offsets to the
5156 configured native format.
5158 API: basesrc::prepare_seek_segment vmethod.
5160 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5162 * gst/gstelement.c: (gst_element_get_state_func):
5163 Don't output the same debug statement twice.
5165 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5166 (gst_adapter_peek), (gst_adapter_take_buffer):
5167 Optimise the case where we have buffers at the head of the queue that
5168 can be joined quickly (because they're contiguous sub-buffers) by
5169 merging them together rather than copying data out into new memory.
5171 * gst/parse/grammar.y:
5172 * tests/check/pipelines/parse-launch.c:
5173 Fix a leak in an error path for parse_launch, and add a check
5174 for it to the testsuite.
5176 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5178 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5179 Don't deadlock when releasing a pad - gst_pad_set_active may try
5180 and take the multiqueue lock too.
5182 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
5184 * gst/gsterror.c: (_gst_core_errors_init):
5186 API: add GST_CORE_ERROR_DISABLED (#392804).
5188 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
5190 * docs/faq/gst-uninstalled:
5191 don't get empty paths on the PATH variables
5192 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5193 Don't format for the uncommon terminal width of 84 characters.
5195 2007-04-06 Wim Taymans <wim@fluendo.com>
5197 * gst/gstpipeline.c: (reset_stream_time),
5198 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5199 Only try to select a different pipeline clock when we went back to
5200 PAUSED and not when we merely got flushed.
5202 2007-04-05 Michael Smith <msmith@fluendo.com>
5204 * tools/gst-launch.1.in:
5205 fractions are better supported in gstreamer than ractions, so
5206 suggest using those.
5208 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
5210 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5214 Added Danish translation.
5216 2007-04-05 Wim Taymans <wim@fluendo.com>
5218 * libs/gst/base/gstbasesink.c:
5219 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5220 Fix leak caused when refusing newsegment after EOS.
5222 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5223 (gst_fake_sink_init), (gst_fake_sink_set_property),
5224 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5225 (gst_fake_sink_render), (gst_fake_sink_change_state):
5226 * plugins/elements/gstfakesink.h:
5227 Add num-buffers property to make the element generate EOS after a
5228 configurable amount of buffers.
5229 API: fakesink::num-buffers property.
5231 * tests/check/elements/fakesink.c: (GST_START_TEST),
5233 Fix GstBus leak in test.
5234 Test for fakesink num-buffers.
5236 2007-04-05 Wim Taymans <wim@fluendo.com>
5238 * libs/gst/base/gstbasesink.c:
5239 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5240 (gst_base_sink_change_state):
5241 Don't accept anything after an EOS, return UNEXPECTED instead.
5243 * tests/check/elements/fakesink.c: (GST_START_TEST),
5245 Unit test for new EOS behaviour.
5247 2007-04-05 Wim Taymans <wim@fluendo.com>
5249 * gst/gstelement.c: (gst_element_get_request_pad):
5250 Make padtemplates also work when they don't contain %s or %d.
5252 2007-04-05 Wim Taymans <wim@fluendo.com>
5254 * docs/gst/gstreamer-sections.txt:
5255 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5256 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5258 Improve _adjust_unlocked() so that it overflows less.
5259 Add gst_clock_unadjust_unlocked to convert from external time to
5260 internal time based on calibration.
5261 Add some more debug.
5262 API: GstClock::gst_clock_unadjust_unlocked()
5264 2007-04-03 Wim Taymans <wim@fluendo.com>
5266 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5268 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5269 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5270 when releasing sink pad. Fixes #425400.
5272 2007-04-02 Stefan Kost <ensonic@users.sf.net>
5274 * docs/random/ensonic/dynlink.txt:
5275 More work on proposal for new core api.
5277 * docs/libs/gstreamer-libs-sections.txt:
5278 * libs/gst/base/gstbasetransform.h:
5279 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5281 * libs/gst/controller/gstcontroller.c:
5282 (on_object_controlled_property_changed),
5283 (gst_controller_sync_values),
5284 (gst_controller_set_interpolation_mode):
5285 * libs/gst/controller/gstcontroller.h:
5286 Less verbose logging add docs for unimplemented parts and correctly
5287 return when using unavailable parts.
5289 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5291 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5292 Move all the debug to the CLOCK category, and associate it with
5295 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5297 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5298 Make take_buffer a bit quicker by removing redundant checks
5299 caused by calling gst_adapter_take.
5301 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5303 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5306 * tests/check/Makefile.am:
5307 * tests/check/elements/.cvsignore:
5308 * tests/check/elements/multiqueue.c: (setup_multiqueue),
5309 (GST_START_TEST), (multiqueue_suite):
5310 Add some dead simple unit tests for the 'multiqueue' element
5311 (some bits don't work yet and are disabled for now).
5313 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5315 * gst/gstelement.c: (gst_element_get_request_pad),
5316 (gst_element_class_get_request_pad_template):
5317 Make gst_element_get_request_pad() create request pads only for
5318 request pad templates and not for, say, sometimes pad templates.
5320 2007-03-28 Stefan Kost <ensonic@users.sf.net>
5322 * docs/design/draft-klass.txt:
5323 Add example that needs more thinking.
5325 * docs/design/draft-missing-plugins.txt:
5326 More thoughts about wrapper plugins.
5328 * docs/random/ensonic/embedded.txt:
5329 * docs/random/ensonic/profiling.txt:
5332 2007-03-25 Wim Taymans <wim@fluendo.com>
5334 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5335 (gst_base_src_loop):
5336 Only push the segment events in the PLAYING state for live sources.
5338 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
5340 * gst/gstpipeline.c: (gst_pipeline_change_state):
5341 Modify the clock distribution path in PAUSED->PLAYING so that we
5342 never attempt to choose a new clock unless we're actually leaving
5343 the PAUSED state for the first time. This prevents choosing a
5344 different clock when the state_change gets called for a 2nd time due
5345 to some element doing an async state change.
5347 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5349 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5350 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5351 (gst_pad_chain_unchecked), (gst_pad_push):
5352 Revert last commit. This needs some more thoughts.
5354 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5356 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5357 (gst_pad_chain_unchecked), (gst_pad_push):
5358 Check in set_caps if the caps are compatible with the pad and remove
5359 two functions that are redundant now. Fixes #421543.
5361 2007-03-22 Wim Taymans <wim@fluendo.com>
5363 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5364 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5365 Unref some more to make valgrind happy.
5367 2007-03-22 Wim Taymans <wim@fluendo.com>
5369 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5370 (gst_system_clock_id_wait_jitter),
5371 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5372 Fix anoying regression that survived a few releases. When adding an
5373 async entry while blocking on a sync entry, the sync entry will unblock
5374 but still be busy, so it should continue to wait instead of returning
5376 Add some comments here and there.
5378 * tests/check/gst/gstsystemclock.c: (mixed_thread),
5379 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5380 Add testcase for this.
5382 2007-03-22 Wim Taymans <wim@fluendo.com>
5384 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5385 Handle errors from the clock sync better, only UNSCHEDULED indicates a
5386 WRONG_STATE and can silently pause the task. All other cases should
5389 2007-03-22 Wim Taymans <wim@fluendo.com>
5391 Patch by: Ville Syrjala <syrjala at sci dot fi>
5393 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5394 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
5397 2007-03-21 Michael Smith <msmith@fluendo.com>
5399 * docs/pwg/advanced-types.xml:
5400 Fix some errors in the typefinding docs pointed out on irc.
5402 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
5404 * libs/gst/base/gstbasesrc.c:
5405 Clarify FIXME comment in the face of having added unlock_stop()
5407 2007-03-21 Wim Taymans <wim@fluendo.com>
5409 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5410 Prepare for release where we warn against possible app breakage in the
5411 case of live pipelines along with an env var to enable/disable live
5412 preroll mode (GST_COMPAT=[no-]live-preroll).
5414 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5416 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5417 So we should use correct constants for checking for None offset.
5419 2007-03-20 Wim Taymans <wim@fluendo.com>
5421 * docs/design/part-block.txt:
5422 Mention the fact that the newly switched element should be set to at
5425 2007-03-20 Wim Taymans <wim@fluendo.com>
5428 Fix compilation with registry disabled as spotted by Saur.
5430 2007-03-20 Wim Taymans <wim@fluendo.com>
5432 Patch by: Olivier Crete <tester at tester dot ca>
5434 * gst/gstelement.c: (gst_element_sync_state_with_parent):
5435 Look at the pending state too when syncing the element state to the
5436 parent. Fixes #420133.
5438 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
5440 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5441 (gst_base_sink_change_state):
5442 * libs/gst/base/gstbasesink.h:
5443 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5444 (gst_base_src_default_event), (gst_base_src_unlock_stop),
5445 (gst_base_src_deactivate):
5446 * libs/gst/base/gstbasesrc.h:
5447 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5448 for sub-classes to correctly clear any state they set trying to
5449 unlock, such as clearing out unlock commands from a command fd.
5450 API: basesrc::unlock_stop
5451 API: basesink::unlock_stop
5453 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5454 (gst_fd_sink_render), (gst_fd_sink_unlock),
5455 (gst_fd_sink_unlock_stop):
5456 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5457 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5458 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5460 Implement unlock_stop in fdsrc and fdsink.
5461 Implement seeking in fdsrc when a seekable fd is passed, as in
5462 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5464 2007-03-19 Wim Taymans <wim@fluendo.com>
5466 Patch by: Evan Nemerson <evan at coeus dash group dot com>
5468 * gst/gstelement.c: (gst_element_class_init):
5469 Fix pad-added and pad-removed signal signatures so that the pad type is
5470 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5472 2007-03-19 Wim Taymans <wim@fluendo.com>
5474 * docs/gst/gstreamer-sections.txt:
5475 Add new element field and method.
5477 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5478 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5479 (gst_bin_recalc_state), (gst_bin_get_state_func),
5480 (gst_bin_element_set_state), (gst_bin_change_state_func),
5481 (gst_bin_continue_func), (bin_bus_handler),
5482 (bin_push_state_continue), (bin_handle_async_start),
5483 (bin_handle_async_done), (gst_bin_handle_message_func):
5484 Make async state changes a bit smarter by using new ASYNC_START and
5485 ASYNC_DONE messages. This reduces the number of times we run the state
5486 recalculation thread.
5487 Don't change state of element with a pending ASYNC_START message.
5488 Deprecate STATE_DIRTY messages.
5490 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5491 (gst_element_get_state_func), (gst_element_continue_state),
5492 (gst_element_lost_state), (gst_element_set_state_func),
5493 (gst_element_change_state):
5495 Keep the state that was last set by the app in a new element field.
5496 Don't allow state changes when handling an element event.
5497 Post ASYNC_START and ASYNC_DONE messages.
5498 Change lost_state so that we go to PAUSED and wait for the parent to set
5499 us to PLAYING again (so latency calculation can be performed)
5500 Export gst_element_change_state() method so that subclasses can use it.
5501 API: gst_element_change_state()
5502 API: GST_STATE_TARGET
5504 * gst/gstpipeline.c: (gst_pipeline_class_init),
5505 (reset_stream_time), (gst_pipeline_change_state),
5506 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5507 Using the new ASYNC_START message we can reset the base_time when
5508 needed. This can then be used to implement base_time redistribution in
5509 flushing seeks so that we can remove the explicit seek handling.
5510 Perform latency query and configuration when going to PLAYING.
5512 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5513 (gst_base_sink_query), (gst_base_sink_change_state):
5514 Post new ASYNC_START/ASYNC_DONE messages.
5516 * tests/check/generic/sinks.c: (GST_START_TEST):
5517 Fix test because the bin will not set the async element to PLAYING right
5520 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5521 Make the message check a little stronger.
5522 Handle ASYNC messages.
5524 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5525 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5526 Expect ASYNC_DONE messages.
5528 2007-03-19 Wim Taymans <wim@fluendo.com>
5530 * docs/gst/gstreamer-sections.txt:
5531 * gst/gstmessage.c: (gst_message_new_async_start),
5532 (gst_message_new_async_done), (gst_message_parse_info),
5533 (gst_message_parse_async_start):
5535 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5538 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
5540 * tools/gst-inspect.c:
5541 (print_plugin_automatic_install_info_codecs):
5542 Now that we don't check for the 'Codec' keyword any longer in the
5543 klass, we shouldn't spew a warning if the klass isn't a decoder or
5544 encoder (since it might be a Source/Network, for example).
5546 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
5548 * tools/gst-inspect.c:
5549 (print_plugin_automatic_install_info_codecs):
5550 Don't require decoder/demuxer/depayloader elements or
5551 encoder/muxer/paylader elements to have 'Codec' as part of their
5552 factory class string when introspecting a plugin's capabilities.
5553 draft-klass.txt mentions that it might be removed in future, and
5554 flump3dec doesn't have it as part of its class string, so chances
5555 are others might also not have it.
5557 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
5579 Update translations from translation project
5581 2007-03-14 Stefan Kost <ensonic@users.sf.net>
5583 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5584 (gst_child_proxy_set_property):
5585 Invert precondition check to be alike the ones in the mimiced gobject
5588 2007-03-13 Stefan Kost <ensonic@users.sf.net>
5590 * docs/design/draft-tagreading.txt:
5591 * docs/random/ensonic/audiobaseclasses.txt:
5592 Do some Architect work.
5594 * gst/gstobject.c: (gst_object_set_name):
5598 Add docs that point from gst_pad_get_range to gst_pad_pull_range
5600 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
5602 * gst/gstsystemclock.c: (gst_system_clock_init),
5603 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5604 Defer starting the async system clock thread until the first async
5605 wait is scheduled. Fixes #414986.
5607 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
5609 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5610 (gst_single_queue_free):
5611 Fix small leak (free GstSingleQueue structure too, not only contents).
5613 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
5615 * gst/gstbin.c:(gst_bin_add):
5616 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5617 * win32/common/libgstbase.def:
5618 * win32/common/libgstreamer.def:
5619 Add new exported functions.
5621 2007-03-09 Wim Taymans <wim@fluendo.com>
5623 * docs/plugins/gstreamer-plugins-sections.txt:
5626 2007-03-09 Wim Taymans <wim@fluendo.com>
5628 * docs/gst/gstreamer-sections.txt:
5629 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5631 Add metadata copy functions. Fixes #393099.
5632 API: gst_buffer_copy_metadata()
5634 * gst/gstutils.c: (gst_buffer_stamp):
5635 * libs/gst/base/gstbasetransform.c:
5636 (gst_base_transform_prepare_output_buffer):
5637 Use new metadata copy functions.
5639 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
5641 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5642 (gst_identity_init), (gst_identity_check_perfect),
5643 (gst_identity_check_imperfect_timestamp),
5644 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5645 (gst_identity_set_property), (gst_identity_get_property):
5646 * plugins/elements/gstidentity.h:
5647 Separate out check-imperfect-timestamp and check-imperfect-offset.
5648 Put back check-perfect as it was to keep compatibility.
5650 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
5652 * gst/gstelement.c: (gst_element_dispose):
5653 There's no need to warn if VOID_PENDING is not NONE here, as
5654 long as the state is NULL it's ok, and that's checked immediately
5657 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5659 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5660 Fix check for perfect stream to ignore buffers with -1
5661 offsets/offset ends when checking data contiguity.
5663 2007-03-08 Wim Taymans <wim@fluendo.com>
5665 * tools/gst-launch.c: (event_loop):
5666 Print INFO messages.
5668 2007-03-08 Wim Taymans <wim@fluendo.com>
5670 * libs/gst/base/gstbasetransform.c:
5671 (gst_base_transform_sink_eventfunc),
5672 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5673 (gst_base_transform_activate):
5674 * libs/gst/base/gstbasetransform.h:
5675 Add support for dropping buffers with custom GstFlowReturn.
5676 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5677 buffers or dropped buffers.
5679 * docs/libs/gstreamer-libs-sections.txt:
5680 docs for new custom return code.
5682 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5683 Use drop support in base class to implement drop-probability.
5685 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
5687 * gst/gst.c: (load_plugin_func):
5688 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5689 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5690 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5691 Remove newlines at end of debug log strings.
5693 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5695 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5696 Only post bus message at max, once per buffer received.
5698 2007-03-07 Wim Taymans <wim@fluendo.com>
5700 * docs/design/Makefile.am:
5701 * docs/design/part-synchronisation.txt:
5702 Add doc about synchronisation
5704 * docs/design/draft-latency.txt:
5705 * docs/design/part-TODO.txt:
5706 * docs/design/part-clocks.txt:
5707 * docs/design/part-events.txt:
5708 * docs/design/part-gstbus.txt:
5709 * docs/design/part-gstpipeline.txt:
5710 * docs/design/part-live-source.txt:
5711 * docs/design/part-messages.txt:
5712 * docs/design/part-overview.txt:
5713 * docs/design/part-streams.txt:
5714 * docs/design/part-trickmodes.txt:
5715 Documentation updates.
5717 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5720 Update the doap file.
5722 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5724 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5725 Rename non-perfect to imperfect for Mike and for the sanctity of the
5727 Also make sure bus message gets emitted for data-incontiguities.
5729 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5731 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5732 (gst_identity_start):
5733 * plugins/elements/gstidentity.h:
5734 Emit bus message if check-perfect is true and we encounter a
5735 non-perfect stream between 2 consecutive buffers.
5738 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5743 === release 0.10.12 ===
5745 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5748 releasing 0.10.12, "Inevitable Demise"
5750 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
5753 Version 0.10.11.2 (0.10.12 pre-release)
5754 Bump libtool versioning.
5756 2007-03-01 Stefan Kost <ensonic@users.sf.net>
5758 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5759 Log flow-names and not numbers.
5761 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5764 Convert to new AG_GST style.
5766 2007-02-28 Wim Taymans <wim@fluendo.com>
5768 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5769 Don't unref query twice.
5771 2007-02-28 Wim Taymans <wim@fluendo.com>
5773 * gst/gstvalue.c: (gst_value_transform_object_string),
5774 (_gst_value_initialize):
5775 Implement GstObject -> string transform so we print object names
5776 when serializing GValues containing GstObjects.
5778 2007-02-28 Wim Taymans <wim@fluendo.com>
5780 * docs/gst/gstreamer-sections.txt:
5781 Add new stuff to docs.
5783 2007-02-28 Wim Taymans <wim@fluendo.com>
5785 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5786 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5787 (gst_base_sink_change_state):
5788 Improve latency query code.
5789 Don't leak latency events.
5791 * tests/check/gst/gstbin.c: (GST_START_TEST):
5794 2007-02-28 Wim Taymans <wim@fluendo.com>
5796 * gst/gstelement.c: (gst_element_message_full),
5797 (gst_element_get_state_func):
5799 Improve docs a little. Added Since: for new macro.
5801 * gst/gstobject.c: (gst_object_sink):
5802 * gst/gstpipeline.c: (gst_pipeline_change_state),
5803 (gst_pipeline_set_new_stream_time):
5804 * gst/gstpipeline.h:
5805 Improve debugging and docs.
5807 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5810 2007-02-28 Wim Taymans <wim@fluendo.com>
5812 * gst/gstelement.c: (gst_element_message_full),
5813 (gst_element_set_locked_state), (gst_element_get_state_func),
5814 (gst_element_change_state):
5815 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5816 Documentation updates.
5817 Small code cleanups.
5819 * gst/gstmessage.c: (gst_message_new_info),
5820 (gst_message_parse_info):
5822 API: gst_message_new_info()
5823 API: gst_message_parse_info()
5824 Add INFO message create and parse code.
5826 2007-02-28 Wim Taymans <wim@fluendo.com>
5828 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5829 (bin_query_latency_done):
5830 Also report the live parameter of a latency query.
5832 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5834 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5835 Copy the current generic/states example from -base and adapt so
5836 we can use the exact same code everywhere.
5837 Check a STATES_IGNORE_ELEMENTS env var which can be used
5838 to ignore certain element factories for this test, which is
5839 what is being done in -base
5840 * tests/check/Makefile.am:
5841 Mention this environment variable.
5843 2007-02-27 Wim Taymans <wim@fluendo.com>
5845 * docs/gst/gstreamer-sections.txt:
5846 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5847 (gst_bus_timed_pop), (gst_bus_pop):
5849 API: gst_bus_timed_pop()
5850 Implement gst_bus_timed_pop() to do a blocking timed wait for a
5851 message to arrive on the bus.
5853 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5855 Two unit tests for new _timed_pop() function.
5857 2007-02-23 Wim Taymans <wim@fluendo.com>
5859 * gst/gstpipeline.c: (gst_pipeline_change_state),
5860 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5861 Don't ref a NULL clock in _provide_clock_func().
5862 Don't allow an INVALID delay.
5863 Don't try to calculate base_time with an invalid start_time.
5864 Also distribute and notify a NULL clock when it was selected.
5866 * tools/gst-launch.c: (event_loop):
5867 Don't crash when a NULL clock was selected in the pipeline.
5869 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
5871 * docs/design/Makefile.am:
5872 * docs/design/draft-missing-plugins.txt:
5873 * docs/random/draft-missing-plugins.txt:
5874 Some small updates: update plugin system identifier prefix
5875 ('gstreamer.net' to 'gstreamer'), mention our new install
5876 API in libgstbaseutils rather than libgimme-codec, add
5877 reference to the online docs.
5879 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5881 * win32/common/config.h:
5882 Pretty sure Bill never made a powerpc version. Powerpc hackers,
5883 use moap cl ci to only check in what is mentioned in the ChangeLog.
5885 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5887 * docs/gst/gstreamer-sections.txt:
5889 Fix up documentation to link to the correct GstGError section.
5890 Add GST_ELEMENT_INFO macro since someone else added a Info message.
5892 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5894 * tools/gst-launch.c: (event_loop):
5895 Make sure that we actually show the important message part of a
5897 No need to check if the gerror is not NULL to free; first of all
5898 g_free accepts NULL; and second the default error handler would
5899 segfault if gerror was NULL.
5901 2007-02-21 Wim Taymans <wim@fluendo.com>
5903 * docs/gst/gstreamer-sections.txt:
5904 Removed docs as well.
5906 2007-02-21 Wim Taymans <wim@fluendo.com>
5908 * gst/gstmessage.c: (gst_message_parse_duration):
5910 Remove new messages for release.
5912 2007-02-20 Wim Taymans <wim@fluendo.com>
5914 * docs/design/part-gstghostpad.txt:
5915 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5916 (gst_ghost_pad_new_full):
5917 Make the ghostpad a parent of the internal pad again for better backward
5918 compatibility. Don't write code that relies on this however.
5920 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5921 (gst_pad_link_check_hierarchy):
5922 Require that parents should be GstElements in the hierarchy check.
5924 2007-02-20 Wim Taymans <wim@fluendo.com>
5926 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5927 (gst_bin_change_state_func), (bin_query_min_max_init),
5928 (bin_query_latency_fold), (bin_query_latency_done),
5931 Implement latency query.
5933 2007-02-20 Wim Taymans <wim@fluendo.com>
5935 * docs/design/part-gstghostpad.txt:
5936 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5937 (gst_ghost_pad_internal_do_activate_push),
5938 (gst_ghost_pad_internal_do_activate_pull),
5939 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5940 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5941 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5942 Do not set the internal pad as a parent anymore so we can avoid
5943 hierarchy linking errors when the ghostpad has no parent yet. This also
5944 fixes failed activation because of unlinked internal pads, which in
5945 turn fixes the impossible case where you have to activate a pad before
5946 you can add it to a running element.
5949 * gst/gstpad.c: (pre_activate), (post_activate),
5950 (gst_pad_set_active), (gst_pad_activate_pull),
5951 (gst_pad_activate_push), (gst_pad_check_pull_range):
5952 Add some more debug info.
5953 Mark activation mode in pre_activate so that we don't try to activate in
5954 endless loops. Fixes #385084.
5956 2007-02-19 Wim Taymans <wim@fluendo.com>
5958 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5959 (gst_base_transform_check_get_range):
5960 Implement a checkgetrange function instead of relying on the default
5961 core behaviour that assumes we can operate in pull mode if we have a
5962 getrange function. First step at fixing #385084.
5964 2007-02-15 Stefan Kost <ensonic@users.sf.net>
5966 * gst/gstchildproxy.h:
5967 * libs/gst/base/gstbasesink.h:
5968 * libs/gst/base/gstbasesrc.h:
5969 * libs/gst/base/gstbasetransform.h:
5970 More docs coverage and some ChangeLog surgery (add missing names)
5972 2007-02-15 Wim Taymans <wim@fluendo.com>
5974 * docs/design/part-TODO.txt:
5975 * docs/design/part-activation.txt:
5976 * docs/design/part-block.txt:
5977 * docs/design/part-buffering.txt:
5978 * docs/design/part-clocks.txt:
5979 * docs/design/part-element-source.txt:
5980 * docs/design/part-events.txt:
5981 * docs/design/part-gstbin.txt:
5982 * docs/design/part-gstbus.txt:
5983 * docs/design/part-gstpipeline.txt:
5984 * docs/design/part-live-source.txt:
5985 * docs/design/part-messages.txt:
5986 * docs/design/part-overview.txt:
5987 * docs/design/part-qos.txt:
5988 * docs/design/part-query.txt:
5989 * docs/design/part-states.txt:
5990 * docs/design/part-trickmodes.txt:
5991 Some doc updates. Start renaming from stream_time to running_time where
5992 it was used wrongly.
5994 2007-02-15 Wim Taymans <wim@fluendo.com>
5996 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5997 Answer LATENCY query.
5999 2007-02-15 Wim Taymans <wim@fluendo.com>
6001 * tests/check/gst/gstevent.c: (event_probe), (test_event),
6005 2007-02-15 Wim Taymans <wim@fluendo.com>
6007 * gst/gstpad.c: (gst_pad_get_internal_links_default),
6008 (gst_pad_dispatcher):
6009 Improve debugging of default pad dispatcher and query functions.
6011 2007-02-15 Wim Taymans <wim@fluendo.com>
6013 * docs/gst/gstreamer-sections.txt:
6014 Remove old unused method.
6016 2007-02-13 Wim Taymans <wim@fluendo.com>
6018 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6021 2007-02-13 Wim Taymans <wim@fluendo.com>
6023 * docs/design/part-seeking.txt:
6026 * gst/gstsegment.c: (gst_segment_set_seek):
6027 Revert old bogus change that should make seeking work again.
6029 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6031 * docs/random/ensonic/dynlink.txt:
6032 * docs/random/ensonic/interfaces.txt:
6033 * docs/random/ensonic/receipies.txt:
6034 Possible dynamic reconnection api, plus some type fixes the other two
6037 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
6039 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6040 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6041 Also check for an absolute path following file:// in the filesrc
6042 element. Remove redundant check and call g_path_is_absolute() on the
6045 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6047 * docs/design/draft-klass.txt:
6048 Add existing category analysis.
6051 Fix doc example, framerate is a fraction.
6053 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6056 * docs/gst/Makefile.am:
6057 * docs/gst/gstreamer-sections.txt:
6058 * docs/libs/Makefile.am:
6059 Erm, forgot a bunch of --extra-dir.
6061 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6064 * docs/gst/Makefile.am:
6065 * docs/libs/Makefile.am:
6066 * docs/plugins/Makefile.am:
6067 Add crossreferences to glib/gobject docs.
6069 2007-02-12 Wim Taymans <wim@fluendo.com>
6071 * docs/design/draft-latency.txt:
6074 * docs/libs/gstreamer-libs-sections.txt:
6075 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6076 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6077 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6078 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6079 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6080 (gst_base_sink_get_position), (gst_base_sink_query),
6081 (gst_base_sink_change_state):
6082 * libs/gst/base/gstbasesink.h:
6083 API: gst_base_sink_query_latency() to let subclasses query the upstream
6085 API: gst_base_sink_get_latency() to let subclasses query the configured
6086 latency in the sink.
6087 Implement query and set latency.
6089 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6090 don't continue preroll when we are flushing. Fixes #405284.
6092 * tests/check/pipelines/stress.c: (change_state_timeout),
6093 (quit_timeout), (GST_START_TEST), (stress_suite):
6096 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
6098 Patch by: René Stadler <mail at renestadler de>
6100 * docs/gst/gstreamer-sections.txt:
6101 * gst/gsttaglist.c: (_gst_tag_initialize):
6103 API: add GST_TAG_REFERENCE_LEVEL (#403597).
6105 2007-02-11 Stefan Kost <ensonic@users.sf.net>
6107 * docs/libs/Makefile.am:
6108 Fix path to core docs.
6110 * gst/gstbin.c: (gst_bin_get_by_interface),
6111 (gst_bin_iterate_all_by_interface):
6112 Refix docs by also renaming 'interface' to 'iface' in implementation.
6114 * docs/gst/gstreamer-sections.txt:
6116 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6117 * gst/gstchildproxy.h:
6118 * gst/gstelementfactory.c:
6119 * gst/gstpadtemplate.h:
6120 * libs/gst/controller/gstcontroller.c:
6121 (gst_controlled_property_new):
6124 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
6126 * gst/gstbin.h:(gst_bin_get_by_interface),
6127 (gst_bin_iterate_all_by_interface):
6128 Replace interface parameter name by iface as interface is
6129 a reserved keyword in Visual Studio for C++ projects so it removes
6130 a build error for application developpers using VS.
6131 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6132 Fix a bug on Windows in uri format check. Now the prefix checked
6133 is file:// and next we check if the path after file:// is absolute.
6134 * win32/common/libgstbase.def:
6135 * win32/common/libgstdataprotocol.def:
6136 * win32/common/libgstgstreamer.def:
6137 Add new exported functions.
6139 2007-02-09 Andy Wingo <wingo@pobox.com>
6141 * tests/check/pipelines/simple-launch-lines.c
6142 (simple_launch_lines_suite, test_tee): Disable tee test until I
6143 have time to fix it :-(
6145 * tests/check/Makefile.am (noinst_HEADERS):
6146 * tests/check/libs/libsabi.c:
6147 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6148 * tests/check/gst/gstabi.c:
6149 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6151 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6152 tests for push and pull tee behavior.
6154 * plugins/elements/gsttee.h:
6155 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6156 mark as deprecated as well as unimplemented. It was a crack idea.
6157 Add support for tee operating in pull mode, off by default.
6159 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6160 normal-case logs down to LOG, raise errors to WARNING.
6161 (gst_registry_xml_read_cache): Don't log before calling a function
6164 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6165 exit (registry finalize).
6166 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6167 DEBUG log when we emit signals that people don't even have the
6168 chance to connect to.
6169 (gst_registry_scan_path_level): Less logging in the normal case.
6171 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6173 Patch by: Michal Benes <michal dot benes at itonis dot tv>
6175 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6176 Correctly generate EOS for non-seekable files. We don't have a total
6177 length for them and would get an unexpected end of file if we only
6178 special-cased for regular files. (Fixes: #404569)
6180 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6182 * tests/check/elements/filesrc.c: (GST_START_TEST),
6184 Add unit test for the GstURIHandler interface in filesrc. This also
6185 tests the newly added file://localhost/foo/bar support.
6187 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
6189 * gst/gstelementfactory.h:
6190 The klass string is not a hierarchy. Add reference to the design doc
6191 for more information and common types.
6193 2007-02-02 Wim Taymans <wim@fluendo.com>
6195 * gst/gstquery.c: (gst_query_new_latency):
6196 Remove old structure field.
6198 2007-02-02 Stefan Kost <ensonic@users.sf.net>
6200 * tools/gst-launch.1.in:
6201 Give example for network streaming (#351998)
6203 2007-02-02 Wim Taymans <wim@fluendo.com>
6205 * docs/gst/gstreamer-sections.txt:
6206 Add docs for new methods.
6208 * gst/gstevent.c: (gst_event_new_latency),
6209 (gst_event_parse_latency):
6211 Add new LATENCY event to configure latency in a pipeline.
6212 API: gst_event_new_latency
6213 API: gst_event_parse_latency
6215 * gst/gstmessage.c: (gst_message_new_buffering),
6216 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6217 (gst_message_new_latency), (gst_message_parse_buffering),
6218 (gst_message_parse_lost_preroll):
6220 Added messages used in draft-latency.
6221 API: gst_message_new_lost_preroll
6222 API: gst_message_parse_lost_preroll
6223 API: gst_message_new_prerolled
6224 API: gst_message_new_latency
6226 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6227 (gst_query_parse_latency):
6229 Implemented new latency query as in design doc.
6230 API: gst_query_new_latency
6231 API: gst_query_set_latency
6232 API: gst_query_parse_latency
6234 2007-02-02 Wim Taymans <wim@fluendo.com>
6236 * docs/design/draft-latency.txt:
6237 Slight redesign to allow for dynamic latency adjustments.
6239 * docs/design/part-negotiation.txt:
6242 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
6244 reviewed by: Wim Taymans <wim@fluendo.com>
6246 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6247 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6248 Allow file://localhost/foo/bar URLs and correctly fail for every other
6249 hostname that one sets. This was gnomevfssrc is linked for those if
6250 installed as it can handle it (#403172)
6252 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6254 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6256 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6257 (unref_data), (gst_collect_pads_add_pad_full):
6258 * libs/gst/base/gstcollectpads.h:
6259 Don't put the previously added destroy notify in the GstCollectData
6260 struct as all it's padding is already used and we don't want to break
6261 ABI. Instead put in the pad's GObject data for now. This should be
6262 cleaned up for 0.11 (#402393).
6264 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6266 reviewed by: Wim Taymans <wim@fluendo.com>
6268 * docs/libs/gstreamer-libs-sections.txt:
6269 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6270 (unref_data), (gst_collect_pads_add_pad),
6271 (gst_collect_pads_add_pad_full):
6272 * libs/gst/base/gstcollectpads.h:
6273 API: Add function to specify a destroy notification for custom
6274 GstCollectData when adding new pads in GstCollectPads (#402393).
6276 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
6279 Update Swedish translation (#378255).
6281 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6283 * docs/design/draft-klass.txt:
6284 Fix the previous change, this is a list of categories and not a hierarchy.
6286 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6288 * docs/design/draft-klass.txt:
6289 Add info about how to get a list of used classes.
6291 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
6293 * plugins/elements/gsttypefindelement.c:
6294 (gst_type_find_element_chain_do_typefinding),
6295 (gst_type_find_element_change_state):
6296 Don't leak found caps in chain function (no idea why that never
6297 showed up as a leak anywhere).
6299 2007-01-30 Stefan Kost <ensonic@users.sf.net>
6302 Fix and expand GstPluginDesc API docs.
6304 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6307 * gst/gstelementfactory.c:
6308 * gst/gstpadtemplate.h:
6311 * libs/gst/controller/gstcontroller.c:
6312 (gst_controlled_property_new):
6313 * tests/examples/controller/audio-example.c:
6316 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6319 comment about refining the xml deps
6322 comments about moving away from jade for docs
6325 recommit the ifdefs to use the binary registry
6327 * gst/gstbin.c: (gst_bin_change_state_func):
6328 this break is obsolete
6330 * gst/gstelementfactory.h:
6331 better GST_ELEMENT_DETAILS docs, add comment about translation
6336 * gst/gstobject.c: (gst_signal_object_get_type):
6337 add G_UNLIKELY as usual
6339 * gst/gstpad.c: (gst_pad_event_default):
6340 add fall trhu comment
6342 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6343 (gst_registry_binary_initialize_magic),
6344 (gst_registry_binary_save_string),
6345 (gst_registry_binary_save_pad_template),
6346 (gst_registry_binary_save_feature),
6347 (gst_registry_binary_save_plugin),
6348 (gst_registry_binary_write_cache),
6349 (gst_registry_binary_check_magic),
6350 (gst_registry_binary_load_pad_template),
6351 (gst_registry_binary_load_feature),
6352 (gst_registry_binary_load_plugin),
6353 (gst_registry_binary_read_cache):
6354 comment typo and formatting
6356 * gst/gstutils.c: (gst_element_state_get_name),
6357 (gst_element_state_change_return_get_name):
6358 remove obsolete breaks
6360 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6361 add FIXME 0.11 and remove cpp comment
6363 2007-01-29 Edward Hervey <edward@fluendo.com>
6365 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6366 Fix print statement in an even more portable way.
6368 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
6370 * docs/gst/gstreamer-sections.txt:
6372 API: add GST_ROUND_DOWN_* macros (#401781).
6374 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
6376 * docs/gst/gstreamer.types.in:
6377 * gst/gstregistry.c: (gst_registry_class_init):
6378 Document registry signals and make gtk-doc pick them up (#401381).
6380 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6382 * docs/pwg/building-testapp.xml:
6383 Add some audioconverts and audioresample to the pipeline, and some
6384 more comments and error handling.
6386 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6388 * docs/manual/manual.xml:
6392 2007-01-26 Wim Taymans <wim@fluendo.com>
6394 * gst/gstcaps.c: (gst_static_caps_get):
6395 Init caps flags too.
6397 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
6399 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6401 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6402 If not using mmap'ed files try to seek to the end instead of the
6403 start to determine whether we can seek at all. This fixes the case
6404 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6405 seeks for everything afterwards fail. Fixes #400656
6407 2007-01-25 Wim Taymans <wim@fluendo.com>
6409 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6410 Add some refcount debugging.
6411 Make gst_static_caps_get threadsafe, which is needed when autoplugging
6412 in multiple streaming threads.
6414 2007-01-25 Wim Taymans <wim@fluendo.com>
6416 Patch by: David Schleef <ds at schleef dot org>
6418 * docs/libs/gstreamer-libs-sections.txt:
6419 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6420 * libs/gst/base/gstadapter.h:
6421 API: gst_adapter_copy() that can reduce the amount of memcpy when
6422 getting data from the adapter. Fixes #388201.
6424 2007-01-25 Edward Hervey <edward@fluendo.com>
6426 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6427 In print statements, "%x" is for guint. Fixes build on macosx.
6429 2007-01-24 Edward Hervey <edward@fluendo.com>
6431 * plugins/elements/gstmultiqueue.c:
6432 (gst_multi_queue_loop):
6434 (single_queue_overrun_cb), (single_queue_underrun_cb),
6435 (single_queue_check_full), (gst_single_queue_new):
6436 Implement single queue growth system.
6437 This uses the extra-size properties, and will grow single queues by
6438 that much if one goes full whereas there are others empty. This is
6439 called extra-mode in the code.
6440 When a single queue's levels go back below the initial max-size
6441 limits, it is no longer in extra-mode. This is to ensure we don't
6442 consume too much memory.
6445 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
6447 * gst/gst.c: (gst_init_get_option_group):
6448 Make warning about late g_thread_init() calls a bit more explicit,
6449 so that it's more obvious to application developers what they need
6450 to do if a user files a bug against their application.
6452 2007-01-22 Edward Hervey <edward@fluendo.com>
6454 * plugins/elements/gstmultiqueue.c:
6455 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6456 Remove previous hack of unsetting the flushing flag for the source pad
6457 instead of activating it. Instead, fix the source pad activate function
6458 so that it no longer depends on having a parent set or not.
6460 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
6462 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6464 * docs/manual/basics-bus.xml:
6465 Fix example code, gst_element_unref() doesn't exist any longer.
6467 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
6469 Patch by: Mark Nauwelaerts <manauw at skynet be>
6472 Fix two docs typoes (#399094).
6474 2007-01-19 Edward Hervey <edward@fluendo.com>
6476 * docs/faq/gst-uninstalled:
6477 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6478 depending on libgstbaseutils can work in uninstalled environment.
6480 2007-01-18 Stefan Kost <ensonic@users.sf.net>
6483 * gst/gsttagsetter.c:
6484 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6485 statement for new tag.
6487 2007-01-17 Edward Hervey <edward@fluendo.com>
6489 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6490 When dynamically creating single queues, activate sinkpad before adding
6492 We should be doing the same thing for the source pad, but we can't
6493 since it would call a method which needs the parent to be set in order
6494 to work propertly. Instead of activating the source pad, we just unset
6495 the flushing flag, which is the minimal requirement for adding a pad
6496 to an element in a state greater than READY.
6498 2007-01-17 Edward Hervey <edward@fluendo.com>
6500 * docs/faq/gst-uninstalled:
6501 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6504 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
6506 * tests/check/gst/gstabi.c:
6507 * tests/check/gst/struct_hppa.h:
6508 * tests/check/libs/libsabi.c:
6509 * tests/check/libs/struct_hppa.h:
6510 Add ABI structs for HPPA (see #393796).
6512 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
6514 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6515 Actually write ABI structs to the file specified in the GST_ABI
6516 environment variable, as the message we print claims we would.
6518 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6520 * tests/check/gst/gsttask.c:
6523 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6525 * gst/gsttaglist.c: (_gst_tag_initialize):
6526 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6527 previous two entries.
6529 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6531 * docs/gst/gstreamer-sections.txt:
6532 * gst/gsttaglist.c: (_gst_tag_initialize):
6534 Add tag support for beat-per-minute.
6536 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6538 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6539 (gst_registry_binary_initialize_magic),
6540 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6541 (gst_registry_binary_save_pad_template),
6542 (gst_registry_binary_save_feature),
6543 (gst_registry_binary_save_plugin),
6544 (gst_registry_binary_write_cache),
6545 (gst_registry_binary_check_magic),
6546 (gst_registry_binary_load_pad_template),
6547 (gst_registry_binary_load_feature),
6548 (gst_registry_binary_load_plugin),
6549 (gst_registry_binary_read_cache):
6550 * gst/gstregistrybinary.h:
6551 Use glib types, cleanup comments, impement interfaces and uri-types.
6553 2007-01-13 Andy Wingo <wingo@pobox.com>
6555 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6556 getrange() to return buffers with other caps, while we fix
6557 demuxers and typefind, or otherwise change part-negotiation.txt.
6559 2007-01-12 Andy Wingo <wingo@pobox.com>
6561 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6562 Factor start/stop into this private function instead of partially
6563 in activate functions and partially in the change_state function.
6564 Fixes setup before the element has changed from READY->PAUSED, as
6565 is the case in pull-mode pipelines.
6566 (gst_base_transform_sink_activate_push)
6567 (gst_base_transform_src_activate_pull): Refactor to use
6568 gst_base_transform_activate().
6569 (gst_base_transform_change_state): Removed, not needed any more.
6571 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6572 Truncate before fixating.
6574 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6575 Don't set_caps() if the result of fixating is ANY, as it's not
6576 supported, and not necessary in the case of a link with no
6577 template caps on either side. Fixes tests/check/libs/basesrc in
6578 some pull-mode tests.
6580 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6581 (gst_base_transform_init, gst_base_transform_sink_activate_push)
6582 (gst_base_transform_src_activate_pull):
6583 Track the activation mode.
6584 (gst_base_transform_setcaps): In pull mode, when activating the
6585 src pad, after activating the sink pad, activate the sink pad's
6586 peer, as discussed in part-negotiation.txt.
6588 * libs/gst/base/gstbasesrc.h:
6589 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6590 vmethod, as in basesink.
6592 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6594 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6595 mode, first proxy the setcaps to the peer pad.
6596 (gst_base_sink_pad_fixate): Add a fixate function that calls the
6598 (gst_base_sink_default_activate_pull): Rename from
6599 gst_base_sink_activate_pull.
6600 (gst_base_sink_negotiate_pull): New function, performs negotiation
6601 in pull mode before calling ::activate_pull().
6602 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6603 vmethod instead of the default implementation. I have no idea how
6604 this worked before. Negotiate before calling activate_pull.
6606 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6607 sink pads in pull mode. In addition to being correct, fixes
6608 filesrc ! decodebin ! identity ! fakesink.
6609 (gst_pad_get_range, gst_pad_pull_range): Don't call
6610 gst_pad_set_caps() if the caps changes; instead error out with
6611 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6613 2007-01-12 Andy Wingo <wingo@pobox.com>
6615 * docs/design/part-negotiation.txt: Update with more policy.
6617 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6619 * libs/gst/check/gstbufferstraw.h:
6620 * libs/gst/check/gstcheck.h:
6621 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6624 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6626 * tests/check/Makefile.am:
6627 * tests/check/gst/.cvsignore:
6628 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6629 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6630 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6631 (GST_START_TEST), (gst_tag_setter_suite):
6632 Add minimal unit test for beforementioned GstTagSetter bug.
6634 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6636 Patch by: René Stadler <mail at renestadler dot de>
6638 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6639 gst_tag_list_merge() returns a new list, so it's not the best idea
6640 to ingore its return value. Effectively meant that tags could only
6641 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6642 Also add function guard to require a non-NULL taglist as input (has
6643 always been so due to gst_tag_list_copy(), just making it explicit).
6645 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6647 * docs/random/draft-missing-plugins.txt:
6648 Some additions: mention new API that is supposed to be used at the
6649 various stages; short blob about new gst-inspect introspection
6650 option; mention potential future problem with plugins that have
6651 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6653 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6655 * tools/gst-inspect.c:
6656 (print_plugin_automatic_install_info_codecs),
6657 (print_plugin_automatic_install_info_protocols),
6658 (print_plugin_automatic_install_info), (main):
6659 Add --print-plugin-auto-install-info option to gst-inspect, so we can
6660 introspect plugin files and get machine-parsable output that corresponds
6661 to the last bit of the missing-plugin installer string (small gotcha:
6662 doesn't take into account ranks).
6664 2007-01-11 Stefan Kost <ensonic@users.sf.net>
6667 * docs/gst/gstreamer-sections.txt:
6669 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6670 (gst_registry_lookup_locked):
6671 * gst/gstregistry.h:
6672 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6673 (gst_registry_binary_initialize_magic),
6674 (gst_registry_binary_save_string),
6675 (gst_registry_binary_save_pad_template),
6676 (gst_registry_binary_save_feature),
6677 (gst_registry_binary_save_plugin),
6678 (gst_registry_binary_write_cache),
6679 (gst_registry_binary_check_magic),
6680 (gst_registry_binary_load_pad_template),
6681 (gst_registry_binary_load_feature),
6682 (gst_registry_binary_load_plugin),
6683 (gst_registry_binary_read_cache):
6684 * gst/gstregistrybinary.h:
6685 * gst/gstregistryxml.c: (load_feature),
6686 (gst_registry_xml_read_cache):
6687 commit binary registry (disabled by default, see #359653)
6689 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6691 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6692 Fix 'make check' too.
6694 2007-01-10 Andy Wingo <wingo@pobox.com>
6696 * docs/design/part-negotiation.txt: Fix a typo, add a couple
6699 * docs/design/part-negotiation.txt: Update with, um, one way that
6700 pull-mode negotiation might work?
6703 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6704 that the pad must be a src pad; makes sense to call it the other
6705 way in pull mode, and the logic is symmetric anyway.
6707 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
6709 * plugins/elements/gstfilesink.c:
6710 Include <stdio.h> for fseeko().
6712 2007-01-10 Wim Taymans <wim@fluendo.com>
6716 Reserve LATENCY event.
6718 2007-01-09 Wim Taymans <wim@fluendo.com>
6720 * docs/design/draft-latency.txt:
6723 2007-01-09 Wim Taymans <wim@fluendo.com>
6725 * docs/design/draft-latency.txt:
6729 * gst/gststructure.c:
6733 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
6735 * tests/check/.cvsignore:
6736 Ignore test-registry.xml as well.
6738 2007-01-09 Wim Taymans <wim@fluendo.com>
6740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6741 unref data at the end when we are done with the pad.
6743 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6745 * docs/gst/gstreamer-sections.txt:
6746 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6747 (init_post), (gst_deinit), (gst_update_registry):
6749 API: add gst_update_registry() (#391296).
6751 * tests/check/Makefile.am:
6752 * tests/check/gst/gstregistry.c:
6753 * tests/check/gst/.cvsignore:
6754 Simple unit test for the above.
6756 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6758 * gst/gstregistry.c: (gst_registry_scan_path_level):
6759 Plugin extension on HP-UX is .sl, add that to the list of approved
6760 plugin extensions (see #393796).
6762 * tests/check/gst/gstpad.c: (GST_START_TEST):
6763 ulong => gulong. Fixes compilation with HP-UX compiler.
6765 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6766 Fix compilation if valgrind headers are not available.
6768 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
6770 * win32/common/libgstreamer.def:
6771 Add new exported function.
6772 * win32/vs6/libgstbase.dsp:
6773 Add gstdataqueue.c to the build.
6774 * win32/vs6/libgstcoreelements.dsp:
6775 Add gstmultiqueue.c to the build.
6777 2007-01-06 Andy Wingo <wingo@pobox.com>
6779 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6780 activate_pull(), providing for a way to specialize the process of
6781 spawning a thread to pull on the sink pad. There is a default
6784 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6785 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6786 (gst_base_sink_init): Renamed pad activation functions (inserting
6787 "_pad" in their names). Refactor to use the new activate_pull
6788 vmethod, as appropriate.
6789 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6790 default activate_pull function to start a task pulling from the
6791 sink pad, as before.
6793 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6794 on the pads if necessary, as in push()/chain(). Update docs.
6795 Shouldn't affect existing pull() usage as it is currently only
6796 being used on buffers without caps.
6798 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6800 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6802 Call g_thread_init() first thing in gst_init() / gst_check_init().
6803 When initialisation is done via gst_init_get_option_group() and
6804 GOption parsing, issue a warning if the GLib thread system has not
6805 been initialised yet by the time gst_init_get_option_group() is
6806 called, as it's quite likely other GLib functions such as
6807 g_option_context_new() have been called already then, and
6808 g_thread_init() must be called before any other GLib function. The
6809 application in question must be fixed in that case, since memory
6810 corruption might happen otherwise.
6811 We issue the warning because even if the GLib folks decide to work
6812 around the problem on their end in future, this is still an issue
6813 with all GLib versions >= 2.10.0, so we should warn until we depend
6814 on a GLib version we know to be safe.
6815 Update documentation as well.
6818 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6820 * tools/gst-inspect.c: (main):
6821 * tools/gst-launch.c: (main):
6822 * tools/gst-typefind.c: (main):
6823 * tools/gst-xmlinspect.c: (main):
6824 Call g_thread_init() really really early, before any other GLib
6825 function (see #342564 and recent discussion on gtk-devel-list).
6827 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6829 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
6831 * gst/gst_private.h:
6832 * gst/gstconfig.h.in:
6834 On win32, all the __declspec stuff for symbol exporting is
6835 apparently only needed with MSVC, but doesn't work with MingW.
6836 Fixes compilation with MingW and #391909.
6838 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6840 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6841 Change some GST_ERROR_OBJECT that aren't really errors to
6842 GST_WARNING_OBJECT in order to reduce terminal spam.
6844 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6846 * tests/check/Makefile.am:
6847 disable test again, as there seem to be still race problems
6849 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6851 * tests/check/Makefile.am:
6852 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6853 (GST_START_TEST), (queue_suite):
6854 enable queue test again, add tests for the leaky behaviour
6856 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
6859 * tests/examples/Makefile.am:
6860 Compile adapter test/example only if the required headers are
6861 available (fixes #391915).
6863 2007-01-01 David Schleef <ds@schleef.org>
6866 Restore the previous signal handler for SIGSEGV instead of
6867 setting to default, since we may have stolen it away from
6868 someone. (i.e., Mono)
6870 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6872 * docs/random/draft-missing-plugins.txt:
6873 Some small additions and clarifications.
6875 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6877 * gst/gstregistryxml.c: (gst_registry_save_escaped):
6878 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6879 since that can lead to random memory corruptions and crashes
6880 (may or may not be related to #383244, #386711, and #386711).
6882 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6884 * tests/check/.cvsignore:
6885 * tests/check/Makefile.am:
6886 sync .cvsignome and CLEANFILES
6888 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6890 * tests/check/Makefile.am:
6893 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6895 * docs/design/part-states.txt:
6896 two tiny additional comments
6898 * gst/gststructure.c:
6901 * tests/check/Makefile.am:
6902 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6904 disable test for now, unless it gets fixed
6906 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6908 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6910 fix race in underrun test
6912 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6914 * tests/check/elements/.cvsignore:
6917 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6919 try to narrow test failure
6921 2006-12-21 David Schleef <ds@schleef.org>
6923 * plugins/elements/gstfakesrc.c:
6924 Use g_random_int_range(), since it produces better random
6925 numbers in a range than almost-correct floating point code.
6927 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6929 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6930 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6931 (gst_check_teardown_sink_pad):
6932 do not automatically (de)activate pads
6934 * tests/check/Makefile.am:
6935 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6936 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6937 add new, yet simple tests for queue
6939 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6940 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6941 * tests/check/elements/filesrc.c: (cleanup_filesrc),
6943 * tests/check/elements/identity.c: (cleanup_identity):
6944 consistent pad (de)activation
6946 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
6948 Patch by: Sebastian Dröge <slomo ubuntu com>
6950 * libs/gst/base/gstcollectpads.c:
6951 Fix two doc typos (#387866).
6953 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6955 * docs/manual/advanced-dparams.xml:
6956 Fix typo (g_object_control_properties() doesn't exist).
6958 2006-12-19 Edward Hervey <edward@fluendo.com>
6960 * gst/gstsegment.c: (gst_segment_set_seek):
6961 Fine tune the cases where the segment start/stop values are really
6963 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6964 Add tests for the return values of gst_segment_set_seek().
6966 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6971 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6973 Fix incorrect documentation and flesh it out a bit more.
6974 Set default values for the max properties on the GParamSpec as well,
6975 so it shows up correctly in gst-inspect.
6977 2006-12-18 Stefan Kost <ensonic@users.sf.net>
6979 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6980 Correct docs of queue, add more detail and crosslink it more.
6982 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6984 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6985 Print additional debug info when the stream isn't perfectly
6986 timestamped; don't try to use invalid durations.
6988 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6990 * docs/design/Makefile.am:
6991 Dist new design docs.
6993 2006-12-16 Wim Taymans <wim@fluendo.com>
6995 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6997 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6998 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6999 (gst_collect_pads_stop), (gst_collect_pads_event),
7000 (gst_collect_pads_chain):
7001 * libs/gst/base/gstcollectpads.h:
7002 Add refcounting to the collectpads data so we can track when it's safe
7003 to free the data. Fixes #383382.
7005 2006-12-15 Wim Taymans <wim@fluendo.com>
7007 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7008 (gst_collect_pads_remove_pad):
7009 Automatically activate/deactivate pads when they are added to a
7010 started/stoped collectpads.
7012 2006-12-15 Wim Taymans <wim@fluendo.com>
7014 * gst/gstelement.c: (gst_element_add_pad):
7015 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7016 * gst/gstpad.c: (gst_pad_init):
7017 Set pads to FLUSHING when they are created. Check, warn and fix when a
7018 demuxer adds an inactive pad to itself when running. Fixes #339326.
7020 2006-12-15 Wim Taymans <wim@fluendo.com>
7022 * gst/gstelement.c: (gst_element_class_init),
7023 (gst_element_default_send_event), (gst_element_send_event),
7024 (gst_element_default_query), (gst_element_query):
7025 Expose default element send_event and query handling as vmethods that
7026 subclasses can chain up to.
7028 2006-12-15 Wim Taymans <wim@fluendo.com>
7030 * gst/gstelement.c: (gst_element_set_state_func):
7031 Small documentation fixes.
7033 2006-12-15 Wim Taymans <wim@fluendo.com>
7035 * docs/design/draft-latency.txt:
7036 Checked in draft for handling latency in pipelines.
7038 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
7042 * gstreamer.spec.in:
7045 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
7047 * gst/gst.c: (init_pre), (init_post):
7048 init_pre() and init_post() might be called via our GOptionGroup or
7049 from gst_init(), and we should skip both of them if we've already
7050 been initialised, otherwise we will init some things twice or add
7051 two default log functions.
7053 2006-12-13 Edward Hervey <edward@fluendo.com>
7055 * docs/manual/basics-bus.xml:
7056 No, gst_main_loop does not exist. Its g_main_loop.
7057 Discovered by somebody who abused the copy-paste technique of coding :)
7059 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
7061 * gst/gstghostpad.c:
7062 Log ghostpad debug stuff to the GST_PADS category as well rather
7063 than just to the default category.
7065 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
7068 * gst/gst.c: (init_pre):
7069 Add some basic system details such as OS and architecture
7070 to the debug output if possible, courtesy of uname().
7072 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
7074 * docs/gst/running.xml:
7075 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7076 environment variables.
7078 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7080 * tests/check/gst/gstbin.c: (GST_START_TEST):
7081 It is acceptable to have a refcount of 2 or 3 at this point in the
7082 test, because the pipeline might be just posting its state_change
7083 message. The next line then waits for that message to appear using
7084 bus_poll, so that should be fine too.
7086 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7088 * gst/gst.c: (ensure_current_registry_forking):
7089 Ignore EINTR when reading from the child registry pipe.
7090 Explicitly ignore the return value from close, since it makes no
7093 * gst/gstminiobject.c: (gst_mini_object_ref),
7094 (gst_mini_object_unref):
7095 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7097 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7098 When removing cached plugins, remove their features too, so they're
7099 not visible after they've disappeared.
7101 * gst/gstutils.c: (prepare_link_maybe_ghosting):
7102 In the unlikely case that we are linking pads with no parents, don't
7103 crash trying to get the non-existent parent bin.
7105 * gst/parse/grammar.y:
7106 Output debug in the PIPELINE category
7108 2005-03-08 Wim Taymans <wim@fluendo.com>
7110 Patch by: René Stadler <mail at renestadler dot de>
7112 * gst/gstclock.c: (gst_clock_new_periodic_id):
7113 Reject invalid clock times for interval of periodic ids.
7116 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7118 * gst/gstelementfactory.c: (gst_element_factory_create):
7119 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7120 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7121 * tools/gst-inspect.c: (print_element_info):
7122 Fix refcounting of gst_plugin_feature_load to match the docs.
7125 2006-12-07 Wim Taymans <wim@fluendo.com>
7127 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7128 (gst_base_sink_get_position):
7129 Improve debugging of events.
7131 2006-12-07 Wim Taymans <wim@fluendo.com>
7133 Patch by: René Stadler <mail at renestadler dot de>
7135 * gst/gstclock.c: (gst_clock_id_wait):
7136 Make period ids add the interval to the origial requested time instead
7137 of the possibly updated time which can be wrong when there are multiple
7138 waiters for the same id. Fixes #382592.
7140 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7141 (gst_system_clock_id_wait_jitter_unlocked),
7142 (gst_system_clock_id_wait_jitter):
7143 Fix restart in the async notify thread when an async entry is added to
7144 the front of the list. Fixes #381492.
7146 * tests/check/gst/gstsystemclock.c: (store_callback),
7147 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7148 Added test for multiple async waits.
7149 Added test for async wait order.
7151 2006-12-07 Wim Taymans <wim@fluendo.com>
7153 * gst/gstbin.c: (gst_bin_query):
7154 Add some more docs about the POSITION query.
7156 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7159 Bump version nano - back to CVS.
7161 === release 0.10.11 ===
7163 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
7166 releasing 0.10.11, "Love never runs on time"
7168 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
7170 * win32/common/libgstbase.def:
7171 * win32/common/libgstreamer.def:
7172 * win32/vs8/libgstbase.vcproj:
7173 * win32/vs8/libgstcoreelements.vcproj:
7174 * win32/vs8/libgstreamer.vcproj:
7175 Fix compilation on win32 under VS8
7176 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7177 Partially fixes #381175
7179 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7181 * gst/gstvalue.c: (gst_value_compare_fraction):
7182 If someone is foolish enough to compare 2 fractions with denominator =
7183 0, return UNORDERED rather than aborting.
7185 2006-11-28 Edward Hervey <edward@fluendo.com>
7187 * libs/gst/base/Makefile.am:
7188 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7189 (gst_data_queue_base_init), (gst_data_queue_class_init),
7190 (gst_data_queue_init), (gst_data_queue_new),
7191 (gst_data_queue_cleanup), (gst_data_queue_finalize),
7192 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7193 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7194 (gst_data_queue_is_empty), (gst_data_queue_is_full),
7195 (gst_data_queue_set_flushing), (gst_data_queue_push),
7196 (gst_data_queue_pop), (gst_data_queue_drop_head),
7197 (gst_data_queue_set_property), (gst_data_queue_get_property):
7198 * libs/gst/base/gstdataqueue.h:
7199 New GstDataQueue object for threadsafe queueing. Most useful for
7200 elements that need some queueing functionnality.
7201 * docs/libs/gstreamer-libs-docs.sgml:
7202 * docs/libs/gstreamer-libs-sections.txt:
7203 Insert documentation for GstDataQueue
7204 * plugins/elements/Makefile.am:
7205 * plugins/elements/gstelements.c:
7206 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7207 (gst_multi_queue_class_init), (gst_multi_queue_init),
7208 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7209 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7210 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7211 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7212 (gst_multi_queue_loop), (gst_multi_queue_chain),
7213 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7214 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7215 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7216 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7217 (wake_up_next_non_linked), (compute_next_non_linked),
7218 (single_queue_overrun_cb), (single_queue_underrun_cb),
7219 (single_queue_check_full), (gst_single_queue_new):
7220 * plugins/elements/gstmultiqueue.h:
7221 New multiqueue element, using GstDataQueue. Used for queuing multiple
7223 Closes #344639 and #347785
7225 2006-11-22 Stefan Kost <ensonic@users.sf.net>
7227 * docs/pwg/advanced-types.xml:
7228 add more missing type details
7230 * tools/gst-run.c: (main):
7231 remove unused variable
7233 2006-11-21 Stefan Kost <ensonic@users.sf.net>
7235 * docs/libs/Makefile.am:
7236 * docs/libs/gstreamer-libs.types:
7237 add types of base classes to enable gobject specific stuff in the docs
7239 * docs/random/ensonic/embedded.txt:
7240 more ideas about isolating platform specific things
7242 2006-11-20 Wim Taymans <wim@fluendo.com>
7244 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7246 * libs/gst/check/gstcheck.h:
7247 Fix compilation and running against 0.9.4. Fixes #377332.
7249 2006-11-20 Wim Taymans <wim@fluendo.com>
7251 * gst/gstsegment.c: (gst_segment_set_seek),
7252 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7253 (gst_segment_to_running_time):
7254 Fix boundary checking in to_running_time() and to_stream_time().
7257 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7258 stream and running time can now be calculated for the complete
7261 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
7263 * gst/gstpad.c: (gst_pad_push_event):
7264 Can't access event structure after giving away ownership of
7267 2006-11-15 Stefan Kost <ensonic@users.sf.net>
7269 * docs/random/ensonic/embedded.txt:
7270 * docs/random/ensonic/profiling.txt:
7271 * docs/random/ensonic/receipies.txt:
7274 2006-11-13 Wim Taymans <wim@fluendo.com>
7276 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7279 Fix documentation for gst_pad_dispatcher. Fixes #374475.
7281 2006-11-13 Wim Taymans <wim@fluendo.com>
7283 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7285 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7286 Store new length in segment duration so we don't keep on calling the
7287 potentially expensize get_size() call. Fixes #370865.
7289 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
7291 Patch by: Sergey Scobich <sergey.scobich at gmail com>
7293 * win32/common/libgstreamer.def:
7294 Add two missing symbols (#366492).
7296 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
7298 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7299 (gst_adapter_take_buffer):
7300 Fix format string to use all its arguments.
7301 Remove useless >= check on a guint
7303 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7305 * tests/examples/adapter/.cvsignore:
7306 Ignore build file as commanded by the build-bot
7308 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7310 * tests/examples/adapter/Makefile.am:
7311 * tests/examples/adapter/adapter_test.c: (run_test_take),
7312 (run_test_take_buffer), (run_tests), (main):
7314 Add new files from the previous commit
7316 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7320 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7321 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7322 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7323 * libs/gst/base/gstadapter.h:
7324 * tests/check/libs/adapter.c: (create_and_fill_adapter),
7325 (GST_START_TEST), (gst_adapter_suite):
7326 * tests/examples/Makefile.am:
7327 Do some optimisation work in GstAdapter to avoid copies in more cases.
7328 It could still do slightly better by merging buffers when
7329 gst_buffer_is_span_fast is true, but is already faster.
7331 Also, avoid traversing a single-linked list to append each incoming
7332 buffer inside the adapter.
7334 Add simple test app that times the adapter behaviour in different
7335 situations, and extend the unit test to check that bytes enter and
7336 exit the adapter in their original order.
7338 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
7340 * docs/random/draft-missing-plugins.txt:
7341 Update: use element message instead of adding a new message
7342 type to the core; don't provide GStreamer API to initiate the
7343 plugin download, just provide API to compose the strings needed
7344 and let an external libgimmestuff handle the rest.
7346 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
7348 * tools/gst-inspect.c: (print_element_properties_info):
7349 Print a string instead of 'unknown type' for GValueArray properties
7351 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
7353 * docs/random/draft-missing-plugins.txt:
7356 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7358 * tests/examples/typefind/typefind.c: (type_found), (main):
7359 Make typefind element example work again (#371894); add a
7362 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7364 * docs/random/draft-missing-plugins.txt:
7365 Commit initial draft about how to deal with missing plugins,
7366 needs work (API too).
7368 2006-11-07 Stefan Kost <ensonic@users.sf.net>
7370 * docs/pwg/advanced-types.xml:
7371 documents the new caps elements (see #363118)
7373 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7375 * gst/gstplugin.c: (gst_plugin_load_file):
7376 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7377 (gst_file_src_map_region), (gst_file_src_start):
7378 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7379 (gst_file_index_commit):
7380 Use g_strerror() instead of strerror() - we want UTF-8.
7382 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7384 Patch by: Peter Kjellerstedt <pkj at axis com>
7386 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7387 Another printf fix (#371493).
7389 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7391 * tests/check/gst/gsttag.c:
7392 relicence (okay with author=company)
7394 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7396 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7397 (gst_pad_push_event):
7398 Enhance debug and improve docs
7403 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7405 * docs/random/ensonic/distributed.txt:
7406 * docs/random/ensonic/profiling.txt:
7409 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7411 * docs/gst/gstreamer-sections.txt:
7412 add new API and fix the build
7414 * gst/gstbin.c: (gst_bin_recalc_state):
7415 * gst/gstelement.c: (gst_element_message_full),
7416 (gst_element_get_state_func), (gst_element_set_state_func):
7417 use new API and improve logging
7419 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7421 API: add function to get StateChangereturn names to improve logs
7423 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
7425 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7426 I'm considering shooting the next person to put strerror stuff
7427 in the translateable part of the message.
7429 2006-11-03 Wim Taymans <wim@fluendo.com>
7431 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7432 Get the type and printf conversion specifiers right.
7434 2006-11-03 Wim Taymans <wim@fluendo.com>
7436 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7438 * gst/gstpad.c: (gst_pad_init), (pre_activate),
7439 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7440 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7441 Some small cleanups. Improve debugging.
7443 Signal all waiting threads with a broadcast instead of just one.
7446 2006-11-03 Wim Taymans <wim@fluendo.com>
7448 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7449 (gst_fd_src_create):
7451 Only update fd when it's different from the old.
7453 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7455 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7456 Printf fixes for PPC/OSX, take two (#369366).
7458 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7460 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
7462 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7463 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7464 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7465 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7466 don't cast to long long for portability reasons, but use
7467 GLib's types instead.
7469 2006-10-30 Michael Smith <msmith@fluendo.com>
7471 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7472 Get the arguments to lseek() the right way around.
7475 2006-10-30 Wim Taymans <wim@fluendo.com>
7477 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7480 _declspec should be __declspec (two underscores, not one). Fixes 366572.
7482 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7484 Patch by: Kjartan Maraas <kmaraas at gnome org>
7486 * docs/design/part-MT-refcounting.txt:
7487 * docs/random/wtay/capsnego2-docs:
7490 Typo fixes (#366212).
7492 2006-10-28 Wim Taymans <wim@fluendo.com>
7494 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7497 * win32/common/libgstbase.def:
7498 * win32/common/libgstreamer.def:
7499 * win32/vs8/libgstbase.vcproj:
7500 * win32/vs8/libgstcontroller.vcproj:
7501 Add needed entries in .def files.
7503 Rearrange def files in vs8 solutions. Fixes #366286.
7505 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7507 * win32/common/gstconfig.h:
7508 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7509 hand-made win32 gstconfig.h. Fixes #366321.
7511 2006-10-27 Wim Taymans <wim@fluendo.com>
7513 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7514 (gst_ghost_pad_new_full):
7515 Make acceptcaps return TRUE when we don't have a target, just like
7518 2006-10-27 Wim Taymans <wim@fluendo.com>
7520 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7521 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7523 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
7525 * gst/gststructure.c: (gst_structure_id_set_value):
7526 If someone tries to set a non-UTF8 string field on a structure,
7527 don't just print a warning, but also ignore the request and do
7528 not change/add that field to the structure.
7530 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7533 2006-10-25 David Schleef <ds@schleef.org>
7536 g_hash_table_insert() needs a cast to a non-const pointer duh.
7538 2006-10-25 David Schleef <ds@schleef.org>
7542 Change name parameter of _gst_debug_register_funcptr to const
7543 to reflect the constness of its use in the function as well
7544 as to quiet a gcc warning.
7546 2006-10-25 Edward Hervey <edward@fluendo.com>
7548 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7549 Don't push the buffer if it's empty.
7552 2006-10-24 Wim Taymans <wim@fluendo.com>
7557 * libs/gst/base/gstbasetransform.c:
7558 (gst_base_transform_sink_eventfunc):
7559 Debug segment values *after* updating them as this is more
7562 2006-10-23 Wim Taymans <wim@fluendo.com>
7564 * docs/design/part-events.txt:
7567 * docs/design/part-block.txt:
7568 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7569 (gst_pad_push_event):
7570 Revert BLOCKING patch, it tries to be smart without really having a
7571 clear idea what or how. So, now we discard all FLUSHING events again on
7572 a blocking pad. Should fix gnonlin again.
7574 2006-10-23 Wim Taymans <wim@fluendo.com>
7576 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7578 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7579 (gst_base_src_start), (gst_base_src_activate_push):
7580 Make sure size is always initialized. Fixes #364388.
7582 2006-10-20 Stefan Kost <ensonic@users.sf.net>
7584 * docs/random/ensonic/distributed.txt:
7585 add some ideas about doing distributed processing
7587 * docs/random/ensonic/profiling.txt:
7588 get_rusage look promising
7590 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7592 * docs/manual/basics-helloworld.xml:
7593 Add a cast in example to fix compile warning
7595 2006-10-18 Wim Taymans <wim@fluendo.com>
7597 * gst/gstsegment.c: (gst_segment_set_last_stop),
7598 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7599 Relax arg checking again, -1 is allowed.
7601 2006-10-18 Wim Taymans <wim@fluendo.com>
7603 * gst/gstsegment.c: (gst_segment_set_last_stop),
7604 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7605 _set_last_stop() must be with a value != -1
7606 A _TYPE_SET to -1 means seek to 0.
7607 Calc last_stop correctly for negative rates.
7608 Make sure we work with positive durations when updating a segment.
7610 2006-10-18 Wim Taymans <wim@fluendo.com>
7612 * docs/design/part-live-source.txt:
7616 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
7619 Add an explicit cast to GstBuffer** to keep old code that added an
7620 explicit cast to GstMiniObject** for gst_mini_object_replace()
7621 compiling without warning.
7623 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7625 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7626 check for validity of dates
7628 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7630 * docs/gst/gstreamer-sections.txt:
7631 Forgot this one, makes gtk-doc shut up.
7633 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7635 Patch by: Peter Kjellerstedt <pkj at axis com>
7638 Don't define xmlNodePtr to gpointer if the core was built with
7639 --disable-loadsave and --disable-registry, this will break
7640 applications that want to use libxml2 but are buildling against a
7641 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7642 instead so we don't have to mess with the libxml2 namespace
7645 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7648 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7649 type-punned pointer warnings.
7651 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
7654 Add casts to the correct return type to state <=> state transition
7657 2006-10-16 Stefan Kost <ensonic@users.sf.net>
7659 * docs/design/part-live-source.txt:
7660 describe howto handle latency
7662 * docs/random/ensonic/profiling.txt:
7665 * tools/gst-plot-timeline.py:
7666 fix log parsing for solaris, remove unused function
7668 2006-10-16 Wim Taymans <wim@fluendo.com>
7670 * docs/design/part-trickmodes.txt:
7672 Update some docs regarding reverse playback.
7674 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
7676 Patch by: Marcus Granado <mrc dot gran at gmail com>
7678 * win32/vs8/grammar.vcproj:
7679 Error out with a warning if glib-genmarshal.exe is not in path,
7680 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7682 2006-10-13 Wim Taymans <wim@fluendo.com>
7684 * gst/gstsegment.c: (gst_segment_set_seek):
7685 When seeking to stop -1, set last_stop (current position) to the
7686 duration of the segment.
7688 2006-10-13 Wim Taymans <wim@fluendo.com>
7691 Clarify _NO_PREROLL a bit more.
7696 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7697 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7698 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7699 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7700 due to wrong locking order. Fixes #361769.
7701 Remove some redundant/misplaced checks in pad_block.
7703 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7704 For negative rates, count backwards from the duration.
7706 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
7708 * gst/gsterror.c: (_gst_library_errors_init):
7709 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7710 up with something better).
7712 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7714 * win32/vs6/libgstreamer.dsp:
7715 * win32/vs7/libgstreamer.vcproj:
7716 * win32/vs8/libgstreamer.vcproj:
7717 Don't reference glib-compat.c which is currently not used and not
7718 disted; add gstquark.c which was recently added. Fixes #361730.
7720 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7722 * win32/common/libgstbase.def:
7723 * win32/common/libgstcontroller.def:
7724 * win32/common/libgstreamer.def:
7725 Add gst_caps_merge() and a bunch of other recently-added functions.
7728 2006-10-11 Wim Taymans <wim@fluendo.com>
7730 * docs/plugins/gstreamer-plugins.args:
7731 * docs/plugins/inspect/plugin-coreelements.xml:
7732 * docs/plugins/inspect/plugin-coreindexers.xml:
7733 Update element args.
7735 * gst/gstsystemclock.c:
7736 Small comment update.
7738 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7739 (gst_tee_request_new_pad), (gst_tee_release_pad),
7740 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7741 (gst_tee_sink_activate_pull):
7742 * plugins/elements/gsttee.h:
7744 Add default property defines.
7745 Implement release pad function.
7746 Give properties better blubs etc.
7747 Activate pads before adding them to a running tee.
7748 Do simple buffer_alloc on the first requested pad.
7749 Post error when activation fails.
7751 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7753 * gst/gst.c: (ensure_current_registry_forking):
7754 Check return value of write() to make compiler happy.
7756 2006-10-11 Wim Taymans <wim@fluendo.com>
7758 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7760 * plugins/elements/gstqueue.c: (gst_queue_chain):
7761 Recheck queue filledness after signalling the overrun when we're about
7762 to leak downstream because we released the lock when emitting the signal
7763 and the queue could be empty again. Fixes #352345.
7765 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7767 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7768 Fix refcounting here too, just like we did for _new_valist() a few
7769 days ago (#357180) (thanks to René Stadler). Also remove all those
7770 'Since: 0.9' from the gtk-doc blobs.
7772 * tests/check/libs/controller.c: (controller_refcount_new_list),
7773 (gst_controller_suite):
7774 Unit test for the above.
7776 2006-10-10 Wim Taymans <wim@fluendo.com>
7778 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7780 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7781 (gst_pad_save_thyself):
7783 Write pad direction in XML output. Fixes #345496.
7785 2006-10-10 Wim Taymans <wim@fluendo.com>
7787 Patch by: René Stadler <mail at renestadler dot de>
7789 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7790 (gst_controller_new_list), (_gst_controller_dispose),
7791 (_gst_controller_finalize), (_gst_controller_class_init):
7792 Take ref to controlled object so that it cannot disappear.
7795 2006-10-10 Wim Taymans <wim@fluendo.com>
7797 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7798 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7799 (gst_check_teardown_sink_pad):
7800 Activate/deactivate pads in setup/teardown respectively.
7802 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7804 Patch by: Josep Torra Valles <josep@fluendo.com>
7807 Cast values when making gstenumtypes.h. This pacifies Forte
7808 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7811 2006-10-09 Wim Taymans <wim@fluendo.com>
7813 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7814 Rename some more @cur to @start to fix docs.
7816 * gst/gstsegment.c: (gst_segment_set_seek):
7818 time and start must always stay in sync as defined in design doc.
7820 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7821 Rename param to fix docs.
7823 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7824 Check that start and time are in sync.
7826 * tests/check/pipelines/parse-launch.c:
7827 (gst_parse_test_element_change_state):
7828 Activate pad before adding to the element.
7830 2006-10-09 Wim Taymans <wim@fluendo.com>
7832 * docs/design/part-qos.txt:
7837 Update seek event docs regarding negative rates.
7838 Rename @cur to @start.
7840 * gst/gstsegment.c: (gst_segment_set_seek):
7842 Update set_seek docs regarding negative rates.
7843 Correctly update last_stop to @stop when dealing with negative
7845 Rename @cur to @start.
7847 * tests/check/gst/gstpad.c: (GST_START_TEST):
7848 Activate pads before trying to use them.
7850 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7851 (gst_segment_suite):
7852 Add simple check for segments and negative rates.
7854 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
7856 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7858 * docs/gst/gstreamer-sections.txt:
7859 API: add gst_tag_list_is_empty() (#360467).
7861 * tests/check/gst/gsttag.c: (GST_START_TEST):
7864 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7867 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7868 a value that doesn't fit on enumeration.
7870 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7872 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7873 Remove local debugging system and use Gstreamer's instead.
7875 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7877 Patch by: Josep Torra Valles <josep@fluendo.com>
7879 * common/m4/gst-error.m4:
7880 Disable warning of statement not reached on Forte.
7882 Fix warning on Forte (value doesn't fit on enumeration).
7883 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7884 Fix warning on Forte (value doesn't fit on enumeration).
7885 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7886 DEBUG macro says it takes minimum of 2 args and so Forte
7887 complains about the use with just 1 arg.
7888 * plugins/elements/gstfdsink.c:
7889 * plugins/elements/gstfdsrc.c:
7890 * plugins/elements/gstfilesink.c:
7891 * plugins/elements/gstfilesrc.c:
7892 Use correct return type for the uri handler implementations.
7894 All these fix warnings in Forte. Fixes bug #360860.
7896 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
7899 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7900 format string, so don't use G_GNUC_PRINTF for those versions.
7902 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7904 * gst/gsttaglist.c: (gst_is_tag_list):
7906 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7908 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7909 Small test for the above.
7911 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7914 Less tabs, more spaces.
7916 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
7919 Those two function declarations do actually belong there, revert
7920 commit from yesterday that turned them intro macros.
7922 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7924 Patch by: Josep Torra Valles <josep@fluendo.com>
7926 * gst/gst.c: (gst_init_get_option_group):
7927 Fix empty declaration and type mismatch.
7928 * gst/gstbin.c: (gst_bin_change_state_func):
7930 * gst/gstelement.c: (gst_element_continue_state),
7931 (gst_element_set_state_func), (gst_element_change_state),
7932 (gst_element_change_state_func):
7933 Fix type mismatches.
7934 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7935 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7936 Cast as appropriate.
7937 * gst/gstobject.c: (gst_class_signal_connect):
7938 Cast as appropriate. The function pointer parameter really
7939 has the wrong type but would break API if we change it.
7941 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7942 order of including string.h.
7943 * gst/gstutils.c: (gst_element_state_get_name):
7944 Remove unreachable line.
7945 * gst/gstxml.c: (gst_xml_parse_doc):
7947 All these caught by Forte.
7949 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7951 Patch by: Josep Torra Valles <josep@fluendo.com>
7953 * common/m4/gst-error.m4:
7955 We need to disable warnings on Forte for empty declarations
7956 due to gst-indent adding ;s to lines that just use macros
7957 where the macro actually doesn't need a ; at end to end
7960 2006-10-06 Wim Taymans <wim@fluendo.com>
7962 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7963 (gst_file_sink_close_file), (gst_file_sink_event),
7964 (gst_file_sink_render):
7965 Add some FIXME for the NEWSEGMENT handling.
7967 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7969 * gst/parse/grammar.y:
7970 Remove static function gst_parse_element_lock as all it does
7971 is return. Looks like cruft from 0.8.
7973 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7975 Patch by: Josep Torra Valles <josep@fluendo.com>
7977 * common/m4/gst-error.m4:
7979 * libs/gst/net/Makefile.am:
7980 Fix a compilation issue with Forte on Solaris. inet_aton is in
7983 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7985 * gst/gstpad.c: (pre_activate):
7986 * gst/gstregistry.c: (gst_registry_scan_path_level):
7987 * gst/gstregistryxml.c: (load_plugin):
7988 * libs/gst/controller/gstcontroller.c:
7989 (gst_controlled_property_set_interpolation_mode):
7990 * libs/gst/dataprotocol/dataprotocol.c:
7991 (gst_dp_packet_from_event_1_0):
7992 * libs/gst/net/gstnetclientclock.c:
7993 (gst_net_client_clock_observe_times):
7994 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7997 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8000 * docs/gst/gstreamer-sections.txt:
8001 * gst/gstconfig.h.in:
8004 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8005 whether we can use G_GNUC_PRINTF in other header files and at
8006 least check the printf format/arguments of debug messages and
8007 GST_ELEMENT_ERROR messages when the printf extension is not
8009 Replace more tabs with spaces in gstinfo.h and remove two spurious
8010 function declarations in GST_DISABLE_DEBUG part with macros.
8012 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
8014 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8015 More docs for the sync-message signal (mention that it is not
8016 emitted by default); log message structures of messages posted on
8019 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
8021 * gst/gst.c: (ensure_current_registry_forking):
8022 Use a pipe pair to receive status results from the forked child, and
8023 ignore the result from waitpid. Fixes #355499
8025 2006-10-02 Wim Taymans <wim@fluendo.com>
8027 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8028 (gst_ghost_pad_suite):
8031 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8034 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8036 2006-10-02 Edward Hervey <edward@fluendo.com>
8038 * docs/design/part-block.txt:
8039 Further explain the use of flushing on blocked pads.
8040 * docs/gst/gstreamer-sections.txt:
8041 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8042 (gst_pad_push_event):
8044 Added new GstPadFlag : GST_PAD_BLOCKING.
8045 Adds the notion of pads really blocking, which enables to properly
8046 handle FLUSH_START/FLUSH_STOP events on blocked pads.
8048 API: gst_pad_is_blocking()
8049 API: GST_PAD_IS_BLOCKING() macro
8050 API: GST_PAD_BLOCKING GstPadFlag
8052 2006-10-02 Wim Taymans <wim@fluendo.com>
8054 Patch by: mrcgran <mrc.gran at gmail dot com>
8056 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8057 Filter the proxied caps against the padtemplate if we have one.
8059 * gst/gstquery.c: (gst_query_new_segment):
8060 Add include for gstinfo.h so that compilation with
8061 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8063 2006-10-02 Wim Taymans <wim@fluendo.com>
8065 Patch by: Alessandro Decina <alessandro at nnva org>
8067 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8068 (gst_file_sink_set_location), (gst_file_sink_open_file),
8069 (gst_file_sink_close_file), (gst_file_sink_event),
8070 (gst_file_sink_render):
8071 Set file to NULL when closing filesink so that we can set a new filename
8072 in READY. Fixes #358613.
8074 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8076 Patch by: Alessandro Decina <alessandro at nnva org>
8078 * gst/gstevent.c: (_gst_event_copy):
8079 Fix gst_mini_object_make_writable() and gst_event_copy() for events
8080 with event structures by setting the parent refcount address of the
8081 copied structure to the address of the refcount member of the newly
8082 copied event rather than the address of the refcount member of the
8083 original event. Fixes #358737.
8085 * tests/check/gst/gstevent.c: (GST_START_TEST):
8086 Unit test for the above.
8088 2006-09-29 Stefan Kost <ensonic@users.sf.net>
8090 * docs/design/Makefile.am:
8091 Dist some more files.
8093 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8095 * tests/check/libs/controller.c: (GST_START_TEST),
8096 (gst_controller_suite):
8097 Add test for the previous fix; add some more tests
8098 for correct refcounting behaviour; fix a few leaks
8099 in test cases; call gst_controller_init() at start
8102 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8104 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8105 (gst_controller_set_from_list):
8106 Don't g_return_val_if_fail() on timed values with invalid timestamps
8107 inside a critical section without unlocking the mutex. Spotted by
8108 René Stadler. (#357617)
8109 Also, fix up refcounting properly: when returning an existing
8110 controller, we should increase the reference only once and not
8111 once per property and when trying to control a property again
8112 we should also increase the refcount.
8114 2006-09-29 Wim Taymans <wim@fluendo.com>
8116 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8117 * libs/gst/net/gstnettimeprovider.c:
8118 (gst_net_time_provider_thread):
8119 Stop reading commands when EOF as well.
8121 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8122 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8123 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8124 Unify description of the dump property.
8126 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8128 * tests/examples/manual/.cvsignore:
8129 OK, so it's actually cvsignore that needs changing. Stop laughing.
8131 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8133 * tests/examples/manual/Makefile.am:
8134 Gah, declare vars *before* using them
8136 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8138 * gst/gst.c: (init_pre), (scan_and_update_registry),
8139 (ensure_current_registry_nonforking),
8140 (ensure_current_registry_forking), (ensure_current_registry),
8141 (init_post), (gst_debug_help), (gst_deinit):
8142 * gst/gst_private.h:
8143 * gst/gstregistry.c: (gst_registry_finalize),
8144 (gst_registry_remove_features_for_plugin_unlocked),
8145 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8146 (gst_registry_scan_path),
8147 (_priv_gst_registry_remove_cache_plugins),
8148 (_priv_gst_registry_cleanup):
8149 * gst/gstregistry.h:
8150 Re-commit the registry changes, along with an extra fix:
8151 When a cached plugin is encountered at a different file path,
8152 update the stored path in the registry cache so that the parent
8153 process knows where it actually is now when it re-reads the registry
8154 cache. Fixes the thing that broke distcheck with the previous commit.
8156 * tests/check/Makefile.am:
8157 Clean up files named 'core' too when running make clean.
8159 * tests/examples/manual/Makefile.am:
8160 Set up a registry path for running these tests, and clean it properly
8163 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8166 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8167 want gmodule-no-export-2.0.pc instead so that we don't drag in
8168 --export-dynamic on every project that links to GStreamer.
8170 Also, make our export regex only match the start of symbols, rather
8171 than any symbol that contains '_gst' somewhere.
8173 * libs/gst/check/Makefile.am:
8174 The libgstcheck we build does however need export-dynamic, as it
8175 produces some symbols that don't match our _gst... style regex.
8178 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8180 * gst/gst.c: (init_pre), (scan_and_update_registry),
8181 (ensure_current_registry_nonforking),
8182 (ensure_current_registry_forking), (ensure_current_registry),
8183 (init_post), (gst_debug_help), (gst_deinit):
8184 * gst/gst_private.h:
8185 * gst/gstregistry.c: (gst_registry_finalize),
8186 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8187 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8188 (_gst_registry_cleanup):
8189 * gst/gstregistry.h:
8190 Revert previous change until I figure out why it breaks distcheck.
8192 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8194 * gst/gst.c: (init_pre), (scan_and_update_registry),
8195 (ensure_current_registry_nonforking),
8196 (ensure_current_registry_forking), (ensure_current_registry),
8197 (init_post), (gst_debug_help), (gst_deinit):
8199 Make init_pre and init_post take the full complement of GOptionFunc
8200 args so they can return useful GErrors. Make the registry updating
8203 Call _priv_gst_registry_remove_cache_plugins after scanning files to
8204 ensure that the registry we're about to write out doesn't contain
8205 stale information about old-deleted plugin files.
8207 Make _priv_gst_registry_remove_cache_plugins return a boolean so
8208 that deletion of plugin files is considered a registry change.
8210 * gst/gst_private.h:
8211 * gst/gstregistry.c: (gst_registry_finalize),
8212 (gst_registry_remove_features_for_plugin_unlocked),
8213 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8214 (gst_registry_scan_path),
8215 (_priv_gst_registry_remove_cache_plugins),
8216 (_priv_gst_registry_cleanup):
8217 * gst/gstregistry.h:
8218 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8219 by adding _priv prefix, so that they won't appear in the global
8220 symbol table. They still do atm though because of #318031. Move the
8221 prototypes to gst_private.h
8223 When removing a plugin, remove all features for that plugin too.
8226 2006-09-27 Wim Taymans <wim@fluendo.com>
8228 * docs/random/moving-plugins:
8229 Make it clear that the "compiled-in descriptions" really mean
8230 the element details.
8232 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8233 (gst_base_sink_wait_preroll):
8236 * docs/libs/gstreamer-libs-sections.txt:
8237 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8238 (gst_base_src_get_range), (gst_base_src_activate_push):
8239 * libs/gst/base/gstbasesrc.h:
8240 Added function to block while waiting for PLAYING, this function
8241 is used by live sources that block on the clock.
8242 API: gst_base_src_wait_playing()
8244 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8246 Patch by: Peter Kjellerstedt <pkj at axis com>
8249 gst-element-check.m4 is generated and should therefore be
8250 copied from the build dir rather than the source dir (#357593).
8251 'make distcheck' hasn't noticed this because we were disting
8252 the file as well, so stop doing that.
8254 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8256 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8257 Add some tests for gst_caps_intersect().
8259 * tools/gst-launch.c: (event_loop):
8260 Print all buffering percentages we get, even the 100% one.
8262 2006-09-26 Wim Taymans <wim@fluendo.com>
8264 * tools/gst-inspect.c: (print_element_properties_info),
8265 (print_signal_info):
8266 Fix printing of flags to match the look of enums.
8268 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8270 * gst/gstelementfactory.c:
8271 Fix typo in docs blurb.
8273 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8275 * gst/gsturi.c: (search_by_entry):
8276 Don't assert/crash here if a uri handler doesn't return any
8277 supported protocols. The list of protocols could be generated
8278 dynamically at runtime or at plugin registration, and an error
8279 in the underlying library shouldn't be fatal (#353301).
8281 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8284 Fix warning if HAVE_PRINTF_EXTENSION is undefined
8285 (spotted by Peter Kjellerstedt).
8287 2006-09-23 Wim Taymans <wim@fluendo.com>
8289 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8291 * libs/gst/base/gstbasesrc.c:
8292 (gst_base_src_default_check_get_range), (gst_base_src_start),
8293 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8294 (gst_base_src_change_state):
8295 Match _start/_stop calls in the activate functions. Remove redundant
8296 _stop call from the state change function. Fixes #356910.
8297 Turn failure DEBUG into ERROR.
8299 2006-09-22 Wim Taymans <wim@fluendo.com>
8301 * docs/design/part-buffering.txt:
8302 * gst/gstmessage.c: (gst_message_new_buffering),
8303 (gst_message_parse_buffering):
8304 Update docs about buffering.
8306 * docs/design/part-trickmodes.txt:
8309 2006-09-22 Stefan Kost <ensonic@users.sf.net>
8311 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8312 (gst_controller_new_list):
8313 Ref instances when returning them again (fixes #357180)
8315 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
8317 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8318 Don't forget to release proxy lock when there's an error.
8320 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
8323 Add extra initialisers for Caps things, to fix some plugin warnings
8326 2006-09-18 Wim Taymans <wim@fluendo.com>
8328 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8329 Also set template on the internal pad so that a getcaps from the
8330 target pad returns the template caps.
8332 2006-09-18 Wim Taymans <wim@fluendo.com>
8334 * gst/gstelement.c: (gst_element_post_message),
8335 (gst_element_dispose):
8336 Use _DEBUG_OBJECT some more.
8338 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8341 * tools/gst-launch.c: (main):
8342 If the toplevel element is not a GstPipeline, it must be put in a
8343 pipeline so that a bus and clock is selected.
8345 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8347 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8348 JITTER, RATE, and LATENCY query should be handled by the
8349 default case and not by the CONVERT query code.
8351 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8353 * gst/gstformat.c: (gst_format_register):
8354 Fix locking order (must take lock before using n_values).
8356 * gst/gstvalue.c: (gst_value_serialize_enum),
8357 (gst_value_deserialize_enum_iter_cmp),
8358 (gst_value_deserialize_enum):
8359 Fix serialisation/deserialisation of custom registered GstFormats.
8361 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8362 Unit test for custom format serialisation/deserialisation.
8364 2006-09-17 Stefan Kost <ensonic@users.sf.net>
8366 * docs/pwg/building-boiler.xml:
8367 * plugins/elements/gstcapsfilter.c:
8368 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8371 2006-09-16 Edward Hervey <edward@fluendo.com>
8373 * libs/gst/base/gstbasetransform.c:
8374 (gst_base_transform_buffer_alloc):
8375 Check if requested caps are the same as the sinks caps IF
8376 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8378 This fixes the renegotiation issues stated in #352827.
8380 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8383 * docs/manual/advanced-autoplugging.xml:
8384 * tests/examples/Makefile.am:
8385 * tests/examples/manual/.cvsignore:
8386 * tests/examples/manual/Makefile.am:
8387 * tests/examples/manual/extract.pl:
8388 Extract the manual examples again like we used to do.
8391 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8393 * win32/common/config.h:
8396 2006-09-16 Stefan Kost <ensonic@users.sf.net>
8399 Documents how to receive errors.
8401 2006-09-15 Wim Taymans <wim@fluendo.com>
8403 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8404 (event_loop), (main):
8405 Added some comments here and there.
8406 Post an application message when an interrupt is caught instead of doing
8407 an uncontrolled state change.
8408 Clean up the event loop.
8409 Handle buffering messages, pause/resume the pipeline.
8410 Make shutdown because of an interrupt more reliable.
8412 2006-09-15 Wim Taymans <wim@fluendo.com>
8414 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8415 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8416 (gst_base_sink_preroll_object):
8417 Make sure that our internal state is correct when we commit our state
8418 asynchronously. This solves a race where a state change to PLAYING
8419 could cause the sink to remain blocked in preroll in some situations.
8421 2006-09-15 Wim Taymans <wim@fluendo.com>
8423 * tools/gst-inspect.c: (print_element_properties_info),
8424 (print_signal_info):
8425 List flags as hex so it's easier to deal with.
8427 2006-09-15 Wim Taymans <wim@fluendo.com>
8429 * docs/libs/gstreamer-libs-sections.txt:
8430 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8431 (gst_base_sink_do_sync):
8432 * libs/gst/base/gstbasesink.h:
8433 Expose logic to wait for preroll so that subclasses such as audiosink
8434 can also use this method.
8435 API: gst_base_sink_wait_preroll()
8437 2006-09-15 Wim Taymans <wim@fluendo.com>
8439 * gst/gstobject.c: (gst_object_set_parent):
8440 * gst/gstpipeline.c: (do_pipeline_seek):
8441 Small cleanups in docs and code.
8443 * gst/gstsegment.c: (gst_segment_clip):
8444 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8445 if stop == start and start is in the segment, no clipping should be
8446 done. Also add a test for this.
8448 2006-09-15 Wim Taymans <wim@fluendo.com>
8450 * docs/design/part-buffering.txt:
8451 * docs/gst/gstreamer-sections.txt:
8452 * gst/gstmessage.c: (gst_message_new_buffering),
8453 (gst_message_parse_buffering):
8455 Added methods to create and parse BUFFERING messages.
8456 Added preliminary docs about buffering.
8457 API: gst_message_new_buffering
8458 API: gst_message_parse_buffering
8460 2006-09-06 Wim Taymans <wim@fluendo.com>
8463 Update documentation.
8465 * gst/gstelement.c: (gst_element_class_init),
8466 (gst_element_release_request_pad), (gst_element_set_clock),
8467 (gst_element_get_index), (gst_element_add_pad),
8468 (gst_element_remove_pad), (gst_element_get_random_pad),
8469 (gst_element_send_event), (gst_element_get_query_types),
8470 (gst_element_query), (gst_element_post_message),
8471 (gst_element_message_full), (gst_element_continue_state),
8472 (gst_element_lost_state), (gst_element_save_thyself),
8473 (gst_element_restore_thyself):
8474 Documentation updates.
8475 Rename last bit of the new-pad -> pad-added signal rename.
8476 Fix the case where an element query would only work if the source
8478 Avoid some useless type checking in message handling.
8483 Documentation updates.
8485 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8487 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8488 add an INFO line for when we actually update the fd
8490 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8495 === release 0.10.10 ===
8497 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8500 releasing 0.10.10, "Pais"
8502 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
8504 * docs/manual/advanced-position.xml:
8505 Fix typo in sample code.
8507 2006-09-05 Wim Taymans <wim@fluendo.com>
8509 * libs/gst/net/gstnetclientclock.c: (inet_aton),
8510 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8511 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8512 * libs/gst/net/gstnetclientclock.h:
8513 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8514 * libs/gst/net/gstnettimepacket.h:
8515 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8516 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8517 (gst_net_time_provider_thread), (gst_net_time_provider_new):
8518 * libs/gst/net/gstnettimeprovider.h:
8519 Make stuff compile on windows. Fixes #345295.
8521 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8523 * gst/gst.c: (ensure_current_registry_forking):
8524 Print better details when child was terminated by signal.
8526 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8528 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8529 Print a warning rather than g_assert() if a plugin feature
8530 is a URI handler but returns no protocols (#353976).
8532 2006-09-02 Stefan Kost <ensonic@users.sf.net>
8534 * docs/random/moving-plugins:
8537 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
8539 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8540 Fix locking order, handle NULL function values properly.
8545 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8546 Initialise variable before using it and fix debug statement to
8547 print the address of the function rather than the address of the
8548 variable on the stack holding the address of the function.
8550 2006-09-01 Wim Taymans <wim@fluendo.com>
8552 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8553 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8554 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8555 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8556 (gst_ghost_pad_parent_unset),
8557 (gst_ghost_pad_internal_do_activate_push),
8558 (gst_ghost_pad_internal_do_activate_pull),
8559 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8560 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8561 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8562 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8563 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8564 (gst_ghost_pad_new_no_target_from_template),
8565 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8567 Avoid needless typechecking in macros.
8568 Since the internal pad is always present and never changes, there is
8569 no need to locking or ref when retrieving it.
8570 Improve debugging a bit.
8571 Handle link errors when setting the target. Fixes #341029.
8573 2006-09-01 Wim Taymans <wim@fluendo.com>
8575 * docs/libs/gstreamer-libs-sections.txt:
8576 * docs/plugins/gstreamer-plugins-sections.txt:
8579 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8580 (gst_collect_pads_event):
8581 * libs/gst/base/gstcollectpads.h:
8582 Documentation updates.
8583 Free queued buffer when removing a pad.
8585 2006-08-31 Michael Smith <msmith@fluendo.com>
8587 * gst/gstutils.c: (gst_element_link_pads),
8588 (gst_element_link_pads_filtered):
8589 Ensure that we set a capsfilter to NULL if we failed to link it
8590 when doing filtered linking, to avoid criticals.
8592 No need to check for unreffing srcpad, which is explicly NULLed
8593 above (a trivial code cleanup).
8595 2006-08-31 Wim Taymans <wim@fluendo.com>
8597 * docs/design/part-gstghostpad.txt:
8598 Update ascii art in documentation.
8600 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8601 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8602 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8603 (gst_ghost_pad_internal_do_activate_push),
8604 (gst_ghost_pad_internal_do_activate_pull),
8605 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8606 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8607 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8608 (gst_ghost_pad_set_target):
8609 Small cleanups and leak fixes.
8610 Remove some checks now that the internal pad is never NULL.
8611 Fix the case where linking pads without a target would create nasty
8612 criticals. Fixes #341029.
8613 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8614 value of _set_target().
8616 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8617 (gst_ghost_pad_suite):
8618 Some more tests for creating and linking untargeted ghostpads.
8620 2006-08-31 Edward Hervey <edward@fluendo.com>
8622 * docs/gst/gstreamer-sections.txt:
8623 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8624 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8625 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8626 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8627 (gst_ghost_pad_new_from_template),
8628 (gst_ghost_pad_new_no_target_from_template):
8629 * gst/gstghostpad.h:
8630 Refactored *_new() functions.
8631 Templates are now used as a g_object_new() parameter.
8632 Use template in _do_getcaps() if we don't have a target.
8633 Small documentation cleanups.
8634 Added two new constructors:
8635 gst_ghost_pad_new_from_template()
8636 gst_ghost_pad_new_no_target_from_template()
8637 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8638 (gst_ghost_pad_suite):
8639 Added tests for new ghostpad instanciation functions.
8641 API additions: gst_ghost_pad_new_from_template,
8642 gst_ghost_pad_new_no_target_from_template
8644 2006-08-30 Stefan Kost <ensonic@users.sf.net>
8646 * docs/random/ensonic/profiling.txt:
8647 Ideas about qos profiling.
8649 2006-08-29 Wim Taymans <wim@fluendo.com>
8651 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8655 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
8658 Improve and detypofy docs.
8660 * tests/check/Makefile.am:
8661 * tests/check/gst/.cvsignore:
8662 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8663 Add a basic test suite for GstXML.
8665 2006-08-29 Wim Taymans <wim@fluendo.com>
8667 * gst/gstelement.c: (activate_pads), (clear_caps),
8668 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8669 Clear the pad caps when the element shut down all of the pads and
8670 is not streaming data that could modify the caps.
8673 2006-08-28 Michael Smith <msmith@fluendo.com>
8675 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8676 Revert previous change; I misunderstood single-segment mode.
8678 2006-08-28 Michael Smith <msmith@fluendo.com>
8680 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8681 Unset DISCONT on buffers when using single-segment mode.
8683 2006-08-28 Wim Taymans <wim@fluendo.com>
8685 * gst/gstcaps.c: (gst_caps_merge_structure):
8687 Fix docs and indentation again.
8689 * tests/check/gst/gstquery.c: (GST_START_TEST):
8690 Fix leak in tests and add some more tests.
8692 2006-08-28 Edward Hervey <edward@fluendo.com>
8694 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8695 Inform GstSegment of the last stop position in order for the current
8696 segment to have a proper duration if it doesn't have a specific stop
8697 position from which a duration could be calculated.
8698 This bug was noticeable when a non-flushing, non-update new segment was
8699 followed by another segment (all buffers from the new segment were being
8702 2006-08-28 Wim Taymans <wim@fluendo.com>
8704 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8705 Small comment update.
8707 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8708 (gst_identity_transform_ip):
8709 Drop-probability is broken, mention this in the code with a
8710 FIXME and also in the property description.
8711 Make silent also be silent about the drop messages.
8713 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
8715 * docs/manual/appendix-win32.xml:
8716 Remove mention of popt, we don't depend on that any
8717 longer (#353136). Add some comments pointing out that
8718 this section is slightly outdated.
8720 2006-08-28 Wim Taymans <wim@fluendo.com>
8722 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8724 * gst/gstquery.c: (gst_query_new_segment):
8725 * tests/check/gst/gstquery.c: (GST_START_TEST):
8726 Initialize variables when creating a new segment query.
8729 2006-08-28 Wim Taymans <wim@fluendo.com>
8731 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8733 * gst/gstelement.c: (gst_element_get_bus):
8734 * tests/check/gst/gstelement.c: (GST_START_TEST):
8735 Check for NULL before _reffing the bus. Fixes #353122.
8737 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
8739 * docs/manual/basics-bus.xml:
8740 Docs update: fix wrong callback return value explanation; add
8741 some lines about the implicit relationship between main loop
8742 and main context; remove duplicate main loop variable declaration.
8744 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
8746 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8747 Don't leak caps in unit test; add a few more simple
8750 2006-08-24 Stefan Kost <ensonic@users.sf.net>
8752 * docs/gst/gstreamer-sections.txt:
8753 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8754 (gst_caps_structure_is_subset), (gst_caps_merge),
8755 (gst_caps_merge_structure):
8757 * libs/gst/base/gstbasetransform.c:
8758 (gst_base_transform_transform_caps):
8759 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8760 implement caps merging (fixes #352580)
8762 2006-08-23 Stefan Kost <ensonic@users.sf.net>
8764 * tools/Makefile.am:
8765 * tools/gst-plot-timeline.py:
8766 add debug-log plotting developer tool (#340674)
8768 2006-08-23 Wim Taymans <wim@fluendo.com>
8770 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8771 (gst_pad_stop_task):
8772 Improve debugging for task functions.
8774 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8775 (gst_task_start), (gst_task_pause), (gst_task_join):
8776 Make sure that the task function started and finished after a
8778 Don't try to push the task function on the threadpool multiple
8780 Improve the g_warning message with some useful suggestions
8781 about how to fix the problem.
8783 2006-08-23 Wim Taymans <wim@fluendo.com>
8785 * gst/gstutils.c: (gst_pad_proxy_getcaps):
8786 Handle RESYNC correctly in _proxy_getcaps.
8788 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
8790 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8791 (gst_xml_parse_memory), (gst_xml_get_element):
8792 Chain up to parent class in dispose function and also
8793 unref the elements in the toplevel_elements GList.
8794 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8795 Always return a reference in gst_xml_get_element() rather
8796 than only sometimes.
8798 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8799 Don't leak GstXml object.
8801 2006-08-21 Stefan Kost <ensonic@users.sf.net>
8803 * docs/gst/gstreamer-sections.txt:
8804 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8807 * libs/gst/base/gstbasetransform.c:
8808 (gst_base_transform_transform_caps):
8809 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8812 2006-08-21 Edward Hervey <edward@fluendo.com>
8814 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8815 Implement GObject::dispose virtual method in GstXML so we can free the
8818 2006-08-21 Wim Taymans <wim@fluendo.com>
8820 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8821 (gst_buffer_create_sub):
8822 Copy duration/offset_end/caps when creating a subbuffer of the
8824 Make the subbuffer read-only when we make the metadata writable for
8827 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8828 Added check for metadata copy when creating subbuffers.
8830 2006-08-21 Edward Hervey <edward@fluendo.com>
8832 * libs/gst/base/gstbasetransform.c:
8833 (gst_base_transform_buffer_alloc):
8834 Only call downstream buffer_alloc if transform element is passthrough
8835 or always_in_place. Closes #350449.
8837 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8840 ChangeLog surgery to add comments to previous changes
8842 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8847 * gst/gstpad.c: (gst_pad_set_active):
8848 Be more verbose in the log
8850 * libs/gst/base/gstbasetransform.c:
8851 (gst_base_transform_transform_caps):
8852 Simplify caps to get rid of duplicates, fixes #345444
8854 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8858 Use these optimizations only internally.
8860 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8862 * gst/gstvalue.c: (gst_value_compare_list),
8863 (gst_value_compare_fraction_range),
8864 (gst_value_intersect_fraction_fraction_range),
8865 (gst_value_intersect_fraction_range_fraction_range),
8866 (gst_value_subtract_fraction_fraction_range),
8867 (gst_value_subtract_fraction_range_fraction_range),
8868 (gst_value_get_compare_func), (gst_value_compare),
8869 (gst_value_compare_with_func):
8871 Saves the expensive lookup of the compare function in many cases
8874 2006-08-18 Edward Hervey <edward@fluendo.com>
8876 * tests/check/gst/gstinfo.c: (gst_info_suite):
8877 Disable test that require gstdebug if it wasn't built in core.
8879 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8881 * docs/random/ensonic/logging.txt:
8884 * gst/gstinfo.c: (gst_debug_log_default):
8885 reorder fields, save some columns, add optional color codes for log
8888 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8890 * docs/random/ensonic/logging.txt:
8891 add ideas about making the logs a bit more useful
8893 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8895 * docs/pwg/advanced-events.xml:
8896 * docs/pwg/titlepage.xml:
8897 Update for 0.10 API (#340627). Add myself
8900 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8902 * docs/libs/gstreamer-libs-docs.sgml:
8903 * docs/libs/gstreamer-libs-sections.txt:
8904 * libs/gst/check/gstbufferstraw.c:
8905 Make gstcheck stuff show up in docs (still needs to
8906 be documented properly though).
8908 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
8910 * docs/gst/gstreamer-sections.txt:
8912 * gst/gst.c: (init_post):
8913 * gst/gst_private.h:
8914 * gst/gstquark.c: (_priv_gst_quarks_initialize):
8916 * gst/gstquery.c: (gst_query_new_position),
8917 (gst_query_set_position), (gst_query_parse_position),
8918 (gst_query_new_duration), (gst_query_set_duration),
8919 (gst_query_parse_duration), (gst_query_new_convert),
8920 (gst_query_set_convert), (gst_query_parse_convert),
8921 (gst_query_new_segment), (gst_query_set_segment),
8922 (gst_query_parse_segment), (gst_query_new_seeking),
8923 (gst_query_set_seeking), (gst_query_parse_seeking):
8924 Add internal helpers for pre-registering quarks from static strings
8925 and using the quark values directly instead of looking them up when
8926 creating and parsing queries. Can be used for event construction too.
8929 2006-08-16 Wim Taymans <wim@fluendo.com>
8934 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8936 * gst/gstutils.c: (gst_util_set_value_from_string):
8937 Fix memleak (#351502).
8939 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8940 Add unit test for most of gst_util_set_value_from_string()
8941 (not that one would want to encourage use of this function).
8943 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8945 * libs/gst/check/gstcheck.h:
8946 Use const gchar * variables in fail_unless_equals_string
8947 macro to avoid compiler warnings (and don't use tabs for
8950 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8952 * tools/gst-launch.c: (print_tag):
8953 More space on the left for the tag names, to cater
8954 for the 'extended comment' tag (not touching the
8955 string for the first line since it's translated).
8957 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8959 * libs/gst/check/gstcheck.h:
8960 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8961 print something when they fail.
8963 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8965 * docs/gst/gstreamer-sections.txt:
8966 * gst/gsttaglist.c: (_gst_tag_initialize):
8968 API: add GST_TAG_EXTENDED_COMMENT (#350935).
8969 Also change merge function for GST_TAG_COMMENT to
8972 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8974 * gst/gstinfo.c: (gst_debug_print_object):
8975 Make GST_PTR_FORMAT print messages as well.
8977 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8978 (GST_START_TEST), (gst_info_suite):
8981 2006-08-14 Edward Hervey <edward@fluendo.com>
8983 * gst/gstelementfactory.c: (gst_element_register):
8984 If the GstElementClass doesn't have a GstElementDetails with all fields
8985 filled up correctly (longname, description AND author), then error out
8986 nicely instead of crashing.
8988 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8990 * gst/gststructure.c:
8991 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8994 Expand on the difference between arrays and lists as we use them.
8996 2006-08-14 Wim Taymans <wim@fluendo.com>
8998 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8999 If the parent state change function failed, don't assume we can safely
9000 stop the source, this will be done when the pads are deactivated.
9002 2006-08-14 Wim Taymans <wim@fluendo.com>
9005 * gst/gsttask.c: (gst_task_join):
9008 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9009 (gst_pad_stop_task):
9010 When pad (de)activation failed for some reason, restore the old
9011 activation mode and set the pad to flushing instead of assuming the
9013 If the _task_join() failed, reinstall the task on the pad so that it can
9014 be stopped later and return an error.
9016 2006-08-11 Andy Wingo <wingo@pobox.com>
9019 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9020 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9021 is only for users of API that don't want to see deprecated
9022 functions in the headers; people that want to compile out
9023 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9024 CFLAGS. Fixes the build of multifdsink, or will soon..
9026 2006-08-11 Wim Taymans <wim@fluendo.com>
9028 * docs/gst/gstreamer-sections.txt:
9029 Add GstClockClass vmethod docs.
9032 Mark #endif with comment for associated #if
9034 * gst/gstclock.c: (gst_clock_id_wait):
9036 Add vmethod wait_jitter to avoid an unneeded _get_time() for
9037 most clock implementations.
9039 Flesh out docs about resolution methods.
9040 API: GstClockClass::wait_jitter
9042 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9043 (gst_system_clock_async_thread),
9044 (gst_system_clock_id_wait_jitter_unlocked),
9045 (gst_system_clock_id_wait_jitter):
9046 Use base class wait_jitter variant for improved performance
9047 due to less clock polling.
9049 2006-08-11 Edward Hervey <edward@fluendo.com>
9051 * gst/gst.c: (gst_init_check), (init_post):
9052 Set gst as being initialized before scanning/updating the registry,
9053 since there might be my python plugin loader that calls gst_init() and
9054 we don't want to loop back in.
9057 2006-08-11 Wim Taymans <wim@fluendo.com>
9059 * docs/design/part-qos.txt:
9060 Bring docs in line with the code. Mostly the sign of the jitter was
9061 wrong in the docs. Fixes #349943.
9064 Fix the docs for the jitter.
9066 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9067 (gst_event_parse_tag), (gst_event_new_buffer_size),
9068 (gst_event_parse_buffer_size), (gst_event_parse_qos),
9069 (gst_event_new_seek), (gst_event_parse_seek),
9070 (gst_event_new_navigation):
9071 Make sure the GstStructure has no parent when creating custom
9073 Add some more argument checking so that we avoid 0.0 rates.
9074 Flesh out the docs for the QoS event some more.
9076 2006-08-11 Wim Taymans <wim@fluendo.com>
9078 * docs/gst/gstreamer-sections.txt:
9079 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9080 (ensure_current_registry_forking), (ensure_current_registry),
9081 (parse_one_option), (parse_goption_arg), (gst_deinit),
9082 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9085 Added API and command line option to disable registry forking in
9086 addition to the environment variable.
9087 Constify some static arrays.
9088 Added some more debug.
9090 API: gst_registry_fork_is_enabled()
9091 API: gst_registry_fork_set_enabled()
9092 API: --gst-disable-registry-fork command line option
9095 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
9097 * gst/gst.c: (gst_init):
9098 Fix typo in error message.
9100 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9102 * libs/gst/controller/gstcontroller.h:
9103 fix ABI size-correction
9105 * tests/check/libs/gdp.c: (gst_dp_suite):
9106 make tests that use deprecated API conditional
9108 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9110 * docs/libs/gstreamer-libs-sections.txt:
9111 * libs/gst/controller/gstcontroller.c:
9112 (_gst_controller_get_property), (_gst_controller_set_property),
9113 (_gst_controller_init), (_gst_controller_class_init):
9114 * libs/gst/controller/gstcontroller.h:
9115 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9116 (gst_object_set_control_rate):
9117 API: add gst_object_{s,g}et_control_rate(), add private data section,
9120 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9121 * libs/gst/dataprotocol/dataprotocol.h:
9122 add deprecation guards to make gtk-doc happy and allow disabling cruft
9124 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
9126 * tests/check/Makefile.am:
9127 * tests/check/gst/.cvsignore:
9128 Let's enable the new unit test as well.
9130 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
9133 * docs/gst/gstreamer-sections.txt:
9134 * gst/gstconfig.h.in:
9135 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9136 (_gst_info_printf_extension_ptr),
9137 (_gst_info_printf_extension_segment):
9138 API: add GST_SEGMENT_FORMAT, which is a printf extension we
9139 register that lets us easily dump GstSegments into debug
9142 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9143 (info_segment_format_printf_extension), (gst_info_suite):
9144 Add simple unit test that logs a bunch of different segments (not
9145 valgrinded at the moment because of leaks in
9146 gst_debug_add_log_function).
9148 2006-08-09 Edward Hervey <edward@fluendo.com>
9150 * libs/gst/base/gstbasetransform.c:
9151 (gst_base_transform_buffer_alloc):
9152 Even if we can't figure out the proper format to request downstream,
9153 call buffer_alloc() downstream with the input parameters without setting
9154 the caps on the srcpad. This will force negotiation in the chain
9158 2006-08-08 Edward Hervey <edward@fluendo.com>
9160 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9161 Unlinking from a pad without a target is now a perfectly valid case
9162 which should NOT raise an assertion.
9163 This case would happen if a linked ghostpad its target set to NULL after
9164 it was previously linked.
9166 2006-08-08 Edward Hervey <edward@fluendo.com>
9168 * tests/check/libs/gdp.c:
9169 Also comment out the test (see below).
9171 2006-08-08 Edward Hervey <edward@fluendo.com>
9173 * tests/check/libs/gdp.c: (gst_dp_suite):
9174 Use the architecture information from config.h and not gcc macros
9175 in order to properly disable a test that fails on PPC64.
9177 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
9179 * gst/gstelement.c: (gst_element_remove_pad):
9180 Don't crash printing the warning if the pad has no parent.
9182 2006-08-02 Wim Taymans <wim@fluendo.com>
9184 * libs/gst/dataprotocol/dataprotocol.c:
9185 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9186 (gst_dp_crc), (gst_dp_header_payload_length),
9187 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9188 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9189 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9190 (gst_dp_event_from_packet), (gst_dp_validate_header),
9191 (gst_dp_validate_payload):
9192 Make debug category static
9193 Constify the crc table.
9194 Do some more arg checking in public functions.
9195 Fix some docs and do some small cleanups.
9197 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9198 Add some more checks to see if GDP deals with bogus input.
9200 2006-07-31 Wim Taymans <wim@fluendo.com>
9202 * gst/gstvalue.c: (gst_value_compare_list):
9203 Fix GstValueList comparison code. Fixes #347293.
9205 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9206 Check to test GstValueList comparison.
9208 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9210 * gst/gstelementfactory.c: (gst_element_factory_create):
9211 Remove unnecessary ref/unref pair
9213 * gst/parse/grammar.y:
9214 Make sure to free the parse buffer on all code paths.
9215 Move a g_free up to the error handler where it's easier to see.
9217 * tests/check/gst/gstevent.c: (test_event):
9218 Extending timeout for downstream travelling events to 10 seconds to
9219 hopefully avoid intermittent failure on the buildbots.
9221 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9222 Don't manually set the state of the src element - it will happen as a
9223 natural consequence of the pipeline changing state, and that way it
9224 will do it in the right order too.
9226 2006-07-31 Wim Taymans <wim@fluendo.com>
9228 * libs/gst/base/gstbasetransform.c:
9229 (gst_base_transform_buffer_alloc):
9230 Use OBJECT_LOCK and refcounting to get the pad caps in the
9231 buffer_alloc function because the caps could change while we are
9232 busy with them. Fixes #349105
9234 2006-07-31 Wim Taymans <wim@fluendo.com>
9236 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9237 Protect _PAD_CAPS with OBJECT_LOCK.
9239 2006-07-31 Wim Taymans <wim@fluendo.com>
9241 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9242 (gst_pad_get_property), (gst_pad_activate_pull),
9243 (gst_pad_activate_push), (gst_pad_set_blocked_async),
9244 (gst_pad_set_activate_function),
9245 (gst_pad_set_activatepull_function),
9246 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9247 (gst_pad_set_getrange_function),
9248 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9249 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9250 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9251 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9252 (gst_pad_set_acceptcaps_function),
9253 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9254 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9255 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9256 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9257 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9258 (gst_pad_configure_sink), (gst_pad_configure_src),
9259 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9260 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9261 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9262 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9263 (gst_pad_send_event):
9264 Use _DEBUG_OBJECT when it makes sense.
9265 Protect GST_PAD_CAPS with the OBJECT_LOCK.
9266 Small cleanups and code reflows.
9267 Avoid caps refcounting in _accept_caps.
9268 Refactor alloc_buffer so that the code performed on the peer is in a
9269 separate function. Also if the pad does not implement a buffer alloc
9270 function, we should still check if the pad is flushing before falling
9271 back to the default allocator.
9273 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9275 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9276 Make all uses of identity and fakesink have silent=true to avoid
9277 serialising every passing data structure, which is breaking tests
9278 on FC4 for some unknown reason.
9280 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9282 * gst/parse/Makefile.am:
9283 * gst/parse/grammar.y:
9284 * gst/parse/parse.l:
9285 Reverted previous patch as it required to bump the flex dependency to
9286 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9288 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9290 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9292 * gst/parse/Makefile.am:
9293 * gst/parse/grammar.y:
9294 * gst/parse/parse.l:
9295 push & pop the state of the lexer for reentrant use case
9298 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
9300 * libs/gst/base/gstbasesrc.h:
9301 Note in the docs that the ::newsegment vfunc is not actually used by
9304 2006-07-28 Wim Taymans <wim@fluendo.com>
9306 * libs/gst/base/gstcollectpads.c:
9307 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9308 (gst_collect_pads_clear), (gst_collect_pads_flush),
9309 (gst_collect_pads_event), (gst_collect_pads_chain):
9310 When flushing a pad, also clear the queued buffer so that we don't
9311 accidentally use it when we shouldn't.
9312 Fix leaks by inreffing incomming buffer.
9313 Flush out queued buffers in case of errors.
9316 2006-07-28 Wim Taymans <wim@fluendo.com>
9318 * docs/random/phonon-gst:
9319 Random notes about a Phonon backend.
9321 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9323 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9325 * tests/check/libs/gdp.c: (gst_dp_suite):
9326 Take a whack at fixing the ppc compile using a different define to
9327 disable the broken test.
9329 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9330 Remove excess g_print()
9332 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9334 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9335 Oops, meant to uncomment this line too to dampen the noise a bit.
9337 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9339 * gst/parse/grammar.y:
9340 * gst/parse/parse.l:
9341 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9342 (GST_START_TEST), (parse_suite):
9343 Fix some of the leaks exposed by extending the parse-launch testsuite,
9344 and move the 3 I can't figure out into a separate test that won't run
9345 the pipelines unless the appropriate line is uncommented.
9347 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9349 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9350 Requesting 0 bytes before the end of the file should result in
9351 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9354 2006-07-27 Wim Taymans <wim@fluendo.com>
9356 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9357 Fix useless assert, a uint is always positive.
9359 * gst/gststructure.c: (gst_structure_nth_field_name),
9360 (gst_structure_foreach), (gst_structure_map_in_place):
9361 Check input arguments for public functions to avoid obvious crashes.
9363 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9364 * plugins/elements/gstfakesink.h:
9365 Do less useless typechecking.
9367 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9369 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9370 Do not use mmap() by default since there are a number of error
9371 conditions that we would like to handle in a non-fatal way that
9372 will result in a SIGBUS if we use mmap(). Examples: external
9373 devices (USB harddrive, portable music player) being unplugged
9374 while in use; file on mounted CD/DVD that can't be read because
9375 the medium is partly damaged. Fixes #348455 and #348475.
9377 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9380 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9383 2006-07-26 Stefan Kost <ensonic@users.sf.net>
9385 * gst/gstregistry.c:
9386 Move big documentation comment into class section header, so that it
9387 appears in the API docs.
9389 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9391 * docs/gst/gstreamer-sections.txt:
9392 Oops. Commit the docs additions too for new API.
9393 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9395 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9397 * gst/gststructure.c: (gst_structure_id_set),
9398 (gst_structure_id_set_valist):
9399 * gst/gststructure.h:
9400 Add API for setting values into structures without performing
9401 a quark lookup, if the appropriate quark is already known.
9403 API: gst_structure_id_set
9404 API: gst_structure_id_set_valist
9406 * gst/parse/grammar.y:
9407 * gst/parse/parse.l:
9408 Remove some dead code shown by the coverage information.
9409 Don't throw a critical g_warning when encountering a syntax error,
9410 just warn and let the normal error path handle it.
9412 * plugins/elements/gstelements.c:
9413 Bump the rank of filesink up to PRIMARY so that it is preferred over
9414 gnomevfssink for file:// sink uri's
9416 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9417 (GST_START_TEST), (run_delayed_test),
9418 (gst_parse_test_element_base_init),
9419 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9420 (gst_parse_test_element_change_state),
9421 (gst_register_parse_element), (parse_suite):
9422 Beef up the tests for parse syntax to check that more error cases
9423 fail as they are supposed to. Increases the test coverage a bit.
9425 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
9427 * docs/manual/basics-elements.xml:
9428 Fix gst_element_link() example.
9431 Mention in API docs that one should usually gst_bin_add()
9432 elements to a bin or pipeline before doing the linking.
9434 2006-07-26 Wim Taymans <wim@fluendo.com>
9436 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9437 (gst_subbuffer_get_type), (gst_buffer_create_sub):
9438 Avoid function call for known types by keeping the buffer and
9439 subbuffer GType global.
9441 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9442 Random silly optimisations in read() path.
9444 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9446 * tools/gst-launch.c: (main):
9447 If the top-level of the parse is a normal bin, it doesn't do the
9448 right logic to run as a top-level element, so place it inside a
9451 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
9453 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9454 Remove superfluous g_object_notify() calls, GObject does
9455 that for us automatically.
9457 2006-07-25 Stefan Kost <ensonic@users.sf.net>
9460 on Win32, use dllspec to export the debug category symbols
9462 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
9464 * gst/gsttaglist.c: (_gst_tag_initialize):
9465 Allow more than one GST_TAG_IMAGE per taglist.
9467 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
9469 * gst/gstminiobject.c:
9471 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9472 (gst_fd_src_create):
9473 log recurring events at LOG level
9474 add more debug for when the fd gets set
9476 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9478 * gst/gstparse.c: (gst_parse_launch):
9479 Also remove reentrance checks if flex is MT safe (#348179)
9480 Fix my empty ChangeLog entry below
9482 2006-07-21 Andy Wingo <wingo@pobox.com>
9484 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9486 * libs/gst/check/Makefile.am
9487 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9488 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
9489 * libs/gst/check/gstbufferstraw.h:
9490 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9491 functions, thus proving I am still a GStreamer haxor. OK I wrote
9492 them a long time ago, but anyways.
9494 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9497 * gst/gstparse.c: (gst_parse_launch):
9498 Check for flex version and omit mutex if we have a MT save flex
9501 2006-07-21 Wim Taymans <wim@fluendo.com>
9503 * gst/gstparse.c: (gst_parse_launch):
9504 Protect recursive calls to _parse with a recursive mutex
9507 2006-07-21 Wim Taymans <wim@fluendo.com>
9509 * tests/check/gst/gstpad.c: (GST_START_TEST):
9512 2006-07-20 Stefan Kost <ensonic@users.sf.net>
9514 * gst/gstparse.c: (gst_parse_launch):
9515 Do not hang on recursive usage of gst_parse_launch()
9517 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9520 Add some more docs, comments and FIXME 0.11s here and there
9521 and also fix some typos.
9523 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9526 Convert tabs to spaces for better readability.
9528 2006-07-20 Edward Hervey <edward@fluendo.com>
9530 * tests/check/libs/gdp.c: (gst_dp_suite):
9531 the test_buffer test fails at line 140 on ppc64 at the following
9533 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9534 GST_BUFFER_FLAG_IN_CAPS),
9535 "GST_BUFFER_IN_CAPS flag should have been copied !");
9536 See bug #348114 for more details.
9538 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
9540 * docs/pwg/advanced-scheduling.xml:
9542 Fix typos (#348000).
9544 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
9546 * docs/pwg/intro-basics.xml:
9547 Fix wrong links (#347927).
9549 2006-07-18 Stefan Kost <ensonic@users.sf.net>
9551 * gst/gstregistry.h:
9552 * gst/gstregistryxml.c: (load_feature),
9553 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9554 * win32/common/config.h:
9555 make --disable-index work (#342564)
9557 2006-07-18 Wim Taymans <wim@fluendo.com>
9559 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9563 The attached patch adds two missing defines to gsttrace.h when tracing
9564 is disabled. It also corrects one existing define.
9567 2006-07-17 Wim Taymans <wim@fluendo.com>
9569 * docs/gst/gstreamer-sections.txt:
9570 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9572 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9573 Add two functions to check and change the SIGSEGV behaviour
9574 when loading plugins.
9575 Don't mess with the SIGSEGV handler when we were told not to.
9577 API: gst_segtrap_is_enabled
9578 API: gst_segtrap_set_enabled
9580 2006-07-14 Wim Taymans <wim@fluendo.com>
9582 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9583 * tests/check/elements/filesrc.c: (GST_START_TEST):
9584 Revert fix for regression in #347408 after release.
9586 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
9588 Patch by: Antoine Tremblay <hexa00 at gmail com>
9590 * gst/gstutils.c: (gst_element_unlink):
9591 Free iterator when done (#347311).
9593 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9594 And add a test case for this.
9596 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
9599 Bump nano back to CVS
9601 === release 0.10.9 ===
9603 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
9606 releasing 0.10.9, "On the road again"
9608 2006-07-13 Wim Taymans <wim@fluendo.com>
9610 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9611 * tests/check/elements/filesrc.c: (GST_START_TEST):
9612 Revert pull-0 fix for release. Disable check. Fixes #347408.
9614 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9616 * libs/gst/dataprotocol/dataprotocol.c:
9617 (gst_dp_event_from_packet_1_0):
9618 Fixes #347337: failure to deserialize event packets with
9619 empty payload (only event type)
9621 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9624 do not install a .c file in the header directory
9626 2006-07-13 Edward Hervey <edward@fluendo.com>
9628 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9629 GhostPad no longer implicitely use the padtemplates of the targets.
9632 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
9634 * gst/gstvalue.c: (gst_value_compare_list),
9635 (gst_value_compare_array), (_gst_value_initialize):
9636 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9637 Make GstValueArray comparison be order dependent as designed.
9638 Add checks for value lists and value array comparisons.
9641 2006-07-11 Edward Hervey <edward@fluendo.com>
9643 * gst/gstbin.c: (activate_pads),
9644 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9645 (gst_bin_change_state_func):
9646 (de)activate src pads before calling state_change on the childs.
9647 This is to avoid the case where a src ghostpad is blocked (holding the
9648 stream lock), which would block the deactivation of the ghostpad's
9650 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9651 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9652 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9653 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9654 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9655 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9656 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9657 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9658 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9659 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9660 (gst_ghost_pad_class_init),
9661 (gst_ghost_pad_internal_do_activate_push),
9662 (gst_ghost_pad_internal_do_activate_pull),
9663 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9664 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9665 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9666 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9667 GhostPads now create their internal GstProxyPad at creation (and not
9668 when they're linked, as it was being done previously).
9669 The internal and target pads are linked straight away.
9670 The data will also travel through the other pad in order to make
9671 pad blocking and probes non-hackish (the probe/block now really happens
9672 on the GhostPad and not on the target).
9673 * gst/gstpad.c: (gst_pad_set_blocked_async),
9674 (gst_pad_link_prepare), (gst_pad_push_event):
9675 Remove previous ghostpad cruft.
9676 * gst/gstutils.c: (gst_pad_add_data_probe),
9677 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9678 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9679 (gst_pad_remove_buffer_probe):
9680 Remove previous ghost pad cruft.
9681 Added more detailed debug statements.
9682 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9683 Fix the testsuite for refcounting changes.
9684 The comments about who has references were correct, but the refcount
9685 being checked wasn't the same (!?!).
9689 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9691 * docs/gst/gstreamer-sections.txt:
9692 * gst/gstconfig.h.in:
9693 More docs for configuration options, add docs to gtk-doc.
9695 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9698 * gst/gstconfig.h.in:
9699 * win32/common/config.h:
9700 Fix build when disabling tracing (fixes #344016). Also start to document
9701 the defines that disable the sub-systems.
9703 2006-07-10 Edward Hervey <edward@fluendo.com>
9705 * gst/gst.c: (ensure_current_registry_forking):
9706 let's make valgrind happy...
9708 2006-07-09 Wim Taymans <wim@fluendo.com>
9710 * gst/gstelement.c: (activate_pads),
9711 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9712 Better pad activation code: Reset the collect value too on resync.
9715 2006-07-09 Wim Taymans <wim@fluendo.com>
9717 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9718 (gst_pad_activate_push):
9719 Use some more macros where it makes sense.
9720 Allow pad mode switching instead of asserting. When a pad
9721 is activated in one mode and we activate it in another,
9722 deactivate it first before activating it in a different mode.
9725 2006-07-08 Andy Wingo <wingo@pobox.com>
9727 * tools/gst-launch.c (main): Handle err == NULL.
9729 * gst/gst.c (init_post, ensure_current_registry)
9730 (ensure_current_registry_forking)
9731 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9732 factoring out the registry scanning into separate functions. Don't
9733 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9734 Better environment var name/interface suggestions accepted.
9736 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9738 * gst/gstobject.c: (gst_object_set_name_default),
9739 (gst_object_set_name):
9740 Random micro-optimisation: don't use a hash table
9741 with strings as keys and the usual strdup/strcmp
9742 involved, but rather just use the GQuark of the
9743 type name as key, since it needs to be looked up
9744 anyway to get the type name string.
9746 * tests/check/gst/gstobject.c: (GST_START_TEST):
9749 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9751 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9752 (gst_bin_iterate_all_by_interface):
9753 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9754 GTypes are gulongs and thus the top 4 bytes might be cut
9755 off on some platforms when doing GPOINTER_TO_INT, leading
9756 to invalid GTypes and bad things happening (see RH bug #179654).
9757 Also add a check to make sure the type passed in is really
9760 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9765 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9769 * gst-element-check.m4:
9770 * gst-element-check.m4.in:
9771 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9772 instead of the unversioned gst-inspect (#324176, #168659).
9774 2006-07-06 Wim Taymans <wim@fluendo.com>
9777 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9780 2006-07-06 Wim Taymans <wim@fluendo.com>
9782 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9783 (gst_base_src_wait), (gst_base_src_update_length),
9784 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9785 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9786 (gst_base_src_loop), (gst_base_src_start),
9787 (gst_base_src_activate_pull):
9789 blocksize == 0 now means the default blocksize when working in push
9791 Remove some pointless asserts in _wait function.
9792 Fix offset/length calculations and EOS handling. We can now pull 0
9793 bytes as well, which is allowed.
9794 use _check_get_range() to decide if we can operate in _pull based
9796 Fix refcounting leak when check_get_range function was not
9798 API GstBaseSrc::blocksize range can be 0 too now (default)
9800 * tests/check/elements/filesrc.c: (GST_START_TEST),
9802 Added check to test _get_range() behaviour.
9804 2006-07-06 Wim Taymans <wim@fluendo.com>
9806 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9807 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9808 (gst_pad_pull_range):
9810 Lots of comments and docs added to the pad functions.
9811 Flesh out the expected behaviour of the get_range() functions.
9813 2006-07-06 Wim Taymans <wim@fluendo.com>
9818 * gst/gstiterator.h:
9822 Remove comma at end of enumerator list.
9824 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
9826 * win32/common/libgstbase.def:
9827 * win32/common/libgstdataprotocol.def:
9828 * win32/common/libsgtreamer.def:
9829 Add new exported functions.
9831 2006-07-05 Wim Taymans <wim@fluendo.com>
9833 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9834 Add some more docs here and there.
9836 2006-07-05 Wim Taymans <wim@fluendo.com>
9838 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9839 (gst_base_sink_loop), (gst_base_sink_get_position):
9840 When operating in pull mode update the offset so that we
9843 2006-07-05 Wim Taymans <wim@fluendo.com>
9845 * gst/gstregistryxml.c: (read_string):
9846 Avoid strdup. (will happen in libxml, but hey!)
9851 2006-07-05 Wim Taymans <wim@fluendo.com>
9853 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9854 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9856 No point in checking if the size of the subbuffer > 0, the
9857 code handles it correclty as demonstrated by unit test.
9858 Also add a unit test for the zero sized _new_and_alloc and
9859 _copy. Fixes #346663.
9861 2006-07-05 Wim Taymans <wim@fluendo.com>
9863 * libs/gst/base/gstbasetransform.c:
9864 (gst_base_transform_prepare_output_buffer),
9865 (gst_base_transform_buffer_alloc),
9866 (gst_base_transform_handle_buffer):
9867 Make sure the buffer we pass to transform_ip has a refcount of
9868 1 and thus is writable. Fixes #343196
9870 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
9872 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9873 (gst_file_src_init), (gst_file_src_set_property),
9874 (gst_file_src_get_property), (gst_file_src_map_region):
9875 * plugins/elements/gstfilesrc.h:
9876 Add "sequential" property, off by default, to use madvise and hint
9877 to the kernel that sequential access is desired.
9878 Touch all retrieved pages by default to ensure they are pulled
9879 into memory. (Closes #345720)
9881 2006-07-03 Wim Taymans <wim@fluendo.com>
9883 * docs/design/part-block.txt:
9884 * docs/design/part-dynamic.txt:
9887 2006-07-03 Wim Taymans <wim@fluendo.com>
9889 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9890 (gst_caps_unref), (gst_static_caps_get),
9891 (gst_caps_append_structure):
9892 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9893 Use GSlice when the glib we build against is >= 2.10
9895 2006-07-03 Wim Taymans <wim@fluendo.com>
9897 * gst/gstelement.c: (gst_element_pads_activate):
9898 Small cleanup in pad activation code.
9900 2006-07-03 Wim Taymans <wim@fluendo.com>
9902 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9904 * gst/gst-i18n-app.h:
9905 * gst/gst-i18n-lib.h:
9906 * tools/gst-inspect.c: (print_signal_info):
9907 The attached patch will make the inclusion of gettext.h unconditional in
9908 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9909 libintl.h in tools/gst-inspect.c.
9910 This allows use of --disable-nls again and fixes #344642.
9912 2006-07-03 Edward Hervey <edward@fluendo.com>
9914 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9915 Implement pad blocking on events according to part-block.txt.
9916 More comments on behaviour.
9917 * tests/check/gst/gstevent.c: (test_event):
9918 Send event to peer pad of blocked pad (else it will block).
9920 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9922 * libs/gst/check/gstcheck.c: (gst_check_message_error),
9923 (gst_check_run_suite):
9924 if we get the wrong message, give us the types as string
9925 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9927 * tests/check/elements/filesrc.c: (GST_START_TEST):
9928 add a test for trying to open a non-existing file
9930 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9932 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9933 add a test for adding self
9935 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9937 * libs/gst/check/gstcheck.h:
9938 add some assert_ as alias for fail_unless_*
9939 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9940 increase test coverage
9942 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9945 include lcov.mak for lcov coverage generation
9946 * tools/Makefile.am:
9949 2006-07-02 Edward Hervey <edward@fluendo.com>
9951 * tests/check/elements/.cvsignore:
9954 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9957 don't set CFLAGS and friends for gcov, done from GST_GCOV now
9958 * tests/check/Makefile.am:
9961 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9963 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9964 remove gst_caps_simplify; it was not declared and not used
9965 and deprecated in 0.8
9967 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9969 * docs/faq/gst-uninstalled:
9970 don't put empty paths on PYTHONPATH
9971 * docs/gst/gstreamer-sections.txt:
9972 remove some symbols that are not there
9974 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9976 * gst/gstcaps.c: (gst_caps_compare_structures):
9978 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9979 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9982 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9984 * libs/gst/dataprotocol/Makefile.am:
9985 build dataprotocol test by linking to the lib, instead of
9986 compiling the source, so we get coverage
9987 * tests/check/Makefile.am:
9988 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9989 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9990 add a test for filesrc
9992 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9994 * tests/check/gst/gststructure.c: (GST_START_TEST),
9995 (gst_structure_suite):
9996 Push coverage from 59.04% to 70.00%
9998 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10000 * tests/check/Makefile.am:
10001 gst-inspect every element; this makes sure that we also get
10002 coverage on element's get/set functions
10004 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10007 set CFLAGS and friends to -O0 if gcov is being used
10010 * libs/gst/base/Makefile.am:
10011 * libs/gst/check/Makefile.am:
10012 * libs/gst/controller/Makefile.am:
10013 * libs/gst/dataprotocol/Makefile.am:
10014 * libs/gst/net/Makefile.am:
10015 * plugins/elements/Makefile.am:
10016 * plugins/indexers/Makefile.am:
10017 add makefile rules to generate gcov data and clean up
10018 * tests/check/Makefile.am:
10019 add a coverage target that generates an html overview
10022 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10024 * tests/check/elements/fakesink.c:
10025 * tests/check/elements/fakesrc.c:
10026 * tests/check/elements/fdsrc.c:
10027 * tests/check/elements/identity.c:
10028 * tests/check/generic/sinks.c: (gst_sinks_suite):
10029 * tests/check/generic/states.c:
10030 * tests/check/gst/gst.c:
10031 * tests/check/gst/gstabi.c:
10032 * tests/check/gst/gstbin.c:
10033 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10034 * tests/check/gst/gstbus.c: (gst_bus_suite):
10035 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10036 * tests/check/gst/gstelement.c:
10037 * tests/check/gst/gstevent.c: (gst_event_suite):
10038 * tests/check/gst/gstghostpad.c:
10039 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10040 * tests/check/gst/gstmessage.c: (gst_message_suite):
10041 * tests/check/gst/gstminiobject.c:
10042 * tests/check/gst/gstobject.c:
10043 * tests/check/gst/gstpad.c:
10044 * tests/check/gst/gstpipeline.c:
10045 * tests/check/gst/gstplugin.c:
10046 * tests/check/gst/gstquery.c: (gst_query_suite):
10047 * tests/check/gst/gstsegment.c: (gst_segment_suite):
10048 * tests/check/gst/gststructure.c:
10049 * tests/check/gst/gstsystemclock.c:
10050 * tests/check/gst/gsttag.c:
10051 * tests/check/gst/gsttask.c: (gst_task_suite):
10052 * tests/check/gst/gstutils.c:
10053 * tests/check/gst/gstvalue.c:
10054 * tests/check/libs/adapter.c:
10055 * tests/check/libs/basesrc.c:
10056 * tests/check/libs/collectpads.c:
10057 * tests/check/libs/controller.c:
10058 * tests/check/libs/gdp.c: (gst_dp_suite):
10059 * tests/check/libs/gstnetclientclock.c:
10060 * tests/check/libs/gstnettimeprovider.c:
10061 * tests/check/libs/libsabi.c: (libsabi_suite):
10062 * tests/check/libs/typefindhelper.c:
10063 * tests/check/pipelines/cleanup.c:
10064 * tests/check/pipelines/parse-launch.c:
10065 * tests/check/pipelines/simple-launch-lines.c:
10066 * tests/check/pipelines/stress.c: (stress_suite):
10069 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10071 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10072 * libs/gst/check/gstcheck.h:
10073 create a macro and function so that the simple unit test
10074 case can be just one macro to create main()
10076 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
10078 * gst/gstbin.c: (gst_bin_restore_thyself):
10079 * gst/gstxml.c: (gst_xml_make_element):
10080 Fix deserialisation from XML. Set parent manually
10081 instead of using gst_bin_add(), since gst_bin_add()
10082 will unlink all pads of the element being added.
10085 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
10087 Patch by: Peter Kjellerstedt <pkj at axis com>
10089 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10090 Fix missing g_strdup() and double free when using the
10091 --gst-plugin-load command line option (#346097).
10093 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10096 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10098 * libs/gst/net/gstnetclientclock.c:
10099 * libs/gst/net/gstnettimeprovider.c:
10100 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10102 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10104 * docs/manual/advanced-dataaccess.xml:
10105 Fix buffer probe example compilation in
10108 2006-06-22 Edward Hervey <edward@fluendo.com>
10110 * gst/gstelement.c: (gst_element_pads_activate):
10111 We need to deactivate src pads first and then sink pads.
10112 The reason is the src pads might be blocking while holding the streaming
10113 lock, so we need to deactivate them first so that deactivating the sink
10114 pads doesn't block (since it will require the streaming lock).
10116 2006-06-22 Wim Taymans <wim@fluendo.com>
10118 * libs/gst/base/gstbasetransform.c:
10119 (gst_base_transform_buffer_alloc):
10120 Forgot to remove two unneeded unrefs.
10121 Simplify a check _is_equal allready checks the obvious case.
10123 2006-06-22 Wim Taymans <wim@fluendo.com>
10125 * docs/design/part-block.txt:
10126 Some docs about what pad_block should do.
10128 2006-06-22 Wim Taymans <wim@fluendo.com>
10130 * gst/gstcaps.c: (gst_caps_replace):
10131 Fix crasher when passed NULL. Doc clarification.
10132 Optimize for the trivial case.
10134 * gst/gstpipeline.c: (gst_pipeline_change_state):
10137 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10138 Small documentation cleanup.
10140 * libs/gst/base/gstbasetransform.c:
10141 (gst_base_transform_buffer_alloc):
10142 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10143 is what we need and it avoids a whole lot of redundant
10144 refcount operations.
10146 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
10148 Patch by: Philip Jägenstedt <philip at lysator liu se>
10150 * docs/manual/advanced-dataaccess.xml:
10151 Fix 'Embedding static elements' section to use
10152 GST_PLUGIN_DEFINE_STATIC (#345607).
10154 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10156 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10157 Attempt to 'fix' spuriously failing test case: it seems like the
10158 timeout of half a second is simply too small when the system is under
10159 load otherwise, and the timeout doesn't really seem to serve any
10160 particular purpose here. Give the pipeline a few seconds to preroll
10161 first, and then give it another half a second to go from PAUSED to
10162 PLAYING and marshal the message into the main thread.
10164 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10166 * tools/gst-feedback-m.m:
10167 Don't only use unversioned tools, try versioned tools as well
10170 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10172 * gst/gstbus.c: (gst_bus_class_init):
10173 Fix some typos, make docs more explicit.
10175 2006-06-20 Wim Taymans <wim@fluendo.com>
10177 * tests/check/gst/gstghostpad.c: (block_callback),
10178 (GST_START_TEST), (gst_ghost_pad_suite):
10179 Added some more ghostpad tests, mainly blocking
10182 2006-06-16 Wim Taymans <wim@fluendo.com>
10184 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10185 (gst_file_sink_close_file), (gst_file_sink_do_seek),
10186 (gst_file_sink_event), (gst_file_sink_render):
10187 * plugins/elements/gstfilesink.h:
10188 Check if we can seek in the file instead of assuming
10189 we always can. Post an error when we are asked to seek in a
10190 non-seekable file (like a fifo). Fixes #343312.
10193 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10195 * tools/gst-launch.1.in:
10196 Un-garble (fourcc) bit in filtered caps section.
10198 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10200 * docs/manual/advanced-autoplugging.xml:
10201 * docs/manual/basics-helloworld.xml:
10202 * docs/manual/highlevel-components.xml:
10203 Don't leak bus reference in sample code.
10205 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
10208 Add default for new --enable-plugin-docs switch.
10211 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10214 * docs/Makefile.am:
10215 Use new ENABLE_PLUGIN_DOCS conditional.
10217 2006-06-14 Wim Taymans <wim@fluendo.com>
10219 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10220 Make it clear with a FIXME and a real define what the #if 0
10221 previously disabled.
10223 2006-06-14 Wim Taymans <wim@fluendo.com>
10225 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10226 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10227 * libs/gst/base/gstbasetransform.c:
10228 (gst_base_transform_sink_eventfunc):
10229 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10230 Don't randomly and silently reset a segment when the format
10231 changes as this is a bug somewhere upstream. Fixes #330379.
10233 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
10235 Patch by: Wouter Paesen <wouter at kangaroot net>
10237 * libs/gst/controller/gstcontroller.c:
10238 (gst_controlled_property_new):
10239 Fix controlling of float properties (#344849).
10241 * tests/check/libs/controller.c:
10242 (gst_test_mono_source_get_property),
10243 (gst_test_mono_source_set_property),
10244 (gst_test_mono_source_class_init), (GST_START_TEST):
10245 While we're at it, add some float stuff to unit test.
10247 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10250 * docs/images/gdp-header.svg:
10252 * docs/libs/Makefile.am:
10253 * docs/libs/gdp-header.png:
10254 * libs/gst/dataprotocol/dataprotocol.c:
10255 add it to the API docs
10256 * docs/manual/intro-motivation.xml:
10259 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10261 * gst/gst.c: (scan_and_update_registry), (init_post):
10262 If the fork()'ed child process can't write the updated registry cache
10263 file to disk for some reason, make it exit with a failure exit code,
10264 so that the parent can then re-scan the plugins itself and update the
10265 registry structures in memory and work with that (rather than failing
10266 when creating elements because seemingly no plugins are available).
10267 Refactor registry scanning code into separate function for this and
10268 also separate fork() and non-fork() code paths. Fixes #344748.
10270 2006-06-13 Wim Taymans <wim@fluendo.com>
10272 * docs/manual/advanced-dataaccess.xml:
10273 Fix wrong PluginDesc. Fixes #344755.
10275 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10277 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10278 Fix silly bug that prevented us from creating
10279 ~/.gstreamer-0.10 and writing the registry in one
10280 go (the first call to g_mkstemp() would overwrite the
10281 placeholder in the template string, so the second call
10282 to g_mkstemp() after creating the missing directory
10283 would then error out with 'invalid argument').
10285 2006-06-13 Edward Hervey <edward@fluendo.com>
10287 * gst/gst.c: (init_post):
10290 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10292 * gst/glib-compat-private.h:
10293 * gst/glib-compat.c:
10294 * gst/glib-compat.h:
10295 * gst/gstvalue.c: (gst_value_serialize_flags):
10296 remove GLib 2.6 compatibility code
10298 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
10300 * gst/parse/Makefile.am:
10301 Fix build with 'make -j N' even more (#340016).
10303 2006-06-12 Wim Taymans <wim@fluendo.com>
10305 * docs/gst/gstreamer-sections.txt:
10308 2006-06-12 Wim Taymans <wim@fluendo.com>
10310 * gst/gstsegment.c: (gst_segment_set_duration),
10311 (gst_segment_set_last_stop), (gst_segment_set_seek),
10312 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10313 (gst_segment_to_running_time), (gst_segment_clip):
10314 Use G_UNLIKELY to help the compiler a bit.
10316 2006-06-12 Wim Taymans <wim@fluendo.com>
10318 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10320 * gst/gstevent.c: (gst_event_get_type):
10321 * gst/gstmessage.c:
10322 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10324 constify quark registration strings. Fixes #344115
10325 Avoid unneeded type checking is _pad_push() by internally
10326 calling gst_pad_chain_unchecked().
10328 2006-06-12 Wim Taymans <wim@fluendo.com>
10330 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10331 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10332 (gst_subbuffer_finalize), (gst_buffer_create_sub),
10333 (gst_buffer_is_span_fast), (gst_buffer_span):
10334 Init _type for consistency.
10335 Use _FLAGS macro to avoid type check.
10336 Avoid unneeded type checks in subbufer code.
10338 2006-06-12 Wim Taymans <wim@fluendo.com>
10340 * gst/gst.c: (gst_debug_help):
10341 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10342 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10343 (gst_plugin_feature_list_free):
10344 * gst/gstregistry.c: (gst_registry_add_plugin),
10345 (gst_registry_add_feature), (gst_registry_plugin_filter),
10346 (gst_registry_feature_filter), (gst_registry_find_plugin),
10347 (gst_registry_find_feature), (gst_registry_get_plugin_list),
10348 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10349 * gst/gstregistryxml.c: (load_feature),
10350 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10351 * gst/gstminiobject.c: (gst_mini_object_unref),
10352 (gst_mini_object_replace), (gst_value_mini_object_free),
10353 (gst_value_mini_object_copy):
10354 Use _CAST macros to avoid unneeded type checking.
10355 Added some more G_UNLIKELY.
10357 2006-06-12 Wim Taymans <wim@fluendo.com>
10360 Avoid unneeded type checking.
10361 API: GST_BUFFER_IS_DISCONT
10363 * gst/gstminiobject.h:
10364 Avoid type check in flag accessor.
10366 * gst/gstelementfactory.h:
10368 * gst/gstpluginfeature.h:
10370 API: GST_ELEMENT_FACTORY_CAST
10371 API: GST_PLUGIN_CAST
10372 API: GST_PLUGIN_FEATURE_CAST
10374 2006-06-12 Wim Taymans <wim@fluendo.com>
10376 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10377 (gst_object_unref):
10378 Add G_UNLIKELY in type registration.
10379 Avoid type check in _ref/_unref since that is also
10382 2006-06-12 Wim Taymans <wim@fluendo.com>
10384 * gst/gsterror.c: (gst_g_error_get_type):
10385 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10386 (gst_static_pad_template_get_type):
10387 * gst/gsttaglist.c: (gst_tag_list_get_type):
10388 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10389 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10390 * gst/gsturi.c: (gst_uri_handler_get_type):
10391 * gst/gstvalue.c: (gst_date_get_type):
10392 * gst/gstxml.c: (gst_xml_get_type):
10393 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10394 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10395 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10396 Add G_UNLIKELY in type registration.
10398 2006-06-12 Wim Taymans <wim@fluendo.com>
10400 * tools/gst-inspect.c: (print_signal_info):
10401 Properly print enum values.
10403 2006-06-12 Wim Taymans <wim@fluendo.com>
10405 * gst/gstinfo.c: (gst_debug_set_active),
10406 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10408 Add some G_[UN]LIKELY.
10409 Maintain __gst_debug_min to avoid formatting the arguments of
10410 debug messages that will be dropped anyway to avoid a lot of
10411 overhead from the debugging system.
10413 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10416 * po/POTFILES.skip:
10417 add missing files containing translatable strings, tell intltool about
10420 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10422 * tests/check/libs/.cvsignore:
10423 add test-binary to ignore list
10425 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10427 * docs/libs/gstreamer-libs-docs.sgml:
10428 reorder (put dp into a chapter) and indent
10430 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10435 === release 0.10.8 ===
10437 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10440 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10442 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10444 * gst/gst.c: (init_post):
10445 move pid declaration to declaration block
10447 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10449 * gst/gst.c: (init_post):
10450 use _exit() instead of exit() in our forked child; this ensures
10451 that none of the registered exit handlers from whatever is using
10452 GStreamer get executed. This fixes gnome-mixer-applet failing
10453 to load, because ORBit would shut down.
10454 Spotted by: Edward Hervey <edward@fluendo.com>
10455 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
10458 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10463 === release 0.10.7 ===
10465 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10468 releasing 0.10.7, "Soepeke, ik zie ou"
10470 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
10493 * win32/common/config.h:
10494 0.10.6.2 prerelease
10496 2006-06-07 Wim Taymans <wim@fluendo.com>
10498 * gst/gstindex.c: (gst_index_gtype_resolver):
10499 * tools/gst-xmlinspect.c: (print_plugin_info):
10500 Fix leak spotted by coverity checker. Fixes #343827
10501 Fix another other leak found by paolo borelli.
10503 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10505 * libs/gst/dataprotocol/dataprotocol.c:
10506 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10507 (gst_dp_version_get_type), (gst_dp_init),
10508 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10509 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10510 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10511 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10512 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10513 (gst_dp_packetizer_free):
10514 * libs/gst/dataprotocol/dataprotocol.h:
10515 API: add a GstDPPacketizer object, and create/free functions
10516 API: add GstDPVersion enum
10517 Add 1.0 event function that uses the string serialization
10518 Serialize more useful buffer flags
10521 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10523 * tests/check/Makefile.am:
10524 * tests/check/gst/gstabi.c:
10525 * tests/check/gst/struct_ppc64.h:
10526 * tests/check/libs/libsabi.c:
10527 * tests/check/libs/struct_ppc64.h:
10528 add ppc64 structure sizes
10530 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10532 * tests/check/Makefile.am:
10533 * tests/check/gst/gstabi.c:
10534 * tests/check/gst/struct_x86_64.h:
10535 * tests/check/libs/libsabi.c:
10536 * tests/check/libs/struct_x86_64.h:
10537 generate and add structure size lists for x86_64
10539 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10541 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10542 * libs/gst/check/gstcheck.h:
10543 factor out the method from tests that checks size of structures,
10544 and add code to generate the header containing these sizes
10545 * tests/check/gst/gstabi.c: (GST_START_TEST):
10546 * tests/check/gst/struct_i386.h:
10547 * tests/check/libs/libsabi.c: (GST_START_TEST):
10548 * tests/check/libs/struct_i386.h:
10551 2006-06-06 Michael Smith <msmith@fluendo.com>
10553 * gst/gstsegment.h:
10554 Don't use c++-style comments, fixes #343929
10556 2006-06-05 Edward Hervey <edward@fluendo.com>
10559 plugin_paths is not used if we build without registry support.
10561 * gst/gstsegment.c: (gst_segment_copy):
10562 _copy() was always returning NULL...
10564 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10566 * libs/gst/dataprotocol/dataprotocol.c:
10567 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10568 (gst_dp_packet_from_event):
10569 factor out CRC code
10571 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10573 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10574 make sure we unset caps
10576 2006-06-02 Michael Smith <msmith@fluendo.com>
10578 * libs/gst/check/gstcheck.c: (gst_check_init),
10579 (gst_check_chain_func):
10580 * libs/gst/check/gstcheck.h:
10581 Add a cond/mutex to the check support lib, signal this whenever we
10582 add to the buffers list. This will allow tests to not busy-wait on
10585 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10587 * libs/gst/dataprotocol/dataprotocol.c:
10588 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10589 (gst_dp_packet_from_event):
10590 factor out some common header init code
10592 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10594 * docs/libs/gstreamer-libs-sections.txt:
10595 * docs/libs/tmpl/gstdataprotocol.sgml:
10596 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10597 * libs/gst/dataprotocol/dataprotocol.h:
10598 API: make gst_dp_crc() public
10600 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10602 * plugins/indexers/gstindexers.c: (plugin_init):
10603 conditionally register fileindexer (fixes #343598)
10605 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10607 * gst/gsttagsetter.h:
10608 Can't cast ifaces to a class
10610 * libs/gst/net/gstnetclientclock.h:
10611 * libs/gst/net/gstnettimeprovider.h:
10612 * plugins/elements/gstfakesink.h:
10613 * plugins/elements/gstfakesrc.h:
10614 * plugins/elements/gstfdsink.h:
10615 * plugins/elements/gstfdsrc.h:
10616 * plugins/elements/gstfilesink.h:
10617 * plugins/elements/gstfilesrc.h:
10618 * plugins/elements/gstidentity.h:
10619 * plugins/elements/gstqueue.h:
10620 * plugins/elements/gsttee.h:
10621 * plugins/indexers/gstfileindex.c:
10622 * plugins/indexers/gstmemindex.c:
10623 * tests/old/examples/plugins/example.h:
10624 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10626 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
10628 * libs/gst/dataprotocol/dataprotocol.c:
10629 (gst_dp_header_from_buffer):
10630 make sure we zero the whole ABI-compatible area
10632 2006-06-01 Wim Taymans <wim@fluendo.com>
10634 Patch by: Alessandro Decina <alessandro at nnva dot org>
10636 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10637 Make sure the EOS flag is cleared from pads after a flush
10638 or stop. Fixes #343538.
10640 * tests/check/libs/collectpads.c: (GST_START_TEST),
10641 (gst_collect_pads_suite):
10642 Added test for collectpads reusage after EOS.
10644 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
10647 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10648 * win32/common/libgstbase.def:
10649 export gst_collect_pads_set_flushing
10650 * win32/common/libgstreamer.def:
10651 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10652 gst_value_fraction_multiply
10653 * win32/vs6/gst_inspect.dsp:
10654 add a link to intl.lib
10656 2006-05-30 Wim Taymans <wim@fluendo.com>
10658 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10659 (gst_collect_pads_chain):
10660 Handle the case where a pad is removed from the collection
10661 that could cause the other pads to become collectable.
10663 2006-05-30 Wim Taymans <wim@fluendo.com>
10665 * gst/gstelement.c:
10666 Clarify the use of _release_request_pad() and
10667 _get_request_pad() a bit better.
10669 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10670 (gst_adapter_take_buffer):
10671 Fix some doc and comment typos.
10673 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10675 * docs/gst/gstreamer-sections.txt:
10676 * docs/libs/gstreamer-libs-sections.txt:
10677 add declared symbols
10679 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
10681 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10682 Add debug that can be enabled using a #define at the top of the file,
10683 for dumping stats about how late/early we were when waking up from
10684 waiting on the clock.
10686 2006-05-30 Wim Taymans <wim@fluendo.com>
10688 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10689 When rebuilding the pad list, don't leak the previous list.
10691 2006-05-30 Wim Taymans <wim@fluendo.com>
10693 Patch by: Lutz Mueller <lutz at topfrose dot de>
10695 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10696 (gst_base_src_get_query_types), (gst_base_src_update_length):
10697 Publish supported query types.
10698 Update last_stop field in get_range mode so the position
10699 query works. Fixes #342321.
10701 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
10703 * docs/gst/gstreamer-sections.txt:
10704 * gst/gsttaglist.c: (_gst_tag_initialize):
10705 * gst/gsttaglist.h:
10706 API: add GST_TAG_PREVIEW_IMAGE (#343341).
10708 2006-05-30 Wim Taymans <wim@fluendo.com>
10710 Patch by: Alessandro Decina <alessandro at nnva dot org>
10712 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10713 Unlock mutex when removing an unknown pad.
10716 * tests/check/Makefile.am:
10717 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10718 (push_event), (setup), (teardown), (GST_START_TEST),
10719 (gst_collect_pads_suite), (main):
10720 Added collecpads check, disabled for now as check crashes for
10723 2006-05-29 Wim Taymans <wim@fluendo.com>
10725 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10726 Don't leak pads lists.
10728 2006-05-29 Wim Taymans <wim@fluendo.com>
10730 * docs/libs/gstreamer-libs-sections.txt:
10731 * libs/gst/base/gstcollectpads.c:
10732 (gst_collect_pads_set_flushing_unlocked),
10733 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10734 (gst_collect_pads_stop):
10735 * libs/gst/base/gstcollectpads.h:
10736 API: gst_collect_pads_set_flushing()
10737 Added api to set the pads to flushing, useful for seeking
10738 code in elements using collectpads.
10739 Clear segment when receiving a flush.
10741 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
10743 * gst/gst.c: (add_path_func), (init_post):
10744 Don't scan registry paths passed via --gst-plugin-path immediately
10745 (will crash, because absolutely nothing is set up and no types are
10746 registered etc.); do this later in init_post(). Fixes #343057.
10748 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
10750 * gst/gst.c: (init_post):
10751 if we have fork, fork while reading/rebuilding the registry
10752 so the parent doesn't take the hit of having all plugins loaded
10753 in memory. Fixes #342777.
10755 Check if we have fork()
10756 * win32/common/config.h.in:
10759 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10761 * plugins/elements/gstelements.c:
10762 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10763 (gst_file_src_init), (gst_file_src_set_property),
10764 (gst_file_src_get_property), (gst_file_src_start):
10765 * plugins/elements/gstfilesrc.h:
10766 API: GstFileSrc::use-mmap
10768 Add a use-mmap property to enable easier testing of all code paths.
10769 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10770 in the absence of gnomevfssrc. (Closes #340501)
10772 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10774 * tools/gst-inspect.c:
10775 Add missing include, removes warning of ngettext not being defined on
10778 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10780 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10781 Handle NULL input and output pointers silently as a failed conversion,
10782 rather than g_warnings.
10784 2006-05-25 Wim Taymans <wim@fluendo.com>
10786 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10787 Initialize variable before using. Fixes #342820.
10789 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
10791 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10792 Fix off-by-one bug that would only allow peeks of N-1 bytes
10793 from the start even if the buffer to typefind on contains
10794 in fact N bytes of data (makes vorbis typefinding from a
10795 vorbis identification header buffer work).
10797 * tests/check/Makefile.am:
10798 * tests/check/libs/.cvsignore:
10799 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10800 (gst_typefindhelper_suite), (main), (foobar_typefind),
10802 Add very basic unit test for gst_type_find_helper_for_buffer()
10803 that checks for the problem fixed above.
10805 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
10807 * tools/gst-inspect.c: (print_interfaces),
10808 (print_element_properties_info), (print_element_list), (main):
10809 add more translatable strings
10811 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
10813 Patch by: Julien Moutte <julien at moutte net>
10815 * docs/gst/gstreamer-sections.txt:
10816 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10818 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10819 (gst_fake_sink_preroll):
10820 * plugins/elements/gstfakesink.h:
10821 API: Add new GstFakeSink::preroll-handoff signal (#337100).
10823 2006-05-23 Wim Taymans <wim@fluendo.com>
10825 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10827 Added _CUSTOM error and success GstFlowReturn that can be
10828 used be elements internally.
10829 Added macro to check for SUCCESS flowreturns.
10830 API: GST_FLOW_CUSTOM_SUCCESS
10831 API: GST_FLOW_CUSTOM_ERROR
10832 API: GST_FLOW_IS_SUCCESS
10834 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10835 Added check for GstFlowReturn sanity.
10837 2006-05-23 Wim Taymans <wim@fluendo.com>
10839 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10841 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10842 (gst_collect_pads_event):
10843 clear/reset segment info in FLUSH_STOP.
10846 2006-05-22 Stefan Kost <ensonic@users.sf.net>
10848 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10849 (gst_collect_pads_check_collected):
10850 Flush queued buffer on _stop(), fixes playing again (#342454)
10852 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
10854 * tests/check/gst/gststructure.c: (GST_START_TEST),
10855 (gst_structure_suite):
10856 add a test for a complete structure
10858 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10860 * docs/faq/developing.xml:
10861 * docs/faq/faq.xml:
10862 * docs/faq/troubleshooting.xml:
10863 * docs/faq/using.xml:
10864 Some minor FAQ updates that won't change the fact that
10865 our FAQ is badly structured, full of information hardly
10866 anyone new to GStreamer needs to know and lacking lots
10867 of information people constantly ask for.
10869 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
10871 * gst/gstpad.c: (gst_pad_set_caps):
10872 Short-circuit gst_pad_set_caps if setting the existing
10873 caps pointer again, and avoid printing debug and
10874 reffing/unreffing the caps.
10876 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10877 There's actually no need to set the caps before pushing -
10878 the acceptcaps method will handle it anyway.
10880 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10882 * docs/gst/gstreamer-sections.txt:
10883 * win32/common/libgstreamer.def:
10884 * gst/gstutils.c: (gst_element_seek_simple):
10886 API: add gst_element_seek_simple() (#342238).
10888 2006-05-18 Edward Hervey <edward@fluendo.com>
10890 * gst/gsttypefind.c: (gst_type_find_get_type):
10891 * gst/gsttypefind.h:
10892 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10893 registered for GstTypeFind pointers. This allows wrapping the structure
10894 in bindings (i.e. gst-python).
10896 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10898 * gst/gsttagsetter.c:
10899 Docs additions and fixes (see #339918).
10901 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10903 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10904 The caps intersection algorithm can produce multiple copies of the
10905 caps. Until that is fixed, we need to simplify the result to be
10906 sure whether the allowed caps are fixed or not.
10908 * plugins/elements/gstqueue.c: (gst_queue_init),
10909 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10910 (gst_queue_push_one):
10911 Proxied buffer alloc should not set the caps on the source pad.
10912 When pushing buffers, we always accept the caps change that triggers.
10913 This prevents negotiation errors caused by caps changing mid-stream
10914 and then being refused on our source pad (because upstream is now
10915 refusing those caps).
10917 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10919 * tests/examples/helloworld/helloworld.c: (main):
10920 Must plug audioconvert and audioresample between decoder
10923 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
10925 * gst/gstregistryxml.c: (read_string), (load_pad_template),
10926 (load_feature), (load_plugin):
10927 Allow empty strings for some of the plugin fields so we don't
10928 drop valid plugin entries that were written out correctly
10931 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
10933 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10934 Use g_remove and g_rename instead of remove and rename that don't
10935 handle utf8 characters. rename was failing for users who had specific
10936 characters in their name then the registry was built at each
10938 * win32/vs6/gst_inspect.dsp:
10939 * win32/vs6/gst_launch.dsp:
10940 * win32/vs6/libgstbase.dsp:
10941 * win32/vs6/libgstcoreelements.dsp:
10942 * win32/vs6/libgstreamer.dsp:
10943 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
10944 build of libgstreamer and clean unused libraries in projects link
10947 2006-05-17 Edward Hervey <edward@fluendo.com>
10949 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10950 The queue is not responsible for pushing an EOS when receiving a fatal
10951 flow error. It's up to the real element driving the pipeline to do that.
10953 2006-05-16 Edward Hervey <edward@fluendo.com>
10955 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10956 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10957 buffer returned a fatal error. It should just send an EOS and stop
10959 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10960 when pushing buffers on the queue and will be able to handle the event.
10962 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
10964 * docs/manual/basics-bins.xml:
10965 * docs/manual/basics-init.xml:
10966 Fix typos and minor errors in sample code (#341856).
10968 2006-05-16 Wim Taymans <wim@fluendo.com>
10970 * docs/design/part-qos.txt:
10971 Fix indexes in formulas to make more sense.
10973 2006-05-15 Wim Taymans <wim@fluendo.com>
10975 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10976 Don't report POSITION based on clock time if sync is
10977 disabled in a sink.
10979 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
10982 Add cast to make compiler happy - refcount variable was a gint
10983 in GstObject but is a guint in GObject and g_atomic_int_get()
10986 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
10988 * gst/parse/Makefile.am:
10989 chain commands using &&, which also makes parallel make work
10991 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
10993 * docs/gst/gstreamer-sections.txt:
10996 * gst/gstmessage.h:
10999 === release 0.10.6 ===
11001 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
11004 releasing 0.10.6, "Take the cannoli"
11006 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
11008 * tools/gst-launch.c: (print_tag):
11009 Fix use of uninitialized variable in the hypothetical
11010 case that some broken plugin creates a GST_TAG_IMAGE
11011 tag containing a NULL buffer (#341667).
11013 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
11015 * tools/gst-launch.c: (print_tag):
11016 Print something more intelligible for image tags when
11017 using the -t switch (#341556).
11019 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
11024 define GST_MAJORMINOR so we have it available in win32/common/config.h
11025 Possibly remove it from our Makefile.am files later
11026 * win32/common/config.h:
11027 * win32/common/config.h.in:
11028 added GST_MAJORMINOR
11029 * win32/common/gstenumtypes.c: (register_gst_resource_error):
11030 * win32/common/gstversion.h:
11033 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
11036 Update win32 files listing.
11037 * win32/common/gstversion.h:
11038 Add GST_MAJORMINOR definition.
11039 * win32/common/libgstreamer.def:
11040 Add new exported functions.
11042 2006-05-12 Michael Smith <msmith@fluendo.com>
11044 * gst/gstplugin.c: (gst_plugin_load_file):
11045 If an so file has no plugin entry point, unload the module.
11047 2006-05-11 Wim Taymans <wim@fluendo.com>
11049 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11050 (gst_queue_set_property):
11051 Don't forget to signal the _chain or _loop function
11052 when the queue size or thresholds change since that might
11053 cause them to make progres again.
11055 2006-05-11 Stefan Kost <ensonic@users.sf.net>
11057 * gst/gstclock.c: (gst_clock_class_init):
11058 * gst/gstindex.c: (gst_index_class_init):
11059 * gst/gstobject.c: (gst_object_class_init):
11060 * gst/gstpad.c: (gst_pad_class_init):
11061 * gst/gstpipeline.c: (gst_pipeline_class_init):
11062 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11063 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11064 * libs/gst/base/gstbasetransform.c:
11065 (gst_base_transform_class_init):
11066 * libs/gst/net/gstnetclientclock.c:
11067 (gst_net_client_clock_class_init):
11068 * libs/gst/net/gstnettimeprovider.c:
11069 (gst_net_time_provider_class_init):
11070 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11071 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11072 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11073 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11074 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11075 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11076 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11077 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11078 * plugins/elements/gsttee.c: (gst_tee_class_init):
11079 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11080 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11081 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11083 2006-05-11 Wim Taymans <wim@fluendo.com>
11085 * gst/gstbuffer.c: (_gst_buffer_initialize):
11086 Register subbufer along with the buffer type so that
11087 it does not accidentally gets registered from N
11088 different streaming threads in a non threadsafe way.
11090 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11094 * gst/gstmessage.h:
11095 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11096 gst_event_ref() and gst_message_ref() functions again
11097 (ugly hack, please do fix if there's a better way besides
11098 overrides.txt, which doesn't seem to work).
11100 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11102 * libs/gst/check/gstcheck.h:
11103 add an assert for setting state to avoid lots of repetitive code
11106 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11108 * gst/gstvalue.c: (gst_value_serialize_flags):
11109 fix a leak if no flags are set
11110 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11113 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11115 * docs/manual/basics-pads.xml:
11116 Expand a bit on caps and filtered links and update
11117 examples that were still using the no longer existing
11118 gst_pad_link_filtered() (#338206).
11120 2006-05-10 Wim Taymans <wim@fluendo.com>
11122 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11123 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11124 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11125 (gst_collect_pads_stop):
11126 * libs/gst/base/gstcollectpads.h:
11127 No need to call _stop in _finalize.
11128 Iterate the main pad list in _finalize.
11129 Added some more debug.
11130 Free lists and data in the right order.
11131 Also free data whem doing _remove_pad when stopped for
11132 backward compatibility protect ::started with PAD_LOCK as
11135 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11137 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11138 (gst_structure_parse_value):
11140 rename a method so that it actually says what it does better
11142 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11144 * gst/gstevent.c: (_gst_event_initialize):
11145 * gst/gstformat.c: (_gst_format_initialize):
11146 make sure some essential types used by events are registered
11147 as part of gst_init()
11148 * gst/gstvalue.c: (gst_value_serialize_flags):
11149 if no flags are set, serialize them to a value that represents NONE
11150 so that deserializing them works
11151 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11152 add tests for serialization and deserialization of flags
11154 2006-05-10 Wim Taymans <wim@fluendo.com>
11156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11157 (gst_collect_pads_collect_range), (gst_collect_pads_available),
11158 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11159 (gst_collect_pads_event), (gst_collect_pads_chain):
11162 Catch and return errors from the collect function
11163 Refuse data on eos pads.
11165 2006-05-10 Edward Hervey <edward@fluendo.com>
11167 * gst/gstinterface.h:
11168 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11169 GInterface type checking.
11170 They were previously using non-defined macros.
11172 2006-05-09 Wim Taymans <wim@fluendo.com>
11174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11175 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11176 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11177 (gst_collect_pads_start), (gst_collect_pads_stop),
11178 (gst_collect_pads_peek), (gst_collect_pads_pop),
11179 (gst_collect_pads_available), (gst_collect_pads_read),
11180 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11181 (gst_collect_pads_is_collected), (gst_collect_pads_event),
11182 (gst_collect_pads_chain):
11183 * libs/gst/base/gstcollectpads.h:
11184 Clean up the mess that is collectpads, add comments and
11185 FIXMEs where needed.
11186 Maintain a separate pad list so we can add pads while
11187 collecting the other ones. For this we need a new separate
11189 Fix memory leak in finalize.
11190 Refactor some weird code to set/unset pad flushing flags, mark
11192 Don't crash in _available, _read, _flush when we're EOS.
11194 * tests/check/libs/.cvsignore:
11195 Ignore adapter check binary.
11197 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11199 * gst/gstindex.c: (gst_index_resolver_get_type):
11200 * plugins/elements/gstfakesink.c:
11201 (gst_fake_sink_state_error_get_type):
11202 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11203 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11204 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11205 Const-ify GEnumValue arrays.
11207 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11209 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11210 Add test case for flags + gst_buffer_make_metadata_writable().
11212 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11214 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11215 gst_buffer_make_metadata_writable() should maintain the
11216 buffer flags (those that make sense at least) (see #340859).
11218 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11220 * tools/gst-inspect.c:
11221 * tools/gst-launch.c:
11222 * tools/gst-typefind.c:
11223 * tools/gst-xmlinspect.c:
11225 Fix up includes: need to include stdlib.h in tools.h for exit().
11227 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11229 * gst/gsttaglist.c: (_gst_tag_initialize):
11230 * gst/gsttaglist.h:
11231 API: add GST_TAG_IMAGE tag (#340721).
11233 2006-05-08 Wim Taymans <wim@fluendo.com>
11236 Added some docs for the segment query.
11238 2006-05-08 Wim Taymans <wim@fluendo.com>
11240 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11241 (gst_base_src_loop), (gst_base_src_change_state):
11242 Always push non-flushing serialized events in the streaming
11245 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
11247 * gst/gsterror.c: (_gst_stream_errors_init):
11248 Add a missing error string.
11250 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
11252 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11253 Add applied_rate to the debug
11255 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11256 Copy applied_rate into the outgoing NEWSEGMENT event
11258 2006-05-08 Wim Taymans <wim@fluendo.com>
11260 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11262 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11263 (gst_base_sink_change_state):
11264 call ::unlock before taking the PREROLL_LOCK so we can safely
11265 handle elements that lock in ::render.
11268 2006-05-08 Edward Hervey <edward@fluendo.com>
11270 * autogen.sh: (CONFIGURE_DEF_OPT):
11271 Darwin's libtoolize is in fact called glibtoolize.
11272 Adding glibtoolize to the list of accepted names for libtoolize.
11274 2006-05-08 Wim Taymans <wim@fluendo.com>
11276 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11277 Unify error handling, don't post an error message
11278 when a push() returns EOS but perform our normal EOS
11279 handling code. Fixes #340772.
11281 2006-05-08 Wim Taymans <wim@fluendo.com>
11283 * docs/design/part-overview.txt:
11284 Make upsteam/downstream concepts more clear.
11285 Give an example of serialized/non-serialized events.
11287 * docs/design/part-events.txt:
11288 * docs/design/part-streams.txt:
11289 Mention applied_rate.
11291 * docs/design/part-trickmodes.txt:
11292 Mention applied rate, flesh out some more use cases.
11294 * gst/gstevent.c: (gst_event_new_new_segment),
11295 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11296 (gst_event_parse_new_segment_full), (gst_event_new_tag),
11297 (gst_event_parse_tag), (gst_event_new_buffer_size),
11298 (gst_event_parse_buffer_size), (gst_event_new_qos),
11299 (gst_event_parse_qos), (gst_event_parse_seek),
11300 (gst_event_new_navigation):
11302 Add applied_rate field to NEWSEGMENT event.
11303 API: gst_event_new_new_segment_full()
11304 API: gst_event_parse_new_segment_full()
11306 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11307 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11308 (gst_segment_to_stream_time), (gst_segment_to_running_time):
11309 * gst/gstsegment.h:
11310 Add applied_rate to GstSegment structure.
11311 Make calculation of stream_time and running_time more correct
11312 wrt rate/applied_rate.
11313 Add some more docs.
11314 API: GstSegment::applied_rate field
11315 API: gst_segment_set_newsegment_full();
11317 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11318 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11319 * libs/gst/base/gstbasetransform.c:
11320 (gst_base_transform_sink_eventfunc),
11321 (gst_base_transform_handle_buffer):
11322 Parse and use applied_rate in the GstSegment field.
11324 * tests/check/gst/gstevent.c: (GST_START_TEST):
11325 Add check for applied_rate field.
11327 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11328 (gstsegments_suite):
11329 Add more checks for various GstSegment operations.
11331 2006-05-08 Wim Taymans <wim@fluendo.com>
11333 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11334 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11335 (gst_base_sink_get_position), (gst_base_sink_change_state):
11336 Store the sync time of the buffer end position separatly in a
11337 new variable eos_rtime so we can properly sync the EOS event.
11339 Fix the docs for gst_base_sink_set_qos_enabled().
11340 Don't set segment start to invalid value when we receive a
11341 non TIME newsegment.
11342 get closer to handling position reporting for negative rates
11345 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11348 Docs about how to print caps for debug purposes.
11350 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11351 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11353 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11355 * gst/gstelement.c:
11356 use full enum names and preprend a '%' in docs strings to make recent
11357 gtk-doc turn that into a link
11359 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11361 * docs/manual/basics-bins.xml:
11362 * docs/manual/basics-bus.xml:
11363 * docs/manual/basics-pads.xml:
11364 Some typo fixes, some additions, some clarifications.
11366 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11368 * tools/gst-inspect.c: (main):
11369 * tools/gst-launch.c: (main):
11370 * tools/gst-run.c: (main):
11371 * tools/gst-typefind.c: (main):
11372 * tools/gst-xmlinspect.c: (main):
11373 Use the string passed to g_option_context_new() for
11374 what it's intended for - the program name is already
11377 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11379 * tools/Makefile.am:
11380 * tools/gst-inspect.c: (main):
11381 * tools/gst-launch.c: (main):
11382 * tools/gst-xmlinspect.c: (main):
11384 Add back --version command line option (#340460).
11386 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11387 Add --version option and use GOption for argument parsing; refactor a
11388 bit; accept directories as arguments and recurse into them; lastly,
11389 print a decent error message when things go wrong.
11391 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11393 * docs/manual/basics-bins.xml:
11394 Don't mention GstThread (#340611)
11395 * docs/manual/basics-elements.xml:
11396 Update link to GObject tutorial (#340607)
11398 2006-05-05 Wim Taymans <wim@fluendo.com>
11401 * gst/gstminiobject.c:
11402 Add note about refcounting and miniobject/buffer writeability
11403 to docs. Fixes #340604
11405 * gst/gstelementfactory.h:
11406 Added some explanation about @klass.
11408 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11410 * docs/manual/intro-motivation.xml:
11411 * docs/manual/manual.xml:
11412 Avoid CORBA & Bonobo references (#340598)
11414 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11416 * docs/manual/basics-bus.xml:
11417 * docs/manual/basics-pads.xml:
11418 Fix up some inaccuracies and omissions (#340609)
11420 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11422 * gst/gstghostpad.c:
11423 Small typo in docs (#340625)
11425 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11427 * gst/parse/Makefile.am:
11428 Make 'make -j' proof (see #340698).
11430 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11433 Require GLib-2.8 here as well.
11435 2006-05-05 Wim Taymans <wim@fluendo.com>
11437 * gst/glib-compat.c:
11438 * gst/gst.c: (init_pre):
11439 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11440 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11441 (gst_object_dispatch_properties_changed):
11443 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11444 * gst/gststructure.c: (gst_structure_set_valist):
11445 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11446 Remove pre glib2.8 compatibility, fixes #340508
11448 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11450 * gst/gsttaglist.h:
11451 Mention type of tags in doc blurbs.
11453 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
11455 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11456 (gst_pad_configure_src), (gst_pad_push):
11457 Restore acceptcaps checking behaviour now that good plugins have
11460 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11462 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11469 * gst/gstmessage.c:
11473 * gst/parse/Makefile.am:
11474 * libs/gst/base/gstadapter.c:
11475 * libs/gst/base/gstbasesrc.c:
11476 * libs/gst/base/gstpushsrc.c:
11477 * libs/gst/base/gsttypefindhelper.c:
11478 * plugins/elements/gstfakesrc.c:
11479 * plugins/elements/gstidentity.c:
11480 Make sure gstprivate.h and/or config.h are
11481 always included first, otherwise some of our
11482 defines (like _FILE_OFFSET_BITS) might be
11483 redefined in the system headers. Fixes build
11484 on opensolaris (#340016).
11486 2006-05-04 Wim Taymans <wim@fluendo.com>
11488 * docs/libs/gstreamer-libs-sections.txt:
11489 API: addition: gst_adapter_take_buffer()
11491 * libs/gst/base/gstadapter.c: (gst_adapter_push),
11492 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11493 (gst_adapter_available_fast):
11494 * libs/gst/base/gstadapter.h:
11495 Prepare for optimizing the hell out of this hugely inefficient
11497 Added gst_adapter_take_buffer() so we can at least start thinking
11498 about subbuffering and merging.
11499 Added some comments.
11501 * tests/check/Makefile.am:
11502 * tests/check/libs/adapter.c: (GST_START_TEST),
11503 (gst_adapter_suite), (main):
11504 Added GstAdapter check.
11506 2006-05-04 Wim Taymans <wim@fluendo.com>
11508 * docs/design/part-overview.txt:
11509 Fix some typos, add blurb about buffer flags.
11511 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11513 * docs/libs/gstreamer-libs-sections.txt:
11514 make sure GstBaseTransformClass shows up in the docs
11515 * libs/gst/base/gstbasetransform.c:
11516 * libs/gst/base/gstbasetransform.h:
11517 move docs so gtk-doc picks it up now
11519 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11521 * docs/libs/gstreamer-libs-sections.txt:
11522 add missing symbols to docs
11524 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11526 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11527 back out the newsegment handling change, see #340060 for ongoing
11530 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
11532 * tools/gst-run.c: (get_candidates), (main):
11533 Fix wrong g_file_test() usage (see glib docs for why it doesn't
11534 work); fix typo in error message. Fixes #340079.
11536 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11538 * common/Makefile.am:
11539 * docs/Makefile.am:
11540 * docs/faq/Makefile.am:
11541 * docs/gst/Makefile.am:
11542 * docs/libs/Makefile.am:
11543 * docs/manual/Makefile.am:
11544 * docs/plugins/Makefile.am:
11545 * docs/pwg/Makefile.am:
11546 * docs/slides/Makefile.am:
11548 * common/upload.mak:
11549 move upload.mak to common
11551 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11553 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11554 add more asserts on refcounts
11555 do more cleanup at end of tests
11556 fix test leaks showing in FC5
11558 2006-04-29 Stefan Kost <ensonic@users.sf.net>
11560 * plugins/elements/gsttypefindelement.c:
11561 (gst_type_find_element_handle_event):
11562 reverted wrong change and reflowed code to avoid others falling into
11565 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11567 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11568 fix changelog entry about last collectpads change,
11569 add notes about proper fix
11571 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11574 * gst/gstregistry.c: (gst_registry_scan_path_level),
11575 (gst_registry_scan_path):
11576 * gst/gstregistry.h:
11577 only write out registry if it has changed, fixes #338339
11579 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11582 * gst/gstpipeline.c:
11583 * plugins/elements/gstcapsfilter.c:
11584 * plugins/elements/gstfakesink.c:
11585 * plugins/elements/gstfakesrc.c:
11586 * plugins/elements/gstfdsink.c:
11587 * plugins/elements/gstfdsrc.c:
11588 * plugins/elements/gstfilesink.c:
11589 * plugins/elements/gstfilesrc.c:
11590 * plugins/elements/gstidentity.c:
11591 * plugins/elements/gstqueue.c:
11592 * plugins/elements/gsttee.c:
11593 * plugins/elements/gsttypefindelement.c:
11594 (gst_type_find_element_handle_event):
11595 make GstElementDetails const
11597 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11599 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11600 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11601 (gst_collect_pads_is_collected), (gst_collect_pads_event):
11602 more detailed debug and formatting cleanup,
11603 forward newsegments to src-pad (so that e.g. adder not eats them)
11605 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11607 * gst/gstutils.c: (gst_element_link_pads):
11608 cleanup double code
11610 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11612 * libs/gst/controller/gstcontroller.c:
11613 (gst_controller_sync_values):
11615 * tests/check/libs/controller.c: (GST_START_TEST),
11616 (gst_controller_suite):
11617 a new test for live value handling
11619 2006-04-28 Wim Taymans <wim@fluendo.com>
11621 * gst/gstutils.c: (push_and_ref):
11622 Added some more docs.
11623 Fix refcount issue whith gst_element_found_tags() helper
11624 function. Fixes #338335
11626 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11627 Added testsuite for gst_element_found_tags().
11629 2006-04-28 Michael Smith <msmith@fluendo.com>
11631 * gst/gstvalue.c: (gst_value_serialize_flags):
11632 Avoid NULL dereference when trying to serialize flags containing
11635 2006-04-28 Michael Smith <msmith@fluendo.com>
11637 * plugins/elements/gsttypefindelement.c:
11638 (gst_type_find_element_handle_event):
11639 If we get EOS before any data is accumulated, don't use
11640 uninitialised local variables.
11642 2006-04-28 Michael Smith <msmith@fluendo.com>
11644 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11645 (gst_dp_event_from_packet):
11646 Fixes in reading/writing events over GDP (not currently used?) -
11647 dereferencing NULL events for unknown/invalid event types, memory
11648 leak, and change g_warning to GST_WARNING.
11650 2006-04-28 Wim Taymans <wim@fluendo.com>
11652 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11653 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11654 (gst_base_sink_get_position), (gst_base_sink_change_state):
11655 When frame dropping is enabled, we should not ignore frames
11656 without a duration.
11657 Update some documentation.
11659 2006-04-28 Wim Taymans <wim@fluendo.com>
11661 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11662 (gst_base_src_send_event), (gst_base_src_change_state):
11663 Documentation updates.
11665 2006-04-28 Wim Taymans <wim@fluendo.com>
11667 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11668 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11669 handle EAGAIN, EINTR and short writes correctly. Also clean
11670 up some error cases, avoid a deadlock on bad file descriptors and
11671 use GST_DEBUG_OBJECT.
11674 2006-04-28 Wim Taymans <wim@fluendo.com>
11676 * gst/gstvalue.c: (gst_value_serialize_buffer),
11677 (gst_value_deserialize_buffer):
11678 Don't try to serialize a GValue with a NULL buffer.
11681 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11682 Added check for serialisation of NULL buffers.
11684 2006-04-28 Wim Taymans <wim@fluendo.com>
11686 * gst/gstminiobject.c: (gst_value_take_mini_object):
11687 Taking a NULL miniobject is valid, fix the case where
11688 we try to unref the NULL miniobject.
11690 2006-04-28 Wim Taymans <wim@fluendo.com>
11692 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11694 * gst/gstbin.c: (gst_bin_handle_message_func):
11696 Don't leak bin refcount when a state recalc is
11697 in progress and we delay another one #339808.
11699 2006-04-28 Wim Taymans <wim@fluendo.com>
11701 * docs/design/part-TODO.txt:
11702 Mention QoS as an ongoing work item.
11704 * docs/design/part-buffering.txt:
11705 New doc about buffering that needs to be fleshed out
11708 * docs/design/part-qos.txt:
11709 More QoS policy for decoders/demuxers/transforms
11711 * docs/design/part-trickmodes.txt:
11714 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11719 === release 0.10.5 ===
11721 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11724 releasing 0.10.5, "Fogo"
11726 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
11728 patch by: Wim Taymans
11730 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11731 (gst_pad_configure_src), (gst_pad_push):
11732 * gst/gstpipeline.c: (gst_pipeline_init):
11733 Fix internal data flow errors. Fixes #338711.
11735 2006-04-12 Wim Taymans <wim@fluendo.com>
11737 * tests/check/gst/gstelement.c: (GST_START_TEST):
11738 Don't leak the factory.
11740 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
11743 * win32/common/config.h:
11746 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
11748 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11749 (gst_controller_unset_all):
11750 Free allocated GstTimedValues when freeing list nodes.
11751 Should fix leaks 'make check-valgrind' complains about.
11753 * win32/common/libgstcontroller.def:
11754 Add gst_controller_unset_all.
11756 2006-04-11 Stefan Kost <ensonic@users.sf.net>
11758 * docs/libs/gstreamer-libs-sections.txt:
11759 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11760 (gst_controller_unset_all):
11761 * libs/gst/controller/gstcontroller.h:
11762 API: Added new method gst_controller_unset_all()
11763 fixed gst_controller_unset()
11764 * tests/check/libs/controller.c: (GST_START_TEST),
11765 (gst_controller_suite):
11766 Added two testcases for new and fixed method
11768 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
11770 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11771 MSG_DONTWAIT is not defined on Cygwin, so work
11772 around that (fixes #317048).
11774 2006-04-11 Wim Taymans <wim@fluendo.com>
11776 * gst/gstelementfactory.c: (gst_element_register),
11777 (gst_element_factory_create), (gst_element_factory_make):
11780 Updated docs (Fixes #131079)
11782 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11785 * tests/check/gst/gstelement.c: (GST_START_TEST),
11786 (gst_element_suite):
11787 Added testcase for elementfactory class field.
11789 2006-04-10 Wim Taymans <wim@fluendo.com>
11791 * gst/gstsegment.c:
11792 Added some more docs.
11794 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11795 (gst_base_sink_reset_qos):
11796 Calculate more accurate rate values.
11798 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
11800 * gst/gst_private.h:
11801 add a new #ifdef to use __declspec(dllimport) only for
11802 other modules and not for gstreamer core
11803 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11804 use gst_guint64_to_gdouble for conversion
11805 * win32/common/libgstreamer.def:
11806 add new exported functions
11807 * win32/vs6/gst_inspect.dsp:
11808 * win32/vs6/gst_launch.dsp:
11809 * win32/vs6/libgstbase.dsp:
11810 * win32/vs6/libgstcontroller.dsp:
11811 * win32/vs6/libgstcoreelements.dsp:
11812 * win32/vs6/libgstdataprotocol.dsp:
11813 * win32/vs6/libgstnet.dsp:
11814 update project files
11816 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11818 * gst/gstbuffer.c: (gst_subbuffer_class_init):
11819 * gst/gstclock.c: (gst_clock_class_init):
11820 * gst/gstelement.c: (gst_element_class_init):
11821 * gst/gstindex.c: (gst_index_class_init):
11822 * gst/gstindexfactory.c: (gst_index_factory_class_init):
11823 * gst/gstobject.c: (gst_object_class_init),
11824 (gst_signal_object_class_init):
11825 * gst/gstpad.c: (gst_pad_class_init):
11826 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11827 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11828 * gst/gstregistry.c: (gst_registry_class_init):
11829 * gst/gstsystemclock.c: (gst_system_clock_class_init):
11830 * gst/gsttask.c: (gst_task_class_init):
11831 * gst/gstxml.c: (gst_xml_class_init):
11832 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11833 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11834 (gst_base_src_loop):
11835 * libs/gst/controller/gstcontroller.c:/
11836 (_gst_controller_class_init):
11837 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11838 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11839 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11840 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11841 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11842 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11844 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
11846 * gst/gstpad.c: (gst_pad_link):
11847 Must set peer pads before calling the link function, otherwise
11848 a task started from a link function might get a flow-not-linked
11849 result when trying to push because the other thread where the
11850 linking happens hasn't had a chance to set the peers yet. This
11851 might happen for example when a queue gets linked to a downstream
11852 element, as queue starts a streaming task when its source pad
11853 gets linked. Happens in real life when playing back flac/musepack
11854 files in playbin (#332390).
11856 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11860 * libs/gst/base/gstadapter.h:
11861 * libs/gst/base/gstbasesink.h:
11862 * libs/gst/base/gstbasesrc.h:
11863 * libs/gst/base/gstbasetransform.h:
11864 * libs/gst/base/gstcollectpads.h:
11865 * libs/gst/base/gstpushsrc.h:
11866 Fix broken GObject macros
11868 2006-04-07 Wim Taymans <wim@fluendo.com>
11870 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11871 Initialize start and stop times, thanks valgrind.
11873 2006-04-07 Wim Taymans <wim@fluendo.com>
11875 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11876 Be a bit nicer to badly behaving upstream elements that expect
11877 us to deal with non TIME segments and timestamps (such as fakesrc
11880 2006-04-07 Wim Taymans <wim@fluendo.com>
11883 Small documentation clarification about the signal watch.
11885 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11886 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11887 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11888 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11889 (gst_base_sink_get_position_last),
11890 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11891 Convert and store timestamps in stream time and running time, the
11892 raw timestamps are not useful, also document this better.
11893 Use different window sizes for good and bad QoS observations so
11894 we react to badness a little quicker.
11895 Keep track of the amount of rendered and dropped buffers.
11896 Send QoS timestamps in running time.
11898 * libs/gst/base/gstbasetransform.c:
11899 (gst_base_transform_sink_eventfunc),
11900 (gst_base_transform_handle_buffer):
11901 Compare QoS timestamps against running time.
11903 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11906 Typo fixes in docs.
11908 2006-04-06 Michael Smith <msmith@fluendo.com>
11910 * gst/gstpad.c: (gst_pad_set_property):
11911 Use g_value_get_object() instead of g_value_dup_gst_object(),
11912 to avoid double-reffing the pad template (which we then sink,
11913 so this worked previously if (and only if) the pad template
11916 * gst/gstpadtemplate.c: (gst_pad_template_init),
11917 (gst_pad_template_pad_created):
11918 Never return floating references to pad templates, create
11919 them as initially-sunken.
11921 Document an extra function (and make this stop sinking our
11922 pad template, since that is now guaranteed to do nothing,
11923 since we created it sunken).
11925 * gst/gstghostpad.c:
11928 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11930 * gst/gstinfo.c: (__gst_in_valgrind):
11933 * plugins/elements/gsttypefindelement.c:
11934 (gst_type_find_element_chain):
11935 Don't leak buffer caps.
11937 2006-04-06 Michael Smith <msmith@fluendo.com>
11939 * gst/parse/grammar.y:
11940 Fix a leak in parse-launch for any source-or-sink named element
11943 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11944 Unref the pipeline if it exists after we've failed parsing.
11946 2006-04-05 Michael Smith <msmith@fluendo.com>
11948 * gst/gstpipeline.c: (gst_pipeline_init):
11949 When we create a pipeline bus, initially create it in flushing mode.
11950 Fixes leaks in at least one test, and makes a new pipeline work the
11951 same as one that has gone to READY and then back to NULL.
11953 * gst/gstelement.c:
11956 2006-04-05 Michael Smith <msmith@fluendo.com>
11958 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11959 Unref a pad we reffed.
11960 * tests/check/gst/gstutils.c: (GST_START_TEST):
11963 2006-04-05 Michael Smith <msmith@fluendo.com>
11965 * gst/gstquery.c: (gst_query_set_formats),
11966 (gst_query_set_formatsv):
11967 Fix leaking GValues in queries, as shown by valgrind/testsuite.
11969 2006-04-05 Michael Smith <msmith@fluendo.com>
11971 * tests/check/generic/sinks.c: (GST_START_TEST):
11972 Fix a variety of memleaks in sinks check, which are only sometimes
11973 shown by running the tests under valgrind (weird?).
11975 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
11977 * docs/version.entities.in:
11978 Fix the substituted entity name after thomas' changes on the
11981 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11983 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11986 2006-04-05 Andy Wingo <wingo@pobox.com>
11988 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11990 * libs/gst/base/gstbasetransform.c
11991 (gst_base_transform_sink_eventfunc): When resetting our segment on
11992 FLUSH_STOP, also update the flag saying we haven't seen a
11995 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11997 Patch by: Paolo Borelli <pborelli at katamail dot com>
11999 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12000 (gst_plugin_check_license):
12001 minor clean-ups: G_DEFINE_TYPE already takes care of the
12002 parent_class stuff, no need to do it twice. Mark array of
12003 license strings as constant. (#337103)
12005 2006-04-04 Michael Smith <msmith@fluendo.com>
12007 * tools/gst-inspect.c: (print_element_list):
12008 Free the right plugin list; fixes a memory leak.
12010 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12012 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12014 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12015 Don't error out on empty buffers (#336945).
12017 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
12019 * docs/libs/gstreamer-libs-sections.txt:
12020 * gst/gsttaglist.c:
12021 * libs/gst/base/gstbasesink.c:
12022 * libs/gst/base/gstbasesink.h:
12023 * libs/gst/base/gstbasesrc.c:
12024 * libs/gst/base/gstbasesrc.h:
12025 Documentation updates. Make BaseSink and BaseSrc docs contain the
12026 class structure so that people can actually see the prototypes for
12027 virtual functions they're supposed to be overriding.
12029 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12031 * plugins/elements/gsttypefindelement.c:
12032 (gst_type_find_element_chain):
12033 More debug info; when skipping typefinding, send cached
12034 events in all cases.
12036 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
12039 use new AS_VERSION and AS_NANO macros
12040 * gst/gst-i18n-lib.h:
12043 * gst/gstversion.h.in:
12044 * win32/common/config.h:
12045 * win32/common/config.h.in:
12048 2006-03-31 Michael Smith <msmith@fluendo.com>
12050 * plugins/elements/gsttypefindelement.c:
12051 (gst_type_find_element_chain):
12052 Do not typefind content if the buffers already have caps.
12053 Neccesary for icydemux (#333657), and the right thing to do anyway.
12055 2006-03-30 Wim Taymans <wim@fluendo.com>
12057 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12058 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12059 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12060 (gst_base_sink_record_qos_observation),
12061 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12062 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12063 (gst_base_sink_change_state):
12064 More QoS measurements as described in the design doc.
12065 Get rid of ringbuffer with observations, running average is
12066 more simple and equally good.
12067 Calculates valid proportion now.
12068 Added beginning of flood measurement.
12070 2006-03-29 Wim Taymans <wim@fluendo.com>
12072 * docs/design/part-qos.txt:
12074 Small documentation updates and additions.
12076 2006-03-29 Wim Taymans <wim@fluendo.com>
12078 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12079 (gst_base_src_send_event), (gst_base_src_loop),
12080 (gst_base_src_change_state):
12081 Perform the EOS logic when we reach the segment stop position.
12082 Fix compilation on gcc4.1
12084 2006-03-29 Wim Taymans <wim@fluendo.com>
12086 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12088 * plugins/elements/gstqueue.c: (gst_queue_init),
12089 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12090 (gst_queue_set_property):
12091 * plugins/elements/gstqueue.h:
12092 In queue, when EOS is received, if minimum threshold > max_size -
12093 current_level, there is chance that queue blocks forever in conditional
12094 item del wait. This is because the queue is not emptied completely due
12095 to minimum threshold. Here is another approach. Instead of setting
12096 cur_levels to max in EOS, just zero all minimum threshold levels. This
12097 should make sure that queue gives out all data. When going to READY
12098 (stop) state, just reset the original minimum threshold levels.
12101 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
12103 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12104 (gst_type_find_element_handle_event),
12105 (gst_type_find_element_send_cached_events),
12106 (gst_type_find_element_change_state):
12107 * plugins/elements/gsttypefindelement.h:
12108 When typefinding is done in push mode, we should cache
12109 events we receive during typefinding instead of just
12110 dropping them (e.g. newsegment, custom events from
12111 dvdreadsrc etc.) and then send them out once we've
12112 determined the type of the stream (and decodebin
12113 has had a chance to plug in a decoder/demuxer).
12115 2006-03-27 Wim Taymans <wim@fluendo.com>
12117 * docs/design/part-qos.txt:
12120 2006-03-27 Wim Taymans <wim@fluendo.com>
12122 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12124 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12125 (gst_base_src_send_event), (gst_base_src_change_state):
12126 Handle element seek correctly when we are streaming.
12129 2006-03-24 Michael Smith <msmith@fluendo.com>
12131 * docs/faq/gst-uninstalled:
12132 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12133 allow you to correctly run intalled applications built against old
12134 core, using plugins that require updated core (e.g. running
12135 installed totem against a full uninstalled gstreamer stack)
12137 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12139 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12142 2006-03-24 Wim Taymans <wim@fluendo.com>
12144 * docs/gst/gstreamer-sections.txt:
12145 Rearrange the order of the methods so that related methods
12146 are grouped together in sections.
12148 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12150 * gst/gstelement.c:
12151 Little clarification in the docs
12153 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12157 * plugins/elements/gstidentity.c:
12158 * plugins/elements/gstqueue.c:
12159 * plugins/elements/gsttee.c:
12160 * plugins/elements/gsttypefindelement.c:
12161 GST_ELEMENT_DETAILS formatting
12163 2006-03-24 Wim Taymans <wim@fluendo.com>
12165 * libs/gst/base/gstbasesink.h:
12166 Only add fields, not insert or we break ABI.
12168 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12170 * win32/common/libgstbase.def:
12171 * win32/common/libgstreamer.def:
12172 Update, add recently added functions.
12174 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12176 * docs/gst/gstreamer-sections.txt:
12177 * gst/gstutils.c: (gst_pad_query_peer_position),
12178 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12180 API: add some new utility functions:
12181 - gst_pad_query_peer_position()
12182 - gst_pad_query_peer_duration()
12183 - gst_pad_query_peer_convert()
12185 2006-03-23 Wim Taymans <wim@fluendo.com>
12187 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12188 (gst_base_sink_init), (gst_base_sink_finalize),
12189 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12190 (gst_base_sink_set_property), (gst_base_sink_get_property),
12191 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12192 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12193 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12194 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12195 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12196 (gst_base_sink_preroll_object), (gst_base_sink_event),
12197 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12198 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12199 (gst_base_sink_query), (gst_base_sink_change_state):
12200 Decouple max-lateness and the fact that QoS messages are generated
12201 with a new property (qos).
12202 added API: GstBaseSink::async_play()
12203 Add vmethod so subclasses can be notified of ASYNC playing
12205 Collect timestamp start and stop to report better current
12206 position in EOS/PLAYING/PAUSED/READY/NULL.
12207 Refactor QoS/frame dropping and other measurements.
12208 API: GstBaseSrc::qos
12211 * libs/gst/base/gstbasesink.h:
12212 Added Private struct.
12213 API: gst_base_sink_set_qos_enabled()
12214 API: gst_base_sink_is_qos_enabled()
12216 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12218 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12219 If compiling against GLib-2.8 or newer, try to read the
12220 registry file using GMappedFile first before falling back
12221 to fopen() + fread() (#332151).
12223 2006-03-22 Wim Taymans <wim@fluendo.com>
12225 * gst/gstinfo.c: (gst_debug_set_active),
12226 (gst_debug_category_set_threshold):
12227 Disable debugging unless explicitly activated.
12230 2006-03-22 Wim Taymans <wim@fluendo.com>
12232 * gst/gstelement.c: (gst_element_set_locked_state),
12233 (gst_element_dispose):
12234 Cleanup the error case.
12236 * gst/gstobject.c: (gst_object_dispose):
12237 print a critical when some object was disposed with
12238 a parent, also revive the object since it might
12241 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
12243 * tools/gst-launch.1.in:
12246 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12249 * tests/check/Makefile.am:
12250 disable some tests when we don't have a registry
12251 * tests/check/gst/gstutils.c: (gst_utils_suite):
12252 don't build the part that needs parsing
12254 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12257 * tests/examples/Makefile.am:
12258 fix --disable-parse build
12260 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12262 * tools/gst-feedback.1.in:
12263 Fix typo: s/feeback/feedback/ (#133494).
12265 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12267 * tools/Makefile.am:
12268 * tools/gst-launch.1.in:
12269 Add FILES section and correct entry about GST_REGISTRY_PATH
12270 environment variable (#133495; #133494).
12272 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12274 * tools/Makefile.am:
12275 * tools/gst-md5sum.1.in:
12276 * tools/gst-md5sum.c:
12277 Remove gst-md5sum and man page (the md5sink element
12278 required was removed ages ago)
12280 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12282 * gst/gststructure.c: (gst_structure_id_set_value):
12283 Make sure that string fields in structures/taglists
12284 contain valid UTF-8 - we don't want to pass rubbish to
12285 applications because of a buggy plugin (cp. #334167).
12287 2006-03-21 Edward Hervey <edward@fluendo.com>
12289 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12290 (gst_bin_handle_message_func):
12291 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12292 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12293 (gst_element_set_bus_func):
12294 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12295 * gst/gstminiobject.c: (gst_value_set_mini_object),
12296 (gst_value_take_mini_object):
12297 * gst/gstpad.c: (gst_pad_set_pad_template):
12298 * gst/gstpipeline.c: (gst_pipeline_dispose),
12299 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12300 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12301 (gst_collect_pads_chain):
12302 * libs/gst/net/gstnettimeprovider.c:
12303 (gst_net_time_provider_set_property):
12304 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12305 It's in fact all issues with gst_*object_replace().
12307 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12309 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
12311 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12312 * pkgconfig/gstreamer-check.pc.in:
12313 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12315 2006-03-21 Edward Hervey <edward@fluendo.com>
12319 * gst/gstmessage.h:
12320 gst_[buffer|event|message]_ref() macros are replaced by a static
12321 inline functions because gcc-4.1 will about if the return value
12323 * tests/check/gst/gstevent.c: (event_probe):
12324 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12326 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
12329 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12330 the type' case. (Closes: #335195 for now). In the future, when we
12331 depend on GLib 2.10, we could also intern the type name using
12332 g_intern_static_string()
12334 2006-03-20 Wim Taymans <wim@fluendo.com>
12336 * gst/gstbin.c: (gst_bin_handle_message_func),
12337 (bin_query_max_init), (bin_query_position_fold),
12338 (bin_query_position_done), (gst_bin_query):
12339 Position query should also take max of all streams.
12341 2006-03-20 Wim Taymans <wim@fluendo.com>
12343 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12344 (gst_fake_src_finalize):
12345 Fix leaks in fakesrc.
12347 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12348 Fix leaks in the testcase.
12350 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
12352 * gst/gst_private.h:
12353 add win32 specific import decoration(__declspec(dllimport))
12354 for all extern GstDebugCategory * variables
12355 * win32/common/libgstbase.def:
12356 * win32/common/libgstcontroller.def:
12357 * win32/common/libgstreamer.def:
12358 Add some exports, remove empty lines
12359 * win32/common/libgstdataprotocol.def:
12360 * win32/common/libgstdataprotocol.dsp:
12361 * win32/common/libgstnet.def:
12362 * win32/common/libgstnet.dsp:
12363 new project files and exportation files added
12365 2006-03-19 Wim Taymans <wim@fluendo.com>
12367 * tests/check/libs/basesrc.c: (eos_event_counter):
12368 Use proper return value for probe.
12370 2006-03-17 Wim Taymans <wim@fluendo.com>
12372 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12374 Don't leak buffers, caps and pads on negotiation errors.
12376 2006-03-16 Stefan Kost <ensonic@users.sf.net>
12378 * docs/faq/cvs.xml:
12379 * docs/faq/dependencies.xml:
12380 * docs/faq/developing.xml:
12381 * docs/faq/faq.xml:
12382 * docs/faq/general.xml:
12383 * docs/faq/getting.xml:
12384 * docs/faq/legal.xml:
12385 * docs/faq/troubleshooting.xml:
12386 * docs/faq/using.xml:
12387 Faq review and update.
12389 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
12391 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12393 Don't pound the cpu to pieces by checking get_caps when accept_caps
12394 is called with the same caps as the pad already has.
12395 Use GST_DEBUG_OBJECT when outputting caps change information.
12397 2006-03-15 Wim Taymans <wim@fluendo.com>
12399 * gst/gstclock.c: (gst_clock_class_init):
12402 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
12407 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12408 (gst_pad_accept_caps), (gst_pad_configure_sink),
12409 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12410 Make the default acceptcaps behaviour be to check the requested
12411 caps against the gst_pad_get_caps output.
12413 Ensure that gst_pad_accept_caps is used to check caps when a pad
12414 doesn't have a setcaps function, so that pads automatically refuse
12415 caps that they don't allow in their pad template. (Fixes #332986)
12417 When a buffer with attached caps is pushed, ensure that the source
12418 pad receives those caps even if the element didn't call
12419 gst_pad_set_caps first.
12421 2006-03-15 Wim Taymans <wim@fluendo.com>
12423 * libs/gst/base/gstadapter.c:
12426 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
12428 * win32/common/libgstbase.def:
12429 * win32/common/libgstcontroller.def:
12430 * win32/common/libgstreamer.def:
12431 Add a whole bunch of missing functions (#334434).
12433 2006-03-14 Wim Taymans <wim@fluendo.com>
12435 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12436 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12437 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12438 Better debug info when we receive a segment event.
12439 Reorganize a bit so we can pass the get_times() results around.
12440 Use the segment format when calculating the running time.
12441 Don't do QoS is sync is disabled or we have no clock or the
12442 element does not want us to sync to the clock.
12443 Don't drop buffers if QoS is disabled for now.
12445 2006-03-14 Wim Taymans <wim@fluendo.com>
12447 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12448 Marked the stats property as unimplemented so people don't get
12450 Add debug message when regression goes wrong.
12451 Added some more docs.
12453 2006-03-14 Wim Taymans <wim@fluendo.com>
12455 * gst/gstsegment.c: (gst_segment_to_stream_time):
12456 Return correct return type in case of errors.
12458 2006-03-14 Wim Taymans <wim@fluendo.com>
12460 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12461 Don't segfault on invalid formats.
12463 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12465 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12466 Can't use gst_segment_to_running_time() when the segment
12467 is not in GST_TIME_FORMAT (like with filesink, for example).
12468 Stops flac encoding pipelines from spewing critical warnings
12471 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12473 * gst/gstpipeline.c: (gst_pipeline_class_init):
12474 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12476 * plugins/elements/gsttypefindelement.c:
12477 (gst_type_find_element_handle_event):
12478 Don't try to typefind empty streams.
12480 2006-03-14 Wim Taymans <wim@fluendo.com>
12482 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12483 (gst_base_sink_do_qos):
12484 Separate QoS calculation.
12485 Only drop buffers when lateness is bigger than the
12486 duration of the buffer.
12488 2006-03-13 Wim Taymans <wim@fluendo.com>
12490 * gst/gstpipeline.c: (gst_pipeline_set_property),
12491 (gst_pipeline_get_property), (do_pipeline_seek),
12492 (gst_pipeline_change_state), (gst_pipeline_set_delay),
12493 (gst_pipeline_get_delay):
12494 Don't deadlock when reading properties.
12496 2006-03-13 Wim Taymans <wim@fluendo.com>
12498 * libs/gst/base/gstbasetransform.c:
12499 (gst_base_transform_class_init), (gst_base_transform_init),
12500 (gst_base_transform_sink_event),
12501 (gst_base_transform_sink_eventfunc),
12502 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12503 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12504 (gst_base_transform_set_property),
12505 (gst_base_transform_get_property),
12506 (gst_base_transform_change_state), (gst_base_transform_update_qos),
12507 (gst_base_transform_set_qos_enabled),
12508 (gst_base_transform_is_qos_enabled):
12509 * libs/gst/base/gstbasetransform.h:
12510 Make basetransform virtual method for src events too.
12511 Handle QOS in basetransform.
12512 API: gst_base_transform_update_qos()
12513 API: gst_base_transform_set_qos_enabled()
12514 API: gst_base_transform_is_qos_enabled()
12516 2006-03-13 Wim Taymans <wim@fluendo.com>
12518 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12519 (gst_base_sink_do_sync):
12521 Use QOS debug category.
12523 2006-03-13 Wim Taymans <wim@fluendo.com>
12525 * plugins/elements/gstqueue.c:
12526 Very small doc update.
12528 2006-03-13 Wim Taymans <wim@fluendo.com>
12530 * gst/gst_private.h:
12531 * gst/gstinfo.c: (_gst_debug_init):
12532 Added QOS debug category
12534 2006-03-13 Wim Taymans <wim@fluendo.com>
12536 * docs/gst/gstreamer-sections.txt:
12537 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12539 * gst/gstbus.c: (gst_bus_class_init):
12542 * gst/gstelement.c: (gst_element_set_locked_state):
12543 * gst/gstsegment.c:
12544 Documentation updates.
12546 * gst/gstpipeline.c: (gst_pipeline_get_type),
12547 (gst_pipeline_class_init), (gst_pipeline_init),
12548 (gst_pipeline_dispose), (gst_pipeline_set_property),
12549 (gst_pipeline_get_property), (do_pipeline_seek),
12550 (gst_pipeline_send_event), (gst_pipeline_change_state),
12551 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12552 (gst_pipeline_get_delay):
12553 * gst/gstpipeline.h:
12554 Added methods for setting the delay.
12555 API: gst_pipeline_set_delay()
12556 API: gst_pipeline_get_delay()
12557 Add pipeline debug category
12560 Don't reset stream time when seek failed.
12562 2006-03-13 Wim Taymans <wim@fluendo.com>
12564 * docs/design/draft-klass.txt:
12565 * docs/design/part-clocks.txt:
12566 * docs/design/part-events.txt:
12567 * docs/design/part-gstbin.txt:
12568 * docs/design/part-gstpipeline.txt:
12569 * docs/design/part-messages.txt:
12570 * docs/design/part-negotiation.txt:
12571 * docs/design/part-overview.txt:
12572 * docs/design/part-preroll.txt:
12573 * docs/design/part-seeking.txt:
12574 * docs/design/part-states.txt:
12575 * docs/design/part-streams.txt:
12576 Documentation updates.
12578 2006-03-12 Julien MOUTTE <julien@moutte.net>
12580 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12581 us to leak strings...
12583 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
12585 * libs/gst/net/gstnettimeprovider.c:
12587 * win32/common/config.h:
12590 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
12592 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12595 Don't check for libgnomeui (leftover from old examples
12596 that aren't built or disted any longer) (#334303).
12598 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
12600 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12601 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12602 Emit RESOURCE_NO_SPACE_LEFT error here as well when
12603 there's no space left on the device.
12605 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
12608 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12609 to cast the input to GstClockTime before comparing with
12610 another GstClockTime value.
12612 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12617 === release 0.10.4 ===
12619 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12622 releasing 0.10.4, "Light"
12624 2006-03-10 Michael Smith <msmith@fluendo.com>
12626 * libs/gst/dataprotocol/dataprotocol.c:
12627 Fix docs for dataprocotol to not get the return types completely
12628 wrong for a few functions.
12630 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12632 * docs/gst/gstreamer-sections.txt:
12633 * gst/gstpipeline.c: (gst_pipeline_class_init),
12634 (gst_pipeline_init), (gst_pipeline_set_property),
12635 (gst_pipeline_get_property), (gst_pipeline_change_state),
12636 (gst_pipeline_set_auto_flush_bus),
12637 (gst_pipeline_get_auto_flush_bus):
12638 * gst/gstpipeline.h:
12639 Add new API: gst_pipeline_set_auto_flush_bus() and
12640 gst_pipeline_get_auto_flush_bus() to disable automatic
12641 flushing of the pipeline's GstBus when going from READY
12642 to NULL state (#332045).
12644 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12646 * docs/gst/gstreamer-sections.txt:
12647 * gst/gsturi.c: (gst_uri_has_protocol):
12649 Add new API: gst_uri_has_protocol() (#333779).
12651 2006-03-09 Wim Taymans <wim@fluendo.com>
12653 * gst/gstclock.c: (gst_clock_entry_new),
12654 (gst_clock_id_compare_func), (gst_clock_id_wait),
12655 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12656 (gst_clock_init), (gst_clock_get_internal_time),
12657 (gst_clock_set_master), (do_linear_regression),
12658 (gst_clock_add_observation), (gst_clock_set_property):
12662 Fix a possible segfault when the window-size is made smaller.
12663 Calculate jitter before performing the clock wait. Ideally
12664 the clock implementation should calculate jitter but we need
12665 API breakage for that.
12667 * gst/gstsystemclock.c: (gst_system_clock_init):
12670 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12671 Remove leftover else
12673 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12674 (gst_systemclock_suite):
12675 Added check to test GST_CLOCK_DIFF.
12677 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12679 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12680 (gst_type_find_helper_get_range):
12681 If we are provided with the size, we should implement
12682 GstTypeFind::get_length, so that typefind functions who
12683 want to can actually peek at the middle of a file.
12685 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
12687 * docs/manual/advanced-dataaccess.xml:
12688 Add some very very basic error checking.
12690 * docs/pwg/appendix-checklist.xml:
12691 Some updates to the list of things to check when writing an element.
12693 2006-03-08 Wim Taymans <wim@fluendo.com>
12695 * docs/design/part-element-transform.txt:
12696 Added some docs about the design of tranform elements.
12698 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12699 (gst_base_src_loop), (gst_base_src_change_state):
12700 Mark buffers with the DISCONT flag.
12702 2006-03-08 Michael Smith <msmith@fluendo.com>
12704 * gst/gstregistry.h:
12705 * gst/gstregistryxml.c: (gst_registry_save),
12706 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12707 (gst_registry_xml_save_pad_template),
12708 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12709 (gst_registry_xml_write_cache):
12710 Rewrite registry-saving to avoid race conditions and check for
12713 2006-03-08 Wim Taymans <wim@fluendo.com>
12715 * libs/gst/base/gstbasetransform.c:
12716 (gst_base_transform_transform_caps),
12717 (gst_base_transform_transform_size),
12718 (gst_base_transform_prepare_output_buffer),
12719 (gst_base_transform_get_unit_size),
12720 (gst_base_transform_buffer_alloc),
12721 (gst_base_transform_handle_buffer),
12722 (gst_base_transform_change_state):
12723 Cleanups, separate normal flow from errors, add sensible
12725 Don't try to renegotiate when allocating an output buffer.
12726 Also copy DISCONT buffer flag when copying a buffer.
12727 Reset the transform after we finish streaming, not during.
12729 2006-03-08 Wim Taymans <wim@fluendo.com>
12731 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12732 Use last buffer timestamp in qos message.
12734 2006-03-07 Wim Taymans <wim@fluendo.com>
12736 Patch by: Christophe Fergeau
12738 * docs/pwg/advanced-tagging.xml:
12739 * docs/pwg/building-pads.xml:
12742 2006-03-07 Wim Taymans <wim@fluendo.com>
12744 * docs/libs/gstreamer-libs-sections.txt:
12745 Added basesink new methods.
12749 Docs updates. Flesh out the QoS docs.
12751 * libs/gst/base/gstadapter.c:
12752 Small doc clarification about ownership and flushing.
12754 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12755 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12756 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12757 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12758 * libs/gst/base/gstbasesink.h:
12760 Added new methods to allow subclass to control max-lateness
12762 Generate very basic QoS events based on last sync observation.
12763 Updated docs, fix typo, added some QoS blurb.
12765 * libs/gst/base/gstbasesrc.c:
12766 Remove obsolete _get_state() calls from docs.
12768 2006-03-07 Wim Taymans <wim@fluendo.com>
12770 * docs/libs/gstreamer-libs-sections.txt:
12771 * libs/gst/base/gstbasetransform.h:
12772 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12773 Fix docs for GstBaseSrc.
12775 2006-03-07 Wim Taymans <wim@fluendo.com>
12777 * docs/gst/gstreamer-sections.txt:
12780 * libs/gst/base/gstbasetransform.h:
12781 Small documentation fixes.
12783 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12786 Document thread-unsafety of gst_value_register_foo_func()
12787 when used at the same time as gst_value_foo() (#322628).
12789 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12791 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12792 (gst_push_src_check_get_range):
12793 Push sources don't support pull mode by default.
12795 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12797 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12798 (gst_base_src_init), (gst_base_src_pad_check_get_range),
12799 (gst_base_src_default_check_get_range):
12800 * libs/gst/base/gstbasesrc.h:
12801 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12802 provide default implementation, and rename
12803 gst_base_src_check_get_range() to
12804 gst_base_src_pad_check_get_range() for clarity.
12806 2006-03-06 Wim Taymans <wim@fluendo.com>
12808 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12809 Make property overridable.
12811 2006-03-06 Wim Taymans <wim@fluendo.com>
12813 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12814 (gst_base_sink_init), (gst_base_sink_set_property),
12815 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12816 * libs/gst/base/gstbasesink.h:
12817 API addition: Make max-lateness a property.
12819 2006-03-06 Wim Taymans <wim@fluendo.com>
12821 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12822 (gst_base_sink_do_sync), (gst_base_sink_render_object):
12823 Don't ever draw a frame that is >10ms late.
12825 2006-03-06 Michael Smith <msmith@fluendo.com>
12827 * gst/gstmessage.c: (_gst_message_copy):
12828 When copying a message, set the parent_refcount of the enclosed
12829 structure to point at the copy, not the original message.
12831 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12833 Patch by: Christophe Fergeau
12836 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12837 usable in c++ code (#333417)
12839 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
12842 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12844 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
12846 * libs/gst/base/gstbasetransform.c:
12847 (gst_base_transform_transform_caps):
12848 Make sure caps are writable before passing them to
12851 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12854 Fix some minor docs errors.
12856 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12858 Patch by: Ross Burton <ross at burtonini dot com>
12860 * gst/gsterror.c: (_gst_resource_errors_init):
12862 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12864 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12867 Add a check and output a g_warning when GStreamer is built
12868 against GLib 2.6 but running against 2.8 or higher, and vice
12869 versa. (Closes: #323542)
12871 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12873 * gst/parse/parse.l:
12874 Commit patch for parse_launch syntax from #331255. Removes
12875 support for quoted strings and mimetypes when writing filtered
12876 caps. See the bug report for more details - I'm pretty sure this
12877 obscure feature is not in use by _anyone_ anywhere.
12879 With this simple change, the size of the gstreamer.so here
12880 drops from 2193KB to 1565KB.
12882 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12884 * plugins/elements/gsttypefindelement.h:
12885 * plugins/elements/gsttypefindelement.c:
12886 (gst_type_find_element_src_event), (start_typefinding),
12887 (stop_typefinding), (gst_type_find_element_handle_event),
12888 (gst_type_find_element_chain),
12889 (gst_type_find_element_chain_do_typefinding):
12890 Use gst_type_find_helper_for_buffer() for chain-based
12893 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12895 * plugins/elements/gsttypefindelement.c:
12896 (gst_type_find_element_class_init),
12897 (gst_type_find_element_set_property),
12898 (gst_type_find_element_get_property):
12899 Deprecate "maximum" property (not only was it only taken into
12900 account for typefinding in push-mode anyway, it also was never
12901 actually possible to set it in the first place because the
12902 property was registered with the numeric property ID for the
12903 "minimum" property). Register "maximum" property correctly,
12904 for the sake of future copy'n'pasters. Remove some cruft
12905 from property get/set functions.
12907 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12909 * plugins/elements/gsttypefindelement.c:
12910 (gst_type_find_element_activate):
12911 Use gst_type_find_helper_get_range() here, so we
12912 can honour the "minimum" property and also emit
12913 the signal with the correct probability of the found caps.
12915 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
12917 * docs/libs/gstreamer-libs-sections.txt:
12918 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12919 (helper_find_suggest), (gst_type_find_helper_get_range),
12920 (gst_type_find_helper):
12921 * libs/gst/base/gsttypefindhelper.h:
12922 New API: gst_type_find_helper_get_range() (#333042).
12924 2006-03-02 Michael Smith <msmith@fluendo.com>
12926 * gst/gstregistryxml.c: (load_feature):
12927 Asserting on a failure to read part of the registry is Not Cool.
12928 Just log a warning and return NULL (which is already handled)
12930 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
12932 * win32/common/libgstbase.def:
12933 added export of gst_type_find_helper_for_buffer
12934 * win32/common/libgstbase.def:
12935 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12936 gst_ghost_pad_get_target
12938 2006-02-28 Wim Taymans <wim@fluendo.com>
12940 * docs/design/draft-klass.txt:
12942 Added Connector to mark elements that are only used to
12943 allow pipeline connections.
12944 Moved Debug to extra feature since most of them are
12945 functionally something else.
12947 2006-02-28 Wim Taymans <wim@fluendo.com>
12949 * docs/design/draft-klass.txt:
12950 Some updates and clarifications.
12952 2006-02-28 Wim Taymans <wim@fluendo.com>
12954 * docs/design/draft-klass.txt:
12955 Proposal for klass field values.
12957 * docs/design/part-streams.txt:
12958 Start of a doc describing stream anatomy.
12960 2006-02-28 Wim Taymans <wim@fluendo.com>
12962 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12963 Help the compiler a bit with type registration.
12964 Use existing forward cod path instead of duplicating it when
12965 handling a message.
12967 * gst/gstbus.c: (gst_bus_get_type):
12968 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12969 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12970 * gst/gstclock.c: (gst_clock_get_type):
12971 * gst/gstelement.c: (gst_element_get_type),
12972 * gst/gstelementfactory.c: (gst_element_factory_get_type):
12973 * gst/gstindexfactory.c: (gst_index_factory_get_type):
12974 * gst/gstminiobject.c: (gst_mini_object_get_type):
12975 * gst/gstpad.c: (gst_pad_get_type):
12976 * gst/gstsegment.c: (gst_segment_get_type):
12977 * gst/gststructure.c: (gst_structure_get_type):
12978 * gst/gstsystemclock.c: (gst_system_clock_get_type):
12979 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12981 Help compiler with type registration.
12983 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12986 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12988 * plugins/elements/gsttypefindelement.c:
12989 (gst_type_find_element_handle_event):
12990 When we get an EOS event and have not found a type yet
12991 (most likely because we had not yet accumulated
12992 TYPE_FIND_MIN_SIZE of data yet), try to determine the
12993 type given the data we have so far. Fixes typefinding
12994 for very short streams again, most notably quicktime
12995 redirections as used on Apple's trailer site (#331701).
12997 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12999 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13000 (gst_type_find_helper):
13001 Try typefinding factories with the highest rank first.
13003 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13005 * docs/libs/gstreamer-libs-docs.sgml:
13006 * docs/libs/gstreamer-libs-sections.txt:
13007 * libs/gst/base/gsttypefindhelper.c:
13008 Add section for typefind helper and add documentation
13009 for the old and the new function.
13011 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13013 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13014 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13015 (gst_type_find_helper_for_buffer):
13016 * libs/gst/base/gsttypefindhelper.h:
13017 New API: gst_type_find_helper_for_buffer() (#332723).
13019 2006-02-27 Michael Smith <msmith@fluendo.com>
13021 Patch by: Loïc Minier
13024 * docs/Makefile.am:
13025 * docs/slides/Makefile.am:
13026 prevent CVS directories getting disted.
13028 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13030 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13031 Use the REFCOUNTING category for caps refcounting.
13033 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13035 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13036 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13038 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13040 * plugins/elements/gsttypefindelement.c:
13041 (gst_type_find_element_activate):
13042 Use gst_pad_check_pull_range() before _activate_pull()
13043 to avoid unnecessary open/close (see #331690).
13045 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13048 Docs enhancement: make it crystal clear what the
13049 gst_pad_add_*_probe() callbacks should look like.
13051 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13053 * libs/gst/base/gstbasesrc.c:
13054 Document how applications can stop recording from
13055 live sources (see #330996).
13057 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13059 * tests/check/Makefile.am:
13060 * tests/check/libs/basesrc.c: (eos_event_counter),
13061 (basesrc_eos_events_pull), (basesrc_eos_events_push),
13062 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13063 (gst_basesrc_suite), (main):
13064 ... and add some tests for the base source EOS stuff.
13066 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13068 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13069 Test case originally showed the problem fixed below,
13070 but was then amended. Add checks back at the place
13071 where they used to be.
13073 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13075 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13076 (gst_base_src_init), (gst_base_src_loop),
13077 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13078 (gst_base_src_change_state):
13079 * libs/gst/base/gstbasesrc.h:
13080 Don't unconditionally send EOS when going from PAUSED to
13081 READY state, esp. make sure we don't send two EOS events
13082 in some cases (e.g. one when reaching EOS and one when
13083 going from PAUSED to READY). Also, we don't want to send
13084 EOS events when operating in pull mode. However, we do
13085 want to send an EOS event when shutting down a live
13086 source explicitly, for example (fixes #330996).
13088 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13090 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13091 Update src->read_position after a seek when not using mmap.
13092 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13094 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
13100 Make things work with --disable-parse as they do with
13101 --disable-load-save - the symbols involved disappear, but the
13102 header is still installed and GST_DISABLE_PARSE is included via
13105 2006-02-20 Julien MOUTTE <julien@moutte.net>
13107 * libs/gst/base/gstbasetransform.c:
13108 (gst_base_transform_change_state): Fix a stupid bug. I was
13109 sure I compiled that.
13111 2006-02-20 Julien MOUTTE <julien@moutte.net>
13113 * gst/gstpad.c: (gst_pad_set_blocked_async):
13114 * gst/gstutils.c: (gst_pad_add_data_probe),
13115 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13116 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13117 (gst_pad_remove_buffer_probe): Make those function act on the
13118 ghostpad target when it's a ghostpad. (Closes #331727)
13120 2006-02-20 Julien MOUTTE <julien@moutte.net>
13122 * libs/gst/base/gstbasetransform.c:
13123 (gst_base_transform_change_state): Make basetransform reusable.
13126 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
13128 * docs/random/release:
13129 Move the current documentation of how to do a release to the top
13132 * gst/gstbin.c: (gst_bin_class_init),
13133 (gst_bin_handle_message_func):
13134 Allow multiple state-recalculation threads. (Closes #328873)
13136 2006-02-19 Julien MOUTTE <julien@moutte.net>
13138 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13139 * gst/gstpad.c: (gst_pad_set_event_function),
13140 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13141 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13142 2 strings. You can't use the STR_NULL macro on that.
13144 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
13146 * gst/gstpad.c: (gst_pad_set_event_function),
13147 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13148 (gst_pad_set_getcaps_function)
13149 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13150 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13151 So now, we can use --gst-debug-level=5 on Windows
13152 * win32/common/libgstcontroller.def:
13153 Added export of gst_controller_init
13154 * win32/vs6/libgstcontroller.dsp:
13155 Fixed Release post build configuration
13157 2006-02-17 Wim Taymans <wim@fluendo.com>
13159 * tests/check/gst/gstquery.c: (GST_START_TEST):
13160 Added another check.
13162 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
13164 * plugins/elements/gsttypefindelement.c: (find_peek):
13165 We can do peeks at non-zero offsets, as long as they
13166 fall within the buffer we have.
13168 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
13170 * tests/check/Makefile.am:
13171 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13172 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13173 (parse_suite), (main):
13174 Add testsuite for parse launch syntax
13176 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
13178 * plugins/elements/gsttypefindelement.c:
13179 (gst_type_find_element_chain):
13180 When typefinding is unsuccessful in the chain function, don't
13181 error out immediately. Only error out with NO_CAPS_FOUND if
13182 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13183 otherwise simply wait for more data so we can try typefinding
13184 again with more data later. Also, don't attempt to typefind
13185 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13186 this should improve typefinding from network sources where the
13187 size of the first buffer can be somewhat random.
13189 2006-02-14 Wim Taymans <wim@fluendo.com>
13191 * docs/gst/gstreamer-sections.txt:
13192 * gst/gstpadtemplate.c:
13193 * gst/gstpadtemplate.h:
13194 Fix padtemplate docs, fixes #328805.
13196 2006-02-14 Wim Taymans <wim@fluendo.com>
13198 * tools/gst-launch.c: (main):
13199 NO_PREROLL is not an ERROR so don't send confusing messages
13202 2006-02-14 Wim Taymans <wim@fluendo.com>
13204 Patch by: Torsten Schoenfeld
13206 * gst/gstregistry.c: (gst_registry_get_default),
13207 (_gst_registry_cleanup):
13208 Protect default registry with lock and ref/sink it.
13211 2006-02-14 Wim Taymans <wim@fluendo.com>
13214 * gst/gstquery.c: (gst_query_list_add_format),
13215 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13216 (gst_query_parse_formats_nth):
13217 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13220 2006-02-14 Wim Taymans <wim@fluendo.com>
13222 * docs/gst/gstreamer-sections.txt:
13223 Reworked query docs.
13225 * gst/gstquery.c: (gst_query_new_formats),
13226 (gst_query_list_add_format), (gst_query_set_formats),
13227 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13228 (gst_query_parse_formats_nth):
13230 Flesh out formats query, added some new methods.
13231 Fix part of #324398.
13233 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13234 Added query creation tests.
13236 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
13238 * gst/gstpad.c: (fixate_value):
13239 Add a default fixation for fraction lists.
13241 2006-02-13 Wim Taymans <wim@fluendo.com>
13243 * gst/gsttask.c: (gst_task_init), (gst_task_func),
13244 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13247 Detect and warn for obvious deadlocks. fixes #320340
13248 Fix error case where lock was not released.
13250 * tests/check/Makefile.am:
13251 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13252 (task_func), (gst_element_suite), (main):
13255 2006-02-13 Wim Taymans <wim@fluendo.com>
13257 * docs/gst/gstreamer-sections.txt:
13259 Add new functions to docs.
13261 2006-02-13 Wim Taymans <wim@fluendo.com>
13263 * docs/design/part-TODO.txt:
13264 Updated TODO list, basesrc supports seeking to non-bytes
13267 * docs/design/part-element-sink.txt:
13270 * gst/gstbin.c: (bin_replace_message),
13271 (gst_bin_handle_message_func):
13272 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13273 * gst/gstevent.c: (gst_event_finalize):
13274 * gst/gstpad.c: (gst_pad_event_default_dispatch),
13275 (gst_pad_send_event):
13276 Use shiny new _TYPE_NAME macros.
13278 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13279 Move debug statement up.
13281 * gst/gstelement.c: (gst_element_set_locked_state):
13282 Add some debugging.
13284 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
13286 * docs/gst/gstreamer-sections.txt:
13287 * gst/gstmessage.h:
13289 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13290 macros (#330906). Also, document the already existing
13291 GST_QUERY_TYPE macro.
13293 2006-02-13 Wim Taymans <wim@fluendo.com>
13295 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13296 (event_probe), (GST_START_TEST):
13297 Only events up to the pipeline EOS are counted, there are
13298 some more when going to NULL currently which we don't care
13301 2006-02-13 Wim Taymans <wim@fluendo.com>
13303 * gst/gstpad.c: (gst_pad_send_event):
13304 Correctly check flushing and emit probes. fixes #330125
13306 2006-02-10 Andy Wingo <wingo@pobox.com>
13308 * gst/gstbus.c (gst_bus_class_init): Declare our private data
13310 (gst_bus_init): Cache the location of the private data in the
13311 instance structure.
13312 (gst_bus_enable_sync_message_emission)
13313 (gst_bus_disable_sync_message_emission): Implement new public
13315 (gst_bus_post): Emit the sync-message signal if the user asked for
13318 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13319 location of the bus-private structure.
13320 (gst_bus_enable_sync_message_emission)
13321 (gst_bus_disable_sync_message_emission): API addition
13323 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
13325 Patch by: Vincent Torri
13327 * docs/pwg/building-boiler.xml:
13328 PWG patch from #326800
13330 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
13333 * docs/Makefile.am:
13334 * docs/design/Makefile.am:
13337 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13342 === release 0.10.3 ===
13344 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13347 releasing 0.10.3, "Like a virgin"
13349 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13352 2nd prerelease of 0.10.3
13353 Bump libtool versioning.
13355 2006-02-07 Andy Wingo <wingo@pobox.com>
13357 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13358 update last_stop if we're in TIME format and the timestamp is
13361 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
13362 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
13363 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13364 If we get a new newsegment with a different format, adapt
13367 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13368 of 0. Not a problem, really.
13370 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13373 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
13378 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
13381 project files updated to the default vs7 configuration
13382 * win32/common/libgstbase.def:
13383 * win32/common/libgstreamer.def:
13385 removed empty lines,
13386 sorted all exported symbols alphabetically
13387 * win32/common/dirent.c:
13388 * win32/common/dirent.h:
13389 * win32/common/gchar.h:
13390 use windows line end.
13392 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13394 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13395 Send EOS event when stopping.
13397 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13400 Tell folks what to do if the plugin-foobar.xml file
13401 hasn't been generated for a newly-added plugin.
13403 2006-02-05 Julien MOUTTE <julien@moutte.net>
13405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13406 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13407 (gst_collect_pads_start), (gst_collect_pads_stop),
13408 (gst_collect_pads_event): Collectpads now holds a reference
13409 to the GstPad that was added. Indeed we don't want to look
13410 at pads that might just go away with no warning...
13412 2006-02-05 Julien MOUTTE <julien@moutte.net>
13414 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13415 (gst_collect_pads_start), (gst_collect_pads_stop),
13416 (gst_collect_pads_event), (gst_collect_pads_chain):
13417 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13418 Mark Nauwelaerts's patch on bug #328491.
13420 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13422 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13424 Add some simple tests for gst_parse_bin_from_description() and
13425 gst_bin_find_unconnected_pad() (#329069).
13427 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13429 * tools/gst-launch.c: (event_loop), (main):
13430 Catch errors during preroll (#320084).
13432 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
13434 * plugins/elements/gsttypefindelement.c:
13435 (gst_type_find_element_activate):
13436 Post TYPE_NOT_FOUND error message when typefinding
13437 is unsuccessful in the activate function as well.
13439 2006-02-02 Wim Taymans <wim@fluendo.com>
13441 * docs/design/part-element-sink.txt:
13444 2006-02-02 Wim Taymans <wim@fluendo.com>
13446 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13447 (gst_base_sink_render_object),
13448 (gst_base_sink_queue_object_unlocked):
13449 Only keep track of prerollable items when we are
13451 Before rendering after preroll, always check if we
13453 Added some more debugging.
13455 2006-02-02 Wim Taymans <wim@fluendo.com>
13457 * gst/gstelement.c: (gst_element_continue_state),
13458 (gst_element_set_state_func), (gst_element_change_state):
13459 Fixed #326576, been running this for quite some time with
13460 no regressions at all.
13462 2006-02-02 Wim Taymans <wim@fluendo.com>
13465 Added more suppressions
13467 2006-02-02 Wim Taymans <wim@fluendo.com>
13469 * docs/design/part-element-sink.txt:
13472 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13473 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13474 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13475 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13476 (gst_base_sink_do_sync), (gst_base_sink_render_object),
13477 (gst_base_sink_preroll_object),
13478 (gst_base_sink_queue_object_unlocked),
13479 (gst_base_sink_queue_object), (gst_base_sink_event),
13480 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13481 (gst_base_sink_loop), (gst_base_sink_activate_pull),
13482 (gst_base_sink_get_position), (gst_base_sink_change_state):
13483 * libs/gst/base/gstbasesink.h:
13484 Totally refactored matching the design doc.
13485 Use two segments, one to clip incomming buffers and another to
13487 Handle queueing correctly, bypass the queue when playing.
13488 Make EOS cancelable.
13489 Handle errors correctly when operating in pull based mode.
13491 * tests/check/elements/fakesink.c: (GST_START_TEST),
13493 Added new check for sinks.
13495 2006-02-02 Wim Taymans <wim@fluendo.com>
13497 * gst/gstsegment.c: (gst_segment_clip):
13498 No reason to refuse to clip when start == -1
13500 2006-02-02 Stefan Kost <ensonic@users.sf.net>
13503 * docs/manual/intro-basics.xml:
13504 * docs/manual/intro-preface.xml:
13505 * docs/manual/manual.xml:
13506 * docs/pwg/advanced-dparams.xml:
13507 * docs/pwg/intro-basics.xml:
13508 * docs/pwg/intro-preface.xml:
13509 * docs/pwg/pwg.xml:
13510 describe dparams (controller) for plugins
13511 unify docs a little more
13513 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
13515 * docs/gst/gstreamer-sections.txt:
13516 * gst/gstutils.c: (element_find_unconnected_pad),
13517 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13519 Add new API: gst_parse_bin_from_description() and
13520 gst_bin_find_unconnected_pad() (#329069).
13522 2006-02-01 Stefan Kost <ensonic@users.sf.net>
13524 * docs/manual/README:
13525 uncover a nasty detail of the docs build
13527 2006-01-31 Wim Taymans <wim@fluendo.com>
13529 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13530 Don't cache duration messages if we're not going to use or
13533 2006-01-31 Stefan Kost <ensonic@users.sf.net>
13535 * docs/manual/advanced-dparams.xml:
13536 * docs/pwg/advanced-dparams.xml:
13540 * libs/gst/controller/lib.c: (gst_controller_init):
13543 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
13545 * gst/gstelement.c: (gst_element_message_full):
13546 also show file/line/func if no additional debug was given
13548 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
13550 * win32/vs7/grammar.vcproj:
13551 activate copy of autogenerated files for Release mode
13553 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13555 * win32/common/libgstreamer.def:
13556 export gst_value_compare
13558 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
13560 * plugins/elements/Makefile.am:
13561 * plugins/elements/gstelements.c:
13562 * plugins/elements/gstfdsink.c: (_do_init),
13563 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13564 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13565 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13566 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13567 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13568 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13569 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13570 * plugins/elements/gstfdsink.h:
13571 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13573 2006-01-30 Stefan Kost <ensonic@users.sf.net>
13575 * docs/manual/advanced-dparams.xml:
13576 describe controller
13577 * docs/manual/advanced-position.xml:
13578 * docs/manual/basics-init.xml:
13579 * docs/manual/manual.xml:
13580 * docs/manual/titlepage.xml:
13581 * docs/pwg/pwg.xml:
13582 * docs/pwg/titlepage.xml:
13583 cleanup xml (more to come)
13584 * libs/gst/controller/gstcontroller.c:
13587 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13589 * win32/vs6/grammar.dsp:
13590 add autogen of gstmarshal.c,h for Release mode
13592 2006-01-30 Wim Taymans <wim@fluendo.com>
13594 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13595 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13596 (gst_base_sink_handle_object), (gst_base_sink_event),
13597 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13598 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13599 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13600 (gst_base_sink_deactivate), (gst_base_sink_activate),
13601 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13602 (gst_base_sink_query), (gst_base_sink_change_state):
13603 Basesink cleanups, remove some old code.
13604 Handle the case where a subclass can preroll in the render
13605 method (mostly audiosinks).
13606 Handle more events.
13607 Remove some locks around variables that are now protected
13608 with the PREROLL_LOCK (clock_id, flushing, ..).
13609 Optimize position query some more, do correct locking.
13610 Remove old code to push queue in state change, this is not
13611 needed anymore since preroll blocks on all prerollable items
13613 Almost implemented as described in design doc.
13615 2006-01-30 Wim Taymans <wim@fluendo.com>
13617 * tests/check/gst/gstbin.c: (GST_START_TEST):
13618 Wait for refcount to settle down before checking.
13620 2006-01-30 Wim Taymans <wim@fluendo.com>
13622 * docs/design/part-element-sink.txt:
13623 Pseudo code overview of desired sink behaviour regarding
13626 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13627 * win32/vs6/grammar.dsp:
13628 fix some bugs in Release mode for autogenerated files
13630 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13631 * win32/common/libgstbase.def:
13632 * win32/common/libgstreamer.def:
13633 export some new symbols: gst_base_src_set_format,
13634 gst_iterator_next, gst_structure_set_valist
13636 2006-01-29 Julien MOUTTE <julien@moutte.net>
13638 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13639 Set pad functions unconditionally. Fixes #329105.
13641 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13643 add vs8 project files created by Sergey Scobich
13645 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
13647 * gst/gstutils.c: (gst_element_unlink_pads):
13648 Don't leak pad references.
13650 * tests/check/elements/fakesink.c: (GST_START_TEST):
13651 * tests/check/generic/sinks.c: (GST_START_TEST):
13652 * tests/check/generic/states.c: (GST_START_TEST):
13653 * tests/check/gst/gstbin.c: (GST_START_TEST):
13654 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13655 * tests/check/gst/gstelement.c: (GST_START_TEST):
13656 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13657 * tests/check/gst/gstiterator.c: (GST_START_TEST):
13658 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13659 Fix a bunch of leaks. Make generic/sinks.c
13660 use a bit less cpu by slowing the buffer rate
13661 between fakesrc and fakesink.
13663 2006-01-27 Stefan Kost <ensonic@users.sf.net>
13665 * gst/gstelement.c: (gst_element_send_event):
13668 * gst/gstiterator.c:
13669 * gst/gstiterator.h:
13670 * gst/gstpad.c: (gst_pad_send_event):
13671 * gst/gststructure.c:
13675 * libs/gst/base/gstadapter.c:
13676 doc fixes, to link to function, just write gst_cool_function(), don't
13679 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13681 * plugins/elements/gsttee.c: (gst_tee_do_push),
13682 (gst_tee_handle_buffer):
13683 Always prefer an actual return value from a src
13684 pad in place of NOT_LINKED. This means we return
13685 WRONG_STATE when all src pads are WRONG_STATE
13686 instead of NOT_LINKED.
13688 Lock when replacing the last message to prevent
13689 racing with the get_property method.
13693 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13695 * tests/check/Makefile.am:
13696 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13698 Add a very simple check that should have caught the memleak I fixed
13699 last night (if not for the slice allocator hiding it)
13701 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13703 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13704 (gst_bin_remove_func), (gst_bin_handle_message_func),
13705 (bin_query_duration_fold), (bin_query_generic_fold):
13706 Clean up references to the clock provider when disposed or when
13707 handling a clock-lost message from it.
13709 Unref sinks when performing a query via gst_iterator_fold, as the
13710 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13712 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13713 (gst_clock_set_master):
13714 Drop our reference to the master clock, if any, when we are disposed.
13716 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13717 Chain up in dispose.
13719 2006-01-26 Wim Taymans <wim@fluendo.com>
13721 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13722 Add some debugging.
13724 2006-01-26 Julien MOUTTE <julien@moutte.net>
13726 * plugins/elements/gsttee.c: (gst_tee_do_push),
13727 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13728 handles pad being NOT_LINKED or in WRONG_STATE.
13730 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13735 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13738 remove obsolete entry
13740 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13742 * docs/gst/gstreamer-sections.txt:
13743 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13744 (gst_bin_iterate_sources), (gst_bin_send_event):
13746 * gst/gstelement.c: (gst_element_send_event):
13748 * gst/gstpad.c: (gst_pad_send_event):
13749 added code for downstream events, reviewed docs in gstevent.c
13751 2006-01-25 Julien MOUTTE <julien@moutte.net>
13753 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13754 We only query position using the clock in the playing state.
13755 Query peer in the other cases.
13756 * win32/common/config.h: Updates.
13758 2006-01-24 Wim Taymans <wim@fluendo.com>
13760 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13761 A clock entry that is scheduled for the exact time of the
13762 clock is still in time.
13764 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13765 (gst_base_sink_do_sync):
13766 Add some more debug info.
13768 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13771 Add new vs7 project files and solution.
13773 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13776 all files removed as they were out-dated.
13778 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13780 * docs/random/release:
13782 * gst/gstbin.c: (gst_bin_init):
13783 * gst/gstbus.c: (gst_bus_new):
13785 * gst/gstpipeline.c: (gst_pipeline_init):
13786 use gst_bus_new(), improve logging, fix docs
13787 * win32/common/config.h:
13788 update for cvs build
13790 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13793 up required version of automake to 1.7
13795 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
13797 * win32/common/libgstreamer.def:
13798 export gst_buffer_is_metadata_writable
13800 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
13802 * docs/gst/gstreamer-sections.txt:
13804 Add gst_event_replace() (#327001)
13806 2006-01-20 Wim Taymans <wim@fluendo.com>
13808 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13809 Make it actually compile too..
13811 2006-01-20 Wim Taymans <wim@fluendo.com>
13814 Clarify behaviour of _is_equal() when passing NULL parameters.
13816 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13817 (gst_pad_set_caps):
13818 Cleanups. Don't unref NULL caps.
13819 When setting the same caps, protect caps of the pad with
13821 Use full functionality of _is_equal() when comparing caps.
13823 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13825 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13826 Don't loop infinitely if there are no buffers to present. Partially
13827 fixes #327197, but collectpads is just broken for reusing elements
13828 to do multiple encodes atm.
13830 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13832 * tools/gst-inspect.c: (print_element_features):
13833 * tools/gst-xmlinspect.c: (main):
13834 URL_HANDLER is not a plugin feature we can search for in
13837 2006-01-19 Edward Hervey <edward@fluendo.com>
13839 * gst/gstelement.c: (gst_element_pads_activate):
13840 When activating, do src pads first, then sink pads.
13841 When de-activating, do sink pads first, then src pads.
13843 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13845 * docs/gst/gstreamer-sections.txt:
13846 Add gst_index_add_associationv to the docs
13848 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13853 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13854 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13855 Do some refactoring. Doesn't actually change functionality,
13856 but makes landing the DRAIN event easier later.
13858 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
13860 * docs/pwg/advanced-scheduling.xml:
13861 Update from 0.9.x to 0.10 API and make example a bit
13864 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13866 * docs/gst/gstreamer-sections.txt:
13867 Add gst_buffer_(is|make)_metadata_writable methods.
13869 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13871 * docs/design/part-sparsestreams.txt:
13872 Update sparse streams doc, hopefully for greater clarity
13874 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
13876 * docs/design/part-events.txt:
13877 Remove mention of FILLER events.
13880 * docs/design/part-sparsestreams.txt:
13881 Write some things about using NEWSEGMENT to keep sparse streams
13884 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13886 * gst/gstbin.c: (gst_bin_dispose):
13887 Guard gst_object_unref call against a NULL object (dispose
13888 can theoretically be called multiple times).
13890 2006-01-18 Wim Taymans <wim@fluendo.com>
13892 * gst/gstbin.c: (gst_bin_element_set_state):
13893 * gst/gstclock.c: (gst_clock_id_wait):
13894 Added some more debug info.
13896 * libs/gst/base/gstadapter.c:
13899 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13900 (gst_base_sink_do_sync), (gst_base_sink_chain):
13901 Added some comments.
13903 2006-01-18 Wim Taymans <wim@fluendo.com>
13905 * tests/check/Makefile.am:
13906 * tests/check/elements/fakesink.c: (chain_async_buffer),
13907 (chain_async), (chain_async_return), (GST_START_TEST),
13908 (fakesink_suite), (main):
13909 Added fakesink test that checks prerolling and clipping
13912 * tests/check/gst/gstutils.c: (GST_START_TEST):
13913 Make check run faster so that buildbots don't timeout.
13915 2006-01-18 Wim Taymans <wim@fluendo.com>
13917 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13918 (gst_base_sink_do_sync):
13920 When the sink finishes blocking on the preroll buffer, it can
13921 immediatly render it instead of rendering when the next buffer
13924 2006-01-18 Wim Taymans <wim@fluendo.com>
13926 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13927 (gst_base_sink_get_property), (gst_base_sink_do_sync),
13928 (gst_base_sink_chain):
13930 GST_ELEMENT_CLOCK and sync are protected with LOCK.
13931 Don't store _last_stop if the buffer is dropped.
13933 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13935 * plugins/elements/gsttypefindelement.c:
13936 (gst_type_find_element_class_init):
13937 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13938 object method handler that sets the caps on the pad and we want
13939 that to happen before we emit the signal (fixes e.g. feeding a
13940 plain text file to decodebin).
13942 2006-01-18 Christian Schaller <Christian@fluendo.com>
13944 * gst/gstplugin.c: Add MPL and Proprietary as license options
13946 2006-01-18 Andy Wingo <wingo@pobox.com>
13948 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13949 symbol was exported before, it appears this was just an oversight.
13951 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13953 * gst/gstindex.c (gst_index_add_associationv): Changed int in
13954 prototype to gint. OK since this prototype was not in the header.
13956 2006-01-17 Andy Wingo <wingo@pobox.com>
13958 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13959 registry while we remove plugins.
13961 * tools/gst-inspect.c (print_element_info): Don't unref the
13962 factory arg, that should be the responsibility of whatever code
13963 received the ref. Fixes a double-free when called from
13964 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13965 (main): Unref the factory if we have one.
13966 (print_element_list): No change -- relies on the
13967 plugin_feature_list_free to free the list of features.
13969 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
13971 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13972 (gst_buffer_make_metadata_writable):
13974 * libs/gst/base/gstbasetransform.c:
13975 (gst_base_transform_prepare_output_buf):
13976 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13977 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13978 Replace gst_buffer_(make|is)_metadata_writable patch now
13979 that the release is out.
13981 2006-01-17 Andy Wingo <wingo@pobox.com>
13983 * gst/gstregistry.c: Reflow design comment. Update so as to speak
13984 in the present tense without reference to versions.
13986 * gst/gstregistry.c (gst_registry_add_plugin)
13987 (gst_registry_remove_plugin, gst_registry_remove_feature)
13988 (gst_registry_find_feature, gst_registry_get_feature_list)
13989 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13990 (gst_registry_lookup, gst_registry_scan_path)
13991 (_gst_registry_remove_cache_plugins)
13992 (gst_registry_get_feature_list_by_plugin): Add argument
13995 === release 0.10.2 ===
13997 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
14000 releasing 0.10.2, "If man is five"
14002 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14006 * libs/gst/base/gstbasetransform.c:
14007 (gst_base_transform_prepare_output_buf):
14008 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14009 * tests/check/gst/gstbuffer.c: (gst_test_suite):
14010 Back out patch until after the release.
14012 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14014 * gst/gstminiobject.c:
14015 Spelling fix in docs.
14016 * ChangeLog - remove conflict indicator
14018 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14020 Reviewed By: Andy Wingo
14022 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14023 (gst_buffer_make_metadata_writable):
14025 Add gst_buffer_(is|make)_metadata_writable as analogues of
14026 gst_buffer_(is|make)_writable.
14028 * libs/gst/base/gstbasetransform.c:
14029 (gst_base_transform_prepare_output_buf):
14030 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14031 Use name gst_buffer_(is|make)_metadata_writable functions.
14033 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14034 Test gst_buffer_(is|make)_metadata_writable
14038 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
14040 * docs/manual/Makefile.am:
14041 don't do parallel make
14044 * win32/common/config.h.in:
14045 add generations for HOST_CPU and GST_MAJORMINOR
14046 * win32/common/config.h:
14047 commit generated result
14049 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
14051 * docs/manual/appendix-integration.xml:
14052 Update GNOME integration section to use gst_init_get_option_group()
14053 instead of the old popt stuff (#322911). Also, GNOME applications
14054 should now use gconf*sink and gconf*src instead of the old gconf
14057 2006-01-13 Stefan Kost <ensonic@users.sf.net>
14060 * docs/gst/gstreamer-docs.sgml:
14061 * docs/gst/gstreamer-sections.txt:
14062 * docs/libs/gstreamer-libs-sections.txt:
14063 add new API entries to the docs
14064 * libs/gst/controller/Makefile.am:
14065 * libs/gst/controller/gstcontroller.c:
14066 * libs/gst/controller/gstcontroller.h:
14067 * libs/gst/controller/gstcontrollerprivate.h:
14068 * libs/gst/controller/gsthelper.c:
14069 * libs/gst/controller/gstinterpolation.c:
14070 move private structs to private header
14072 gstreamer-0.7 -> gstreamer-0.10
14073 * tests/check/libs/struct_i386.h:
14074 remove private structs
14076 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14078 * plugins/indexers/Makefile.am:
14079 Fixes as part of #317048
14081 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14083 * plugins/indexers/Makefile.am:
14084 fix #316086 - compilation when mmap is missing
14086 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
14088 * libs/gst/base/gstbasesink.c:
14089 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
14090 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14091 * win32/common/config.h:
14092 added some defines GST_MAJORMINOR and HOST_CPU
14093 * win32/common/libgstbase.def:
14094 * win32/common/libgstreamer.def:
14095 added some exported functions.
14097 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14099 * libs/gst/controller/gstcontroller.c:
14100 (gst_controlled_property_set_interpolation_mode),
14101 (gst_controlled_property_new):
14102 * libs/gst/controller/gstcontroller.h:
14103 * libs/gst/controller/gstinterpolation.c:
14104 (interpolate_none_get_string_value_array):
14105 make G_TYPE_STRING controlable
14107 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14110 * tools/gst-feedback.1.in:
14111 * tools/gst-inspect.1.in:
14112 * tools/gst-launch.1.in:
14113 * tools/gst-md5sum.1.in:
14114 * tools/gst-typefind.1.in:
14115 * tools/gst-xmlinspect.1.in:
14116 * tools/gst-xmllaunch.1.in:
14117 cleanup man-pages, remove reference to gst-register, document env-vars
14119 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
14121 * gst/gstbuffer.c: (gst_buffer_span):
14122 gst_buffer_span should copy the timestamp of the first buffer
14123 if they were both originally overlapping subbuffers of the
14124 same parent, using the same logic as the 'slow copy' case.
14126 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
14128 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14129 Need to awaken ALL the pads when we pop a buffer, otherwise
14130 collectpads only works when there is 2 input streams.
14132 2006-01-11 Stefan Kost <ensonic@users.sf.net>
14134 * docs/random/ensonic/media-device-daemon.txt:
14137 fix doc example, add clarification
14138 * tools/gst-launch.1.in:
14139 add initial info about GST_PLUGIN_PATH, needs more work
14141 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
14143 * docs/manual/basics-bins.xml:
14144 * docs/manual/basics-elements.xml:
14145 * docs/manual/intro-basics.xml:
14146 Some more minor docs additions and updates.
14148 2006-01-11 Wim Taymans <wim@fluendo.com>
14150 * docs/manual/basics-bins.xml:
14151 * docs/manual/basics-elements.xml:
14152 Some small fixes as pointed out by Ser-ver on IRC.
14154 2006-01-10 Edward Hervey <edward@fluendo.com>
14156 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14157 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14158 the single-segment mode.
14160 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
14162 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14164 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14165 (gst_base_src_perform_seek), (gst_base_src_send_event),
14166 (gst_base_src_set_property), (gst_base_src_get_property),
14167 (gst_base_src_loop), (gst_base_src_start),
14168 (gst_base_src_activate_push):
14169 * libs/gst/base/gstbasesrc.h:
14170 Name (private) union; makes Sun's Forte compiler happy (#324900).
14172 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
14175 gst-register is gone.
14177 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
14179 * gst/gstvalue.c: (_gst_value_initialize):
14180 make the G_TYPE_DATE instantiation work if debug is disabled
14182 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
14184 * gst/gstmessage.c: (gst_message_parse_tag),
14185 (gst_message_parse_error), (gst_message_parse_warning):
14186 Don't crash when return location for error/warning debug
14187 string is NULL; add fact that return locations can be
14188 NULL to docs where appropriate.
14190 2006-01-05 Wim Taymans <wim@fluendo.com>
14192 * gst/gstplugin.c: (gst_plugin_load_file):
14193 Replace strdup by g_strdup.
14195 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14197 * docs/pwg/advanced-types.xml:
14200 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14202 submitted by: Abel Cheung
14206 Added Chinese (traditional) translation
14208 2006-01-04 Wim Taymans <wim@fluendo.com>
14210 * docs/manual/basics-pads.xml:
14211 * docs/plugins/Makefile.am:
14212 * docs/plugins/gstreamer-plugins-docs.sgml:
14213 * docs/plugins/gstreamer-plugins-sections.txt:
14214 * docs/pwg/advanced-clock.xml:
14215 * docs/pwg/advanced-scheduling.xml:
14216 * docs/pwg/advanced-types.xml:
14217 * plugins/elements/gstfdsink.c:
14218 * plugins/elements/gstfdsrc.c:
14219 * plugins/elements/gstfdsrc.h:
14220 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14221 * plugins/elements/gstidentity.h:
14222 * plugins/elements/gstqueue.h:
14223 * plugins/elements/gsttee.c:
14224 * plugins/elements/gsttee.h:
14225 * plugins/elements/gsttypefindelement.c:
14226 (gst_type_find_element_class_init):
14227 * plugins/elements/gsttypefindelement.h:
14228 Small updates to various docs.
14229 Added core plugins to docs.
14231 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14234 add a suppression for liboil's uninitialized variable
14236 2006-01-02 James Livingston <jrl at ids dot org dot au>
14238 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14241 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14242 macro, so that gcc doesn't complain if the -Wmissing-prototypes
14243 compiler switch is being used (#325429).
14245 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
14247 * gst/gstbin.c: (gst_bin_query):
14248 Disable duration query caching in bins until it gets
14249 fixed (see #324807).
14251 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14253 * tools/gst-inspect.c: (print_element_properties_info):
14254 Handle properties of POINTER and BOXED type.
14256 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14258 * gst/gst.c: (init_post):
14259 Init tags stuff and some other things before loading
14260 any static plugins (there may be other static plugins
14261 than just the GStreamer ones, and they may want to
14262 register their own tags or formats or whatever, and
14263 preferably without segfaulting).
14265 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14266 Print at least a warning in the debug logs if we drop a
14267 query just because we don't know how to adjust the value
14268 in the particular format.
14270 2005-12-24 David Schleef <ds@schleef.org>
14272 * tools/gstreamer-completion:
14273 Replacement for gst-complete written in sh and sed. Only
14274 completes names of features, but that's 90% of what I want
14275 it for. Properties are not available in registry.xml. (Maybe
14278 === release 0.10.1 ===
14280 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14283 releasing 0.10.1, "Nollaig chridheil"
14285 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
14287 * docs/faq/cvs.xml:
14288 Add missing quote, should be make ERROR_CFLAGS="".
14290 2005-12-20 Wim Taymans <wim@fluendo.com>
14292 * docs/design/part-trickmodes.txt:
14293 More documentation on trickmodes.
14295 2005-12-20 Edward Hervey <edward@fluendo.com>
14297 * gst/gstcaps.c: (gst_static_caps_get_type):
14299 API addition: GST_TYPE_STATIC_CAPS
14300 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14301 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14302 * gst/gstpadtemplate.h:
14303 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14304 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14307 2005-12-18 Wim Taymans <wim@fluendo.com>
14309 * libs/gst/base/gstadapter.c:
14310 * libs/gst/base/gstadapter.h:
14311 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14312 (gst_base_sink_get_position):
14313 * libs/gst/base/gstbasesink.h:
14314 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14315 (gst_base_src_default_query), (gst_base_src_default_do_seek),
14316 (gst_base_src_do_seek), (gst_base_src_perform_seek),
14317 (gst_base_src_send_event), (gst_base_src_update_length),
14318 (gst_base_src_get_range), (gst_base_src_loop),
14319 (gst_base_src_start):
14320 * libs/gst/base/gstbasesrc.h:
14321 * libs/gst/base/gstbasetransform.h:
14322 * libs/gst/base/gstcollectpads.h:
14323 * libs/gst/base/gstpushsrc.c:
14324 * libs/gst/base/gstpushsrc.h:
14325 * libs/gst/dataprotocol/dataprotocol.c:
14326 * libs/gst/dataprotocol/dataprotocol.h:
14327 * libs/gst/net/gstnetclientclock.h:
14328 * libs/gst/net/gstnettimeprovider.h:
14329 Documentation updates.
14331 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
14333 * docs/manual/basics-helloworld.xml:
14334 Remove superfluous closing bracket in helloworld example.
14336 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
14338 * tools/gst-launch.1.in:
14339 Update gst-launch man page; add a section with useful
14340 environment variables. Fixes #323882.
14342 2005-12-16 Stefan Kost <ensonic@users.sf.net>
14345 * gst/gst_private.h:
14346 change some char* into char[]
14348 2005-12-16 Wim Taymans <wim@fluendo.com>
14350 * gst/gstregistryxml.c: (load_feature):
14352 Don't use g_object_unref on GstObjects so that we avoid
14353 leaks on unsafe glibs.
14355 2005-12-16 Wim Taymans <wim@fluendo.com>
14357 * gst/gstbin.c: (gst_bin_recalc_state):
14360 2005-12-16 Wim Taymans <wim@fluendo.com>
14362 * common/check.mak:
14363 Added make forever target for check.
14365 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
14367 * gst/gst.c: (init_post):
14368 make the registry cache file HOST_CPU-dependent
14370 2005-12-16 Andy Wingo <wingo@pobox.com>
14372 * plugins/elements/gstbufferstore.c
14373 (gst_buffer_store_cleared_func): Pay attention to g_list_append
14376 * tests/check/gst/gstobject.c
14377 (test_fake_object_name_threaded_unique): Pay attention to
14378 g_list_sort return value.
14380 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
14382 * tools/gst-feedback-m.m:
14383 Update for 0.9/0.10 (fixes #323870).
14385 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
14387 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14388 Fix lcopy for mini objects, the mini object needs to be ref'ed.
14390 * tests/check/gst/gstminiobject.c: (my_foo_init),
14391 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14392 (test_value_collection), (gst_mini_object_suite):
14393 Add test to ensure refcounts end up as expected when passing
14394 GstMiniObjects through g_object_get() and g_object_set().
14396 2005-12-14 Julien MOUTTE <julien@moutte.net>
14398 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14399 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14400 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14401 of collectpads. This version removes a lot of races without
14402 touching API/ABI. Yay !
14404 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
14406 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14407 Don't allow activation of a srcpad in pull_range if it has no
14409 Change some debug statements to be a little clearer
14411 * plugins/elements/gsttypefindelement.c:
14412 (gst_type_find_handle_src_query):
14413 Check that we have a peer before executing queries thereupon.
14415 * tests/examples/metadata/read-metadata.c: (message_loop):
14416 Use gst_bus_pop instead of gst_bus_poll when we just want it to
14417 immediately return us any available message with 0 timeout.
14419 2005-12-12 Michael Smith <msmith@fluendo.com>
14421 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14422 Don't unref factories after calling them.
14423 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14424 * plugins/elements/gsttypefindelement.c:
14425 (gst_type_find_element_chain):
14426 Free lists of factories after using them. Fixing typefinding memory
14429 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14431 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14432 (gst_plugin_feature_load):
14433 more meaningful debug output
14435 * tests/Makefile.am:
14436 * tests/old/examples/Makefile.am:
14437 make make distcheck happy again
14439 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14441 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14442 Catch the special case where we are operating chain-based,
14443 but the downstream peer pad has no chain function. Emit a
14444 custom error message in this case instead of letting the
14445 core generate one implying that this is some sort of core
14446 bug. It's not, it just means that whatever got plugged
14447 into the pipeline downstream when we announced the type
14448 can only operate pull-based, while our source can only
14449 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14450 Error string has not been marked for translation yet, as
14451 it probably needs some more work first.
14453 (gst_type_find_element_get_best_possibility):
14454 Add helper function to find the best of all available
14455 found possibilities that qualify given the min. threshold.
14457 (gst_type_find_element_handle_event):
14458 Fix the case where we get an EOS while still in TYPEFIND
14459 mode (we want to chose the best of all possible types,
14460 not just the first type that happens to be in our unsorted
14461 list of possible types).
14463 (gst_type_find_element_chain):
14464 Make sure we return GST_FLOW_ERROR when we errored out
14465 in stop_typefinding(); also, don't just find the best of
14466 all found type entries and then use the last examined
14467 type entry, but actually use the best entry.
14469 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14471 * tests/examples/typefind/typefind.c: (type_found):
14472 * tests/examples/xml/runxml.c: (xml_loaded):
14473 More gcc4 fixes and a mem leak fix.
14475 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14477 * tests/examples/xml/createxml.c: (object_saved):
14480 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14482 * tests/Makefile.am:
14483 enable the examples even more
14485 2005-12-12 Andy Wingo <wingo@pobox.com>
14487 * libs/gst/net/gstnettimeprovider.c
14488 (gst_net_time_provider_class_init, gst_net_time_provider_init)
14489 (gst_net_time_provider_set_property)
14490 (gst_net_time_provider_get_property):
14491 API addition: Export "active" as a GObject property.
14492 (gst_net_time_provider_thread): Only respond to time queries if
14493 the time provider is active.
14495 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14496 NetTimeProvider, preserving binary compat.
14498 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14500 * tests/examples/controller/audio-example.c: (main):
14501 * tests/examples/launch/Makefile.am:
14502 convert comments again
14504 2005-12-12 Wim Taymans <wim@fluendo.com>
14506 * libs/gst/base/gstpushsrc.c:
14509 2005-12-12 Wim Taymans <wim@fluendo.com>
14511 * docs/libs/gstreamer-libs-sections.txt:
14512 Added new symbol to docs.
14514 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14515 (gst_base_src_init), (gst_base_src_set_format),
14516 (gst_base_src_default_query), (gst_base_src_query),
14517 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14518 (gst_base_src_perform_seek), (gst_base_src_send_event),
14519 (gst_base_src_default_event), (gst_base_src_event_handler),
14520 (gst_base_src_set_property), (gst_base_src_get_property),
14521 (gst_base_src_wait), (gst_base_src_do_sync),
14522 (gst_base_src_update_length), (gst_base_src_get_range),
14523 (gst_base_src_check_get_range), (gst_base_src_loop),
14524 (gst_base_src_default_negotiate), (gst_base_src_start),
14525 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14526 (gst_base_src_change_state):
14527 * libs/gst/base/gstbasesrc.h:
14528 Implement seeking to other formats than _BYTES.
14529 Implement more seeking methods correctly.
14531 Added query vmethod.
14532 Added do_seek vmethod to make life easier for subclasses
14534 API addition: gst_base_src_set_format()
14536 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14538 * tests/examples/Makefile.am:
14541 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14544 * docs/random/ensonic/media-device-daemon.txt:
14545 * tests/examples/controller/.cvsignore:
14546 * tests/examples/controller/Makefile.am:
14547 * tests/examples/controller/audio-example.c: (main):
14548 * tests/examples/helloworld/.cvsignore:
14549 * tests/examples/helloworld/Makefile.am:
14550 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14551 * tests/examples/launch/.cvsignore:
14552 * tests/examples/launch/Makefile.am:
14553 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14554 * tests/examples/metadata/.cvsignore:
14555 * tests/examples/metadata/Makefile.am:
14556 * tests/examples/metadata/read-metadata.c: (message_loop),
14557 (make_pipeline), (print_tag), (main):
14558 * tests/examples/queue/.cvsignore:
14559 * tests/examples/queue/Makefile.am:
14560 * tests/examples/queue/queue.c: (event_loop), (main):
14561 * tests/examples/typefind/.cvsignore:
14562 * tests/examples/typefind/Makefile.am:
14563 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14565 * tests/examples/xml/.cvsignore:
14566 * tests/examples/xml/Makefile.am:
14567 * tests/examples/xml/createxml.c: (object_saved), (main):
14568 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14569 * tests/old/examples/Makefile.am:
14570 * tests/old/examples/TODO:
14571 * tests/old/examples/controller/.cvsignore:
14572 * tests/old/examples/controller/Makefile.am:
14573 * tests/old/examples/controller/audio-example.c:
14574 * tests/old/examples/helloworld/.cvsignore:
14575 * tests/old/examples/helloworld/Makefile.am:
14576 * tests/old/examples/helloworld/helloworld.c:
14577 * tests/old/examples/launch/.cvsignore:
14578 * tests/old/examples/launch/Makefile.am:
14579 * tests/old/examples/launch/mp3parselaunch.c:
14580 * tests/old/examples/launch/mp3play:
14581 * tests/old/examples/manual/Makefile.am:
14582 * tests/old/examples/metadata/Makefile.am:
14583 * tests/old/examples/metadata/read-metadata.c:
14584 * tests/old/examples/queue/.cvsignore:
14585 * tests/old/examples/queue/Makefile.am:
14586 * tests/old/examples/queue/queue.c:
14587 * tests/old/examples/typefind/.cvsignore:
14588 * tests/old/examples/typefind/Makefile.am:
14589 * tests/old/examples/typefind/typefind.c:
14590 * tests/old/examples/xml/.cvsignore:
14591 * tests/old/examples/xml/Makefile.am:
14592 * tests/old/examples/xml/createxml.c:
14593 * tests/old/examples/xml/runxml.c:
14594 applied some simple fixing to some examples
14595 re-enabled the working examples
14597 2005-12-12 Wim Taymans <wim@fluendo.com>
14599 * gst/gstsegment.c: (gst_segment_init),
14600 (gst_segment_set_last_stop), (gst_segment_set_seek),
14601 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14602 (gst_segment_to_running_time):
14603 Added more documentation.
14604 Make sure the last_pos value is updated properly.
14605 Make sure to_stream_time and to_running_time don't
14606 operate on wrong values.
14608 * tests/check/gst/gstsegment.c: (GST_START_TEST):
14611 2005-12-12 Michael Smith <msmith@fluendo.com>
14613 * plugins/elements/gsttypefindelement.c: (free_entry),
14614 (gst_type_find_element_chain):
14615 Now that we're not leaking factories, make sure we keep references
14616 to them while we need them.
14618 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14620 * tests/check/gst/struct_i386.h:
14621 ifdef out the XML structs
14623 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14625 * gst/gstvalue.c: (gst_value_transform_double_fraction):
14626 floor is not needed, F is always positive; this obviates the
14627 need for adding -lm when building without libxml
14629 2005-12-12 Wim Taymans <wim@fluendo.com>
14631 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14632 Take current playback rate into account when reporting
14635 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14637 * docs/manual/mime-world.fig:
14638 Let's try this again, this time with a file that is
14639 actually in XFig format.
14641 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14643 * docs/manual/mime-world.fig:
14644 Add audioconvert element to diagram so that it
14645 matches the text and the code (fixes #319526).
14647 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14649 * docs/pwg/building-chainfn.xml:
14650 * docs/pwg/building-pads.xml:
14651 * docs/pwg/building-state.xml:
14652 * docs/pwg/other-source.xml:
14653 Update state change stuff for 0.10 (fixes #322969).
14655 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14657 * docs/manual/advanced-dataaccess.xml:
14658 * docs/manual/appendix-checklist.xml:
14659 * docs/manual/appendix-programs.xml:
14660 * docs/manual/basics-pads.xml:
14661 * docs/manual/highlevel-components.xml:
14662 * docs/manual/manual.xml:
14663 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14664 add converters in front of pipelines; remove curly
14665 brackets for threads stuff, they no longer exist; use
14666 GST_TYPE_FRACTION for framerates; update some pieces of
14667 code to 0.10, but there's plenty more to do.
14669 * docs/manual/appendix-porting.xml:
14670 Expand on asynchroneous state changes; s/0.9/0.10/;
14671 mention disappearance of gst_init_get_popt_table()
14674 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14676 * docs/faq/using.xml:
14677 Spider no longer exists, and neither does gst-launch-ext.
14678 Update examples to use decodebin and playbin and put
14679 converters in front of sinks (fixes #323726).
14681 2005-12-09 Michael Smith <msmith@fluendo.com>
14683 * plugins/elements/gsttypefindelement.c: (find_peek),
14684 (gst_type_find_element_chain):
14685 Fix leaking element factories in typefinding.
14686 Fix problem where we forgot about a probable type on non-seekable
14687 files, and thus later mis-typefound it.
14689 2005-12-09 Michael Smith <msmith@fluendo.com>
14691 * common/m4/gst-makecontext.m4:
14692 * common/m4/gst-mcsc.m4:
14694 * win32/common/config.h:
14695 * win32/common/config.h.in:
14696 Remove makecontext stuff; not used in 0.10 and causes problems on
14697 HPUX according to bug #322441
14699 2005-12-07 Wim Taymans <wim@fluendo.com>
14701 * tests/check/Makefile.am:
14702 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14704 * tests/check/libs/struct_i386.h:
14705 Added ABI check for libs
14707 2005-12-07 Wim Taymans <wim@fluendo.com>
14709 * tests/check/Makefile.am:
14710 And add the struct_i386.h to dist.
14712 2005-12-07 Wim Taymans <wim@fluendo.com>
14714 * tests/check/Makefile.am:
14715 * tests/check/gst/.cvsignore:
14716 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14718 * tests/check/gst/struct_i386.h:
14719 Added check for ABI compatibility.
14721 2005-12-07 Wim Taymans <wim@fluendo.com>
14723 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14724 (gst_fake_src_get_times), (gst_fake_src_create):
14725 Fix broken sync option, fixes #323259
14727 2005-12-07 Wim Taymans <wim@fluendo.com>
14732 * gst/gstcaps.c: (gst_caps_is_equal):
14733 Don't assert on NULL <--> X. Fixes #323260
14735 * gst/gstminiobject.c: (gst_mini_object_replace):
14736 If we're doing atomic operations, we might just as well use
14737 the proper way to get an atomic pointer.
14739 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14740 Clean up debugging.
14742 2005-12-07 Michael Smith <msmith@fluendo.com>
14744 * gst/parse/grammar.y:
14745 Remove handling of { } for threads.
14747 2005-12-06 David Schleef <ds@schleef.org>
14749 * libs/gst/base/gstbasetransform.c: speling fix.
14751 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
14753 * docs/libs/tmpl/gstdataprotocol.sgml:
14754 * docs/random/omega/testing/gstobject.c:
14757 * gst/gstelement.c:
14758 * gst/gstelementfactory.c:
14761 * gst/gstghostpad.c:
14763 * gst/gstpadtemplate.c:
14764 * gst/gstregistryxml.c:
14765 * gst/gsttaglist.c:
14766 * gst/gsttagsetter.c:
14767 * gst/gsttypefind.c:
14769 * libs/gst/base/gstbasesrc.c:
14770 * libs/gst/net/gstnetclientclock.c:
14771 * libs/gst/net/gstnettimeprovider.c:
14772 * plugins/elements/gstfakesrc.c:
14773 * plugins/elements/gstfdsrc.c:
14774 * plugins/elements/gstfilesrc.c:
14775 * plugins/elements/gstidentity.c:
14776 * plugins/elements/gstqueue.c:
14777 * plugins/elements/gsttypefindelement.c:
14778 * plugins/indexers/gstfileindex.c:
14779 * plugins/indexers/gstmemindex.c:
14780 * tests/check/gst/gsttag.c:
14781 * tests/old/examples/cutter/cutter.c:
14782 * tests/old/examples/mixer/mixer.c:
14783 * tests/old/examples/xml/runxml.c: (main):
14784 * tests/old/testsuite/caps/normalisation.c:
14785 * tests/old/testsuite/debug/global.c:
14786 * tests/old/testsuite/parse/parse1.c:
14787 * tools/gst-xmlinspect.c:
14788 * win32/common/dirent.c:
14791 === release 0.10.0 ===
14793 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14796 releasing 0.10.0, "Maroilles"
14798 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14800 submitted by: Funda Wang <fundawang@linux.net.cn>
14804 added Chinese (Traditional) translation
14806 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14808 * docs/gst/gstreamer-sections.txt:
14809 * docs/libs/tmpl/gstdataprotocol.sgml:
14810 * docs/random/thomasvs/TODO:
14815 2005-12-05 Andy Wingo <wingo@pobox.com>
14817 patch by: Wim Taymans <wim@fluendo.com>
14819 * libs/gst/base/gstbasetransform.c
14820 (gst_base_transform_prepare_output_buf)
14821 (gst_base_transform_buffer_alloc):
14822 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14823 alloc_buffer_and_set_caps.
14825 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14826 set_caps on the source pad.
14827 (gst_pad_alloc_buffer_and_set_caps): New function, does what
14828 alloc_buffer used to do. Fixes #322874.
14830 * docs/gst/gstreamer-sections.txt:
14831 * docs/design/part-negotiation.txt:
14832 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14835 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14837 patch by: Sebastien Moutte
14840 * win32/common/config.h.in:
14841 * win32/vs6/libgstcontroller.dsp:
14844 2005-12-05 Wim Taymans <wim@fluendo.com>
14846 * gst/gstcaps.c: (gst_caps_is_equal):
14847 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14848 (gst_fake_src_create):
14849 Back out previous code changes, leave doc updates, file bugs
14852 2005-12-05 Wim Taymans <wim@fluendo.com>
14854 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14855 (gst_fake_src_get_times), (gst_fake_src_create):
14856 * plugins/elements/gstfakesrc.h:
14857 Fix broken sync code.
14859 2005-12-05 Wim Taymans <wim@fluendo.com>
14861 * gst/gstcaps.c: (gst_caps_is_equal):
14862 Comparing NULL against !NULL yields different caps, not a
14865 2005-12-05 Wim Taymans <wim@fluendo.com>
14867 * gst/gstpipeline.c:
14868 Fix small typo in docs.
14870 2005-12-05 Andy Wingo <wingo@pobox.com>
14872 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
14874 * gst/gst.c (init_post): remove hard-coded 0.9 location for
14875 registries/plugins with a MAJORMINOR one.
14876 (plugin_desc): Rename library from gstcoreleements to
14877 staticelements. Fixes #323222.
14879 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
14881 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14882 Change debug category to 'collectpads' from 'collect_pads'
14885 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14887 patch by: Sebastien Moutte
14889 * libs/gst/controller/gstinterpolation.c:
14890 use convert function for uint64/double
14891 * win32/vs6/libgstcontroller.dsp:
14894 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14896 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14897 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14899 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14900 add tests that seem to show that the guint64/gdouble conversions
14903 2005-12-02 Wim Taymans <wim@fluendo.com>
14905 * gst/gstregistry.c: (gst_registry_add_path):
14906 * gst/gstregistry.h:
14907 * gst/gstregistryxml.c:
14910 2005-12-02 Wim Taymans <wim@fluendo.com>
14912 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14913 (gst_util_uint64_scale_int):
14916 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14917 Add debug log line.
14919 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14922 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14925 * win32/common/config.h:
14926 * win32/vs6/gstreamer.dsw:
14927 * win32/vs6/libgstcoreelements.dsp:
14928 * win32/vs6/libgstelements.dsp:
14929 renamed core elements plugin
14931 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14933 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14935 do piece-wise major/minor comparison so 0.9 < 0.10
14936 also allow .exe extensions for tools
14938 2005-12-02 Michael Smith <msmith@fluendo.com>
14941 Escape a % to make gtkdoc happier; bug 322958.
14943 === release 0.9.7 ===
14945 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14948 releasing 0.9.7, "My Dog Has No Nose"
14950 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14952 * common/gst-xmlinspect.py:
14954 * docs/libs/tmpl/gstdataprotocol.sgml:
14955 * docs/random/release:
14974 * win32/common/config.h:
14975 * win32/common/config.h.in:
14976 * win32/vs6/gst_inspect.dsp:
14977 * win32/vs6/gst_launch.dsp:
14978 * win32/vs6/libgstbase.dsp:
14979 * win32/vs6/libgstelements.dsp:
14980 * win32/vs6/libgstreamer.dsp:
14981 * win32/vs7/GStreamer.vcproj:
14982 * win32/vs7/gst-inspect.vcproj:
14983 * win32/vs7/gst-launch.vcproj:
14984 * win32/vs7/libgstbase.vcproj:
14985 bump GST_MAJORMINOR to 0.10
14986 reset libtool version
14988 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14992 Added Bulgarian translation by (Alexander Shopov)
14994 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14996 * tests/check/gst/gstplugin.c:
14999 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15001 * common/gst-xmlinspect.py:
15002 * common/gtk-doc-plugins.mak:
15004 * docs/Makefile.am:
15005 * docs/gst/Makefile.am:
15006 * docs/gst/gstreamer-docs.sgml:
15007 * docs/gst/gstreamer-sections.txt:
15008 * docs/gst/gstreamer.types:
15009 * docs/gst/gstreamer.types.in:
15010 * docs/plugins/Makefile.am:
15011 * docs/plugins/gstreamer-plugins-docs.sgml:
15012 * docs/plugins/gstreamer-plugins-sections.txt:
15013 * docs/plugins/gstreamer-plugins.types:
15014 * docs/plugins/inspect.stamp:
15015 * docs/plugins/inspect/plugin-coreelements.xml:
15016 * docs/plugins/inspect/plugin-coreindexers.xml:
15017 * docs/plugins/scanobj-build.stamp:
15018 * gstreamer.spec.in:
15019 * plugins/elements/Makefile.am:
15020 * plugins/elements/gstelements.c:
15021 * plugins/elements/gstfakesink.c:
15022 * plugins/elements/gstfakesrc.c:
15023 * plugins/elements/gstfilesink.c:
15024 * plugins/elements/gstfilesrc.c:
15025 * plugins/elements/gstqueue.c:
15026 * plugins/indexers/Makefile.am:
15027 * plugins/indexers/gstindexers.c:
15028 document core plugins in a separate document just like all the
15030 rename these plugins to something starting with core
15032 2005-12-01 Andy Wingo <wingo@pobox.com>
15034 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15035 padding here before, but it missed the commit.
15037 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15039 * libs/gst/controller/gstinterpolation.c:
15040 whitespace prices have crashed, we should feel free to use some now
15041 use gst_guint64_to_gdouble
15043 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15045 * libs/gst/controller/gstcontroller.c:
15046 * libs/gst/controller/gsthelper.c:
15047 * libs/gst/controller/gstinterpolation.c:
15048 * libs/gst/controller/lib.c:
15049 wrap config.h include
15051 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15053 * docs/gst/gstreamer-sections.txt:
15056 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15058 * plugins/elements/gstelements.c:
15059 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15060 (gst_fd_sink__class_init), (gst_fd_sink__init),
15061 (gst_fd_sink__chain), (gst_fd_sink__set_property),
15062 (gst_fd_sink__get_property):
15063 * plugins/elements/gstfdsink.h:
15064 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15065 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15066 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15067 (gst_fd_src_unlock), (gst_fd_src_set_property),
15068 (gst_fd_src_get_property), (gst_fd_src_create),
15069 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15070 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15071 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15072 (gst_fd_src_uri_handler_init):
15073 * plugins/elements/gstfdsrc.h:
15074 * plugins/elements/gstqueue.c: (gst_queue_get_type):
15077 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15079 * docs/gst/Makefile.am:
15080 * docs/gst/gstreamer.types.in:
15084 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15090 * gst/gstregistry.h:
15091 * tests/benchmarks/complexity.c:
15092 * tests/benchmarks/mass-elements.c:
15093 * tests/check/Makefile.am:
15094 * tools/Makefile.am:
15095 * tools/gst-inspect.c:
15096 * tools/gst-xmlinspect.c:
15097 various fixes to make
15098 --disable-nls --disable-registry --disable-loadsave
15099 --disable-parse --disable-gst-debug
15100 work and get the core .so down to 360444 bytes after stripping
15102 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15107 * docs/random/thomasvs/TODO:
15108 * tests/Makefile.am:
15112 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15114 * win32/GStreamer.vcproj:
15117 * win32/Makefile.inspect:
15118 * win32/Makefile.launch:
15119 * win32/Makefile.register:
15120 * win32/README.txt:
15121 * win32/gst-inspect.vcproj:
15122 * win32/gst-launch.vcproj:
15123 * win32/gst-register.vcproj:
15124 * win32/gstelements.vcproj:
15125 * win32/gstgetbits.def:
15126 * win32/gstgetbits.vcproj:
15127 * win32/gstreamer-dbg.def:
15128 * win32/gstreamer.def:
15129 * win32/libgstbase.def:
15130 * win32/libgstbase.vcproj:
15131 * win32/link_oldruntime.c:
15135 * win32/msvc71.sln:
15136 move even more stuff, win32/ is nice and clean now
15138 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15140 * libs/gst/control/.cvsignore:
15145 * win32/gstbytestream.def:
15146 * win32/gstbytestream.vcproj:
15147 * win32/gstconfig.h:
15148 * win32/gstenumtypes.c:
15149 * win32/gstenumtypes.h:
15150 * win32/gstoptimalscheduler.vcproj:
15151 * win32/gstversion.h:
15153 * win32/testsuite/bins.vcproj:
15154 * win32/testsuite/bytestream.vcproj:
15155 * win32/testsuite/caps.vcproj:
15156 * win32/testsuite/cleanup.vcproj:
15157 * win32/testsuite/clock.vcproj:
15158 * win32/testsuite/debug.vcproj:
15159 * win32/testsuite/dlopen.vcproj:
15160 * win32/testsuite/dynparams.vcproj:
15161 * win32/testsuite/elements.vcproj:
15162 * win32/testsuite/ghostpads.vcproj:
15163 * win32/testsuite/indexers.vcproj:
15164 * win32/testsuite/negotiation.vcproj:
15165 * win32/testsuite/parse.vcproj:
15166 * win32/testsuite/plugin.vcproj:
15167 * win32/testsuite/refcounting.vcproj:
15168 * win32/testsuite/schedulers.vcproj:
15169 * win32/testsuite/states.vcproj:
15170 * win32/testsuite/tags.vcproj:
15171 * win32/testsuite/threads.vcproj:
15172 remove old win32 stuff that isn't maintained and should be
15175 2005-11-30 Andy Wingo <wingo@pobox.com>
15177 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15178 loading the gst.interfaces python module bork.
15180 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15181 available since GLib 2.2. Fixes #318031.
15183 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15186 * check/.cvsignore:
15187 * check/Makefile.am:
15188 * check/elements/.cvsignore:
15189 * check/elements/fakesrc.c:
15190 * check/elements/fdsrc.c:
15191 * check/elements/identity.c:
15192 * check/generic/.cvsignore:
15193 * check/generic/states.c:
15194 * check/gst-libs/.cvsignore:
15195 * check/gst-libs/controller.c:
15196 * check/gst-libs/gdp.c:
15197 * check/gst/.cvsignore:
15198 * check/gst/capslist.h:
15200 * check/gst/gstbin.c:
15201 * check/gst/gstbuffer.c:
15202 * check/gst/gstbus.c:
15203 * check/gst/gstcaps.c:
15204 * check/gst/gstelement.c:
15205 * check/gst/gstevent.c:
15206 * check/gst/gstghostpad.c:
15207 * check/gst/gstiterator.c:
15208 * check/gst/gstmessage.c:
15209 * check/gst/gstminiobject.c:
15210 * check/gst/gstobject.c:
15211 * check/gst/gstpad.c:
15212 * check/gst/gstpipeline.c:
15213 * check/gst/gstplugin.c:
15214 * check/gst/gstsegment.c:
15215 * check/gst/gststructure.c:
15216 * check/gst/gstsystemclock.c:
15217 * check/gst/gsttag.c:
15218 * check/gst/gstutils.c:
15219 * check/gst/gstvalue.c:
15220 * check/net/.cvsignore:
15221 * check/net/gstnetclientclock.c:
15222 * check/net/gstnettimeprovider.c:
15223 * check/pipelines/.cvsignore:
15224 * check/pipelines/cleanup.c:
15225 * check/pipelines/simple_launch_lines.c:
15226 * check/pipelines/stress.c:
15227 * check/states/.cvsignore:
15228 * check/states/sinks.c:
15230 * examples/Makefile.am:
15231 * examples/appreader/.cvsignore:
15232 * examples/appreader/Makefile.am:
15233 * examples/appreader/appreader.c:
15234 * examples/controller/.cvsignore:
15235 * examples/controller/Makefile.am:
15236 * examples/controller/audio-example.c:
15237 * examples/cutter/.cvsignore:
15238 * examples/cutter/Makefile.am:
15239 * examples/cutter/cutter.c:
15240 * examples/cutter/cutter.h:
15241 * examples/events/Makefile.am:
15242 * examples/events/seek.c:
15243 * examples/helloworld/.cvsignore:
15244 * examples/helloworld/Makefile.am:
15245 * examples/helloworld/helloworld.c:
15246 * examples/helloworld2/.cvsignore:
15247 * examples/helloworld2/Makefile.am:
15248 * examples/helloworld2/helloworld2.c:
15249 * examples/launch/.cvsignore:
15250 * examples/launch/Makefile.am:
15251 * examples/launch/mp3parselaunch.c:
15252 * examples/launch/mp3play:
15253 * examples/manual/.cvsignore:
15254 * examples/manual/Makefile.am:
15255 * examples/manual/extract.pl:
15256 * examples/metadata/Makefile.am:
15257 * examples/metadata/read-metadata.c:
15258 * examples/mixer/.cvsignore:
15259 * examples/mixer/Makefile.am:
15260 * examples/mixer/mixer.c:
15261 * examples/mixer/mixer.h:
15262 * examples/pingpong/.cvsignore:
15263 * examples/pingpong/Makefile.am:
15264 * examples/pingpong/pingpong.c:
15265 * examples/plugins/.cvsignore:
15266 * examples/plugins/Makefile.am:
15267 * examples/plugins/example.c:
15268 * examples/plugins/example.h:
15269 * examples/pwg/.cvsignore:
15270 * examples/pwg/Makefile.am:
15271 * examples/pwg/extract.pl:
15272 * examples/queue/.cvsignore:
15273 * examples/queue/Makefile.am:
15274 * examples/queue/queue.c:
15275 * examples/queue2/.cvsignore:
15276 * examples/queue2/Makefile.am:
15277 * examples/queue2/queue2.c:
15278 * examples/queue3/.cvsignore:
15279 * examples/queue3/Makefile.am:
15280 * examples/queue3/queue3.c:
15281 * examples/queue4/.cvsignore:
15282 * examples/queue4/Makefile.am:
15283 * examples/queue4/queue4.c:
15284 * examples/retag/.cvsignore:
15285 * examples/retag/Makefile.am:
15286 * examples/retag/retag.c:
15287 * examples/retag/transcode.c:
15288 * examples/thread/.cvsignore:
15289 * examples/thread/Makefile.am:
15290 * examples/thread/thread.c:
15291 * examples/typefind/.cvsignore:
15292 * examples/typefind/Makefile.am:
15293 * examples/typefind/typefind.c:
15294 * examples/xml/.cvsignore:
15295 * examples/xml/Makefile.am:
15296 * examples/xml/createxml.c:
15297 * examples/xml/runxml.c:
15298 * tests/Makefile.am:
15299 * tests/check/Makefile.am:
15300 * testsuite/.cvsignore:
15301 * testsuite/Makefile.am:
15303 * testsuite/caps/.cvsignore:
15304 * testsuite/caps/Makefile.am:
15305 * testsuite/caps/app_fixate.c:
15306 * testsuite/caps/audioscale.c:
15307 * testsuite/caps/caps.c:
15308 * testsuite/caps/caps.h:
15309 * testsuite/caps/caps_strings:
15310 * testsuite/caps/compatibility.c:
15311 * testsuite/caps/deserialize.c:
15312 * testsuite/caps/enumcaps.c:
15313 * testsuite/caps/eratosthenes.c:
15314 * testsuite/caps/filtercaps.c:
15315 * testsuite/caps/fixed.c:
15316 * testsuite/caps/fraction-convert.c:
15317 * testsuite/caps/fraction-multiply-and-zero.c:
15318 * testsuite/caps/intersect2.c:
15319 * testsuite/caps/intersection.c:
15320 * testsuite/caps/normalisation.c:
15321 * testsuite/caps/random.c:
15322 * testsuite/caps/renegotiate.c:
15323 * testsuite/caps/sets.c:
15324 * testsuite/caps/simplify.c:
15325 * testsuite/caps/string-conversions.c:
15326 * testsuite/caps/structure.c:
15327 * testsuite/caps/subtract.c:
15328 * testsuite/caps/union.c:
15329 * testsuite/debug/.cvsignore:
15330 * testsuite/debug/Makefile.am:
15331 * testsuite/debug/category.c:
15332 * testsuite/debug/commandline.c:
15333 * testsuite/debug/global.c:
15334 * testsuite/debug/output.c:
15335 * testsuite/debug/printf_extension.c:
15336 * testsuite/dlopen/.cvsignore:
15337 * testsuite/dlopen/Makefile.am:
15338 * testsuite/dlopen/dlopen_gst.c:
15339 * testsuite/dlopen/loadgst.c:
15340 * testsuite/elements/.cvsignore:
15341 * testsuite/elements/Makefile.am:
15342 * testsuite/elements/gst-inspect-check.in:
15343 * testsuite/elements/struct_i386.h:
15344 * testsuite/elements/struct_size.c:
15345 * testsuite/indexers/.cvsignore:
15346 * testsuite/indexers/Makefile.am:
15347 * testsuite/indexers/cache1.c:
15348 * testsuite/indexers/indexdump.c:
15349 * testsuite/parse/.cvsignore:
15350 * testsuite/parse/Makefile.am:
15351 * testsuite/parse/parse1.c:
15352 * testsuite/parse/parse2.c:
15353 * testsuite/plugin/.cvsignore:
15354 * testsuite/plugin/Makefile.am:
15355 * testsuite/plugin/README:
15356 * testsuite/plugin/dynamic.c:
15357 * testsuite/plugin/linked.c:
15358 * testsuite/plugin/loading.c:
15359 * testsuite/plugin/registry.c:
15360 * testsuite/plugin/static.c:
15361 * testsuite/plugin/static2.c:
15362 * testsuite/plugin/testplugin.c:
15363 * testsuite/plugin/testplugin2.c:
15364 * testsuite/plugin/testplugin2_s.c:
15365 * testsuite/plugin/testplugin_s.c:
15366 * testsuite/refcounting/.cvsignore:
15367 * testsuite/refcounting/Makefile.am:
15368 * testsuite/refcounting/bin.c:
15369 * testsuite/refcounting/element.c:
15370 * testsuite/refcounting/element_pad.c:
15371 * testsuite/refcounting/mainloop.c:
15372 * testsuite/refcounting/mem.c:
15373 * testsuite/refcounting/mem.h:
15374 * testsuite/refcounting/object.c:
15375 * testsuite/refcounting/pad.c:
15376 * testsuite/refcounting/sched.c:
15377 * testsuite/refcounting/thread.c:
15378 * testsuite/states/.cvsignore:
15379 * testsuite/states/Makefile.am:
15380 * testsuite/states/bin.c:
15381 * testsuite/states/locked.c:
15382 * testsuite/states/parent.c:
15383 * testsuite/threads/.cvsignore:
15384 * testsuite/threads/159566.c:
15385 * testsuite/threads/159852.c:
15386 * testsuite/threads/Makefile.am:
15387 * testsuite/threads/queue.c:
15388 * testsuite/threads/signals.c:
15389 * testsuite/threads/staticrec.c:
15390 * testsuite/threads/thread.c:
15391 * testsuite/threads/threadb.c:
15392 * testsuite/threads/threadc.c:
15393 * testsuite/threads/threadd.c:
15394 * testsuite/threads/threade.c:
15395 * testsuite/threads/threadf.c:
15396 * testsuite/threads/threadg.c:
15397 * testsuite/threads/threadh.c:
15398 * testsuite/threads/threadi.c:
15399 move all of these under tests
15401 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15404 * tests/Makefile.am:
15407 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15409 * docs/gst/gstreamer-sections.txt:
15410 * tests/sched/.cvsignore:
15411 * tests/sched/Makefile.am:
15412 * tests/sched/cases/(fs-fs).xml:
15413 * tests/sched/cases/(fs-i-fs).xml:
15414 * tests/sched/cases/(fs-i-i-fs).xml:
15415 * tests/sched/cases/(fs-i-q[i-fs]).xml:
15416 * tests/sched/dynamic-pipeline.c:
15417 * tests/sched/interrupt1.c:
15418 * tests/sched/interrupt2.c:
15419 * tests/sched/interrupt3.c:
15420 * tests/sched/runtestcases:
15421 * tests/sched/runxml.c:
15422 * tests/sched/sched-stress.c:
15423 * tests/sched/sort.c:
15424 * tests/sched/testcases:
15425 * tests/sched/testcases1.tc:
15426 * tests/seeking/.cvsignore:
15427 * tests/seeking/Makefile.am:
15428 * tests/seeking/seeking1.c:
15429 * tests/threadstate/.cvsignore:
15430 * tests/threadstate/Makefile.am:
15431 * tests/threadstate/test1.c:
15432 * tests/threadstate/test2.c:
15433 * tests/threadstate/threadstate1.c:
15434 * tests/threadstate/threadstate2.c:
15435 * tests/threadstate/threadstate3.c:
15436 * tests/threadstate/threadstate4.c:
15437 * tests/threadstate/threadstate5.c:
15438 remove obsolete tests
15440 * tests/bench-complexity.scm:
15441 * tests/bench-mass_elements.scm:
15442 * tests/complexity.c:
15443 * tests/complexity.gnuplot:
15444 * tests/instantiate/.cvsignore:
15445 * tests/instantiate/Makefile.am:
15446 * tests/instantiate/caps.c:
15447 * tests/mass_elements.c:
15448 * tests/network-clock-utils.scm:
15449 * tests/network-clock.scm:
15451 First pass at cleaning up tests/ dir before moving the rest
15452 Combined with CVS surgery
15454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15457 queue has moved, update
15459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15461 * docs/gst/gstreamer-sections.txt:
15462 remove double entries from the docs
15463 * gst/gst_private.h:
15464 * gst/gstinfo.c: (_gst_debug_init):
15465 remove the THREAD debug category
15469 * docs/gst/gstreamer.types:
15470 * plugins/elements/gstqueue.c: (gst_queue_get_type),
15471 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15472 completely move queue and fix up debugging categories
15474 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15476 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15477 make initialization portable, using LL is not
15479 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15481 * win32/common/gstconfig.h:
15484 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15486 * win32/common/libgstreamer.def:
15487 rename symbols; sort base section
15489 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15491 * gst/gstclock.c: (do_linear_regression):
15492 remove crack non-portable handrolled DEBUG macro
15494 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15496 * docs/random/release:
15498 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15499 (gst_object_flags_get_type), (register_gst_bin_flags),
15500 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15501 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15502 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15503 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15504 (gst_caps_flags_get_type), (register_gst_clock_return),
15505 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15506 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15507 (gst_clock_flags_get_type), (register_gst_state),
15508 (gst_state_get_type), (register_gst_state_change_return),
15509 (gst_state_change_return_get_type), (register_gst_state_change),
15510 (gst_state_change_get_type), (register_gst_element_flags),
15511 (gst_element_flags_get_type), (register_gst_core_error),
15512 (gst_core_error_get_type), (register_gst_library_error),
15513 (gst_library_error_get_type), (register_gst_resource_error),
15514 (gst_resource_error_get_type), (register_gst_stream_error),
15515 (gst_stream_error_get_type), (register_gst_event_type_flags),
15516 (gst_event_type_flags_get_type), (register_gst_event_type),
15517 (gst_event_type_get_type), (register_gst_seek_type),
15518 (gst_seek_type_get_type), (register_gst_seek_flags),
15519 (gst_seek_flags_get_type), (register_gst_format),
15520 (gst_format_get_type), (register_gst_index_certainty),
15521 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15522 (gst_index_entry_type_get_type),
15523 (register_gst_index_lookup_method),
15524 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15525 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15526 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15527 (gst_index_flags_get_type), (register_gst_debug_level),
15528 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15529 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15530 (gst_iterator_result_get_type), (register_gst_iterator_item),
15531 (gst_iterator_item_get_type), (register_gst_message_type),
15532 (gst_message_type_get_type), (register_gst_mini_object_flags),
15533 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15534 (gst_pad_link_return_get_type), (register_gst_flow_return),
15535 (gst_flow_return_get_type), (register_gst_activate_mode),
15536 (gst_activate_mode_get_type), (register_gst_pad_direction),
15537 (gst_pad_direction_get_type), (register_gst_pad_flags),
15538 (gst_pad_flags_get_type), (register_gst_pad_presence),
15539 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15540 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15541 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15542 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15543 (gst_plugin_flags_get_type), (register_gst_rank),
15544 (gst_rank_get_type), (register_gst_query_type),
15545 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15546 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15547 (gst_tag_flag_get_type), (register_gst_task_state),
15548 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15549 (gst_alloc_trace_flags_get_type),
15550 (register_gst_type_find_probability),
15551 (gst_type_find_probability_get_type), (register_gst_uri_type),
15552 (gst_uri_type_get_type), (register_gst_parse_error),
15553 (gst_parse_error_get_type):
15554 * win32/common/gstenumtypes.h:
15555 * win32/common/gstversion.h:
15556 update visual studio generated files
15558 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15560 * win32/vs6/libgstbase.dsp:
15561 * win32/vs6/libgstelements.dsp:
15562 update project files for new locations
15564 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15569 reinstate and update
15574 * docs/random/LICENSE:
15577 2005-11-30 Edward Hervey <edward@fluendo.com>
15579 * gst/gsttypefind.c: (gst_type_find_register):
15580 * gst/gsttypefind.h:
15581 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15582 (gst_type_find_factory_dispose):
15583 * gst/gsttypefindfactory.h:
15584 Fix memory leak in GstTypeFindFactory.
15586 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15589 * plugins/elements/Makefile.am:
15590 * plugins/elements/gstelements.c:
15591 * plugins/elements/gstqueue.c:
15592 move queue from core to the elements plugin
15594 2005-11-29 Andy Wingo <wingo@pobox.com>
15596 * libs/gst/base/gstbasetransform.h:
15597 * libs/gst/base/gstbasesrc.h:
15598 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15600 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15601 of pointers by which to pad very extensible base classes (like the
15602 ones in libs/gst/base).
15604 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15606 * docs/gst/gstreamer-docs.sgml:
15607 * docs/gst/gstreamer-sections.txt:
15608 * docs/libs/gstreamer-libs-docs.sgml:
15609 * docs/libs/gstreamer-libs-sections.txt:
15610 moving documentation from core to lib
15612 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15614 * check/Makefile.am:
15616 * docs/gst/Makefile.am:
15618 * gst/base/.cvsignore:
15619 * gst/base/Makefile.am:
15621 * gst/base/gstadapter.c:
15622 * gst/base/gstadapter.h:
15623 * gst/base/gstbasesink.c:
15624 * gst/base/gstbasesink.h:
15625 * gst/base/gstbasesrc.c:
15626 * gst/base/gstbasesrc.h:
15627 * gst/base/gstbasetransform.c:
15628 * gst/base/gstbasetransform.h:
15629 * gst/base/gstcollectpads.c:
15630 * gst/base/gstcollectpads.h:
15631 * gst/base/gstpushsrc.c:
15632 * gst/base/gstpushsrc.h:
15633 * gst/base/gsttypefindhelper.c:
15634 * gst/base/gsttypefindhelper.h:
15635 * gst/check/Makefile.am:
15636 * gst/check/gstcheck.c:
15637 * gst/check/gstcheck.h:
15638 * gst/net/Makefile.am:
15639 * gst/net/gstnet.h:
15640 * gst/net/gstnetclientclock.c:
15641 * gst/net/gstnetclientclock.h:
15642 * gst/net/gstnettimepacket.c:
15643 * gst/net/gstnettimepacket.h:
15644 * gst/net/gstnettimeprovider.c:
15645 * gst/net/gstnettimeprovider.h:
15646 * libs/gst/Makefile.am:
15647 * libs/gst/base/Makefile.am:
15648 * libs/gst/base/gstbasetransform.c:
15649 * libs/gst/check/Makefile.am:
15650 * plugins/elements/Makefile.am:
15652 CVS surgery + support to move base, check, and net out of gst
15655 2005-11-29 Andy Wingo <wingo@pobox.com>
15657 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15659 * gst/gststructure.h (struct _GstStructure): Only one pointer of
15662 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15664 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15666 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15668 * gst/gstobject.h: (struct _GstObject): Only one pointer of
15669 padding; reduces object size by about 30%. We don't expect
15670 anything else to go into gstobject.
15672 * gst/gstminiobject.h (struct _GstMiniObject)
15673 (struct _GstMiniObjectClass): Only one pointer of padding; the
15674 payload is only a pointer and two ints anyway. For the class there
15675 are only two methods as well.
15677 * gst/gstelement.h (struct _GstElementClass): Removed
15678 the state_changed signal callback, it is not used.
15680 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15682 * docs/gst/gstreamer.types:
15683 fix includes, though they are a little dinky
15685 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15687 * check/Makefile.am:
15688 look in the right place for elements, a lot more chance of
15691 remove indexers and elements subdirs
15692 * plugins/Makefile.am:
15693 make indexers conditional
15695 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15699 * plugins/elements/Makefile.am:
15700 * plugins/elements/gstcapsfilter.c:
15701 * plugins/elements/gstfilesink.c:
15702 * plugins/elements/gstfilesrc.c:
15703 * plugins/elements/gstidentity.c:
15704 * plugins/indexers/Makefile.am:
15705 do CVS surgery and related build fixery to move elements
15706 and indexers in a new gstreamer/plugins directory, out of the
15709 2005-11-29 Andy Wingo <wingo@pobox.com>
15711 * check/Makefile.am:
15712 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15713 * pkgconfig/gstreamer-net.pc.in:
15714 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15717 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15719 * tools/Makefile.am:
15720 * tools/gst-complete.1.in:
15721 * tools/gst-complete.c:
15722 * tools/gst-compprep.1.in:
15723 * tools/gst-compprep.c:
15724 removing -compprep and -complete
15726 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15728 * gst/gstevent.c: (gst_event_new_new_segment),
15729 (gst_event_parse_new_segment):
15731 fix #320529 - clean up new_segment API and structure.
15732 Let's hope everyone was using the methods, and not the structure.
15734 2005-11-29 Edward Hervey <edward@fluendo.com>
15736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15737 (gst_base_sink_event), (gst_base_sink_do_sync),
15738 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15739 Properly handle non GST_FORMAT_TIME segment
15740 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15741 Properly handle non GST_FORMAT_TIME segment
15742 * gst/gstsegment.c:
15743 This function is valid if the accumulator is 0 and the format
15744 is different from the requested format.
15746 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15748 * docs/gst/gstreamer-sections.txt:
15749 Add gst_query_new_seeking and gst_query_parse_seeking to the
15752 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15754 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15755 Treat a pad alloc with new caps the same as if we were not
15756 negotiated, in order to allow a changing upstream output
15757 to produce a new format of data.
15759 2005-11-29 Edward Hervey <edward@fluendo.com>
15761 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15762 (gst_base_transform_event), (gst_base_transform_eventfunc):
15763 The event virtual method is now properly implemented, with a default
15765 Sub classes should call the parent_class event method. They should
15766 return FALSE if they had a problem handling the given event, or don't
15767 want GstBaseTransform to send that even downstream
15768 * gst/elements/gstidentity.c: (gst_identity_class_init),
15769 (gst_identity_init), (gst_identity_event),
15770 (gst_identity_transform_ip), (gst_identity_set_property),
15771 (gst_identity_get_property):
15772 * gst/elements/gstidentity.h:
15773 Added the single-segment boolean property.
15774 If set to TRUE, it will output a single segment of data, starting from
15775 0, will eat up all incoming newsegment, and modify the timestamp of the
15776 buffers accordingly
15778 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
15780 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15781 Don't ref NULL target pad (#322751). Improve docs.
15783 2005-11-29 Michael Smith <msmith@fluendo.com>
15785 * gst/gstregistryxml.c: (load_plugin):
15786 Don't crash if we failed to load a feature from a plugin.
15788 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15790 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15792 use more check API and less GLib API
15794 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15797 don't run checks if we don't have check
15798 * common/check.mak:
15799 remove the registry when running make torture
15800 * docs/gst/gstreamer-sections.txt:
15801 remove second multiply
15802 * gst/gstqueue.c: (gst_queue_loop):
15803 fix a compile warning when disabling debug
15805 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15808 Hey! Let's print the pad name if the pointer != NULL instead
15809 of when it == NULL :-)
15811 2005-11-28 Wim Taymans <wim@fluendo.com>
15813 * check/gst/gstutils.c: (GST_START_TEST):
15814 Updated check, add some scaling accuracy checking code.
15816 * gst/gstutils.c: (gst_util_div128_64),
15817 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15818 (gst_util_uint64_scale_int):
15819 Fix 6 times faster division code. Optimize for common
15820 1/1 and less common X/1 cases.
15822 2005-11-28 Wim Taymans <wim@fluendo.com>
15824 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15827 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15828 (do_linear_regression), (gst_clock_add_observation):
15830 Release lock when the clock cannot be slaved.
15831 Catch the case where the regression returned an invalid denominator.
15833 * gst/gstutils.c: (gst_util_div128_64_iterate),
15834 (gst_util_div128_64), (gst_util_uint64_scale_int64),
15835 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15836 Add protentially more performant non-iterative 128/64 divide function
15837 that unfortunatly does not work yet.
15838 Shortcut the trivial 0/X = 0 case.
15839 Remove the warnings on overflow.
15841 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15843 * gst/gstplugin.c: (gst_plugin_register_func):
15844 everything causing a plugin not to load should be at least a WARNING
15846 2005-11-28 Stefan Kost <ensonic@users.sf.net>
15848 * docs/random/ensonic/dparams.txt:
15849 some TODOs for the next dev cycle
15850 * libs/gst/controller/gstcontroller.c:
15851 (gst_controlled_property_set_interpolation_mode),
15852 (gst_controlled_property_new):
15853 * libs/gst/controller/gstcontroller.h:
15854 use base type to assign acccessor functions
15856 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15858 * check/Makefile.am:
15859 Oops, that should have been top_srcdir
15861 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15863 * check/Makefile.am:
15864 * check/elements/fdsrc.c: (GST_START_TEST):
15865 Use a cmdline define to specify the location of a file to use for
15866 testing, to avoid breaking distcheck.
15868 2005-11-28 Andy Wingo <wingo@pobox.com>
15870 * gst/gstpad.c (fixate_value): Use array functions for arrays.
15872 2005-11-28 Edward Hervey <edward@fluendo.com>
15874 * tools/gst-launch.c: (main):
15875 Clarify the output strings, makes it easier to translate.
15878 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15881 don't try and build net if we don't even have <sys/socket.h>
15883 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
15885 * check/Makefile.am:
15886 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15887 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15888 Add tests for fdsrc seekability
15890 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15891 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15892 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15893 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15894 * gst/elements/gstfdsrc.h:
15895 fdsrc should not be a 'live' source.
15896 Implement seeking on seekable fd's.
15898 * gst/gstquery.c: (gst_query_new_seeking),
15899 (gst_query_parse_seeking):
15901 Implement SEEKING query functions:
15902 *_new_seeking and *_parse_seeking
15904 2005-11-27 Stefan Kost <ensonic@users.sf.net>
15906 * gst/gstelement.c: (gst_element_dispose):
15909 * gst/gstiterator.c:
15910 * gst/gststructure.c:
15913 * libs/gst/controller/gstcontroller.c:
15914 (gst_controlled_property_set_interpolation_mode):
15915 * libs/gst/controller/gstcontroller.h:
15916 * libs/gst/controller/gstinterpolation.c:
15917 (interpolate_none_get_enum_value_array):
15918 support controlling enums
15920 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15923 Improve documentation for gst_value_union().
15926 Change return value for union, intersect and subtract functions
15927 from gint to gboolean.
15929 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15931 * gst/gstvalue.c: (gst_value_serialize_any_list),
15932 (gst_value_transform_any_list_string),
15933 (gst_value_deserialize_list), (gst_value_deserialize_array),
15934 (gst_value_set_int_range), (gst_value_deserialize_int_range),
15935 (gst_value_set_double_range), (gst_value_deserialize_double_range),
15936 (gst_value_set_fraction_range_full),
15937 (gst_value_deserialize_fraction_range),
15938 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15939 (gst_value_deserialize_boolean),
15940 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15941 (gst_value_serialize_float), (gst_value_deserialize_float),
15942 (gst_string_wrap), (gst_value_deserialize_string),
15943 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15944 (gst_value_union_int_range_int_range),
15945 (gst_value_intersect_int_range_int_range),
15946 (gst_value_intersect_double_range_double_range),
15947 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15948 (gst_value_subtract_int_range_int_range),
15949 (gst_value_subtract_double_double_range),
15950 (gst_value_subtract_double_range_double_range),
15951 (gst_value_deserialize_fraction):
15953 Use gint, gdouble and gchar in our API instead of int, double and
15954 char (and make usage in gstvalue.c more consistent).
15956 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15958 * check/Makefile.am:
15959 * libs/gst/controller/Makefile.am:
15960 * libs/gst/dataprotocol/Makefile.am:
15961 fix up Makefile.am and remove GST_ENABLE_NEW
15963 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15967 * gst/base/Makefile.am:
15968 * gst/check/Makefile.am:
15969 * gst/elements/Makefile.am:
15970 * gst/net/Makefile.am:
15971 update LDFLAGS use some more
15973 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15975 * common/m4/gst-doc.m4:
15978 2005-11-26 Edward Hervey <edward@fluendo.com>
15980 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15981 This shouldn't issue a g_warning since it returns NULL if it
15982 couldn't find the plugin, and all functions using this behave
15983 properly on a NULL return. Switching to a GST_WARNING.
15985 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
15987 * gst/gstbin.c: (gst_bin_handle_message_func):
15988 Don't leak clock messages.
15990 2005-11-25 Wim Taymans <wim@fluendo.com>
15992 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15993 (gst_util_uint64_scale_int):
15994 Optimisations, remove unneeded vars.
15996 2005-11-25 Wim Taymans <wim@fluendo.com>
15998 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15999 Added more checks for the high precision uint64 cases.
16001 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16002 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16003 Implement high precision (guint64 * guint64) / guint64.
16005 2005-11-24 Wim Taymans <wim@fluendo.com>
16007 * gst/base/gstbasesrc.c: (gst_base_src_query):
16008 Fix wrong percentage query.
16010 * gst/gstutils.c: (gst_util_uint64_scale),
16011 (gst_util_uint64_scale_int):
16012 Add some more common cases that can be handled
16013 efficiently to _scale.
16015 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16017 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16018 (gst_mini_object_suite):
16019 don't use check calls from threads; check probably isn't
16020 threadsafe and using a lock to make it threadsafe would
16021 defeat the purpose of this check
16022 * gst/check/gstcheck.c:
16023 * gst/check/gstcheck.h:
16024 use GST_DEBUG some more
16026 2005-11-24 Wim Taymans <wim@fluendo.com>
16028 * gst/gstutils.c: (gst_util_uint64_scale),
16029 (gst_util_uint64_scale_int):
16030 Chain trivial case to _scale_int.
16032 2005-11-24 Wim Taymans <wim@fluendo.com>
16034 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16035 Added test for scaling.
16040 * gst/gstutils.c: (gst_util_uint64_scale_int):
16041 Implemented high precision scaling code.
16043 2005-11-24 Stefan Kost <ensonic@users.sf.net>
16046 do not crash on pad==NULL
16048 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16050 Patch by: Stefan Kost
16052 * common/gtk-doc.mak:
16053 * docs/gst/Makefile.am:
16054 * docs/libs/Makefile.am:
16055 Fix distcheck issues for the libraries docs build
16058 2005-11-24 Michael Smith <msmith@fluendo.com>
16060 * docs/manual/basics-helloworld.xml:
16061 Fix bug #315027: memory leak in example code in docs.
16063 2005-11-24 Michael Smith <msmith@fluendo.com>
16065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16066 Unlock the PREROLL_LOCK in a failure case.
16068 2005-11-24 Wim Taymans <wim@fluendo.com>
16070 * docs/gst/gstreamer-sections.txt:
16071 * gst/base/gstadapter.h:
16072 * gst/base/gstbasesink.h:
16073 * gst/base/gstbasesrc.h:
16074 * gst/base/gstbasetransform.h:
16075 * gst/base/gstpushsrc.h:
16076 * gst/elements/gstfakesink.h:
16077 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16078 * gst/elements/gstfakesrc.h:
16079 * gst/elements/gstfilesink.h:
16080 * gst/elements/gstfilesrc.h:
16083 * gst/gstbuffer.c: (_gst_buffer_copy):
16086 * gst/gstchildproxy.c:
16088 * gst/gstelement.c:
16089 * gst/gstelementfactory.c:
16090 * gst/gstelementfactory.h:
16092 * gst/gstghostpad.h:
16094 * gst/gstinterface.h:
16095 * gst/gstminiobject.c:
16096 * gst/gstminiobject.h:
16099 * gst/gstpadtemplate.h:
16100 * gst/gstpipeline.h:
16101 * gst/gstpluginfeature.h:
16104 * gst/gsttaglist.c:
16105 * gst/gsttaglist.h:
16106 * gst/gsttagsetter.c:
16107 * gst/gsttagsetter.h:
16110 * gst/gsttypefind.h:
16113 * gst/net/gstnetclientclock.c:
16114 * gst/net/gstnetclientclock.h:
16115 * gst/net/gstnettimepacket.c:
16116 * gst/net/gstnettimeprovider.c:
16117 * gst/net/gstnettimeprovider.h:
16120 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16122 * configure.ac: back to HEAD
16124 === release 0.9.6 ===
16126 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16129 releasing 0.9.6, "Always On Time"
16131 2005-11-23 Wim Taymans <wim@fluendo.com>
16133 * docs/gst/gstreamer-sections.txt:
16134 * gst/glib-compat.c:
16135 * gst/gsttagsetter.c:
16137 * gst/net/gstnetclientclock.c:
16138 * gst/net/gstnettimepacket.h:
16141 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16143 * docs/faq/using.xml:
16144 * docs/libs/tmpl/gstcontrol.sgml:
16145 * docs/manual/advanced-dparams.xml:
16146 * docs/manual/appendix-checklist.xml:
16147 * docs/manual/basics-elements.xml:
16148 * docs/pwg/other-source.xml:
16149 * docs/random/moving-plugins:
16151 * tools/gst-launch.1.in:
16152 remove mentions of sinesrc
16154 2005-11-23 Michael Smith <msmith@fluendo.com>
16156 * docs/gst/gstreamer-sections.txt:
16157 Update for new API and API changes.
16159 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16161 Documentation typo fix.
16162 * gst/net/gstnettimepacket.c:
16163 Documentation fixes for arguments.
16165 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
16167 * gst/gststructure.c: (gst_structure_get_fraction),
16168 (gst_structure_parse_value),
16169 (gst_structure_fixate_field_nearest_fraction):
16170 * gst/gststructure.h:
16171 * gst/gstutils.c: (gst_util_uint64_scale_int):
16173 * scripts/update-funcnames:
16175 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16176 Make gst_structure_fixate_field_nearest_fraction take a numerator
16177 and denominator argument instead of a GValue
16178 add gst_structure_get_fraction helper function.
16180 2005-11-23 Wim Taymans <wim@fluendo.com>
16182 * docs/design/part-TODO.txt:
16185 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16186 * gst/net/gstnetclientclock.h:
16187 Use parent fields for timeout and window_size.
16189 2005-11-23 Andy Wingo <wingo@pobox.com>
16191 * check/net/gstnetclientclock.c (test_functioning): Adjust to
16192 rate_num/rate_denom change.
16194 * gst/net/gstnetclientclock.c
16195 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16196 OBJECT_LOCK. Don't call add_observation with the lock.
16198 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16200 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16202 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16203 deal with rate as a fraction whose numerator and denominator are
16204 GstClockTime values.
16205 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16206 master; the other fields are protected by the SLAVE_LOCK.
16207 (do_linear_regression): Note that this must be called with the
16209 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16210 OBJECT_LOCK. Call set_calibration instead of touching the
16211 variables directly.
16212 (gst_clock_set_property, gst_clock_get_property): Protect
16213 master/slave parameters with the SLAVE_LOCK.
16215 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16216 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16217 note that all of the instance variables that add_observation and
16218 the set_master functions use are protected by that lock and not
16220 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16222 * gst/gstclock.c (gst_clock_add_observation): No longer requires
16223 the caller to take the object lock.
16225 2005-11-23 Wim Taymans <wim@fluendo.com>
16227 * gst/gsterror.c: (_gst_core_errors_init):
16229 Add error for clock stuff.
16231 * gst/gstpipeline.c: (gst_pipeline_change_state),
16232 (gst_pipeline_set_clock):
16233 Post clock error when clock cannot be used in a pipeline.
16235 2005-11-23 Stefan Kost <ensonic@users.sf.net>
16237 * docs/gst/gstreamer-sections.txt:
16238 make two symbols from gstinfo private for the docs
16239 * gst/base/gstcollectpads.h:
16241 fix doc typos, update docs
16243 2005-11-22 Wim Taymans <wim@fluendo.com>
16245 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16246 (gst_base_sink_wait), (gst_base_sink_do_sync),
16247 (gst_base_sink_handle_event):
16248 * gst/base/gstbasesink.h:
16249 No need to store the clock, the parent element class already
16252 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16253 Updates for clock_set returning a gboolean
16255 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16256 (gst_clock_id_wait_async), (gst_clock_class_init),
16257 (gst_clock_init), (gst_clock_finalize),
16258 (gst_clock_get_internal_time), (gst_clock_get_time),
16259 (gst_clock_slave_callback), (gst_clock_set_master),
16260 (gst_clock_get_master), (do_linear_regression),
16261 (gst_clock_add_observation), (gst_clock_set_property),
16262 (gst_clock_get_property):
16264 Implement master/slave. When setting a clock as a slave, a
16265 periodic timeout is scheduled to sample master and slave times.
16266 Then the slave clock is recalibrated to match offset and rate
16267 of the master clock.
16268 Update logging a bit.
16269 Add flag so that a clock can state that is cannot be slaved to
16272 * gst/gstelement.c: (gst_element_set_clock):
16273 * gst/gstelement.h:
16274 The set clock returns a gboolean for when an element cannot
16275 deal with the selected clock in the pipeline.
16277 * gst/gstpipeline.c: (gst_pipeline_change_state),
16278 (gst_pipeline_set_clock):
16279 * gst/gstpipeline.h:
16280 Handle the case where the selected clock cannot be set on
16283 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16284 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16285 (gst_net_client_clock_set_property),
16286 (gst_net_client_clock_get_property),
16287 (gst_net_client_clock_observe_times):
16288 * gst/net/gstnetclientclock.h:
16289 Use regression code in GstClock parent, remove duplicated
16292 2005-11-22 Michael Smith <msmith@fluendo.com>
16294 * gst/gstutils.c: (gst_util_clock_time_scale):
16296 * docs/gst/gstreamer-sections.txt:
16297 Rename method to have extra underscore.
16299 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
16301 * gst/elements/Makefile.am:
16302 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16303 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16304 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16305 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16306 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16307 * gst/elements/gstfakesrc.h:
16308 * gst/gstqueue.c: (queue_leaky_get_type):
16309 correctly fix GEnumValues so that nick is the short lowercase
16311 * tools/gst-inspect.c: (print_element_properties_info):
16312 also show the nick, since it's useful to use from parse_launch
16316 2005-11-22 Michael Smith <msmith@fluendo.com>
16318 * gst/gstutils.c: (gst_util_clocktime_scale):
16320 * docs/gst/gstreamer-sections.txt:
16321 Add util method for scaling a clocktime by a fraction. Useful
16322 implementation is left as an exercise for the reader.
16324 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16326 * gst/gstvalue.c: (gst_value_collect_fraction_range):
16327 If needed, allocate storage in the destination value during
16330 2005-11-22 Edward Hervey <edward@fluendo.com>
16332 * docs/gst/gstreamer-sections.txt:
16335 * gst/gsturitype.c:
16336 * gst/gsturitype.h:
16337 * gst/gstutils.c: (gst_util_set_object_arg):
16338 * tools/gst-compprep.c: (main):
16339 * tools/gst-inspect.c: (print_element_properties_info):
16340 Removed GstURI, closes bug #321061
16342 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16344 * check/gst/gststructure.c: (GST_START_TEST):
16345 * gst/gststructure.c: (gst_structure_parse_value):
16346 Oops, broke automatic string type parsing.
16347 Add a test to catch it in future.
16349 2005-11-22 Andy Wingo <wingo@pobox.com>
16351 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
16352 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16353 Actually rename the function implementations. Grr.
16355 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16357 * check/gst/capslist.h:
16359 * check/gst/gststructure.c: (GST_START_TEST),
16360 (gst_structure_suite):
16361 Test automatic value type detection in gst_structure_from_string.
16362 * gst/gststructure.c: (gst_structure_parse_value):
16363 Add fraction as a type we try and guess automatically in
16364 caps/structure strings.
16366 2005-11-22 Andy Wingo <wingo@pobox.com>
16368 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16370 * gst/gsttagsetter.h:
16371 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16372 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16373 (gst_tag_setter_add_tag_valist)
16374 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16375 _add_values, _add_valist, and _add_valist_values. Since this is an
16376 interface the function suffixes should be more explicit so
16377 language binding don't end up with element.add_valist ->
16378 gst_tag_setter_add_valist, for example. Fixes #322069.
16380 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16382 * check/gst/gstcaps.c: (GST_START_TEST):
16383 Extend caps string tests to check that a caps to string
16384 conversion is reversible and produces the same caps.
16386 * gst/gststructure.c: (gst_structure_value_get_generic_type):
16387 Output "fraction" as the generic type fraction range, so caps
16388 serialisation and deserialisation works.
16389 * check/gst/capslist.h:
16390 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16391 Support 'MIN' and 'MAX' for deserialising fractions.
16393 2005-11-22 Andy Wingo <wingo@pobox.com>
16395 * gst/gstevent.h (gst_event_new_new_segment)
16396 (gst_event_parse_new_segment, gst_event_new_buffer_size)
16397 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16398 Renamed from *_newsegment, *_buffersize, *_notarget.
16400 * scripts/update-funcnames: New script, performs the changes
16403 2005-11-22 Wim Taymans <wim@fluendo.com>
16405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16406 Make sure the GstFlowReturn is returned.
16408 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16409 (gst_bus_add_signal_watch):
16411 add gst_bus_add_signal_watch_full.
16413 * gst/gstplugin.c: (gst_plugin_load_file):
16414 Small style cleanup.
16416 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16418 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16419 Block the fakesrc srcpad when we send an event, to avoid
16420 contention on the stream_lock causing random test failures.
16422 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16424 * check/gst/gstvalue.c: (GST_START_TEST):
16425 * gst/gstvalue.c: (gst_value_fraction_subtract):
16428 2005-11-22 Stefan Kost <ensonic@users.sf.net>
16431 include "gstchildproxy.h"
16432 * gst/gstchildproxy.h:
16433 * libs/gst/controller/gstcontroller.h:
16434 use G_GNUC_NULL_TERMINATED
16436 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16438 * check/gst/capslist.h:
16439 * check/gst/gstcaps.c: (GST_START_TEST):
16440 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16441 * gst/gststructure.c: (gst_structure_parse_range),
16442 (gst_structure_fixate_field_nearest_fraction):
16443 * gst/gststructure.h:
16444 * gst/gstvalue.c: (gst_value_init_fraction_range),
16445 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16446 (gst_value_collect_fraction_range),
16447 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16448 (gst_value_set_fraction_range_full),
16449 (gst_value_get_fraction_range_min),
16450 (gst_value_get_fraction_range_max),
16451 (gst_value_serialize_fraction_range),
16452 (gst_value_transform_fraction_range_string),
16453 (gst_value_compare_fraction_range),
16454 (gst_value_deserialize_fraction_range),
16455 (gst_value_intersect_fraction_fraction_range),
16456 (gst_value_intersect_fraction_range_fraction_range),
16457 (gst_value_subtract_fraction_fraction_range),
16458 (gst_value_subtract_fraction_range_fraction),
16459 (gst_value_subtract_fraction_range_fraction_range),
16460 (gst_value_collect_fraction), (gst_value_fraction_multiply),
16461 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16462 (gst_value_transform_string_fraction), (_gst_value_initialize):
16464 Implement fraction ranges and extend GstFraction to support
16465 arithmetic subtraction, as well as deserialization from integer
16466 strings such as "100"
16467 Add a testsuite as for int and double range set operations
16469 2005-11-21 Andy Wingo <wingo@pobox.com>
16471 * gst/gsttaglist.h:
16473 * gst/gststructure.h: Add glib-compat.h.
16475 2005-11-21 Wim Taymans <wim@fluendo.com>
16477 * gst/gstbin.c: (gst_bin_change_state_func):
16480 2005-11-21 Wim Taymans <wim@fluendo.com>
16482 * gst/gstsegment.h:
16483 And add a nice define too.
16485 2005-11-21 Wim Taymans <wim@fluendo.com>
16487 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16488 (gst_segment_new), (gst_segment_free), (gst_segment_init),
16489 (gst_segment_set_duration), (gst_segment_set_last_stop),
16490 (gst_segment_set_seek), (gst_segment_set_newsegment),
16491 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16492 (gst_segment_clip):
16493 * gst/gstsegment.h:
16494 Make binding friendly.
16496 2005-11-21 Andy Wingo <wingo@pobox.com>
16498 * gst/gsttagsetter.h:
16499 * gst/gsttaglist.h:
16500 * gst/gststructure.h:
16502 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16505 * gst/gsterror.c (_gst_core_errors_init):
16506 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16509 * gst/Makefile.am (gst_headers): Add glib-compat.h.
16510 (noinst_HEADERS): noinst the -private.
16512 2005-11-21 Michael Smith <msmith@fluendo.com>
16515 * gst/gstregistry.h:
16516 Remove unimplemented declarations for which we can see no sensible
16519 2005-11-21 Andy Wingo <wingo@pobox.com>
16521 * gst/gst.h: Include glib-compat.h.
16523 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16525 * gst/glib-compat.c: Include the public and the private header.
16527 * gst/glib-compat-private.h: Copied here from glib-compat.h.
16531 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16533 * check/gst/gstevent.c (create_custom_events): Check that
16534 FLUSH_STOP is serialized.
16536 * check/elements/identity.c (event_func):
16537 * check/elements/fakesrc.c (event_func): No stream lock, the core
16540 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16541 stream lock taking, yay.
16543 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16544 ensure that core takes the stream lock.
16546 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16549 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16550 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16551 it already. For the flush start we do take it though so we get the
16552 right preroll state change messages.
16554 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16555 the stream lock here, the core does it for us.
16557 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16558 GST_STREAM_GET_LOCK.
16559 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
16560 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
16561 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16562 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16563 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
16564 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16566 * gst/gstpad.c: Update for stream lock name change.
16568 * gst/base/gstbasesink.c: Update for preroll lock name change.
16570 2005-11-21 Wim Taymans <wim@fluendo.com>
16572 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16573 (gst_clock_get_master):
16575 * gst/gstsystemclock.c: (gst_system_clock_init):
16576 Convert Clock flags to object flags.
16577 Added methods to manage master/slave clocks.
16579 2005-11-21 Wim Taymans <wim@fluendo.com>
16581 * check/gst/gstsegment.c: (GST_START_TEST):
16582 * docs/design/part-TODO.txt:
16583 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16584 (gst_base_sink_event), (gst_base_sink_do_sync),
16585 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16586 (gst_base_sink_query), (gst_base_sink_change_state):
16587 * gst/base/gstbasesink.h:
16588 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16589 (gst_base_src_default_newsegment),
16590 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16591 (gst_base_src_get_range), (gst_base_src_loop),
16592 (gst_base_src_change_state):
16593 * gst/base/gstbasesrc.h:
16594 * gst/base/gstbasetransform.c:
16595 (gst_base_transform_prepare_output_buf),
16596 (gst_base_transform_event), (gst_base_transform_change_state):
16597 * gst/base/gstbasetransform.h:
16598 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16599 (gst_collect_pads_event):
16600 * gst/base/gstcollectpads.h:
16601 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16602 (gst_fake_src_create):
16603 * gst/elements/gstfakesrc.h:
16604 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16605 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16606 (gst_segment_set_last_stop), (gst_segment_set_seek),
16607 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16608 (gst_segment_to_running_time), (gst_segment_clip):
16609 * gst/gstsegment.h:
16610 More segment updates, replace code in plugins with segment
16613 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16615 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16616 Don't ignore sscanf results
16618 2005-11-21 Andy Wingo <wingo@pobox.com>
16620 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16623 * *.c: Ran scripts/update-macros. Oh yes.
16625 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16626 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16629 * scripts/update-macros: New script. Run it on your files to
16630 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16633 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16635 * docs/gst/Makefile.am:
16636 * docs/gst/gstreamer-docs.sgml:
16637 * docs/gst/gstreamer-sections.txt:
16638 * docs/gst/gstreamer.types:
16640 more docs fixes, add new api to the docs
16642 2005-11-21 Andy Wingo <wingo@pobox.com>
16644 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16645 state_broadcast call.
16647 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16649 2005-11-21 Julien MOUTTE <julien@moutte.net>
16651 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16652 function calls for arrays.
16654 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16656 * docs/random/ensonic/media-device-daemon.txt:
16657 wild idea, can this be done?
16658 * docs/gst/gstreamer-sections.txt:
16663 * gst/gstpluginfeature.c:
16667 doc fixes and additions
16669 2005-11-21 Andy Wingo <wingo@pobox.com>
16671 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
16672 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
16673 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
16674 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16675 private to the basesrc implementation.
16677 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16678 behalf of event function if necessary. It should no longer be
16679 necessary to take the stream lock in pad's event functions. Fixes
16682 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16683 * docs/gst/gstreamer-sections.txt:
16684 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16685 (gst_structure_fixate_field_nearest_double),
16686 (gst_structure_fixate_field_boolean):
16687 * gst/gststructure.h:
16688 * win32/common/libgstreamer.def:
16689 * win32/gstreamer.def:
16691 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16694 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16696 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16697 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16698 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16699 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16700 (gst_fdsrc_uri_handler_init):
16701 * gst/elements/gstfdsrc.h:
16702 Port fd:// URI handler from 0.8 to fdsrc
16704 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16706 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16707 (gst_value_serialize_fourcc):
16709 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16710 consistent with our other format defines (#320324).
16712 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16714 * gst/gstvalue.c: (gst_value_is_fixed):
16715 Revert previous commit. Value lists are by definition
16716 not fixed, as they are a list of possible values.
16718 2005-11-21 Andy Wingo <wingo@pobox.com>
16720 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16721 during the stable series if we need it. Fixes #319178.
16723 * gst/gstevent.c (gst_event_new_filler): Removed.
16725 * check/gst/gstevent.c: Update comment about filler events.
16727 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16729 * gst/gstvalue.c: (gst_value_is_fixed):
16730 Should handle both value arrays and value lists.
16732 2005-11-21 Andy Wingo <wingo@pobox.com>
16734 patch by: Alessandro Dessina <alessandro nnva org>
16736 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16737 functions to access arrays. Fixes #321962.
16739 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16741 * docs/gst/gstreamer.types:
16742 gst_collectpads_get_type => gst_collect_pads_get_type.
16744 * gst/base/gstbasetransform.c:
16745 Remove unused SIGNAL_HANDOFF enum.
16747 2005-11-21 Andy Wingo <wingo@pobox.com>
16749 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16750 the event type (upstream, downstream, serialized). Renamed
16751 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16752 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16753 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16755 * gst/gstevent.c: Update for new CUSTOM event names.
16757 * check/gst/gstevent.c: Update check for new CUSTOM event names.
16760 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16763 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16765 * docs/gst/gstreamer-sections.txt:
16766 * win32/common/libgstbase.def:
16767 * win32/libgstbase.def:
16768 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16769 (gst_collect_pads_class_init), (gst_collect_pads_init),
16770 (gst_collect_pads_finalize), (gst_collect_pads_new),
16771 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16772 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16773 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16774 (gst_collect_pads_start), (gst_collect_pads_stop),
16775 (gst_collect_pads_peek), (gst_collect_pads_pop),
16776 (gst_collect_pads_available), (gst_collect_pads_read),
16777 (gst_collect_pads_flush), (gst_collect_pads_event),
16778 (gst_collect_pads_chain):
16779 * gst/base/gstcollectpads.h:
16780 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16781 unimplemented functions as unimplemented. Add padding to
16782 GstCollectData. (#320766, #320423)
16784 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16786 * gst/gstmessage.c:
16787 Improve docs for DURATION message (usage of duration parameter)
16790 2005-11-20 Wim Taymans <wim@fluendo.com>
16792 * check/Makefile.am:
16793 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16797 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16798 (gst_segment_set_seek), (gst_segment_set_newsegment),
16799 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16800 (gst_segment_clip):
16801 * gst/gstsegment.h:
16802 Added segment helper structure and methods. Not fully implemented
16804 Added segment check.
16806 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
16808 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16809 Add a deserialisation test for fractions
16810 * examples/metadata/read-metadata.c: (message_loop),
16811 (make_pipeline), (main):
16812 Fix up metadata reading sample.
16813 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16815 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16816 Don't try and fixate empty caps
16817 * gst/gst_private.h:
16818 Wrap in G_BEGIN_DECLS/G_END_DECLS
16819 * gst/gstvalue.c: (gst_value_collect_fraction),
16820 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16821 (gst_value_transform_string_fraction),
16822 (gst_value_compare_fraction):
16823 Add some extra guards to ensure that we don't end up
16824 with an invalid denominator of 0 in a gstfraction and
16825 that fractions always get reduced.
16827 2005-11-20 Wim Taymans <wim@fluendo.com>
16829 * docs/gst/gstreamer-sections.txt:
16831 * gst/gstelement.c:
16840 2005-11-20 Wim Taymans <wim@fluendo.com>
16842 * docs/design/part-TODO.txt:
16844 Make a proper enum of the flag.
16846 2005-11-19 Wim Taymans <wim@fluendo.com>
16848 * docs/design/part-TODO.txt:
16849 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16850 (gst_format_to_quark), (gst_format_register):
16852 * gst/gstquery.c: (_gst_query_initialize),
16853 (gst_query_type_get_name), (gst_query_type_to_quark),
16854 (gst_query_type_register):
16856 Add type to quark and type to string conversions.
16858 2005-11-19 Andy Wingo <wingo@pobox.com>
16860 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16863 2005-11-19 Wim Taymans <wim@fluendo.com>
16865 * docs/design/part-TODO.txt:
16866 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16867 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16868 (gst_bin_handle_message_func):
16870 Make message handling overridable.
16872 2005-11-19 Andy Wingo <wingo@pobox.com>
16874 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16877 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16879 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16880 is a GstClockTime. Fixes #321710.
16882 * gst/gstclock.h (GstClock): Remove offset property. Add
16883 internal_calibration and external_calibration. Fix padding. Pad
16884 also by GstClockTime so we don't run into problems.
16886 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16887 (gst_clock_get_rate_offset): Remove.
16888 (gst_clock_set_time_adjust): Remove. Fixes #321712.
16891 * gst/gstutils.c (g_static_rec_cond_wait)
16892 (g_static_rec_cond_timed_wait): Removed, no longer needed.
16894 * gst/gstbin.c: Remove terrible continue_state prototype.
16896 * gst/gstelement.h (gst_element_continue_state): Make public.
16898 * gst/gstelement.h:
16899 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16900 by continue_state. Fixes #319389.
16902 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16903 Really fixes #168438. However I don't see anywhere where the
16904 filter function is called... stupid GStreamer...
16906 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16907 don't have a dispose function, so it won't get called when the
16908 object is unreffed, but oh well!
16910 * gst/gstindex.c (gst_index_set_filter_full): New API function,
16911 allows a destroy function to be set so user_data can be freed.
16913 (gst_index_set_filter): Call gst_index_set_filter_full.
16915 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16917 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16918 string should produce an error, given the lack of a way to
16919 represent NULL strings. Fixes #165650.
16922 * gst/gstvalue.c (gst_value_array_append_value)
16923 (gst_value_array_prepend_value, gst_value_array_get_size)
16924 (gst_value_array_get_value): New API, copied from
16925 gst_value_list_*, only operates on arrays.
16926 (gst_value_list_append_value, gst_value_list_prepend_value)
16927 (gst_value_list_concat, gst_value_list_get_size)
16928 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16930 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16931 init_list, because it works on both.
16932 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16933 (gst_value_copy_list_or_array): Renamed from copy_list.
16934 (gst_value_free_list_or_array): Renamed from free_list.
16935 (gst_value_collect_list_or_array): Renamed from collect_list.
16936 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16937 (gst_value_list_or_array_peek_pointer): Renamed from
16939 (_gst_value_array_value_table, _gst_value_list_value_table):
16940 Update value table functions.
16941 (gst_value_compare_list_or_array): Renamed from compare_list.
16943 * gsttaglist.h: Whoops, foreach function returns void. Also fix
16946 * gst/gsttaglist.c:
16947 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16948 GstTagList*. Fixes #143472.
16950 * gst/gststructure.h: Clarify what the foreach/map functions can
16951 or can't do to their arguments.
16953 2005-11-18 Wim Taymans <wim@fluendo.com>
16955 * gst/gstclock.c: (gst_clock_set_calibration),
16956 (gst_clock_get_calibration):
16958 Calibration can be set with internal time equal to current
16961 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
16967 2005-11-18 Andy Wingo <wingo@pobox.com>
16970 * pkgconfig/gstreamer-net.pc.in:
16971 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16972 * pkgconfig/Makefile.am: Add net pkgconfig files.
16974 2005-11-18 Stefan Kost <ensonic@users.sf.net>
16977 * gst/gstghostpad.c:
16983 2005-11-18 Andy Wingo <wingo@pobox.com>
16985 * gst/net/gstnetclientclock.c: Turn off debugging.
16987 * check/net/gstnetclientclock.c (test_functioning): Assert that the
16988 times connverge somewhat. Can't make a real test.
16990 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16991 integer arithmetic. Return the minimum of the domain, which can be
16992 set as "internal" for gst_clock_set_calibration.
16993 (gst_net_client_clock_observe_times): Call _set_calibration.
16994 (gst_net_client_clock_new): Call _set_calibration instead of
16997 * check/net/gstnetclientclock.c (test_functioning): Use the right
17001 * gst/gstclock.c (gst_clock_get_calibration)
17002 (gst_clock_set_calibration): New functions, obsolete the ones I
17003 added yesterday. Doh. Precision issues mean we have to extrapolate
17004 from a point in the more recent past than 1970.
17005 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17007 (gst_clock_adjust_unlocked): Use the right calibration data.
17009 2005-11-18 Edward Hervey <edward@fluendo.com>
17011 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17012 Also reset the ->current_* values in READY->PAUSED
17014 2005-11-18 Andy Wingo <wingo@pobox.com>
17016 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17017 Whoops, check the right fd. Also add some debugging.
17018 (gst_net_client_clock_observe_times): Adjust for int64 offset.
17019 (do_linear_regression): Add a crapload of debugging. Subtract off
17020 the minimum values from the input series to discard unneeded bits.
17021 Use only int arithmetic. There is still double arithmetic when
17022 calculating the intercept that needs fixing. Return boolean to
17023 indicate success; FALSE would mean the domain or range is too
17024 great. Still needs fixes.
17026 2005-11-18 Wim Taymans <wim@fluendo.com>
17028 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17029 For the current position in stream time, we need to subtract
17032 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17033 Release lock before calling the callback function of async
17036 2005-11-18 Andy Wingo <wingo@pobox.com>
17038 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17039 Port goes all the way to MAXUINT16.
17041 * gst/net/gstnettimeprovider.c: Make the port range the same as
17042 for the kernel: 0 assigns, otherwise ports are less than
17045 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17048 * check/net/gstnetclientclock.c (test_functioning): Add the start
17051 2005-11-18 Wim Taymans <wim@fluendo.com>
17053 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17054 (gst_bin_remove_func), (bin_bus_handler):
17056 Removing a clock provider from a bin, triggers a clock lost message
17057 so that a new clock will be selected.
17058 Adding a clock to a bin triggers a clock provider message.
17059 Make sure we reselect a clock when we received a clock lost message.
17060 Keep a reference to the element that provided the clock.
17062 2005-11-18 Andy Wingo <wingo@pobox.com>
17064 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17065 the clock initially so it produces values around the base time.
17066 (gst_net_client_clock_class_init): Typo fix.
17067 (gst_net_client_clock_thread): Add note on when the socket gets
17070 2005-11-17 Wim Taymans <wim@fluendo.com>
17072 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17073 Free remote and local time arrays.
17075 2005-11-17 Wim Taymans <wim@fluendo.com>
17077 * gst/net/gstnetclientclock.c: (do_linear_regression),
17078 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17079 Fix compilation, uninitialized vars and a forgotten continue.
17081 2005-11-17 Andy Wingo <wingo@pobox.com>
17083 * check/Makefile.am (check_PROGRAMS):
17084 * check/net/gstnetclientclock.c: Add a most minimal test for the
17085 net client clock. More to come later.
17087 * gst/net/gstnet.h:
17088 * gst/net/Makefile.am: Add netclientclock.
17090 * gst/net/gstnetclientclock.h:
17091 * gst/net/gstnetclientclock.c: New files, implement an untested
17092 GstClock that takes its time from a network time provider.
17093 Implements the algorithm in network-clock.scm.
17095 * tests/network-clock.scm (*window-size*): Rename from
17097 * tests/network-clock.scm (network-time):
17098 * tests/network-clock-utils.scm (q-push): Update callers.
17100 2005-11-17 Wim Taymans <wim@fluendo.com>
17102 * gst/gstbin.c: (gst_bin_provide_clock_func),
17103 (gst_bin_sort_iterator_new):
17104 And unref the child too..
17106 2005-11-17 Wim Taymans <wim@fluendo.com>
17108 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17109 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17110 Refactor the sort iterator so it can be used while holding the
17112 Make clock selection select a clock closest to the source.
17114 2005-11-17 Michael Smith <msmith@fluendo.com>
17116 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17117 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17119 Anonymous structs are a gcc (and some other compilers) extension, so
17120 don't use them. Since this is only for ABI-compatibility, and our
17121 API/ABI freeze is over in a few days, this whole thing will only
17122 last a few days, so don't bother trying to think up a meaningful
17123 name for the struct.
17125 2005-11-17 Andy Wingo <wingo@pobox.com>
17127 * gst/gstclock.h (GstClock): Add rate and offset properties,
17128 preserving ABI stability. Add rate/offset accessors. Will file bug
17129 for the freeze break.
17131 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17132 and offset, trying to keep precision and avoiding
17133 underflow/overflow.
17134 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17135 functions. Make gst_clock_set_time_adjust obsolete.
17136 (gst_clock_set_time_adjust): Note that this function is obsolete.
17137 Will file bug soon.
17139 * gst/base/gstbasetransform.h: Make the ABI-stability hack
17140 greppable by using GST_PADDING-1+1.
17142 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
17144 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17146 * gst/gstmessage.c: (gst_message_parse_clock_lost):
17147 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17149 * gst/gstpadtemplate.h:
17150 * gst/gstpluginfeature.h:
17151 Don't use c++ style comments in headers (#321638).
17153 2005-11-16 Andy Wingo <wingo@pobox.com>
17155 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17158 * check/net/gstnettimeprovider.c: Check to see that the time
17159 provider actually provides times. Works, yo!
17161 2005-11-16 Wim Taymans <wim@fluendo.com>
17163 * check/Makefile.am:
17166 * check/elements/fakesrc.c: (GST_START_TEST):
17167 Set element to NULL before disposing it.
17169 2005-11-16 Andy Wingo <wingo@pobox.com>
17171 * gst/net/Makefile.am:
17172 * gst/net/gstnet.h:
17173 * gst/net/gstnettimeprovider.c:
17174 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17175 provider, include it from gstnet.h, and add it to the build.
17177 * gst/net/gstnettimepacket.h:
17178 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17179 sending and receiving.
17181 2005-11-16 Wim Taymans <wim@fluendo.com>
17183 * check/Makefile.am:
17184 Enable valgrind check.
17186 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17187 (gst_fake_src_alloc_buffer):
17190 2005-11-16 Wim Taymans <wim@fluendo.com>
17192 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17193 Call parent finalize too.
17195 2005-11-16 Wim Taymans <wim@fluendo.com>
17197 * check/Makefile.am:
17198 Enable valgrind check that should work fine now.
17200 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17201 * gst/gstqueue.c: (gst_queue_init):
17202 Fix memleaks in pad allocation.
17204 2005-11-16 Andy Wingo <wingo@pobox.com>
17206 * gst/net/Makefile.am:
17207 * gst/net/gstnet.h: New part of core to hold network elements and
17208 objects. Put in core because it exposes API that applications want
17209 to use. The library is named libgstnet-tempname right now because
17210 of the existing libgstnet in gst-plugins-base. Solution is
17211 probably to rename the one in plugins-base; will file a bug for
17214 * gst/net/gstnettimeprovider.c:
17215 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17216 get_time call over the network.
17219 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17221 * check/Makefile.am:
17222 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17223 get additions shortly.
17225 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17227 * gst/gstpad.c: (gst_pad_new_from_static_template):
17229 add gst_pad_new_from_static_template functions
17230 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17231 (gst_check_setup_sink_pad):
17232 * gst/elements/gsttee.c: (gst_tee_init):
17235 2005-11-16 Wim Taymans <wim@fluendo.com>
17237 * gst/gstpad.c: (gst_pad_pause_task):
17238 Removed warning, it's not really an error either.
17240 2005-11-16 Wim Taymans <wim@fluendo.com>
17242 * gst/base/gstbasetransform.c:
17243 (gst_base_transform_prepare_output_buf),
17244 (gst_base_transform_event):
17245 Check if the caps are NULL, this can happen if the element
17246 is shutting down and the pad caps are set to NULL.
17248 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17250 * gst/elements/gsttee.c: (gst_tee_init):
17251 fix pad template leak in tee
17253 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17255 * gst/glib-compat.c: (g_value_dup_gst_object):
17256 * gst/glib-compat.h:
17257 * gst/gstpad.c: (gst_pad_set_property):
17258 use gst_object_ref when setting the pad template; this will
17259 trigger the pad template leaks on GLib 2.6 and the slaves
17261 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17263 * gst/glib-compat.c: (gst_flags_get_first_value):
17264 * gst/glib-compat.h:
17265 * gst/gstregistryxml.c:
17266 remove functions copied from GLib 2.6
17268 2005-11-16 Michael Smith <msmith@fluendo.com>
17271 Don't link against VALGRIND_LIBS. That was always the wrong thing to
17272 do, but only breaks with newer valgrind versions. We're not a
17273 valgrind tool, we have no link-time dependencies on libcoregrind.
17275 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17277 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17279 * gst/gstmessage.h:
17282 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17284 * gst/base/gstbasesrc.c: (gst_base_src_init):
17285 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17286 * gst/gstqueue.c: (gst_queue_init):
17287 * gst/gstregistryxml.c: (load_feature):
17288 Revert all these unrefs, they don't even pass make check !
17290 2005-11-15 Johan Dahlin <johan@gnome.org>
17292 * gst/base/gstbasesrc.c: (gst_base_src_init):
17293 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17294 * gst/gstqueue.c: (gst_queue_init):
17295 Free pad templates, fixes a couple of leaks.
17297 2005-11-15 Daniel Fischer <dan at f3c dot com>
17299 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17301 * gst/gstpad.c: (gst_pad_get_property):
17302 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17303 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17306 2005-11-15 Wim Taymans <wim@fluendo.com>
17311 2005-11-15 Andy Wingo <wingo@pobox.com>
17313 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17315 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17316 using GST_CLOCK_TIME_NONE to disable base time management.
17317 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17318 time if it was NONE before.
17319 (gst_pipeline_change_state): Only munge the base time if
17320 stream_time != GST_CLOCK_TIME_NONE.
17322 * check/gst/gstpipeline.c (test_base_time): Punt around the
17323 problem of the probe not being called, because that's not the
17324 issue I'm looking at. Add a check that setting stream_time to NONE
17325 disables base time management.
17327 2005-11-15 Wim Taymans <wim@fluendo.com>
17329 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17330 segment_stop == -1 at startup.
17332 * gst/base/gstbasetransform.c: (gst_base_transform_event),
17333 (gst_base_transform_change_state):
17334 Init segment values at start.
17336 2005-11-15 Wim Taymans <wim@fluendo.com>
17338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17339 0 segment values are 0 in any format.
17341 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17342 * gst/base/gstbasetransform.h:
17343 Parse newsegment correctly in basetransform
17345 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17346 Sync to clock using updated segment values.
17348 2005-11-15 Andy Wingo <wingo@pobox.com>
17350 * check/gst/gstpipeline.c (test_base_time): Add check that the
17351 base time and stream time are reset correctly.
17353 2005-11-15 Wim Taymans <wim@fluendo.com>
17355 * docs/design/part-TODO.txt:
17356 Some more TODO items.
17358 2005-11-15 Andy Wingo <wingo@pobox.com>
17360 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17361 error if the user selected "no clock" as the clocking method.
17363 * check/gst/gstpipeline.c (test_base_time): New test for buffer
17364 timestamps with live capture.
17366 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17367 is 0 but we are a live source, timestamp the buffers using the
17370 2005-11-14 Stefan Kost <ensonic@users.sf.net>
17372 * docs/gst/gstreamer-sections.txt:
17374 * gst/gstghostpad.c:
17379 2005-11-14 Wim Taymans <wim@fluendo.com>
17382 add suppressions from Wim's Debian machine
17384 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
17387 add suppressions from Andy's AMD64 Ubuntu machine
17389 2005-11-14 Andy Wingo <wingo@pobox.com>
17391 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17392 STATE_LOCK not necessary. Fixes #311489.
17394 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17397 * gst/gstindex.c (gst_index_add_object): Note in the docs that
17398 this function is not implemented.
17400 2005-11-14 Julien MOUTTE <julien@moutte.net>
17402 * gst/base/gstbasetransform.c:
17403 (gst_base_transform_prepare_output_buf):
17404 Ref the source pad caps while we need them.
17407 2005-11-11 Wim Taymans <wim@fluendo.com>
17409 * docs/gst/gstreamer-sections.txt:
17410 Added some docs for GstCollectData.
17412 * gst/base/gstadapter.c:
17413 Some small code example fix.
17415 * gst/base/gstcollectpads.c:
17416 * gst/base/gstcollectpads.h:
17417 Document some more.
17419 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17421 * configure.ac: back to HEAD
17423 === release 0.9.5 ===
17425 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17428 releasing 0.9.5, "Bike Lunch Day"
17430 2005-11-11 Wim Taymans <wim@fluendo.com>
17432 * gst/gstbuffer.c: (_gst_buffer_copy):
17435 * gst/gstcaps.c: (gst_caps_is_equal):
17437 Make _is_equal fast in the trivial cases.
17439 * gst/gstminiobject.c:
17440 * gst/gstminiobject.h:
17441 More docs. Spifify .h file.
17446 2005-11-11 Wim Taymans <wim@fluendo.com>
17448 * gst/base/gstbasetransform.c:
17449 (gst_base_transform_prepare_output_buf),
17450 (gst_base_transform_handle_buffer):
17452 If we're processing a buffer and need to allocate an output
17453 buffer, we cannot accept a format change. If we did get a
17454 format change, we have to alloc a buffer ourselves of the
17457 2005-11-11 Wim Taymans <wim@fluendo.com>
17459 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17460 While checking the flag for reentrancy in the gstcaps function
17461 is nice to detect recursive invocations, it also makes it
17462 impossible to call getcaps from multiple threads, which must be
17463 possible. So, checking for recursive calls has to go.
17465 2005-11-11 Michael Smith <msmith@fluendo.com>
17467 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17468 Don't sync on buffers that fall partially outside our current
17469 segment. Prevents an assertion failure/abort playing some files.
17471 2005-11-10 Andy Wingo <wingo@pobox.com>
17473 * check/gst/gstbin.c (test_message_state_changed_children): Style
17476 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17477 gst_bus_poll with the signal watch. Ensures that poll and a signal
17478 watch see the same messages.
17480 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17481 a poll and a watch at the same time get the same messages.
17483 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17485 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17486 * gst/gstcaps.c: (gst_caps_intersect):
17487 Don't call gst_caps_do_simplify - it doesn't respect order of caps
17488 and it's not needed.
17490 2005-11-10 Wim Taymans <wim@fluendo.com>
17492 * docs/design/part-TODO.txt:
17495 2005-11-10 Wim Taymans <wim@fluendo.com>
17497 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17498 * gst/base/gstbasesrc.c: (gst_base_src_wait),
17499 (gst_base_src_do_sync), (gst_base_src_get_range):
17500 Implement clock sync in base class.
17502 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17504 patch by: Tim-Philipp Müller <tim at centricular dot net>
17506 * gst/gststructure.c: (gst_structure_parse_field),
17507 (gst_structure_from_string):
17508 Forward-port a 0.8 patch to handle escaped spaces in structure string,
17509 so that gst_parse_launch() can deal with spaces in filtered link
17510 caps (fixes #164479)
17511 * check/gst/capslist.h:
17512 * check/gst/gststructure.c: (GST_START_TEST):
17513 add unit tests for this change
17515 2005-11-10 Wim Taymans <wim@fluendo.com>
17517 * docs/gst/gstreamer-sections.txt:
17518 * gst/gstelement.c:
17519 * gst/gstelement.h:
17520 Fix docs, move some STATE macros to private.
17522 2005-11-10 Wim Taymans <wim@fluendo.com>
17524 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17525 Added check for bug #317341
17529 Some more spiffifying.
17531 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17532 Call peer linkfunction if we are a source pad. Totally fixes
17536 Update docs, source pads should call the peer linkfunction
17537 so they can atomically perform the pad link.
17539 2005-11-09 Wim Taymans <wim@fluendo.com>
17543 Uber-spiffy-spiffify some more.
17545 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
17547 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17548 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17549 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17550 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17551 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17552 * gst/gstpad.c: (gst_pad_init):
17553 Use GST_DEBUG_FUNCPTR() more extensively.
17555 2005-11-09 Wim Taymans <wim@fluendo.com>
17557 * gst/gstobject.c: (gst_object_class_init):
17559 Documentation fixes.
17561 2005-11-09 Edward Hervey <edward@fluendo.com>
17563 * gst/gsttypefindfactory.c:
17566 2005-11-09 Edward Hervey <edward@fluendo.com>
17568 * gst/base/gsttypefindhelper.c:
17569 * gst/gsttypefind.c:
17570 * gst/gsttypefind.h:
17573 2005-11-09 Wim Taymans <wim@fluendo.com>
17575 * gst/gstiterator.c:
17582 2005-11-09 Wim Taymans <wim@fluendo.com>
17588 2005-11-09 Wim Taymans <wim@fluendo.com>
17590 * docs/gst/gstreamer-sections.txt:
17591 Moved the message async delivery private lock and cond
17592 to the private section.
17594 * gst/gstmessage.c:
17595 * gst/gstmessage.h:
17598 2005-11-09 Edward Hervey <edward@fluendo.com>
17600 * docs/gst/gstreamer-sections.txt:
17603 Document GstURIHandler
17605 2005-11-09 Wim Taymans <wim@fluendo.com>
17607 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17608 (gst_iterator_find_custom):
17609 * gst/gstiterator.h:
17612 2005-11-09 Wim Taymans <wim@fluendo.com>
17615 Document another field.
17617 * gst/gststructure.c:
17618 * gst/gststructure.h:
17621 2005-11-09 Wim Taymans <wim@fluendo.com>
17624 Documented structs.
17626 2005-11-09 Wim Taymans <wim@fluendo.com>
17628 * docs/gst/gstreamer-sections.txt:
17629 Added some new macros.
17636 2005-11-09 Wim Taymans <wim@fluendo.com>
17638 * docs/design/part-TODO.txt:
17639 Some more items for the TODO
17645 2005-11-09 Andy Wingo <wingo@pobox.com>
17647 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17648 to work on something else now tho...
17650 * gst/base/gstadapter.c: More adapter docs.
17652 * gst/elements/gstfilesink.c (gst_file_sink_start)
17653 (gst_file_sink_stop): New functions, replace the state change
17655 (gst_file_sink_class_init): Hook up the start and stop functions.
17656 (gst_file_sink_base_init): Don't set the state change handler any
17657 more. It was a bit ugly too, being set from here...
17658 (gst_file_sink_get_property, gst_file_sink_set_property):
17660 (gst_file_sink_set_location): More robust check that doesn't call
17661 GST_STATE. Ugggggg.
17663 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
17665 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17666 Hold STREAM_LOCK while pushing newsegment or tag events as well.
17668 2005-11-08 Wim Taymans <wim@fluendo.com>
17670 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17671 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17672 (gst_base_sink_chain), (gst_base_sink_change_state):
17673 * gst/base/gstbasesink.h:
17674 * gst/base/gstbasesrc.h:
17675 * gst/gstelement.h:
17677 Avoid excessive typechecking in macros.
17679 * gst/gstminiobject.c: (gst_mini_object_get_type),
17680 (gst_mini_object_init), (gst_mini_object_new),
17681 (gst_mini_object_free):
17682 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17683 (gst_object_finalize):
17684 Remove cruft code, optimize alloc_trace.
17686 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
17688 * docs/faq/gst-uninstalled:
17689 fix up PS1 for systems that try to reset it
17691 2005-11-07 Wim Taymans <wim@fluendo.com>
17693 * gst/base/gstbasesrc.c: (gst_base_src_init),
17694 (gst_base_src_get_range):
17695 Set the segment_end to -1 initially. Fixed typefind.
17697 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
17699 * gst/base/gstadapter.c:
17700 Debug category should be 'adapter', not 'GstAdapter'.
17702 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17703 (gst_collectpads_class_init), (gst_collectpads_init),
17704 (gst_collectpads_peek), (gst_collectpads_pop),
17705 (gst_collectpads_event), (gst_collectpads_chain):
17706 Add debug category and some debugging output. Use boilerplate
17707 macros. Remove some extraneous words from docs.
17709 2005-11-05 Andy Wingo <wingo@pobox.com>
17711 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17714 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17716 * docs/gst/gstreamer-sections.txt:
17719 * gst/gstminiobject.h:
17724 2005-11-04 Wim Taymans <wim@fluendo.com>
17726 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17727 Small update to stop at the configured segment_end
17730 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17732 * gst/gstregistry.c:
17733 * gst/gstregistry.h:
17736 2005-11-04 Edward Hervey <edward@fluendo.com>
17738 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17739 Check if we are doing a segment seek and have arrived at the
17740 end of that segment.
17742 2005-11-04 Wim Taymans <wim@fluendo.com>
17744 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17745 Don't leak a mutex unlock in case of an error.
17750 2005-11-04 Wim Taymans <wim@fluendo.com>
17752 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17754 Get the context to wake up only once.
17756 2005-11-03 Wim Taymans <wim@fluendo.com>
17758 * check/states/sinks.c: (GST_START_TEST):
17759 Uncomment fixed check.
17761 * docs/design/part-TODO.txt:
17764 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17765 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17766 (gst_base_sink_get_position):
17767 If we are going to PLAYING, post the right pending state
17768 when we post the intermediate paused message.
17770 * gst/gstelement.c: (gst_element_continue_state),
17771 (gst_element_set_state_func), (gst_element_change_state):
17772 Don't post state changes that were between the same state
17773 and were not ASYNC.
17775 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17777 * docs/gst/gstreamer-sections.txt:
17780 * gst/gstminiobject.h:
17783 more docs and doc style fixes
17785 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17787 * docs/gst/gstreamer-sections.txt:
17788 * gst/gstelement.c:
17789 * gst/gstminiobject.c:
17792 2005-11-03 Andy Wingo <wingo@pobox.com>
17794 * check/states/sinks.c (test_livesrc_sink): Add checks that the
17795 state-changed messages actually have the right order and the right
17798 2005-11-03 Wim Taymans <wim@fluendo.com>
17800 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17801 Added some more checks. Specifically the case where NO_PREROLL
17802 elements are in the pipeline.
17804 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17805 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17806 (gst_base_sink_get_position):
17807 Post READY->PAUSED state change messages too.
17808 Fix bug where VOID was posted as pending state...
17810 * gst/gstbin.c: (gst_bin_recalc_state):
17811 use _element_continue_state() to continue the state change.
17813 * gst/gstelement.c: (gst_element_continue_state),
17814 (gst_element_commit_state), (gst_element_set_state_func),
17815 (gst_element_change_state), (gst_element_change_state_func):
17816 Lots of state change cleanups, assign the STATE_RETURN in
17817 a new continue_state() function that also propagates the
17818 last return value from a state change to the app.
17819 Update some debug statements with proper category.
17821 2005-11-03 Wim Taymans <wim@fluendo.com>
17823 * docs/design/part-events.txt:
17824 * docs/design/part-gstpipeline.txt:
17825 * docs/design/part-messages.txt:
17826 * docs/design/part-overview.txt:
17827 * docs/design/part-seeking.txt:
17828 * docs/design/part-states.txt:
17829 * docs/design/part-trickmodes.txt:
17830 * docs/manual/advanced-position.xml:
17831 Small docs updates.
17834 People think !! is ugly, this looks better.
17836 * gst/gstpad.c: (gst_pad_set_blocked_async):
17837 Remove !! since it's fixed elsewhere now.
17839 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17841 * gst/gstminiobject.h:
17843 Add !! to _FLAG_IS_SET macros to make the result boolean.
17845 2005-11-03 Edward Hervey <edward@fluendo.com>
17847 * gst/gstpad.c: (gst_pad_set_blocked_async):
17848 comparing a flag and a gboolean rarely returns coherent results...
17849 Added two characters (!!) to make that work correctly.
17851 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17853 * gst/gstbus.c: (gst_bus_class_init):
17856 * gst/gstqueue.c: (gst_queue_loop):
17857 Don't assume a miniobject that isn't a buffer is an
17858 event (it could be that there is a refcounting
17859 problem somewhere and the pointer is stale and
17860 refers to an already destroyed miniobject).
17862 2005-11-03 Julien MOUTTE <julien@moutte.net>
17864 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17866 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17868 * docs/manual/advanced-position.xml:
17869 Update seek example and explanations to current 0.9 API.
17871 * gst/elements/gsttypefindelement.c:
17872 (gst_type_find_element_activate):
17873 Remove FIXME comment now that the found caps
17876 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
17878 * gst/gstregistryxml.c: (load_feature):
17879 Add another GST_STR_NULL instance
17881 2005-11-02 Edward Hervey <edward@fluendo.com>
17883 * gst/gstpad.c: (handle_pad_block):
17884 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17886 2005-11-02 Wim Taymans <wim@fluendo.com>
17891 * gst/gstelement.c: (gst_element_commit_state):
17892 Remove unused value.
17894 * gst/gstiterator.c:
17895 Mention that the returned element is reffed in the docs.
17897 2005-11-02 Wim Taymans <wim@fluendo.com>
17899 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17900 (gst_pad_push), (gst_pad_push_event):
17901 Unlock blocked pads when they are flushed.
17903 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17906 * docs/gst/gstreamer-sections.txt:
17909 * gst/gstregistry.c: (gst_registry_scan_path_level):
17910 fix for a nasty little missed situation where an installed plug-in
17911 which was in the cache did not get overridden by an uninstalled one
17912 which was earlier in the plugin path because the newly created plugin
17913 for the uninstalled one (not in the registry) didn't get its
17914 ->registered set to TRUE
17916 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17918 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17919 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17920 (gst_collectpads_is_active), (gst_collectpads_collect),
17921 (gst_collectpads_collect_range), (gst_collectpads_start),
17922 (gst_collectpads_stop), (gst_collectpads_peek),
17923 (gst_collectpads_pop), (gst_collectpads_available),
17924 (gst_collectpads_read), (gst_collectpads_flush):
17925 Guard public API with assertions.
17928 Fix docs for gst_pad_set_link_function().
17930 2005-11-02 Johan Dahlin <johan@gnome.org>
17932 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
17933 Unref found_caps after we used it.
17935 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17937 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17938 Don't try to ref NULL.
17940 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17942 * win32/common/config.h.in:
17943 provide a GST_FUNCTION that just gives a string for now
17945 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17947 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17948 (gst_object_flags_get_type), (register_gst_bin_flags),
17949 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17950 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17951 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17952 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17953 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17954 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17955 (gst_clock_flags_get_type), (register_gst_state),
17956 (gst_state_get_type), (register_gst_state_change_return),
17957 (gst_state_change_return_get_type), (register_gst_state_change),
17958 (gst_state_change_get_type), (register_gst_element_flags),
17959 (gst_element_flags_get_type), (register_gst_core_error),
17960 (gst_core_error_get_type), (register_gst_library_error),
17961 (gst_library_error_get_type), (register_gst_resource_error),
17962 (gst_resource_error_get_type), (register_gst_stream_error),
17963 (gst_stream_error_get_type), (register_gst_event_type),
17964 (gst_event_type_get_type), (register_gst_seek_type),
17965 (gst_seek_type_get_type), (register_gst_seek_flags),
17966 (gst_seek_flags_get_type), (register_gst_format),
17967 (gst_format_get_type), (register_gst_index_certainty),
17968 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17969 (gst_index_entry_type_get_type),
17970 (register_gst_index_lookup_method),
17971 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17972 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17973 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17974 (gst_index_flags_get_type), (register_gst_debug_level),
17975 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17976 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17977 (gst_iterator_result_get_type), (register_gst_iterator_item),
17978 (gst_iterator_item_get_type), (register_gst_message_type),
17979 (gst_message_type_get_type), (register_gst_mini_object_flags),
17980 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17981 (gst_pad_link_return_get_type), (register_gst_flow_return),
17982 (gst_flow_return_get_type), (register_gst_activate_mode),
17983 (gst_activate_mode_get_type), (register_gst_pad_direction),
17984 (gst_pad_direction_get_type), (register_gst_pad_flags),
17985 (gst_pad_flags_get_type), (register_gst_pad_presence),
17986 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17987 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17988 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17989 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17990 (gst_plugin_flags_get_type), (register_gst_rank),
17991 (gst_rank_get_type), (register_gst_query_type),
17992 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17993 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17994 (gst_tag_flag_get_type), (register_gst_task_state),
17995 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17996 (gst_alloc_trace_flags_get_type),
17997 (register_gst_type_find_probability),
17998 (gst_type_find_probability_get_type), (register_gst_uri_type),
17999 (gst_uri_type_get_type), (register_gst_parse_error),
18000 (gst_parse_error_get_type):
18001 * win32/common/gstversion.h:
18002 update win32 copies
18004 2005-11-01 Luca Ognibene <luogni@tin.it>
18007 fix docs. popt is dead, long live GOption.
18009 2005-10-31 Wim Taymans <wim@fluendo.com>
18014 2005-10-31 Andy Wingo <wingo@pobox.com>
18018 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18020 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18021 need to serialize property notifications on GLib 2.8. GLib 2.6 has
18022 the possibility of deadlocks here if code calling notify() or
18023 set() has a lock that can be taken in another notify handler (ABBA
18024 with class lock and e.g. python GIL state lock).
18026 2005-10-28 Julien MOUTTE <julien@moutte.net>
18028 * gst/gstbus.c: Doc updates.
18030 2005-10-28 Wim Taymans <wim@fluendo.com>
18032 * docs/design/part-TODO.txt:
18033 * gst/gstiterator.c:
18034 * gst/gstsystemclock.c:
18035 * gst/gstsystemclock.h:
18038 2005-10-28 Edward Hervey <edward@fluendo.com>
18040 * docs/gst/gstreamer-docs.sgml:
18041 * docs/gst/gstreamer-sections.txt:
18042 the GstURIType documentation page is private, it only defines GstURIType
18043 which should be defined in the GstURIHandler page
18045 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
18047 * gst/gstbin.c: (gst_bin_class_init):
18050 Documentation updates.
18052 2005-10-28 Wim Taymans <wim@fluendo.com>
18054 * docs/gst/gstreamer-sections.txt:
18057 Documented the clocks.
18059 2005-10-28 Stefan Kost <ensonic@users.sf.net>
18061 * docs/gst/gstreamer-sections.txt:
18062 move some macros to private sections
18063 * gst/gstminiobject.c:
18064 * gst/gstminiobject.h:
18065 add descriptions provided by ds and some more
18067 mark macro as to be removed
18069 2005-10-28 Wim Taymans <wim@fluendo.com>
18071 * docs/design/part-TODO.txt:
18072 Add an item to TODO.
18074 * gst/gstiterator.c: (gst_iterator_fold),
18075 (gst_iterator_find_custom):
18076 * gst/gstiterator.h:
18079 2005-10-28 Wim Taymans <wim@fluendo.com>
18081 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18082 (gst_base_transform_init):
18085 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18086 An EOS event marks the queue as completely filled.
18088 2005-10-27 Wim Taymans <wim@fluendo.com>
18090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18091 (gst_base_sink_do_sync), (gst_base_sink_get_position):
18092 Some more debugging.
18094 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18095 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18096 (gst_base_transform_event), (gst_base_transform_getrange),
18097 (gst_base_transform_chain):
18098 * gst/base/gstbasetransform.h:
18100 Protect transform and concurrent buffer alloc with a new lock.
18101 Try not to break ABI/API.
18103 2005-10-27 Wim Taymans <wim@fluendo.com>
18105 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18106 (gst_base_src_init), (gst_base_src_query),
18107 (gst_base_src_default_newsegment),
18108 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18109 (gst_base_src_send_event), (gst_base_src_event_handler),
18110 (gst_base_src_pad_get_range), (gst_base_src_loop),
18111 (gst_base_src_unlock), (gst_base_src_default_negotiate),
18112 (gst_base_src_start), (gst_base_src_deactivate),
18113 (gst_base_src_activate_push), (gst_base_src_change_state):
18114 Move some stuff around and cleanup things.
18116 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
18118 * gst/base/gstbasesrc.c: (gst_base_src_query):
18119 Add missing break statements.
18121 2005-10-27 Wim Taymans <wim@fluendo.com>
18123 * check/gst/gstbin.c: (GST_START_TEST):
18124 An extra refcount is taken in basesrc.
18126 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18127 (gst_base_src_get_range), (gst_base_src_pad_get_range),
18128 (gst_base_src_loop):
18129 Small cleanups, check for flushing after being unlocked from the
18130 LIVE_LOCK. take refcounts correctly (not yet everywhere).
18131 Don't send out EOS when going to READY.
18133 2005-10-27 Wim Taymans <wim@fluendo.com>
18135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18136 (gst_base_sink_get_position):
18139 * gst/gstbin.c: (message_check), (bin_replace_message),
18140 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18141 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18142 (bin_query_duration_init), (bin_query_duration_fold),
18143 (bin_query_duration_done), (bin_query_generic_fold),
18145 * tools/gst-launch.c: (main):
18148 2005-10-26 Stefan Kost <ensonic@users.sf.net>
18150 * examples/controller/audio-example.c: (main):
18151 * examples/queue/queue.c: (event_loop):
18152 * gst/base/gstbasetransform.h:
18153 * gst/gstelement.c: (gst_element_send_event):
18155 * gst/gstpad.c: (gst_pad_send_event):
18158 changing log priority in error situations
18160 2005-10-25 Wim Taymans <wim@fluendo.com>
18162 * gst/gstbin.c: (message_check), (bin_replace_message),
18163 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18164 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18165 (bin_query_duration_init), (bin_query_duration_fold),
18166 (bin_query_duration_done), (bin_query_generic_fold),
18168 Some doc and debug updates.
18169 Cache previously requested query DURATION for speed. invalidate
18170 cached duration if element posts a DURATION message.
18172 2005-10-25 Wim Taymans <wim@fluendo.com>
18174 * docs/design/part-TODO.txt:
18177 * gst/gstbin.c: (message_check), (bin_replace_message),
18178 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18179 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18180 (bin_query_duration_init), (bin_query_duration_fold),
18181 (bin_query_duration_done), (bin_query_generic_fold),
18183 Handle SEGMENT_START/DONE messages correctly.
18184 More evolved query algorithm that handles duration queries
18187 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18188 (gst_element_get_state_func), (gst_element_abort_state),
18189 (gst_element_commit_state), (gst_element_lost_state):
18190 Some more debugging.
18192 * gst/gstmessage.h:
18195 2005-10-25 Wim Taymans <wim@fluendo.com>
18197 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18198 Don't use invalid stream_time.
18200 * gst/gstevent.c: (gst_event_new_newsegment):
18201 stream_time in newsegment cannot be undefined.
18203 2005-10-24 Wim Taymans <wim@fluendo.com>
18208 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18210 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18212 2005-10-24 Stefan Kost <ensonic@users.sf.net>
18214 * docs/libs/tmpl/gstdparam.sgml:
18215 * docs/libs/tmpl/gstdplinint.sgml:
18216 * docs/libs/tmpl/gstdpman.sgml:
18217 * docs/libs/tmpl/gstdpsmooth.sgml:
18218 * docs/libs/tmpl/gstunitconvert.sgml:
18221 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
18226 === release 0.9.4 ===
18228 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18231 releasing 0.9.4, "Tyrannosaurus Rex"
18233 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
18235 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18236 (gst_file_sink_get_current_offset):
18237 Use fseeko() and ftello() if available. When falling back on
18238 lseek() to get the current offset, fflush() first to make sure
18239 everything is up-to-date and we get the right offset.
18241 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18244 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18245 * gst/gsterror.c: (_gst_stream_errors_init):
18247 * gst/gstqueue.c: (gst_queue_loop):
18249 remove prematurely added error category and clean up the instances
18251 2005-10-21 Wim Taymans <wim@fluendo.com>
18253 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18254 (gst_base_sink_get_position), (gst_base_sink_query),
18255 (gst_base_sink_change_state):
18256 Simply set the right flag when going to playing, that's all
18257 we need to do instead of calling a function inside the object
18258 lock (that could take the lock as well and deadlock)
18260 2005-10-21 Wim Taymans <wim@fluendo.com>
18262 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18263 (gst_base_src_loop):
18264 Don't warn, the peer element knows what to do best when
18265 the seek failed, it might try something else.
18267 2005-10-21 Wim Taymans <wim@fluendo.com>
18269 * gst/base/gstbasesrc.c: (gst_base_src_init),
18270 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18273 2005-10-21 Wim Taymans <wim@fluendo.com>
18275 * docs/design/part-segments.txt:
18278 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18279 Correctly set caps, even on the subbufer.
18281 2005-10-21 Wim Taymans <wim@fluendo.com>
18283 * docs/gst/gstreamer-docs.sgml:
18284 * docs/gst/gstreamer-sections.txt:
18285 * gst/gstelement.h:
18288 * gst/gstmessage.h:
18291 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18295 And 2% more doc coverage.
18297 2005-10-21 Andy Wingo <wingo@pobox.com>
18299 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18300 position reporting.
18302 2005-10-20 Wim Taymans <wim@fluendo.com>
18304 * gst/gsterror.c: (gst_error_get_message):
18307 * gst/gststructure.c:
18312 2005-10-20 Wim Taymans <wim@fluendo.com>
18317 Another 1% more coverage.
18319 2005-10-20 Wim Taymans <wim@fluendo.com>
18321 * docs/gst/gstreamer-sections.txt:
18322 * gst/gstelement.c: (gst_element_get_state_func),
18323 (gst_element_abort_state), (gst_element_commit_state),
18324 (gst_element_lost_state):
18326 * gst/gstquery.c: (gst_query_set_position),
18327 (gst_query_parse_position), (gst_query_set_duration),
18328 (gst_query_parse_duration), (gst_query_new_convert):
18330 Yay! 1% more docs coverage.
18332 2005-10-20 Wim Taymans <wim@fluendo.com>
18335 * gst/gstquery.c: (gst_query_set_position),
18336 (gst_query_parse_position), (gst_query_set_duration),
18337 (gst_query_parse_duration), (gst_query_new_convert):
18339 * gst/gstutils.c: (gst_element_query_convert):
18341 Docs and consistency fixes.
18343 2005-10-20 Wim Taymans <wim@fluendo.com>
18349 2005-10-20 Wim Taymans <wim@fluendo.com>
18351 * gst/gstbin.c: (message_check), (bin_replace_message),
18352 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18353 (update_degree), (gst_bin_sort_iterator_next),
18354 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18355 Reworked the message handling a bit, cache the messages instead of
18356 only the senders. alows us to do more in the future.
18358 2005-10-20 Wim Taymans <wim@fluendo.com>
18360 * docs/design/part-TODO.txt:
18363 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18364 (gst_base_sink_query):
18365 Don't use clock time to report position when in EOS.
18367 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
18369 * tools/gst-inspect.c: (print_interfaces),
18370 (print_element_properties_info), (print_element_info):
18371 Fix interface output with gst-inspect -a; don't print
18372 newlines after double/float properties.
18374 2005-10-20 Wim Taymans <wim@fluendo.com>
18376 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18377 (gst_base_sink_query):
18378 Speed up current position calculation.
18380 * gst/base/gstbasesrc.c: (gst_base_src_query),
18381 (gst_base_src_default_newsegment):
18382 Correctly set stream position in newsegment.
18384 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18385 (update_degree), (gst_bin_sort_iterator_next),
18386 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18387 * gst/gstmessage.c: (gst_message_new_custom):
18388 Clean up debugging info
18390 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18391 (gst_queue_loop), (gst_queue_handle_src_query):
18394 2005-10-19 Wim Taymans <wim@fluendo.com>
18396 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18397 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18398 Fix query handling again.
18400 2005-10-19 Wim Taymans <wim@fluendo.com>
18402 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18403 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18404 * gst/base/gstbasesrc.c: (gst_base_src_query):
18405 * gst/elements/gstfilesink.c: (gst_file_sink_query):
18406 * gst/elements/gsttypefindelement.c:
18407 (gst_type_find_handle_src_query), (find_element_get_length),
18408 (gst_type_find_element_activate):
18411 * gst/gstquery.c: (gst_query_new_position),
18412 (gst_query_set_position), (gst_query_parse_position),
18413 (gst_query_new_duration), (gst_query_set_duration),
18414 (gst_query_parse_duration), (gst_query_set_segment),
18415 (gst_query_parse_segment):
18417 Bundling query position/duration is not a good idea since duration
18418 does not change much and we don't want to recalculate it for every
18419 position query, so they are separated again..
18420 Base value in segment query is not needed.
18422 * gst/gstqueue.c: (gst_queue_handle_src_query):
18423 * gst/gstutils.c: (gst_element_query_position),
18424 (gst_element_query_duration), (gst_pad_query_position),
18425 (gst_pad_query_duration):
18427 Updates for query API change.
18428 Added some docs here and there.
18430 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
18432 * check/gst/gstbin.c: (GST_START_TEST):
18433 * check/gst/gstghostpad.c: (GST_START_TEST):
18434 * check/pipelines/cleanup.c: (GST_START_TEST):
18435 wait on thread to die so we can check refcount correctly
18437 2005-10-18 Wim Taymans <wim@fluendo.com>
18439 * check/pipelines/stress.c: (GST_START_TEST):
18440 Make check a little more time consuming.
18442 2005-10-18 Wim Taymans <wim@fluendo.com>
18444 * check/Makefile.am:
18445 * check/pipelines/stress.c: (GST_START_TEST),
18446 (simple_launch_lines_suite), (main):
18447 Small state change torture test.
18449 * docs/design/part-states.txt:
18450 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18451 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18452 (gst_base_sink_change_state):
18453 Never take state lock from streaming thread, clean up ugly
18454 hacks. Unfortunatly core does not yet support nice ways to
18455 async commit state.
18457 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18459 Start state recalc if a STATE_DIRTY message is posted, but only
18460 on the toplevel bin.
18462 * gst/gstelement.c: (gst_element_sync_state_with_parent),
18463 (gst_element_get_state_func), (gst_element_abort_state),
18464 (gst_element_commit_state), (gst_element_lost_state),
18465 (gst_element_set_state_func), (gst_element_change_state):
18466 * gst/gstelement.h:
18467 State variables are now protected with the LOCK, the state
18468 lock is only used to serialize _set_state().
18470 2005-10-18 Wim Taymans <wim@fluendo.com>
18472 * check/gst/gstbin.c: (GST_START_TEST):
18473 * check/gst/gstmessage.c: (GST_START_TEST):
18474 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18477 * gst/gstelement.c: (gst_element_abort_state),
18478 (gst_element_commit_state), (gst_element_lost_state):
18479 * gst/gstmessage.c: (gst_message_new_state_changed),
18480 (gst_message_new_state_dirty), (gst_message_new_segment_start),
18481 (gst_message_new_segment_done), (gst_message_new_duration),
18482 (gst_message_parse_state_changed),
18483 (gst_message_parse_segment_start),
18484 (gst_message_parse_segment_done), (gst_message_parse_duration):
18485 * gst/gstmessage.h:
18486 * tools/gst-launch.c: (event_loop):
18487 Seriously, this is better than a previous commit as we only need
18488 to notify the fact that an element changed state in a streaming
18489 thread, marking the state of the parents dirty, hence the
18490 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18493 2005-10-18 Wim Taymans <wim@fluendo.com>
18495 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18496 (gst_bin_recalc_func):
18497 * gst/gstelement.c: (gst_element_set_clock),
18498 (gst_element_abort_state), (gst_element_lost_state):
18499 Cleanups, prepare for state change fixes.
18501 2005-10-18 Wim Taymans <wim@fluendo.com>
18504 * gst/gstelement.c: (gst_element_class_init),
18505 (gst_element_set_state), (gst_element_set_state_func):
18506 * gst/gstelement.h:
18507 Pending ABI changes.
18508 GThreadPool in GstBinClass to monitor async state changes.
18509 state_cookie in GstElement to detect concurrent gst/set state.
18510 set_state is now virtual too in case a very complicated element
18511 has to be constructed.
18513 2005-10-18 Wim Taymans <wim@fluendo.com>
18515 * check/gst/gstbin.c: (GST_START_TEST):
18516 * check/gst/gstmessage.c: (GST_START_TEST):
18517 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18518 * gst/gstbin.c: (bin_bus_handler):
18519 * gst/gstelement.c: (gst_element_commit_state),
18520 (gst_element_lost_state):
18521 * gst/gstmessage.c: (gst_message_new_state_changed),
18522 (gst_message_new_segment_start), (gst_message_new_segment_done),
18523 (gst_message_new_duration), (gst_message_parse_state_changed),
18524 (gst_message_parse_segment_start),
18525 (gst_message_parse_segment_done), (gst_message_parse_duration):
18526 * gst/gstmessage.h:
18527 * tools/gst-launch.c: (event_loop):
18528 Make messages future proof.
18529 state-change gets a flag if it was a message comming from the
18531 segment-start/stop can also be specified in other formats.
18532 A message to notify an app that a pipeline changed playback
18534 Also fix a GstMessage leak in -launch
18536 2005-10-18 Andy Wingo <wingo@pobox.com>
18538 * gst/gstelement.c (gst_element_dispose): More helpful message.
18540 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18542 reviewed by: <delete if not using a buddy>
18544 * common/gtk-doc.mak:
18546 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18548 * gst/gstregistry.c: (gst_registry_scan_path_level):
18549 unref a plug-in we get that was already initialized
18551 2005-10-18 Stefan Kost <ensonic@users.sf.net>
18553 * docs/gst/gstreamer-sections.txt:
18554 * docs/libs/gstreamer-libs-sections.txt:
18555 * gst/gstelement.h:
18556 add new api entries
18557 hide internal macro
18559 2005-10-17 Andy Wingo <wingo@pobox.com>
18561 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18564 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18566 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18568 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18569 (gst_element_get_state_func): Better debug message.
18570 (gst_element_commit_state): s/INFO/DEBUG/.
18571 (gst_element_lost_state, gst_element_change_state):
18573 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18574 (gst_message_new_custom): s/INFO/LOG/.
18576 2005-10-17 Michael Smith <msmith@fluendo.com>
18578 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18579 Check if end time is valid using end time, not start time.
18581 2005-10-17 Stefan Kost <ensonic@users.sf.net>
18583 * check/gst-libs/controller.c: (GST_START_TEST),
18584 (gst_controller_suite):
18585 * libs/gst/controller/gstcontroller.c:
18586 (gst_controlled_property_set_interpolation_mode):
18587 * libs/gst/controller/gstcontroller.h:
18588 * libs/gst/controller/gstinterpolation.c:
18589 * testsuite/controller/.cvsignore:
18590 * testsuite/controller/Makefile.am:
18591 * testsuite/controller/interpolator.c:
18592 merge controller testsuites
18594 remove mem-chunk from docs
18596 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18598 * gst/gstmemchunk.c:
18599 * gst/gstmemchunk.h:
18600 * gst/gsttrashstack.c:
18601 * gst/gsttrashstack.h:
18602 out. get out. you're fired. to the Attic !
18604 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18606 * gst/gstcaps.c: (gst_caps_intersect):
18607 fix signedness issues in a (hopefully) correct way
18608 * gst/gstelement.c: (gst_element_pads_activate):
18610 * gst/gstobject.c: (gst_object_set_parent):
18613 2005-10-17 Julien MOUTTE <julien@moutte.net>
18615 * gst/gstvalue.h: Fix prototypes.
18617 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18619 * docs/gst/gstreamer-sections.txt:
18620 * gst/gst.c: (gst_version_string):
18622 * gst/gstversion.h.in:
18623 * win32/common/libgstreamer.def:
18624 add gst_version_string ()
18626 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18630 * gst/gst.c: (init_post):
18631 * win32/common/config.h.in:
18633 * gst/gstcaps.c: (gst_caps_intersect):
18634 use gint64, the range could be bigger than a guint
18636 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18639 document potential problem in 2038
18641 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18643 * gst/gstcaps.c: (gst_caps_intersect):
18644 Fix guint j diving under 0
18646 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18649 * win32/common/config.h:
18650 * win32/common/config.h.in:
18651 check for process.h, declares getpid() on Windows
18653 include process.h if we have it
18654 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18655 * gst/gstmemchunk.h:
18656 fix signedness issues
18657 * win32/common/libgstreamer.def:
18660 2005-10-16 Julien MOUTTE <julien@moutte.net>
18662 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18663 fix. Because of unsigned ints, caps intersection was going nuts and
18664 trying to access structures with G_MAXUINT index. That fixes
18665 videotestsrc ! ffmpegcolorspace ! fakesink
18666 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18669 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18672 use the gettext macro
18673 * gst/elements/gstelements.c:
18675 * gst/indexers/gstindexers.c:
18676 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18677 * win32/common/config.h:
18679 * win32/common/config.h.in:
18680 add the template to generate config.h
18681 * win32/common/gstenumtypes.c:
18682 * win32/common/gstversion.h:
18685 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18687 * gst/gst.c: (gst_version):
18688 * gst/gstversion.h.in:
18691 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18694 Oops, add missing closing bracket.
18696 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18699 use common m4's for argument checking
18701 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18703 * docs/gst/gstreamer-sections.txt:
18705 Add GST_EVENT_TYPE_NAME() macro.
18707 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18710 * gst/gstpluginfeature.c:
18712 privatize more symbols
18714 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18717 add srcdir, builddir includes to GST_ALL_CFLAGS, since
18718 everything that uses GStreamer API should have the includes
18720 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18722 * docs/gst/gstreamer-sections.txt:
18723 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18725 give each value a _get_type, removes the DATA exports
18727 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18731 remove _gst_registry_auto_load, not used anymore
18732 * gst/gstbin.c: (gst_bin_get_type):
18734 * gst/gstelement.c: (gst_element_get_type):
18735 * gst/gstelement.h:
18736 * gst/gstobject.c: (gst_object_get_type):
18738 * gst/gstpad.c: (gst_pad_get_type):
18740 make _get_type functions similar, fixes data export from library
18742 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18745 correctly make conditionals
18746 * gst/elements/Makefile.am:
18747 * gst/elements/gstelements.c:
18748 fix typo causing fdsrc not to build
18750 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18752 * testsuite/Makefile.am:
18753 * testsuite/bytestream/.cvsignore:
18754 * testsuite/bytestream/Makefile.am:
18755 * testsuite/bytestream/filepadsink.c:
18756 * testsuite/bytestream/gstbstest.c:
18757 * testsuite/bytestream/test1.c:
18758 * testsuite/bytestream/testfile1:
18759 * testsuite/caps/normalisation.c:
18760 * testsuite/caps/random.c: (main):
18761 * testsuite/cleanup/.cvsignore:
18762 * testsuite/cleanup/Makefile.am:
18763 * testsuite/cleanup/cleanup1.c:
18764 * testsuite/cleanup/cleanup2.c:
18765 * testsuite/cleanup/cleanup3.c:
18766 * testsuite/cleanup/cleanup4.c:
18767 * testsuite/cleanup/cleanup5.c:
18768 * testsuite/controller/interpolator.c:
18769 * testsuite/debug/printf_extension.c: (main):
18770 * testsuite/elements/tee.c:
18771 * testsuite/negotiation/.cvsignore:
18772 * testsuite/negotiation/Makefile.am:
18773 * testsuite/negotiation/pad_link.c:
18774 * testsuite/pad/Makefile.am:
18775 * testsuite/pad/chainnopull.c:
18776 * testsuite/pad/getnopush.c:
18777 * testsuite/pad/link.c:
18778 * testsuite/refcounting/sched.c: (create_pipeline):
18779 * testsuite/registry/Makefile.am:
18780 * testsuite/registry/gst-print-formats.c:
18781 * testsuite/schedulers/.cvsignore:
18782 * testsuite/schedulers/142183-2.c:
18783 * testsuite/schedulers/142183.c:
18784 * testsuite/schedulers/143777-2.c:
18785 * testsuite/schedulers/143777.c:
18786 * testsuite/schedulers/147713.c:
18787 * testsuite/schedulers/147819.c:
18788 * testsuite/schedulers/147894-2.c:
18789 * testsuite/schedulers/147894.c:
18790 * testsuite/schedulers/Makefile.am:
18791 * testsuite/schedulers/group_link.c:
18792 * testsuite/schedulers/queue_link.c:
18793 * testsuite/schedulers/relink.c:
18794 * testsuite/schedulers/unlink.c:
18795 * testsuite/schedulers/unref.c:
18796 * testsuite/schedulers/useless_iteration.c:
18797 * testsuite/states/bin.c:
18798 clean out/remove some stuff from the testsuite directories
18800 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18803 check for some headers
18804 * gst/elements/Makefile.am:
18805 * gst/elements/gstelements.c:
18806 don't compile fdsrc without sys/socket.h
18807 * gst/indexers/Makefile.am:
18808 * gst/indexers/gstindexers.c: (plugin_init):
18809 don't compile fileindex without mmap
18811 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18818 * check/Makefile.am:
18819 * docs/gst/Makefile.am:
18820 * examples/helloworld/Makefile.am:
18822 * gst/base/Makefile.am:
18823 * gst/check/Makefile.am:
18824 * gst/elements/Makefile.am:
18825 * gst/indexers/Makefile.am:
18826 * gst/parse/Makefile.am:
18827 * libs/gst/controller/Makefile.am:
18828 * libs/gst/dataprotocol/Makefile.am:
18829 * examples/helloworld/helloworld.c: (event_loop):
18830 compile fixes, though it's not being compiled currently
18832 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18834 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18835 Add some simple tests for the new taglist date API.
18837 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18839 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18840 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18841 Beautify 'last-message' output: print 'none' for buffer timestamps
18842 and durations if none is set; improve alignment with next messages.
18844 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18846 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18847 * gst/gstpluginfeature.h:
18848 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18849 * gst/gstregistry.h:
18850 * docs/gst/gstreamer-sections.txt:
18851 Add new API to check plugin feature version requirements.
18853 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18854 Some basic tests for the above.
18856 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18858 * gst/gststructure.c: (gst_structure_to_string):
18859 guard against NULL printf - happens when for example
18860 a message structure with GstClock gets serialized
18862 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18864 * gst/base/gstcollectpads.c: (gst_collectpads_event):
18865 Fix presumable copy'n'pasto.
18867 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18869 * gst/elements/gstfakesrc.h:
18870 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18871 * gst/elements/gsttypefindelement.c:
18872 fix some signedness
18873 * gst/elements/gstfilesink.c: (gst_file_sink_render):
18874 I wonder if this could actually write +2GB files before
18876 2005-10-13 Andy Wingo <wingo@pobox.com>
18878 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18879 Fix Timmeke Waymans bug.
18880 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18881 string of the proper length to gst_caps_from_string. There's a
18882 potential for, before this fix, that this could cause someone
18883 connecting over the network to cause a segfault if the payload is
18884 not NUL-terminated.
18886 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18888 * docs/design/draft-push-pull.txt:
18889 * docs/design/part-overview.txt:
18890 * docs/random/TODO-pre-0.9:
18891 * docs/random/old/ChangeLog.gstreamer:
18892 * gst/base/gstpushsrc.c:
18896 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18898 * gst/glib-compat.c: (gst_flags_get_first_value):
18899 * gst/glib-compat.h:
18900 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18901 (gst_value_compare_double), (gst_value_serialize_flags):
18902 GLib 2.6 g_flags_get_first_value has a bug that triggers an
18905 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18908 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18910 * tools/gst-launch.c: (event_loop):
18911 print out clock nicely
18913 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18915 * docs/gst/gstreamer-sections.txt:
18916 * gst/gsttaglist.h:
18917 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18918 (gst_tag_list_get_date_index):
18919 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18920 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18922 2005-10-13 Julien MOUTTE <julien@moutte.net>
18924 * gst/base/gstcollectpads.c: (gst_collectpads_event),
18925 (gst_collectpads_chain):
18926 * gst/base/gstcollectpads.h: Handle newsegment and store informations
18929 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18931 * docs/gst/gstreamer-sections.txt:
18934 * tools/gst-inspect.c: (main):
18935 * tools/gst-launch.c: (main):
18936 * tools/gst-run.c: (main):
18937 * tools/gst-xmlinspect.c: (main):
18938 fix GOption context leaks
18941 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18945 * win32/common/config.h:
18947 * win32/vs6/grammar.dsp:
18948 * win32/vs6/libgstelements.dsp:
18949 * win32/vs6/libgstreamer.dsp:
18952 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18955 * gst/base/gstbasesrc.c: (gst_base_src_query):
18956 fix more guint64<->gdouble conversions
18958 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18961 add win32-update target
18962 * win32/common/gstconfig.h:
18963 * win32/common/gstenumtypes.c:
18964 * win32/common/gstenumtypes.h:
18965 * win32/common/gstversion.h:
18966 add files that visual studio can't generate
18968 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18971 add a win32-update target
18974 2005-10-12 Wim Taymans <wim@fluendo.com>
18976 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18977 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18978 * gst/gstelement.c: (gst_element_commit_state),
18979 (gst_element_set_state):
18980 Protect flags with proper lock.
18981 unref provided cached clock in dispose.
18983 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18986 * gst/gstminiobject.h:
18988 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18989 removed unused flags from miniobject
18992 2005-10-12 Wim Taymans <wim@fluendo.com>
18994 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18995 (gst_file_sink_event), (gst_file_sink_render):
18996 Flush before seeking.
18998 2005-10-12 Andy Wingo <wingo@pobox.com>
19000 * gst/gst.c (gst_init_check): Ignore unknown options, as has
19001 always been the case.
19003 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19005 * check/gst/gstbin.c: (GST_START_TEST):
19006 * docs/gst/gstreamer-sections.txt:
19007 * gst/base/gstbasesink.c: (gst_base_sink_init):
19008 * gst/base/gstbasesrc.c: (gst_base_src_init),
19009 (gst_base_src_get_range), (gst_base_src_check_get_range),
19010 (gst_base_src_start), (gst_base_src_stop):
19011 * gst/base/gstbasesrc.h:
19012 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19013 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19014 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19018 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19020 * gst/gstelement.c: (gst_element_is_locked_state),
19021 (gst_element_set_locked_state), (gst_element_commit_state),
19022 (gst_element_set_state):
19023 * gst/gstelement.h:
19024 * gst/gstindex.c: (gst_index_init):
19026 * gst/gstminiobject.h:
19027 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19028 (gst_object_set_parent):
19030 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19031 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19033 * gst/gstpadtemplate.h:
19034 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19035 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19036 * gst/gstpipeline.h:
19037 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19038 (gst_file_index_commit):
19039 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19040 * testsuite/pad/link.c: (gst_test_src_init),
19041 (gst_test_filter_init), (gst_test_sink_init):
19042 * testsuite/states/locked.c: (main):
19043 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19044 moved bitshift from macro to enum definition
19046 2005-10-12 Wim Taymans <wim@fluendo.com>
19048 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19049 * gst/elements/gstfilesink.c: (gst_file_sink_event),
19050 (gst_file_sink_render):
19051 Some more debugging info.
19053 2005-10-12 Wim Taymans <wim@fluendo.com>
19055 * docs/design/part-states.txt:
19056 * tools/gst-launch.c: (main):
19058 Revert non-intentional change.
19060 2005-10-12 Wim Taymans <wim@fluendo.com>
19062 * check/gst/gstbin.c: (GST_START_TEST):
19063 * check/gst/gstelement.c: (GST_START_TEST):
19064 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19065 * check/gst/gstghostpad.c: (GST_START_TEST):
19066 * check/gst/gstpipeline.c: (GST_START_TEST):
19067 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19068 * check/states/sinks.c: (GST_START_TEST):
19069 * gst/elements/gsttypefindelement.c: (stop_typefinding):
19070 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19071 (gst_bin_remove_func), (gst_bin_get_state_func),
19072 (gst_bin_recalc_state), (gst_bin_change_state_func),
19074 * gst/gstelement.c: (gst_element_get_state_func),
19075 (gst_element_get_state), (gst_element_abort_state),
19076 (gst_element_commit_state), (gst_element_set_state),
19077 (gst_element_change_state), (gst_element_change_state_func):
19078 * gst/gstelement.h:
19079 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19080 (gst_pipeline_provide_clock_func):
19081 * gst/gstutils.c: (gst_element_link_pads_filtered):
19082 * tools/gst-launch.c: (main):
19083 * tools/gst-typefind.c: (main):
19084 Use GstClockTime in _get_state() instead of GTimeVal.
19085 Remove old code in gstutils.c
19087 2005-10-12 Andy Wingo <wingo@pobox.com>
19089 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19092 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19093 there is no task. Shouldn't affect any code, as nothing in our
19094 plugins checks this return value.
19095 (gst_pad_stop_task): Also take the stream lock if the pad has no
19096 task. Docs updated.
19098 2005-10-12 Wim Taymans <wim@fluendo.com>
19100 * gst/gstpad.c: (pre_activate), (post_activate),
19101 (gst_pad_activate_pull), (gst_pad_activate_push):
19102 Cleanup activation code. Reset old state if
19105 2005-10-12 Wim Taymans <wim@fluendo.com>
19107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19108 (gst_base_sink_change_state):
19109 No need to prerol after receiving EOS.
19111 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19112 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19113 * gst/elements/gstidentity.c: (gst_identity_event):
19114 Print events more verbosely.
19116 2005-10-12 Wim Taymans <wim@fluendo.com>
19118 * check/Makefile.am:
19119 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19120 * check/states/sinks2.c:
19121 Moved sinks2 testcode in sinks check.
19123 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19124 (gst_bin_remove_func), (gst_bin_recalc_state),
19125 (gst_bin_change_state_func), (bin_bus_handler):
19126 Fix potential race condition when _get_state() iterated over an
19127 ASYNC element right before it posted a state completion.
19130 Do proper cast here.
19132 * gst/gstevent.c: (gst_event_new_newsegment),
19133 (gst_event_parse_newsegment):
19134 A playback rate of 0.0 is not allowed.
19136 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19138 * win32/common/config.h:
19139 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19140 (_trewinddir), (_ttelldir), (_tseekdir):
19141 * win32/common/dirent.h:
19142 * win32/common/gtchar.h:
19143 * win32/common/libgstbase.def:
19144 * win32/common/libgstreamer.def:
19145 * win32/vs6/grammar.dsp:
19146 * win32/vs6/gst_inspect.dsp:
19147 * win32/vs6/gst_launch.dsp:
19148 * win32/vs6/gstreamer.dsw:
19149 * win32/vs6/libgstbase.dsp:
19150 * win32/vs6/libgstelements.dsp:
19151 * win32/vs6/libgstreamer.dsp:
19152 Visual Studio 6 project files, and a new common directory.
19155 2005-10-11 Wim Taymans <wim@fluendo.com>
19157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19158 (gst_base_sink_do_sync), (gst_base_sink_query),
19159 (gst_base_sink_change_state):
19160 * gst/base/gstbasesink.h:
19161 Correctly parse newsegment info.
19163 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19165 * gst/gst.c: (init_post):
19166 split plugin paths correctly
19168 2005-10-11 Wim Taymans <wim@fluendo.com>
19170 * check/gst/gstevent.c: (GST_START_TEST):
19171 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19172 (gst_base_sink_change_state):
19173 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19174 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19175 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19176 * gst/gstevent.c: (gst_event_new_newsegment),
19177 (gst_event_parse_newsegment):
19179 Added extra flag to newsegment for future API freeze.
19180 Updated check and base elements.
19182 2005-10-11 Julien MOUTTE <julien@moutte.net>
19184 * gst/base/gstcollectpads.c: (gst_collectpads_init),
19185 (gst_collectpads_add_pad), (gst_collectpads_pop),
19186 (gst_collectpads_event), (gst_collectpads_chain):
19187 * gst/base/gstcollectpads.h: Handle EOS correctly.
19189 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19191 * tools/gst-launch.c: (main):
19192 more null protecting
19194 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * gst/gst-i18n-lib.h:
19197 check for ENABLE_NLS, not GETTEXT_PACKAGE
19198 * gst/gstregistry.c: (gst_registry_add_plugin),
19199 (gst_registry_scan_path_level),
19200 (_gst_registry_remove_cache_plugins):
19201 protect possibly NULL strings
19202 * gst/parse/types.h:
19203 config.h already included before
19204 * tools/gst-inspect.c: (main):
19205 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19206 check for ENABLE_NLS, not GETTEXT_PACKAGE
19207 * tools/gst-launch.c: (main):
19208 check for ENABLE_NLS, not GETTEXT_PACKAGE
19210 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19213 if we don't have glib, fail before testing 2.8
19214 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19215 fix a leak, should fix plugins-base testsuite
19217 2005-10-11 Andy Wingo <wingo@pobox.com>
19219 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19220 take the mode we're going to as an arg. Go head and set the mode
19221 and flushing flags now, so that if the activate function starts a
19222 thread all the flags will be in the right state.
19223 (post_activate): Renamed also. Just handle making sure streaming
19224 finishes for the deactivation case, and setting the deactivated
19226 (gst_pad_set_active): Complain loudly if deactivation fails.
19227 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19228 (gst_pad_activate_push): Adapt to pre/post_activate changes,
19229 remove the terrible hack.
19231 2005-10-11 Wim Taymans <wim@fluendo.com>
19233 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19234 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19235 (gst_bin_recalc_state), (gst_bin_change_state_func),
19236 (gst_bin_dispose), (bin_bus_handler):
19238 Prepare to make current EOS message queue more generic.
19241 * gst/gstevent.c: (gst_event_new_newsegment),
19242 (gst_event_parse_newsegment):
19244 Rename base to stream_time.
19246 * gst/gstmessage.h:
19249 2005-10-11 Wim Taymans <wim@fluendo.com>
19251 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19252 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19253 (gst_bin_change_state_func), (bin_bus_handler):
19255 Work on proper clock selection.
19257 2005-10-11 Edward Hervey <edward@fluendo.com>
19259 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
19260 * libs/gst/controller/gstcontroller.h:
19261 Added GList* version of _remove_properties() in order to be able to wrap
19264 2005-10-11 Wim Taymans <wim@fluendo.com>
19266 * docs/design/part-states.txt:
19269 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19270 (gst_bin_change_state_func), (bin_bus_handler):
19271 Doc updates. Don't distribute the same clock over and over again.
19277 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19278 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19279 (gst_pad_send_event):
19281 Make probe emission threadsafe again.
19282 Register quarks and move _get_name() from utils.
19285 * gst/gstpipeline.c: (gst_pipeline_class_init),
19286 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19287 Only redistribute the clock of it changed.
19289 * gst/gstsystemclock.h:
19294 Moved the _flow_get_name() to GstPad.
19296 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19298 * check/gst-libs/gdp.c: (GST_START_TEST):
19299 * check/gst/gstcaps.c: (GST_START_TEST):
19300 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19301 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19302 (gst_dp_packet_from_caps):
19303 fix more valgrind warnings before turning up the heat
19305 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19307 * gst/parse/grammar.y:
19308 some cleanup before the hacking
19310 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19312 * gst/base/gstbasesrc.c: (gst_base_src_query):
19314 * gst/gstutils.c: (gst_guint64_to_gdouble),
19315 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19317 externalize, basesrc uses it
19318 obviously the implementation needs testing
19320 2005-10-10 Wim Taymans <wim@fluendo.com>
19322 * tests/sched/Makefile.am:
19323 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19324 (make_pipeline3), (make_pipeline4), (print_elem), (main):
19326 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19328 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19329 apparently converting from guint64 to double is not implemented
19332 2005-10-10 Wim Taymans <wim@fluendo.com>
19334 * check/Makefile.am:
19335 * check/generic/states.c: (GST_START_TEST):
19336 * check/gst/gstbin.c: (GST_START_TEST):
19337 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19338 * check/states/sinks.c: (GST_START_TEST):
19339 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19341 Check fixes, use API as stated in design docs, remove hacks.
19343 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19344 (gst_base_sink_change_state):
19345 Catch stopping our task while we're shutting down.
19347 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19348 (gst_bin_remove_func), (gst_bin_get_state_func),
19349 (gst_bin_recalc_state), (gst_bin_change_state_func),
19352 * gst/gstelement.c: (gst_element_init),
19353 (gst_element_get_state_func), (gst_element_abort_state),
19354 (gst_element_commit_state), (gst_element_lost_state),
19355 (gst_element_set_state), (gst_element_change_state),
19356 (gst_element_change_state_func):
19357 * gst/gstelement.h:
19358 New state change algorithm (see #318116)
19360 * gst/gstpipeline.c: (gst_pipeline_class_init),
19361 (gst_pipeline_init), (gst_pipeline_set_property),
19362 (gst_pipeline_get_property), (do_pipeline_seek),
19363 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19364 * gst/gstpipeline.h:
19365 Remove crude state change hacks.
19368 Remove crude hacks.
19370 * tools/gst-launch.c: (main):
19371 Fixes for state change. Needs some more work to fully use the
19374 2005-10-10 Andy Wingo <wingo@pobox.com>
19376 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19378 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19379 this flag, but it's not even in GLib 2.6. Odd. Hack around the
19382 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19384 * gst/gstiterator.c: (gst_iterator_new):
19385 Fix my previous commit: GTypes passed to gst_iterator_new()
19386 can be fundamental types.
19388 2005-10-10 Wim Taymans <wim@fluendo.com>
19390 * gst/gstelement.c: (gst_element_iterate_pad_list),
19391 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19392 (gst_element_iterate_sink_pads):
19393 Use src/sink pads lists for the respective iterators instead
19396 2005-10-10 Andy Wingo <wingo@pobox.com>
19398 Merged in popt removal + GOption addition patch from Ronald, bug
19401 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19402 GstElement macros around, remove popt-related symbols, add goption
19405 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19407 * docs/gst/Makefile.am:
19408 * docs/libs/Makefile.am: No POPT_CFLAGS.
19410 * examples/manual/Makefile.am:
19411 * docs/manual/basics-init.xml: Doc updates with an example.
19413 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19414 (gst_init), (parse_one_option), (parse_goption_arg):
19415 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19416 bit of hand merging and debugging to get the GOption stuff working
19419 * tests/Makefile.am:
19420 * tools/Makefile.am:
19421 * tools/gst-inspect.c: (main):
19422 * tools/gst-launch.c: (main):
19423 * tools/gst-run.c: (main):
19424 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19426 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19428 * gst/gstiterator.c: (gst_iterator_new):
19429 Add assertions to make sure passed GType is likely to really
19430 be a GType (as the compiler won't catch it if the size and
19431 GType arguments get mixed up, see #318447).
19433 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
19435 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19437 * gst/gstbin.c: (gst_bin_iterate_sorted):
19438 Pass GType and size arguments to gst_iterator_new() in the right
19439 order (maybe we should make _new() take the GType as first argument
19440 just like _new_list()?) (#318447).
19443 2005-10-10 Wim Taymans <wim@fluendo.com>
19445 * gst/gstelement.c: (gst_element_finalize):
19446 And free the GStaticRecMutex too
19448 2005-10-10 Andy Wingo <wingo@pobox.com>
19450 * gst/gstelement.c (gst_element_init, gst_element_finalize):
19451 Allocate and free the mutex properly.
19453 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19455 (GstElement): The state_lock is now recursive. Rebuild your
19456 plugins, suckers. Old macros adapted.
19458 * docs/gst/gstreamer-sections.txt: Doc updates.
19461 * gst/gstutils.c (g_static_rec_cond_timed_wait)
19462 (g_static_rec_cond_wait): Ported from state changes patch, while
19463 we wait on bug #317802 to be solved in a well-distributed GLib.
19465 * gst/gstelement.c (gst_element_change_state_func): Renamed from
19466 gst_element_change_state, variable name changes.
19467 (gst_element_change_state): Split out of gst_element_set_state in
19468 preparation for the state change merge. Doesn't pay attention to
19469 the 'transition' argument.
19470 (gst_element_set_state): Updates, hopefully purely cosmetic.
19471 (gst_element_sync_state_with_parent): MT-safety. Ported from the
19472 state change patch.
19473 (gst_element_get_state_func): Renamed from get_state, cosmetic
19476 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19478 * gst/elements/gstelements.c:
19479 * win32/GStreamer.vcproj:
19481 * win32/dirent.c: (_tseekdir):
19482 * win32/gst-inspect.vcproj:
19483 * win32/gst-launch.vcproj:
19484 * win32/gstconfig.h:
19485 * win32/gstelements.vcproj:
19486 * win32/gstenumtypes.c: (gst_object_flags_get_type):
19487 * win32/gstreamer.def:
19488 * win32/msvc71.sln:
19489 updates for the win32 build (patch from Sebastien Moutte)
19491 2005-10-10 Andy Wingo <wingo@pobox.com>
19493 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19494 gst_bin_get_state, cleaned up (but no logic changes).
19495 (bin_element_is_sink): Comment updates.
19496 (sink_iterator_filter): Remove needless cast.
19497 (gst_bin_iterate_sinks): Doc update.
19498 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19499 cleaned up (but no logic changes).
19501 * check/states/sinks.c (test_src_sink): Cleanups from the state
19503 (test_livesrc_sink): Sync on the state.
19505 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19506 the state change patch.
19508 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19511 * check/gst/gstbin.c: Merge in some style fixes and additional
19512 checks from Wim's state change patch.
19514 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19516 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19517 (gst_type_find_helper):
19518 Check whether we have the requested data already in our list of
19519 cached buffers before pulling a new buffer; also make the buffer
19520 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19522 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19527 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19528 don't use long long, it's not portable. Replacing with
19529 gint64 seems to work; let's hope no skeletons fall out of the closet.
19531 2005-10-10 Andy Wingo <wingo@pobox.com>
19533 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19535 2005-10-09 Stefan Kost <ensonic@users.sf.net>
19537 * docs/gst/gstreamer-sections.txt:
19542 * gst/gstmessage.c: (gst_message_parse_state_changed):
19545 more docs, fix compilation
19547 2005-10-09 Philippe Khalaf <burger@speedy.org>
19548 * gst/gstmessage.c:
19549 Fixed a few forgotten variables on previous commit
19551 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
19553 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19554 Fix evil typefind crasher: getrange() might return a short
19555 buffer at the end of a file, but gst_type_find_peek() must
19556 either return the full data as requested or NULL, but
19557 never a short buffer.
19559 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
19561 * gst/gstmessage.c: (gst_message_new_state_changed),
19562 (gst_message_parse_state_changed):
19563 * gst/gstmessage.h:
19564 don't use "new", it's a C++ keyword
19566 2005-10-08 Wim Taymans <wim@fluendo.com>
19568 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19569 * gst/gstelement.c: (gst_element_post_message):
19570 * gst/gstpipeline.c: (gst_pipeline_change_state):
19571 Small docs and debug updates.
19573 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19575 * docs/gst/gstreamer-sections.txt:
19576 * gst/gstelementfactory.c:
19578 * gst/gsttaglist.c:
19581 2005-10-08 Wim Taymans <wim@fluendo.com>
19583 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19584 (gst_bin_dispose), (bin_bus_handler):
19585 Fix typos, add comments.
19586 Clear EOS list when going to PAUSED from any direction and do it
19587 in a threadsafe way.
19588 Get base time in a threadsafe way too.
19589 Fix confusing debug in the change_state function.
19590 Various other small cleanups.
19592 * gst/gstelement.c: (gst_element_post_message):
19593 Fix very verbose bus posting code.
19595 * gst/gstpipeline.c: (gst_pipeline_class_init),
19596 (gst_pipeline_set_property), (gst_pipeline_get_property),
19597 (gst_pipeline_change_state):
19598 Small ARG_ -> PROP_ cleanup
19600 2005-10-08 Wim Taymans <wim@fluendo.com>
19602 * gst/gstbin.c: (is_eos), (bin_bus_handler):
19603 Do a less CPU demanding EOS check because we can.
19605 2005-10-08 Wim Taymans <wim@fluendo.com>
19607 * libs/gst/dataprotocol/dataprotocol.c:
19608 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19609 (gst_dp_packet_from_event):
19610 * libs/gst/dataprotocol/dataprotocol.h:
19611 * libs/gst/dataprotocol/dp-private.h:
19612 It's about time we bump the version number.
19613 Since event types don't fit in the guint8 anymore describing
19614 the payload type, make payload type 16 bits wide.
19616 2005-10-08 Wim Taymans <wim@fluendo.com>
19618 * docs/design/part-TODO.txt:
19619 * docs/design/part-clocks.txt:
19620 * docs/design/part-events.txt:
19621 * docs/design/part-gstbin.txt:
19622 * docs/design/part-gstelement.txt:
19623 * docs/design/part-gstpipeline.txt:
19624 * docs/design/part-live-source.txt:
19625 * docs/design/part-messages.txt:
19626 * docs/design/part-overview.txt:
19627 * docs/design/part-states.txt:
19630 2005-10-08 Wim Taymans <wim@fluendo.com>
19634 Fix event quark registration.
19635 Add some space between events so we can insert them in the
19638 2005-10-08 Wim Taymans <wim@fluendo.com>
19640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19641 (gst_base_sink_handle_buffer):
19642 Better log message.
19645 * gst/gstelement.h:
19648 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19649 (gst_queue_set_property), (gst_queue_get_property):
19651 Remove old unused properties.
19653 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19654 * docs/gst/gstreamer-sections.txt:
19655 * gst/gstmessage.c:
19656 * gst/gstmessage.h:
19657 * gst/gstminiobject.c:
19658 * gst/gstminiobject.h:
19662 lots of new docs and doc fixes
19664 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19666 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19668 * gst/gstregistry.c: (gst_registry_lookup_locked),
19669 (gst_registry_scan_path_level):
19670 * gst/gstregistryxml.c: (load_plugin):
19671 Only ever load one plugin for a given plugin basename.
19672 This ensures correct overriding of GST_PLUGIN_PATH over
19673 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19674 system installed plugins.
19676 2005-10-08 Wim Taymans <wim@fluendo.com>
19678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19679 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19680 Prepare for doing QOS.
19682 2005-10-08 Wim Taymans <wim@fluendo.com>
19684 * check/gst/gstbin.c: (GST_START_TEST):
19685 * check/pipelines/cleanup.c: (GST_START_TEST):
19686 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19687 Allow new clock message too.
19689 2005-10-08 Wim Taymans <wim@fluendo.com>
19691 * gst/gstmessage.c: (gst_message_new_error),
19692 (gst_message_new_warning), (gst_message_new_tag),
19693 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19694 (gst_message_new_clock_lost), (gst_message_new_new_clock),
19695 (gst_message_new_segment_start), (gst_message_new_segment_done),
19696 (gst_message_parse_state_changed),
19697 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19698 (gst_message_parse_new_clock):
19699 * gst/gstmessage.h:
19700 Also carry the clock in question.
19702 2005-10-08 Wim Taymans <wim@fluendo.com>
19704 * gst/gstmessage.c: (gst_message_new_custom),
19705 (gst_message_new_eos), (gst_message_new_error),
19706 (gst_message_new_warning), (gst_message_new_tag),
19707 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19708 (gst_message_new_new_clock), (gst_message_new_segment_start),
19709 (gst_message_new_segment_done), (gst_message_parse_state_changed),
19710 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19711 * gst/gstmessage.h:
19713 Added clock related messages.
19715 * gst/gstpipeline.c: (gst_pipeline_change_state):
19716 Post message when the clock changed.
19718 * tools/gst-launch.c: (event_loop):
19721 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
19723 * tools/gst-inspect.c: (print_element_properties_info):
19724 Can't pass NULL strings to g_print() on windows.
19726 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19728 * docs/Makefile.am:
19729 * docs/gst/Makefile.am:
19730 * docs/gst/gstreamer-docs.sgml:
19731 * docs/gst/running.xml:
19732 * docs/version.entities.in:
19733 add a chapter on running GStreamer.
19734 document GST_DEBUG and GST_PLUGIN* env vars
19736 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19741 remove PLUGINS_BUILDDIR stuff
19742 * gst/gst.c: (init_post):
19743 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19745 remove, it was condescending and not needed
19747 2005-10-08 Wim Taymans <wim@fluendo.com>
19749 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19750 (gst_base_sink_handle_object), (gst_base_sink_event),
19751 (gst_base_sink_wait), (gst_base_sink_handle_event),
19752 (gst_base_sink_change_state):
19753 * gst/base/gstbasesink.h:
19754 Repost EOS message while going to PLAYING if still EOS.
19755 Make sure that when receiving a FLUSH_START we don't attempt
19756 to sync on the clock anymore.
19758 2005-10-08 Wim Taymans <wim@fluendo.com>
19760 * tools/gst-launch.c: (event_loop):
19761 Better message printout.
19763 2005-10-08 Wim Taymans <wim@fluendo.com>
19765 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19766 (gst_bin_child_proxy_get_children_count):
19767 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19768 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19769 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19770 (gst_child_proxy_set_valist):
19771 * gst/parse/grammar.y:
19772 Make ChildProxy threadsafe and fix mem leaks.
19774 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19776 * gst/gst.c: (init_post):
19777 debug the GST_PLUGIN_ env vars
19779 2005-10-08 Wim Taymans <wim@fluendo.com>
19781 * check/gst/gstbin.c: (GST_START_TEST):
19782 * check/gst/gstmessage.c: (GST_START_TEST):
19783 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19784 * gst/gstelement.c: (gst_element_commit_state),
19785 (gst_element_lost_state):
19786 * gst/gstmessage.c: (gst_message_new_state_changed),
19787 (gst_message_parse_state_changed):
19788 * gst/gstmessage.h:
19789 * tools/gst-launch.c: (event_loop):
19790 Added extra field to STATE_CHANGE message with the pending
19791 state, which will be different from the new state soon.
19793 2005-10-08 Wim Taymans <wim@fluendo.com>
19795 * gst/gstbus.c: (gst_bus_pop):
19797 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19798 Small cleanups and doc updates.
19800 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19802 * gst/gst.c: (init_pre):
19803 * gst/gstbin.c: (gst_bin_add_func):
19804 log distributing clocks and base time
19805 * gst/gstregistry.c: (gst_registry_add_plugin),
19806 (gst_registry_scan_path_level), (gst_registry_scan_path):
19807 clean up the debugging output a little
19808 * gst/gstutils.c: (gst_element_state_get_name):
19809 warn about a memleak (I've actually seen this be used, though
19810 it was probably a bug)
19812 2005-10-07 Wim Taymans <wim@fluendo.com>
19814 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19815 (gst_base_src_init), (gst_base_src_default_newsegment),
19816 (gst_base_src_newsegment), (gst_base_src_do_seek),
19817 (gst_base_src_loop), (gst_base_src_start):
19818 * gst/base/gstbasesrc.h:
19819 Make the newsegment event customizable by subclasses.
19821 2005-10-07 Wim Taymans <wim@fluendo.com>
19823 * gst/gstevent.c: (gst_event_new_buffersize),
19824 (gst_event_parse_buffersize):
19826 New event for future idea.
19828 2005-10-07 Andy Wingo <wingo@pobox.com>
19830 * gst/gstelement.c (gst_element_post_message): Doc update.
19832 * docs/gst/gstreamer-sections.txt: Update.
19834 * gst/gstmessage.c (gst_message_new_application): Made into a
19835 function like honest API calls.
19836 (gst_message_new_element): New message type.
19838 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19840 * check/elements/fakesrc.c (test_no_preroll): New check, checks
19841 that setting a live fakesrc to PAUSED returns NO_PREROLL both
19844 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19845 NO_PREROLL from gst_element_change_state to fall through.
19847 2005-10-07 Wim Taymans <wim@fluendo.com>
19849 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19850 (gst_ghost_pad_do_activate_push):
19851 Activating a ghostpad with no internal pad in push mode
19854 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
19857 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19858 Fixes compilation on Windows.
19860 2005-10-07 Michael Smith <msmith@fluendo.com>
19862 * tools/gst-inspect.c:
19863 Print out feature and plugin count at the end when printing out
19866 2005-10-04 Michael Smith <msmith@fluendo.com>
19868 * gst/gsterror.c: (_gst_stream_errors_init):
19869 Add another error string used in a few existing plugins.
19872 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19873 * tools/gst-inspect.c: (print_element_info):
19874 When a feature disappears from a plugin (and the feature exists in
19875 the cached registry file), things went horribly wrong. This isn't a
19876 complete fix, we should actually be removing the 'missing' features
19877 from the features list when we load the actual plugin. That's not
19880 2005-10-04 Johan Dahlin <johan@gnome.org>
19882 * check/gst/gstiterator.c: (GST_START_TEST):
19883 * gst/gstbin.c: (gst_bin_iterate_elements),
19884 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19885 * gst/gstelement.c: (gst_element_iterate_pads):
19886 * gst/gstformat.c: (gst_format_iterate_definitions):
19887 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19888 (gst_iterator_new_list), (gst_iterator_filter):
19889 * gst/gstiterator.h:
19890 * gst/gstquery.c: (gst_query_type_iterate_definitions):
19891 Add a GType to GstIterator, update callsites and tests.
19893 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19895 * gst/gstpad.c: (gst_pad_event_default_dispatch):
19896 give events a chance to be handled by event probes when the pad
19899 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19901 * gst/gstevent.c: (gst_event_type_get_name),
19902 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19904 add string representations for event types
19906 2005-10-06 Wim Taymans <wim@fluendo.com>
19908 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19909 Don't use NULL pointers.
19911 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19913 * gst/gst_private.h:
19915 * gst/gstelement.c:
19917 * gst/gstpluginfeature.c:
19918 widen the debug category in output to fit the biggest one we have
19919 add a bus category and use it
19920 play with the colors
19921 fix up some categories
19923 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19925 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19926 add push activation of sink ghost pads.
19927 Andye, please verify
19929 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19931 * gst/gstutils.c: (gst_element_link_pads):
19932 fix a bug in the case where neither element has a pad
19933 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19934 add a test for that case
19936 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19938 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19939 emit have-data before checking for peers. This allows
19940 for probe handlers to connect elements. This helps autopluggers.
19941 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19943 add six checks, linked/unlinked with no/true/false probe
19945 2005-10-04 Wim Taymans <wim@fluendo.com>
19947 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19948 (gst_fake_sink_event), (gst_fake_sink_preroll),
19949 (gst_fake_sink_render), (gst_fake_sink_change_state):
19950 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19951 (gst_fake_src_get_property), (gst_fake_src_create),
19952 (gst_fake_src_stop):
19953 * gst/elements/gstidentity.c: (gst_identity_stop):
19954 Protect last_message with lock.
19956 2005-10-04 Edward Hervey <edward@fluendo.com>
19959 Added precision in the comments for GST_FORMAT_DEFAULT
19961 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
19963 * tools/gst-launch.c: (main):
19964 Don't try to run erroneous pipelines.
19966 2005-10-04 Julien MOUTTE <julien@moutte.net>
19968 * gst/gstbus.c: We don't need this header.
19970 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19973 back to development
19975 === release 0.9.3 ===
19977 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19981 Releasing 0.9.3, "Unregistered"
19983 2005-10-03 Andy Wingo <wingo@pobox.com>
19985 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19986 whereby calling a pad's activatepush() function can start a thread
19987 that starts to push or pull before the pad gets the FLUSHING flag
19988 unset. Hack around it by holding the stream lock until the flag is
19989 set. Need to replace this with a proper solution. Together with
19990 the ghost pad fixes, this fixes mp3 playing/tagreading.
19992 * docs/design/part-gstghostpad.txt: Add a note about activation of
19993 proxy pads outside of ghost pads.
19995 * gst/gstghostpad.c: Implement the ghost pad activation design.
19997 2005-10-02 Andy Wingo <wingo@pobox.com>
19999 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20000 It is volatile, after all.
20002 * docs/design/part-gstghostpad.txt: Flesh out activation with
20005 * gst/base/gstbasesrc.c (gst_base_src_init): Use
20008 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
20011 Fix (unused) AM_CONDITIONAL tests.
20013 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
20015 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20017 * gst/gstutils.c: (gst_pad_query_convert):
20018 Add assertion that makes sure src_val is >=0, just like
20019 gst_query_new_convert() has. (#315895)
20021 2005-09-30 Edward Hervey <edward@fluendo.com>
20023 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20024 Let's not iterate pads we're not interested in, it avoids getting
20025 sky-high refcounts on sinkpad.
20027 2005-09-30 Wim Taymans <wim@fluendo.com>
20029 * gst/gstelement.c: (gst_element_set_state),
20030 (gst_element_change_state):
20031 Small tweak, element in ASYNC remains ASYNC.
20033 2005-09-30 Wim Taymans <wim@fluendo.com>
20035 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20036 Only error is an error.
20038 * gst/gstbin.c: (gst_bin_change_state):
20041 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20042 Also call pad_block in pad alloc.
20044 * gst/gstutils.c: (gst_flow_get_name):
20047 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20049 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20050 (gst_base_src_get_range):
20051 Fix documentation typos. Add some more debug info.
20053 2005-09-29 David Schleef <ds@schleef.org>
20055 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20056 more end-user friendly.
20057 * tools/gst-inspect.c: (main): Check if command-line argument is
20058 a file and attempt to load that file as a plugin.
20060 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20062 * check/gst/gstbin.c:
20063 * check/states/sinks.c:
20064 fix tests for the new warning
20065 * check/gst/gstpipeline.c:
20066 add a test for pipeline and bus interaction
20067 * gst/gstelement.c:
20068 elements should be NULL if they get disposed; add a warning if not
20070 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20073 for 2.6 refcounting, make debug log more correct by printing
20074 the actual refcounts at the time of swap (Wim)
20076 2005-09-29 Andy Wingo <wingo@pobox.com>
20078 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20079 removes signal watches previously added via
20080 gst_bus_add_signal_watch.
20081 (gst_bus_add_signal_watch): Don't return the source id, just store
20082 it on the bus if there wasn't an id already.
20084 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20085 add_signal_watch and remove_signal_watch.
20087 2005-09-29 Edward Hervey <edward@fluendo.com>
20089 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
20090 Better if we actually iterate the list :)
20092 2005-09-29 Wim Taymans <wim@fluendo.com>
20094 * check/gst/gstbin.c: (GST_START_TEST):
20095 Change for new bus API.
20097 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20098 (send_messages), (GST_START_TEST), (gstbus_suite):
20099 Change for new bus signal API.
20101 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20102 (gst_bus_source_prepare), (gst_bus_source_check),
20103 (gst_bus_create_watch), (gst_bus_add_watch_full),
20104 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20105 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20107 Remove support for multiple GSources operating on different
20108 message types as it is too complex and unneeded when using
20110 Added support for receiving signals from the bus.
20112 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20114 * docs/libs/tmpl/gstdataprotocol.sgml:
20115 * docs/manual/advanced-dataaccess.xml:
20116 * gst/elements/gstcapsfilter.c:
20118 rename filter-caps to caps property
20120 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20122 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20123 More robust fraction string parsing.
20125 * docs/pwg/appendix-porting.xml:
20126 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20128 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20130 * gst/gstcaps.c: (gst_caps_do_simplify):
20131 Thou shalt not free a structure and then continue using it
20132 in the next loop iteration.
20134 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20136 Add test case for caps simplification.
20138 2005-09-29 Wim Taymans <wim@fluendo.com>
20140 * check/gst/gstbin.c: (GST_START_TEST):
20143 2005-09-29 Wim Taymans <wim@fluendo.com>
20145 * check/gst/gstbin.c: (GST_START_TEST):
20148 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20149 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20150 (find_element), (gst_bin_sort_iterator_next),
20151 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20152 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20153 (gst_bin_change_state), (gst_bin_dispose):
20154 A bin does not have a bus, it gets the bus from the parent.
20156 * gst/gstelement.c: (gst_element_requires_clock),
20157 (gst_element_provides_clock), (gst_element_is_indexable),
20158 (gst_element_is_locked_state), (gst_element_change_state),
20159 (gst_element_set_bus_func):
20162 * gst/gstpipeline.c: (gst_pipeline_class_init),
20163 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20164 The pipeline provides a bus.
20166 2005-09-28 Johan Dahlin <johan@gnome.org>
20168 * gst/gstmessage.c (gst_message_parse_state_changed): Use
20169 gst_structure_get_enum instead of gst_structure_get_int
20171 * gst/gststructure.c (gst_structure_get_enum): Impl.
20173 * gst/gststructure.h (gst_structure_get_enum): Add
20175 * docs/gst/gstreamer-sections.txt: Ditto
20177 * gst/gstmessage.c (gst_message_new_state_changed): Use
20178 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20179 which does introspection.
20180 Reviewed by Christian Schaller
20182 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20184 * gst/gstinfo.c: (gst_debug_log_default):
20185 don't do dummy g_strdup()s
20186 * libs/gst/controller/gstcontroller.c:
20187 (on_object_controlled_property_changed),
20188 (gst_controlled_property_new), (gst_controller_new_valist),
20189 (gst_controller_new_list),
20190 (gst_controller_remove_properties_valist), (gst_controller_set),
20191 (gst_controller_get), (gst_controller_sync_values),
20192 (gst_controller_get_value_array), (_gst_controller_class_init),
20193 (gst_controller_get_type):
20194 * libs/gst/controller/gstcontroller.h:
20195 * libs/gst/controller/gstinterpolation.c:
20196 (gst_controlled_property_find_timed_value_node):
20197 convert // to /**/ comments
20199 2005-09-28 Wim Taymans <wim@fluendo.com>
20201 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20202 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20203 (gst_bus_sync_signal_handler):
20205 Added async-message and sync-message signals to the bus.
20206 Added helper BusFunc to emit signals for all posted messages.
20208 * gst/gstmessage.c: (gst_message_type_get_name),
20209 (gst_message_type_to_quark), (gst_message_get_type):
20210 * gst/gstmessage.h:
20211 Register quarks for message names.
20213 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20215 * docs/libs/gstreamer-libs-sections.txt:
20216 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20217 (gst_controller_new_list):
20218 * libs/gst/controller/gstcontroller.h:
20219 added another constructor for language bindings
20221 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
20223 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20227 * gst/gstinfo.c: (_gst_debug_init):
20228 slightly more readable color for refcount debugging
20230 2005-09-28 Wim Taymans <wim@fluendo.com>
20232 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20233 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20234 (find_element), (gst_bin_sort_iterator_next),
20235 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20236 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20237 (gst_bin_change_state), (gst_bin_dispose):
20238 Small doc fixes. get_clock -> provide_clock.
20240 * gst/gstelement.c: (gst_element_class_init),
20241 (gst_element_provides_clock), (gst_element_provide_clock),
20242 (gst_element_get_clock), (gst_element_commit_state),
20243 (gst_element_lost_state):
20244 * gst/gstelement.h:
20245 Make get/set_clock() symetric. Add provide_clock vmethod since
20246 that is actually what this function does.
20248 * gst/gstpipeline.c: (gst_pipeline_class_init),
20249 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20250 (gst_pipeline_get_clock):
20251 get_clock -> provide_clock.
20253 2005-09-28 Andy Wingo <wingo@pobox.com>
20255 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20256 lieu of real docs...
20258 * gst/elements/gstfdsrc.c: Cleaned up a bit.
20260 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
20262 * gst/elements/gstcapsfilter.c:
20263 * gst/elements/gstfakesink.c:
20264 * gst/elements/gstfakesrc.c:
20265 * gst/elements/gstfdsink.c:
20266 * gst/elements/gstfdsrc.c:
20267 * gst/elements/gstfilesink.c:
20268 * gst/elements/gstfilesrc.c:
20269 * gst/elements/gstidentity.c:
20270 * gst/elements/gsttee.c:
20271 * gst/elements/gsttypefindelement.c:
20272 Make element details static.
20274 2005-09-28 Wim Taymans <wim@fluendo.com>
20276 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20277 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20278 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20279 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20280 (gst_bin_change_state), (gst_bin_dispose):
20281 Some documentation updates.
20282 Clean up dispose handlers.
20284 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20285 * gst/gstpad.c: (gst_pad_dispose):
20286 Clean up dispose handler.
20288 * gst/gstpipeline.c: (gst_pipeline_change_state):
20289 Removed spurious UNLOCK.
20291 2005-09-27 Stefan Kost <ensonic@users.sf.net>
20293 * docs/gst/gstreamer-sections.txt:
20294 * gst/base/gstbasesrc.h:
20295 * gst/gstelement.h:
20299 * gst/gstpipeline.c:
20300 * gst/gstpipeline.h:
20303 added two new functions to the docs
20304 documents all undocumented GstXXXFlags
20305 completed some incomplete docs
20307 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
20309 * gst/gstbin.c: (gst_bin_dispose):
20310 * gst/gstelement.c: (gst_element_dispose):
20311 remove now useless and leaky resurrection code in dispose
20312 * gst/base/gstbasesrc.c: (gst_base_src_init):
20313 * gst/gstelementfactory.c: (gst_element_factory_create):
20314 * gst/gstobject.c: (gst_object_set_parent):
20317 2005-09-27 Wim Taymans <wim@fluendo.com>
20319 * docs/design/part-TODO.txt:
20322 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20323 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20324 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20325 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20326 (gst_bin_change_state):
20327 * gst/gstelement.h:
20328 Remove element variable, we keep element info in the iterator now.
20330 2005-09-27 Andy Wingo <wingo@pobox.com>
20332 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20335 2005-09-27 Wim Taymans <wim@fluendo.com>
20337 * check/gst/gstbin.c: (GST_START_TEST):
20338 Enable check that works now.
20340 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20341 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20342 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20343 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20344 (gst_bin_change_state):
20346 Redid the state change algorithm using a topological sort algo.
20347 Handles all cases correctly.
20348 Exposed iterator for state change order.
20350 * gst/gstelement.h:
20351 Temp storage for state changes. Need to get rid of this soon.
20353 2005-09-27 Wim Taymans <wim@fluendo.com>
20355 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20356 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20357 (link_fold_func), (gst_pad_proxy_setcaps):
20358 Leak fixes, the fold functions need to unref the passed object and
20359 _get_parent_*() returns ref to parent.
20361 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20363 * check/gst/gstbuffer.c: (test_make_writable):
20364 Plug leak in test case and fix 'make check-valgrind'
20366 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20368 * gst/gstbuffer.c: (gst_subbuffer_init):
20369 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20370 works correctly in all circumstances (we could have just copied
20371 the parent buffer's readonly flag, but conceptually it seems
20372 cleaner to mark all subbuffers as read-only). (based on patch
20373 by Alessandro Decina, #314710).
20375 * check/gst/gstbuffer.c: (create_read_only_buffer),
20376 (test_make_writable), (test_subbuffer_make_writable),
20378 Add some tests for gst_buffer_make_writable().
20380 2005-09-27 Wim Taymans <wim@fluendo.com>
20382 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20383 use gst_object_has_ancestor().
20385 * gst/gstobject.c: (gst_object_has_ancestor):
20387 gst_object_has_ancestor() copied from gstbin.c as it is a
20390 * tests/instantiate/create.c: (create_all_elements):
20391 * tests/lat.c: (handoff_src), (handoff_sink):
20392 * tests/sched/runxml.c: (main):
20393 * tests/seeking/seeking1.c: (main):
20394 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20396 Fix compilation of some tests.
20398 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20401 Remove comment. GST_TYPE_G_ERROR is here to stay,
20402 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20403 (#316961, #300610).
20405 2005-09-26 Wim Taymans <wim@fluendo.com>
20407 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20408 Added check that shows error in state change order.
20410 2005-09-26 Wim Taymans <wim@fluendo.com>
20412 * gst/gstbin.c: (gst_bin_change_state):
20413 Make state change function use 3 queues again, we were
20414 adding elements in the wrong order.
20416 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20419 * gst/gstpad.c: (gst_pad_dispose):
20420 Added some debug info first.
20422 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
20424 * docs/design/draft-push-pull.txt:
20425 * docs/design/part-events.txt:
20426 * docs/design/part-overview.txt:
20427 * docs/design/part-scheduling.txt:
20428 Replace all _pull_region() with _pull_range()
20430 2005-09-26 Andy Wingo <wingo@pobox.com>
20432 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20434 * check/gst-libs/controller.c: Update for controller api change.
20437 * tests/Makefile.am:
20438 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20439 over by GLib bug 118439.
20441 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20442 routines to a function.
20444 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20446 * libs/gst/controller/gsthelper.c:
20447 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20448 (gst_object_sync_values): Renamed from sink_values. Ugh.
20450 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20452 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20453 Renamed from controller_key, as it is exported.
20455 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20457 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
20462 * gst/gstpadtemplate.h:
20465 * gst/gstqueryutils.c:
20466 * gst/gstqueryutils.h:
20467 remove queryutils headers after moving the two used functions
20468 to gstquery. also fixes build problem for gstsiddec
20470 2005-09-26 Michael Smith <msmith@fluendo.com>
20472 * tools/gst-launch.1.in:
20473 Correct documentation in manpage of debug syntax
20475 2005-09-26 Wim Taymans <wim@fluendo.com>
20477 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20478 (gst_base_src_is_seekable), (gst_base_src_change_state):
20479 Some more debugging info.
20481 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20483 * docs/gst/gstreamer-sections.txt:
20484 * gst/base/gstbasetransform.h:
20488 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20490 * docs/gst/.cvsignore:
20491 * docs/gst/tmpl/.cvsignore:
20492 * docs/gst/tmpl/gstpipeline.sgml:
20493 * docs/gst/tmpl/gstplugin.sgml:
20494 * gst/gstpipeline.c:
20497 inlined the last two docs files
20498 removed the tmpl directory from cvs (no more conflicts here!)
20500 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20502 * docs/gst/gstreamer-sections.txt:
20503 * docs/gst/tmpl/.cvsignore:
20504 * docs/gst/tmpl/gstpad.sgml:
20505 * docs/gst/tmpl/gstpadtemplate.sgml:
20507 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20508 (gst_pad_finalize), (gst_pad_set_pad_template):
20510 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20511 (gst_pad_template_class_init), (gst_pad_template_init),
20512 (gst_pad_template_dispose), (name_is_valid),
20513 (gst_static_pad_template_get), (gst_pad_template_new),
20514 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20515 (gst_pad_template_pad_created):
20516 * gst/gstpadtemplate.h:
20517 inlined two more docs
20518 factored gstpadtemplate out of gstpad
20520 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
20522 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20523 (test_children_state_change_order_semi_sink):
20524 Fix test case: we can't rely on a fixed state change order when
20525 going from READY => PAUSED because the sink might commit its
20526 new state first when the first buffer created by the source
20527 reaches the sink before the source has finished its change state.
20528 (Test case still fails at times, see #316856, comment 5 onwards)
20530 2005-09-24 Wim Taymans <wim@fluendo.com>
20532 * docs/design/part-events.txt:
20533 * docs/design/part-gstbus.txt:
20534 * docs/design/part-gstpipeline.txt:
20535 * docs/design/part-messages.txt:
20536 * docs/design/part-overview.txt:
20537 * docs/design/part-segments.txt:
20541 * gst/gstelement.c:
20544 * gst/gstiterator.c:
20545 Various documentation updates.
20547 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
20550 Well, that's embarassing. Luckily we weren't using
20551 GST_CLOCK_DIFF anywhere.
20553 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20555 * common/gtk-doc.mak:
20556 don't fail on building XML, FC4 slave shows a bunch of doc
20557 missing bits that I don't get
20559 * gst/gstpipeline.c:
20560 * gst/gststructure.c:
20563 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20565 * docs/design/part-gstbin.txt:
20566 * docs/design/part-gstbus.txt:
20568 Add blurb about how the bus goes into flushing mode and
20569 drops all messages when its bin goes from READY into NULL
20572 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20574 * docs/gst/gstreamer-sections.txt:
20575 * gst/gststructure.c: (gst_structure_get_clock_time):
20576 * gst/gststructure.h:
20577 add a method to get a GstClockTime out of a structure
20579 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20581 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20582 (test_children_state_change_order_semi_sink), (gst_bin_suite):
20583 Added test to check state change order in bins (can still be made
20584 to fail here under heavy disk load; bails out with 'Push on pad
20585 fakesink:sink0, but it was not activated in push mode').
20587 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20588 Fix state change order when there is only a semi sink (#316856)
20590 * gst/gstbus.c: (gst_bus_class_init):
20591 Use _class_peek_parent(), not _class_ref(); fix docs to say
20592 'default main context' instead of 'mainloop' where that is
20595 * gst/gstelement.c: (gst_element_commit_state),
20596 (gst_element_set_state):
20597 Fix typos in debug messages
20599 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20602 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20603 * gst/gstpluginfeature.c:
20605 various doc updates
20606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20607 change an assert into an error until it gets fixed properly
20609 2005-09-23 Stefan Kost <ensonic@users.sf.net>
20611 * docs/gst/gstreamer-sections.txt:
20612 * docs/gst/tmpl/.cvsignore:
20613 * docs/gst/tmpl/gstelement.sgml:
20614 * docs/gst/tmpl/gstinfo.sgml:
20615 * docs/gst/tmpl/gstobject.sgml:
20616 * gst/gstelement.c:
20617 * gst/gstelement.h:
20620 * gst/gstobject.c: (gst_object_class_init):
20622 inlined 3 more biiiig doc files and added some missing docs on the fly
20624 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20626 * check/gst/.cvsignore:
20627 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20628 * gst/gstregistryxml.c: (load_plugin),
20629 (gst_registry_xml_save_plugin):
20630 put back source in registry. add checks for find_plugin.
20631 * testsuite/states/bin.c: (assert_state), (empty_bin),
20632 (test_adding_one_element), (main):
20633 * testsuite/states/locked.c: (main):
20634 some compile/run fixes
20636 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
20638 * check/gst/gstvalue.c: (GST_START_TEST):
20639 fix leaks in the test itself
20641 2005-09-22 Wim Taymans <wim@fluendo.com>
20643 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20644 (gst_base_sink_send_event), (gst_base_sink_peer_query),
20645 (gst_base_sink_query):
20646 Prepare for more accurate position reporting and query
20649 * gst/gstelement.c: (gst_element_send_event),
20650 (gst_element_set_state):
20653 2005-09-22 Wim Taymans <wim@fluendo.com>
20655 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20656 (gst_query_parse_segment):
20658 More documentation.
20659 Add segment query for future use.
20661 2005-09-22 Wim Taymans <wim@fluendo.com>
20663 * gst/gstbin.c: (gst_bin_add_func):
20664 Some more debug info.
20666 * gst/gstelement.c: (gst_element_send_event):
20667 Simplify send_event
20669 * gst/gstelement.h:
20670 Don't know how flags got broken.
20675 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20677 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20678 Add simplistic test suite for GST_TYPE_DATE serialisation and
20681 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20683 * docs/gst/gstreamer-sections.txt:
20684 * gst/gststructure.c: (gst_structure_set_valist),
20685 (gst_structure_get_date):
20686 * gst/gststructure.h:
20687 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20688 (gst_date_copy), (gst_value_compare_date),
20689 (gst_value_serialize_date), (gst_value_deserialize_date),
20690 (gst_value_transform_date_string),
20691 (gst_value_transform_string_date), (_gst_value_initialize):
20693 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20694 bunch of utility functions along with a hack that checks that
20695 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20696 is required. Part of the grand scheme in #170777.
20698 2005-09-22 Andy Wingo <wingo@pobox.com>
20700 * gst/gstconfig.h.in: Psych out gtk-doc.
20702 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20704 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20706 * tools/gst-inspect.c (print_element_list): Plug some
20707 inconsequential leaks.
20709 * gst/gstregistry.c (gst_registry_get_default): Doc.
20711 * check/gst/gstplugin.c:
20712 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20713 * gst/gstelementfactory.c (gst_element_factory_create):
20714 * gst/gstindexfactory.c (gst_index_factory_create): Update for
20717 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20718 (gst_plugin_feature_load): Doc, don't eat refs.
20720 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20721 (gst_plugin_list_free): Doc.
20722 (gst_plugin_load_file): Doc updates.
20724 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20725 accessors returning refcounted objects, return a ref.
20727 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20728 accessor for caps. IDEMPOTENCE. Oh yes.
20730 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
20732 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20734 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20735 (_gst_debug_register_funcptr):
20736 Add mutex to serialise access to the hash table with
20737 the function pointer => function name string mapping;
20738 make that hash table static scope (#316809).
20740 * gst/registries/.cvsignore:
20741 Remove left-over file.
20743 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20745 * docs/pwg/appendix-porting.xml:
20746 And something about newsegment events and caps-on-buffers to
20747 the porting guide (feel free to improve).
20749 2005-09-21 Andy Wingo <wingo@pobox.com>
20751 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20752 data and event probes on the same pad.
20753 (test_buffer_probe_once): Test that removing probes from within
20754 the probe functions works.
20756 2005-09-21 Andy Wingo <wingo@pobox.com>
20758 * check/gst/gstutils.c: New file.
20759 (test_buffer_probe_n_times): A simple buffer probe test. More to
20762 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20763 have-data::buffer, not have-data.
20764 (gst_pad_add_event_probe): Likewise for have-data::event.
20765 (gst_pad_add_data_probe): More docs. The part about 'resolving the
20766 peer' isn't quite right yet though.
20767 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
20768 (gst_pad_remove_data_probe): Change to take the guint handler_id
20769 as their arg, not the function+data, which is more glib-like.
20771 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20772 the signal emission to indicate if the data is a buffer or an
20774 (gst_pad_get_type): Initialize buffer and event quarks.
20775 (gst_pad_class_init): have-data is now a detailed signal, yes it
20778 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20780 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20781 * gst/gstutils.c: (gst_util_set_value_from_string),
20782 (gst_util_set_object_arg):
20783 Don't put functional code in g_return_if_fail() or
20784 g_return_val_if_fail() statements, otherwise things will
20785 break when G_DISABLE_CHECKS is defined during compilation.
20787 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20789 * docs/gst/tmpl/.cvsignore:
20790 * docs/gst/tmpl/gstvalue.sgml:
20793 inlied another one and added some obvious docs
20795 2005-09-21 Wim Taymans <wim@fluendo.com>
20797 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20798 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20799 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20800 (gst_fdsrc_get_property), (gst_fdsrc_create):
20801 * gst/elements/gstfdsrc.h:
20802 Properly implement fdsrc. Removed signal and timeout,
20803 better implemented somewhere else.
20805 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20807 * docs/gst/tmpl/.cvsignore:
20808 * docs/gst/tmpl/gstimplementsinterface.sgml:
20809 * gst/gstinterface.c:
20812 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20814 * docs/gst/gstreamer-sections.txt:
20815 * docs/gst/tmpl/.cvsignore:
20816 * docs/gst/tmpl/gstenumtypes.sgml:
20817 remove obsolete doc file
20819 2005-09-21 David Schleef <ds@schleef.org>
20821 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20822 little beer, fix a little leak.
20824 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20826 * docs/gst/gstreamer-docs.sgml:
20827 * docs/gst/gstreamer-sections.txt:
20828 * docs/gst/tmpl/.cvsignore:
20832 * gst/gstelement.h:
20833 * gst/gstindex.c: (gst_index_class_init):
20835 * gst/gstindexfactory.c: (gst_index_factory_get_type),
20836 (gst_index_factory_class_init), (gst_index_factory_init),
20837 (gst_index_factory_finalize), (gst_index_factory_new),
20838 (gst_index_factory_destroy), (gst_index_factory_find),
20839 (gst_index_factory_create), (gst_index_factory_make):
20840 * gst/gstindexfactory.h:
20841 * gst/gstpluginfeature.c:
20842 * gst/gstpluginfeature.h:
20843 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20844 more docs inlined, splitted gstindex.{c,h}
20846 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20848 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20851 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20853 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20854 Set sync to FALSE by default.
20856 2005-09-20 Wim Taymans <wim@fluendo.com>
20858 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20859 (gst_base_sink_init):
20860 Make sync property settable from subclass.
20862 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20863 (gst_fake_sink_change_state):
20864 Set sync to FALSE by default.
20866 2005-09-20 Wim Taymans <wim@fluendo.com>
20868 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20869 * tools/gst-launch.c: (main):
20870 The timeout handler should have lower priority than the source
20871 so we don't timeout before popping a message with 0 timeout.
20872 Dump error messages after failed state change.
20874 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20876 * tools/gst-inspect.c: (print_element_properties_info):
20879 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20881 * check/gst/gstevent.c:
20882 * gst/elements/gstfakesink.c:
20883 * gst/elements/gstfakesink.h:
20884 remove the sync property from fakesink.
20885 has the side effect of setting sync TRUE
20886 for fakesink, which is a change. Anyone who knows how
20887 to fix this nicely in a GObject-y way, feel free.
20889 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20891 * docs/gst/gstreamer-docs.sgml:
20892 remove probe refsection
20894 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20896 * check/Makefile.am:
20897 disable valgrinding the controller test again
20898 * docs/gst/gstreamer-sections.txt:
20899 update for api-changes
20901 2005-09-20 Wim Taymans <wim@fluendo.com>
20903 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20904 (gst_base_sink_set_property), (gst_base_sink_get_property),
20905 (gst_base_sink_do_sync):
20906 * gst/base/gstbasesink.h:
20907 Added sync property to basesink to disable clock sync.
20909 2005-09-20 Andy Wingo <wingo@pobox.com>
20911 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20912 eating the caller's refcount.
20914 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
20915 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20918 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20919 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20920 of GLib 2.8 public, so we can know which refcount to check in
20923 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20924 (gst_object_init): Only set the gst refcount if we're going ahead
20925 with the refcount hack.
20927 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20929 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20930 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20931 more leaks plumbed, added more debug-logging
20935 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20937 * gst/gstmessage.c:
20938 remove include of gstmemchunk.h
20940 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20942 * gst/gstclock.c: (_gst_clock_id_free):
20943 Commit from the Political Party For More Atomic CVS Commits,
20944 so that people don't waste too much of their day fishing
20945 out obvious leaks out of massive commits.
20946 Oh, and fix a pretty damn obvious leak in the memchunk
20949 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20951 * check/Makefile.am:
20952 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20953 plug mem-leak, re-add to valgrindable tests
20955 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20958 unbreak the build for those who have chronic arthritis
20959 and typing "make check" is just too taxing on the hands
20961 2005-09-20 Andy Wingo <wingo@pobox.com>
20963 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20964 really want it out, you should fix plugins at the same time.
20966 2005-09-19 Stefan Kost <ensonic@users.sf.net>
20969 * docs/gst/gstreamer-sections.txt:
20971 added missing symbols to api docs
20972 disable ref-count hack if we have glib >= 2.8
20974 2005-09-19 David Schleef <ds@schleef.org>
20976 * docs/gst/Makefile.am: Ignore a few more internal headers
20977 * docs/gst/gstreamer-docs.sgml: Remove old sections
20978 * docs/gst/gstreamer-sections.txt: Remove old sections
20979 * docs/gst/tmpl/gstobject.sgml: update
20980 * docs/gst/tmpl/gstplugin.sgml: update
20981 * docs/gst/tmpl/gstpluginfeature.sgml: update
20982 * docs/random/ds/0.9-suggested-changes: update.
20983 * gst/Makefile.am: remove memchunk and trashstack, since they're
20985 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20986 * gst/gst.h: don't include some headers
20987 * gst/gstchildproxy.c: add gstmarshal.h
20988 * gst/gstclock.c: Don't use memchunks
20989 * gst/gstminiobject.c: Add some docs
20990 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20991 * gst/gstobject.h: same
20992 * gst/gstplugin.c: include gstmacros.h
20993 * gst/gstplugin.h: don't include gstmacros.h, since it's private
20994 * gst/gstquery.c: don't use memchunks
20995 * gst/gstregistry.c: rename gst_registry_deinit()
20996 * gst/gstregistry.h: same
20998 2005-09-19 David Schleef <ds@schleef.org>
21000 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21001 * docs/libs/gstreamer-libs-sections.txt:
21002 * docs/libs/tmpl/gstgetbits.sgml:
21003 * docs/libs/tmpl/gstputbits.sgml:
21005 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
21007 * win32/gstenumtypes.c:
21008 * win32/gstenumtypes.h:
21011 2005-09-19 Wim Taymans <wim@fluendo.com>
21013 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21014 Automatically PAUSE and RESUME a pipeline when a flushing seek
21017 2005-09-19 Andy Wingo <wingo@pobox.com>
21019 * gst/gstregistry.h: Spacing fixen.
21021 2005-09-19 Wim Taymans <wim@fluendo.com>
21023 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21024 Handle state change failure more correctly.
21026 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21028 * check/Makefile.am:
21029 * check/pipelines/cleanup.c: (run_pipeline):
21030 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21032 enable cleanup again after fixing the leak
21034 some more info on docs
21036 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21038 * check/Makefile.am:
21039 re-enable tests now that leaks are plugged
21041 * check/gst/gstbin.c:
21042 * check/gst/gstpipeline.c:
21043 add some more tests while fixing leaks
21044 * common/check.mak:
21045 make sure binaries are uptodate when valgrinding/gdbing
21047 * gst/gstelementfactory.c:
21048 remove a ref too many, and add a FIXME for when we get
21049 round to disposing of classes
21051 fix the refcounting when loading a plugin from a file and
21052 the code pretends that the pointer is the same even though
21053 of course it can change
21054 * gst/gstpluginfeature.c:
21055 unref plugins marked cached (a bit confusing as a name)
21056 as the docs state should be done
21057 various doc additions to explain refcounting
21058 * gst/gstregistry.c:
21059 * gst/gstregistryxml.c:
21062 2005-09-19 Wim Taymans <wim@fluendo.com>
21064 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21065 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21066 (send_messages), (GST_START_TEST), (gstbus_suite):
21067 * check/gst/gstpipeline.c: (GST_START_TEST):
21068 * check/pipelines/cleanup.c: (run_pipeline):
21069 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21071 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21072 (gst_bus_source_check), (gst_bus_source_dispatch),
21073 (gst_bus_create_watch), (gst_bus_add_watch_full),
21074 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21076 * tools/gst-launch.c: (event_loop):
21077 * tools/gst-md5sum.c: (event_loop):
21078 GstBusHandler -> GstBusFunc, return value has the same meaning as
21079 any other GSource (FALSE == remove source).
21080 _add_watch() and _add_watch_full() now take a MessageType mask to
21081 only handle specific types of messages.
21082 _poll() returns the GstMessage instead of the message type to avoid
21084 _have_pending() takes a MessageType mask now too.
21085 Added testsuite for multiple bus watches.
21086 Fix testsuites and applications for new bus API.
21088 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21090 * check/Makefile.am:
21091 mark a bunch of the tests as to fix until we fix them
21093 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21095 * common/check.mak:
21096 use GST_PLUGIN settings for valgrind tests as well, so we're
21097 valgrinding the correct thing
21098 * gst/gst.c: (init_post):
21101 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21103 * gst/gst.c: (init_post), (gst_deinit):
21104 * gst/gstelementfactory.c: (gst_element_factory_class_init),
21105 (gst_element_factory_finalize), (gst_element_factory_cleanup):
21106 * gst/gstindex.c: (gst_index_factory_class_init),
21107 (gst_index_factory_finalize):
21108 * gst/gstobject.c: (gst_object_dispose):
21109 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21110 (gst_plugin_load_file), (gst_plugin_desc_free):
21111 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21112 (gst_plugin_feature_finalize):
21113 * gst/gstregistry.c: (gst_registry_class_init),
21114 (gst_registry_init), (gst_registry_finalize),
21115 (gst_registry_get_default), (gst_registry_deinit):
21116 * gst/gstregistry.h:
21117 * gst/gstregistryxml.c: (load_feature), (load_plugin):
21118 various cleanups and memleak plugging. make valgrind is happy now.
21120 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21122 * common/check.mak:
21123 add a check-valgrind target
21125 2005-09-18 David Schleef <ds@schleef.org>
21127 * tools/gst-inspect.c: Revert the GOption code.
21129 2005-09-17 David Schleef <ds@schleef.org>
21131 * check/Makefile.am: Fix environment variables.
21132 * check/gst/gstplugin.c: Fix for API changes.
21133 * tools/gst-inspect.c: Fix for API changes.
21134 * tools/gst-xmlinspect.c: Fix for API changes.
21135 * gst/gstelementfactory.c:
21138 * gst/gstpluginfeature.c:
21139 * gst/gstpluginfeature.h:
21140 * gst/gstregistry.c:
21141 * gst/gstregistry.h:
21142 * gst/gstregistryxml.c:
21143 * gst/gsttypefind.c:
21144 * gst/gsttypefindfactory.c:
21145 * gst/indexers/gstfileindex.c:
21146 * gst/indexers/gstmemindex.c:
21147 * gst/schedulers/Makefile.am:
21148 Change registry to keep track of both plugins and features,
21149 removing the feature tracking from plugins themselves.
21151 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
21153 * check/Makefile.am:
21154 * tools/gst-register.1.in:
21155 remove gst-register
21157 2005-09-15 David Schleef <ds@schleef.org>
21159 * check/gst/gstplugin.c:
21160 * gst/gstelementfactory.c:
21162 * gst/gstpluginfeature.c:
21163 * gst/gstregistry.c:
21164 Getting tired of debugging. Disabled all the unreffing of
21165 plugins and features, which fixes the segfaults, but of
21166 course leaks like crazy. At least playbin works.
21168 2005-09-15 David Schleef <ds@schleef.org>
21170 * check/gst/gstplugin.c: (register_check_elements),
21171 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21173 * gst/elements/gsttypefindelement.c: Fix refcounting.
21174 * gst/gsttypefind.c:
21175 * gst/gsttypefindfactory.c:
21176 * gst/gsttypefindfactory.h:
21178 2005-09-15 David Schleef <ds@schleef.org>
21180 * gst/gstindex.c: get refcounting correct.
21181 * gst/gstregistry.c: Handle the case where a feature/plugin is
21184 2005-09-15 David Schleef <ds@schleef.org>
21186 * check/Makefile.am:
21187 * check/gst/gstplugin.c: Add test
21188 * gst/gstplugin.c: Fix problems noticed by testsuite
21190 * gst/gstregistry.c:
21191 * gst/gstregistry.h:
21193 2005-09-15 David Schleef <ds@schleef.org>
21195 * gst/gstplugin.c: Implement semi-decent recounting and locking
21196 in plugins and plugin features.
21198 * gst/gstpluginfeature.c:
21199 * gst/gstpluginfeature.h:
21200 * gst/gstregistry.c:
21202 2005-09-15 Michael Smith <msmith@fluendo.com>
21204 * gst/gstregistry.c: (gst_registry_get_feature_list):
21205 Implement this. Makes oggdemux work; decodebin still broken.
21207 2005-09-14 David Schleef <ds@schleef.org>
21209 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21211 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21212 * gst/check/Makefile.am:
21213 * libs/gst/controller/Makefile.am:
21214 * libs/gst/dataprotocol/Makefile.am:
21216 2005-09-14 David Schleef <ds@schleef.org>
21218 * configure.ac: Remove getbits library. Nothing uses it, and
21219 it should be in something like liboil if someone did want
21221 * libs/gst/Makefile.am:
21222 * libs/gst/getbits/Makefile.am:
21223 * libs/gst/getbits/gbtest.c:
21224 * libs/gst/getbits/getbits.c:
21225 * libs/gst/getbits/getbits.h:
21226 * libs/gst/getbits/gstgetbits_generic.c:
21227 * libs/gst/getbits/gstgetbits_i386.s:
21228 * libs/gst/getbits/gstgetbits_inl.h:
21230 2005-09-14 David Schleef <ds@schleef.org>
21232 * gst/Makefile.am: Dist glib-compat.h
21234 2005-09-14 David Schleef <ds@schleef.org>
21236 * configure.ac: Remove gst/registries, since it's no longer used.
21237 * gst/registries/Makefile.am:
21238 * gst/registries/gstlibxmlregistry.c:
21239 * gst/registries/gstlibxmlregistry.h:
21240 * gst/registries/gstxmlregistry.c:
21241 * gst/registries/gstxmlregistry.h:
21242 * gst/registries/registrytest.c:
21244 2005-09-14 David Schleef <ds@schleef.org>
21246 * gst/glib-compat.h:
21247 * gst/gstregistryxml.c:
21248 Convergence is near. Seriously.
21250 2005-09-14 David Schleef <ds@schleef.org>
21252 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21253 * gst/glib-compat.h:
21254 Attempt #4 to appease the buildbots.
21256 2005-09-14 David Schleef <ds@schleef.org>
21258 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21261 2005-09-14 David Schleef <ds@schleef.org>
21263 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21266 2005-09-14 David Schleef <ds@schleef.org>
21268 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21271 2005-09-14 David Schleef <ds@schleef.org>
21273 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21274 * gst/glib-compat.h: Add some functions that are in newer versions
21275 of glib than we care to require.
21276 * gst/gstregistryxml.c: Use them.
21278 2005-09-14 David Schleef <ds@schleef.org>
21280 * po/POTFILES.in: remove gst-register.c
21282 2005-09-14 David Schleef <ds@schleef.org>
21284 * docs/gst/gstreamer-docs.sgml:
21285 * docs/gst/gstreamer-sections.txt:
21286 * docs/gst/gstreamer.types:
21287 * docs/gst/tmpl/gstelement.sgml:
21288 * docs/gst/tmpl/gstplugin.sgml:
21289 * docs/gst/tmpl/gstpluginfeature.sgml:
21290 Documentation updates for registry changes.
21292 2005-09-14 David Schleef <ds@schleef.org>
21294 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21295 because we don't require glib-2.8.
21297 2005-09-14 David Schleef <ds@schleef.org>
21299 * gst/gstregistryxml.c: Added. Essentially moved out of the
21300 registries directory.
21302 2005-09-14 David Schleef <ds@schleef.org>
21304 * check/Makefile.am:
21305 * check/generic/states.c:
21309 * gst/gst_private.h:
21310 * gst/gstelementfactory.c:
21315 * gst/gstpluginfeature.c:
21316 * gst/gstpluginfeature.h:
21317 * gst/gstregistry.c:
21318 * gst/gstregistry.h:
21319 * gst/gstregistrypool.c: remove
21320 * gst/gstregistrypool.h: remove
21321 * gst/gsttypefind.c:
21322 * gst/gsttypefindfactory.c:
21324 * tools/Makefile.am:
21325 * tools/gst-compprep.c:
21326 * tools/gst-inspect.c:
21327 * tools/gst-register.c: remove
21328 * tools/gst-xmlinspect.c:
21329 Registry rewrite. Changes registry from being a file created
21330 by a tool into a simple cache file created automatically by
21331 libgstreamer. Removed gst-register (because it's no longer
21332 needed). Remove registry pools, because we only have one
21333 registry implementation (XML). Fix up other subsystems as
21336 2005-09-13 Michael Smith <msmith@fluendo.com>
21338 * gst/gstconfig.h.in:
21339 Don't Use windows linking attributes for MinGW. Fixes #316157
21341 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
21343 * gst/gstutils.c: (set_state_async_thread_func),
21344 (gst_element_set_state_async):
21345 Apparently people think it's better if this function doesn't
21346 try to set the state to whatever state was asked for on the first
21347 call to this function for any object. Seriously.
21349 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21351 * check/gst/gstpipeline.c: (GST_START_TEST):
21352 * docs/gst/gstreamer-sections.txt:
21353 * gst/gstutils.c: (set_state_async_thread_func),
21354 (gst_element_set_state_async):
21356 add a "gst_element_set_state_async" method that
21357 sets the state and starts a thread to make sure the state
21358 change completes as best as it can
21360 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21362 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21363 codify design+behaviour in testsuite after discussion
21365 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21367 * docs/gst/tmpl/gstelement.sgml:
21368 * docs/manual/appendix-quotes.xml:
21370 * gst/gstelement.c: (gst_element_set_state):
21373 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
21375 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21376 (gst_base_transform_prepare_output_buf),
21377 (gst_base_transform_handle_buffer):
21378 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21379 (gst_capsfilter_prepare_buf):
21380 Remove the requirement for sub-classes to call the parent
21381 implementation of prepare_output_buffer with a wrapper function.
21383 * gst/gsttaglist.h:
21384 * gst/gsttagsetter.h:
21385 Fix #define wrapper
21387 2005-09-11 Stefan Kost <ensonic@users.sf.net>
21389 * docs/gst/gstreamer-sections.txt:
21392 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21394 * docs/gst/gstreamer-sections.txt:
21395 * docs/gst/tmpl/gstelement.sgml:
21396 * docs/gst/tmpl/gstplugin.sgml:
21397 * gst/gstminiobject.c:
21399 docs now stop throwing warnings
21401 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21403 * docs/gst/gstreamer-sections.txt:
21404 * docs/gst/gstreamer.types:
21405 * docs/gst/tmpl/gstpad.sgml:
21406 * docs/gst/tmpl/gsttypes.sgml:
21407 * gst/base/gstadapter.h:
21408 * gst/base/gstbasesink.h:
21409 * gst/base/gstbasesrc.h:
21415 * gst/gstelement.h:
21417 * gst/gstmessage.h:
21419 * gst/gststructure.c:
21420 * gst/registries/gstlibxmlregistry.h:
21421 various documentation fixes
21423 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21425 * docs/gst/gstreamer-sections.txt:
21426 * docs/gst/tmpl/gstvalue.sgml:
21427 rearrange gstvalue section
21428 * gst/gstutils.c: (gst_element_state_get_name):
21430 * gst/gstvalue.c: (_gst_value_initialize):
21434 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
21436 * check/gst-libs/controller.c:
21437 Header include fix.
21438 * gst/base/gstbasetransform.c:
21439 (gst_base_transform_default_prepare_buf),
21440 (gst_base_transform_handle_buffer):
21441 * gst/base/gstbasetransform.h:
21442 Some more basetransform changes and fixes to enable sub-classes
21443 that modify buffer metadata only.
21444 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21445 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21446 (gst_capsfilter_prepare_buf):
21447 If the output pad has fixed allowed caps and input buffers
21448 don't have any, set the fixed caps on outgoing buffers.
21450 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
21451 * check/elements/identity.c: (GST_START_TEST):
21452 Make the error a little clearer when the test fails because
21453 identity made a copy of the buffer.
21454 * docs/gst/gstreamer-sections.txt:
21455 New symbols in gstbasetransform.h
21456 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21457 (gst_base_transform_init), (gst_base_transform_transform_size),
21458 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21459 (gst_base_transform_default_prepare_buf),
21460 (gst_base_transform_get_unit_size),
21461 (gst_base_transform_buffer_alloc),
21462 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21463 (gst_base_transform_change_state),
21464 (gst_base_transform_set_passthrough),
21465 (gst_base_transform_set_in_place),
21466 (gst_base_transform_is_in_place):
21467 * gst/base/gstbasetransform.h:
21468 Change BaseTransform to separate in_place operate from same_caps
21469 output. in_place implies that the element can perform the transform
21470 on incoming buffers in-place, even if the caps on the output are
21472 Sub-class elements can now implement special buffer allocation
21473 methods for outgoing buffers if they wish to.
21474 Big documentation addition.
21475 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21476 * gst/elements/gstelements.c:
21477 Changes for basetransform modifications.
21478 * gst/elements/Makefile.am:
21479 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21480 Compile fix. Extra debug output.
21482 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21484 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21486 add tests for valid pad naming
21487 * gst/check/gstcheck.c: (gst_check_log_message_func),
21488 (gst_check_log_critical_func):
21490 remove printing of code, it is fragile when the code contains
21491 % and the line number is enough info
21492 * gst/check/gstcheck.h:
21493 * gst/gstpad.c: (gst_pad_template_new):
21496 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21499 say what CHECK flags we use
21500 * docs/libs/gstreamer-libs.types:
21501 * libs/gst/controller/Makefile.am:
21502 * libs/gst/controller/gst-controller.c:
21503 * libs/gst/controller/gst-controller.h:
21504 * libs/gst/controller/gst-helper.c:
21505 * libs/gst/controller/gst-interpolation.c:
21506 * libs/gst/controller/gstcontroller.c:
21507 * libs/gst/controller/gsthelper.c:
21508 * libs/gst/controller/gstinterpolation.c:
21509 * tools/gst-inspect.c: (print_plugin_info):
21510 we don't use dashes in header names
21512 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21514 * check/Makefile.am:
21515 * check/gst/.cvsignore:
21516 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21517 (gst_pipeline_suite), (main):
21518 adding a test for pipelines and state changes
21519 * gst/gstutils.c: (get_state_func):
21521 * gstreamer.spec.in:
21524 2005-09-08 Michael Smith <msmith@fluendo.com>
21526 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21527 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21528 (gst_file_src_is_seekable), (gst_file_src_get_size),
21529 (gst_file_src_start):
21530 * gst/elements/gstfilesrc.h:
21531 Various fixes for unseekable, unmmapable, and non-normal files, so
21532 that fallback to read() rather than mmap() works.
21533 * gst/gstevent.c: (gst_event_new_newsegment):
21534 Allow newsegment events with segment_start == segment_end, as will
21535 correctly happen if you use filesrc on a zero-size file, for
21538 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21540 * gst/gstplugin.c: (gst_plugin_load_file):
21541 Call g_module_close when we don't load the module
21543 * gst/registries/gstlibxmlregistry.c:
21544 (gst_xml_registry_get_property):
21545 Port leak fix from 0.8
21547 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21549 * docs/gst/gstreamer-docs.sgml:
21550 * docs/gst/tmpl/.cvsignore:
21551 * docs/gst/tmpl/gsttrace.sgml:
21552 * docs/gst/tmpl/gsttrashstack.sgml:
21555 * gst/gstelement.h:
21557 * gst/gstmessage.c:
21558 * gst/gstmessage.h:
21561 * gst/gsttaginterface.c:
21562 * gst/gsttaginterface.h:
21563 * gst/gsttaglist.c:
21564 * gst/gsttaglist.h:
21565 * gst/gsttagsetter.c:
21566 * gst/gsttagsetter.h:
21569 * gst/gsttrashstack.c:
21570 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21571 inlined docs for gsttrace, gsttrashstack
21573 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21576 * gst/elements/gstbufferstore.h:
21577 * gst/elements/gsttypefindelement.c:
21578 * gst/elements/gsttypefindelement.h:
21580 * gst/gsttypefind.c:
21581 * gst/gsttypefind.h:
21582 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21583 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21584 (gst_type_find_factory_dispose),
21585 (gst_type_find_factory_unload_thyself),
21586 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21587 (gst_type_find_factory_get_caps),
21588 (gst_type_find_factory_get_extensions),
21589 (gst_type_find_factory_call_function):
21590 * gst/gsttypefindfactory.h:
21591 * gst/registries/gstlibxmlregistry.c:
21592 * gst/registries/gstxmlregistry.c:
21593 splitted gsttypefind into gsttypefind, gsttypefindfactory
21595 2005-09-07 Andy Wingo <wingo@pobox.com>
21597 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21598 condition whereby the pad's task function is entered before the
21599 pad_mode variable was set.
21601 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21603 * gst/gstpad.c: (gst_pad_alloc_buffer):
21604 Catch misbehaving pad_alloc functions that don't
21605 set up caps and do it for them.
21607 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21609 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21610 test for pipe!=NULL
21611 * docs/gst/tmpl/.cvsignore:
21612 * docs/gst/tmpl/gstmemchunk.sgml:
21613 * docs/gst/tmpl/gstparse.sgml:
21614 * docs/gst/tmpl/gsttaglist.sgml:
21615 * docs/gst/tmpl/gsttagsetter.sgml:
21616 * docs/gst/tmpl/gsttypefind.sgml:
21617 * docs/gst/tmpl/gsttypefindfactory.sgml:
21618 * gst/gstmemchunk.c:
21621 * gst/gsttaginterface.c:
21622 * gst/gsttypefind.c:
21623 * gst/gsttypefind.h:
21626 === release 0.9.2 ===
21628 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
21633 releasing 0.9.2, "South"
21635 2005-09-05 Andy Wingo <wingo@pobox.com>
21637 * gst/registries/gstxmlregistry.h:
21638 * gst/registries/gstxmlregistry.c: Um... resurrect...
21640 * gst/registries/gstxmlregistry.h:
21641 * gst/registries/gstxmlregistry.c: and update to newer API.
21642 Incidentally they should be a bit faster now that they don't have
21645 2005-09-05 Andy Wingo <wingo@pobox.com>
21647 * gst/registries/gstxmlregistry.h:
21648 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21649 replaced by the libxml registry a while back
21651 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21653 * docs/gst/tmpl/gstplugin.sgml:
21654 * gst/elements/gstelements.c:
21656 * gst/gstplugin.c: (gst_plugin_register_func),
21657 (gst_plugin_desc_copy), (gst_plugin_desc_free),
21658 (gst_plugin_get_source):
21660 * gst/registries/gstlibxmlregistry.c: (load_plugin),
21661 (gst_xml_registry_save_plugin):
21662 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21663 (gst_xml_registry_save_plugin):
21664 * tools/gst-inspect.c: (print_plugin_info):
21665 add a "source" plugin description field, to represent the source
21666 module this plugin is a part of. By default GST_PLUGIN_DEFINE
21667 will set it to PACKAGE, which is automake's idea of the name of
21668 the source project.
21670 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21675 * docs/Makefile.am:
21676 * docs/faq/Makefile.am:
21677 * docs/gst/tmpl/gstelement.sgml:
21678 * docs/gst/tmpl/gsttypes.sgml:
21679 * docs/htmlinstall.mak:
21680 * docs/manual/Makefile.am:
21681 * docs/pwg/Makefile.am:
21682 reorganize doc build a little
21683 split out docbook and gtk-doc stuff
21684 have two separate --enable's and enable them through autogen
21685 but disable by default in configure (to be similar to other
21687 * gstreamer.spec.in:
21688 clean up docs install
21706 translation updates
21708 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
21710 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21713 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21714 (gst_fake_sink_change_state):
21715 Make state change function thread-safe.
21717 * gst/gstpad.c: (gst_pad_alloc_buffer):
21718 Set offset on generic buffer allocated by fallback.
21720 2005-09-03 Stefan Kost <ensonic@users.sf.net>
21722 * docs/gst/gstreamer-sections.txt:
21723 * docs/gst/tmpl/gstelement.sgml:
21725 * libs/gst/controller/gst-controller.c:
21726 (gst_controlled_property_set_interpolation_mode),
21727 (gst_controlled_property_new),
21728 (gst_controller_find_controlled_property):
21729 run the wingo-magic script against the docs
21731 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21733 * docs/gst/gstreamer-docs.sgml:
21734 * docs/gst/gstreamer-sections.txt:
21735 * docs/gst/tmpl/.cvsignore:
21736 * docs/gst/tmpl/gstelementdetails.sgml:
21737 * docs/gst/tmpl/gstelementfactory.sgml:
21740 * gst/gstelementfactory.c:
21741 * gst/gstelementfactory.h:
21742 merged elementdetails docs into elementfactory docs
21745 2005-09-02 Andy Wingo <wingo@pobox.com>
21747 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21748 consider this enum an enum and not a flags.
21750 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21752 * docs/gst/gstreamer-docs.sgml:
21753 * docs/gst/tmpl/.cvsignore:
21754 * docs/gst/tmpl/gstghostpad.sgml:
21755 * docs/gst/tmpl/gstiterator.sgml:
21756 * docs/gst/tmpl/gstmacros.sgml:
21757 * docs/gst/tmpl/gstrealpad.sgml:
21758 * docs/gst/tmpl/gstregistry.sgml:
21759 * docs/gst/tmpl/gstregistrypool.sgml:
21760 * docs/gst/tmpl/gststructure.sgml:
21761 * docs/gst/tmpl/gstsystemclock.sgml:
21762 * docs/gst/tmpl/gsttrace.sgml:
21763 * gst/gstghostpad.c:
21765 * gst/gstmemchunk.c:
21766 * gst/gstmemchunk.h:
21768 * gst/gstregistry.c:
21769 * gst/gstregistrypool.c:
21770 * gst/gststructure.c:
21771 * gst/gstsystemclock.c:
21774 2005-09-02 Andy Wingo <wingo@pobox.com>
21776 * gst/gstelement.h (GstState): Renamed from GstElementState,
21777 changed to be a normal enum instead of flags.
21778 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21779 munged to be GST_STATE_CHANGE_*.
21780 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21781 work with the new state representation.
21782 (GstStateChange): New enumeration of possible state transitions.
21783 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21784 (GstElementClass::change_state): Pass the GstStateChange along as
21785 an argument. Helps language bindings, so they don't have to use
21786 tricky lock-needing macros like GST_STATE_CHANGE ().
21788 * scripts/update-states (file): New script. Run it on a file to
21789 update it for state naming and API changes. Updates files in
21792 * All files updated for the new API.
21794 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
21796 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21797 * gst/gstutils.c: (gst_util_set_value_from_string),
21798 (gst_util_set_object_arg):
21799 fix a bunch of unchecked return values
21800 * tools/gst-complete.c: (main):
21801 * gstreamer.spec.in:
21804 2005-09-01 Wim Taymans <wim@fluendo.com>
21806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21807 (gst_base_sink_event), (gst_base_sink_do_sync),
21808 (gst_base_sink_handle_event):
21809 * gst/base/gstbasesink.h:
21810 Handle newsegments more correctly.
21815 * gst/gstevent.c: (gst_event_new_newsegment):
21816 A newsegment cannot have a start_time of -1
21818 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
21820 * win32/gstenumtypes.c:
21821 * win32/gstenumtypes.h:
21824 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21826 * libs/gst/controller/gst-controller.c:
21827 (gst_controlled_property_set_interpolation_mode),
21828 (gst_controlled_property_new):
21829 fixed boolean again
21831 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
21833 * docs/faq/gst-uninstalled:
21838 * gst/gstutils.c: (gst_element_link_filtered):
21840 add gst_element_link_filtered
21842 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21844 * docs/gst/gstreamer-docs.sgml:
21845 * docs/gst/gstreamer-sections.txt:
21846 * docs/gst/tmpl/.cvsignore:
21847 * docs/gst/tmpl/gsterror.sgml:
21848 * docs/gst/tmpl/gstfilter.sgml:
21849 * docs/gst/tmpl/gsturihandler.sgml:
21850 * docs/gst/tmpl/gsturitype.sgml:
21851 * docs/gst/tmpl/gstutils.sgml:
21852 * docs/gst/tmpl/gstxml.sgml:
21857 * gst/gsturitype.c:
21860 inlined more docs, fixed double id-ref
21862 2005-08-31 Wim Taymans <wim@fluendo.com>
21864 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21865 (gst_base_transform_handle_buffer):
21866 Passthrough elements don't need the caps as they don't care.
21868 2005-08-31 Wim Taymans <wim@fluendo.com>
21870 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21871 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21872 Don't leak refcounts on buffers.
21874 2005-08-31 Wim Taymans <wim@fluendo.com>
21876 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21877 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21878 (gst_base_transform_chain), (gst_base_transform_change_state):
21879 * gst/base/gstbasetransform.h:
21880 Handle the case where we are not negotiated more gracefully.
21882 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
21884 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21885 (gst_file_src_map_region):
21886 Set READONLY flag on mmap'ed buffers, otherwise
21887 gst_buffer_make_writable() won't work properly (#314708).
21889 2005-08-31 Wim Taymans <wim@fluendo.com>
21891 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21892 passthrough elements can even do inplace on non writable
21893 buffers (as they don't touch them).
21895 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21897 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21898 (gst_test_mono_source_set_property),
21899 (gst_test_mono_source_class_init), (GST_START_TEST),
21900 (gst_controller_suite):
21901 more tests (hehe I have the most)
21903 describe popping messages whenusing mulltiple sources
21904 * libs/gst/controller/gst-controller.c:
21905 (gst_controlled_property_set_interpolation_mode),
21906 (gst_controlled_property_new):
21907 * libs/gst/controller/gst-controller.h:
21908 * libs/gst/controller/gst-interpolation.c:
21909 implement boolean properties
21911 2005-08-31 Wim Taymans <wim@fluendo.com>
21913 * gst/gstminiobject.c: (gst_mini_object_ref):
21914 Cannot assert that the refcount has to be positive
21915 since a disposed object can be resurrected.
21917 2005-08-31 Wim Taymans <wim@fluendo.com>
21919 * gst/gstpad.c: (gst_pad_init):
21920 Revert change, need to first fix badly behaving
21923 2005-08-30 Wim Taymans <wim@fluendo.com>
21925 * check/elements/fakesrc.c: (setup_fakesrc):
21926 * check/elements/identity.c: (setup_identity):
21927 Activate pads before using them.
21929 2005-08-30 Wim Taymans <wim@fluendo.com>
21931 * gst/base/gstadapter.c: (gst_adapter_flush):
21932 Flushing out 0 bytes is ok for this function.
21934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21935 no newsegment gives a warning and sets the start/stop to
21938 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21939 (gst_base_transform_set_passthrough):
21942 * gst/gstminiobject.c: (gst_mini_object_ref):
21943 Check refcount here too.
21945 * gst/gstpad.c: (gst_pad_init):
21946 Pads are initially flushing and refusing data.
21948 * gst/gstutils.c: (gst_element_link_pads_filtered):
21949 When adding a capsfilter element make sure it has the
21950 same state as the parent bin.
21952 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21954 * docs/gst/tmpl/.cvsignore:
21955 * docs/gst/tmpl/gstformat.sgml:
21956 * docs/gst/tmpl/gstversion.sgml:
21960 * gst/gstversion.h.in:
21961 more docs and two more inlined
21963 2005-08-30 Wim Taymans <wim@fluendo.com>
21965 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21966 Don't sync to clock.
21968 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21970 * docs/gst/gstreamer-sections.txt:
21971 ultral33t func10ns deserve to appear in the docs actually
21972 * docs/gst/tmpl/.cvsignore:
21973 * docs/gst/tmpl/gstcompat.sgml:
21974 * docs/gst/tmpl/gstconfig.sgml:
21975 * gst/check/gstcheck.c:
21977 * gst/gstconfig.h.in:
21980 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21982 * docs/gst/tmpl/.cvsignore:
21983 * docs/gst/tmpl/gstquery.sgml:
21984 * docs/gst/tmpl/gstutils.sgml:
21987 inlined and extended docs
21989 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21991 * check/gst-libs/controller.c: (GST_START_TEST),
21992 (gst_controller_suite):
21994 * docs/gst/tmpl/gstutils.sgml:
21995 * docs/libs/gstreamer-libs-sections.txt:
21996 * docs/libs/tmpl/gstdataprotocol.sgml:
21998 * examples/controller/audio-example.c: (main):
21999 controller example works now
22002 * tools/gst-inspect.c: (print_element_properties_info):
22003 show param spec flags
22005 2005-08-29 Andy Wingo <wingo@pobox.com>
22007 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22009 2005-08-28 Andy Wingo <wingo@pobox.com>
22011 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22012 as having two arguments instead of just one. Allows superclasses
22013 to access information on subclasses -- see the terrible for() loop
22014 in gtype.c:g_type_create_instance for the reason why. All callers
22017 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22019 * docs/design/part-messages.txt:
22021 * docs/gst/tmpl/.cvsignore:
22022 * docs/gst/tmpl/gstcaps.sgml:
22023 * docs/gst/tmpl/gstclock.sgml:
22029 * gst/gstmessage.c:
22030 added descriptions for bus and message
22031 inline caps and clock docs
22033 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22035 * gst/gstmessage.c:
22036 * gst/gstmessage.h:
22039 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22041 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22044 2005-08-26 Andy Wingo <wingo@pobox.com>
22046 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22047 element_set_state's return val.
22048 (test_2_elements): Add test that's been disabled for months.
22050 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22051 can-activate-pull properties.
22053 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22054 can-activate-pull properties. Implement is_seekable so fakesrc can
22055 operate in pull mode.
22057 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22059 (gst_base_sink_activate, gst_base_sink_activate_pull)
22060 (gst_base_sink_activate_push): Make activation mode choosing work.
22062 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22063 is right. Make pull mode work. Post an eos before pausing in pull
22065 (gst_base_sink_change_state): Pay attention to the core's
22066 change_state() return val.
22068 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22069 has-getrange properties. Cleanups.
22071 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22072 has_getrange and replace with can_activate_pull and
22075 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22076 locking comments. Remove has_loop, has_chain and replace with
22077 can_activate_pull and can_activate_push.
22079 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
22082 * examples/Makefile.am:
22083 * examples/metadata/Makefile.am:
22084 * examples/metadata/read-metadata.c: (message_loop),
22085 (have_pad_handler), (make_pipeline), (print_tag), (main):
22086 Add metadata reading example that loops over a list of filenames,
22087 dumping any tags found.
22089 * gst/gstbus.c: (gst_bus_dispose):
22090 * gst/gstelement.c: (gst_element_dispose):
22091 Release a few potentially-held references in dispose.
22093 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22095 * docs/gst/tmpl/gstminiobject.sgml:
22096 do *not* add tmpl/*.sgml files to CVS!
22098 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22100 * libs/gst/bytestream/.cvsignore:
22101 * libs/gst/bytestream/Makefile.am:
22102 * libs/gst/bytestream/adapter.c:
22103 * libs/gst/bytestream/adapter.h:
22104 * libs/gst/bytestream/bytestream.c:
22105 * libs/gst/bytestream/bytestream.h:
22106 * libs/gst/bytestream/filepad.c:
22107 * libs/gst/bytestream/filepad.h:
22108 removing obsolete files
22110 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22112 * docs/gst/gstreamer-docs.sgml:
22113 * docs/libs/gstreamer-libs-docs.sgml:
22114 disabed additional index entries again, as this makes docs-gen just
22115 slow and they aren't useful yet
22116 * docs/libs/gstreamer-libs-sections.txt:
22117 little -section.txt cleanup for libs
22119 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
22121 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22122 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22123 fix up some debugging
22124 (gst_base_transform_get_unit_size),
22125 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22126 (gst_base_transform_handle_buffer):
22127 * gst/base/gstbasetransform.h:
22128 handle and store timed NEWSEGMENT events so that subclasses that
22129 calculate time by counting samples have a segment_start time they
22130 need to add to their timestamps - see audioresample
22132 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22135 removed ';' from the end of macro defs
22136 * docs/gst/gstreamer-docs.sgml:
22137 * docs/gst/gstreamer-sections.txt:
22138 * docs/gst/tmpl/.cvsignore:
22140 * gst/gstelement.c: (gst_element_class_init),
22141 (gst_element_set_state), (activate_pads),
22142 (gst_element_save_thyself):
22143 * gst/gstevent.c: (gst_event_new_newsegment):
22145 * gst/gstiterator.c:
22146 * gst/gstiterator.h:
22149 * gst/gstutils.c: (gst_pad_query_convert):
22151 fixed parameter name mismatches between source, header and docs
22152 added some more docs, resolved the last batch of unused elements in
22153 docs (now someone needs to doc them)
22155 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22157 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22158 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22159 don't walk through the plugins backwards. Where is all this
22160 reversed logic coming from ?
22162 2005-08-25 Wim Taymans <wim@fluendo.com>
22164 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22165 (gst_base_transform_transform_size),
22166 (gst_base_transform_configure_caps),
22167 (gst_base_transform_get_unit_size),
22168 (gst_base_transform_buffer_alloc),
22169 (gst_base_transform_change_state):
22170 * gst/base/gstbasetransform.h:
22171 Cache caps unit_size.
22172 Make sure we cannot negotiate up and downstream at the
22175 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22177 * gst/gst.c: (init_pre), (init_post):
22178 register the installed plugin path after the env var
22179 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22180 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22181 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22182 directories, so the tests can prefer uninstalled over installed
22184 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22186 * gst/base/gstbasetransform.h:
22191 2005-08-25 Wim Taymans <wim@fluendo.com>
22193 * gst/gstbin.c: (bin_bus_handler):
22194 Be a bit more conservative about the posted message.
22196 * gst/gstbus.c: (gst_bus_post):
22197 Some cleanups, warn wrong return values.
22199 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
22201 * check/gst/gstbin.c: (GST_START_TEST):
22202 * gst/gstbin.c: (bin_bus_handler):
22203 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22204 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22205 (gst_message_new_warning), (gst_message_new_tag),
22206 (gst_message_new_state_changed), (gst_message_new_segment_start),
22207 (gst_message_new_segment_done), (gst_message_new_custom):
22208 * gst/gstmessage.h:
22209 * tools/gst-launch.c: (event_loop):
22210 * tools/gst-md5sum.c: (event_loop):
22211 Revert unpopular change for GST_MESSAGE_SRC to GObject.
22213 2005-08-25 Wim Taymans <wim@fluendo.com>
22215 * check/generic/states.c: (GST_START_TEST):
22216 Cleanup can be done at the end.
22218 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22219 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22220 (gst_task_get_state), (gst_task_start), (gst_task_pause):
22221 Oh boy.. Thanks for finding this, Thomas.
22223 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22225 * docs/gst/gstreamer.types:
22226 added missing types
22228 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22230 * docs/gst/gstreamer-docs.sgml:
22231 * docs/gst/gstreamer-sections.txt:
22232 * docs/gst/tmpl/.cvsignore:
22234 * gst/gstiterator.c:
22236 * gst/registries/gstxmlregistry.h:
22237 added missing classes and symbols (123 more to go)
22238 removed removed symbols from section file
22239 fixed many doc-comments
22241 2005-08-24 Wim Taymans <wim@fluendo.com>
22243 * check/generic/states.c: (GST_START_TEST):
22244 Make sure all tasks are stopped.
22246 * check/gst/gstbin.c: (GST_START_TEST):
22247 Unref after usage for proper valgrinding.
22249 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22250 Really wait for the task to stop before destroying the
22253 * gst/gstqueue.c: (gst_queue_sink_activate_push),
22254 (gst_queue_src_activate_push):
22255 Small cleanups. Don't stop the task when we did not start
22258 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22259 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22260 (gst_task_get_state), (gst_task_start), (gst_task_pause),
22263 Protect the stream lock with the object lock.
22264 Disallow setting the stream lock when running.
22265 Add cleanup_all to wait for the threadpool to finish.
22266 Remove code to autoallocate a mutex if none was provided.
22267 Add _join() to wait for a task to stop.
22268 Protect the thread pool with a global lock.
22270 2005-08-24 Wim Taymans <wim@fluendo.com>
22272 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22273 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22274 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22275 * gst/base/gstbasesink.h:
22276 Handle newsegment events correctly.
22277 Drop buffers out of the segment range.
22279 2005-08-22 Andy Wingo <wingo@pobox.com>
22281 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22282 macro, implements an interface and gstimplementsinterface for a
22285 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22287 * check/Makefile.am:
22288 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22289 add a test that does a bunch of state changes on elements
22290 needs some fixing for valgrind
22291 * check/states/sinks.c: (gst_object_suite):
22294 add prototype for gst_caps_is_equal_fixed
22296 * gst/gstregistrypool.c:
22299 2005-08-24 Andy Wingo <wingo@pobox.com>
22301 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22302 convert a negative value. Doesn't make much sense. Mostly this is
22303 here to force callers to ensure -1 maps to -1.
22305 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22307 * docs/pwg/advanced-types.xml:
22308 Well done to Michael for catching my deliberate introduction
22309 of this spelling mistake.
22310 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22311 * gst/gstelement.h:
22312 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22313 unlink pads before removing the element from the bin.
22315 2005-08-24 Andy Wingo <wingo@pobox.com>
22317 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22318 the same thing as GST_DEBUG=*:4.
22319 (parse_debug_level, parse_debug_category): New helper parsers.
22321 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22323 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22324 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22325 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22326 (gst_base_transform_buffer_alloc),
22327 (gst_base_transform_handle_buffer):
22328 use gboolean return values and pointers to size so we can use the
22329 full GST_BUFFER_SIZE range (guint) for buffer sizes
22330 use GstPadDirection for transform_caps
22331 * gst/base/gstbasetransform.h:
22332 rename get_size to get_unit_size since that's what it is
22333 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22334 use GstPadDirection for transform_caps
22335 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22337 cleanup and debugging
22339 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22341 * gst/gstelement.c: (gst_element_class_init),
22342 (gst_element_set_state), (activate_pads),
22343 (gst_element_save_thyself):
22344 * tools/gst-compprep.c: (main):
22345 * tools/gst-inspect.c: (print_element_properties_info):
22346 * tools/gst-xmlinspect.c: (print_element_properties):
22347 Fixed long standing mem-leak
22349 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22351 * check/gst/gstbin.c: (GST_START_TEST):
22352 * gst/gstbin.c: (bin_bus_handler):
22353 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22354 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22355 (gst_message_new_warning), (gst_message_new_tag),
22356 (gst_message_new_state_changed), (gst_message_new_segment_start),
22357 (gst_message_new_segment_done), (gst_message_new_custom):
22358 * gst/gstmessage.h:
22359 * tools/gst-launch.c: (event_loop):
22360 * tools/gst-md5sum.c: (event_loop):
22361 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22362 that applications can sensibly post custom messages with references
22363 to their own objects.
22365 2005-08-24 Andy Wingo <wingo@pobox.com>
22367 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22370 2005-08-24 Wim Taymans <wim@fluendo.com>
22372 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22373 (gst_base_transform_transform_caps),
22374 (gst_base_transform_transform_size),
22375 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22376 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22377 (gst_base_transform_handle_buffer):
22378 * gst/base/gstbasetransform.h:
22379 Many fixes and new features added by Thomas. Can now also do
22380 transforms with variable sizes and a custom fixate_caps function.
22382 2005-08-24 Wim Taymans <wim@fluendo.com>
22384 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22388 Cast to ClockTime before formatting to time.
22393 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22395 * check/gst-libs/controller.c: (GST_START_TEST),
22396 (gst_controller_suite):
22397 * docs/gst/tmpl/gstcaps.sgml:
22398 * docs/gst/tmpl/gstghostpad.sgml:
22399 * docs/gst/tmpl/gstquery.sgml:
22400 * docs/gst/tmpl/gstutils.sgml:
22401 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22402 (gst_object_sink_values), (gst_object_get_value_arrays),
22403 (gst_object_get_value_array):
22404 gracefully handle helper method calls to objects that are not beeing
22405 controlled, added test case for that
22407 2005-08-23 Wim Taymans <wim@fluendo.com>
22409 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22410 (gst_event_new_newsegment), (gst_event_parse_newsegment),
22411 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22412 (gst_event_parse_qos), (gst_event_new_seek),
22413 (gst_event_parse_seek):
22415 Some more debugging output and doc cleanups.
22417 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22418 Fix possible deadlock.
22420 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22422 * docs/gst/gstreamer-docs.sgml:
22423 * docs/gst/gstreamer-sections.txt:
22424 * docs/gst/gstreamer.types:
22425 * docs/gst/tmpl/.cvsignore:
22428 * gst/gstelement.c:
22430 added 100 symbols from gstreamer-unused.txt to the right sections
22431 fixed more broken comments
22432 added GstBus to docs
22434 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22436 * docs/gst/gstreamer-sections.txt:
22437 * docs/gst/tmpl/.cvsignore:
22438 * docs/gst/tmpl/gstbin.sgml:
22439 * docs/gst/tmpl/gstbuffer.sgml:
22440 * gst/base/gstbasesrc.c:
22441 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22444 * tools/gst-launch.1.in:
22445 inlined more doc comments, added missing comments and fixed comments
22448 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
22450 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22454 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22456 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22457 * gst/gststructure.h:
22458 add a fixate function for booleans; add a FIXME that these func
22459 names should probably be gst_structure_fixate_*
22461 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22463 * docs/gst/gstreamer-docs.sgml:
22464 * docs/gst/gstreamer-sections.txt:
22466 * gst/gstbin.c: (gst_bin_get_type),
22467 (gst_bin_child_proxy_get_child_by_index),
22468 (gst_bin_child_proxy_get_children_count),
22469 (gst_bin_child_proxy_init):
22470 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22471 (gst_child_proxy_get_child_by_index),
22472 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22473 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22474 (gst_child_proxy_get), (gst_child_proxy_set_property),
22475 (gst_child_proxy_set_valist), (gst_child_proxy_set),
22476 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22477 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22478 * gst/gstchildproxy.h:
22479 * gst/parse/grammar.y:
22480 * tools/gst-inspect.c: (print_interfaces),
22481 (print_element_properties_info), (print_element_info):
22482 ported gstchildproxy over from 0.8
22483 ported gst-inspect fixes and enhancements over from 0.8
22485 2005-08-22 Wim Taymans <wim@fluendo.com>
22487 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22488 (gst_base_transform_handle_buffer):
22489 Also call the transform function if we have ANY caps.
22491 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22494 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22496 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22497 Don't pretend to handle seek events if the source is not seekable
22499 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22501 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22502 Remove extra parameter to debug output
22504 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22505 (gst_base_src_do_seek), (gst_base_src_activate_push):
22506 Fix seek event handling.
22508 * gst/gstpipeline.c: (gst_pipeline_change_state):
22509 * gst/gstqueue.c: (gst_queue_handle_sink_event),
22510 (gst_queue_src_activate_push):
22511 Don't start the src pad task on FLUSH_STOP if the pad
22515 2005-08-22 Wim Taymans <wim@fluendo.com>
22517 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22518 Added check for gst_static_caps_get() refcounting.
22520 2005-08-22 Wim Taymans <wim@fluendo.com>
22522 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22523 Make _static_caps_get() refcounting sane.
22525 * gst/gstelement.c: (gst_element_set_state):
22526 Add g_return_val_if_fail() to protect against segfaults.
22528 2005-08-22 Stefan Kost <ensonic@users.sf.net>
22530 * docs/gst/tmpl/gstevent.sgml:
22533 inlined remaining docs, added missing doc comments
22535 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
22537 * check/gst/gstbin.c: (GST_START_TEST):
22538 since we don't know when preroll is done, use refcount range
22540 * gst/check/gstcheck.h:
22541 add macro for checking refcount range
22543 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22545 * check/Makefile.am:
22546 clean up environment for when registry gets built versus
22547 when actual tests are run; valgrind seems to not report
22548 leaks if GST_PLUGIN_PATH is set to some specific values
22549 * check/gst/gstbin.c: (GST_START_TEST):
22550 add more refcounting checks; maybe this exposes a
22552 * common/check.mak:
22553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22554 * gst/check/gstcheck.h:
22555 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22556 (gst_bin_change_state):
22557 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22558 add/fix debugging/whitespace
22560 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22562 * check/gst/gstevent.c: (event_probe), (test_event),
22564 Er, don't call gst_bin_watch_for_state_change you idiot.
22566 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22568 * check/Makefile.am:
22569 Use CHECK_CFLAGS and CHECK_LIBS
22570 * check/gst/gstevent.c: (event_probe), (test_event),
22573 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22574 (gst_base_src_start), (gst_base_src_stop),
22575 (gst_base_src_activate_push), (gst_base_src_activate_pull),
22576 (gst_base_src_change_state):
22577 Sprinkle gst_base_src_stop liberally around error paths to fix
22578 problems reusing a source after failed state changes.
22579 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22580 (helper_find_suggest), (gst_type_find_helper):
22581 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22583 * docs/gst/tmpl/gstevent.sgml:
22584 Migrate part of the docs from the SGML file. Wait for ensonic to
22585 tell me how I did it wrong ;)
22586 * tools/gst-typefind.c: (main):
22587 Extra robustness to state changes between files.
22589 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22591 * check/Makefile.am:
22592 don't valgrind the controller test - it's leaking - Stefan, HELP
22593 * gst/check/gstcheck.c: (gst_check_message_error),
22594 (gst_check_chain_func), (gst_check_setup_element),
22595 (gst_check_teardown_element), (gst_check_setup_src_pad),
22596 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22597 (gst_check_teardown_sink_pad):
22598 * gst/check/gstcheck.h:
22599 add a bunch of methods to set up elements, and src and sink pads
22600 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22601 * check/elements/identity.c: (setup_identity), (cleanup_identity),
22604 * gst/gstmessage.c:
22606 whitespace/doc fixes
22608 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22610 * gst/gstelement.h:
22611 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22612 be handled by the application and not always printed as well
22614 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22616 * check/Makefile.am:
22618 * gst/check/gstcheck.c: (gst_check_message_error):
22619 * gst/check/gstcheck.h:
22620 add a fail_unless_equals_int
22621 add fail_unless for error messages
22623 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22625 * check/Makefile.am:
22627 * common/Makefile.am:
22628 * common/check.mak:
22630 factor out some of the common stuff so we can use it
22632 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22634 * check/Makefile.am:
22635 * check/gst/gstiterator.c: (GST_START_TEST):
22636 * check/gst/gstsystemclock.c: (GST_START_TEST),
22637 (gst_systemclock_suite):
22638 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22640 valgrind more tests
22642 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22644 * check/elements/.cvsignore:
22645 * check/elements/gstfakesrc.c:
22646 rename to name of element
22647 * check/elements/identity.c: (chain_func), (event_func),
22648 (setup_identity), (cleanup_identity), (GST_START_TEST),
22649 (identity_suite), (main):
22650 add a test for identity
22651 * check/Makefile.am:
22652 * pkgconfig/Makefile.am:
22653 * pkgconfig/gstreamer-check.pc.in:
22654 * pkgconfig/gstreamer-check-uninstalled.pc.in:
22658 move the check stuff to a library that gets installed
22659 * check/gst-libs/controller.c: (GST_START_TEST):
22660 * check/gst-libs/gdp.c:
22661 * check/gst/gst.c: (GST_START_TEST):
22662 * check/gst/gstbin.c:
22663 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22664 * check/gst/gstbus.c:
22665 * check/gst/gstcaps.c: (GST_START_TEST):
22666 * check/gst/gstelement.c:
22667 * check/gst/gstghostpad.c:
22668 * check/gst/gstiterator.c:
22669 * check/gst/gstmessage.c:
22670 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22671 * check/gst/gstobject.c:
22672 * check/gst/gstpad.c: (GST_START_TEST):
22673 * check/gst/gststructure.c: (GST_START_TEST):
22674 * check/gst/gstsystemclock.c: (GST_START_TEST),
22675 (gst_systemclock_suite):
22676 * check/gst/gsttag.c: (gst_tag_suite):
22677 * check/gst/gstvalue.c:
22678 * check/pipelines/cleanup.c:
22679 * check/pipelines/simple_launch_lines.c:
22680 * check/states/sinks.c:
22681 change include statement
22683 * docs/gst/gstreamer-sections.txt:
22684 * docs/gst/tmpl/gstpad.sgml:
22685 document more pad stuff
22686 * gst/gstminiobject.c: (gst_mini_object_ref),
22687 (gst_mini_object_unref):
22690 2005-08-19 Stefan Kost <ensonic@users.sf.net>
22692 * docs/gst/tmpl/gst.sgml:
22694 eliminate another tmpl file, fix spelling in the long-description
22696 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22698 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22699 (test_event), (timediff), (gstevents_suite):
22700 Should fix build on 64-bit arch's
22702 2005-08-18 Andy Wingo <wingo@pobox.com>
22704 Make sure that when a pipeline goes to PLAYING, that data has
22705 actually hit the sink.
22707 * check/states/sinks.c (test_sink): A sink that doesn't get any
22708 data shouldn't return SUCCESS for going to either PLAYING or
22709 PAUSED. Test also the return values on the way back down.
22711 * gst/gstelement.c (gst_element_set_state): When changing the
22712 state of an element currently changing state asynchronously, go to
22713 lost-state after commiting the pending state. Makes future calls
22714 to get_state continue to return ASYNC.
22716 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22717 ASYNC when going to PLAYING if we still don't have preroll, as can
22718 happen with live sources.
22720 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22722 * docs/pwg/advanced-types.xml:
22723 Hack long paragraph into 2 chunks as a workaround for buggy
22724 jadetex version in sid and breezy that loops infinitely and
22727 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22729 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22730 (test_event), (timediff), (gstevents_suite):
22731 Provide more error margin in clock measurements to allow for
22732 g_get_current_time inaccuracies.
22734 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22736 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22737 (test_event), (timediff), (gstevents_suite):
22738 Fix error message output so I might be able to tell why the
22739 test works here but fails on the build farm.
22741 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22743 * check/Makefile.am:
22744 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22745 (test_event), (timediff), (gstevents_suite), (main):
22748 * docs/design/part-seeking.txt:
22749 Spelling correction
22751 * docs/gst/tmpl/gstevent.sgml:
22752 * docs/gst/tmpl/gstfakesrc.sgml:
22755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22756 Treat a buffer-without-newsegment the same as a receiving
22757 a newsegment not in time format, and disable syncing to the clock
22760 * gst/gstbus.c: (gst_bus_set_sync_handler):
22761 Assert if anyone tries to replace the existing sync_handler for bus,
22762 as only the owner should be setting it.
22765 Have a fixed set of custom event enums with events identified by
22766 their structure name (as in 0.8), rather than a free-for-all
22767 allowing collisions between enum values from different plugins.
22769 * gst/gstpad.c: (gst_pad_class_init):
22772 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22773 Handle out-of-band downstream events from the sending thread.
22775 2005-08-17 Andy Wingo <wingo@pobox.com>
22777 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22778 play-timeout==0 to mean no timeout at all. In that case, don't
22779 bother with a get_state or a warning, just return directly, even
22782 * gst/base/gstbasetransform.c: Debug changes.
22785 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22786 ensure bins post state change messages. A bit of a hack but I can't
22787 think of a way to avoid it.
22789 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22791 2005-08-16 Andy Wingo <wingo@pobox.com>
22793 * gst/base/gstadapter.h:
22794 * gst/base/gstadapter.c (gst_adapter_take): New function, like
22795 peek() but you own the data. Not terribly efficient atm.
22797 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22799 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22800 (gst_element_found_tags):
22802 Add two utility functions for tag handling.
22804 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22806 * docs/manual/advanced-dataaccess.xml:
22807 * docs/manual/basics-helloworld.xml:
22808 Fix docs to use _bin_add() before _link(), which fixes the examples
22809 with recent core versions (reported by Madhan Raj M
22810 <raj_madan@rediffmail.com>, #313199).
22812 2005-08-16 Wim Taymans <wim@fluendo.com>
22814 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22815 Added subtract checks.
22817 * docs/design/part-events.txt:
22818 Some more docs about newsegment
22820 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22823 * gst/gstcaps.c: (gst_caps_to_string):
22824 Add comments, cleanups.
22826 * gst/gstelement.c: (gst_element_save_thyself):
22829 * gst/gstvalue.c: (gst_value_collect_int_range),
22830 (gst_string_unwrap), (gst_value_union_int_int_range),
22831 (gst_value_union_int_range_int_range),
22832 (gst_value_intersect_int_int_range),
22833 (gst_value_intersect_int_range_int_range),
22834 (gst_value_intersect_double_double_range),
22835 (gst_value_intersect_double_range_double_range),
22836 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22837 (gst_value_subtract_int_range_int),
22838 (gst_value_subtract_double_range_double),
22839 (gst_value_subtract_double_range_double_range),
22840 (gst_value_subtract_from_list), (gst_value_subtract_list),
22841 (gst_value_can_compare), (gst_value_compare_fraction):
22842 Cleanups, add comments, remove unneeded asserts.
22844 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22846 * tools/gst-launch.c: (event_loop):
22847 don't convert NULL structures to strings
22849 2005-08-15 Stefan Kost <ensonic@users.sf.net>
22851 * docs/gst/gstreamer-sections.txt:
22852 made some defines private
22853 * docs/gst/tmpl/gstconfig.sgml:
22854 * docs/gst/tmpl/gstqueue.sgml:
22855 * docs/gst/tmpl/gsttaglist.sgml:
22856 * docs/gst/tmpl/gsttypes.sgml:
22857 * docs/gst/tmpl/gstutils.sgml:
22858 * docs/pwg/appendix-porting.xml:
22859 * gst/base/gstbasesink.h:
22860 * gst/base/gstbasesrc.c:
22861 * gst/base/gstbasesrc.h:
22862 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22863 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22864 * gst/gstelement.c: (gst_element_class_init):
22865 * gst/gstpad.c: (gst_pad_class_init):
22866 * gst/gstqueue.c: (gst_queue_class_init):
22867 * gst/gstxml.c: (gst_xml_class_init):
22868 documented all undocumented signal inline
22869 * libs/gst/controller/gst-controller.h:
22872 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22874 * docs/pwg/appendix-porting.xml:
22875 Document _set_link_function -> _set_setcaps_function.
22877 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22879 * check/Makefile.am:
22880 add a .check target for running the check
22881 * check/gst-libs/controller.c: (GST_START_TEST):
22883 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22884 complete checks for gstbuffer; would be nice if I could get the
22885 gcov stuff to work so I can see if I actually completed gstbuffer.c
22886 * check/gstcheck.h:
22887 add ASSERT_BUFFER_REFCOUNT
22889 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
22891 * docs/gst/gstreamer-sections.txt:
22892 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22894 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22895 spew out a warning if a tag that is already registered
22896 is re-registered, unless it is re-registered with a
22897 different type (#308438).
22899 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
22901 * docs/pwg/appendix-porting.xml:
22902 * docs/pwg/building-state.xml:
22903 Add some paragraphs about state changes in 0.9 to the PWG
22904 and the porting guide, in particular about the new meaning
22905 of GST_STATE_PAUSED and how to write state change functions
22906 with concurrent access by multiple threads in mind.
22908 2005-08-11 Stefan Kost <ensonic@users.sf.net>
22910 * docs/gst/gstreamer-docs.sgml:
22911 * docs/libs/gstreamer-libs-docs.sgml:
22912 added deprecation and since indexes
22913 * libs/gst/controller/gst-controller.c:
22914 * libs/gst/controller/gst-helper.c:
22918 2005-08-11 Wim Taymans <wim@fluendo.com>
22920 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22921 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22922 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22923 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22924 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22925 (gst_ghost_pad_set_target):
22926 Actually implement (re)setting the target on a ghostpad
22927 as described in the docs.
22929 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22931 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22932 Check whether GST_DEBUG_NO_COLOR environment variable is
22933 set and disable coloured debug output if that is the case.
22935 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22937 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22938 (gst_type_find_helper):
22939 The memory returned by gst_type_find_peek() needs to
22940 stay valid until the end of a typefind function, and
22941 typefind functions may keep results from different
22942 offsets around, so we can't just unref the buffer from
22943 the previous _peek(), but have to save all buffers
22944 returned by _peek() until typefinding is done and only
22947 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
22949 * docs/gst/gstreamer-sections.txt:
22951 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22953 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22955 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22956 Fix a pretty good memleak.
22958 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22960 * gst/gstiterator.h:
22961 Fix wrong include and 'make distcheck'.
22963 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22965 * gst/gstbin.c: (bin_bus_handler):
22966 Use gst_element_post_message() instead.
22968 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22970 * gst/base/gstadapter.h:
22971 * gst/base/gstbasesink.h:
22972 * gst/base/gstbasesrc.h:
22973 * gst/base/gstbasetransform.h:
22974 * gst/base/gstcollectpads.h:
22975 * gst/base/gstpushsrc.h:
22976 * gst/gstiterator.h:
22977 Add padding to our base elements' class and instance structs and
22978 to GstIterator (you will need to rebuild all plugins and apps!)
22980 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22982 * gst/gstbin.c: (bin_bus_handler):
22983 Make default message forwarding from child->bus to bin->bus
22984 threadsafe and make it not emit warnings if the parent has no bus.
22986 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22988 * gst/gstelement.c: (activate_pads):
22989 On paused->ready, set pad->caps to NULL, as is the documented
22990 behaviour in this state change. Fixes playback of series of
22991 media files when visualization is enabled in Totem.
22993 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22995 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22996 Allow NULL as filter-caps (which means "any").
22998 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23000 * docs/libs/gstreamer-libs-sections.txt:
23001 * libs/gst/controller/gst-controller.c:
23002 * libs/gst/controller/gst-controller.h:
23003 * libs/gst/controller/gst-helper.c:
23004 adding more entries to the docs and fix small doc-bugs
23006 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23008 * docs/gst/gstreamer-docs.sgml:
23009 * docs/gst/gstreamer-sections.txt:
23010 * docs/gst/gstreamer.types:
23011 * docs/gst/tmpl/gstbasesink.sgml:
23012 * docs/gst/tmpl/gstbasesrc.sgml:
23013 * docs/gst/tmpl/gstbasetransform.sgml:
23014 * docs/gst/tmpl/gstfakesrc.sgml:
23015 * gst/base/gstcollectpads.c:
23016 * gst/base/gstcollectpads.h:
23017 * libs/gst/controller/gst-controller.c:
23018 * libs/gst/controller/gst-controller.h:
23019 * libs/gst/controller/gst-helper.c:
23020 * libs/gst/controller/gst-interpolation.c:
23021 * libs/gst/controller/lib.c:
23022 added long/short desc for controller docs
23023 added collectpads base class docs
23024 added correct includes to base-class docs
23026 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23028 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23029 (gst_test_mono_source_set_property),
23030 (gst_test_mono_source_class_init), (GST_START_TEST),
23031 (gst_controller_suite):
23032 * docs/gst/gstreamer-docs.sgml:
23033 * docs/gst/gstreamer-sections.txt:
23034 * docs/gst/gstreamer.types:
23035 * docs/libs/gstreamer-libs-docs.sgml:
23036 * docs/libs/gstreamer-libs-sections.txt:
23037 * gst/base/gstadapter.c:
23038 * libs/gst/controller/gst-controller.c:
23039 (gst_controlled_property_new), (gst_controlled_property_free),
23040 (gst_controller_new_valist),
23041 (gst_controller_remove_properties_valist),
23042 (gst_controller_sink_values), (_gst_controller_finalize):
23043 * libs/gst/controller/gst-controller.h:
23044 * libs/gst/controller/gst-helper.c:
23045 (gst_object_control_properties), (gst_object_uncontrol_properties),
23046 (gst_object_get_controller), (gst_object_set_controller),
23047 (gst_object_sink_values), (gst_object_get_value_arrays),
23048 (gst_object_get_value_array):
23049 more tests (and fixes) for the controller
23050 more docs for the controller
23051 integrated companies docs for the adapter
23053 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
23055 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23056 (GST_START_TEST), (fakesrc_suite):
23057 add tests for sizetype
23059 2005-08-04 Andy Wingo <wingo@pobox.com>
23061 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23062 fixes buffer_alloc proxying among other things.
23064 * gst/base/gstbasetransform.c:
23065 * gst/base/gstbasetransform.h:
23066 Revert patch to gstbasetransform from 7-28 removing
23069 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23070 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23071 Semantics changed, should return not the size of the output buffer
23072 but the byte size of a buffer with a given caps.
23074 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23076 (gst_base_transform_configure_caps): Don't set out_size here: (in,
23077 out) are not the pad caps until setcaps finishes.
23078 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23079 not-in-place case as well. Deal with changing from in-place to
23080 not-in-place within calling pad_alloc_buffer. Still a bit
23081 concerned about the overhead here...
23083 2005-08-03 Andy Wingo <wingo@pobox.com>
23085 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23086 fixating is an error.
23088 2005-08-04 Edward Hervey <edward@fluendo.com>
23090 * gst/base/gstadapter.h:
23091 Added gst_adapter_get_type() to the header
23093 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23095 * check/Makefile.am:
23096 * check/gst-libs/controller.c:
23097 * libs/gst/controller/gst-controller.c:
23098 (gst_controller_new_valist):
23099 added check test suite for the controller
23100 * gst/base/gstpushsrc.c:
23103 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23105 * docs/gst/Makefile.am:
23106 * docs/gst/gstreamer-docs.sgml:
23107 * docs/gst/gstreamer-sections.txt:
23108 * docs/gst/gstreamer.types:
23109 * docs/gst/tmpl/gstfakesrc.sgml:
23111 * gst/base/gstbasesink.c:
23112 * gst/base/gstbasesink.h:
23113 * gst/base/gstbasesrc.c:
23114 * gst/base/gstbasesrc.h:
23115 * gst/base/gstbasetransform.c:
23116 * gst/base/gstpushsrc.c:
23117 * gst/base/gstpushsrc.h:
23118 add short/long description docs to base classes
23119 add pushsrc to the docs
23120 remove consolidated doc fragments
23122 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23125 * docs/libs/Makefile.am:
23126 * docs/libs/gstreamer-libs-docs.sgml:
23127 * docs/libs/gstreamer-libs-sections.txt:
23128 * docs/libs/gstreamer-libs.types:
23129 * examples/Makefile.am:
23130 * examples/controller/.cvsignore:
23131 * examples/controller/Makefile.am:
23132 * examples/controller/audio-example.c: (main):
23133 * libs/gst/Makefile.am:
23134 * libs/gst/controller/.cvsignore:
23135 * libs/gst/controller/Makefile.am:
23136 * libs/gst/controller/gst-controller.c:
23137 (on_object_controlled_property_changed), (gst_timed_value_compare),
23138 (gst_timed_value_find),
23139 (gst_controlled_property_set_interpolation_mode),
23140 (gst_controlled_property_new), (gst_controlled_property_free),
23141 (gst_controller_find_controlled_property),
23142 (gst_controller_new_valist), (gst_controller_new),
23143 (gst_controller_remove_properties_valist),
23144 (gst_controller_remove_properties), (gst_controller_set),
23145 (gst_controller_set_from_list), (gst_controller_unset),
23146 (gst_controller_get), (gst_controller_get_all),
23147 (gst_controller_sink_values), (gst_controller_get_value_arrays),
23148 (gst_controller_get_value_array),
23149 (gst_controller_set_interpolation_mode),
23150 (_gst_controller_finalize), (_gst_controller_init),
23151 (_gst_controller_class_init), (gst_controller_get_type):
23152 * libs/gst/controller/gst-controller.h:
23153 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23154 (g_object_uncontrol_properties), (g_object_get_controller),
23155 (g_object_set_controller), (g_object_sink_values),
23156 (g_object_get_value_arrays), (g_object_get_value_array):
23157 * libs/gst/controller/gst-interpolation.c:
23158 (gst_controlled_property_find_timed_value_node),
23159 (interpolate_none_get), (interpolate_trigger_get),
23160 (interpolate_trigger_get_value_array):
23161 * libs/gst/controller/lib.c: (gst_controller_init):
23162 * pkgconfig/Makefile.am:
23163 * pkgconfig/gstreamer-control-uninstalled.pc.in:
23164 * pkgconfig/gstreamer-control.pc.in:
23165 * testsuite/Makefile.am:
23166 * testsuite/controller/.cvsignore:
23167 * testsuite/controller/Makefile.am:
23168 * testsuite/controller/interpolator.c: (main):
23169 added controller code
23170 removed dparam pc files
23172 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23173 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23174 (gst_collectpads_stop):
23175 Broadcast the condition when shutting down, to make sure we wake all
23176 threads up. Shut down pads on finalize, for safety.
23178 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23179 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23180 (gst_base_transform_handle_buffer),
23181 (gst_base_transform_change_state):
23182 Handle PAUSED->READY->PAUSED transition after negotiation
23184 * gst/gstmessage.c: (gst_message_init):
23185 Extra piece of debug for new messages.
23187 2005-08-01 Stefan Kost <ensonic@users.sf.net>
23190 * docs/gst/tmpl/gstbasesrc.sgml:
23191 * docs/gst/tmpl/gstelement.sgml:
23192 * docs/gst/tmpl/gstevent.sgml:
23193 * docs/gst/tmpl/gstfakesrc.sgml:
23194 * docs/gst/tmpl/gstformat.sgml:
23195 * docs/gst/tmpl/gstghostpad.sgml:
23196 * docs/gst/tmpl/gstpad.sgml:
23197 * docs/gst/tmpl/gstquery.sgml:
23198 * docs/gst/tmpl/gststructure.sgml:
23199 * docs/gst/tmpl/gsttaglist.sgml:
23200 * docs/gst/tmpl/gstvalue.sgml:
23201 * docs/libs/gstreamer-libs-docs.sgml:
23202 * docs/libs/gstreamer-libs-sections.txt:
23203 * docs/libs/gstreamer-libs.types:
23204 * libs/gst/Makefile.am:
23205 * libs/gst/control/.cvsignore:
23206 * libs/gst/control/Makefile.am:
23207 * libs/gst/control/control.c:
23208 * libs/gst/control/control.h:
23209 * libs/gst/control/dparam.c:
23210 * libs/gst/control/dparam.h:
23211 * libs/gst/control/dparam_smooth.c:
23212 * libs/gst/control/dparam_smooth.h:
23213 * libs/gst/control/dparamcommon.h:
23214 * libs/gst/control/dparammanager.c:
23215 * libs/gst/control/dparammanager.h:
23216 * libs/gst/control/dplinearinterp.c:
23217 * libs/gst/control/dplinearinterp.h:
23218 * libs/gst/control/unitconvert.c:
23219 * libs/gst/control/unitconvert.h:
23220 * testsuite/Makefile.am:
23221 * testsuite/dynparams/.cvsignore:
23222 * testsuite/dynparams/Makefile.am:
23223 * testsuite/dynparams/dparamstest.c:
23224 * tools/Makefile.am:
23225 * tools/gst-inspect.c: (print_element_info), (main):
23226 * tools/gst-xmlinspect.c: (print_element_info), (main):
23227 deactivate and remove dparams (libgstcontrol)
23229 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23231 * gst/elements/gsttypefindelement.c:
23232 (gst_type_find_element_have_type), (gst_type_find_element_init),
23233 (stop_typefinding), (gst_type_find_element_handle_event),
23234 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23235 * gst/elements/gsttypefindelement.h:
23236 Set caps on all outgoing buffers, not just the first one.
23238 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23240 * gst/elements/gsttypefindelement.c:
23241 (gst_type_find_element_have_type),
23242 (gst_type_find_element_check_set_buffer_caps),
23243 (gst_type_find_element_init), (stop_typefinding),
23244 (gst_type_find_element_handle_event),
23245 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23246 * gst/elements/gsttypefindelement.h:
23247 Set caps on first outgoing buffer when we've found the type.
23249 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23251 * docs/gst/gstreamer-docs.sgml:
23252 * docs/gst/gstreamer-sections.txt:
23253 * docs/gst/tmpl/gstscheduler.sgml:
23254 * docs/gst/tmpl/gstschedulerfactory.sgml:
23255 Remove some old cruft from docs.
23257 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
23260 Fix inline docs for GstPadLinkReturn.
23262 * gst/gststructure.c: (gst_structure_has_name):
23263 * gst/gststructure.h:
23264 * docs/gst/gstreamer-sections.txt:
23265 New API: gst_structure_has_name().
23267 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
23270 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23271 and _LARGEFILE_SOURCE in config.h as required. Do not
23272 export those flags in our .pc files any longer (#142209).
23274 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23276 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23277 (gst_file_sink_do_seek), (gst_file_sink_event),
23278 (gst_file_sink_get_current_offset), (gst_file_sink_render):
23279 Redo seek/tell calls with large file support in mind; add some
23280 debugging messages; add log message that tells us when large
23281 file support is unavailable or not enabled for some reason.
23283 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23284 Add log message that tells us when large file support
23285 is unavailable or not enabled for some reason.
23287 2005-07-29 Wim Taymans <wim@fluendo.com>
23289 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23290 Added test for removing an element with ghostpad from a bin.
23291 Fixed test as current implementation does the right thing.
23293 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23294 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23295 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23296 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23297 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23298 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23299 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23300 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23301 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23302 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23303 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23304 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23305 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23306 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23307 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23308 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23309 * gst/gstghostpad.h:
23310 Clean up ghostpads, remove properties for internal stuff.
23313 Prepare for switching targets, not all use cases work yet.
23315 2005-07-29 Wim Taymans <wim@fluendo.com>
23317 * docs/design/part-gstghostpad.txt:
23320 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23321 (gst_bin_remove_func):
23322 Unlinking pads while holding the bin LOCK is not a good
23325 * gst/gstpad.c: (gst_pad_class_init),
23326 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23327 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23328 No prob setting template after creating the pad.
23330 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
23332 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23333 (gst_bus_peek), (gst_bus_source_dispatch),
23334 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23335 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23336 gst_bus_poll may be called from other threads. Handle
23337 this nicely by not making poll_data disappear off the
23338 stack once gst_bus_poll returns.
23339 gst_bus_peek now increments the refcount on the returned
23342 2005-07-29 Wim Taymans <wim@fluendo.com>
23344 * docs/design/part-gstghostpad.txt:
23345 Overview of current GhostPad datastructures and use
23346 cases for changing the target.
23348 2005-07-28 Wim Taymans <wim@fluendo.com>
23350 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23351 Added checks for hierarchy consistency whan adding linked
23354 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23355 Added check to test element scheduling without bin/pipeline.
23357 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23358 First add elements to bin, then link.
23360 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23361 (gst_bin_remove_func):
23362 Unlink pads from elements added/removed from bin to maintain
23363 hierarchy consistency.
23365 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23367 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23368 (gst_base_transform_handle_buffer):
23369 * gst/base/gstbasetransform.h:
23370 Remove broken delay_configure (fixes renegotiation of software
23371 scaling pipelines); remove some leftover printf()s.
23373 2005-07-28 Wim Taymans <wim@fluendo.com>
23375 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23376 Added some more tests for wrong hierarchy
23378 * docs/design/part-overview.txt:
23381 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23384 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23385 (gst_element_dispose):
23386 Some more cleanups.
23388 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23389 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23390 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23391 (gst_pad_set_caps), (gst_pad_send_event):
23392 Check for correct hierarchy when linking pads. Moving to
23393 strict requirement for ghostpads when linking elements in
23397 Clean ups. Added WRONG_HIERARCHY return value.
23399 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23401 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23402 Better debug if no transform is possible.
23404 2005-07-27 Wim Taymans <wim@fluendo.com>
23406 * docs/random/wtay/network-transp:
23407 Some old doc I had.
23409 2005-07-27 Wim Taymans <wim@fluendo.com>
23411 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23412 (gst_dp_event_from_packet):
23413 Fix serialization of seek events.
23415 2005-07-27 Wim Taymans <wim@fluendo.com>
23417 * check/gst-libs/gdp.c: (GST_START_TEST):
23418 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23419 Fix compilation and fix event serialization.
23421 2005-07-27 Wim Taymans <wim@fluendo.com>
23424 * docs/design/part-TODO.txt:
23425 * docs/design/part-events.txt:
23428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23429 (gst_base_sink_event), (gst_base_sink_do_sync),
23430 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23431 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23432 (gst_base_src_do_seek), (gst_base_src_event_handler),
23433 (gst_base_src_loop):
23434 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23435 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23436 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23437 (gst_base_transform_event), (gst_base_transform_handle_buffer),
23438 (gst_base_transform_set_passthrough),
23439 (gst_base_transform_is_passthrough):
23440 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23441 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23447 * gst/gstelement.c: (gst_element_seek):
23448 * gst/gstelement.h:
23449 Update gst_element_seek.
23451 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23452 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23453 (gst_event_new_flush_start), (gst_event_new_flush_stop),
23454 (gst_event_new_eos), (gst_event_new_newsegment),
23455 (gst_event_parse_newsegment), (gst_event_new_tag),
23456 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23457 (gst_event_parse_qos), (gst_event_new_seek),
23458 (gst_event_parse_seek), (gst_event_new_navigation):
23460 Make GstEvent use GstStructure. Add parsing code, make sure the
23461 API is sufficiently generic.
23462 Mark possible directions of events and serialization.
23464 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23465 (_gst_message_copy), (gst_message_new_segment_start),
23466 (gst_message_new_segment_done), (gst_message_new_custom),
23467 (gst_message_parse_segment_start),
23468 (gst_message_parse_segment_done):
23471 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23472 (gst_pad_set_caps), (gst_pad_send_event):
23473 Update for new events.
23474 Catch events sent in wrong directions.
23476 * gst/gstqueue.c: (gst_queue_link_src),
23477 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23478 (gst_queue_handle_src_query):
23483 Remove event code from this file.
23485 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23486 (gst_dp_event_from_packet):
23489 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23491 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23492 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23493 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23494 Make debugging actually useful.
23496 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23498 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23499 (gst_pad_fixate_caps):
23500 Implement default fixation once again, so that gst_pad_fixate()
23501 actually does anything at all. This probably needs to be some
23502 sort of a last resort, and use profile-based fixation first, but
23503 since that doesn't exist yet, this is the best we have. Fixes
23504 visualization in Totem.
23506 2005-07-22 Wim Taymans <wim@fluendo.com>
23508 * docs/design/part-events.txt:
23511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23512 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23513 (gst_base_sink_activate_pull):
23514 Some more comments.
23516 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23517 (gst_fake_src_create):
23518 Fix handoff marshall.
23520 * gst/elements/gstidentity.c: (gst_identity_class_init),
23521 (gst_identity_transform_ip):
23522 We're a real inplace element.
23524 * gst/gstbus.c: (gst_bus_post):
23525 Added some comments.
23527 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23528 * tests/muxing/case1.c: (main):
23529 * tests/sched/dynamic-pipeline.c: (main):
23530 * tests/sched/interrupt1.c: (main):
23531 * tests/sched/interrupt2.c: (main):
23532 * tests/sched/interrupt3.c: (main):
23533 * tests/sched/runxml.c: (main):
23534 * tests/sched/sched-stress.c: (main):
23535 * tests/seeking/seeking1.c: (event_received), (main):
23536 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23538 * tests/threadstate/threadstate3.c: (main):
23539 * tests/threadstate/threadstate4.c: (main):
23540 * tests/threadstate/threadstate5.c: (main):
23543 2005-07-21 Wim Taymans <wim@fluendo.com>
23545 * docs/design/part-seeking.txt:
23546 Some small additions.
23548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23549 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23550 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23551 * gst/base/gstbasesink.h:
23552 discont values are gint64, handle the math correctly.
23554 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23555 Make the basesrc report error if the source pad is not linked.
23557 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23558 (gst_queue_loop), (gst_queue_handle_src_query),
23559 (gst_queue_src_activate_push):
23560 Make queue collect data even if the srcpad is not linked.
23561 Start pushing out data as soon as it is linked.
23563 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23565 Added gst_flow_get_name() to ease error reporting.
23567 2005-07-20 Wim Taymans <wim@fluendo.com>
23569 * gst/gstmessage.c: (gst_message_new_segment_start),
23570 (gst_message_new_segment_done), (gst_message_parse_segment_start),
23571 (gst_message_parse_segment_done):
23572 * gst/gstmessage.h:
23573 Added a bunch of messages for advanced seeking.
23575 * gst/parse/grammar.y:
23576 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23577 (gst_dpman_state_changed):
23578 Fix some new-pad -> pad-added signals
23580 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23582 * docs/manual/appendix-porting.xml:
23583 * docs/pwg/appendix-porting.xml:
23584 Document new-pad/state-change signal renames and the FixedList
23587 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23589 * docs/manual/advanced-autoplugging.xml:
23590 * docs/manual/basics-helloworld.xml:
23591 * docs/manual/basics-pads.xml:
23592 * docs/random/ds/0.9-suggested-changes:
23593 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23594 * gst/gstelement.h:
23598 * gst/gststructure.c: (gst_structure_value_get_generic_type),
23599 (gst_structure_parse_array), (gst_structure_parse_value):
23600 * gst/gstvalue.c: (gst_type_is_fixed),
23601 (gst_value_list_prepend_value), (gst_value_list_append_value),
23602 (gst_value_list_get_size), (gst_value_list_get_value),
23603 (gst_value_transform_array_string), (gst_value_serialize_array),
23604 (gst_value_deserialize_array), (gst_value_intersect_array),
23605 (gst_value_is_fixed), (_gst_value_initialize):
23607 GstElement::new-pad -> pad-added, GstElement::state-change ->
23608 state-changed, GstValueFixedList -> GstValueArray, add format and
23609 flags as their own arguments in gst_element_seek() (should improve
23610 "bindeability"), remove function generators since they don't work
23611 under a whole bunch of compilers (they were deprecated already
23614 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23616 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23617 (_gst_debug_register_funcptr):
23619 Fix illegal cast on some platforms (#309253).
23621 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23623 * gst/gstmessage.c: (gst_message_new_custom):
23624 * gst/gstmessage.h:
23625 Add _new_custom, make _new_application a macro to _new_custom.
23627 2005-07-20 Wim Taymans <wim@fluendo.com>
23629 * gst/base/gstbasesrc.c: (gst_base_src_init),
23630 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23631 * gst/base/gstbasesrc.h:
23632 Add a gboolean to decide when to push out a discont.
23634 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23635 (gst_queue_loop), (gst_queue_handle_src_query),
23636 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23637 (gst_queue_set_property), (gst_queue_get_property):
23640 * tests/threadstate/threadstate1.c: (main):
23641 Make a thread test compile and run... very silly..
23644 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23646 * docs/manual/appendix-porting.xml:
23647 Mention removal of libgstgconf-0.9.la and existence of gconf
23650 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23652 * docs/pwg/advanced-clock.xml:
23653 * docs/pwg/appendix-porting.xml:
23654 * docs/pwg/intro-preface.xml:
23655 * docs/pwg/other-base.xml:
23656 * docs/pwg/other-manager.xml:
23657 * docs/pwg/other-nton.xml:
23658 * docs/pwg/other-ntoone.xml:
23659 * docs/pwg/other-oneton.xml:
23660 * docs/pwg/pwg.xml:
23661 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23662 demuxer), remove n-to-n (was never written), fix some code examples
23663 and links and update the porting section to include all this.
23665 2005-07-19 Wim Taymans <wim@fluendo.com>
23667 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23668 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23669 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23670 (gst_queue_src_activate_push), (gst_queue_change_state),
23671 (gst_queue_get_property):
23673 Propagate GstFlowReturn more intelligently upstream and output
23674 an ERROR/EOS when streaming stopped due to fatal error.
23676 2005-07-19 Wim Taymans <wim@fluendo.com>
23678 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23679 Don't block forever for the state change to complete, the
23680 pipeline already did with a sensible timeout.
23682 2005-07-19 Wim Taymans <wim@fluendo.com>
23684 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23685 Make sure we never call the create function is we
23688 2005-07-19 Andy Wingo <wingo@pobox.com>
23690 * gst/parse/parse.l: Attempt to solve bug #172815.
23692 2005-07-19 Wim Taymans <wim@fluendo.com>
23694 * docs/design/part-clocks.txt:
23695 * docs/design/part-events.txt:
23696 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23697 Small docs updates.
23698 Only update the seeking values when we are not
23701 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23703 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23704 Oops, ignore the result of gst_pad_push_event here.
23706 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23708 * gst/base/gstbasesrc.c: (gst_base_src_loop),
23709 (gst_base_src_activate_push):
23710 Send discont event from the loop function, as pads
23711 aren't activated yet in the activate_push handler.
23713 * gst/gstbin.c: (bin_bus_handler):
23714 Don't leak element name.
23716 2005-07-18 Andy Wingo <wingo@pobox.com>
23718 * configure.ac: Use AS_LIBTOOL_TAGS.
23720 2005-07-18 Wim Taymans <wim@fluendo.com>
23722 * docs/gst/gstreamer.types:
23723 Remove deleted types.
23725 2005-07-18 Wim Taymans <wim@fluendo.com>
23727 * check/elements/gstfakesrc.c: (GST_START_TEST):
23730 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23731 (init_popt_callback):
23733 * gst/gst_private.h:
23734 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23735 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23738 * gst/gstconfig.h.in:
23739 * gst/gstelement.c: (gst_element_class_init),
23740 (gst_element_set_base_time), (gst_element_get_base_time),
23741 (iterator_fold_with_resync), (gst_element_change_state),
23742 (gst_element_dispose), (gst_element_get_bus):
23743 * gst/gstelement.h:
23744 * gst/gstelementfactory.h:
23745 * gst/gsterror.c: (_gst_core_errors_init):
23748 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23750 * gst/gstinfo.c: (_gst_debug_init):
23751 * gst/gstmessage.c: (_gst_message_copy):
23752 * gst/gstmessage.h:
23753 * gst/gstminiobject.h:
23756 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23757 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23760 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23761 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23762 (gst_pipeline_get_last_stream_time):
23763 * gst/gstpipeline.h:
23764 * gst/gstpluginfeature.h:
23766 * gst/gstscheduler.c:
23767 * gst/gstscheduler.h:
23768 * gst/gststructure.h:
23769 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23770 (gst_task_finalize), (gst_task_func), (gst_task_create),
23771 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23772 (gst_task_stop), (gst_task_pause):
23774 * gst/gsttypefind.h:
23776 * gst/registries/gstlibxmlregistry.c: (load_feature),
23777 (gst_xml_registry_load), (gst_xml_registry_save_feature):
23778 * gst/registries/gstxmlregistry.c:
23779 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23780 * gst/schedulers/threadscheduler.c:
23781 * libs/gst/control/dparammanager.h:
23782 * tools/gst-inspect.c: (print_element_list),
23783 (print_plugin_features), (print_element_features):
23784 * tools/gst-xmlinspect.c: (print_element_list),
23785 (print_plugin_info), (main):
23786 Removed plugable schedulers.
23787 Removed Scheduler/Manager from elements.
23788 Removed gsttypes.h, rearranged includes.
23789 Removed dependency pad<->element, element<>pipeline, and
23790 various others, fix includes.
23791 implement gst_pad_get_parent() with gst_object_get_parent()
23792 Make GstTask sefcontained.
23793 Fix _get_state() on GstBin, it did not return ASYNC with a 0
23795 Fix endless loop in iterator_fold_with_resync.
23798 2005-07-18 Wim Taymans <wim@fluendo.com>
23804 2005-07-18 Wim Taymans <wim@fluendo.com>
23807 No more cothreads.h
23809 2005-07-18 Wim Taymans <wim@fluendo.com>
23813 Let's remove these.
23815 2005-07-18 Wim Taymans <wim@fluendo.com>
23817 * docs/design/part-dynamic.txt:
23818 * docs/design/part-events.txt:
23819 * docs/design/part-seeking.txt:
23820 Some more docs in the works.
23822 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23823 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23824 (gst_base_transform_setcaps), (gst_base_transform_get_size),
23825 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23826 (gst_base_transform_handle_buffer),
23827 (gst_base_transform_sink_activate_push),
23828 (gst_base_transform_src_activate_pull),
23829 (gst_base_transform_set_passthrough),
23830 (gst_base_transform_is_passthrough):
23833 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23836 * gst/gstevent.c: (gst_event_finalize):
23839 * gst/gstutils.c: (gst_element_unlink),
23840 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23841 (gst_pad_proxy_setcaps):
23843 Add _get_parent_element() to get a pads parent as an element.
23845 2005-07-18 Wim Taymans <wim@fluendo.com>
23847 * check/gst/gstbin.c: (GST_START_TEST):
23850 2005-07-18 Wim Taymans <wim@fluendo.com>
23852 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23853 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23854 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23855 (gst_base_sink_event), (gst_base_sink_do_sync),
23856 (gst_base_sink_chain), (gst_base_sink_loop),
23857 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23858 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23860 Fix logic for returning ASYNC when not prerolled.
23862 2005-07-18 Wim Taymans <wim@fluendo.com>
23864 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23865 Fix nasty refcount bug.
23867 2005-07-16 Philippe Khalaf <burger@speedy.org>
23869 * gst/elements/gstfdsrc.c:
23870 * gst/elements/gstfdsrc.h:
23871 * gst/elements/gstelements.c:
23872 * gst/elements/Makefile.am:
23873 Ported fdsrc to 0.9.
23875 2005-07-16 Wim Taymans <wim@fluendo.com>
23877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23878 (gst_base_sink_do_sync):
23881 2005-07-16 Wim Taymans <wim@fluendo.com>
23883 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23884 (gst_base_sink_event), (gst_base_sink_get_times),
23885 (gst_base_sink_do_sync), (gst_base_sink_change_state):
23886 * gst/base/gstbasesink.h:
23887 Store and use discont values when syncing buffers as described
23890 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23891 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23892 (gst_base_src_activate_push):
23893 Push discont event when starting.
23895 * gst/elements/gstidentity.c: (gst_identity_transform):
23898 * gst/gstbin.c: (gst_bin_change_state):
23899 Small cleanups in base_time distribution.
23901 * gst/gstelement.c: (gst_element_set_base_time),
23902 (gst_element_get_base_time), (gst_element_change_state):
23903 * gst/gstelement.h:
23904 Added methods for the base_time of the element.
23907 * gst/gstpipeline.c: (gst_pipeline_send_event),
23908 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23909 (gst_pipeline_get_last_stream_time):
23910 * gst/gstpipeline.h:
23912 Handle seeking as described in design doc, remove stream_time
23914 Cleanups clock and stream_time selection code. Added accessors
23915 for the stream_time.
23918 2005-07-16 Andy Wingo <wingo@pobox.com>
23920 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23923 2005-07-16 Wim Taymans <wim@fluendo.com>
23925 * check/gst/gstbin.c: (GST_START_TEST):
23926 Make elements silent as the deep_notify refs the
23927 parent, which might make the test fail.
23929 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23930 Don't hold the lock for too long.
23932 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
23934 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23935 Don't unref the caps we passed to gst_caps_make_writable() after
23936 passing them. gst_caps_make_writable() will do that for us.
23938 2005-07-15 Andy Wingo <wingo@pobox.com>
23940 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23943 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23944 own marshalling function for the handoff signal. Properly type the
23945 buffer as a buffer. Fixes some warnings. Should do a more general
23947 (gst_identity_class_init): Plug into the right marshaller.
23949 2005-07-15 Wim Taymans <wim@fluendo.com>
23951 * docs/design/part-TODO.txt:
23952 * docs/design/part-clocks.txt:
23953 * docs/design/part-element-sink.txt:
23954 * docs/design/part-events.txt:
23955 * docs/design/part-gstpipeline.txt:
23956 Updated docs, mostly DISCONT related.
23958 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
23960 * docs/pwg/building-pads.xml:
23961 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23963 2005-07-15 Andy Wingo <wingo@pobox.com>
23965 * tools/gst-typefind.c: Update, add copyright block.
23967 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23968 Normalize and truncate caps before fixation.
23971 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23972 discards all but the first structure from its argument.
23974 2005-07-15 Wim Taymans <wim@fluendo.com>
23976 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23977 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23978 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23979 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23980 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23981 (gst_base_transform_chain), (gst_base_transform_change_state),
23982 (gst_base_transform_set_passthrough),
23983 (gst_base_transform_is_passthrough):
23984 * gst/base/gstbasetransform.h:
23985 Make passthrough work using the bufferpools.
23986 Changed API a bit, subclasses have to write into a buffer
23987 provided by the base class.
23988 More debug info in nego functions.
23990 * gst/elements/gstidentity.c: (gst_identity_init),
23991 (gst_identity_transform):
23992 Port to new base class.
23994 2005-07-15 Wim Taymans <wim@fluendo.com>
23996 * gst/gstmessage.c: (gst_message_new_state_changed):
23997 * tools/gst-launch.c: (event_loop), (main):
23998 Totally dump messages in -launch with the -m option.
23999 Fix message name for State messages,
24001 2005-07-14 Wim Taymans <wim@fluendo.com>
24003 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24004 Post error messages on errors.
24006 2005-07-14 Wim Taymans <wim@fluendo.com>
24008 * gst/gstcaps.c: (gst_caps_do_simplify):
24012 Define error for stream stopped.
24014 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24015 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24016 Do proper return values.
24018 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24019 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24020 (gst_pad_get_range):
24021 Better return values.
24024 Reorganise return values, add macro to check for fatal errors.
24026 * gst/gstqueue.c: (gst_queue_chain):
24027 Return proper GstFlowReturn values,
24029 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
24031 * docs/gst/gstreamer-sections.txt:
24032 * docs/gst/gstreamer.types:
24033 * docs/gst/tmpl/gst.sgml:
24034 * docs/gst/tmpl/gstbasesink.sgml:
24035 * docs/gst/tmpl/gstbasesrc.sgml:
24036 * docs/gst/tmpl/gstbasetransform.sgml:
24037 * docs/gst/tmpl/gstbin.sgml:
24038 * docs/gst/tmpl/gstbuffer.sgml:
24039 * docs/gst/tmpl/gstcaps.sgml:
24040 * docs/gst/tmpl/gstclock.sgml:
24041 * docs/gst/tmpl/gstcompat.sgml:
24042 * docs/gst/tmpl/gstconfig.sgml:
24043 * docs/gst/tmpl/gstelement.sgml:
24044 * docs/gst/tmpl/gstelementdetails.sgml:
24045 * docs/gst/tmpl/gstelementfactory.sgml:
24046 * docs/gst/tmpl/gstenumtypes.sgml:
24047 * docs/gst/tmpl/gsterror.sgml:
24048 * docs/gst/tmpl/gstevent.sgml:
24049 * docs/gst/tmpl/gstfakesink.sgml:
24050 * docs/gst/tmpl/gstfakesrc.sgml:
24051 * docs/gst/tmpl/gstfilesink.sgml:
24052 * docs/gst/tmpl/gstfilesrc.sgml:
24053 * docs/gst/tmpl/gstfilter.sgml:
24054 * docs/gst/tmpl/gstformat.sgml:
24055 * docs/gst/tmpl/gstghostpad.sgml:
24056 * docs/gst/tmpl/gstimplementsinterface.sgml:
24057 * docs/gst/tmpl/gstindex.sgml:
24058 * docs/gst/tmpl/gstindexfactory.sgml:
24059 * docs/gst/tmpl/gstinfo.sgml:
24060 * docs/gst/tmpl/gstiterator.sgml:
24061 * docs/gst/tmpl/gstmacros.sgml:
24062 * docs/gst/tmpl/gstmemchunk.sgml:
24063 * docs/gst/tmpl/gstminiobject.sgml:
24064 * docs/gst/tmpl/gstobject.sgml:
24065 * docs/gst/tmpl/gstpad.sgml:
24066 * docs/gst/tmpl/gstpadtemplate.sgml:
24067 * docs/gst/tmpl/gstparse.sgml:
24068 * docs/gst/tmpl/gstpipeline.sgml:
24069 * docs/gst/tmpl/gstplugin.sgml:
24070 * docs/gst/tmpl/gstpluginfeature.sgml:
24071 * docs/gst/tmpl/gstquery.sgml:
24072 * docs/gst/tmpl/gstqueue.sgml:
24073 * docs/gst/tmpl/gstregistry.sgml:
24074 * docs/gst/tmpl/gstregistrypool.sgml:
24075 * docs/gst/tmpl/gstscheduler.sgml:
24076 * docs/gst/tmpl/gstschedulerfactory.sgml:
24077 * docs/gst/tmpl/gststructure.sgml:
24078 * docs/gst/tmpl/gstsystemclock.sgml:
24079 * docs/gst/tmpl/gsttaglist.sgml:
24080 * docs/gst/tmpl/gsttagsetter.sgml:
24081 * docs/gst/tmpl/gsttrace.sgml:
24082 * docs/gst/tmpl/gsttrashstack.sgml:
24083 * docs/gst/tmpl/gsttypefind.sgml:
24084 * docs/gst/tmpl/gsttypefindfactory.sgml:
24085 * docs/gst/tmpl/gsttypes.sgml:
24086 * docs/gst/tmpl/gsturihandler.sgml:
24087 * docs/gst/tmpl/gsturitype.sgml:
24088 * docs/gst/tmpl/gstutils.sgml:
24089 * docs/gst/tmpl/gstvalue.sgml:
24090 * docs/gst/tmpl/gstversion.sgml:
24091 * docs/gst/tmpl/gstxml.sgml:
24092 * docs/libs/tmpl/gstcontrol.sgml:
24093 * docs/libs/tmpl/gstdataprotocol.sgml:
24094 * docs/libs/tmpl/gstdparam.sgml:
24095 * docs/libs/tmpl/gstdplinint.sgml:
24096 * docs/libs/tmpl/gstdpman.sgml:
24097 * docs/libs/tmpl/gstdpsmooth.sgml:
24098 * docs/libs/tmpl/gstgetbits.sgml:
24099 * docs/libs/tmpl/gstunitconvert.sgml:
24100 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24101 (gst_push_src_base_init), (gst_push_src_class_init),
24102 (gst_push_src_init), (gst_push_src_create):
24103 * gst/base/gstpushsrc.h:
24104 * gst/elements/gstelements.c:
24105 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24106 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24107 (gst_fake_sink_init), (gst_fake_sink_set_property),
24108 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24109 (gst_fake_sink_event), (gst_fake_sink_preroll),
24110 (gst_fake_sink_render), (gst_fake_sink_change_state):
24111 * gst/elements/gstfakesink.h:
24112 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24113 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24114 (gst_fake_src_base_init), (gst_fake_src_class_init),
24115 (gst_fake_src_init), (gst_fake_src_event_handler),
24116 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24117 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24118 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24119 (gst_fake_src_create_buffer), (gst_fake_src_create),
24120 (gst_fake_src_start), (gst_fake_src_stop):
24121 * gst/elements/gstfakesrc.h:
24122 * gst/elements/gstfilesink.c: (_do_init),
24123 (gst_file_sink_base_init), (gst_file_sink_class_init),
24124 (gst_file_sink_init), (gst_file_sink_dispose),
24125 (gst_file_sink_set_location), (gst_file_sink_set_property),
24126 (gst_file_sink_get_property), (gst_file_sink_open_file),
24127 (gst_file_sink_close_file), (gst_file_sink_query),
24128 (gst_file_sink_event), (gst_file_sink_render),
24129 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24130 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24131 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24132 * gst/elements/gstfilesink.h:
24133 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24134 (gst_file_src_class_init), (gst_file_src_init),
24135 (gst_file_src_finalize), (gst_file_src_set_location),
24136 (gst_file_src_set_property), (gst_file_src_get_property),
24137 (gst_file_src_map_region), (gst_file_src_map_small_region),
24138 (gst_file_src_create_mmap), (gst_file_src_create_read),
24139 (gst_file_src_create), (gst_file_src_is_seekable),
24140 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24141 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24142 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24143 (gst_file_src_uri_handler_init):
24144 * gst/elements/gstfilesrc.h:
24145 more autistic cleanliness in functions/names/defines
24147 2005-07-13 Andy Wingo <wingo@pobox.com>
24149 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24150 source couldn't negotiate.
24152 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24156 * gst/gstutils.c (gst_element_link_pads_filtered): New old
24157 function. I am channeling Hades. Put your boots on suckers!!!
24159 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
24161 * testsuite/caps/Makefile.am:
24162 * testsuite/caps/value_compare.c:
24163 * testsuite/caps/value_intersect.c:
24164 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24165 move two testsuite apps over to the check dir
24167 2005-07-12 Wim Taymans <wim@fluendo.com>
24169 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24170 Added more debug info in the negotiate process.
24172 * gst/gstmessage.h:
24173 Prepare for segment playback.
24175 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24181 * tools/gst-launch.c: (main):
24182 NULL pipeline on errors.
24184 2005-07-12 Andy Wingo <wingo@pobox.com>
24186 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24187 not it comes from a malloc region. Make sure our copy gets freed.
24189 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24191 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24192 * check/gst/gstmessage.c: (GST_START_TEST):
24193 * check/gst/gststructure.c: (GST_START_TEST),
24194 (gst_structure_suite), (main):
24196 * gst/gstelement.c: (gst_element_message_full):
24197 clean up GError and debug string now that they get copied
24198 * gst/gstmessage.c: (gst_message_new_error),
24199 (gst_message_new_warning), (gst_message_parse_error),
24200 (gst_message_parse_warning):
24201 use GST_TYPE_G_ERROR for structure_new, and take copies of
24202 arguments, so that we don't mess up refcounting
24204 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24206 * check/Makefile.am:
24207 add per-test valgrind targets
24208 * check/gst-libs/gdp.c: (GST_START_TEST),
24209 (gst_data_protocol_suite), (main):
24212 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24214 * check/Makefile.am:
24215 instate more valgrindable tests
24216 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24217 (GST_START_TEST), (fakesrc_suite):
24218 * check/gst/gstpad.c: (GST_START_TEST):
24219 * check/gst/gststructure.c: (GST_START_TEST):
24221 * docs/gst/tmpl/gstminiobject.sgml:
24222 * gst/gstpad.c: (gst_pad_finalize):
24223 fix the static mutex leak
24225 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24227 * check/Makefile.am:
24228 add two more tests for valgrinding
24229 * check/gst/gstvalue.c: (GST_START_TEST):
24230 test refcount of deserialized buffer, found a leak
24231 * docs/gst/gstreamer-docs.sgml:
24232 * docs/gst/gstreamer-sections.txt:
24233 * docs/gst/gstreamer.types:
24234 * docs/gst/tmpl/gstminiobject.sgml:
24235 add miniobject to docs
24236 * gst/gstminiobject.c:
24238 * gst/gstvalue.c: (gst_value_deserialize_buffer),
24239 (gst_string_unwrap):
24240 fix a hard-to-find invalid write for one of the tests
24241 fix a leak for deserialized buffers
24243 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24245 * docs/pwg/advanced-events.xml:
24246 * docs/pwg/advanced-request.xml:
24247 * docs/pwg/advanced-scheduling.xml:
24248 * docs/pwg/appendix-porting.xml:
24249 * docs/pwg/building-boiler.xml:
24250 * docs/pwg/intro-preface.xml:
24251 * docs/pwg/other-ntoone.xml:
24252 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24253 of example code and explanation for pad activation, loop() and
24254 getrange() functions and a bit more. Remove old comments pointing
24256 * examples/pwg/Makefile.am:
24257 Add loop/getrange examples.
24259 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24262 check for valgrind binary + some fixes
24264 valgrind suppressions for the tests
24265 * check/Makefile.am:
24266 add a valgrind: target that valgrinds the unit tests
24267 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24268 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24269 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24270 * check/gst/gstghostpad.c:
24272 * check/gst/gstdata.c:
24274 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24275 (thread_unref), (gst_mini_object_suite), (main):
24277 * gst/gst.c: (gst_deinit):
24279 add a method to clean up.
24280 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24281 (gst_system_clock_obtain):
24282 allow for disposing the system clock.
24283 * tools/gst-launch.c: (main):
24286 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24288 * docs/gst/tmpl/gstbasesrc.sgml:
24289 * docs/gst/tmpl/gstfakesrc.sgml:
24290 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24291 (gst_base_src_init), (gst_base_src_set_property),
24292 (gst_base_src_get_property), (gst_base_src_get_range),
24293 (gst_base_src_start):
24294 * gst/base/gstbasesrc.h:
24295 add num-buffers property
24296 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24297 (gst_fakesrc_init), (gst_fakesrc_set_property),
24298 (gst_fakesrc_get_property), (gst_fakesrc_create),
24299 (gst_fakesrc_start):
24300 remove num-buffers property
24302 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24304 * docs/gst/gstreamer-sections.txt:
24305 * docs/gst/tmpl/gstbasesink.sgml:
24306 * docs/gst/tmpl/gstbasesrc.sgml:
24307 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24308 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24309 (gst_base_sink_finalize), (gst_base_sink_set_clock),
24310 (gst_base_sink_set_property), (gst_base_sink_get_property),
24311 (gst_base_sink_handle_object), (gst_base_sink_event),
24312 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24313 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24314 (gst_base_sink_loop), (gst_base_sink_deactivate),
24315 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24316 (gst_base_sink_change_state):
24317 * gst/base/gstbasesink.h:
24318 * gst/base/gstbasesrc.h:
24319 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24320 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24321 (gst_filesink_init):
24322 more macro splitting
24324 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24326 * gst/gstelement.c: (gst_element_get_bus):
24328 * tools/gst-launch.c: (check_intr), (event_loop):
24331 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24333 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24336 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24338 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24339 (gst_base_src_finalize):
24340 add finalize method and clean up properly
24341 * gst/gstpipeline.c: (gst_pipeline_dispose):
24344 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24346 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24348 add more things to check
24349 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24350 * gst/gstelement.c:
24353 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24355 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24356 (GST_START_TEST), (fakesrc_suite):
24357 * check/gst-libs/gdp.c: (GST_START_TEST):
24358 * check/gst/gst.c: (GST_START_TEST):
24359 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24360 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24361 * check/gst/gstbus.c: (GST_START_TEST):
24362 * check/gst/gstcaps.c: (GST_START_TEST):
24363 * check/gst/gstdata.c: (GST_START_TEST):
24364 * check/gst/gstelement.c: (GST_START_TEST):
24365 * check/gst/gstghostpad.c: (GST_START_TEST):
24366 * check/gst/gstiterator.c: (GST_START_TEST):
24367 * check/gst/gstmessage.c: (GST_START_TEST):
24368 * check/gst/gstobject.c: (GST_START_TEST):
24369 * check/gst/gstpad.c: (GST_START_TEST):
24370 * check/gst/gststructure.c: (GST_START_TEST):
24371 * check/gst/gstsystemclock.c: (GST_START_TEST),
24372 (gst_systemclock_suite):
24373 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24374 * check/gst/gstvalue.c: (GST_START_TEST):
24375 * check/pipelines/cleanup.c: (GST_START_TEST):
24376 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24377 * check/states/sinks.c: (GST_START_TEST):
24378 * check/gstcheck.c: (gst_check_init):
24379 * check/gstcheck.h:
24380 add debugging category
24381 use GST_START_TEST now, so we add a debug line
24383 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24385 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24386 add test for state change message on a bin
24387 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24389 * gst/gstbin.c: (gst_bin_init):
24390 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24391 * gst/gstelement.c: (gst_element_post_message),
24392 (gst_element_set_state):
24393 * gst/gstelementfactory.c: (gst_element_factory_create):
24394 * gst/gstmessage.c: (gst_message_new):
24395 * gst/gstscheduler.c:
24396 various debugging additions and cleanups
24398 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24400 * check/Makefile.am:
24401 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24403 adding tests for elements
24404 * gst/gstelement.c: (gst_element_dispose):
24406 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24408 * gst/registries/gstlibxmlregistry.c: (load_feature):
24409 plug more leaks. A simple gst_init() now is leakfree, yay.
24411 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24413 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24414 (gst_xml_registry_load):
24415 plug another memleak
24417 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24420 use GST_SET_ERROR_CFLAGS
24421 * docs/faq/cvs.xml:
24422 change to ERROR_CFLAGS
24424 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24427 make GST_ERROR_CFLAGS overridable and re-enable Werror
24428 * docs/faq/cvs.xml:
24429 add a note about error CFLAGS
24430 * docs/gst/tmpl/gstfakesrc.sgml:
24431 * gst/elements/gstfakesrc.c:
24432 comment out some unused code
24433 * gst/gst.c: (split_and_iterate):
24434 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24438 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24440 * common/Makefile.am:
24441 * common/gtk-doc.mak:
24442 * docs/gst/Makefile.am:
24443 factor out gtk-doc.mak
24445 2005-07-07 Wim Taymans <wim@fluendo.com>
24447 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24448 (gst_thread_scheduler_dispose):
24449 Unlock the STREAM_LOCK completely.
24451 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24453 * check/Makefile.am:
24454 * check/elements/.cvsignore:
24455 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24456 (START_TEST), (fakesrc_suite), (main):
24457 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24458 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24459 (gst_fakesrc_create), (gst_fakesrc_start):
24460 * gst/elements/gstfakesrc.h:
24461 adding a first element test
24463 2005-07-07 Andy Wingo <wingo@pobox.com>
24465 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24468 2005-07-07 Wim Taymans <wim@fluendo.com>
24474 2005-07-07 Wim Taymans <wim@fluendo.com>
24476 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24477 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24478 Allow subclasses to implement their own negotiation.
24480 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24482 * docs/design/part-gstbin.txt:
24483 * docs/design/part-gstpipeline.txt:
24484 Update design notes to reflect the movement of
24485 responsibility for bus handling from GstPipeline to
24488 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24491 Remove unnecessary queue2/3/4 examples.
24493 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24495 * examples/Makefile.am:
24496 * examples/helloworld/helloworld.c: (event_loop), (main):
24497 * examples/queue/queue.c: (event_loop), (main):
24498 * examples/queue2/queue2.c: (main):
24499 Update a couple of the examples to work again.
24501 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24502 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24503 Spelling corrections and extra debug.
24505 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24506 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24507 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24509 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24510 (gst_pipeline_change_state):
24511 * gst/gstpipeline.h:
24512 Move the bus handler for children to the GstBin, and create a
24513 separate bus for receiving messages from children to the one the
24514 bus sends 'upwards' on.
24516 2005-07-06 Wim Taymans <wim@fluendo.com>
24519 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24520 (gst_base_sink_handle_object), (gst_base_sink_loop),
24521 (gst_base_sink_change_state):
24522 * gst/base/gstbasesink.h:
24523 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24524 (gst_base_src_init), (gst_base_src_setcaps),
24525 (gst_base_src_getcaps), (gst_base_src_loop),
24526 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24527 (gst_base_src_start), (gst_base_src_change_state):
24528 * gst/base/gstbasesrc.h:
24529 Make basesrc negotiate.
24530 Handle the case where preroll fails in basesink.
24533 2005-07-06 Wim Taymans <wim@fluendo.com>
24535 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24536 Implement the fixate function.
24537 Clean up acceptcaps.
24539 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24541 * docs/pwg/building-filterfactory.xml:
24542 * docs/pwg/pwg.xml:
24543 Remove never-written filter-factory chapter; I'll add the various
24544 base classes to part 4 ("other element types") later on.
24546 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24548 * docs/pwg/advanced-negotiation.xml:
24549 * docs/pwg/building-boiler.xml:
24550 * docs/pwg/building-pads.xml:
24551 * docs/pwg/pwg.xml:
24552 * examples/pwg/Makefile.am:
24553 Add a chapter on caps negotiation, simplify the original code
24554 samples a bit w.r.t. caps negotiation, add link to the advanced
24555 section. Add a bunch of examples showing different use cases of
24556 different types of caps negotiation. Upstream renegotiation isn't
24557 fully documented yet since nobody knows how that works.
24559 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
24561 * check/gst/gstpad.c:
24562 * check/gstcheck.c:
24563 * gst/gstpad.c: (gst_pad_get_internal_links_default):
24564 if pad has no parent, return NULL as list of internal links
24566 2005-07-05 Andy Wingo <wingo@pobox.com>
24568 * gst/elements/gstfilesrc.c:
24569 * gst/elements/gstfakesrc.c:
24570 * gst/base/gstpushsrc.c:
24571 * gst/base/gstbasesrc.h:
24572 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24574 2005-07-05 Stefan Kost <ensonic@users.sf.net>
24577 better report generation target (lcov needs a patch)
24579 2005-07-05 Andy Wingo <wingo@pobox.com>
24581 * gst/elements, testsuite: Null if we got it...
24583 2005-07-05 Wim Taymans <wim@fluendo.com>
24586 * libs/gst/dataprotocol/Makefile.am:
24587 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24588 * libs/gst/dataprotocol/dataprotocol.h:
24589 * pkgconfig/Makefile.am:
24590 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24591 * pkgconfig/gstreamer-dataprotocol.pc.in:
24592 Ported dataprotol to 0.9.
24593 Added pkgconfig files.
24595 2005-07-05 Andy Wingo <wingo@pobox.com>
24597 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24598 Default to returning TRUE for the case when tranform_caps returns
24599 a fixed caps, like for identity or volume.
24601 * check/gst/gstbus.c (pound_bus_with_messages):
24602 * check/gst/gstmessage.c (START_TEST):
24603 * check/pipelines/simple_launch_lines.c (got_handoff): Application
24604 message API change.
24606 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24607 logic weaks here: always run transform_caps, trying passthrough
24608 operation only if the original caps intersects with the transform.
24610 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24611 source and sink caps.
24613 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24614 Intersect the peer caps with the pad template before going into
24616 (gst_base_transform_transform_caps): More debugging.
24618 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24621 2005-07-04 Edward Hervey <edward@fluendo.com>
24625 (gst_pad_add_*_probe): now returns the signal id for better wrapping
24628 2005-07-04 Andy Wingo <wingo@pobox.com>
24630 * check/gst/gstpad.c: Only set explicit caps on pads.
24632 2005-07-01 Andy Wingo <wingo@pobox.com>
24634 * tests/network-clock.scm: Commentary update.
24636 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24637 Didn't really make sense, not implementable with basetransform,
24639 (gst_identity_transform): Unref inbuf via make_writable. Feeble
24640 attempt at implementing the sync property, needs an unlock method.
24642 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24643 New func, by default returns the same caps (the identity
24645 (gst_base_transform_getcaps): Uses transform_caps to return
24646 something sensible.
24647 (gst_base_transform_setcaps): Complicated logic to get caps on
24648 both pads, even if they are different, and to call set_caps once
24649 for every time both pads get their caps set.
24650 (gst_base_transform_handle_buffer): Give the ref to the transform
24651 function. Allows in-place modification of the buffer.
24653 * gst/base/gstbasetransform.h (transform_caps): New class method.
24654 Given caps on one side, what can I do on the other.
24655 (set_caps): Take two caps, one for each side of the element.
24658 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24659 caps in place. This is safe because we can check the mutability of
24660 the caps, and a good idea because fixate functions are just called
24661 as a matter of last resort. (Not actually implemented.)
24662 (gst_pad_set_caps): If the caps we're setting is actually the same
24663 as the existing pad caps, just update the pointer without calling
24664 setcaps. Assert that caps is either NULL or fixed, as per the
24667 * gst/gstghostpad.c: Update for fixate changes.
24669 2005-07-02 Andy Wingo <wingo@pobox.com>
24672 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24673 two refcounts makes it immutable, which is enough. Doc more.
24675 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
24677 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24678 Put the mini_object into GValue as a mini_object,
24679 not a gpointer, since that's how we declared
24682 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24684 * examples/pwg/Makefile.am:
24685 Fix buildbot again.
24687 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24689 * docs/pwg/building-testapp.xml:
24691 * examples/pwg/Makefile.am:
24694 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24697 * examples/Makefile.am:
24698 * examples/pwg/Makefile.am:
24699 * examples/pwg/extract.pl:
24700 Enable building the PWG examples.
24701 * docs/pwg/advanced-interfaces.xml:
24702 Add URI interface stub.
24703 * docs/pwg/advanced-types.xml:
24704 * docs/pwg/other-autoplugger.xml:
24705 * docs/pwg/appendix-porting.xml:
24706 * docs/pwg/pwg.xml:
24707 Add porting guide (mostly stubs), remove autoplugging (see ADM).
24708 * docs/pwg/building-boiler.xml:
24709 * docs/pwg/building-chainfn.xml:
24710 * docs/pwg/building-pads.xml:
24711 * docs/pwg/building-props.xml:
24712 * docs/pwg/building-state.xml:
24713 * docs/pwg/building-testapp.xml:
24714 Update the building-*.xml parts for 0.9 changes. All examples
24715 code blocks compile in examples/pwg/*.
24717 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24719 * docs/manual/advanced-autoplugging.xml:
24720 * docs/manual/appendix-checklist.xml:
24721 * docs/manual/appendix-integration.xml:
24722 * docs/manual/highlevel-components.xml:
24723 Fix playbin/decodebin examples, update docs a bit, mention bus
24724 instead of signals in various places, mention kmplayer and
24725 kaffeine since they have a working GStreamer backend in the KDE
24728 2005-06-30 Wim Taymans <wim@fluendo.com>
24731 * docs/design/draft-ghostpads.txt:
24732 * docs/design/draft-push-pull.txt:
24733 * docs/design/draft-query.txt:
24734 * docs/design/part-TODO.txt:
24735 * docs/design/part-query.txt:
24736 Added CHANGES-0.9 doc, updated status of other docs.
24741 2005-06-30 Wim Taymans <wim@fluendo.com>
24743 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24744 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24745 (gst_base_sink_change_state):
24746 * gst/base/gstbasesink.h:
24747 Some tweaks, only EOS and a buffer complete a preroll.
24749 2005-06-30 Andy Wingo <wingo@pobox.com>
24751 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24752 activate_push down to the internal pad as well.
24754 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
24756 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24758 * gst/gsttaginterface.c:
24759 Some documentation fixes (#307394 and #307397).
24761 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
24763 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24765 * gst/gstvalue.c: (gst_value_intersect_list):
24766 Fix memleak (#309125).
24768 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24770 * docs/manual/advanced-dataaccess.xml:
24771 Fix fakesrc example to compile; doesn't work, bug somewhere...?
24772 * docs/manual/basics-pads.xml:
24773 Add reference for filtered caps to above chapter.
24775 2005-06-30 Wim Taymans <wim@fluendo.com>
24777 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24778 (gst_bin_change_state):
24780 Lame attempt at making the state change function a bit
24783 2005-06-30 Wim Taymans <wim@fluendo.com>
24785 * docs/design/part-clocks.txt:
24786 * docs/design/part-element-sink.txt:
24787 * docs/design/part-events.txt:
24788 * docs/design/part-preroll.txt:
24789 * docs/design/part-states.txt:
24790 Some more tweeks and additions to the docs.
24792 2005-06-30 Wim Taymans <wim@fluendo.com>
24794 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24795 (default_have_data), (gst_pad_class_init), (gst_pad_init),
24796 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24797 (gst_pad_check_pull_range), (gst_pad_get_range),
24798 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24800 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24801 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24802 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24803 (gst_pad_remove_buffer_probe):
24804 Removed atomic operations, use existing LOCK.
24805 Move exception handling out of main code path.
24807 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24809 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24810 (silly_return_true_function), (gst_pad_class_init),
24811 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24812 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24813 (gst_pad_send_event):
24814 Fix accumulator, add default value by using _emitv() instead
24815 of _emit() for signal emission.
24817 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24819 * docs/manual/advanced-dataaccess.xml:
24820 * examples/manual/Makefile.am:
24822 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24825 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
24827 * gst/elements/gstfilesink.c: (gst_filesink_render):
24828 Simplify code so that we don't have to handle short
24829 writes and return GST_FLOW_ERROR if an error occured.
24831 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24833 * docs/gst/gstreamer-docs.sgml:
24834 Remove probes more.
24836 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24838 * docs/gst/gstreamer-sections.txt:
24839 * docs/gst/tmpl/gstpad.sgml:
24840 * docs/gst/tmpl/gstprobe.sgml:
24842 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24843 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24844 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24845 (gst_pad_push_event), (gst_pad_send_event):
24847 * gst/gstutils.c: (gst_pad_add_data_probe),
24848 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24849 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24850 (gst_pad_remove_buffer_probe):
24852 Remove old probes, add new g-signal-based probes and some utility
24855 2005-06-29 Edward Hervey <edward@fluendo.com>
24857 * gst/gstelementfactory.c:
24860 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24861 the definition to the header file.
24863 2005-06-29 Andy Wingo <wingo@pobox.com>
24865 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24866 plugins from the source directory.
24868 2005-06-29 Wim Taymans <wim@fluendo.com>
24870 * docs/gst/tmpl/gstbuffer.sgml:
24871 * docs/gst/tmpl/gstclock.sgml:
24872 Some fixings for blantently wrong text.
24874 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24876 * check/Makefile.am:
24877 * gst/gst.c: (add_path_func), (init_pre):
24878 * gst/gstregistry.c: (gst_registry_add_path):
24879 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24880 only scan the GST_PLUGIN_PATH locations, and not add
24883 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24885 * docs/gst/gstreamer-sections.txt:
24886 * docs/gst/tmpl/gstbasesrc.sgml:
24887 * gst/gstelement.c:
24888 * gst/gstelement.h:
24893 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24895 * docs/manual/advanced-autoplugging.xml:
24896 Fix autoplugging example.
24898 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24900 * docs/manual/advanced-autoplugging.xml:
24901 * docs/manual/mime-world.fig:
24902 Try to get autoplugging working, fix type detection. Fix text
24903 in hello-world image.
24905 2005-06-29 Wim Taymans <wim@fluendo.com>
24907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24908 (gst_base_sink_change_state):
24912 map SIGNAL and BROADCAST to the right function.
24915 Remove redundant braces.
24917 * gst/gstpad.c: (gst_pad_set_caps):
24918 Don't call setcaps function when reseting caps to NULL.
24920 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24921 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24922 (gst_system_clock_id_unschedule):
24923 Use BROADCAST as this is what we do.
24925 2005-06-29 Wim Taymans <wim@fluendo.com>
24927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24928 We are actually prerolling before commiting the state
24931 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24933 * docs/manual/advanced-clocks.xml:
24934 * docs/manual/advanced-interfaces.xml:
24935 * docs/manual/advanced-metadata.xml:
24936 * docs/manual/advanced-position.xml:
24937 * docs/manual/advanced-schedulers.xml:
24938 * docs/manual/advanced-threads.xml:
24939 * docs/manual/appendix-porting.xml:
24940 * docs/manual/basics-bins.xml:
24941 * docs/manual/basics-bus.xml:
24942 * docs/manual/basics-elements.xml:
24943 * docs/manual/basics-helloworld.xml:
24944 * docs/manual/basics-pads.xml:
24945 * docs/manual/highlevel-components.xml:
24946 * docs/manual/manual.xml:
24947 * docs/manual/thread.fig:
24948 Update (until threads/scheduling) Application Development Manual;
24949 remove GstThread, add GstBus, add simple porting checklist, add
24950 documentation for tag writing, clocks, make all examples until this
24951 part compile and run.
24952 * examples/manual/Makefile.am:
24953 Update from changes to Application Development Manual; add bus
24954 example, remove thread example.
24956 2005-06-28 Wim Taymans <wim@fluendo.com>
24958 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24959 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24960 (gst_bus_source_dispatch):
24961 Add debugging messages.
24962 Make internal methods static.
24963 Handle the case where the bus is flushed in the handler.
24965 * gst/gstelement.c: (gst_element_get_bus):
24966 Fix refcount in _get_bus();
24968 * gst/gstpipeline.c: (gst_pipeline_change_state),
24969 (gst_pipeline_get_clock_func):
24970 Clock refcounting fixes.
24971 Handle the case where preroll timed out more gracefully.
24973 * gst/gstsystemclock.c: (gst_system_clock_dispose):
24974 Clean up the internal thread in dispose. This is needed
24975 for subclasses that actually get disposed.
24977 * gst/schedulers/threadscheduler.c:
24978 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24979 (gst_thread_scheduler_dispose):
24980 Free thread pool in dispose.
24982 2005-06-28 Andy Wingo <wingo@pobox.com>
24984 * tests/network-clock-utils.scm (debug, print-event): New utils.
24986 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24987 (*packet-loss*): Unified loss probability.
24988 (network-time): Report out-of-band events.
24990 * tests/plot-data: Add support for out-of-band events. Hack it
24991 into this script instead of passing it down the pipe; should fix
24994 2005-06-28 Wim Taymans <wim@fluendo.com>
24996 * docs/gst/gstreamer.types:
24997 * docs/gst/tmpl/gstbasesrc.sgml:
24998 * docs/gst/tmpl/gstpad.sgml:
25001 2005-06-28 Wim Taymans <wim@fluendo.com>
25003 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25004 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25005 (gst_proxy_pad_do_fixatecaps):
25006 Correctly proxy the check_pull_range function.
25008 2005-06-28 Andy Wingo <wingo@pobox.com>
25010 * tests/network-clock.scm: Removed need for slib.
25012 2005-06-28 Wim Taymans <wim@fluendo.com>
25014 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25015 (gst_basesink_preroll_queue_flush):
25016 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25017 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25018 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25019 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25020 (gst_proxy_pad_set_property):
25023 * gst/gstqueue.c: (gst_queue_init):
25024 The deprecated pad loop function is removed now.
25026 2005-06-28 Andy Wingo <wingo@pobox.com>
25028 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25029 New parameters, simulate network packet loss.
25031 * tests/network-clock-utils.scm: Initialize the RNG.
25033 2005-06-28 Wim Taymans <wim@fluendo.com>
25035 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25036 (gst_basesink_event), (gst_basesink_deactivate):
25037 Flushing the preroll queue always needs to unlock the waiters.
25039 2005-06-28 Edward Hervey <edward@fluendo.com>
25041 * gst/gstpipeline.c: (gst_pipeline_send_event):
25042 Wheen a seek was successful on a pipeline, set the stream_time to the
25043 seek offset in order to have a synchronized stream_time.
25045 2005-06-28 Wim Taymans <wim@fluendo.com>
25047 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25048 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25049 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25050 (gst_proxy_pad_do_fixatecaps):
25051 Call wrapper function instead of just calling the function
25052 pointers. This takes care of any locking and whatmore.
25054 2005-06-28 Wim Taymans <wim@fluendo.com>
25056 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25057 (gst_pad_pull_range):
25059 CONNECTED -> LINKED.
25061 2005-06-28 Andy Wingo <wingo@pobox.com>
25063 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25064 source-munging commit!!!
25066 * gst/gstobject.c (gst_object_unref, gst_object_ref)
25067 (gst_object_sink): Take gpointer arguments, not GstObject --
25068 avoids casts. Like GLib.
25070 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25073 2005-06-27 Andy Wingo <wingo@pobox.com>
25075 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25078 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25079 returns a sorted copy of the trace list.
25080 (gst_alloc_trace_print_live): New API, only prints traces with
25081 live objects. Sort the list.
25082 (gst_alloc_trace_print_all): Sort the list.
25083 (gst_alloc_trace_print): Align columns.
25085 * gst/elements/gstttypefindelement.c:
25086 * gst/elements/gsttee.c:
25087 * gst/base/gstbasesrc.c:
25088 * gst/base/gstbasesink.c:
25089 * gst/base/gstbasetransform.c:
25090 * gst/gstqueue.c: Adapt for pad activation changes.
25092 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25094 (gst_pipeline_dispose): Drop ref on sched.
25096 * gst/gstpad.c (gst_pad_init): Set the default activate func.
25097 (gst_pad_activate_default): Push mode by default.
25098 (pre_activate_switch, post_activate_switch): New stubs, things to
25099 do before and after switching activation modes on pads.
25100 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25101 the pad's activate function to choose which mode to activate.
25102 Shortcut on deactivation and call the right function directly.
25103 (gst_pad_activate_pull): New API, (de)activates a pad in pull
25105 (gst_pad_activate_push): New API, same for push mode.
25106 (gst_pad_set_activate_function)
25107 (gst_pad_set_activatepull_function)
25108 (gst_pad_set_activatepush_function): Setters for new API.
25110 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25111 Trace all miniobjects.
25112 (gst_mini_object_make_writable): Unref the arg if we copy, like
25113 gst_caps_make_writable.
25115 * gst/gstmessage.c (_gst_message_initialize): No trace init.
25117 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
25118 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25119 Adapt for new pad API.
25121 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25123 * gst/gstelement.h:
25124 * gst/gstelement.c (gst_element_iterate_src_pads)
25125 (gst_element_iterate_sink_pads): New API functions.
25127 * gst/gstelement.c (iterator_fold_with_resync): New utility,
25128 should fold into gstiterator.c in some form.
25129 (gst_element_pads_activate): Simplified via use of fold and
25130 delegation of decisions to gstpad->activate.
25132 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25135 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25136 class once in init, like gstmessage. Didn't run into this issue
25137 but it seems correct. Don't initialize a trace, gstminiobject does
25140 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25141 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25143 (assert_live_count): New util function, uses alloc traces to check
25146 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25147 To be modified when unlink drops the internal pad.
25149 2005-06-27 Wim Taymans <wim@fluendo.com>
25151 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25152 (gst_bin_change_state):
25153 Cleanup the get_state() function a little, make sure it
25154 iterates the same set of elements.
25155 Added stub iterate_state_order().
25157 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
25159 * docs/gst/gstreamer-docs.sgml:
25160 * docs/gst/gstreamer-sections.txt:
25161 * docs/gst/gstreamer.types:
25162 * docs/gst/tmpl/gstbasesink.sgml:
25163 * docs/gst/tmpl/gstbasesrc.sgml:
25164 * docs/gst/tmpl/gstbasetransform.sgml:
25165 * docs/gst/tmpl/gstelement.sgml:
25166 * docs/gst/tmpl/gstiterator.sgml:
25167 * gst/base/gstbasesrc.c:
25168 * gst/base/gstbasesrc.h:
25169 * gst/base/gstbasetransform.h:
25170 * gst/gstelement.c:
25171 * gst/gstiterator.h:
25172 adding basetransform and iterator docs
25174 2005-06-27 Andy Wingo <wingo@pobox.com>
25176 * docs/design/part-activation.txt: Notes on how activation should
25177 work -- not quite implemented yet.
25179 2005-06-25 Wim Taymans <wim@fluendo.com>
25181 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25182 At least get the chain function correct, needs more
25185 2005-06-25 Wim Taymans <wim@fluendo.com>
25187 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25188 (gst_basesink_handle_object), (gst_basesink_event),
25189 (gst_basesink_do_sync), (gst_basesink_handle_event),
25190 (gst_basesink_change_state):
25192 Right, two problems here: ghostpads don't take locks and
25193 glib _rec_mutex_lock_full() with depth==0 still locks.
25194 Catch illegal locking and g_warn them.
25196 2005-06-25 Wim Taymans <wim@fluendo.com>
25198 * check/states/sinks.c: (START_TEST), (gst_object_suite):
25199 Have to check for completion now...
25201 2005-06-25 Wim Taymans <wim@fluendo.com>
25203 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25204 (gst_basesink_handle_object), (gst_basesink_event),
25205 (gst_basesink_do_sync), (gst_basesink_handle_event),
25206 (gst_basesink_change_state):
25208 Unlock STREAM_LOCK whatever the recursion was.
25210 2005-06-25 Wim Taymans <wim@fluendo.com>
25212 * gst/base/gstbasesink.c: (gst_basesink_set_property),
25213 (gst_basesink_preroll_queue_empty),
25214 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25215 (gst_basesink_event), (gst_basesink_do_sync),
25216 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25217 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25218 (gst_basesink_change_state):
25219 Reworked the base sink, handle event and buffer serialisation
25220 correctly and removed possible deadlock.
25221 Handle EOS correctly.
25223 2005-06-25 Wim Taymans <wim@fluendo.com>
25225 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25226 (gst_pipeline_change_state):
25227 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25228 Allow elements to post EOS in the state change function.
25229 Fix up -launch, make it exit the poll loop when the
25230 pipeline actually changed state.
25231 Fix up warning parsing in -launch.
25233 2005-06-25 Wim Taymans <wim@fluendo.com>
25235 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25236 (gst_tee_sink_activate):
25237 Core takes STREAM_LOCK for us now.
25239 2005-06-25 Wim Taymans <wim@fluendo.com>
25241 * gst/gstelement.c: (gst_element_get_state_func),
25242 (gst_element_set_state):
25243 * gst/gstelement.h:
25244 * gst/gstmessage.c: (gst_message_parse_error),
25245 (gst_message_parse_warning):
25246 Keep track of current target state while performing a state
25247 change so that subclasses can do something interesting.
25248 Fix parsing of warning/error messages when GError is NULL.
25250 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
25252 * docs/gst/Makefile.am:
25253 * docs/gst/gstreamer-docs.sgml:
25254 * docs/gst/gstreamer-sections.txt:
25255 * docs/gst/gstreamer.types:
25256 * docs/gst/tmpl/gstbasesink.sgml:
25257 * docs/gst/tmpl/gstbasesrc.sgml:
25258 * docs/gst/tmpl/gstbin.sgml:
25259 * docs/gst/tmpl/gstcompat.sgml:
25260 * docs/gst/tmpl/gstfakesink.sgml:
25261 * docs/gst/tmpl/gstfakesrc.sgml:
25262 * docs/gst/tmpl/gstfilesink.sgml:
25263 * docs/gst/tmpl/gstfilesrc.sgml:
25264 * docs/gst/tmpl/gstindex.sgml:
25265 * docs/manual/appendix-quotes.xml:
25266 * gst/base/gstbasesrc.h:
25267 * gst/elements/gstfakesrc.h:
25268 * gst/gstmessage.h:
25269 start pulling in base classes and elements in our docs
25271 2005-06-24 Stefan Kost <ensonic@users.sf.net>
25273 * docs/gst/Makefile.am:
25274 * docs/libs/Makefile.am:
25275 fixed make distcheck with gtk-doc 1.3
25277 2005-06-23 Wim Taymans <wim@fluendo.com>
25279 * gst/gstelement.c: (gst_element_get_state_func),
25280 (gst_element_set_state), (gst_element_change_state):
25281 When the state did not change, also report NO_PREROLL
25284 2005-06-23 Wim Taymans <wim@fluendo.com>
25286 * gst/gstpad.c: (gst_pad_event_default):
25287 * gst/gstqueue.c: (gst_queue_loop):
25288 No unsafe task pausing please.
25290 2005-06-23 Wim Taymans <wim@fluendo.com>
25292 * gst/schedulers/threadscheduler.c:
25293 (gst_thread_scheduler_task_start),
25294 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25295 Ref the task before pushing it on the threadpool. This
25296 makes sure that we have a ref when the threadfunction is
25299 2005-06-23 Andy Wingo <wingo@pobox.com>
25301 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25302 offset is greater than the file's size.
25304 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
25305 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25306 * gst/gstobject.c (gst_object_class_init): Make the class lock
25307 recursive. Wim won't let me drop deep_notify. Decodebin works
25308 again, whoopdy doo.
25310 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25311 internal pad, and hacks accordingly. Doesn't do it on the target
25312 pad because we change its caps. Probably catches all cases of
25314 (gst_ghost_pad_set_property): Connect to notify::caps as
25317 * tests/network-clock.scm (plot-simulation): Pipe data to the
25318 elite python skript.
25320 * tests/network-clock-utils.scm (define-parameter): New macro,
25321 defines a parameter that can be set via the command line.
25322 (set-parameter!, parse-parameter-arguments): Command line args
25325 * tests/plot-data: Simple matplotlib-based plotter, takes input on
25328 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
25330 * gst/elements/gsttypefindelement.c:
25331 (gst_type_find_element_handle_event):
25332 Don't restart typefinding on a discont.
25333 * gst/gstelement.c: (gst_element_set_state):
25334 Debug spelling fix.
25335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25336 Allow changing mode of an active pad.
25337 Debug output fixes.
25338 * gst/registries/gstlibxmlregistry.c: (load_feature):
25339 Don't cast a static pad template to a normal pad template.
25341 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
25343 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25344 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25345 remove gst_strtoll completely, since it didn't actually do
25346 anything more than what g_ascii_strtoull already does.
25347 check for range errors when deserializing
25348 do a cast for the unsigned cases; but further fixing needs
25349 a decision on what the interpretation of "(int)" and
25350 deserialization should be for values that fall outside the
25351 type's boundaries (ie, refuse, or interpret as casting)
25353 2005-06-23 Wim Taymans <wim@fluendo.com>
25355 * check/Makefile.am:
25356 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25357 * docs/design/part-live-source.txt:
25358 * docs/design/part-states.txt:
25359 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25360 (gst_basesrc_set_live), (gst_basesrc_is_live),
25361 (gst_basesrc_get_range), (gst_basesrc_activate),
25362 (gst_basesrc_change_state):
25363 * gst/base/gstbasesrc.h:
25364 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25365 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25366 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25367 * gst/gstelement.c: (gst_element_get_state_func),
25368 (gst_element_set_state):
25369 * gst/gstelement.h:
25371 * tools/gst-launch.c: (event_loop), (main):
25372 Added support for live sources and other elements that
25374 Updated design docs, added live-source design doc.
25375 Implemented live source functionality in basesrc
25376 Fix error condition in _bin_get_state()
25377 Implement live source handling in -launch.
25378 Added check for live sources.
25379 Fixed case in GstBin where elements were changed state
25383 2005-06-23 Andy Wingo <wingo@pobox.com>
25385 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25386 borken refcounting.
25388 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25389 gst_caps_replace takes care of this for us.
25391 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25392 gst_pad_set_caps on the target, not just its setcaps() function.
25394 * tests/network-clock.scm:
25395 * tests/network-clock-utils.scm: A network clock simulator.
25396 Something of an algorithmic testbed before doing something in C.
25398 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25400 * check/Makefile.am:
25401 * check/gst/capslist.h:
25402 copy over from 0.8, and add two with bitmasks specified with
25404 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25405 add test to parse everything from capslist.h
25406 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25408 add test for structure deserialization
25409 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25410 add tests for deserialization of strings to int types
25411 * gst/gststructure.c: (gst_structure_nth_field_name):
25412 * gst/gststructure.h:
25413 add a way to get the name of a field referenced by index
25414 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25415 instead of checking if the resulting long long lies between
25416 min and max, we check if the long long would fit into
25417 a number of bytes for the final type.
25418 This fixes cases where a string represents 2^32 - 1, which
25419 when cast to int would be the (valid) -1, but is bigger than
25422 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25424 * gst/parse/grammar.y:
25425 add a log line for type deserialization
25427 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25429 * check/gst/gstvalue.c: (START_TEST):
25430 * gst/gstvalue.c: (gst_value_deserialize):
25431 return long long, not int, so gint64 deserialization actually
25432 works. Is there any flag that makes the compiler check this ?
25435 2005-06-22 Wim Taymans <wim@fluendo.com>
25438 Added convenience macros for setting buffers in GValue.
25440 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25442 * check/gst/.cvsignore:
25443 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25444 add a test deserializing int64, and comment part out because
25447 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25449 * check/Makefile.am:
25450 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25451 * testsuite/Makefile.am:
25452 * testsuite/caps/Makefile.am:
25453 * testsuite/caps/value_serialize.c:
25454 * testsuite/test_gst_init.c:
25455 move a value_serialize test over
25457 2005-06-20 Wim Taymans <wim@fluendo.com>
25462 * gst/gstvalue.c: (gst_value_compare_buffer),
25463 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25464 (gst_value_compare_flags), (gst_value_serialize_flags),
25465 (gst_value_deserialize_flags), (_gst_value_initialize):
25466 Fix serialisation of buffers, they are not boxed types anymore
25468 2005-06-20 Wim Taymans <wim@fluendo.com>
25470 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25471 Testcase to show error in buffer-on-caps serialisation.
25473 2005-06-20 Andy Wingo <wingo@pobox.com>
25475 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25476 will be adding to later.
25478 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25479 if its socks fill with rocks.
25480 (gst_system_clock_obtain): Set the name on object construction.
25481 Avoid double-checked locking.
25483 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
25485 * gst/gsturi.c: (gst_element_make_from_uri):
25486 Fix potential endless loop.
25488 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25490 * check/Makefile.am:
25492 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25494 move over from testsuite dir and clean up
25497 * testsuite/Makefile.am:
25498 * testsuite/tags/.cvsignore:
25499 * testsuite/tags/Makefile.am:
25500 * testsuite/tags/merge.c:
25501 remove testsuite/tags
25503 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25505 * docs/gst/gstreamer-sections.txt:
25506 * docs/gst/tmpl/gstenumtypes.sgml:
25507 * win32/gstenumtypes.c:
25508 clean up documentation build a little
25510 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25512 * check/gstcheck.h:
25513 add macros for checking refcounts on objects and caps
25514 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25515 add some more unit tests
25516 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25517 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25518 fix leaked refcounts (I hope :)) so unittest works
25522 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25524 * configure.ac: back to HEAD
25526 === release 0.9.1 ===
25528 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
25534 2005-06-17 Andy Wingo <wingo@pobox.com>
25536 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25537 assert; it's always possible that the pad gets deactivated in
25538 between the checks in gstpad.c and the implementation. Rely on
25539 finish_preroll() to return a FLUSHING or similar instead of on the
25542 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25543 clock and post an EOS message if we come out of finish_preroll in
25546 2005-06-16 David Schleef <ds@schleef.org>
25548 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25549 (gst_capsfilter_set_property): Allow NULL as possible value
25550 for filter_caps property, indicating GST_CAPS_ANY.
25552 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25554 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25556 * gst/schedulers/Makefile.am:
25558 * gstreamer.spec.in:
25561 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25563 * gstreamer.spec.in:
25566 2005-06-08 Andy Wingo <wingo@pobox.com>
25568 * gst/gstutils.c: RPAD fixes all around.
25569 (gst_element_link_pads): Refcounting fixes.
25571 * tools/gst-inspect.c:
25572 * tools/gst-xmlinspect.c:
25574 * gst/base/gsttypefindhelper.c:
25575 * gst/base/gstbasesink.c:
25576 * gst/gstqueue.c: RPAD fixes.
25578 * gst/gstghostpad.h:
25579 * gst/gstghostpad.c: New ghost pad implementation as full proxy
25580 pads. The tricky thing is they provide both source and sink
25581 interfaces, since they proxy the internal pad for the external
25582 pad, and vice versa. Implement with lower-level ProxyPad objects,
25583 with the interior proxy pad as a child of the exterior ghost pad.
25584 Should write a doc on this.
25586 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25587 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25590 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25591 pads are real pads. No ghost pads in this file. Not documenting
25592 the myriad s/RPAD/PAD/ and REALIZE fixes.
25593 (gst_pad_class_init): Add properties for "direction" and
25594 "template". Both are construct-only, so they can't change during
25595 the life of the pad. Fixes properly deriving from GstPad.
25596 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25597 derived objects, just set properties when creating the objects via
25599 (gst_pad_get_parent): Implement as a function, return NULL if the
25600 parent is not an element.
25601 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25602 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25604 * gst/gstobject.c (gst_object_class_init): Make name a construct
25605 property. Don't set it in the object init.
25607 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25608 with UNKNOWN direction.
25609 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25610 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25611 (gst_element_remove_pad): Remove ghost-pad special cases.
25612 (gst_element_pads_activate): Remove rpad cruft.
25614 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25615 catch the pad's-parent-not-an-element case.
25617 * gst/gst.h: Include gstghostpad.h.
25619 * gst/gst.c (init_post): No more real, ghost pads.
25621 * gst/Makefile.am: Add gstghostpad.[ch].
25623 * check/Makefile.am:
25624 * check/gst/gstbin.c:
25625 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25626 into a bin creates ghost pads, and that the refcounts are right.
25627 Partly moved from gstbin.c.
25629 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25631 * check/gst-libs/.cvsignore:
25632 * check/gst/.cvsignore:
25633 * check/pipelines/.cvsignore:
25635 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25636 (START_TEST), (cleanup_suite), (main):
25637 add some tests related to cleanup after running pipelines
25639 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25641 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25642 add a testsuite for GstBuffer
25644 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25646 * gst/gstminiobject.h:
25647 add defines for accessing the refcount
25649 2005-06-03 Stefan Kost <ensonic@users.sf.net>
25651 * Makefile.am: added support for html unit test coverage reports
25653 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
25655 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25656 Free existing caps if the capsfilter changes. Add a FIXME about
25657 setting those caps on the pads.
25659 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25660 Before adding a ghost pad to a parent bin, check that there isn't
25661 already one for the element on the bin. Prevents infinite recursion
25662 when using decodebin in parse pipelines. Andy says he'll rewrite the
25663 way this works anyway, so ignore the hack.
25665 2005-06-02 Andy Wingo <wingo@pobox.com>
25667 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25668 file size, pass it on to the type find helper.
25670 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25671 segment_start and segment_end properly according to the seek
25672 method. Segment_end is still a bit flaky because offset can be
25673 negative for CUR and END cases, but it takes -1 as an "unset"
25676 2005-06-02 Wim Taymans <wim@fluendo.com>
25678 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25679 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25680 (gst_basesink_activate):
25681 * gst/base/gstbasesink.h:
25682 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25683 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25684 (gst_pad_query), (gst_pad_start_task):
25686 * gst/gstqueue.c: (gst_queue_bufferalloc),
25687 (gst_queue_handle_sink_event), (gst_queue_chain):
25688 Bufferalloc: return GstFlowReturn to more accuratly report
25689 why allocation failed.
25691 2005-06-02 Wim Taymans <wim@fluendo.com>
25693 * gst/gstpipeline.c: (gst_pipeline_send_event):
25694 Take snapshot of state without blocking.
25696 2005-06-02 Wim Taymans <wim@fluendo.com>
25698 * docs/design/part-TODO.txt:
25699 * docs/design/part-caps.txt:
25700 * docs/design/part-clocks.txt:
25701 * docs/design/part-negotiation.txt:
25702 * docs/design/part-preroll.txt:
25705 2005-05-30 Wim Taymans <wim@fluendo.com>
25707 * gst/elements/gstidentity.c: (gst_identity_event),
25708 (gst_identity_transform), (gst_identity_get_property):
25709 Protect last_message property as it is accessed from
25712 2005-05-30 Wim Taymans <wim@fluendo.com>
25714 * gst/gstelement.c: (gst_element_init),
25715 (gst_element_pads_activate), (gst_element_change_state):
25716 Slicker pad activation code.
25718 2005-05-30 Wim Taymans <wim@fluendo.com>
25721 * gst/gstelement.h:
25722 * gst/gstelementfactory.h:
25724 Move elementfactory methods to separate .h file.
25726 2005-05-30 Wim Taymans <wim@fluendo.com>
25728 * docs/design/part-overview.txt:
25729 * gst/gstsystemclock.h:
25730 Small typo fixes, doc updates.
25732 2005-05-30 Wim Taymans <wim@fluendo.com>
25734 * gst/gst.c: (gst_init_get_popt_table), (init_post),
25735 (init_popt_callback):
25736 Remove cpu-opt flag.
25738 2005-05-30 Wim Taymans <wim@fluendo.com>
25740 * gst/gstbuffer.c: (gst_subbuffer_finalize),
25741 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25743 Avoid typechecking in places where not needed.
25744 Added accessor for malloc_data.
25746 2005-05-30 Wim Taymans <wim@fluendo.com>
25748 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25749 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25750 (gst_pad_configure_sink), (gst_pad_configure_src),
25751 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25752 (gst_pad_start_task):
25753 Propagate errors from _set_caps() in configure_src/sink
25754 functions instead of returning TRUE.
25755 FLUSH events can travel up and downstream
25758 2005-05-30 Wim Taymans <wim@fluendo.com>
25760 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25761 (gst_basesink_activate):
25762 Handle EOS in preroll.
25764 2005-05-30 Wim Taymans <wim@fluendo.com>
25766 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25767 (gst_queue_loop), (gst_queue_handle_src_event):
25768 Remove old pieces of code
25769 Flushing the queue in an upstream event is a very bad idea.
25771 2005-05-26 Andy Wingo <wingo@pobox.com>
25773 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25774 gst_value_set_mini_object so as to add a ref on the object (which
25775 will be removed when the value is unset).
25777 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25778 arg type in ::handoff.
25780 * gst/gstelement.c (gst_element_change_state): Also deactivate
25781 pads in READY->NULL, just in case the element didn't make it to
25782 PAUSED. Wingo tested, Wim approved.
25784 2005-05-26 Wim Taymans <wim@fluendo.com>
25786 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25787 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25788 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25789 A flushing pad cannot be used to alloc_buffer from.
25791 2005-05-26 Wim Taymans <wim@fluendo.com>
25793 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25794 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25795 (gst_bus_source_dispatch), (gst_bus_source_finalize),
25796 (gst_bus_create_watch), (gst_bus_add_watch_full):
25798 Implement a real GSource and use g_main_context_wakeup() to
25799 signal new messages instead of the socketpair.
25801 2005-05-25 Wim Taymans <wim@fluendo.com>
25803 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25804 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
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 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25809 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25810 (gst_queue_sink_activate), (gst_queue_src_activate),
25811 (gst_queue_change_state):
25813 Fix state changes for non sinks. We now change sinks, then elements
25814 with unconnected srcpads, then the rest.
25815 More efficient queue unlocking in flush and state changes.
25816 Set the pad activate mode even if it does not have an activate
25819 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25821 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25822 Don't go in pull mode for non-seekable sources.
25823 * gst/elements/gsttypefindelement.h:
25824 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25825 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25826 (free_entry), (stop_typefinding),
25827 (gst_type_find_element_handle_event), (find_peek),
25828 (gst_type_find_element_chain), (do_pull_typefind),
25829 (gst_type_find_element_change_state):
25830 Allow typefinding (w/o seeking) in push-mode, simplified version
25831 of what was in 0.8.
25832 * gst/gstutils.c: (gst_buffer_join):
25834 gst_buffer_join() from 0.8.
25836 2005-05-25 Wim Taymans <wim@fluendo.com>
25838 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25839 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25840 (gst_pad_send_event), (gst_pad_start_task):
25841 Disable attempt at mode switching until it is figured out.
25843 2005-05-25 Wim Taymans <wim@fluendo.com>
25845 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25846 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25847 (gst_basesink_finish_preroll), (gst_basesink_chain),
25848 (gst_basesink_loop), (gst_basesink_activate),
25849 (gst_basesink_change_state):
25850 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25851 (gst_basesrc_get_range), (gst_basesrc_loop),
25852 (gst_basesrc_activate):
25853 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25854 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25855 (gst_real_pad_init), (gst_real_pad_set_property),
25856 (gst_real_pad_get_property), (gst_pad_set_active),
25857 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25858 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25859 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25860 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25861 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25862 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25863 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25864 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25865 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25866 (gst_pad_stop_task):
25868 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25869 (gst_queue_loop), (gst_queue_src_activate):
25870 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25871 (gst_task_get_state):
25873 * gst/schedulers/threadscheduler.c:
25874 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25875 Implement gst_pad_pause/start/stop_task(), take STREAM lock
25877 Remove ACTIVE pad flag, use FLUSHING everywhere
25878 Added _pad_chain(), _pad_get_range() to call chain/getrange
25880 Add locks around IS_FLUSHING when reading.
25881 Take STREAM lock in chain(), get_range() functions so plugins
25882 don't need to take it anymore.
25886 2005-05-25 Wim Taymans <wim@fluendo.com>
25888 * tools/gst-launch.c: (event_loop):
25889 Unref message after using its contents instead of
25892 2005-05-24 Wim Taymans <wim@fluendo.com>
25894 * docs/design/draft-ghostpads.txt:
25895 * docs/design/draft-push-pull.txt:
25896 * docs/design/draft-query.txt:
25897 * docs/design/part-overview.txt:
25898 Docs updates, added general overview doc.
25900 2005-05-21 David Schleef <ds@schleef.org>
25902 * docs/gst/tmpl/old/GstBin.sgml:
25903 * docs/gst/tmpl/old/GstBuffer.sgml:
25904 * docs/gst/tmpl/old/GstCaps.sgml:
25905 * docs/gst/tmpl/old/GstClock.sgml:
25906 * docs/gst/tmpl/old/GstCompat.sgml:
25907 * docs/gst/tmpl/old/GstData.sgml:
25908 * docs/gst/tmpl/old/GstElement.sgml:
25909 * docs/gst/tmpl/old/GstEvent.sgml:
25910 * docs/gst/tmpl/old/GstIndex.sgml:
25911 * docs/gst/tmpl/old/GstStructure.sgml:
25912 * docs/gst/tmpl/old/GstTag.sgml:
25913 * docs/gst/tmpl/old/cothreads.sgml:
25914 * docs/gst/tmpl/old/cothreads_compat.sgml:
25915 * docs/gst/tmpl/old/gettext.sgml:
25916 * docs/gst/tmpl/old/gobject2gtk.sgml:
25917 * docs/gst/tmpl/old/grammar.tab.sgml:
25918 * docs/gst/tmpl/old/gst-i18n-app.sgml:
25919 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25920 * docs/gst/tmpl/old/gst_private.sgml:
25921 * docs/gst/tmpl/old/gstaggregator.sgml:
25922 * docs/gst/tmpl/old/gstarch.sgml:
25923 * docs/gst/tmpl/old/gstatomic_impl.sgml:
25924 * docs/gst/tmpl/old/gstbufferstore.sgml:
25925 * docs/gst/tmpl/old/gstdata_private.sgml:
25926 * docs/gst/tmpl/old/gstdisksink.sgml:
25927 * docs/gst/tmpl/old/gstdisksrc.sgml:
25928 * docs/gst/tmpl/old/gstelementfactory.sgml:
25929 * docs/gst/tmpl/old/gstextratypes.sgml:
25930 * docs/gst/tmpl/old/gstfakesink.sgml:
25931 * docs/gst/tmpl/old/gstfakesrc.sgml:
25932 * docs/gst/tmpl/old/gstfdsink.sgml:
25933 * docs/gst/tmpl/old/gstfdsrc.sgml:
25934 * docs/gst/tmpl/old/gstfilesink.sgml:
25935 * docs/gst/tmpl/old/gstfilesrc.sgml:
25936 * docs/gst/tmpl/old/gsthttpsrc.sgml:
25937 * docs/gst/tmpl/old/gstidentity.sgml:
25938 * docs/gst/tmpl/old/gstindexfactory.sgml:
25939 * docs/gst/tmpl/old/gstmarshal.sgml:
25940 * docs/gst/tmpl/old/gstmd5sink.sgml:
25941 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25942 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25943 * docs/gst/tmpl/old/gstpadtemplate.sgml:
25944 * docs/gst/tmpl/old/gstpipefilter.sgml:
25945 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25946 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25947 * docs/gst/tmpl/old/gstshaper.sgml:
25948 * docs/gst/tmpl/old/gstspider.sgml:
25949 * docs/gst/tmpl/old/gstspideridentity.sgml:
25950 * docs/gst/tmpl/old/gststatistics.sgml:
25951 * docs/gst/tmpl/old/gsttee.sgml:
25952 * docs/gst/tmpl/old/gsttimecache.sgml:
25953 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25954 * docs/gst/tmpl/old/gstxmlregistry.sgml:
25955 * docs/gst/tmpl/old/gthread-cothreads.sgml:
25956 * docs/gst/tmpl/old/types.sgml:
25957 I didn't intend to add these or check them in.
25959 2005-05-19 David Schleef <ds@schleef.org>
25961 * configure.ac: Use -no-common everywhere. In a sane world, it
25962 would be the default in libtool, because without it, you can't
25963 build DLLs on Windows.
25964 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25965 * docs/gst/gstreamer-sections.txt:
25966 * docs/gst/tmpl/gstcpu.sgml:
25967 * docs/gst/tmpl/gstdata.sgml:
25968 * docs/gst/tmpl/gstthread.sgml:
25970 2005-05-19 David Schleef <ds@schleef.org>
25972 * gst/gstminiobject.c: (gst_value_set_mini_object),
25973 (gst_value_take_mini_object), (gst_value_get_mini_object):
25974 * gst/gstminiobject.h: Add GValue set/get functions.
25976 2005-05-19 Wim Taymans <wim@fluendo.com>
25978 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25979 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25980 (gst_subbuffer_init), (gst_buffer_is_span_fast):
25982 * gst/gstbus.c: (gst_bus_post):
25983 * gst/gstelement.c: (gst_element_get_random_pad):
25984 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25985 Make subbufer unref the parent in finalize.
25986 some more debugging info.
25989 2005-05-19 Wim Taymans <wim@fluendo.com>
25991 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25992 (gst_basesink_init), (gst_basesink_finalize),
25993 (gst_basesink_activate), (gst_basesink_change_state):
25994 Don't free preroll queue too early.
25996 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26000 Hi, I'm outdated. Please shoot me.
26002 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26004 * gst/gstpipeline.c: (gst_pipeline_send_event):
26005 Do not access variables after they have been deleted.
26007 2005-05-19 Wim Taymans <wim@fluendo.com>
26009 * tools/gst-inspect.c: (print_plugin_features):
26010 A plugin feature does unfortunatly not use the
26013 2005-05-18 Wim Taymans <wim@fluendo.com>
26015 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26016 Port _span() functions to new subbuffers.
26018 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26020 * gst/gstbin.c: (gst_bin_add_func):
26021 Fix clock settery in bins when adding kids after the clock has
26024 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26026 * gst/elements/gstidentity.c: (gst_identity_class_init):
26027 Workaround until signals support GstMiniObject.
26029 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
26032 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26034 2005-05-18 Wim Taymans <wim@fluendo.com>
26036 * gst/base/Makefile.am:
26037 * gst/base/gstadapter.c: (gst_adapter_base_init),
26038 (gst_adapter_class_init), (gst_adapter_init),
26039 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26040 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26041 (gst_adapter_flush), (gst_adapter_available),
26042 (gst_adapter_available_fast):
26043 * gst/base/gstadapter.h:
26044 Ported and added adapter to the base classes.
26046 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26049 * gst/gstmessage.c:
26050 Make sure the class is reffed/unreffed once before threads can be
26051 used. Fixes #304551.
26053 2005-05-17 Wim Taymans <wim@fluendo.com>
26055 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26056 (gst_basesink_chain_unlocked), (gst_basesink_activate):
26057 * gst/gstminiobject.c: (gst_mini_object_get_type),
26058 (gst_mini_object_free):
26059 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26060 (gst_pad_push), (gst_pad_push_event):
26061 * gst/gstqueue.c: (gst_queue_change_state):
26062 Don't queue buffers in basesink when we are flushing.
26063 Unref buffer when flushing in basesink.
26064 Flush queue when going to READY
26065 Unref buffer when _push() returns an error.
26066 Don't free MiniObject instance when refcount is incremented
26067 in _finalize() so that we can recover objects.
26069 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
26071 * docs/manual/advanced-schedulers.xml:
26072 * docs/manual/appendix-checklist.xml:
26073 * docs/pwg/advanced-clock.xml:
26074 * docs/pwg/advanced-interfaces.xml:
26075 * docs/pwg/advanced-request.xml:
26076 * docs/pwg/advanced-types.xml:
26077 * docs/pwg/intro-preface.xml:
26078 * examples/plugins/example.c: (gst_example_get_type),
26079 (gst_example_class_init), (gst_example_chain),
26080 (gst_example_set_property), (gst_example_get_property),
26081 (gst_example_change_state), (plugin_init):
26082 * examples/plugins/example.h:
26085 2005-05-17 Wim Taymans <wim@fluendo.com>
26087 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26088 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26089 * gst/gstqueue.c: (gst_queue_change_state):
26090 Clear queue when going to READY.
26091 Remove IN_SETCAPS flag too.
26093 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
26095 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26096 Remove implicit cast from gboolean to GstElementStateReturn;
26097 make sure we still return failure in paused => ready case if
26098 the parent class fails to change state and our own stop
26101 2005-05-17 Wim Taymans <wim@fluendo.com>
26103 * tools/gst-launch.c: (event_loop):
26104 Message was unreffed too soon.
26106 2005-05-16 Andy Wingo <wingo@pobox.com>
26108 * gst/gstbin.c (sink_iterator_filter): Err... um...
26110 * check/gst/gstbin.c (test_ghost_pads): New test for the
26111 ghosting-if-elements-not-in-same-bin behavior.
26113 2005-05-16 David Schleef <ds@schleef.org>
26115 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26116 accessing refcount directly.
26118 2005-05-15 David Schleef <ds@schleef.org>
26120 * check/Makefile.am: remove GstData checks
26121 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26122 * gst/Makefile.am: add miniobject, remove data
26123 * gst/gst.h: add miniobject, remove data
26124 * gst/gstdata.c: remove
26125 * gst/gstdata.h: remove
26126 * gst/gstdata_private.h: remove
26127 * gst/gsttypes.h: remove GstEvent and GstMessage
26128 * gst/gstelement.c: (gst_element_post_message): fix for API changes
26129 * gst/gstmarshal.list: change BOXED -> OBJECT
26131 Implement GstMiniObject.
26132 * gst/gstminiobject.c:
26133 * gst/gstminiobject.h:
26135 Modify to be subclasses of GstMiniObject.
26136 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26137 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26138 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26139 (gst_subbuffer_get_type), (gst_subbuffer_init),
26140 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26143 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26144 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26145 (_gst_event_copy), (gst_event_new):
26147 * gst/gstmessage.c: (_gst_message_initialize),
26148 (gst_message_get_type), (gst_message_class_init),
26149 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26150 (gst_message_new), (gst_message_new_error),
26151 (gst_message_new_warning), (gst_message_new_tag),
26152 (gst_message_new_state_changed), (gst_message_new_application):
26153 * gst/gstmessage.h:
26154 * gst/gstprobe.c: (gst_probe_perform),
26155 (gst_probe_dispatcher_dispatch):
26157 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26158 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26159 (_gst_query_copy), (gst_query_new):
26161 Update elements for GstData -> GstMiniObject changes
26163 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26164 (gst_queue_chain), (gst_queue_loop):
26165 * gst/elements/gstbufferstore.c:
26166 (gst_buffer_store_add_buffer_func),
26167 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26168 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26169 (gst_fakesink_render):
26170 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26171 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26172 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26173 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26174 (gst_filesrc_create_read):
26175 * gst/elements/gstidentity.c: (gst_identity_class_init):
26176 * gst/elements/gsttypefindelement.c:
26177 (gst_type_find_element_src_event), (free_entry_buffers),
26178 (gst_type_find_element_handle_event):
26179 * libs/gst/dataprotocol/dataprotocol.c:
26180 (gst_dp_header_from_buffer):
26181 * libs/gst/dataprotocol/dataprotocol.h:
26182 * libs/gst/dataprotocol/dp-private.h:
26184 2005-05-15 David Schleef <ds@schleef.org>
26186 * gst/elements/gstelements.c: Don't include headers that were
26189 2005-05-15 David Schleef <ds@schleef.org>
26191 * gst/elements/Makefile.am: Remove some elements that don't
26192 need to be in the core (or even exist at all).
26193 * gst/elements/gstaggregator.c:
26194 * gst/elements/gstaggregator.h:
26195 * gst/elements/gstmd5sink.c:
26196 * gst/elements/gstmd5sink.h:
26197 * gst/elements/gstmultifilesrc.c:
26198 * gst/elements/gstmultifilesrc.h:
26199 * gst/elements/gstpipefilter.c:
26200 * gst/elements/gstpipefilter.h:
26201 * gst/elements/gstshaper.c:
26202 * gst/elements/gstshaper.h:
26203 * gst/elements/gststatistics.c:
26204 * gst/elements/gststatistics.h:
26205 * po/POTFILES.in: Remove above files.
26207 2005-05-14 Andy Wingo <wingo@pobox.com>
26209 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26210 so as to get the refs right.
26211 (sink_iterator_filter): New function, wraps bin_element_is_sink,
26212 unreffing objects that don't pass the filter.
26214 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26215 gst_element_set_bus.
26216 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26217 normal cases, this will destroy the bus.
26219 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26222 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26225 2005-05-13 Andy Wingo <wingo@pobox.com>
26227 * gst/gstutils.c (gst_element_link_pads): Instead of calling
26228 gst_pad_link, call pad_link_maybe_ghosting,
26229 (pad_link_maybe_ghosting): Links pads, making sure that the
26230 elements being linked are in the same bin.
26231 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26232 Helpers for pad_link_maybe_ghosting.
26234 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26237 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26239 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26241 * docs/design/part-element-source.txt:
26244 2005-05-12 Wim Taymans <wim@fluendo.com>
26246 * gst/base/gstbasesink.c: (gst_basesink_init),
26247 (gst_basesink_activate):
26248 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26249 (gst_basesrc_is_seekable):
26250 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26251 (bin_element_is_sink), (gst_bin_change_state):
26252 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26253 * gst/gstelement.h:
26254 Identify sinks by their flag to avoid overly complicated
26256 Do state changes even for elements not reachable from the
26258 BaseSink is a sink now :)
26259 Some more debugging info in the basesrc.
26262 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26264 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26265 Implement _query on a bin, similar to _send_event.
26267 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
26269 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26270 Discont event offset format should be GST_FORMAT_BYTES,
26271 not GST_FORMAT_TIME.
26273 2005-05-12 Wim Taymans <wim@fluendo.com>
26275 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26276 Same fix as Ronald's but without the signal.
26278 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26280 * gst/gstutils.c: (gst_element_query_position):
26281 No, an element is not a pad.
26283 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26285 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26286 (gst_bin_get_state):
26287 If a child is removed from a bin while we remove the child from
26288 the bin and while we're retrieving its state, signal this to the
26289 get_state function so we abort the wait (instead of waiting for
26290 a timeout) and can immediately re-iterate over all other elements.
26292 2005-05-12 Wim Taymans <wim@fluendo.com>
26294 * gst/base/Makefile.am:
26295 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26296 (gst_basesrc_start):
26297 * gst/base/gstbasesrc.h:
26298 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26299 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26300 (gst_pushsrc_init), (gst_pushsrc_create):
26301 * gst/base/gstpushsrc.h:
26302 Added is_seekable to BaseSrc
26303 Added simple PushSrc.
26305 2005-05-11 Wim Taymans <wim@fluendo.com>
26307 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26308 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26309 (gst_element_link_pads), (gst_element_query_position),
26310 (gst_element_query_convert), (intersect_caps_func),
26311 (gst_pad_query_position), (gst_pad_query_convert):
26312 Fix refcounting in utils function.
26313 No point in trying to activate a pad when it's added, it could
26314 be added from the state change function and then we deadlock, the
26315 element has to decide what to do.
26317 2005-05-10 Andy Wingo <wingo@pobox.com>
26319 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26320 *all* the arguments.
26322 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26323 stream lock if it's a FLUSH_DONE; normal flushes don't get the
26324 lock (according to the docs -- if this is wrong change the docs).
26326 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26327 flush messages in the NULL state.
26329 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26330 message immediately and return.
26331 (gst_bus_set_flushing): New function. If a bus is flushing, it
26332 flushes out any queued messages and immediately unrefs new
26333 messages. This is so when an element goes to NULL, all of the
26334 unhandled messages coming from it can be freed, and their
26335 references to the element dropped. In other words: message source
26336 ref considered harmful :P
26338 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26339 we're finished with it.
26341 * gst/gstmessage.c (gst_message_new_state_changed):
26343 2005-05-10 Wim Taymans <wim@fluendo.com>
26345 * gst/gstvalue.c: (gst_value_compare_flags),
26346 (gst_value_serialize_flags), (gst_value_deserialize_flags),
26347 (_gst_value_initialize):
26348 Added flags serialize/deserialize/compare code.
26350 2005-05-09 Andy Wingo <wingo@pobox.com>
26352 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26353 Intersect the peer's caps with our caps.
26355 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26357 * gst/base/gsttypefindhelper.c: (helper_find_peek):
26358 * gst/elements/gsttypefindelement.c: (find_peek):
26359 Handle negative offsets better. Fixes decodebin.
26361 2005-05-09 Wim Taymans <wim@fluendo.com>
26363 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26364 (gst_base_transform_event):
26365 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26366 Implement accept_caps.
26367 Fix silly lock/unlock mismatch in base class.
26369 2005-05-09 Wim Taymans <wim@fluendo.com>
26371 * docs/design/draft-push-pull.txt:
26372 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26373 * gst/elements/gstfilesink.c: (gst_filesink_init),
26374 (gst_filesink_query):
26375 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26376 (gst_type_find_handle_src_query), (find_element_get_length):
26377 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26378 * gst/gstelement.h:
26379 * gst/gstmessage.c:
26380 * gst/gstmessage.h:
26381 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26382 (gst_real_pad_get_caps_unlocked),
26383 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26384 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26385 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26386 (gst_real_pad_dispose), (gst_real_pad_finalize),
26387 (gst_pad_load_and_link), (gst_pad_save_thyself),
26388 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26389 (gst_pad_check_pull_range), (gst_pad_pull_range),
26390 (gst_pad_template_get_type), (gst_pad_template_class_init),
26391 (gst_pad_template_init), (gst_pad_template_dispose),
26392 (name_is_valid), (gst_static_pad_template_get),
26393 (gst_pad_template_new), (gst_static_pad_template_get_caps),
26394 (gst_pad_template_get_caps), (gst_pad_set_element_private),
26395 (gst_pad_get_element_private), (gst_pad_start_task),
26396 (gst_pad_pause_task), (gst_pad_stop_task),
26397 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26398 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26399 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26400 (gst_ghost_pad_new):
26402 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26403 (gst_query_new_position), (gst_query_set_position),
26404 (gst_query_parse_position), (gst_query_new_convert),
26405 (gst_query_set_convert), (gst_query_parse_convert):
26407 * gst/gstqueryutils.c:
26408 * gst/gstqueryutils.h:
26409 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26410 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26411 (gst_queue_handle_src_query):
26412 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26413 (gst_element_query_position), (gst_element_query_convert),
26414 (intersect_caps_func), (gst_pad_query_position),
26415 (gst_pad_query_convert):
26417 * tools/gst-inspect.c: (print_pad_info):
26418 * tools/gst-xmlinspect.c: (print_element_info):
26419 Remove old query functions. Ported old code.
26420 Added position/convert helper functions to gstutils.
26421 Reordered gstpad.c code, grouping relevant things.
26422 Remove gst_message_new(), always need to speficy a specific
26426 2005-05-09 Andy Wingo <wingo@pobox.com>
26428 * gst/gstiterator.h: Add some includes.
26430 * gst/gstqueryutils.h: Include more headers.
26433 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26434 some uses of gst_pad_query.
26436 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26437 NULL out parameters.
26438 (gst_query_new_position): New proc, allocates a new position
26441 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26442 gstqueryutils.c to the build.
26444 * gst/gststructure.c (gst_structure_set_valist): Implement with
26445 the generic G_VALUE_COLLECT.
26447 2005-05-08 Edward Hervey <bilboed@bilboed.com>
26449 * gst/Makefile.am: (gst_headers):
26450 Added gstqueryutils.h to the list of headers to install, that was
26451 a 'nachty' move wingo :)
26453 2005-05-06 Andy Wingo <wingo@pobox.com>
26456 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26457 GstData, init a memchunk.
26458 (standard_definitions): Add a few query types, deprecate a few.
26459 (gst_query_get_type): New proc.
26460 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26462 (gst_query_new_application, gst_query_get_structure): New public
26465 * docs/design/draft-query.txt: Removed LINKS from the query types,
26466 because all the rest can be dispatched to other pads -- seemed
26467 ugly to have a query that couldn't be dispatched. internal_links
26468 is fine as a pad method.
26470 * gst/gstpad.h: Add query2 as a pad method, add the new functions
26471 in gstpad.c, but maintain binary compatibility for the moment.
26472 Will fix before 0.9 is out.
26474 * gst/gstqueryutils.c:
26475 * gst/gstqueryutils.h: New files, implement 3 methods for each
26476 query type: parse_query, parse_response, and set. Probably need an
26479 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26481 * gst/elements/gstfilesink.c (gst_filesink_query2):
26482 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26483 query_types, and formats methods.
26485 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26486 (gst_pad_set_query2_function): New functions.
26487 (gst_real_pad_init): Set query2_default as the default query2
26488 function. Basically just dispatches to internally linked pads.
26492 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26493 without using the atomic operations. Only one thread can possibly
26494 be accessing the data at this point. Changed so as to avoid
26495 gst_atomic operations.
26497 2005-05-06 Wim Taymans <wim@fluendo.com>
26499 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26500 Also set caps if we use the fallback buffer alloc.
26502 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
26504 * docs/gst/Makefile.am:
26505 * docs/gst/gstreamer-docs.sgml:
26506 * docs/gst/gstreamer-sections.txt:
26507 * docs/gst/tmpl/gstatomic.sgml:
26508 * docs/gst/tmpl/gstmemchunk.sgml:
26509 * testsuite/elements/struct_i386.h:
26510 * win32/GStreamer.vcproj:
26512 Purge GstAtomic stuff from docs and win32 makefiles as well
26514 2005-05-06 Wim Taymans <wim@fluendo.com>
26516 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26517 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26518 * gst/gstpad.c: (gst_pad_peer_get_caps):
26519 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26520 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26521 (gst_queue_src_activate), (gst_queue_change_state):
26523 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26524 (intersect_caps_func):
26525 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26526 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26527 Some fixes for the peer_get_caps() change.
26529 2005-05-06 Wim Taymans <wim@fluendo.com>
26531 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26532 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26533 (gst_basesink_activate):
26534 Actually do something with error codes returned from the push
26537 2005-05-06 Wim Taymans <wim@fluendo.com>
26539 * docs/design/part-element-sink.txt:
26540 * docs/design/part-element-source.txt:
26541 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26542 (gst_basesink_event), (gst_basesink_activate):
26543 * gst/base/gstbasesink.h:
26544 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26545 (gst_basesrc_activate):
26546 * gst/base/gstbasesrc.h:
26547 * gst/gstelement.c: (gst_element_pads_activate):
26548 Some more documentation.
26549 Fixed scheduling decision in _pads_activate().
26551 2005-05-05 Andy Wingo <wingo@pobox.com>
26553 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26556 2005-05-05 Wim Taymans <wim@fluendo.com>
26558 * gst/base/Makefile.am:
26559 * gst/base/gstbasesink.h:
26560 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26561 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26562 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26563 (gst_collectpads_class_init), (gst_collectpads_init),
26564 (gst_collectpads_finalize), (gst_collectpads_new),
26565 (gst_collectpads_set_function), (gst_collectpads_add_pad),
26566 (find_pad), (gst_collectpads_remove_pad),
26567 (gst_collectpads_is_active), (gst_collectpads_collect),
26568 (gst_collectpads_collect_range), (gst_collectpads_start),
26569 (gst_collectpads_stop), (gst_collectpads_peek),
26570 (gst_collectpads_pop), (gst_collectpads_available),
26571 (gst_collectpads_read), (gst_collectpads_flush),
26572 (gst_collectpads_chain):
26573 * gst/base/gstcollectpads.h:
26574 * gst/elements/Makefile.am:
26575 * gst/elements/gstelements.c:
26576 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26577 (gst_fakesink_get_times), (gst_fakesink_event),
26578 (gst_fakesink_preroll), (gst_fakesink_render):
26579 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26580 (gst_filesink_init), (gst_filesink_set_location),
26581 (gst_filesink_open_file), (gst_filesink_close_file),
26582 (gst_filesink_pad_query), (gst_filesink_event),
26583 (gst_filesink_render), (gst_filesink_change_state):
26584 * gst/elements/gstfilesink.h:
26585 Added object to help in making collect pad based elements.
26587 Make event function in sink baseclass return gboolean.
26589 2005-05-05 Wim Taymans <wim@fluendo.com>
26591 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26592 (gst_bin_get_by_name):
26594 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26595 (gst_clock_finalize):
26596 * gst/gstdata.c: (gst_data_replace):
26598 * gst/gstelement.c: (gst_element_request_pad),
26599 (gst_element_pads_activate):
26600 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26601 (gst_object_unref):
26602 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26603 (gst_pad_set_checkgetrange_function),
26604 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26605 (gst_pad_check_pull_range), (gst_pad_pull_range),
26606 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26607 (gst_pad_pause_task), (gst_pad_stop_task):
26608 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26609 (gst_element_request_pad), (gst_pad_proxy_getcaps):
26610 Fix name lookup in GstBin.
26611 Added _data_replace() function and _buffer_replace()
26612 Use finalize method to clean up clock.
26613 Fix refcounting on request pads.
26614 Fix pad schedule mode error.
26615 Some more object refcounting debug info,
26618 2005-05-04 Andy Wingo <wingo@pobox.com>
26620 * check/Makefile.am:
26621 * docs/gst/tmpl/gstatomic.sgml:
26622 * docs/gst/tmpl/gstplugin.sgml:
26623 * gst/base/gstbasesink.c: (gst_basesink_activate):
26624 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26625 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26626 (gst_basesrc_query), (gst_basesrc_set_property),
26627 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26628 (gst_basesrc_activate):
26629 * gst/base/gstbasesrc.h:
26630 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26631 (gst_base_transform_src_activate):
26632 * gst/elements/gstelements.c:
26633 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26634 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26635 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26636 * gst/elements/gsttypefindelement.c: (find_element_get_length),
26637 (gst_type_find_element_checkgetrange),
26638 (gst_type_find_element_activate):
26639 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26640 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26641 (gst_caps_load_thyself):
26642 * gst/gstelement.c: (gst_element_pads_activate),
26643 (gst_element_save_thyself), (gst_element_restore_thyself):
26644 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26645 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26647 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26648 (gst_xml_parse_file), (gst_xml_parse_memory),
26649 (gst_xml_get_element), (gst_xml_make_element):
26650 * gst/indexers/gstfileindex.c: (gst_file_index_load),
26651 (_file_index_id_save_xml), (gst_file_index_commit):
26652 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26653 (read_enum), (load_pad_template), (load_feature), (load_plugin),
26655 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26656 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26657 * tools/gst-complete.c: (main):
26658 * tools/gst-compprep.c: (main):
26659 * tools/gst-inspect.c: (print_element_properties_info):
26660 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26661 * tools/gst-xmlinspect.c: (print_element_properties):
26664 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
26666 * gst/gstplugin.c: (gst_plugin_check_module),
26667 (gst_plugin_check_file), (gst_plugin_load_file):
26668 apply patch from #172526 to make register work on MacOSX
26670 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26672 * docs/gst/tmpl/gstconfig.sgml:
26673 * gst/gstconfig.h.in:
26674 move documentation for some symbols. Add doc for GST_PTR_FORMAT
26675 * testsuite/debug/printf_extension.c: (main):
26676 Do not use GST_PTR_FORMAT on pointers to types with
26677 sizeof < sizeof(gpointer). Fixes test on 64-bit
26678 * testsuite/elements/property.h:
26679 use correct printf format
26681 2005-05-02 Wim Taymans <wim@fluendo.com>
26683 * docs/design/draft-push-pull.txt:
26684 * docs/design/draft-query.txt:
26685 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26686 (gst_basesrc_start):
26687 Added draft for new query API.
26688 Added draft for better selecting scheduling methods.
26689 Make basesrc ignore length if the subclass does not support
26692 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26695 possible fixes for automake-1.5 - _LIBADD is reserved
26697 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26699 * docs/faq/Makefile.am:
26700 * docs/manual/Makefile.am:
26701 * docs/manuals.mak:
26702 * docs/pwg/Makefile.am:
26704 possible fixes for automake-1.5
26706 2005-04-28 Wim Taymans <wim@fluendo.com>
26708 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26709 (gst_basesink_pad_getcaps), (gst_basesink_init),
26710 (gst_basesink_do_sync):
26711 * gst/gstclock.c: (gst_clock_entry_new):
26712 * gst/gstevent.c: (gst_event_discont_get_value):
26713 * gst/gstpipeline.c: (pipeline_bus_handler),
26714 (gst_pipeline_change_state):
26715 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26716 Better debugging of clocking info.
26717 Allow NULL values when getting discont values.
26719 2005-04-27 Wim Taymans <wim@fluendo.com>
26721 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26722 * check/gst/gstpad.c: (gst_pad_suite):
26723 Increase timeout for checks.
26725 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26727 * check/Makefile.am:
26728 fix the broken rule for cleanup. Apparently this rule is
26729 only needed on FC2, so maybe this warrants further autotool
26732 2005-04-26 Wim Taymans <wim@fluendo.com>
26734 * gst/gsttrashstack.h:
26735 Ooohh. a nasty one! After having a failed pop() from the stack,
26736 it's possible that the stack is empty. In that case, don't
26737 follow the NULL pointer.
26739 2005-04-25 Wim Taymans <wim@fluendo.com>
26741 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26742 (gst_pad_set_checkgetrange_function),
26743 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26744 (gst_pad_check_pull_range), (gst_pad_pull_range),
26745 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26746 (gst_pad_pause_task), (gst_pad_stop_task):
26747 * gst/gstplugin.c: (gst_plugin_load):
26749 Remove gst_library_load as it does more harm than good with
26750 the new g_module flags.
26751 Revert bogus caps template check in pad linking, pad caps
26752 are important when linking not the template, which is more
26753 general than the current caps.
26755 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26757 * gst/autoplug/.cvsignore:
26758 * gst/autoplug/Makefile.am:
26759 * gst/autoplug/gstsearchfuncs.c:
26760 * gst/autoplug/gstsearchfuncs.h:
26761 * gst/autoplug/gstspider.c:
26762 * gst/autoplug/gstspider.h:
26763 * gst/autoplug/gstspideridentity.c:
26764 * gst/autoplug/gstspideridentity.h:
26765 * gst/autoplug/spidertest.c:
26768 2005-04-25 Wim Taymans <wim@fluendo.com>
26770 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26771 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26772 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26773 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26775 Added stubs for unimplemented functions.
26777 2005-04-24 David Schleef <ds@schleef.org>
26779 * gst/gstpad.h: Disable some unimplemented functions. Wim,
26782 2005-04-24 David Schleef <ds@schleef.org>
26784 Convert everything from GstAtomicInt to g_atomic_int_*, and
26789 * gst/gstatomic_impl.h:
26797 * gst/gstdata_private.h:
26801 * gst/gstmessage.c:
26804 * gst/gststructure.c:
26805 * gst/gststructure.h:
26806 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26809 2005-04-24 David Schleef <ds@schleef.org>
26811 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26812 make the regressions tests work. Remove some code that is no
26814 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26815 Disable warning for pads without templates.
26817 2005-04-24 David Schleef <ds@schleef.org>
26819 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
26820 functions that handle filtered links.
26821 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26823 * gst/gstutils.c: Fix/remove utility functions that handle
26826 * gst/gstvalue.c: Add serialization/deserialization of caps
26827 * gst/parse/grammar.y: Ignore filtered caps when linking. This
26828 requires fixing so that the filter caps notation creates
26829 a capsfilter element and sets the filter_caps property. I
26830 think everyone probably wants to keep the shorthand notation.
26831 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26832 * docs/gst/tmpl/gstpad.sgml:
26834 * gst/elements/gstelements.c: Register capsfilter element.
26835 * gst/Makefile.am: fix spacing
26836 * docs/random/ds/0.9-suggested-changes: random
26838 2005-04-23 David Schleef <ds@schleef.org>
26840 * gst/elements/Makefile.am:
26841 * gst/elements/gstcapsfilter.c: New element that acts like an
26842 identity, but filters caps. Will eventually replace filtered
26843 caps in pad linking.
26844 * gst/gstutils.c: (gst_element_create_all_pads): New function
26845 to create all the ALWAYS pads that are registered with an
26846 element class. This functionality should eventually be
26847 merged in with GstElement initialization.
26849 * testsuite/trigger/README: part of trigger test code that should
26850 have been checked in a long time ago.
26852 2005-04-23 David Schleef <ds@schleef.org>
26854 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
26855 needed with new versions of libtool (nobody will confirm this),
26856 and hard to carry around.
26857 * gst/autoplug/Makefile.am:
26858 * gst/base/Makefile.am:
26859 * gst/elements/Makefile.am:
26860 * gst/indexers/Makefile.am:
26861 * gst/schedulers/Makefile.am:
26862 * libs/gst/bytestream/Makefile.am:
26863 * libs/gst/control/Makefile.am:
26864 * libs/gst/dataprotocol/Makefile.am:
26865 * libs/gst/getbits/Makefile.am:
26867 2005-04-21 Wim Taymans <wim@fluendo.com>
26869 * docs/design/draft-push-pull.txt:
26870 * docs/design/part-MT-refcounting.txt:
26871 * docs/design/part-TODO.txt:
26872 * docs/design/part-caps.txt:
26873 * docs/design/part-events.txt:
26874 * docs/design/part-gstbus.txt:
26875 * docs/design/part-gstpipeline.txt:
26876 * docs/design/part-messages.txt:
26877 * docs/design/part-push-pull.txt:
26878 * docs/design/part-query.txt:
26881 2005-04-21 Wim Taymans <wim@fluendo.com>
26883 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26884 (gst_message_new), (gst_message_new_error),
26885 (gst_message_new_warning), (gst_message_new_tag),
26886 (gst_message_new_state_changed), (gst_message_new_application),
26887 (gst_message_get_structure):
26888 * gst/gstmessage.h:
26889 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26890 (gst_structure_copy_conditional):
26891 Use parent refcount in GstMessage to ensure GstStructure
26893 Cleaned up headers a bit.
26896 2005-04-20 Wim Taymans <wim@fluendo.com>
26898 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26899 (gst_basesink_pad_getcaps), (gst_basesink_init),
26900 (gst_basesink_chain_unlocked):
26901 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26902 (gst_type_find_helper):
26903 * gst/elements/gsttypefindelement.c:
26904 (gst_type_find_element_have_type), (gst_type_find_element_init),
26905 (stop_typefinding), (gst_type_find_element_handle_event),
26906 (find_suggest), (gst_type_find_element_chain),
26907 (gst_type_find_element_checkgetrange),
26908 (gst_type_find_element_getrange), (do_typefind),
26909 (gst_type_find_element_activate):
26910 * gst/gstbuffer.c: (_gst_buffer_sub_free),
26911 (gst_buffer_default_free), (gst_buffer_default_copy),
26912 (gst_buffer_set_caps):
26913 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26914 (gst_caps_replace):
26915 * gst/gstmessage.c: (gst_message_new),
26916 (gst_message_new_state_changed):
26917 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26918 (gst_pad_set_checkgetrange_function),
26919 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26920 (gst_pad_set_caps), (gst_pad_check_pull_range),
26921 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26923 * gst/gsttypefind.c: (gst_type_find_register):
26924 Make gst_caps_replace() work like other _replace() functions.
26925 Use _caps_replace() where possible.
26926 Make sure _message_new() initialises its field.
26927 Add gst_static_pad_template_get_caps()
26930 2005-04-18 Andy Wingo <wingo@pobox.com>
26932 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26933 on the peer, not the pad. I think that was a typo. Pass an extra
26934 arg to see if random access is possible. Activate the pads as
26935 PULL_RANGE if possible.
26937 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26939 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
26940 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26943 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26945 * docs/faq/using.xml:
26946 Add note on gstreamer-properties (#154996).
26948 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26950 * docs/random/bbb/optional-properties:
26951 Some analysis on optional properties.
26953 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26955 * docs/gst/tmpl/gstelementfactory.sgml:
26956 * gst/gstelement.h:
26957 * gst/gstelementfactory.c: (gst_element_factory_init),
26958 (gst_element_factory_cleanup), (gst_element_register),
26959 (__gst_element_factory_add_static_pad_template),
26960 (gst_element_factory_get_static_pad_templates),
26961 (gst_element_factory_can_src_caps),
26962 (gst_element_factory_can_sink_caps):
26963 * gst/registries/Makefile.am:
26964 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26965 (gst_xml_registry_class_init), (gst_xml_registry_init),
26966 (gst_xml_registry_new), (gst_xml_registry_set_property),
26967 (gst_xml_registry_get_property), (get_time), (make_dir),
26968 (gst_xml_registry_get_perms_func),
26969 (plugin_times_older_than_recurse), (plugin_times_older_than),
26970 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26971 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26972 (add_to_char_array), (read_string), (read_uint), (read_enum),
26973 (load_pad_template), (load_feature), (load_plugin), (load_paths),
26974 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26975 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26976 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26977 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26978 (gst_xml_registry_rebuild):
26979 * gst/registries/gstlibxmlregistry.h:
26980 * tools/gst-compprep.c: (main):
26981 * tools/gst-inspect.c: (print_pad_templates_info):
26982 * tools/gst-xmlinspect.c: (print_element_info):
26983 Use libxml2 for registry parsing, use staticpadtemplates in
26984 elementfactories. Makes gst_init() +/- 10x faster.
26986 2005-04-12 Wim Taymans <wim@fluendo.com>
26988 * gst/base/Makefile.am:
26989 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26990 (gst_basesink_pad_getcaps), (gst_basesink_init),
26991 (gst_basesink_event), (gst_basesink_change_state):
26992 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26993 (gst_basesrc_init), (gst_basesrc_query),
26994 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26995 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26996 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26997 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26998 (gst_basesrc_stop), (gst_basesrc_activate),
26999 (gst_basesrc_change_state):
27000 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27001 (helper_find_suggest), (gst_type_find_helper):
27002 * gst/base/gsttypefindhelper.h:
27003 * gst/elements/Makefile.am:
27004 * gst/elements/gstelements.c:
27005 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27006 (gst_fakesink_get_times), (gst_fakesink_event),
27007 (gst_fakesink_preroll), (gst_fakesink_render):
27008 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27009 (gst_fakesrc_init), (gst_fakesrc_event_handler),
27010 (gst_fakesrc_get_property), (gst_fakesrc_create),
27011 (gst_fakesrc_start), (gst_fakesrc_stop):
27012 * gst/elements/gstfakesrc.h:
27013 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27014 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27015 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27016 (gst_filesrc_create_read), (gst_filesrc_create),
27017 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27018 (gst_filesrc_start):
27019 * gst/elements/gsttypefindelement.c:
27020 (gst_type_find_element_have_type), (gst_type_find_element_init),
27021 (start_typefinding), (stop_typefinding), (push_buffer_store),
27022 (gst_type_find_element_handle_event),
27023 (gst_type_find_element_chain),
27024 (gst_type_find_element_checkgetrange),
27025 (gst_type_find_element_getrange), (do_typefind),
27026 (gst_type_find_element_activate),
27027 (gst_type_find_element_change_state):
27028 * gst/elements/gsttypefindelement.h:
27029 * gst/gstpipeline.c: (pipeline_bus_handler):
27030 Added typefind helper.
27031 Small preroll fix in the base sink.
27032 Disable typefind code in basesrc.
27033 Crude port of typefindelement.
27037 2005-04-11 Wim Taymans <wim@fluendo.com>
27039 * check/gst/gstbus.c: (gstbus_suite):
27040 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27041 * check/gstcheck.h:
27042 Fix up the timeout so that the test does not fail.
27044 2005-04-06 Wim Taymans <wim@fluendo.com>
27047 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27048 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27049 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27050 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27051 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27052 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27053 (gst_basesrc_stop), (gst_basesrc_activate),
27054 (gst_basesrc_change_state), (basesrc_find_peek),
27055 (basesrc_find_suggest), (gst_basesrc_type_find):
27056 * gst/base/gstbasesrc.h:
27057 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27058 (gst_filesrc_class_init), (gst_filesrc_init),
27059 (gst_filesrc_finalize), (gst_filesrc_set_location),
27060 (gst_filesrc_set_property), (gst_filesrc_get_property),
27061 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27062 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27063 (gst_filesrc_create_read), (gst_filesrc_create),
27064 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27065 * gst/elements/gstfilesrc.h:
27066 * gst/gstelement.c: (gst_element_get_state_func),
27067 (gst_element_lost_state), (gst_element_pads_activate):
27068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27069 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27070 (gst_pad_pull_range):
27072 More work on the generic source base class, implement seeking,
27074 Make filesrc extend the base source class.
27075 Added gst_pad_set_checkgetrange_function to GstPad.
27077 2005-04-06 Andy Wingo <wingo@pobox.com>
27079 * pkgconfig/gstreamer-base.pc.in:
27080 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27082 * pkgconfig/Makefile.am:
27083 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27085 2005-04-04 Wim Taymans <wim@fluendo.com>
27087 * gst/base/Makefile.am:
27089 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27090 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27091 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27092 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27093 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27094 (gst_basesrc_base_init), (gst_basesrc_class_init),
27095 (gst_basesrc_init), (gst_basesrc_get_formats),
27096 (gst_basesrc_get_query_types), (gst_basesrc_query),
27097 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27098 (gst_basesrc_set_property), (gst_basesrc_get_property),
27099 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27100 (gst_basesrc_loop), (gst_basesrc_activate),
27101 (gst_basesrc_change_state):
27102 * gst/base/gstbasesrc.h:
27103 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27104 (gst_fakesrc_class_init), (gst_fakesrc_init),
27105 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27106 (gst_fakesrc_get_property), (gst_fakesrc_create):
27107 * gst/elements/gstfakesrc.h:
27108 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27109 (gst_filesrc_open_file), (gst_filesrc_loop),
27110 (gst_filesrc_activate), (filesrc_find_peek),
27111 (gst_filesrc_type_find):
27112 Made base source class, make fakesrc extend it.
27113 Add comments to basesink class.
27114 Some filesrc cleanup.
27116 2005-03-31 David Schleef <ds@schleef.org>
27118 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27119 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27120 expected to link against libgstreamer.
27121 * gst/base/Makefile.am: link against libgstreamer
27122 * gst/elements/Makefile.am: same
27124 2005-03-31 Andy Wingo <wingo@pobox.com>
27126 * tests/instantiate/Makefile.am:
27127 * tests/instantiate/caps.c: Add test to test speed of caps copy
27130 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27131 GMemChunk to be fair.
27133 * gst/gsttrashstack.h: Remove warning about using the fallback
27134 trash stack implementation, it's still faster than malloc.
27136 2005-03-30 Andy Wingo <wingo@pobox.com>
27138 * tests/complexity.c: Add a copyright.
27140 2005-03-31 Wim Taymans <wim@fluendo.com>
27142 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27143 (gst_base_transform_class_init), (gst_base_transform_init),
27144 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27145 (gst_base_transform_get_property),
27146 (gst_base_transform_sink_activate),
27147 (gst_base_transform_src_activate),
27148 (gst_base_transform_change_state):
27149 * gst/base/gstbasetransform.h:
27150 * gst/elements/gstidentity.c: (gst_identity_class_init),
27151 (gst_identity_event), (gst_identity_check_perfect),
27152 (gst_identity_transform), (gst_identity_start),
27153 (gst_identity_stop):
27154 Added start/stop methods to transform base class so subclasses
27155 don't need to deal with state changes even.
27157 2005-03-31 Wim Taymans <wim@fluendo.com>
27159 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27160 (gst_event_new_discontinuous), (gst_event_discont_get_value):
27162 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27163 (gst_pad_pull_range):
27164 Added rate to the discont event to prepare for variable speed
27165 and reverse playback.
27167 2005-03-29 David Schleef <ds@schleef.org>
27170 * testsuite/trigger/Makefile.am:
27171 * testsuite/trigger/trigger.c: A little example program to show
27172 how trigger-based elements can work.
27174 2005-03-29 Wim Taymans <wim@fluendo.com>
27176 * gst/base/Makefile.am:
27178 * gst/base/gstbasesink.c: (gst_basesink_get_type),
27179 (gst_basesink_base_init), (gst_basesink_class_init),
27180 (gst_basesink_pad_getcaps), (gst_basesink_init),
27181 (gst_basesink_activate), (gst_basesink_change_state):
27182 * gst/base/gstbasesink.h:
27183 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27184 (gst_base_transform_base_init), (gst_base_transform_finalize),
27185 (gst_base_transform_class_init), (gst_base_transform_init),
27186 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27187 (gst_base_transform_event), (gst_base_transform_getrange),
27188 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27189 (gst_base_transform_set_property),
27190 (gst_base_transform_get_property),
27191 (gst_base_transform_sink_activate),
27192 (gst_base_transform_src_activate),
27193 (gst_base_transform_change_state):
27194 * gst/base/gstbasetransform.h:
27195 * gst/elements/gstidentity.c: (gst_identity_finalize),
27196 (gst_identity_class_init), (gst_identity_init),
27197 (gst_identity_event), (gst_identity_check_perfect),
27198 (gst_identity_transform), (gst_identity_set_property),
27199 (gst_identity_get_property), (gst_identity_change_state):
27200 * gst/elements/gstidentity.h:
27201 * gst/gstelement.c: (gst_element_get_state_func),
27202 (gst_element_lost_state), (gst_element_pads_activate):
27203 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27204 (gst_pad_check_pull_range), (gst_pad_pull_range):
27206 Simplify pad activation.
27207 Added function to check if pull_range can be performed.
27208 Error out when pulling inactive or flushing pads.
27209 Removed const from refcounted types as it does not make sense.
27210 Simplify pad templates in basesink
27211 Added base class for simple 1-to-1 transforms.
27212 Make identity subclass the base transform.
27214 2005-03-29 Andy Wingo <wingo@pobox.com>
27216 * docs/libs/gstreamer-libs-overrides.txt:
27217 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27218 really don't understand what's going on, but like whatever. I want
27221 * docs/gst/Makefile.am:
27222 * docs/libs/Makefile.am: Dist the overrides files.
27224 * check/Makefile.am (clean-local): Remove .libs directories.
27226 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27227 elements to EXTRA_DIST, so po/ files are happy.
27229 * po/POTFILES.in: Er, remove it here.
27231 * po/POTFILES: Remove gstspider.c.
27233 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27235 * docs/libs/gstreamer-libs-docs.sgml:
27236 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27239 * tests/complexity.c (main): Set the length of the preroll queue
27240 on the sinks to prevent a lockup.
27242 * libs/gst/dataprotocol/Makefile.am:
27243 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27244 the same as the one in check/gst-libs/gdp.c.
27246 * po/, docs/gst/: Commit automatic changes to docs and po files.
27248 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27249 the versioned libgstbase.
27251 * check/Makefile.am: Depend on an unversioned gst-register, seems
27252 to make autoconf happier.
27254 * gst/base/Makefile.am: Make libgstbase a versioned lib.
27256 2005-03-28 Wim Taymans <wim@fluendo.com>
27259 * docs/design/part-gstelement.txt:
27260 * docs/design/part-negotiation.txt:
27261 * docs/design/part-preroll.txt:
27262 * docs/design/part-scheduling.txt:
27263 * docs/design/part-states.txt:
27265 * gst/base/Makefile.am:
27267 * gst/base/gstbasesink.c: (gst_basesink_get_template),
27268 (gst_basesink_base_init), (gst_basesink_class_init),
27269 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27270 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27271 (gst_basesink_set_pad_functions),
27272 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27273 (gst_basesink_set_property), (gst_basesink_get_property),
27274 (gst_base_sink_get_template), (gst_base_sink_get_caps),
27275 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27276 (gst_basesink_preroll_queue_push),
27277 (gst_basesink_preroll_queue_empty),
27278 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27279 (gst_basesink_event), (gst_basesink_get_times),
27280 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27281 (gst_basesink_chain_unlocked), (gst_basesink_chain),
27282 (gst_basesink_loop), (gst_basesink_activate),
27283 (gst_basesink_change_state):
27284 * gst/base/gstbasesink.h:
27285 * gst/elements/Makefile.am:
27286 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27287 (gst_fakesink_class_init), (gst_fakesink_init),
27288 (gst_fakesink_set_property), (gst_fakesink_get_property),
27289 (gst_fakesink_get_times), (gst_fakesink_event),
27290 (gst_fakesink_preroll), (gst_fakesink_render),
27291 (gst_fakesink_change_state):
27292 * gst/elements/gstfakesink.h:
27293 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27294 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27295 * gst/gstelement.c: (gst_element_add_pad),
27296 (gst_element_get_state_func), (gst_element_abort_state),
27297 (gst_element_commit_state), (gst_element_lost_state),
27298 (gst_element_set_state), (gst_element_pads_activate):
27299 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27300 * gst/gstpipeline.c: (gst_pipeline_send_event),
27301 (gst_pipeline_change_state):
27302 Added state change code.
27303 Added/updated docs.
27304 Added sink base class, make fakesink extend the base class.
27305 Small cleanups in GstPipeline.
27307 2005-03-26 David Schleef <ds@schleef.org>
27309 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
27310 is broken and should be implemented in a different library.
27311 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27312 * gst/gst.h: remove gstcpu.h
27313 * gst/gstcpu.c: remove
27314 * gst/gstcpu.h: remove
27315 * gst/Makefile.am.future: Remove this file. It's ancient.
27317 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27319 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27320 (gst_bin_send_event):
27321 Add default event/set_manager handlers. The set_manager handler
27322 takes care that the manager is distributed over kids that were
27323 already in the bin before the manager was set. The event handler
27324 is a utility virtual function that sends the event over all sinks,
27325 so that gst_element_send_event (bin, event); has the expected
27327 * gst/gstpad.c: (gst_pad_event_default):
27328 Re-install default event handling for discontinuities, so that
27329 seeking works without requiring hacks in applications or extra
27331 * gst/gstpipeline.c: (gst_pipeline_class_init),
27332 (gst_pipeline_send_event):
27333 Half hack, half utility: set a pipeline to PAUSED for seek events,
27334 since that is the only way we can guarantee a/v sync. Means that
27335 you can do gst_element_seek (pipeline, method, pos); on a pipeline
27336 and it "just works".
27338 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27340 * gst/gstpipeline.c: (gst_pipeline_use_clock):
27341 Lock/unlock mismatch.
27343 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
27345 * docs/faq/gst-uninstalled:
27346 add gst-plugins-base
27347 * docs/gst/Makefile.am:
27348 don't error out until docs are fixed
27349 * docs/gst/gstreamer.types:
27352 2005-03-22 Wim Taymans <wim@fluendo.com>
27354 * check/Makefile.am:
27355 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27356 * gst/gststructure.c: (gst_structure_set_valist),
27357 (gst_structure_copy_conditional):
27358 Activated more tests.
27359 Added message test.
27360 Added G_TYPE_POINTER to GstStructure.
27363 2005-03-22 Wim Taymans <wim@fluendo.com>
27365 * docs/design/part-TODO.txt:
27366 * docs/design/part-events.txt:
27367 * docs/design/part-gstbin.txt:
27368 * docs/design/part-gstbus.txt:
27369 * docs/design/part-gstpipeline.txt:
27370 * docs/design/part-messages.txt:
27372 * gst/gstmessage.c:
27375 2005-03-21 Wim Taymans <wim@fluendo.com>
27377 * gst/gstbus.c: (gst_bus_post):
27378 Fix copy-and-paste error.
27380 2005-03-21 Wim Taymans <wim@fluendo.com>
27382 * check/Makefile.am:
27384 * gst/elements/Makefile.am:
27385 * gst/elements/gstelements.c:
27386 * gst/elements/gstfakesink.c: (gst_fakesink_init),
27387 (gst_fakesink_event), (gst_fakesink_chain):
27388 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27389 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27390 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27391 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27392 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27393 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27394 (gst_fakesrc_loop), (gst_fakesrc_activate),
27395 (gst_fakesrc_change_state):
27396 * gst/elements/gstfakesrc.h:
27397 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27398 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27399 (gst_filesrc_open_file), (gst_filesrc_loop),
27400 (gst_filesrc_activate), (gst_filesrc_change_state),
27401 (filesrc_find_peek), (filesrc_find_suggest),
27402 (gst_filesrc_type_find):
27403 * gst/elements/gstidentity.c: (gst_identity_finalize),
27404 (gst_identity_class_init), (gst_identity_init),
27405 (gst_identity_proxy_getcaps), (identity_queue_push),
27406 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27407 (gst_identity_getrange), (gst_identity_chain),
27408 (gst_identity_sink_loop), (gst_identity_src_loop),
27409 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27410 (gst_identity_set_property), (gst_identity_get_property),
27411 (gst_identity_change_state):
27412 * gst/elements/gstidentity.h:
27413 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27414 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27415 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27416 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27417 (gst_tee_sink_activate):
27418 * gst/elements/gsttee.h:
27419 * gst/gst.c: (gst_register_core_elements), (init_post):
27421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27422 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27423 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27424 (gst_bin_change_state):
27426 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27427 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27428 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27429 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27430 (gst_bus_set_sync_handler), (gst_bus_create_watch),
27431 (bus_watch_callback), (bus_watch_destroy),
27432 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27433 (poll_timeout), (gst_bus_poll):
27437 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27438 (gst_element_post_message), (gst_element_message_full),
27439 (gst_element_get_state_func), (gst_element_get_state),
27440 (gst_element_abort_state), (gst_element_commit_state),
27441 (gst_element_lost_state), (gst_element_set_state),
27442 (gst_element_pads_activate), (gst_element_change_state),
27443 (gst_element_dispose), (gst_element_set_manager_func),
27444 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27445 (gst_element_set_manager), (gst_element_get_manager),
27446 (gst_element_set_bus), (gst_element_get_bus),
27447 (gst_element_set_scheduler), (gst_element_get_scheduler):
27448 * gst/gstelement.h:
27449 * gst/gstevent.c: (gst_event_new_segment_seek),
27450 (gst_event_new_flush):
27452 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27453 (_gst_message_free), (gst_message_get_type), (gst_message_new),
27454 (gst_message_new_eos), (gst_message_new_error),
27455 (gst_message_new_warning), (gst_message_new_tag),
27456 (gst_message_new_state_changed), (gst_message_new_application),
27457 (gst_message_get_structure), (gst_message_parse_tag),
27458 (gst_message_parse_state_changed), (gst_message_parse_error),
27459 (gst_message_parse_warning):
27460 * gst/gstmessage.h:
27461 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27462 (gst_real_pad_set_property), (gst_pad_set_active),
27463 (gst_pad_is_active), (gst_pad_set_blocked_async),
27464 (gst_pad_set_blocked), (gst_pad_is_blocked),
27465 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27466 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27467 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27468 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27469 (gst_pad_link_filtered), (gst_pad_relink_filtered),
27470 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27471 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27472 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27473 (gst_pad_set_caps), (gst_pad_configure_sink),
27474 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27475 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27476 (gst_real_pad_dispose), (gst_real_pad_finalize),
27477 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27478 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27479 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27481 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27482 (pipeline_bus_handler), (gst_pipeline_change_state),
27483 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27484 * gst/gstpipeline.h:
27486 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27487 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27488 (gst_queue_link_src), (gst_queue_bufferalloc),
27489 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27490 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27491 (gst_queue_loop), (gst_queue_handle_src_event),
27492 (gst_queue_handle_src_query), (gst_queue_src_activate),
27493 (gst_queue_change_state):
27495 * gst/gstscheduler.c: (gst_scheduler_init),
27496 (gst_scheduler_dispose), (gst_scheduler_create_task),
27497 (gst_scheduler_factory_create):
27498 * gst/gstscheduler.h:
27499 * gst/gststructure.c: (gst_structure_get_type),
27500 (gst_structure_copy_conditional):
27501 * gst/gststructure.h:
27502 * gst/gsttaginterface.h:
27503 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27504 (gst_task_init), (gst_task_dispose), (gst_task_create),
27505 (gst_task_get_state), (gst_task_start), (gst_task_stop),
27511 * gst/schedulers/Makefile.am:
27512 * gst/schedulers/cothreads_compat.h:
27513 * gst/schedulers/entryscheduler.c:
27514 * gst/schedulers/faircothreads.c:
27515 * gst/schedulers/faircothreads.h:
27516 * gst/schedulers/fairscheduler.c:
27517 * gst/schedulers/gstbasicscheduler.c:
27518 * gst/schedulers/gstoptimalscheduler.c:
27519 * gst/schedulers/gthread-cothreads.h:
27520 * gst/schedulers/threadscheduler.c:
27521 (gst_thread_scheduler_task_get_type),
27522 (gst_thread_scheduler_task_class_init),
27523 (gst_thread_scheduler_task_init),
27524 (gst_thread_scheduler_task_start),
27525 (gst_thread_scheduler_task_stop),
27526 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27527 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27528 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27529 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27531 * libs/gst/Makefile.am:
27532 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27533 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27534 (gst_file_pad_parent_set):
27535 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27536 (gst_dp_event_from_packet):
27537 * tests/complexity.c: (main):
27538 * tests/mass_elements.c: (main):
27539 * testsuite/states/locked.c: (message_received), (main):
27540 * testsuite/states/parent.c: (main):
27541 * tools/gst-inspect.c: (print_element_flag_info),
27542 (print_implementation_info), (print_pad_info):
27543 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27545 * tools/gst-md5sum.c: (event_loop), (main):
27546 * tools/gst-typefind.c: (main):
27547 * tools/gst-xmlinspect.c: (print_element_info):
27549 Added GstBus for mainloop integration.
27550 Added GstMessage for sending notifications on the bus.
27551 Added GstTask as an abstraction for pipeline entry points.
27553 Removed Schedulers.
27554 Simplified GstQueue for multithreaded core.
27555 Made _link threadsafe, removed old capsnego.
27556 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27557 Added pad blocking functions.
27558 Reworked scheduling functions in GstPad to prepare for
27559 scheduling updates soon.
27560 Moved events out of data stream.
27561 Simplified GstEvent types.
27562 Added return values to push/pull.
27563 Removed clocking from GstElement.
27564 Added prototypes for state change function for next merge.
27565 Removed iterate from bins and state change management.
27566 Fixed some elements, disabled others for now.
27567 Fixed -inspect and -launch.
27568 Added check for GstBus.
27570 2005-03-10 Wim Taymans <wim@fluendo.com>
27572 * docs/design/part-MT-refcounting.txt:
27573 * docs/design/part-clocks.txt:
27574 * docs/design/part-gstelement.txt:
27575 * docs/design/part-gstobject.txt:
27576 * docs/design/part-standards.txt:
27577 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27578 (gst_bin_remove_func), (gst_bin_remove):
27582 * testsuite/clock/clock1.c: (main):
27583 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27585 * testsuite/dlopen/loadgst.c: (do_test):
27586 * testsuite/refcounting/bin.c: (add_remove_test1),
27587 (add_remove_test2), (main):
27588 * testsuite/refcounting/element.c: (main):
27589 * testsuite/refcounting/element_pad.c: (main):
27590 * testsuite/refcounting/pad.c: (main):
27591 * tools/gst-launch.c: (sigint_handler_sighandler):
27592 * tools/gst-typefind.c: (main):
27594 Added doc about clock.
27595 removed gst_bin_iterate_recurse_up(), marked methods
27597 Fix more testsuites.
27599 2005-03-09 Wim Taymans <wim@fluendo.com>
27601 * gst/gstpad.c: (gst_pad_get_direction),
27602 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27603 (gst_pad_collect_valist):
27604 * testsuite/bins/interface.c: (main):
27605 * testsuite/caps/audioscale.c: (test_caps):
27606 * testsuite/caps/caps.c: (test1), (test2), (test3):
27607 * testsuite/caps/deserialize.c: (main):
27608 * testsuite/caps/enumcaps.c: (main):
27609 * testsuite/caps/filtercaps.c: (main):
27610 * testsuite/caps/intersect2.c: (main):
27611 * testsuite/caps/random.c: (main):
27612 * testsuite/caps/renegotiate.c: (my_fixate), (main):
27613 * testsuite/caps/sets.c: (check_caps):
27614 * testsuite/caps/simplify.c: (check_caps), (main):
27615 * testsuite/caps/subtract.c: (check_caps):
27616 Fix _pad_get_direction wrt ghostpads.
27617 Fix caps testsuite.
27619 2005-03-09 Wim Taymans <wim@fluendo.com>
27621 * check/Makefile.am:
27622 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27623 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27624 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27625 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27626 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27627 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27628 (gst_bin_remove), (gst_bin_iterate_recurse_up),
27629 (bin_element_is_sink), (gst_bin_iterate_sinks),
27630 (gst_bin_iterate_all_by_interface):
27632 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27633 (gst_element_change_state), (gst_element_dispose),
27634 (gst_element_finalize), (gst_element_set_loop_function):
27635 * gst/gstelement.h:
27636 * gst/gstiterator.c: (find_custom_fold_func):
27637 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27638 (gst_pad_collectv), (gst_pad_collect_valist),
27639 (gst_pad_template_new):
27640 * gst/gstpipeline.c: (gst_pipeline_class_init),
27641 (gst_pipeline_dispose), (gst_pipeline_set_property),
27642 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27643 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27644 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27646 * gst/schedulers/entryscheduler.c:
27647 * gst/schedulers/gstbasicscheduler.c:
27648 (gst_basic_scheduler_cothreaded_chain),
27649 (gst_basic_scheduler_chain_add_element):
27650 * testsuite/bins/interface.c: (main):
27652 Added GstSystemClock test.
27653 Implemented clock distribution code in GstBin.
27654 Implemented iterate sinks method for future use.
27655 Rearranged gstelement.h
27656 Fix GstIterator comparison bug.
27657 Moved some code to GstPipeline, mostly clocking related.
27659 2005-03-09 Wim Taymans <wim@fluendo.com>
27662 * gst/gst_private.h:
27663 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27664 (gst_bin_remove_func), (gst_bin_remove),
27665 (gst_bin_get_by_name_recurse_up):
27666 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27667 (gst_clock_id_compare_func), (gst_clock_id_wait),
27668 (gst_clock_id_wait_async), (gst_clock_init),
27669 (gst_clock_adjust_unlocked), (gst_clock_get_time):
27670 * gst/gstelement.h:
27671 * gst/gstinfo.c: (_gst_debug_init):
27673 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27674 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27676 Bump version number, we're now 0.9.0
27677 Add future debugging category.
27678 Fix NULL _unref() in _get_by_name_recurse_up
27679 Rearrange gstpad.h.
27682 2005-03-08 Wim Taymans <wim@fluendo.com>
27684 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27685 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27686 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27687 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27688 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27689 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27690 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27691 * gst/elements/gstidentity.c: (gst_identity_class_init):
27692 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27693 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27694 * gst/elements/gstshaper.c: (gst_shaper_class_init):
27695 * gst/elements/gststatistics.c: (gst_statistics_class_init):
27696 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27698 * gst/gstelement.c: (gst_element_class_init),
27699 (gst_element_base_class_init), (gst_element_init),
27700 (gst_element_get_random_pad), (gst_element_wait_state_change),
27701 (gst_element_change_state), (gst_element_dispose),
27702 (gst_element_finalize), (gst_element_set_loop_function):
27703 * gst/gstelement.h:
27704 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27705 * gst/gstthread.c: (gst_thread_class_init),
27706 (gst_thread_release_children_locks), (gst_thread_change_state):
27707 * gst/schedulers/gstbasicscheduler.c:
27708 (gst_basic_scheduler_loopfunc_wrapper),
27709 (gst_basic_scheduler_chain_wrapper),
27710 (gst_basic_scheduler_src_wrapper),
27711 (gst_basic_scheduler_remove_element):
27712 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27713 Remove threadsafe properties. Fix elements because GObject
27714 complains when installing a property before declaring a
27715 set/get_property handler.
27716 Rearrange gstelement.h file, use STATE macros for state locks.
27717 Free mutexes in the finalize method instead of dispose.
27719 2005-03-08 Wim Taymans <wim@fluendo.com>
27721 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27722 * gst/gstthread.c: (gst_thread_release_children_locks):
27723 Added parentage check.
27724 Fix build og GstThread again.
27726 2005-03-08 Wim Taymans <wim@fluendo.com>
27728 * docs/design/part-MT-refcounting.txt:
27729 * docs/design/part-conventions.txt:
27730 * docs/design/part-gstobject.txt:
27731 * docs/design/part-relations.txt:
27732 * docs/design/part-standards.txt:
27733 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27734 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27735 (gst_bin_get_by_name), (gst_bin_get_by_interface),
27736 (gst_bin_iterate_all_by_interface):
27739 * gst/gstelement.c: (gst_element_class_init),
27740 (gst_element_change_state), (gst_element_set_loop_function):
27741 * gst/gstelement.h:
27742 * gst/gstiterator.c:
27743 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27744 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27745 (gst_object_dispatch_properties_changed), (gst_object_set_name),
27746 (gst_object_set_parent), (gst_object_unparent),
27747 (gst_object_check_uniqueness):
27749 Docs updates, clean up some headers.
27751 2005-03-07 Wim Taymans <wim@fluendo.com>
27753 * check/.cvsignore:
27754 * check/Makefile.am:
27755 * check/gst-libs/.cvsignore:
27756 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27757 * check/gst/.cvsignore:
27758 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27759 (START_TEST), (gstbus_suite), (main):
27760 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27761 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27762 (gst_data_suite), (main):
27763 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27764 (add_fold_func), (gstiterator_suite), (main):
27765 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27766 (thread_name_object), (thread_name_object_default),
27767 (gst_object_name_compare), (gst_object_suite), (main):
27768 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27769 (gst_pad_suite), (main):
27770 * check/gstcheck.c: (gst_check_log_message_func),
27771 (gst_check_log_critical_func), (gst_check_init):
27772 * check/gstcheck.h:
27773 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27774 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27777 2005-03-07 Wim Taymans <wim@fluendo.com>
27779 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27780 (gst_list_iterator_next), (gst_list_iterator_resync),
27781 (gst_list_iterator_free), (gst_iterator_new_list),
27782 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27783 (gst_iterator_free), (gst_iterator_push), (filter_next),
27784 (filter_resync), (filter_uninit), (filter_free),
27785 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27786 (gst_iterator_foreach), (find_custom_fold_func),
27787 (gst_iterator_find_custom):
27788 * gst/gstiterator.h:
27789 Added missing files.
27791 2005-03-07 Wim Taymans <wim@fluendo.com>
27795 * docs/design/part-MT-refcounting.txt:
27796 * docs/design/part-conventions.txt:
27797 * docs/design/part-gstobject.txt:
27798 * docs/design/part-relations.txt:
27799 * examples/mixer/mixer.c: (main):
27800 * examples/thread/thread.c: (eos), (main):
27802 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27803 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27804 (gst_spider_plug_from_srcpad):
27805 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27806 (gst_spider_identity_change_state),
27807 (gst_spider_identity_sink_loop_type_finding):
27808 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27809 * gst/elements/gstidentity.c: (gst_identity_init):
27810 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27811 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27812 * gst/elements/gsttypefindelement.c: (free_entry):
27815 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27816 (gst_bin_set_clock_func), (gst_bin_auto_clock),
27817 (gst_bin_set_index), (gst_bin_set_element_sched),
27818 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27819 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27820 (gst_bin_iterate_elements), (iterate_child_recurse),
27821 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27822 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27823 (compare_interface), (gst_bin_get_by_interface),
27824 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27826 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27827 (gst_buffer_default_free), (gst_buffer_default_copy),
27828 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27829 (gst_buffer_create_sub):
27831 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27832 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27833 (gst_caps_unref), (gst_static_caps_get),
27834 (gst_caps_remove_and_get_structure), (gst_caps_append),
27835 (gst_caps_append_structure), (gst_caps_remove_structure),
27836 (gst_caps_copy_nth), (gst_caps_set_simple),
27837 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27838 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27839 (gst_caps_structure_intersect_field), (gst_caps_intersect),
27840 (gst_caps_structure_subtract_field), (gst_caps_subtract),
27841 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27842 (gst_caps_structure_figure_out_union),
27843 (gst_caps_switch_structures), (gst_caps_do_simplify),
27844 (gst_caps_replace), (gst_caps_from_string),
27845 (gst_caps_copy_conditional):
27847 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27848 (_gst_clock_id_free), (gst_clock_id_unref),
27849 (gst_clock_id_compare_func), (gst_clock_id_wait),
27850 (gst_clock_id_wait_async), (gst_clock_class_init),
27851 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27852 (gst_clock_get_time), (gst_clock_set_time_adjust),
27853 (gst_clock_set_property), (gst_clock_get_property):
27856 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27857 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27859 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27860 (gst_element_requires_clock), (gst_element_provides_clock),
27861 (gst_element_set_clock), (gst_element_clock_wait),
27862 (gst_element_wait), (gst_element_set_time_delay),
27863 (gst_element_is_indexable), (gst_element_add_pad),
27864 (gst_element_add_ghost_pad), (gst_element_remove_pad),
27865 (pad_compare_name), (gst_element_get_static_pad),
27866 (gst_element_request_pad), (gst_element_get_request_pad),
27867 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27868 (gst_element_class_get_pad_template_list),
27869 (gst_element_class_get_pad_template), (gst_element_error_func),
27870 (gst_element_get_random_pad), (gst_element_get_event_masks),
27871 (gst_element_send_event), (gst_element_seek),
27872 (gst_element_get_query_types), (gst_element_query),
27873 (gst_element_get_formats), (gst_element_convert),
27874 (gst_element_is_locked_state), (gst_element_set_locked_state),
27875 (gst_element_sync_state_with_parent), (gst_element_change_state),
27876 (gst_element_finalize), (gst_element_yield),
27877 (gst_element_interrupt), (gst_element_set_scheduler),
27878 (gst_element_get_scheduler), (gst_element_set_loop_function):
27879 * gst/gstelement.h:
27881 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27882 (gst_format_get_by_nick), (gst_format_get_details),
27883 (gst_format_iterate_definitions):
27885 * gst/gstindex.c: (gst_index_gtype_resolver):
27888 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27889 (gst_mem_chunk_free):
27890 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27891 (gst_object_ref), (gst_object_unref), (gst_object_sink),
27892 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27893 (gst_object_dispatch_properties_changed),
27894 (gst_object_set_name_default), (gst_object_set_name),
27895 (gst_object_get_name), (gst_object_set_name_prefix),
27896 (gst_object_get_name_prefix), (gst_object_set_parent),
27897 (gst_object_get_parent), (gst_object_unparent),
27898 (gst_object_check_uniqueness), (gst_object_save_thyself),
27899 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27900 (gst_object_set_property), (gst_object_get_property),
27901 (gst_object_get_path_string):
27903 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27904 (gst_real_pad_init), (gst_real_pad_get_property),
27905 (gst_pad_custom_new), (gst_pad_get_direction),
27906 (gst_pad_set_active), (gst_pad_is_active),
27907 (gst_pad_set_event_function), (gst_pad_is_linked),
27908 (gst_pad_link_free), (gst_pad_link_intersect),
27909 (gst_pad_link_fixate), (gst_pad_set_caps),
27910 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27911 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27912 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27913 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27914 (gst_pad_get_caps), (gst_pad_peer_get_caps),
27915 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27916 (gst_pad_realize), (gst_pad_get_allowed_caps),
27917 (gst_real_pad_dispose), (gst_real_pad_finalize),
27918 (gst_pad_collectv), (gst_pad_collect_valist),
27919 (gst_pad_template_dispose), (gst_pad_template_new),
27920 (gst_pad_get_internal_links):
27922 * gst/gstpipeline.c: (gst_pipeline_dispose),
27923 (gst_pipeline_change_state):
27924 * gst/gstpipeline.h:
27926 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27927 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27928 * gst/gstpluginfeature.h:
27929 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27930 * gst/gstquery.c: (_gst_query_type_initialize),
27931 (gst_query_type_register), (gst_query_type_get_by_nick),
27932 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27934 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27935 * gst/gstscheduler.c: (gst_scheduler_add_element),
27936 (gst_scheduler_factory_create):
27937 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27938 (gst_structure_free), (gst_structure_set_name),
27939 (gst_structure_id_set_value), (gst_structure_set_value),
27940 (gst_structure_set_valist), (gst_structure_remove_field),
27941 (gst_structure_remove_fields),
27942 (gst_structure_remove_fields_valist),
27943 (gst_structure_remove_all_fields), (gst_structure_foreach),
27944 (gst_structure_map_in_place),
27945 (gst_caps_structure_fixate_field_nearest_int),
27946 (gst_caps_structure_fixate_field_nearest_double):
27947 * gst/gststructure.h:
27948 * gst/gstsystemclock.c: (gst_system_clock_class_init),
27949 (gst_system_clock_init), (gst_system_clock_dispose),
27950 (gst_system_clock_async_thread),
27951 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27952 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27953 * gst/gstsystemclock.h:
27954 * gst/gsttag.c: (gst_tag_list_add_value_internal),
27955 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27956 * gst/gsttaginterface.c:
27957 * gst/gstthread.c: (gst_thread_dispose),
27958 (gst_thread_release_children_locks), (gst_thread_change_state),
27959 (gst_thread_main_loop):
27960 * gst/gsttrashstack.h:
27961 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27963 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27964 (gst_element_request_pad), (gst_element_get_pad_from_template),
27965 (gst_element_request_compatible_pad),
27966 (gst_element_get_compatible_pad_filtered),
27967 (gst_element_get_compatible_pad), (gst_element_state_get_name),
27968 (gst_element_link_pads_filtered), (gst_element_link_filtered),
27969 (gst_element_link_many), (gst_element_link),
27970 (gst_element_link_pads), (gst_element_unlink_pads),
27971 (gst_element_unlink_many), (gst_element_unlink),
27972 (gst_pad_can_link_filtered), (gst_pad_can_link),
27973 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27974 (gst_object_default_error), (gst_bin_add_many),
27975 (gst_bin_remove_many), (gst_element_populate_std_props),
27976 (gst_element_class_install_std_props), (gst_buffer_merge),
27977 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27978 (link_fold_func), (gst_pad_proxy_setcaps):
27980 * gst/gstvalue.c: (gst_value_deserialize_string):
27981 * gst/parse/grammar.y:
27982 * gst/schedulers/gstbasicscheduler.c:
27983 (gst_basic_scheduler_cothreaded_chain),
27984 (gst_basic_scheduler_chain_recursive_add),
27985 (gst_basic_scheduler_pad_link):
27986 * gst/schedulers/gstoptimalscheduler.c:
27987 (get_group_schedule_function),
27988 (gst_opt_scheduler_state_transition),
27989 (gst_opt_scheduler_add_element), (element_get_reachables_func):
27990 * libs/gst/bytestream/bytestream.c:
27991 * libs/gst/dataprotocol/dataprotocol.c:
27992 (gst_dp_header_from_buffer):
27995 * tests/threadstate/threadstate2.c: (eos):
27996 * tools/gst-compprep.c: (main):
27997 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27998 (print_pad_info), (print_children_info):
27999 * tools/gst-launch.c: (idle_func), (main):
28000 * tools/gst-md5sum.c: (idle_func), (main):
28001 * tools/gst-xmlinspect.c: (print_element_info):
28002 First THREADED backport attempt, focusing on adding locks and
28003 making sure the API is threadsafe. Needs more work. More docs
28006 2005-02-24 Andy Wingo <wingo@pobox.com>
28008 * tests/bench-complexity.scm:
28009 * tests/complexity.gnuplot: New files, good for running complexity
28012 * tests/Makefile.am:
28013 * tests/complexity.c: New test, sets up N elements, at each level
28014 teeing into M streams per element. Eeeenteresting.
28016 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28017 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28018 running bench-mass_elements.scm.
28020 * tests/bench-mass_elements.scm: New script, runs mass_elements
28021 for various numbers of identities, outputting the results to a
28022 file. Requires guile 1.6. Just for testing.
28024 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
28026 * gst/schedulers/fairscheduler.c:
28027 compile with debug disabled
28029 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
28032 hunting season on 0.9 is now OPEN