1 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3 * .cvsignore:
4 * tests/examples/manual/.cvsignore:
5 Ignore registries in any format.
7 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
9 * gst/glib-compat-private.h:
10 Add compatibility macro for g_intern_string() for
11 GLib-2.8 (any reason we can't just bump the
12 requirement to at least 2.10?)
14 * gst/gstpadtemplate.h:
15 * gst/gstelementfactory.c:
16 * gst/gstregistryxml.c:
17 * gst/gstregistrybinary.c:
18 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
19 up the internal code accordingly. This shouldn't be a problem, since
20 there is no reason external code could ever assume the string in such
21 a structure is dynamically allocated unless it did that itself; the
22 use of g_strdup() is private to element factories. The new code also
23 saves some memory by putting pad template name strings into the GLib
24 quark table instead of allocating them dynamically.
25 Declaring this field constant fixes warnings with g++-4.2 when using
26 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
28 2007-09-19 Stefan Kost <ensonic@users.sf.net>
30 * gst/gstelementfactory.c:
31 Release static caps. Fixes #475723.
33 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
35 * gst/gstinfo.c:
36 * gst/gstinfo.h:
37 Make some internal API take const gchar * instead of just
38 gchar * to avoid compiler warnings with g++-4.2.2 when
39 passing string constants (partially fixes #478092).
41 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
43 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
44 A latency query fails when one of the sinks fail.
46 * gst/gstelement.c: (gst_element_set_base_time):
47 Improve debugging.
49 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
51 * gst/gstbin.c: (gst_bin_continue_func):
52 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
53 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
54 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
56 Fix minor compilation warnings shown with Forte.
58 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
60 * plugins/elements/gstqueue.c: (apply_buffer),
61 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
62 Measure queue level based on the diff between head and tail timestamps
63 even when pushing the first buffer.
65 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
67 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
68 (gst_base_sink_event), (gst_base_sink_change_state):
69 Sinks that don't preroll can always be queried for the latency.
70 Don't post ASYNC start when we are not async.
72 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
74 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
75 (gst_queue_handle_sink_event), (gst_queue_chain),
76 (gst_queue_push_one), (gst_queue_handle_src_query),
77 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
78 * plugins/elements/gstqueue.h:
79 When downstream returns UNEXPECTED from pushing a buffer, don't try to
80 push more buffers but allow pushing of EOS and NEWSEGMENT.
81 Add some more debug info here and there. Fixes #476514.
83 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
85 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
86 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
87 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
88 (gst_base_sink_set_flushing), (gst_base_sink_query),
89 (gst_base_sink_change_state):
90 Latency query is allowed after we are prerolled. Introduce a new flag
91 for this and stop abusing other variables.
93 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
95 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
96 Push OOB events downstream when we get them in send_event. This allows
97 the application to insert events in the pipeline.
98 Add some more comments.
100 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
102 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
103 (do_bin_latency), (gst_bin_change_state_func):
104 * gst/gstpipeline.c: (gst_pipeline_change_state):
105 Move latency query from GstPipeline to GstBin so that we can also
106 use it when async-handling is enabled on bins.
108 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
110 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
111 (gst_base_src_do_sync), (gst_base_src_change_state):
112 Update docs.
113 Clean up the timestamping and syncing code for pseudo live sources.
115 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
117 Patch by: Steve Fink <sphink gmail com>
119 * docs/manual/appendix-checklist.xml:
120 Mention less -R switch in the section about debug output (#474055).
122 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
124 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
125 Queue can latency to the pipeline up to the configured max size in time.
126 Report this fact in the latency query.
128 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
130 Patch by: Sebastien Moutte <sebastien at moutte dot net>
132 * libs/gst/controller/gstinterpolation.c:
133 * libs/gst/controller/gstlfocontrolsource.c:
134 Use gst_guint64_to_gdouble() when converting from a uint64 or
135 GstClockTime to double to fix the build on win32. Fixes #474371.
137 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
139 * gst/gstbuffer.c: (gst_buffer_finalize):
140 Implement poisoning for GstBuffer if --enable-poisoning is specified.
141 When finalizing a buffer the complete struct is filled with 0xff,
142 thus making a use of the buffer after the final unref impossible.
144 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
146 * tests/check/libs/controller.c: (GST_START_TEST):
147 Use fail_unless_equals_int(a, b) instead of
148 fail_unless_equals (a == b) to get better output on failures.
150 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
152 * tests/check/gst/gsturi.c:
153 Also check for the other file URI variant on win32.
155 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
157 * gst/gsturi.c: (gst_uri_get_location):
158 If there's no hostname, we want to return 'c:/foo/bar.txt'
159 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
161 * tests/check/gst/gsturi.c:
162 Unit test for the above and a few more things.
164 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
166 * docs/design/part-live-source.txt:
167 Add docs on how live sources should timestamp.
169 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
170 Add some more debug info.
171 For subclasses that are live and like to sync, add aditional startup
172 latency to sync time and timestamps so that we timstamp according to the
173 design doc.
175 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
177 * gst/gstbuffer.c:
178 Also do a g_type_class_ref() for the subbuffer type in
179 the init function.
181 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
183 * docs/gst/gstreamer-sections.txt:
184 * gst/gstpad.c: (gst_pad_peer_query):
185 * gst/gstpad.h:
186 Add function to perform a query on the peer of a pad.
187 API: gst_pad_peer_query()
189 2007-09-11 Stefan Kost <ensonic@users.sf.net>
191 * tests/check/gst/gstsystemclock.c:
192 Cleanup the test a little (use gst-logging and not g_message). Improve
193 test to check if a wait reached the target.
195 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
197 * docs/libs/gstreamer-libs-sections.txt:
198 Add new API to docs and fix the build.
200 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
202 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
203 (gst_base_src_init), (gst_base_src_set_do_timestamp),
204 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
205 (gst_base_src_get_property), (gst_base_src_do_sync):
206 * libs/gst/base/gstbasesrc.h:
207 Add property to make the basesrc timestamp buffers based on the current
208 running time.
209 API: GstBaseSrc::do-timestamp
210 API: gst_base_src_set_do_timestamp()
211 API: gst_base_src_get_do_timestamp()
213 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
215 * docs/random/release:
216 Really make sure translations are up-to-date before
217 a release (#465010).
219 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
221 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
222 Always destroy the timer, also in error cases.
224 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
226 * docs/manual/highlevel-xml.xml:
227 Fix XML example code. Fixes #472714.
229 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
231 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
232 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
233 (gst_base_sink_query):
234 Protect eos and have_preroll with the OBJECT lock so we don't need to
235 take the PREROLL lock when querying the latency. Fixes #473846.
237 2007-09-05 Stefan Kost <ensonic@users.sf.net>
239 * gst/gstelement.c:
240 Give some log-messages a category.
242 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
244 * gst/gststructure.c:
245 (gst_structure_fixate_field_nearest_fraction):
246 Fix fraction list fixation code. Take the fraction with the smallest
247 difference with the target instead of the first one in the list.
249 * tests/check/gst/gststructure.c: (GST_START_TEST),
250 (gst_structure_suite):
251 Added test to verify correct fraction list fixation behaviour.
253 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
255 * win32/common/libgstreamer.def:
256 Export gst_bus_add_signal_watch too.
258 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
260 * docs/libs/gstreamer-libs-sections.txt:
261 Add new methods to docs.
263 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
264 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
265 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
266 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
267 * libs/gst/base/gstbasesink.h:
268 Add ts-offset property to fine-tune the synchronisation.
269 API: GstBaseSink::ts-offset property
270 API: gst_base_sink_set_ts_offset()
271 API: gst_base_sink_get_ts_offset()
273 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
275 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
276 (gst_base_sink_init), (gst_base_sink_set_sync),
277 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
278 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
279 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
280 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
281 (gst_base_sink_get_property), (gst_base_sink_change_state):
282 * libs/gst/base/gstbasesink.h:
283 Add async property to instruct the sink never to inform the parent about
284 ASYNC state changes, update docs.
285 Check argument with g_return_* for the public functions.
286 API: GstBaseSink::async property
287 API: gst_base_sink_set_async_enabled()
288 API: gst_base_sink_is_async_enabled()
290 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
292 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
293 Improve debugging.
295 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
296 (gst_base_src_default_query), (gst_base_src_wait),
297 (gst_base_src_do_sync), (gst_base_src_change_state):
298 Rearrange some code so that we can add support for measuring the
299 startup latency.
301 2007-08-27 Stefan Kost <ensonic@users.sf.net>
303 * docs/random/ensonic/dynlink.txt:
304 More thoughs on this.
306 * plugins/elements/gstcapsfilter.c:
307 Add bugzilla ticket number to FIXME comment.
309 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
311 * docs/design/part-TODO.txt:
312 * docs/design/part-block.txt:
313 Update some docs.
315 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
317 * gst/Makefile.am:
318 Revert patch which uses $(gst_headers) instead of $^ because it
319 breaks make dist.
321 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
323 * tests/check/gst/gstbin.c: (GST_START_TEST):
324 Fix leaks in the new unit test.
326 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
328 * gst/gst.c:
329 Don't use GST_INFO before the debug system is actually initialised
330 (shouldn't do any harm, but won't print anything either, so we can
331 just as well remove it).
333 * gst/gstinfo.h:
334 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
335 compilers that don't support variadic macros (such as MSVC), should
336 check for debug_level <= __gst_debug_min as well, since that's the
337 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
338 inline helper functions. Should improve performance a bit, but also
339 makes sure uses of GST_INFO et.al are ignored if the debugging
340 system isn't initialised yet (instead of printing an assertion
341 failure).
343 2007-08-23 Stefan Kost <ensonic@users.sf.net>
345 patch by: David Nečas <yeti@physics.muni.cz>
347 * gst/Makefile.am:
348 Replace some non portable makefile constructs.
350 2007-08-21 Stefan Kost <ensonic@users.sf.net>
352 * common/gtk-doc-plugins.mak:
353 Grrrrr. Don't remove the types file on make clean.
355 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
357 * tools/gst-launch.1.in:
358 Add colorspace to example pipeline. Fixes #458274.
360 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
362 * docs/random/release:
363 The release manager should run 'make download-po' before making a
364 release to make sure translations are up-to-date.
366 * po/LINGUAS:
367 * po/be.po:
368 * po/pl.po:
369 * po/rw.po:
370 Add some new translations.
372 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
374 * tools/gst-launch.c: (event_loop), (main):
375 Don´t try to do any state management when a live pipeline posts
376 buffering messages.
377 Also make the buffering string translatable.
379 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
381 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
382 (bin_handle_async_start), (gst_bin_handle_message_func):
383 Improve debugging.
384 When adding elements, insert messages into the bus of the newly added
385 element and make sure the element is the source of the message. This
386 allows the parent bin to intercept the message and do the
387 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
388 messages to the app (which is not allowed).
389 Update some docs.
391 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
392 Fix testsuite so that is does not work around messages that should not
393 have been posted in the first place.
395 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
397 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
398 (update_degree), (gst_bin_sort_iterator_next):
399 Fix annoying bug in the sorted iterator where a sink that is not really
400 a sink (when it has downstream links) screwed up the iterator.
402 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
403 Unit test to verify the fix.
405 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
407 * gst/gstmessage.h:
408 Add some more docs for the messages.
410 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
411 (gst_base_sink_query):
412 Add some more debugging.
414 * tools/gst-launch.c: (event_loop):
415 When interrupting, don't try to set pipeline to PAUSED twice.
417 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
420 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
421 (bin_handle_async_start), (gst_bin_handle_message_func):
422 Move ASYNC_START message posting to where it belongs, similar to
423 async_done.
424 Don't post ASYNC_START when we are in error.
425 Post ASYNC_START when we added an async element to a bin.
427 2007-08-14 Julien MOUTTE <julien@moutte.net>
429 * gst/gstindex.c: (gst_index_add_association): Fix index entry
430 generation from vargs. Fixes #466595.
432 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
434 * gst/gstbin.c: (gst_bin_element_set_state):
435 Always change the state of a NO_PREROLL element even if it has ASYNC
436 elements inside (in case of a bin).
438 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
439 Unit test for this case.
441 2007-08-13 Stefan Kost <ensonic@users.sf.net>
443 * libs/gst/check/gstbufferstraw.c:
444 * libs/gst/check/gstcheck.h:
445 * libs/gst/controller/gstcontroller.c:
446 * libs/gst/controller/gstcontrolsource.h:
447 * libs/gst/controller/gstlfocontrolsource.h:
448 * plugins/elements/gstcapsfilter.h:
449 * plugins/elements/gstfdsink.h:
450 * plugins/elements/gstfdsrc.h:
451 Add more missing docs.
453 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
455 * gst/gststructure.c:
456 Add Since tag to docs.
458 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
460 * docs/gst/gstreamer-sections.txt:
461 * gst/gststructure.c: (gst_structure_get_uint):
462 * gst/gststructure.h:
463 Add function to get uint from a structure.
464 API: gst_structure_get_uint()
466 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
468 * gst/gstcaps.c: (gst_caps_set_simple_valist),
469 (gst_caps_intersect):
470 Fix proper check for simple caps.
472 2007-08-10 Stefan Kost <ensonic@users.sf.net>
474 * docs/gst/Makefile.am:
475 * docs/libs/Makefile.am:
476 Remove cruft and do some cleanups.
478 * docs/gst/gstreamer-docs.sgml:
479 * docs/libs/gstreamer-libs-docs.sgml:
480 Prepare for comming gtkdoc features (rebase against online docs).
482 2007-08-10 Michael Smith <msmith@fluendo.com>
484 * docs/gst/gstreamer-sections.txt:
485 Add gst_registry_add_path to docs.
487 2007-08-10 Michael Smith <msmith@fluendo.com>
489 * gst/gstregistry.h:
490 Add gst_registry_add_path, which was missing from this header.
492 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
494 * libs/gst/controller/gstlfocontrolsource.c:
495 Printf format fix.
497 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
499 * libs/gst/base/gstbasesink.c:
500 Don't send an async_start message during downwards state change if
501 target state is less than READY
503 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
505 translated by: Gabor Kelemen <kelemeng@gnome.hu>
507 * po/LINGUAS:
508 * po/hu.po:
509 Added Hungarian translation.
511 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
513 * po/fi.po:
514 * po/it.po:
515 * po/nl.po:
516 * po/sv.po:
517 * po/uk.po:
518 Updated translations.
520 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
522 * libs/gst/controller/Makefile.am:
523 Dist gstlfocontrolsourceprivate.h
525 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
527 * docs/libs/gstreamer-libs.types:
528 Don't register the enum type gst_lfo_waveform_get_type() in the
529 .types file - only GObject derived types belong.
531 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
533 Patch by: <arenevier at fdn dot fr>
535 * gst/gstbuffer.h:
536 Remove comma from last element in enum to avoid compile errors when
537 using -pendantic. Fixes #464366.
539 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
541 * docs/design/part-TODO.txt:
542 Add some more TODO items
544 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
545 Improve debugging.
547 * gst/gstcaps.c: (gst_caps_intersect):
548 Optimize trivial intersection case between identical caps pointers.
550 * gst/gstelement.c: (gst_element_continue_state),
551 (gst_element_set_state_func):
552 * gst/gstpad.c:
553 Fix spelling and grammar mistakes.
555 2007-08-05 Stefan Kost <ensonic@users.sf.net>
557 * po/POTFILES.in:
558 * po/POTFILES.skip:
559 Update POTFILES. Fixes #461599.
561 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
563 * gst/gst.c:
564 Fix confusing typo in debug output.
566 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
568 reviewed by: Stefan Kost <ensonic@users.sf.net>
570 * libs/gst/controller/Makefile.am:
571 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
572 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
573 (gst_lfo_control_source_new),
574 (gst_lfo_control_source_set_waveform),
575 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
576 (gst_lfo_control_source_finalize),
577 (gst_lfo_control_source_dispose),
578 (gst_lfo_control_source_set_property),
579 (gst_lfo_control_source_get_property),
580 (gst_lfo_control_source_class_init):
581 * libs/gst/controller/gstlfocontrolsource.h:
582 * libs/gst/controller/gstlfocontrolsourceprivate.h:
583 API: Add GstLFOControlSource, a control source that gives values
584 for specific timestamps based on several periodic waveforms.
585 Fixes #459717.
587 * tests/check/libs/controller.c: (GST_START_TEST),
588 (gst_controller_suite):
589 * docs/libs/gstreamer-libs-docs.sgml:
590 * docs/libs/gstreamer-libs-sections.txt:
591 * docs/libs/gstreamer-libs.types:
592 Add documentation and unit tests for GstLFOControlSource.
594 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
596 * configure.ac:
597 Back to CVS
599 === release 0.10.14 ===
601 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
603 * configure.ac:
604 releasing 0.10.14, "Breathing Vacuum"
606 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
608 * gst/gstelement.c: (gst_element_class_set_details_simple):
609 * gst/gstelement.h:
610 Make strings passed to gst_element_class_set_details_simple()
611 constant, as they should be (#462752).
613 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
615 * gst/gstbin.c: (gst_bin_change_state_func),
616 (bin_handle_async_done), (gst_bin_handle_message_func):
617 Don't forget about the fact that some element went ASYNC even after a
618 resync. This makes us post the ASYNC_DONE message correctly.
619 Fixes #462558.
621 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
623 * gst/gstregistry.c: (gst_registry_add_feature):
624 When replacing an existing feature in the registry, make sure to
625 continue holding a reference until we've replaced the name string
626 within our feature hash table. Make sure to use g_hash_table_replace
627 instead of g_hash_table_insert to ensure the new name string is used
628 as a key instead of the old one that we're about to free.
629 Fixes: #462085
631 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
633 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
634 (gst_plugin_feature_set_name):
635 Revert patch from #459466 until after the release and we can work
636 out exactly what the problem is (if any).
638 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
640 * docs/gst/gstreamer-sections.txt:
641 * gst/gsttaglist.c:
642 * gst/gsttaglist.h:
643 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
645 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
647 * docs/libs/Makefile.am:
648 Include our build-prefix libs and includes before the generic ones to
649 avoid linking against the installed libs when we want the build-tree
650 ones.
652 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
654 Patch by: Steve Fink <sphink gmail com>
656 * docs/pwg/building-testapp.xml:
657 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
658 if people try to build or install the example from the plugin
659 template against a GStreamer from package using the configure
660 defaults.
662 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
664 Patch by: Steve Fink <sphink gmail com>
666 * tools/gst-inspect.1.in:
667 Document --print-all and --print-plugin-auto-install-info command
668 line options in man page.
670 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
672 * docs/gst/gstreamer-sections.txt:
673 Add docs for new api function.
675 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
677 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
678 * gst/gstelementfactory.h:
679 API: gst_element_factory_has_interface()
680 Added method to check if an element factory implements a named
681 interface.
683 2007-07-25 Stefan Kost <ensonic@users.sf.net>
685 * configure.ac:
686 * docs/gst/gstreamer.types.in:
687 Another conditional doc check.
689 * gst/gstmessage.c:
690 * gst/gstparamspecs.h:
691 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
692 * gst/gstvalue.c:
693 * gst/gstxml.h:
694 API-doc fixes.
696 2007-07-24 Stefan Kost <ensonic@users.sf.net>
698 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
699 (gst_registry_binary_load_feature),
700 (gst_registry_binary_load_plugin),
701 (gst_registry_binary_read_cache):
702 Print error just once and with additional info.
704 2007-07-24 Stefan Kost <ensonic@users.sf.net>
706 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
707 (helper_find_suggest), (helper_find_get_length),
708 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
709 (gst_type_find_helper_for_buffer):
710 Cleanup the typefindhelper code and add private doc comments.
712 2007-07-24 Edward Hervey <bilboed@bilboed.com>
714 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
715 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
716 Fix capsfilter for cases where the caps set on capsfilter will provide
717 additional information.
718 Fixes #449197
720 2007-07-24 Stefan Kost <ensonic@users.sf.net>
722 * gst/gsttypefindfactory.c:
723 Fix docs that recommened wrong function to use.
725 2007-07-23 Stefan Kost <ensonic@users.sf.net>
727 * tools/gst-inspect.c: (print_plugin_features):
728 Also give media-type for typefinders in element output.
730 2007-07-23 Stefan Kost <ensonic@users.sf.net>
732 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
733 (gst_registry_remove_features_for_plugin_unlocked),
734 (gst_registry_add_feature), (gst_registry_remove_feature),
735 (gst_registry_lookup_feature_locked):
736 * gst/gstregistry.h:
737 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
738 Fixes #459501.
740 2007-07-23 Stefan Kost <ensonic@users.sf.net>
742 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
743 (gst_plugin_feature_set_name):
744 Avoid double memory usage for pluginfeature names. Fixes #459466.
746 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
748 * gst/gstpad.h:
749 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
750 driving the pipeline may need to explicitly check for NOT_LINKED as
751 well, since IS_FATAL doesn't cover that.
753 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
755 * docs/pwg/advanced-types.xml:
756 Fix typo and duplicate entry in video formats list.
758 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
760 * libs/gst/controller/gstinterpolation.c:
761 Also round to the nearest int when using cubic interpolation.
763 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
765 * libs/gst/controller/gstinterpolation.c:
766 When linearly interpolating integer types, round to the nearest int
767 by adding 0.5. Don't do it for float/double types.
768 Fixes the failing controller test on my machine, which is somehow
769 rounding differently than on the buildbots.
771 2007-07-20 Stefan Kost <ensonic@users.sf.net>
773 * tools/gst-plot-timeline.py:
774 Better log parsing (categories can have -). Adjust text vs. lines, so
775 that they span the same y-range.
777 2007-07-20 Stefan Kost <ensonic@users.sf.net>
779 * docs/random/ensonic/audiobaseclasses.txt:
780 * docs/random/ensonic/dynlink.txt:
781 * docs/random/ensonic/profiling.txt:
782 Save my thoughts.
784 * docs/random/moving-plugins:
785 Add note to use g_assert type macros.
787 2007-07-20 Stefan Kost <ensonic@users.sf.net>
789 * configure.ac:
790 * libs/gst/check/Makefile.am:
791 Add libm check as we use in for plugins.
793 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
795 * gst/gstbin.c: (gst_bin_continue_func):
796 Check that the state_cookie hasn't changed since the continue_func
797 was scheduled. Avoids problems where the state changes back to
798 something it shouldn't be because it was changed in the meantime.
800 2007-07-17 Stefan Kost <ensonic@users.sf.net>
802 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
803 (gst_registry_binary_save_string),
804 (gst_registry_binary_save_pad_template),
805 (gst_registry_binary_save_feature),
806 (gst_registry_binary_save_plugin),
807 (gst_registry_binary_load_feature),
808 (gst_registry_binary_load_plugin),
809 (gst_registry_binary_read_cache):
810 Fix memory leak. Be less verbose in the log.
812 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
814 * tests/check/elements/.cvsignore:
815 Add file to cvsignore as commanded.
817 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
819 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
820 (mq_dummypad_event), (run_output_order_test):
821 Use a GStaticMutex to protect all cases where libcheck
822 fail_if/fail_unless macros might be called from multiple threads
823 simultaneously to avoid errors like:
824 "check_pack.c:107: :-1081725400:Bad message type arg"
826 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
828 * tests/check/pipelines/stress.c: (GST_START_TEST):
829 Make sure we set the pipeline back to the NULL state before
830 dropping our final reference.
832 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
834 * tests/check/elements/tee.c: (GST_START_TEST):
835 Make the tee stress-test a little less stressful so it doesn't just
836 time out on slow-machines, and remove a small race when it's starting
837 up by adding a get_state() call.
839 2007-07-16 Stefan Kost <ensonic@users.sf.net>
841 * gst/gst.c:
842 Avoid reading registry twice on startup. Fixes #457322.
844 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
846 * pkgconfig/gstreamer-check-uninstalled.pc.in:
847 * pkgconfig/gstreamer-check.pc.in:
848 Substitute the CFLAGS for libcheck into our .pc file too so that
849 dependent modules will pick it up properly if libcheck is installed
850 into some other prefix.
852 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
854 * configure.ac:
855 Revert the pkg-config check for libcheck, since it pulls in the
856 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
857 a proper solution, either from the check project, or something else.
859 2007-07-12 Stefan Kost <ensonic@users.sf.net>
861 * configure.ac:
862 Use pkg-config to locate check.
864 2007-07-10 Stefan Kost <ensonic@users.sf.net>
866 * gst/gsttaglist.c:
867 Fix doc syntax.
869 * gst/gstutils.c:
870 * gst/gstutils.h:
871 Add deprecation guards.
873 * libs/gst/base/gstcollectpads.h:
874 Don't document object (this is implicitly private).
876 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
878 * gst/gststructure.c: (gst_structure_parse_value):
879 When deserialising foo=bar without a type cast, check if it's a
880 boolean before falling back to a string type, otherwise things like
881 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
882 because the filtercaps end up having a signed=(string)true field,
883 which causes problems later when intersection caps.
885 * tests/check/gst/gststructure.c: (GST_START_TEST):
886 Add a unit test for this.
888 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
890 Reviewed by: Stefan Kost <ensonic@users.sf.net>
892 * libs/gst/controller/Makefile.am:
893 * libs/gst/controller/gstcontroller.c:
894 (gst_controlled_property_add_interpolation_control_source),
895 (gst_controlled_property_new), (gst_controlled_property_free),
896 (gst_controller_find_controlled_property),
897 (gst_controller_new_valist), (gst_controller_new_list),
898 (gst_controller_new), (gst_controller_remove_properties_valist),
899 (gst_controller_remove_properties_list),
900 (gst_controller_remove_properties),
901 (gst_controller_set_property_disabled),
902 (gst_controller_set_disabled), (gst_controller_set_control_source),
903 (gst_controller_get_control_source), (gst_controller_get),
904 (gst_controller_sync_values), (gst_controller_get_value_array),
905 (_gst_controller_dispose), (gst_controller_get_type),
906 (gst_controlled_property_set_interpolation_mode),
907 (gst_controller_set), (gst_controller_set_from_list),
908 (gst_controller_unset), (gst_controller_unset_all),
909 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
910 * libs/gst/controller/gstcontroller.h:
911 * libs/gst/controller/gstcontrollerprivate.h:
912 * libs/gst/controller/gstcontrolsource.c:
913 (gst_control_source_class_init), (gst_control_source_init),
914 (gst_control_source_get_value),
915 (gst_control_source_get_value_array), (gst_control_source_bind):
916 * libs/gst/controller/gstcontrolsource.h:
917 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
918 (gst_object_get_control_source):
919 * libs/gst/controller/gstinterpolation.c:
920 (gst_interpolation_control_source_find_control_point_node),
921 (gst_interpolation_control_source_get_first_value),
922 (_interpolate_none_get), (interpolate_none_get),
923 (interpolate_none_get_boolean_value_array),
924 (interpolate_none_get_enum_value_array),
925 (interpolate_none_get_string_value_array),
926 (_interpolate_trigger_get), (interpolate_trigger_get),
927 (interpolate_trigger_get_boolean_value_array),
928 (interpolate_trigger_get_enum_value_array),
929 (interpolate_trigger_get_string_value_array):
930 * libs/gst/controller/gstinterpolationcontrolsource.c:
931 (gst_control_point_free), (gst_interpolation_control_source_reset),
932 (gst_interpolation_control_source_new),
933 (gst_interpolation_control_source_set_interpolation_mode),
934 (gst_interpolation_control_source_bind),
935 (gst_control_point_compare), (gst_control_point_find),
936 (gst_interpolation_control_source_set_internal),
937 (gst_interpolation_control_source_set),
938 (gst_interpolation_control_source_set_from_list),
939 (gst_interpolation_control_source_unset),
940 (gst_interpolation_control_source_unset_all),
941 (gst_interpolation_control_source_get_all),
942 (gst_interpolation_control_source_get_count),
943 (gst_interpolation_control_source_init),
944 (gst_interpolation_control_source_finalize),
945 (gst_interpolation_control_source_dispose),
946 (gst_interpolation_control_source_class_init):
947 * libs/gst/controller/gstinterpolationcontrolsource.h:
948 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
949 API: Refactor GstController into the core controller which can take
950 a GstControlSource for providing actual values for timestamps.
951 Implement a interpolation control source and use this for backward
952 compatibility, deprecate a bunch of functions that are now handled
953 by GstControlSource or GstInterpolationControlSource.
954 Make it possible to disable the controller completely or only for
955 specific properties. Fixes #450711.
956 * docs/libs/gstreamer-libs-docs.sgml:
957 * docs/libs/gstreamer-libs-sections.txt:
958 * docs/libs/gstreamer-libs.types:
959 Add new functions and classes to the docs.
960 * tests/check/libs/controller.c: (GST_START_TEST),
961 (gst_controller_suite):
962 * tests/examples/controller/audio-example.c: (main):
963 Port unit test and example to the new API and add some new
964 unit tests.
966 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
968 Patch by: Mark Nauwelaerts <manauw at skynet be>
970 * plugins/elements/gstmultiqueue.c:
971 (gst_multi_queue_get_internal_links), (apply_buffer),
972 (single_queue_overrun_cb), (gst_single_queue_new):
973 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
974 the pipeline layout can be tracked correctly. Fixes #453732.
976 2007-07-05 Stefan Kost <ensonic@users.sf.net>
978 * docs/gst/Makefile.am:
979 * docs/libs/Makefile.am:
980 * docs/plugins/Makefile.am:
981 Simplify --extra-dir as gtkdoc scans recursively.
983 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
985 * tools/gst-launch.c: (main):
986 When we got an error, there is no point in waiting for preroll when
987 shutting down.
989 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
991 * plugins/elements/gsttee.c: (gst_tee_base_init),
992 (gst_tee_request_new_pad), (gst_tee_release_pad),
993 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
994 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
995 (gst_tee_chain):
996 Be a lot smarter when deciding what srcpad to use for proxying
997 the buffer_alloc. Also handle pad added/removed when doing so.
998 Fixes #357959.
999 Keep track of what pads we already pushed on in case we have pads
1000 added/removed while pushing. Fixes #374639
1002 * tests/check/Makefile.am:
1003 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1004 (tee_suite):
1005 Added unit test for pad resync.
1007 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1009 * po/nl.po:
1010 * po/sv.po:
1011 Updated translations.
1013 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1015 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1017 * po/LINGUAS:
1018 * po/fi.po:
1019 Added new Finnish translation.
1021 2007-06-28 Wim Taymans <wim@fluendo.com>
1023 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1024 (single_queue_overrun_cb):
1025 When figuring out when a queue is filled, use our internal time estimate
1026 based on segments, just like check_full does.
1028 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1030 * gst/gstminiobject.c: (gst_mini_object_get_type):
1031 Remove 3 do-nothing methods.
1033 2007-06-27 Wim Taymans <wim@fluendo.com>
1035 Patch by: Tim Angus <tim at ngus dot net>
1037 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1038 (gst_capsfilter_set_property):
1039 Take a reference instead of a copy when setting "caps".
1040 Fix documentation to clarify this behaviour. Fixes #449414.
1042 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1044 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1045 * gst/gstplugin.c: (gst_plugin_init):
1046 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1047 * gst/gstquery.c: (gst_query_get_type):
1048 * gst/gstregistry.c: (gst_registry_init):
1049 * gst/gsturi.c: (gst_uri_handler_base_init):
1050 Remove empty instance_init() functions to save relocs and lessen the
1051 noise. Remove some of the function prototypes that are doubled by
1052 G_DEFINE_TYPE.
1054 2007-06-27 Wim Taymans <wim@fluendo.com>
1056 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1058 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1059 Add peer and direction in the XML serialisation of ghostpads.
1060 Fixes #449226.
1062 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1064 * configure.ac:
1065 Preserve useful information, thanks Tim.
1067 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1069 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1070 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1071 (gst_single_queue_push_one), (gst_multi_queue_loop),
1072 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1073 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1074 (compute_high_id), (gst_single_queue_new):
1075 * plugins/elements/gstmultiqueue.h:
1076 Take the multiqueue lock when updating the fill level so we don't get
1077 confused.
1079 After applying a buffer or event on the src pad segment, make sure to
1080 call gst_data_queue_limits_changed() to get the data queue to unblock
1081 and check the filled state again.
1083 Rework the not-linked pad handling so the logic is that not-linked
1084 pads can push as fast as they like, but only so they never get
1085 ahead of any linked pads.
1087 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1088 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1089 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1091 Add a test to check that not-linked pads always stay behind
1092 linked pads.
1094 Fixes: #430682
1096 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1098 * docs/random/release:
1099 Some updates to the release procedure.
1101 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1103 * gst/gstelementfactory.c: (__gst_element_details_clear):
1104 Microoptimization that saves stunning 80 bytes.
1106 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1108 * docs/plugins/gstreamer-plugins.args:
1109 * docs/plugins/inspect/plugin-coreelements.xml:
1110 * docs/plugins/inspect/plugin-coreindexers.xml:
1111 Update docs with caps info.
1113 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1115 * po/it.po:
1116 Updated Italian translation.
1118 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1120 * ChangeLog:
1121 * po/vi.po:
1122 Update Vietnamese translations.
1124 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1126 * libs/gst/base/gstbasesink.c:
1127 Remove unused signal enum.
1129 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1131 * docs/gst/gstreamer-sections.txt:
1132 * gst/gstelement.c:
1133 * gst/gstutils.c: (gst_type_register_static_full):
1134 Beef up and include the docs for gst_type_register_static_full and
1135 gst_element_class_set_details_simple and add the API keyword
1136 in the ChangeLog.
1138 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1140 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1141 (update_time_level), (gst_single_queue_push_one),
1142 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1143 (single_queue_overrun_cb), (single_queue_underrun_cb),
1144 (single_queue_check_full):
1145 Fix setting max-* properties after adding queues.
1146 Use IS_FILLED for checking visible items.
1147 Signal overrun if multiple queues overrun.
1148 Add extra debug output.
1149 Patch by: Wim Taymans <wim@fluendo.com>
1151 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1153 * gst/gstelement.c: (gst_element_class_set_details_simple):
1154 * gst/gstelement.h:
1155 * gst/gstutils.c: (gst_type_register_static_full):
1156 * gst/gstutils.h:
1157 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1158 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1159 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1160 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1161 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1162 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1163 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1164 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1165 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1166 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1167 (apply_buffer), (gst_queue_chain):
1168 * plugins/elements/gsttee.c: (gst_tee_base_init):
1169 * plugins/elements/gsttypefindelement.c:
1170 (gst_type_find_element_base_init),
1171 (gst_type_find_element_class_init):
1172 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1173 API: add gst_type_register_static_full
1174 API: add gst_element_class_set_details_simple
1176 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1178 * docs/pwg/advanced-types.xml:
1179 Fix typo in iana.org URI.
1181 2007-06-19 Andy Wingo <wingo@pobox.com>
1183 * tests/check/pipelines/simple-launch-lines.c
1184 (test_state_change_returns): Enable pull-mode tests now that
1185 basesink has been fixed.
1187 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1188 Changed from gst_base_sink_is_prerolled, reversing the sense of
1189 the return value. Returns FALSE also if the sink is in pull mode,
1190 in which case it needs no preroll.
1191 (gst_base_sink_query, gst_base_sink_change_state): Update for
1192 needs_preroll change.
1193 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1194 chaining up, in which we return SUCCESS directly if we activated
1195 in pull mode instead of ASYNC. Involves countering an async_start
1196 message sent before chaining up; not sure if this is correct, in
1197 an ideal world we only send async-start when activating in push
1198 mode.
1200 * tests/check/pipelines/simple-launch-lines.c
1201 (test_state_change_returns): New test, partially disabled until
1202 basesink is fixed.
1204 2007-06-19 Wim Taymans <wim@fluendo.com>
1206 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1207 (gst_multi_queue_sink_event):
1208 Fix event leak.
1210 2007-06-19 Wim Taymans <wim@fluendo.com>
1212 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1213 (gst_bin_change_state_func), (bin_push_state_continue),
1214 (bin_handle_async_start), (bin_handle_async_done),
1215 (gst_bin_handle_message_func):
1216 Move the common code for posting state-change messages into
1217 one function.
1218 Broadcast the state signal after we posted the messages.
1219 Mark the bin as busy when it's doing a state-change.
1220 Make sure async-start/done messages don't interfere with the bin's
1221 state when it's busy.
1222 After the state change, let the bin check which elements completed the
1223 state change while it was busy so that it can update its state.
1225 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1227 * docs/random/release:
1228 Add a note about updating the doap file to the release checklist
1230 2007-06-18 Wim Taymans <wim@fluendo.com>
1232 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1233 (gst_single_queue_push_one), (gst_multi_queue_chain),
1234 (gst_multi_queue_sink_event):
1235 Make sure we don't reference the buffer/event after we have given away
1236 ownership in the queue.
1238 2007-06-18 Wim Taymans <wim@fluendo.com>
1240 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1241 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1242 Update queue state _after_ adding the item in the queue because else we
1243 could end up being full without the element added yet.
1245 2007-06-18 Wim Taymans <wim@fluendo.com>
1247 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1248 (gst_bin_remove_func), (gst_bin_get_state_func),
1249 (gst_bin_element_set_state), (gst_bin_continue_func),
1250 (bin_push_state_continue), (bin_handle_async_start),
1251 (bin_handle_async_done), (gst_bin_handle_message_func):
1252 * gst/gstbin.h:
1253 Immediatly commit the toplevel bin state when receiving an async-done
1254 message. This enables us to avoid spawning a thread to commit the state
1255 in some common cases and it also avoids some races.
1256 Avoid spawning a state thread when adding/removing async elements to a
1257 toplevel bin. Instead we immediatly update the bin state.
1258 Get rid of iterating all the children when getting the state in the bin
1259 because it is now always up-to-date.
1260 Fix bug where locked elements would always return _SUCCESS even it they
1261 returned NO_PREROLL before being locked.
1262 Fix the order of the state_change, async-start/done messages that was
1263 sometimes incorrect.
1264 Mark the state_dirty field as deprecated, we don't need it anymore as we
1265 are always up-to-date.
1267 * gst/gstelement.c: (gst_element_get_state_func),
1268 (gst_element_continue_state):
1269 Small debug inprovements.
1270 Return the previous element state return when nothing is pending instead
1271 of blindly returning SUCCESS.
1273 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1274 (gst_sinks_suite):
1275 Add a whole bunch of new testcases.
1277 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1279 * po/uk.po:
1280 * po/vi.po:
1281 Update translations.
1283 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1285 * gst/gstpad.c:
1286 Fix typo in the docs.
1288 2007-06-15 Wim Taymans <wim@fluendo.com>
1290 * docs/libs/gstreamer-libs-sections.txt:
1291 Add docs for new methods.
1293 2007-06-15 Wim Taymans <wim@fluendo.com>
1295 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1296 (gst_multi_queue_item_new):
1297 Don't use GSlice because we don't depend on >= 2.10 yet.
1299 2007-06-15 Wim Taymans <wim@fluendo.com>
1301 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1302 (update_time_level), (apply_segment), (apply_buffer),
1303 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1304 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1305 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1306 (single_queue_underrun_cb), (single_queue_check_full):
1307 Remove debug printf.
1309 2007-06-15 Wim Taymans <wim@fluendo.com>
1311 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1312 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1313 (gst_data_queue_set_flushing), (gst_data_queue_push),
1314 (gst_data_queue_pop), (gst_data_queue_drop_head),
1315 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1316 * libs/gst/base/gstdataqueue.h:
1317 Various cleanups.
1318 Added methods to get the current levels and to inform the queue that the
1319 'full' limits changed.
1321 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1322 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1323 (gst_single_queue_flush), (update_time_level), (apply_segment),
1324 (apply_buffer), (gst_single_queue_push_one),
1325 (gst_multi_queue_item_steal_object),
1326 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1327 (gst_multi_queue_loop), (gst_multi_queue_chain),
1328 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1329 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1330 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1331 (single_queue_underrun_cb), (single_queue_check_full),
1332 (gst_single_queue_new):
1333 Keep track of time in the queue by measuring the difference between
1334 running_time on input and output. This gives more accurate results and
1335 can compensate for segments correctly.
1336 Make a queue by default only 5 buffers deep. We will now increase the
1337 buffer size depending on the filledness of the other queues.
1338 Factor out commong flush code.
1339 Make sure we don't add additional refcounts to buffers when we can avoid
1340 it.
1341 Propagate GstFlowReturn differently.
1342 Use GSlice for intermediate GstMultiQueueItems.
1343 Keep track of EOS.
1344 Resize queues on over and underruns based on filled level of other
1345 queues.
1346 When checking if the queue is filled, prefer to measure in time if we
1347 can and fall back to bytes when no time is known.
1349 * plugins/elements/gstqueue.c:
1350 Fix return value.
1352 2007-06-15 Wim Taymans <wim@fluendo.com>
1354 * libs/gst/base/gstbasetransform.c:
1355 (gst_base_transform_sink_event):
1356 Work around the brokenness of the event vmethod in basetransform. Prefer
1357 to return TRUE when the subclass returned FALSE (meaning don't forward
1358 the event).
1360 * libs/gst/base/gstbasetransform.h:
1361 Clarify the docs.
1363 2007-06-15 Wim Taymans <wim@fluendo.com>
1365 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1366 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1367 (gst_base_src_default_query), (gst_base_src_get_range),
1368 (gst_base_src_start):
1369 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1370 Improve debugging.
1372 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1374 * docs/pwg/advanced-types.xml:
1375 Added more formats to caps table.
1377 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1379 * tools/gst-launch.c: (main):
1380 Remove crufy code. GOption does not need this workaround.
1382 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1384 * libs/gst/controller/gstcontroller.c:
1385 (gst_controlled_property_set_interpolation_mode):
1386 Fix wrong getter for enums in controller.
1388 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1390 * libs/gst/check/gstcheck.c: (gst_check_init):
1391 Intercept criticals and warnings in the Gst-Phonon log domain, so
1392 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1393 well.
1395 2007-06-14 Edward Hervey <edward@fluendo.com>
1397 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1398 Since this file doesn't include "gst.h" it will not go through the
1399 macros that disable GST_LOG if debugging was disabled.
1401 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1403 * libs/gst/check/Makefile.am:
1404 * libs/gst/check/gstcheck.h:
1405 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1406 * pkgconfig/gstreamer-check.pc.in:
1407 Ugly 'fix' for the controller unit test on the p5 bot: in
1408 fail_unless_equals_float() check whether the values are 'almost
1409 equal' by allowing a small absolute error, which should be good
1410 enough for our use cases (normal numbers and values close to 0).
1411 Proper fixage left to floating point arithmetic aficionados.
1413 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1415 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1416 (gst_base_sink_render_object), (gst_base_sink_get_position):
1417 Add two breaks thats where missing.
1419 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1421 * docs/libs/gstreamer-libs-sections.txt:
1422 * libs/gst/check/gstcheck.h:
1423 API: add fail_unless_equals_float() and assert_equals_float().
1424 Add documentation for some of the macros.
1426 * tests/check/libs/controller.c: (GST_START_TEST):
1427 Use newly-added asserts.
1429 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1431 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1432 Show the caps change in the log to help spotting the case of not
1433 exactly matching caps.
1435 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1437 * docs/pwg/building-boiler.xml:
1438 Fix typos, spotted by Thijs Vermeir (#447190).
1440 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1442 * docs/plugins/tmpl/.cvsignore:
1443 Ignore file to keep the buildbots happy
1445 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1447 * docs/plugins/Makefile.am:
1448 * docs/plugins/gstreamer-plugins-docs.sgml:
1449 * docs/plugins/gstreamer-plugins-sections.txt:
1450 Pull fdsink into the docs too.
1452 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1454 * libs/gst/controller/gstinterpolation.c:
1455 Actually use the new functions with min/max checks for the trigger and
1456 none interpolation modes for get() and get_value_array() instead of
1457 just the latter.
1459 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1461 * libs/gst/controller/gstcontroller.c:
1462 (gst_controlled_property_free):
1463 Unset the minimum and maximum GValues when freeing the corresponding
1464 GstControllerProperty struct.
1466 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1468 * libs/gst/controller/gstcontroller.c:
1469 (gst_controlled_property_new):
1470 * libs/gst/controller/gstcontrollerprivate.h:
1471 * libs/gst/controller/gstinterpolation.c:
1472 (gst_controlled_property_find_control_point_node),
1473 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1474 (interpolate_none_get_string_value_array),
1475 (interpolate_trigger_get),
1476 (interpolate_trigger_get_enum_value_array),
1477 (interpolate_trigger_get_string_value_array):
1478 Protect against values larger or smaller than the minimum or maximum
1479 allowed value for the property when using values that can be compared.
1481 Optimize trigger interpolator a bit by taking the last requested value
1482 into account instead of always looping through the complete list.
1484 Fix coding style a bit, everywhere else we use "return foo" instead
1485 of "return (foo)".
1487 * tests/check/libs/controller.c: (GST_START_TEST),
1488 (gst_controller_suite):
1489 Add unit test for the protection against too large or too small
1490 values.
1492 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1494 * docs/random/slomo/controller.txt:
1495 Add some thoughts about the future of the controller.
1497 2007-06-08 Wim Taymans <wim@fluendo.com>
1499 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1500 Don't overflow in retimestamping code.
1502 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1504 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1505 Use gst_util_guint64_to_gdouble for conversions.
1506 * win32/common/libgstreamer.def:
1507 Add new exported functions.
1509 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1511 * gst/gstutils.c:
1512 Small docs addition.
1514 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1516 * README:
1517 Remove that test line again.
1519 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1521 * README:
1522 Test commit mail sending.
1524 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1526 * configure.ac:
1527 Fix typo and test commit mail sending.
1529 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1531 * tests/examples/controller/audio-example.c:
1532 Improve comment and test commit mail sending.
1534 2007-06-07 Wim Taymans <wim@fluendo.com>
1536 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1537 (gst_bin_remove_func), (gst_bin_element_set_state),
1538 (bin_handle_async_start), (bin_handle_async_done),
1539 (gst_bin_handle_message_func):
1540 Add helper function to find messages.
1541 Generate the async-done messages together with the state change
1542 messages.
1543 Small cleanups in handling toplevel bins.
1545 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1547 * libs/gst/base/gstdataqueue.c:
1548 * libs/gst/base/gstdataqueue.h:
1549 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1550 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1551 (gst_multi_queue_sink_event):
1552 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1553 Fix multiqueue leaking buffers and events when downstream or the
1554 queue are flushing. Make refcounting assumptions explicit and
1555 document them (shouldn't break existing code that uses it other than
1556 maybe leak miniobjects, but that already happens anyway). Add unit
1557 test for the most common flushing case. Fixes #423700.
1559 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1561 * libs/gst/controller/gstcontroller.c:
1562 Clarify docs: The get_all, get_value_array(s) functions
1563 don't modify the GObject properties.
1565 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1567 * libs/gst/controller/gstcontroller.c:
1568 (gst_controlled_property_set_interpolation_mode),
1569 (gst_controlled_property_prepend_default),
1570 (gst_controlled_property_new), (gst_controller_set_unlocked),
1571 (gst_controller_set), (gst_controller_set_from_list),
1572 (gst_controller_unset), (gst_controller_unset_all):
1573 * libs/gst/controller/gstcontrollerprivate.h:
1574 * libs/gst/controller/gstinterpolation.c:
1575 Factor out the 'set' logic into gst_controller_set_unlocked for the
1576 gst_controller_set and gst_controller_set_from_list functions.
1578 To make life of the interpolators easier always add a control point
1579 at timestamp zero with the default value.
1581 In the linear interpolator make things more obvious by better variable
1582 naming (slope).
1584 Implement cubic interpolation mode (by using a natural cubic spline)
1585 and map the quadratic interpolation mode to this too (as quadratic
1586 doesn't make much sense, see discussion on the list).
1588 * tests/check/libs/controller.c: (GST_START_TEST),
1589 (gst_controller_suite):
1590 Add unit test for the cubic interpolation mode and check everywhere
1591 if the interpolation mode could be set as expected.
1593 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1595 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1596 Don't use GLib-2.10 functions, we still depend on
1597 GLib-how-old-is-it-again-2.8.
1599 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1601 * docs/gst/gstreamer-sections.txt:
1602 * gst/Makefile.am:
1603 * gst/gst.c:
1604 * gst/gst.h:
1605 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1606 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1607 (_gst_param_fraction_values_cmp),
1608 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1609 * gst/gstparamspecs.h:
1610 * gst/gstvalue.c:
1611 * tests/check/Makefile.am:
1612 * tests/check/gst/.cvsignore:
1613 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1614 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1615 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1616 (GST_START_TEST), (gst_param_spec_suite):
1617 API: add GstParamSpecFraction, so elements can have fraction
1618 properties without lots of painful string parsing (#444648).
1620 2007-06-05 Wim Taymans <wim@fluendo.com>
1622 * gst/gstobject.c: (gst_object_class_init):
1623 Fix signal signature.
1625 * gst/gstsegment.c:
1626 Add small clarification in the api docs.
1628 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1629 States are protected with object lock.
1631 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1633 * AUTHORS:
1634 I should probably be listed as an author by now.
1636 * docs/random/release:
1637 Update the release doc
1639 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1641 * gst/gstvalue.c:
1642 Make docs for gst_value_compare() mention return enums that
1643 actually exist.
1645 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1647 * configure.ac:
1648 Back to CVS
1650 === release 0.10.13 ===
1652 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1654 * configure.ac:
1655 releasing 0.10.13, "With or without you"
1657 2007-05-25 Wim Taymans <wim@fluendo.com>
1659 * gst/gstbin.c: (bin_handle_async_done):
1660 Make sure that the child bin stops after completing the async state
1661 change so that the parent can continue the state change to PLAYING.
1662 Fixes #441159.
1664 2007-05-25 Wim Taymans <wim@fluendo.com>
1666 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1667 (unref_data), (gst_collect_pads_remove_pad),
1668 (gst_collect_pads_check_pads):
1669 Use additional refcounting to avoid crashes when dynamically adding and
1670 removing pads. Fixes #420206.
1672 2007-05-24 Wim Taymans <wim@fluendo.com>
1674 * tools/gst-launch.c: (event_loop):
1675 When buffering goes from a two digit to a single digit number, make sure
1676 to remove the old second digit by writing a blank over it.
1678 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1680 * libs/gst/base/gstdataqueue.c:
1681 Eliminate tabs and trailing comma in enum list; fix some typos.
1683 2007-05-24 Wim Taymans <wim@fluendo.com>
1685 * tests/check/gst/gstbin.c: (GST_START_TEST):
1686 Allow refcount of 3 and 4 because some state thread might still be busy
1687 with it.
1689 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1691 * plugins/elements/Makefile.am:
1692 * plugins/elements/gstmultiqueue.h:
1693 * plugins/elements/gstqueue.h:
1694 These are not installed headers, no need for padding.
1696 2007-05-24 Wim Taymans <wim@fluendo.com>
1698 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1699 (gst_bin_continue_func):
1700 Enable latency for next release.
1701 Restore STATE_LOCK around recalc_state that was left out during the
1702 rewrite and could result in racy behaviour when _get_state and
1703 recalc_state are run concurrently. See #440463.
1705 2007-05-23 Wim Taymans <wim@fluendo.com>
1707 * tests/check/gst/gstsystemclock.c: (store_callback),
1708 (GST_START_TEST):
1709 Improve test_async_order to also work when both timers are already
1710 expired when we get scheduled to check it.
1712 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1714 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1715 (gst_bin_set_property), (gst_bin_get_property),
1716 (gst_bin_remove_func), (gst_bin_handle_message_func):
1717 * gst/gstbin.h:
1718 'private' is a c++ keyword, let's not use that in header files,
1719 otherwise c++ compilers will throw a tantrum.
1721 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1723 * plugins/elements/gstelements.c:
1724 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1725 (gst_file_sink_get_current_offset):
1726 * plugins/indexers/gstindexers.c: (plugin_init):
1727 Use #ifdef for HAVE_XYZ for consistency.
1729 * tests/check/Makefile.am:
1730 * tests/check/elements/.cvsignore:
1731 * tests/check/elements/filesink.c: (setup_filesink),
1732 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1733 Add some unit tests for filesink.
1735 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1737 Patch by: Mark Nauwelaerts <manauw at skynet be>
1739 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1740 (gst_file_sink_query), (gst_file_sink_do_seek),
1741 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1742 * plugins/elements/gstfilesink.h:
1743 Fix position reporting; rename data_written member to current_pos to
1744 reflect its real meaning (fixes #412648).
1746 2007-05-22 Edward Hervey <edward@fluendo.com>
1748 * docs/gst/gstreamer-sections.txt:
1749 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1750 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1751 (gst_bin_remove_func), (gst_bin_handle_message_func):
1752 * gst/gstbin.h:
1753 Add a property for bins that handle the state change of their childs.
1754 Fixes #435880
1756 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1758 * libs/gst/controller/gstinterpolation.c:
1759 Use an array of the correct type when using _get_value_array with
1760 linear interpolation.
1762 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1764 * gst/gstelement.c (gst_element_requires_clock,
1765 gst_element_provides_clock, gst_element_request_pad,
1766 gst_element_class_set_details, gst_element_class_set_details_simple,
1767 gst_element_default_send_event, gst_element_abort_state,
1768 gst_element_continue_state, gst_element_set_state,
1769 gst_element_set_state_func, iterator_activate_fold_with_resync):
1770 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1771 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1772 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1773 gst_pad_get_range, gst_pad_pull_range):
1774 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1775 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1776 GstPadActivateModeFunction, GstPadChainFunction,
1777 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1778 GstPadFixateCapsFunction, GstPadTemplate):
1779 * gst/gstpipeline.c (gst_pipeline_change_state,
1780 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1781 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1782 gst_pipeline_get_delay):
1783 Whitespace and docs fixes.
1785 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1787 * libs/gst/controller/gstinterpolation.c:
1788 (interpolate_trigger_get_enum_value_array),
1789 (interpolate_trigger_get_string_value_array):
1790 Add support for retrieving value arrays when using the trigger
1791 interpolation mode.
1793 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1795 * libs/gst/controller/gstcontroller.c:
1796 (gst_controller_get_value_array):
1797 * libs/gst/controller/gstcontroller.h:
1798 Clarify the docs of gst_controller_get_value_array(): The array where
1799 the values should be written to must be allocated as there seems to be
1800 no way to get the size of a random GType. This doesn't change any
1801 behaviour. Also fix some typos all over the place and remove an unused,
1802 commented function that is not necessary as g_object_set() could be
1803 used instead.
1804 * tests/check/libs/controller.c: (GST_START_TEST),
1805 (gst_controller_suite):
1806 Add unit test for gst_controller_get_value_array().
1808 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1810 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1812 Disable part of the gst_buffer_try_new_and_alloc test, because
1813 it can happily succeed on 64-bit systems where there's more address
1814 space available.
1816 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1818 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1819 Add unit test for the improved caps checking from bug #421543.
1821 2007-05-21 Wim Taymans <wim@fluendo.com>
1823 * docs/design/part-synchronisation.txt:
1824 Small addition.
1826 * gst/gstbin.c: (gst_bin_query):
1827 * plugins/elements/gstqueue.c: (apply_segment):
1828 Improve debugging.
1830 * gst/gstmessage.h:
1831 Improve docs.
1833 2007-05-21 Wim Taymans <wim@fluendo.com>
1835 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1836 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1837 (gst_pad_configure_src):
1838 Added simple version of improved caps checking. It was previously
1839 assumed that a setcaps function would check the validity of the caps but
1840 people prefer us to check caps against the template automatically.
1841 Fixes #421543.
1843 2007-05-21 Wim Taymans <wim@fluendo.com>
1845 * libs/gst/base/gstbasetransform.h:
1846 Fix macro for locking/unlocking the transform lock.
1848 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1850 * docs/plugins/tmpl/.cvsignore:
1851 Ignore more.
1853 2007-05-18 Edward Hervey <edward@fluendo.com>
1855 * plugins/elements/gstqueue.c: (gst_queue_loop):
1856 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1857 for the subtle art of warning a potentially blocking thread that it
1858 should check the source pad return value, and relay the information
1859 upstream.
1861 2007-05-18 Edward Hervey <edward@fluendo.com>
1863 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1864 Release the queue lock !
1866 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1868 * docs/libs/gstreamer-libs-sections.txt:
1869 Add the two new controller functions to the appropiate places.
1871 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1873 reviewed by: Stefan Kost <ensonic@users.sf.net>
1875 * libs/gst/controller/gstcontroller.c:
1876 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1877 (_gst_controller_get_property), (_gst_controller_set_property),
1878 (_gst_controller_init), (_gst_controller_class_init):
1879 * libs/gst/controller/gstcontroller.h:
1880 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1881 (gst_object_get_control_rate), (gst_object_set_control_rate):
1882 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1883 Add API that provides sync suggestion timestamps for elements that
1884 call gst_object_sync_values() from which those elements can subdivide
1885 their processing loop to get the best results for the controlled
1886 properties. For now it just suggests last_sync + control_rate as
1887 new timestamp but this will be improved in the future.
1889 While doing that change the control-rate property to a GstClockTime
1890 from guint and change it's meaning from samples to nanoseconds as
1891 the GstController doesn't know anything about sampling rate. Strictly
1892 speaking this breaks ABI but as the control-rate property didn't do
1893 anything in the past and as such couldn't be used this should be no
1894 problem.
1896 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1898 reviewed by: Stefan Kost <ensonic@users.sf.net>
1900 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1901 (gst_controller_unset_all):
1902 * libs/gst/controller/gstcontrollerprivate.h:
1903 * libs/gst/controller/gstinterpolation.c:
1904 (gst_controlled_property_find_control_point_node):
1905 Save last synced value from the list to continue searching from there
1906 in future syncs. This speeds everything up a bit.
1908 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1910 reviewed by: Stefan Kost <ensonic@users.sf.net>
1912 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1913 (gst_control_point_find), (gst_controlled_property_new),
1914 (gst_control_point_free), (gst_controlled_property_free),
1915 (gst_controller_set), (gst_controller_set_from_list),
1916 (gst_controller_unset), (gst_controller_unset_all),
1917 (gst_controller_sync_values):
1918 * libs/gst/controller/gstcontroller.h:
1919 * libs/gst/controller/gstcontrollerprivate.h:
1920 * libs/gst/controller/gstinterpolation.c:
1921 (gst_controlled_property_find_control_point_node),
1922 (interpolate_none_get), (interpolate_trigger_get):
1923 Add a new private GstControlPoint struct which "inherits" from
1924 GstTimedValue to allow different interpolators to store internal
1925 values next to each control point. From the outside everything is
1926 still a GstControlPoint so we don't loose binary compatibility.
1927 Also fixup all the GValue handling to not leak GValues or list nodes.
1928 * tests/check/libs/controller.c: (GST_START_TEST):
1929 Free the list nodes and GValues in the controller_misc test.
1931 2007-05-17 Edward Hervey <edward@fluendo.com>
1933 * gst/gstsegment.c:
1934 Small doc fix.
1936 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1938 * gst/gstplugin.c: (gst_plugin_load_file):
1939 If we fail to load a plugin because of unresolved symbols or missing
1940 libraries and spew a warning to stderr, we may just as well mention
1941 which plugin it was that failed to load.
1943 2007-05-13 David Schleef <ds@schleef.org>
1945 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1946 handles the case when ENABLE_GTK_DOC is false, and installs
1947 the prebuilt documentation. So gtk-doc subdirs are
1948 unconditionally enabled. Fixes: #349099.
1950 2007-05-13 David Schleef <ds@schleef.org>
1952 * gst/gstutils.h: Reword some documentation.
1954 2007-05-12 David Schleef <ds@schleef.org>
1956 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1957 do anything with the passed "module" parameter, so remove it.
1958 Allows removal of additional vestigal code.
1960 2007-05-12 David Schleef <ds@schleef.org>
1962 * gst/gstplugin.c:
1963 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1964 Switch to using g_stat() because it's more portable.
1966 2007-05-12 David Schleef <ds@schleef.org>
1968 * gst/gst.c:
1969 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1970 parsing for embedded systems.
1971 * gst/gstelementfactory.c:
1972 Allow gst_element_register() to be called with plugin==NULL.
1973 Did nobody notice that static elements were broken?
1975 2007-05-12 Wim Taymans <wim@fluendo.com>
1977 * tools/gst-launch.c: (event_loop):
1978 Give more interesting info when buffering starts and stops.
1979 Fix case where buffering starts but we fail to update the buffering flag
1980 because the target state is not PLAYING.
1982 2007-05-12 Wim Taymans <wim@fluendo.com>
1984 * plugins/elements/gstqueue.c: (gst_queue_init),
1985 (gst_queue_finalize), (update_time_level), (apply_segment),
1986 (apply_buffer), (gst_queue_locked_flush),
1987 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1988 (gst_queue_handle_sink_event), (gst_queue_chain),
1989 (gst_queue_push_one), (gst_queue_loop):
1990 * plugins/elements/gstqueue.h:
1991 Refactor an cleanup queue a bit.
1992 Do better time level calculations that also work when the srcpad is not
1993 yet running.
1994 Remove some unneeded debug lines.
1996 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1997 Added testcase for time level measurement.
1998 Try to make some stuff more racefree.
2000 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2002 * gst/gsturi.c: (gst_element_make_from_uri):
2003 Don't leak plugin feature.
2005 * tests/check/Makefile.am:
2006 * tests/check/gst/.cvsignore:
2007 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2008 Add brain-dead unit test.
2010 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2012 Patch by: Jeroen Wouters <woutersj at gmail com>
2014 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2015 Treat protocol strings in a case-insensitive way (#437563).
2017 2007-05-11 Michael Smith <msmith@fluendo.com>
2019 * gst/gstplugin.c: (gst_plugin_load_file):
2020 * gst/gstregistry.c: (gst_registry_scan_path_level):
2021 Don't print a g_warning for any failure to load a shared object.
2022 Instead, push this down into gstplugin.c, and warn _only_ if we
2023 failed to open the module (i.e. failure to link).
2024 Avoids warnings on normal, working, non-plugin .so files.
2026 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2028 * gst/gstplugin.c (gst_plugin_load_file):
2029 * gst/gstregistry.c (GST_CAT_DEFAULT,
2030 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2031 Print a g_warning if there was an error when loading a plugins during
2032 registry scan. The shuld help beginners starting with gst-plugin
2033 template.
2035 2007-05-10 Wim Taymans <wim@fluendo.com>
2037 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2038 (update_time_level), (gst_queue_locked_flush),
2039 (gst_queue_handle_sink_event), (gst_queue_chain),
2040 (gst_queue_push_one), (gst_queue_loop):
2041 * plugins/elements/gstqueue.h:
2042 Be smarter when calculating the current amount of data in the queue by
2043 measuring the difference between start and end timestamps (in running
2044 time) inside the queue. Fixes #432876.
2045 API: GstQueue::pushing to notify elements that we are pushing data again
2046 since the running signal is rather broken for this purpose.
2048 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2050 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2051 gst_queue_base_init, gst_queue_init):
2052 use GST_BOILERPLATE
2054 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2056 * win32/common/libgstreamer.def:
2057 Add new exported functions.
2058 * win32/vs6/grammar.dsp:
2059 Use grammar pre-generated files.
2061 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2063 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2065 * gst/Makefile.am:
2066 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2067 * gst/gstparse.h:
2068 * gst/gstutils.c: (gst_parse_bin_from_description):
2069 * gst/gstutils.h:
2070 Maintain API and ABI when --disable-parse is used. Now that
2071 we have an appropriate error code, we can just return NULL and the
2072 appropriate error when gst_parse_launch() is used despite it having
2073 been disabled (#342564).
2075 * tests/check/Makefile.am:
2076 * tests/check/pipelines/.cvsignore:
2077 * tests/check/pipelines/parse-disabled.c:
2078 Make sure these functions exist and return NULL plus a GError when
2079 --disable-parse is used.
2081 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2083 * tests/benchmarks/complexity.c: (main):
2084 * tests/benchmarks/mass-elements.c: (main):
2085 Set a good example and don't leak messages.
2087 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2089 * docs/gst/Makefile.am:
2090 * docs/libs/Makefile.am:
2091 Correct fixxrefs options.
2093 * docs/plugins/Makefile.am:
2094 * docs/plugins/gstreamer-plugins-docs.sgml:
2095 * docs/plugins/gstreamer-plugins-sections.txt:
2096 * plugins/elements/Makefile.am:
2097 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2098 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2099 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2100 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2101 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2102 _GstCapsFilterClass, trans_class):
2103 * plugins/elements/gstelements.c (name, rank, type, _elements):
2104 * plugins/elements/gstidentity.c
2105 (gst_identity_check_imperfect_timestamp,
2106 gst_identity_check_imperfect_offset):
2107 Document capsfilter and add doc-blurb to identity.
2109 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2111 * libs/gst/controller/gstcontroller.c:
2112 (gst_controlled_property_set_interpolation_mode):
2113 * libs/gst/controller/gstinterpolation.c:
2114 Don't crash if someone tries to set an interpolation mode that
2115 is invalid or that isn't supported yet. Fixes #422295.
2117 * tests/check/libs/controller.c: (GST_START_TEST),
2118 (gst_controller_suite):
2119 Add a test case for the above.
2121 2007-05-03 Edward Hervey <edward@fluendo.com>
2123 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2124 Properly set the last_stop position on GstSegment. This will only happen
2125 if there is a buffer to push out.
2127 2007-05-03 Wim Taymans <wim@fluendo.com>
2129 * libs/gst/base/gstbasetransform.c:
2130 (gst_base_transform_buffer_alloc):
2131 always_in_place does not mean that the sink and source caps are the
2132 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2134 2007-05-03 Wim Taymans <wim@fluendo.com>
2136 * docs/libs/gstreamer-libs-sections.txt:
2137 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2138 (gst_base_src_default_query), (gst_base_src_get_range):
2139 * libs/gst/base/gstbasesrc.h:
2140 API: gst_base_src_query_latency(). Added method so that subclasses can
2141 easily get the latency values of the base source class.
2143 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2145 * tools/gst-inspect.c (print_implementation_info):
2146 Remove 0.8 cruft.
2148 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2150 * tools/Makefile.am:
2151 * tools/gst-launch.1.in:
2152 Don't create a customised man page based on the host architecture,
2153 describe the default registry path generically. That way the man
2154 page is the same for all architectures and packagers have one
2155 multilib issue less to deal with. Fixes #434926.
2157 2007-05-02 Wim Taymans <wim@fluendo.com>
2159 * gst/gstpad.c:
2160 Fix documentation as spotted by rg on IRC.
2162 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2164 * gst/gstutils.c:
2165 Improve docs for gst_element_{link,unlink}.
2167 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2169 * docs/design/part-events.txt:
2170 * docs/design/part-overview.txt:
2171 * gst/gstevent.c:
2172 * gst/gsturi.c:
2173 * gst/gsturi.h:
2174 * libs/gst/base/gstbasesink.c:
2175 Typo fixes; minor docs addition.
2177 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2179 * docs/gst/gstreamer-sections.txt:
2180 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2181 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2182 * gst/gsturi.h:
2183 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2184 or src that supports a given URI protocol exists.
2186 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2188 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2189 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2190 Set the location to NULL if "file://" is set as URI. Otherwise
2191 some random previous URI would still be set if "file://" is
2192 set on an already used filesink/filesrc.
2194 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2196 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2197 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2198 Special case the "file://" URI as as this is used by some
2199 applications to test with gst_element_make_from_uri if there's
2200 an element that supports the URI protocol.
2201 Also move the g_path_is_absolute() check for the location part
2202 of the URI to also check this for "file://localhost/bla" URIs.
2204 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2206 * docs/gst/gstreamer-sections.txt:
2207 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2208 * gst/gstbuffer.h:
2209 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2210 (gst_buffer_suite):
2211 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2213 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2215 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2216 (gst_registry_binary_load_pad_template),
2217 (gst_registry_binary_load_plugin),
2218 (gst_registry_binary_read_cache):
2219 * gst/gstregistrybinary.h:
2220 Implement no-mmap alternative for registry reading. Do code cleanups.
2221 Add more comments about avoiding strdups for all text data. Comments
2222 welcome.
2224 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2226 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2227 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2228 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2229 Comment structs and reformat to fix the build (that stuff should go
2230 into a priv. header).
2232 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2234 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2235 (gst_registry_binary_load_feature):
2236 * gst/gstregistrybinary.h:
2237 Refactor so that we can implement multiple features. Add support for
2238 TypeFindFactory features.
2240 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2242 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2244 * configure.ac:
2245 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2247 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2249 * gst/gstbin.c: (gst_bin_element_set_state),
2250 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2251 (bin_handle_async_done), (gst_bin_handle_message_func):
2252 Fix build with --gst-disable-gst-debug
2254 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2256 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2257 Make sure streaming has finished before calling the ::stop() vfunc,
2258 since that vfunc might clear state which is being used in the
2259 streaming thread. This fixes a race that caused crashes in
2260 audioresample when shutting down a pipeline (#420106).
2262 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2264 * docs/gst/gstreamer-sections.txt:
2265 That was one byte missing.
2267 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2269 * configure.ac:
2270 * docs/gst/gstreamer-sections.txt:
2271 * gst/Makefile.am:
2272 * gst/gstconfig.h.in:
2273 * gst/gstobject.c: (gst_object_class_init),
2274 (gst_signal_object_class_init):
2275 * gst/gstobject.h:
2276 2nd attempt to have a xml-less build as a joined effort of #413123
2277 and #421480.
2279 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2281 * docs/design/draft-tagreading.txt:
2282 Added open issues/thoughts to draft.
2284 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2286 * gst/parse/grammar.tab.pre.c:
2287 * gst/parse/grammar.tab.pre.h:
2288 * gst/parse/lex._gst_parse_yy.pre.c:
2289 Update the prebuild parser sources.
2291 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2293 * gst/parse/Makefile.am:
2294 And now fix the building of the flex sources. Now everything should
2295 work as expected.
2297 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2299 * gst/parse/Makefile.am:
2300 Now hopefully fix the build failures by setting proper rule
2301 dependencies and moving instead of copying.
2303 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2305 * tests/benchmarks/complexity.gnuplot:
2306 * tests/benchmarks/complexity.scm:
2307 * tests/benchmarks/mass-elements.gnuplot:
2308 * tests/benchmarks/mass-elements.scm:
2309 Total licensification.
2311 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2313 * gst/parse/Makefile.am:
2314 Fix the build by correcting the rule that gave wrong files to flex.
2316 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2318 * tests/benchmarks/complexity.c:
2319 * tests/benchmarks/mass-elements.c:
2320 Change licence to LGPL as granted by Benjamin and Andy.
2322 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2324 * gst/parse/Makefile.am:
2325 Add correct grammar.tab.h dependency if compiling without new enough
2326 flex. Fixes #431150.
2328 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2330 * gst/parse/Makefile.am:
2331 Fix typo and use outdated sources if the flex/bison sources are newer
2332 than the pregenerated ones but flex is too old. Print a warning in
2333 that case. This should fix the build on the build bot.
2335 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2337 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2338 * gst/parse/Makefile.am:
2339 * gst/parse/grammar.y:
2340 * gst/parse/parse.l:
2341 Make the parser reentrant and recursively callable. This requires flex
2342 >= 2.5.31, for older versions pregenerated sources are used as we
2343 can't bump the build dependency. Finally fixes #349180.
2345 * gst/gstparse.c: (gst_parse_launch):
2346 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2347 now anyway.
2349 * docs/gst/Makefile.am:
2350 * docs/gst/Makefile.am:
2351 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2352 (__gst_parse_strfree), (__gst_parse_link_new),
2353 (__gst_parse_link_free), (__gst_parse_chain_new),
2354 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2355 (gst_parse_element_set), (gst_parse_free_link),
2356 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2357 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2358 (_gst_parse_launch):
2359 * gst/parse/grammar.tab.pre.h:
2360 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2361 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2362 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2363 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2364 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2365 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2366 (_gst_parse_yypop_buffer_state),
2367 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2368 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2369 (yy_fatal_error), (_gst_parse_yyget_extra),
2370 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2371 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2372 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2373 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2374 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2375 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2376 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2377 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2378 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2379 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2380 (_gst_parse_yyfree):
2381 If the installed flex version is too old use pre-generated parser
2382 sources. These pre-generated parser sources are always updated when
2383 the actual flex/bison sources change but require everybody who wants
2384 to change something in the parser to have flex >= 2.5.31 installed.
2386 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2388 * common/m4/gst-gettext.m4:
2389 * gst/gst-i18n-lib.h:
2390 Make --disable-nls to work
2392 2007-04-17 Wim Taymans <wim@fluendo.com>
2394 * gst/gstconfig.h.in:
2395 Revert previous change that broke the build.
2397 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2399 * configure.ac:
2400 * gst/Makefile.am:
2401 * gst/gstconfig.h.in:
2402 Drop libxml2 dependency when building with
2403 --enable-binary-registry --disable-loadsave
2405 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2407 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2408 (gst_registry_binary_read_cache):
2409 * gst/gstregistrybinary.h:
2410 Remove unnecessary <sys/mman.h> include which broke the win32 build
2411 with MingW; move includes from header file to .c file, even if the
2412 header file isn't installed; use g_strerror() where UTF-8 strings
2413 are expected, such as in GST_DEBUG messages.
2415 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2417 * docs/libs/gstreamer-libs-sections.txt:
2418 Remove bogus addition for API I didn't end up keeping.
2420 * libs/gst/base/gstbasesrc.h:
2421 Mention Since: 0.10.13 in the documentation.
2423 Add the API keyword to the previous ChangeLog entry.
2425 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2427 * docs/libs/gstreamer-libs-sections.txt:
2428 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2429 (gst_base_src_default_prepare_seek_segment),
2430 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2431 * libs/gst/base/gstbasesrc.h:
2432 Allow basesrc derived classes to execute seeks in other formats
2433 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2434 to prepare the GstSegment in any format that their perform_seek method
2435 will be able to understand. The default implementation provides the
2436 old behaviour of attempting to convert the seek offsets to the
2437 configured native format.
2439 API: basesrc::prepare_seek_segment vmethod.
2441 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2443 * gst/gstelement.c: (gst_element_get_state_func):
2444 Don't output the same debug statement twice.
2446 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2447 (gst_adapter_peek), (gst_adapter_take_buffer):
2448 Optimise the case where we have buffers at the head of the queue that
2449 can be joined quickly (because they're contiguous sub-buffers) by
2450 merging them together rather than copying data out into new memory.
2452 * gst/parse/grammar.y:
2453 * tests/check/pipelines/parse-launch.c:
2454 Fix a leak in an error path for parse_launch, and add a check
2455 for it to the testsuite.
2457 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2459 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2460 Don't deadlock when releasing a pad - gst_pad_set_active may try
2461 and take the multiqueue lock too.
2463 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2465 * gst/gsterror.c: (_gst_core_errors_init):
2466 * gst/gsterror.h:
2467 API: add GST_CORE_ERROR_DISABLED (#392804).
2469 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2471 * docs/faq/gst-uninstalled:
2472 don't get empty paths on the PATH variables
2473 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2474 Don't format for the uncommon terminal width of 84 characters.
2476 2007-04-06 Wim Taymans <wim@fluendo.com>
2478 * gst/gstpipeline.c: (reset_stream_time),
2479 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2480 Only try to select a different pipeline clock when we went back to
2481 PAUSED and not when we merely got flushed.
2483 2007-04-05 Michael Smith <msmith@fluendo.com>
2485 * tools/gst-launch.1.in:
2486 fractions are better supported in gstreamer than ractions, so
2487 suggest using those.
2489 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2491 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2493 * po/LINGUAS:
2494 * po/da.po:
2495 Added Danish translation.
2497 2007-04-05 Wim Taymans <wim@fluendo.com>
2499 * libs/gst/base/gstbasesink.c:
2500 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2501 Fix leak caused when refusing newsegment after EOS.
2503 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2504 (gst_fake_sink_init), (gst_fake_sink_set_property),
2505 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2506 (gst_fake_sink_render), (gst_fake_sink_change_state):
2507 * plugins/elements/gstfakesink.h:
2508 Add num-buffers property to make the element generate EOS after a
2509 configurable amount of buffers.
2510 API: fakesink::num-buffers property.
2512 * tests/check/elements/fakesink.c: (GST_START_TEST),
2513 (fakesink_suite):
2514 Fix GstBus leak in test.
2515 Test for fakesink num-buffers.
2517 2007-04-05 Wim Taymans <wim@fluendo.com>
2519 * libs/gst/base/gstbasesink.c:
2520 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2521 (gst_base_sink_change_state):
2522 Don't accept anything after an EOS, return UNEXPECTED instead.
2524 * tests/check/elements/fakesink.c: (GST_START_TEST),
2525 (fakesink_suite):
2526 Unit test for new EOS behaviour.
2528 2007-04-05 Wim Taymans <wim@fluendo.com>
2530 * gst/gstelement.c: (gst_element_get_request_pad):
2531 Make padtemplates also work when they don't contain %s or %d.
2533 2007-04-05 Wim Taymans <wim@fluendo.com>
2535 * docs/gst/gstreamer-sections.txt:
2536 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2537 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2538 * gst/gstclock.h:
2539 Improve _adjust_unlocked() so that it overflows less.
2540 Add gst_clock_unadjust_unlocked to convert from external time to
2541 internal time based on calibration.
2542 Add some more debug.
2543 API: GstClock::gst_clock_unadjust_unlocked()
2545 2007-04-03 Wim Taymans <wim@fluendo.com>
2547 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2549 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2550 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2551 when releasing sink pad. Fixes #425400.
2553 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2555 * docs/random/ensonic/dynlink.txt:
2556 More work on proposal for new core api.
2558 * docs/libs/gstreamer-libs-sections.txt:
2559 * libs/gst/base/gstbasetransform.h:
2560 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2562 * libs/gst/controller/gstcontroller.c:
2563 (on_object_controlled_property_changed),
2564 (gst_controller_sync_values),
2565 (gst_controller_set_interpolation_mode):
2566 * libs/gst/controller/gstcontroller.h:
2567 Less verbose logging add docs for unimplemented parts and correctly
2568 return when using unavailable parts.
2570 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2572 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2573 Move all the debug to the CLOCK category, and associate it with
2574 the clock object.
2576 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2578 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2579 Make take_buffer a bit quicker by removing redundant checks
2580 caused by calling gst_adapter_take.
2582 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2584 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2585 Don't leak GCond.
2587 * tests/check/Makefile.am:
2588 * tests/check/elements/.cvsignore:
2589 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2590 (GST_START_TEST), (multiqueue_suite):
2591 Add some dead simple unit tests for the 'multiqueue' element
2592 (some bits don't work yet and are disabled for now).
2594 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2596 * gst/gstelement.c: (gst_element_get_request_pad),
2597 (gst_element_class_get_request_pad_template):
2598 Make gst_element_get_request_pad() create request pads only for
2599 request pad templates and not for, say, sometimes pad templates.
2601 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2603 * docs/design/draft-klass.txt:
2604 Add example that needs more thinking.
2606 * docs/design/draft-missing-plugins.txt:
2607 More thoughts about wrapper plugins.
2609 * docs/random/ensonic/embedded.txt:
2610 * docs/random/ensonic/profiling.txt:
2611 More design work.
2613 2007-03-25 Wim Taymans <wim@fluendo.com>
2615 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2616 (gst_base_src_loop):
2617 Only push the segment events in the PLAYING state for live sources.
2619 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2621 * gst/gstpipeline.c: (gst_pipeline_change_state):
2622 Modify the clock distribution path in PAUSED->PLAYING so that we
2623 never attempt to choose a new clock unless we're actually leaving
2624 the PAUSED state for the first time. This prevents choosing a
2625 different clock when the state_change gets called for a 2nd time due
2626 to some element doing an async state change.
2628 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2630 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2631 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2632 (gst_pad_chain_unchecked), (gst_pad_push):
2633 Revert last commit. This needs some more thoughts.
2635 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2637 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2638 (gst_pad_chain_unchecked), (gst_pad_push):
2639 Check in set_caps if the caps are compatible with the pad and remove
2640 two functions that are redundant now. Fixes #421543.
2642 2007-03-22 Wim Taymans <wim@fluendo.com>
2644 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2645 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2646 Unref some more to make valgrind happy.
2648 2007-03-22 Wim Taymans <wim@fluendo.com>
2650 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2651 (gst_system_clock_id_wait_jitter),
2652 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2653 Fix anoying regression that survived a few releases. When adding an
2654 async entry while blocking on a sync entry, the sync entry will unblock
2655 but still be busy, so it should continue to wait instead of returning
2656 _BUSY to the app.
2657 Add some comments here and there.
2659 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2660 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2661 Add testcase for this.
2663 2007-03-22 Wim Taymans <wim@fluendo.com>
2665 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2666 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2667 WRONG_STATE and can silently pause the task. All other cases should
2668 error out.
2670 2007-03-22 Wim Taymans <wim@fluendo.com>
2672 Patch by: Ville Syrjala <syrjala at sci dot fi>
2674 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2675 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2676 Improve debugging.
2678 2007-03-21 Michael Smith <msmith@fluendo.com>
2680 * docs/pwg/advanced-types.xml:
2681 Fix some errors in the typefinding docs pointed out on irc.
2683 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2685 * libs/gst/base/gstbasesrc.c:
2686 Clarify FIXME comment in the face of having added unlock_stop()
2688 2007-03-21 Wim Taymans <wim@fluendo.com>
2690 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2691 Prepare for release where we warn against possible app breakage in the
2692 case of live pipelines along with an env var to enable/disable live
2693 preroll mode (GST_COMPAT=[no-]live-preroll).
2695 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2697 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2698 So we should use correct constants for checking for None offset.
2700 2007-03-20 Wim Taymans <wim@fluendo.com>
2702 * docs/design/part-block.txt:
2703 Mention the fact that the newly switched element should be set to at
2704 least PAUSED.
2706 2007-03-20 Wim Taymans <wim@fluendo.com>
2708 * gst/gst.c:
2709 Fix compilation with registry disabled as spotted by Saur.
2711 2007-03-20 Wim Taymans <wim@fluendo.com>
2713 Patch by: Olivier Crete <tester at tester dot ca>
2715 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2716 Look at the pending state too when syncing the element state to the
2717 parent. Fixes #420133.
2719 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2721 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2722 (gst_base_sink_change_state):
2723 * libs/gst/base/gstbasesink.h:
2724 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2725 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2726 (gst_base_src_deactivate):
2727 * libs/gst/base/gstbasesrc.h:
2728 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2729 for sub-classes to correctly clear any state they set trying to
2730 unlock, such as clearing out unlock commands from a command fd.
2731 API: basesrc::unlock_stop
2732 API: basesink::unlock_stop
2734 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2735 (gst_fd_sink_render), (gst_fd_sink_unlock),
2736 (gst_fd_sink_unlock_stop):
2737 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2738 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2739 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2741 Implement unlock_stop in fdsrc and fdsink.
2742 Implement seeking in fdsrc when a seekable fd is passed, as in
2743 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2745 2007-03-19 Wim Taymans <wim@fluendo.com>
2747 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2749 * gst/gstelement.c: (gst_element_class_init):
2750 Fix pad-added and pad-removed signal signatures so that the pad type is
2751 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2753 2007-03-19 Wim Taymans <wim@fluendo.com>
2755 * docs/gst/gstreamer-sections.txt:
2756 Add new element field and method.
2758 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2759 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2760 (gst_bin_recalc_state), (gst_bin_get_state_func),
2761 (gst_bin_element_set_state), (gst_bin_change_state_func),
2762 (gst_bin_continue_func), (bin_bus_handler),
2763 (bin_push_state_continue), (bin_handle_async_start),
2764 (bin_handle_async_done), (gst_bin_handle_message_func):
2765 Make async state changes a bit smarter by using new ASYNC_START and
2766 ASYNC_DONE messages. This reduces the number of times we run the state
2767 recalculation thread.
2768 Don't change state of element with a pending ASYNC_START message.
2769 Deprecate STATE_DIRTY messages.
2771 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2772 (gst_element_get_state_func), (gst_element_continue_state),
2773 (gst_element_lost_state), (gst_element_set_state_func),
2774 (gst_element_change_state):
2775 * gst/gstelement.h:
2776 Keep the state that was last set by the app in a new element field.
2777 Don't allow state changes when handling an element event.
2778 Post ASYNC_START and ASYNC_DONE messages.
2779 Change lost_state so that we go to PAUSED and wait for the parent to set
2780 us to PLAYING again (so latency calculation can be performed)
2781 Export gst_element_change_state() method so that subclasses can use it.
2782 API: gst_element_change_state()
2783 API: GST_STATE_TARGET
2785 * gst/gstpipeline.c: (gst_pipeline_class_init),
2786 (reset_stream_time), (gst_pipeline_change_state),
2787 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2788 Using the new ASYNC_START message we can reset the base_time when
2789 needed. This can then be used to implement base_time redistribution in
2790 flushing seeks so that we can remove the explicit seek handling.
2791 Perform latency query and configuration when going to PLAYING.
2793 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2794 (gst_base_sink_query), (gst_base_sink_change_state):
2795 Post new ASYNC_START/ASYNC_DONE messages.
2797 * tests/check/generic/sinks.c: (GST_START_TEST):
2798 Fix test because the bin will not set the async element to PLAYING right
2799 away.
2801 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2802 Make the message check a little stronger.
2803 Handle ASYNC messages.
2805 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2806 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2807 Expect ASYNC_DONE messages.
2809 2007-03-19 Wim Taymans <wim@fluendo.com>
2811 * docs/gst/gstreamer-sections.txt:
2812 * gst/gstmessage.c: (gst_message_new_async_start),
2813 (gst_message_new_async_done), (gst_message_parse_info),
2814 (gst_message_parse_async_start):
2815 * gst/gstmessage.h:
2816 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2817 support.
2819 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2821 * tools/gst-inspect.c:
2822 (print_plugin_automatic_install_info_codecs):
2823 Now that we don't check for the 'Codec' keyword any longer in the
2824 klass, we shouldn't spew a warning if the klass isn't a decoder or
2825 encoder (since it might be a Source/Network, for example).
2827 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2829 * tools/gst-inspect.c:
2830 (print_plugin_automatic_install_info_codecs):
2831 Don't require decoder/demuxer/depayloader elements or
2832 encoder/muxer/paylader elements to have 'Codec' as part of their
2833 factory class string when introspecting a plugin's capabilities.
2834 draft-klass.txt mentions that it might be removed in future, and
2835 flump3dec doesn't have it as part of its class string, so chances
2836 are others might also not have it.
2838 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2840 * po/af.po:
2841 * po/az.po:
2842 * po/bg.po:
2843 * po/ca.po:
2844 * po/cs.po:
2845 * po/de.po:
2846 * po/en_GB.po:
2847 * po/fr.po:
2848 * po/it.po:
2849 * po/nb.po:
2850 * po/nl.po:
2851 * po/ru.po:
2852 * po/sq.po:
2853 * po/sr.po:
2854 * po/sv.po:
2855 * po/tr.po:
2856 * po/uk.po:
2857 * po/vi.po:
2858 * po/zh_CN.po:
2859 * po/zh_TW.po:
2860 Update translations from translation project
2862 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2864 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2865 (gst_child_proxy_set_property):
2866 Invert precondition check to be alike the ones in the mimiced gobject
2867 api.
2869 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2871 * docs/design/draft-tagreading.txt:
2872 * docs/random/ensonic/audiobaseclasses.txt:
2873 Do some Architect work.
2875 * gst/gstobject.c: (gst_object_set_name):
2876 Add a WARNING.
2878 * gst/gstpad.c:
2879 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2881 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2883 * gst/gstsystemclock.c: (gst_system_clock_init),
2884 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2885 Defer starting the async system clock thread until the first async
2886 wait is scheduled. Fixes #414986.
2888 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2890 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2891 (gst_single_queue_free):
2892 Fix small leak (free GstSingleQueue structure too, not only contents).
2894 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2896 * gst/gstbin.c:(gst_bin_add):
2897 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2898 * win32/common/libgstbase.def:
2899 * win32/common/libgstreamer.def:
2900 Add new exported functions.
2902 2007-03-09 Wim Taymans <wim@fluendo.com>
2904 * docs/plugins/gstreamer-plugins-sections.txt:
2905 Fix GstTee docs.
2907 2007-03-09 Wim Taymans <wim@fluendo.com>
2909 * docs/gst/gstreamer-sections.txt:
2910 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2911 * gst/gstbuffer.h:
2912 Add metadata copy functions. Fixes #393099.
2913 API: gst_buffer_copy_metadata()
2915 * gst/gstutils.c: (gst_buffer_stamp):
2916 * libs/gst/base/gstbasetransform.c:
2917 (gst_base_transform_prepare_output_buffer):
2918 Use new metadata copy functions.
2920 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2922 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2923 (gst_identity_init), (gst_identity_check_perfect),
2924 (gst_identity_check_imperfect_timestamp),
2925 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2926 (gst_identity_set_property), (gst_identity_get_property):
2927 * plugins/elements/gstidentity.h:
2928 Separate out check-imperfect-timestamp and check-imperfect-offset.
2929 Put back check-perfect as it was to keep compatibility.
2931 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2933 * gst/gstelement.c: (gst_element_dispose):
2934 There's no need to warn if VOID_PENDING is not NONE here, as
2935 long as the state is NULL it's ok, and that's checked immediately
2936 above.
2938 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2940 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2941 Fix check for perfect stream to ignore buffers with -1
2942 offsets/offset ends when checking data contiguity.
2944 2007-03-08 Wim Taymans <wim@fluendo.com>
2946 * tools/gst-launch.c: (event_loop):
2947 Print INFO messages.
2949 2007-03-08 Wim Taymans <wim@fluendo.com>
2951 * libs/gst/base/gstbasetransform.c:
2952 (gst_base_transform_sink_eventfunc),
2953 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2954 (gst_base_transform_activate):
2955 * libs/gst/base/gstbasetransform.h:
2956 Add support for dropping buffers with custom GstFlowReturn.
2957 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2958 buffers or dropped buffers.
2960 * docs/libs/gstreamer-libs-sections.txt:
2961 docs for new custom return code.
2963 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2964 Use drop support in base class to implement drop-probability.
2966 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2968 * gst/gst.c: (load_plugin_func):
2969 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2970 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2971 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2972 Remove newlines at end of debug log strings.
2974 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2976 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2977 Only post bus message at max, once per buffer received.
2979 2007-03-07 Wim Taymans <wim@fluendo.com>
2981 * docs/design/Makefile.am:
2982 * docs/design/part-synchronisation.txt:
2983 Add doc about synchronisation
2985 * docs/design/draft-latency.txt:
2986 * docs/design/part-TODO.txt:
2987 * docs/design/part-clocks.txt:
2988 * docs/design/part-events.txt:
2989 * docs/design/part-gstbus.txt:
2990 * docs/design/part-gstpipeline.txt:
2991 * docs/design/part-live-source.txt:
2992 * docs/design/part-messages.txt:
2993 * docs/design/part-overview.txt:
2994 * docs/design/part-streams.txt:
2995 * docs/design/part-trickmodes.txt:
2996 Documentation updates.
2998 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3000 * gstreamer.doap:
3001 Update the doap file.
3003 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3005 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3006 Rename non-perfect to imperfect for Mike and for the sanctity of the
3007 language.
3008 Also make sure bus message gets emitted for data-incontiguities.
3010 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3012 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3013 (gst_identity_start):
3014 * plugins/elements/gstidentity.h:
3015 Emit bus message if check-perfect is true and we encounter a
3016 non-perfect stream between 2 consecutive buffers.
3017 Fixes #415394.
3019 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3021 * configure.ac:
3022 Back to CVS
3024 === release 0.10.12 ===
3026 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3028 * configure.ac:
3029 releasing 0.10.12, "Inevitable Demise"
3031 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3033 * configure.ac:
3034 Version 0.10.11.2 (0.10.12 pre-release)
3035 Bump libtool versioning.
3037 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3039 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3040 Log flow-names and not numbers.
3042 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3044 * configure.ac:
3045 Convert to new AG_GST style.
3047 2007-02-28 Wim Taymans <wim@fluendo.com>
3049 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3050 Don't unref query twice.
3052 2007-02-28 Wim Taymans <wim@fluendo.com>
3054 * gst/gstvalue.c: (gst_value_transform_object_string),
3055 (_gst_value_initialize):
3056 Implement GstObject -> string transform so we print object names
3057 when serializing GValues containing GstObjects.
3059 2007-02-28 Wim Taymans <wim@fluendo.com>
3061 * docs/gst/gstreamer-sections.txt:
3062 Add new stuff to docs.
3064 2007-02-28 Wim Taymans <wim@fluendo.com>
3066 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3067 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3068 (gst_base_sink_change_state):
3069 Improve latency query code.
3070 Don't leak latency events.
3072 * tests/check/gst/gstbin.c: (GST_START_TEST):
3073 Improve debugging.
3075 2007-02-28 Wim Taymans <wim@fluendo.com>
3077 * gst/gstelement.c: (gst_element_message_full),
3078 (gst_element_get_state_func):
3079 * gst/gstelement.h:
3080 Improve docs a little. Added Since: for new macro.
3082 * gst/gstobject.c: (gst_object_sink):
3083 * gst/gstpipeline.c: (gst_pipeline_change_state),
3084 (gst_pipeline_set_new_stream_time):
3085 * gst/gstpipeline.h:
3086 Improve debugging and docs.
3088 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3089 Improve debugging.
3091 2007-02-28 Wim Taymans <wim@fluendo.com>
3093 * gst/gstelement.c: (gst_element_message_full),
3094 (gst_element_set_locked_state), (gst_element_get_state_func),
3095 (gst_element_change_state):
3096 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3097 Documentation updates.
3098 Small code cleanups.
3100 * gst/gstmessage.c: (gst_message_new_info),
3101 (gst_message_parse_info):
3102 * gst/gstmessage.h:
3103 API: gst_message_new_info()
3104 API: gst_message_parse_info()
3105 Add INFO message create and parse code.
3107 2007-02-28 Wim Taymans <wim@fluendo.com>
3109 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3110 (bin_query_latency_done):
3111 Also report the live parameter of a latency query.
3113 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3115 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3116 Copy the current generic/states example from -base and adapt so
3117 we can use the exact same code everywhere.
3118 Check a STATES_IGNORE_ELEMENTS env var which can be used
3119 to ignore certain element factories for this test, which is
3120 what is being done in -base
3121 * tests/check/Makefile.am:
3122 Mention this environment variable.
3124 2007-02-27 Wim Taymans <wim@fluendo.com>
3126 * docs/gst/gstreamer-sections.txt:
3127 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3128 (gst_bus_timed_pop), (gst_bus_pop):
3129 * gst/gstbus.h:
3130 API: gst_bus_timed_pop()
3131 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3132 message to arrive on the bus.
3134 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3135 (gst_bus_suite):
3136 Two unit tests for new _timed_pop() function.
3138 2007-02-23 Wim Taymans <wim@fluendo.com>
3140 * gst/gstpipeline.c: (gst_pipeline_change_state),
3141 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3142 Don't ref a NULL clock in _provide_clock_func().
3143 Don't allow an INVALID delay.
3144 Don't try to calculate base_time with an invalid start_time.
3145 Also distribute and notify a NULL clock when it was selected.
3147 * tools/gst-launch.c: (event_loop):
3148 Don't crash when a NULL clock was selected in the pipeline.
3150 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3152 * docs/design/Makefile.am:
3153 * docs/design/draft-missing-plugins.txt:
3154 * docs/random/draft-missing-plugins.txt:
3155 Some small updates: update plugin system identifier prefix
3156 ('gstreamer.net' to 'gstreamer'), mention our new install
3157 API in libgstbaseutils rather than libgimme-codec, add
3158 reference to the online docs.
3160 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3162 * win32/common/config.h:
3163 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3164 use moap cl ci to only check in what is mentioned in the ChangeLog.
3166 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3168 * docs/gst/gstreamer-sections.txt:
3169 * gst/gstelement.h:
3170 Fix up documentation to link to the correct GstGError section.
3171 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3173 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3175 * tools/gst-launch.c: (event_loop):
3176 Make sure that we actually show the important message part of a
3177 warning message.
3178 No need to check if the gerror is not NULL to free; first of all
3179 g_free accepts NULL; and second the default error handler would
3180 segfault if gerror was NULL.
3182 2007-02-21 Wim Taymans <wim@fluendo.com>
3184 * docs/gst/gstreamer-sections.txt:
3185 Removed docs as well.
3187 2007-02-21 Wim Taymans <wim@fluendo.com>
3189 * gst/gstmessage.c: (gst_message_parse_duration):
3190 * gst/gstmessage.h:
3191 Remove new messages for release.
3193 2007-02-20 Wim Taymans <wim@fluendo.com>
3195 * docs/design/part-gstghostpad.txt:
3196 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3197 (gst_ghost_pad_new_full):
3198 Make the ghostpad a parent of the internal pad again for better backward
3199 compatibility. Don't write code that relies on this however.
3201 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3202 (gst_pad_link_check_hierarchy):
3203 Require that parents should be GstElements in the hierarchy check.
3205 2007-02-20 Wim Taymans <wim@fluendo.com>
3207 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3208 (gst_bin_change_state_func), (bin_query_min_max_init),
3209 (bin_query_latency_fold), (bin_query_latency_done),
3210 (gst_bin_query):
3211 Improve debug info.
3212 Implement latency query.
3214 2007-02-20 Wim Taymans <wim@fluendo.com>
3216 * docs/design/part-gstghostpad.txt:
3217 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3218 (gst_ghost_pad_internal_do_activate_push),
3219 (gst_ghost_pad_internal_do_activate_pull),
3220 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3221 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3222 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3223 Do not set the internal pad as a parent anymore so we can avoid
3224 hierarchy linking errors when the ghostpad has no parent yet. This also
3225 fixes failed activation because of unlinked internal pads, which in
3226 turn fixes the impossible case where you have to activate a pad before
3227 you can add it to a running element.
3228 Also fix the docs.
3230 * gst/gstpad.c: (pre_activate), (post_activate),
3231 (gst_pad_set_active), (gst_pad_activate_pull),
3232 (gst_pad_activate_push), (gst_pad_check_pull_range):
3233 Add some more debug info.
3234 Mark activation mode in pre_activate so that we don't try to activate in
3235 endless loops. Fixes #385084.
3237 2007-02-19 Wim Taymans <wim@fluendo.com>
3239 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3240 (gst_base_transform_check_get_range):
3241 Implement a checkgetrange function instead of relying on the default
3242 core behaviour that assumes we can operate in pull mode if we have a
3243 getrange function. First step at fixing #385084.
3245 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3247 * gst/gstchildproxy.h:
3248 * libs/gst/base/gstbasesink.h:
3249 * libs/gst/base/gstbasesrc.h:
3250 * libs/gst/base/gstbasetransform.h:
3251 More docs coverage and some ChangeLog surgery (add missing names)
3253 2007-02-15 Wim Taymans <wim@fluendo.com>
3255 * docs/design/part-TODO.txt:
3256 * docs/design/part-activation.txt:
3257 * docs/design/part-block.txt:
3258 * docs/design/part-buffering.txt:
3259 * docs/design/part-clocks.txt:
3260 * docs/design/part-element-source.txt:
3261 * docs/design/part-events.txt:
3262 * docs/design/part-gstbin.txt:
3263 * docs/design/part-gstbus.txt:
3264 * docs/design/part-gstpipeline.txt:
3265 * docs/design/part-live-source.txt:
3266 * docs/design/part-messages.txt:
3267 * docs/design/part-overview.txt:
3268 * docs/design/part-qos.txt:
3269 * docs/design/part-query.txt:
3270 * docs/design/part-states.txt:
3271 * docs/design/part-trickmodes.txt:
3272 Some doc updates. Start renaming from stream_time to running_time where
3273 it was used wrongly.
3275 2007-02-15 Wim Taymans <wim@fluendo.com>
3277 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3278 Answer LATENCY query.
3280 2007-02-15 Wim Taymans <wim@fluendo.com>
3282 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3283 (GST_START_TEST):
3284 Improve debugging.
3286 2007-02-15 Wim Taymans <wim@fluendo.com>
3288 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3289 (gst_pad_dispatcher):
3290 Improve debugging of default pad dispatcher and query functions.
3292 2007-02-15 Wim Taymans <wim@fluendo.com>
3294 * docs/gst/gstreamer-sections.txt:
3295 Remove old unused method.
3297 2007-02-13 Wim Taymans <wim@fluendo.com>
3299 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3300 Fix check
3302 2007-02-13 Wim Taymans <wim@fluendo.com>
3304 * docs/design/part-seeking.txt:
3305 Some small update.
3307 * gst/gstsegment.c: (gst_segment_set_seek):
3308 Revert old bogus change that should make seeking work again.
3310 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3312 * docs/random/ensonic/dynlink.txt:
3313 * docs/random/ensonic/interfaces.txt:
3314 * docs/random/ensonic/receipies.txt:
3315 Possible dynamic reconnection api, plus some type fixes the other two
3316 docs.
3318 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3320 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3321 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3322 Also check for an absolute path following file:// in the filesrc
3323 element. Remove redundant check and call g_path_is_absolute() on the
3324 unescaped location.
3326 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3328 * docs/design/draft-klass.txt:
3329 Add existing category analysis.
3331 * gst/gstcaps.c:
3332 Fix doc example, framerate is a fraction.
3334 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3336 * configure.ac:
3337 * docs/gst/Makefile.am:
3338 * docs/gst/gstreamer-sections.txt:
3339 * docs/libs/Makefile.am:
3340 Erm, forgot a bunch of --extra-dir.
3342 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3344 * configure.ac:
3345 * docs/gst/Makefile.am:
3346 * docs/libs/Makefile.am:
3347 * docs/plugins/Makefile.am:
3348 Add crossreferences to glib/gobject docs.
3350 2007-02-12 Wim Taymans <wim@fluendo.com>
3352 * docs/design/draft-latency.txt:
3353 Small update.
3355 * docs/libs/gstreamer-libs-sections.txt:
3356 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3357 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3358 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3359 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3360 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3361 (gst_base_sink_get_position), (gst_base_sink_query),
3362 (gst_base_sink_change_state):
3363 * libs/gst/base/gstbasesink.h:
3364 API: gst_base_sink_query_latency() to let subclasses query the upstream
3365 latency.
3366 API: gst_base_sink_get_latency() to let subclasses query the configured
3367 latency in the sink.
3368 Implement query and set latency.
3369 Update some docs.
3370 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3371 don't continue preroll when we are flushing. Fixes #405284.
3373 * tests/check/pipelines/stress.c: (change_state_timeout),
3374 (quit_timeout), (GST_START_TEST), (stress_suite):
3375 Test for #405284.
3377 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3379 Patch by: René Stadler <mail at renestadler de>
3381 * docs/gst/gstreamer-sections.txt:
3382 * gst/gsttaglist.c: (_gst_tag_initialize):
3383 * gst/gsttaglist.h:
3384 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3386 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3388 * docs/libs/Makefile.am:
3389 Fix path to core docs.
3391 * gst/gstbin.c: (gst_bin_get_by_interface),
3392 (gst_bin_iterate_all_by_interface):
3393 Refix docs by also renaming 'interface' to 'iface' in implementation.
3395 * docs/gst/gstreamer-sections.txt:
3396 * gst/gstcaps.c:
3397 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3398 * gst/gstchildproxy.h:
3399 * gst/gstelementfactory.c:
3400 * gst/gstpadtemplate.h:
3401 * libs/gst/controller/gstcontroller.c:
3402 (gst_controlled_property_new):
3403 Document more.
3405 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3407 * gst/gstbin.h:(gst_bin_get_by_interface),
3408 (gst_bin_iterate_all_by_interface):
3409 Replace interface parameter name by iface as interface is
3410 a reserved keyword in Visual Studio for C++ projects so it removes
3411 a build error for application developpers using VS.
3412 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3413 Fix a bug on Windows in uri format check. Now the prefix checked
3414 is file:// and next we check if the path after file:// is absolute.
3415 * win32/common/libgstbase.def:
3416 * win32/common/libgstdataprotocol.def:
3417 * win32/common/libgstgstreamer.def:
3418 Add new exported functions.
3420 2007-02-09 Andy Wingo <wingo@pobox.com>
3422 * tests/check/pipelines/simple-launch-lines.c
3423 (simple_launch_lines_suite, test_tee): Disable tee test until I
3424 have time to fix it :-(
3426 * tests/check/Makefile.am (noinst_HEADERS):
3427 * tests/check/libs/libsabi.c:
3428 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3429 * tests/check/gst/gstabi.c:
3430 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3432 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3433 tests for push and pull tee behavior.
3435 * plugins/elements/gsttee.h:
3436 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3437 mark as deprecated as well as unimplemented. It was a crack idea.
3438 Add support for tee operating in pull mode, off by default.
3440 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3441 normal-case logs down to LOG, raise errors to WARNING.
3442 (gst_registry_xml_read_cache): Don't log before calling a function
3443 that logs.
3445 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3446 exit (registry finalize).
3447 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3448 DEBUG log when we emit signals that people don't even have the
3449 chance to connect to.
3450 (gst_registry_scan_path_level): Less logging in the normal case.
3452 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3454 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3456 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3457 Correctly generate EOS for non-seekable files. We don't have a total
3458 length for them and would get an unexpected end of file if we only
3459 special-cased for regular files. (Fixes: #404569)
3461 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3463 * tests/check/elements/filesrc.c: (GST_START_TEST),
3464 (filesrc_suite):
3465 Add unit test for the GstURIHandler interface in filesrc. This also
3466 tests the newly added file://localhost/foo/bar support.
3468 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3470 * gst/gstelementfactory.h:
3471 The klass string is not a hierarchy. Add reference to the design doc
3472 for more information and common types.
3474 2007-02-02 Wim Taymans <wim@fluendo.com>
3476 * gst/gstquery.c: (gst_query_new_latency):
3477 Remove old structure field.
3479 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3481 * tools/gst-launch.1.in:
3482 Give example for network streaming (#351998)
3484 2007-02-02 Wim Taymans <wim@fluendo.com>
3486 * docs/gst/gstreamer-sections.txt:
3487 Add docs for new methods.
3489 * gst/gstevent.c: (gst_event_new_latency),
3490 (gst_event_parse_latency):
3491 * gst/gstevent.h:
3492 Add new LATENCY event to configure latency in a pipeline.
3493 API: gst_event_new_latency
3494 API: gst_event_parse_latency
3496 * gst/gstmessage.c: (gst_message_new_buffering),
3497 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3498 (gst_message_new_latency), (gst_message_parse_buffering),
3499 (gst_message_parse_lost_preroll):
3500 * gst/gstmessage.h:
3501 Added messages used in draft-latency.
3502 API: gst_message_new_lost_preroll
3503 API: gst_message_parse_lost_preroll
3504 API: gst_message_new_prerolled
3505 API: gst_message_new_latency
3507 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3508 (gst_query_parse_latency):
3509 * gst/gstquery.h:
3510 Implemented new latency query as in design doc.
3511 API: gst_query_new_latency
3512 API: gst_query_set_latency
3513 API: gst_query_parse_latency
3515 2007-02-02 Wim Taymans <wim@fluendo.com>
3517 * docs/design/draft-latency.txt:
3518 Slight redesign to allow for dynamic latency adjustments.
3520 * docs/design/part-negotiation.txt:
3521 Fix some typos.
3523 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3525 reviewed by: Wim Taymans <wim@fluendo.com>
3527 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3528 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3529 Allow file://localhost/foo/bar URLs and correctly fail for every other
3530 hostname that one sets. This was gnomevfssrc is linked for those if
3531 installed as it can handle it (#403172)
3533 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3535 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3537 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3538 (unref_data), (gst_collect_pads_add_pad_full):
3539 * libs/gst/base/gstcollectpads.h:
3540 Don't put the previously added destroy notify in the GstCollectData
3541 struct as all it's padding is already used and we don't want to break
3542 ABI. Instead put in the pad's GObject data for now. This should be
3543 cleaned up for 0.11 (#402393).
3545 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3547 reviewed by: Wim Taymans <wim@fluendo.com>
3549 * docs/libs/gstreamer-libs-sections.txt:
3550 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3551 (unref_data), (gst_collect_pads_add_pad),
3552 (gst_collect_pads_add_pad_full):
3553 * libs/gst/base/gstcollectpads.h:
3554 API: Add function to specify a destroy notification for custom
3555 GstCollectData when adding new pads in GstCollectPads (#402393).
3557 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3559 * po/sv.po:
3560 Update Swedish translation (#378255).
3562 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3564 * docs/design/draft-klass.txt:
3565 Fix the previous change, this is a list of categories and not a hierarchy.
3567 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3569 * docs/design/draft-klass.txt:
3570 Add info about how to get a list of used classes.
3572 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3574 * plugins/elements/gsttypefindelement.c:
3575 (gst_type_find_element_chain_do_typefinding),
3576 (gst_type_find_element_change_state):
3577 Don't leak found caps in chain function (no idea why that never
3578 showed up as a leak anywhere).
3580 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3582 * gst/gstplugin.h:
3583 Fix and expand GstPluginDesc API docs.
3585 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3587 * gst/gstcaps.c:
3588 * gst/gstelementfactory.c:
3589 * gst/gstpadtemplate.h:
3590 api doc fixes
3592 * libs/gst/controller/gstcontroller.c:
3593 (gst_controlled_property_new):
3594 * tests/examples/controller/audio-example.c:
3595 comment fixes
3597 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3599 * configure.ac:
3600 comment about refining the xml deps
3602 * docs/manuals.mak:
3603 comments about moving away from jade for docs
3605 * gst/gst.c:
3606 recommit the ifdefs to use the binary registry
3608 * gst/gstbin.c: (gst_bin_change_state_func):
3609 this break is obsolete
3611 * gst/gstelementfactory.h:
3612 better GST_ELEMENT_DETAILS docs, add comment about translation
3614 * gst/gstinfo.h:
3615 remove eol slash
3617 * gst/gstobject.c: (gst_signal_object_get_type):
3618 add G_UNLIKELY as usual
3620 * gst/gstpad.c: (gst_pad_event_default):
3621 add fall trhu comment
3623 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3624 (gst_registry_binary_initialize_magic),
3625 (gst_registry_binary_save_string),
3626 (gst_registry_binary_save_pad_template),
3627 (gst_registry_binary_save_feature),
3628 (gst_registry_binary_save_plugin),
3629 (gst_registry_binary_write_cache),
3630 (gst_registry_binary_check_magic),
3631 (gst_registry_binary_load_pad_template),
3632 (gst_registry_binary_load_feature),
3633 (gst_registry_binary_load_plugin),
3634 (gst_registry_binary_read_cache):
3635 comment typo and formatting
3637 * gst/gstutils.c: (gst_element_state_get_name),
3638 (gst_element_state_change_return_get_name):
3639 remove obsolete breaks
3641 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3642 add FIXME 0.11 and remove cpp comment
3644 2007-01-29 Edward Hervey <edward@fluendo.com>
3646 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3647 Fix print statement in an even more portable way.
3649 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3651 * docs/gst/gstreamer-sections.txt:
3652 * gst/gstutils.h:
3653 API: add GST_ROUND_DOWN_* macros (#401781).
3655 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3657 * docs/gst/gstreamer.types.in:
3658 * gst/gstregistry.c: (gst_registry_class_init):
3659 Document registry signals and make gtk-doc pick them up (#401381).
3661 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3663 * docs/pwg/building-testapp.xml:
3664 Add some audioconverts and audioresample to the pipeline, and some
3665 more comments and error handling.
3667 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3669 * docs/manual/manual.xml:
3670 * docs/pwg/pwg.xml:
3671 Fix typo (#400987).
3673 2007-01-26 Wim Taymans <wim@fluendo.com>
3675 * gst/gstcaps.c: (gst_static_caps_get):
3676 Init caps flags too.
3678 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3680 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3682 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3683 If not using mmap'ed files try to seek to the end instead of the
3684 start to determine whether we can seek at all. This fixes the case
3685 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3686 seeks for everything afterwards fail. Fixes #400656
3688 2007-01-25 Wim Taymans <wim@fluendo.com>
3690 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3691 Add some refcount debugging.
3692 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3693 in multiple streaming threads.
3695 2007-01-25 Wim Taymans <wim@fluendo.com>
3697 Patch by: David Schleef <ds at schleef dot org>
3699 * docs/libs/gstreamer-libs-sections.txt:
3700 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3701 * libs/gst/base/gstadapter.h:
3702 API: gst_adapter_copy() that can reduce the amount of memcpy when
3703 getting data from the adapter. Fixes #388201.
3705 2007-01-25 Edward Hervey <edward@fluendo.com>
3707 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3708 In print statements, "%x" is for guint. Fixes build on macosx.
3710 2007-01-24 Edward Hervey <edward@fluendo.com>
3712 * plugins/elements/gstmultiqueue.c:
3713 (gst_multi_queue_loop):
3714 Small fix.
3715 (single_queue_overrun_cb), (single_queue_underrun_cb),
3716 (single_queue_check_full), (gst_single_queue_new):
3717 Implement single queue growth system.
3718 This uses the extra-size properties, and will grow single queues by
3719 that much if one goes full whereas there are others empty. This is
3720 called extra-mode in the code.
3721 When a single queue's levels go back below the initial max-size
3722 limits, it is no longer in extra-mode. This is to ensure we don't
3723 consume too much memory.
3724 Fixes #399875
3726 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3728 * gst/gst.c: (gst_init_get_option_group):
3729 Make warning about late g_thread_init() calls a bit more explicit,
3730 so that it's more obvious to application developers what they need
3731 to do if a user files a bug against their application.
3733 2007-01-22 Edward Hervey <edward@fluendo.com>
3735 * plugins/elements/gstmultiqueue.c:
3736 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3737 Remove previous hack of unsetting the flushing flag for the source pad
3738 instead of activating it. Instead, fix the source pad activate function
3739 so that it no longer depends on having a parent set or not.
3741 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3743 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3745 * docs/manual/basics-bus.xml:
3746 Fix example code, gst_element_unref() doesn't exist any longer.
3748 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3750 Patch by: Mark Nauwelaerts <manauw at skynet be>
3752 * gst/gstpad.c:
3753 Fix two docs typoes (#399094).
3755 2007-01-19 Edward Hervey <edward@fluendo.com>
3757 * docs/faq/gst-uninstalled:
3758 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3759 depending on libgstbaseutils can work in uninstalled environment.
3761 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3763 * gst/gsttaglist.h:
3764 * gst/gsttagsetter.c:
3765 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3766 statement for new tag.
3768 2007-01-17 Edward Hervey <edward@fluendo.com>
3770 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3771 When dynamically creating single queues, activate sinkpad before adding
3772 it.
3773 We should be doing the same thing for the source pad, but we can't
3774 since it would call a method which needs the parent to be set in order
3775 to work propertly. Instead of activating the source pad, we just unset
3776 the flushing flag, which is the minimal requirement for adding a pad
3777 to an element in a state greater than READY.
3779 2007-01-17 Edward Hervey <edward@fluendo.com>
3781 * docs/faq/gst-uninstalled:
3782 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3783 Mac OS X.
3785 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3787 * tests/check/gst/gstabi.c:
3788 * tests/check/gst/struct_hppa.h:
3789 * tests/check/libs/libsabi.c:
3790 * tests/check/libs/struct_hppa.h:
3791 Add ABI structs for HPPA (see #393796).
3793 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3795 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3796 Actually write ABI structs to the file specified in the GST_ABI
3797 environment variable, as the message we print claims we would.
3799 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3801 * tests/check/gst/gsttask.c:
3802 Fix header comment.
3804 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3806 * gst/gsttaglist.c: (_gst_tag_initialize):
3807 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3808 previous two entries.
3810 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3812 * docs/gst/gstreamer-sections.txt:
3813 * gst/gsttaglist.c: (_gst_tag_initialize):
3814 * gst/gsttaglist.h:
3815 Add tag support for beat-per-minute.
3817 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3819 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3820 (gst_registry_binary_initialize_magic),
3821 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3822 (gst_registry_binary_save_pad_template),
3823 (gst_registry_binary_save_feature),
3824 (gst_registry_binary_save_plugin),
3825 (gst_registry_binary_write_cache),
3826 (gst_registry_binary_check_magic),
3827 (gst_registry_binary_load_pad_template),
3828 (gst_registry_binary_load_feature),
3829 (gst_registry_binary_load_plugin),
3830 (gst_registry_binary_read_cache):
3831 * gst/gstregistrybinary.h:
3832 Use glib types, cleanup comments, impement interfaces and uri-types.
3834 2007-01-13 Andy Wingo <wingo@pobox.com>
3836 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3837 getrange() to return buffers with other caps, while we fix
3838 demuxers and typefind, or otherwise change part-negotiation.txt.
3840 2007-01-12 Andy Wingo <wingo@pobox.com>
3842 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3843 Factor start/stop into this private function instead of partially
3844 in activate functions and partially in the change_state function.
3845 Fixes setup before the element has changed from READY->PAUSED, as
3846 is the case in pull-mode pipelines.
3847 (gst_base_transform_sink_activate_push)
3848 (gst_base_transform_src_activate_pull): Refactor to use
3849 gst_base_transform_activate().
3850 (gst_base_transform_change_state): Removed, not needed any more.
3852 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3853 Truncate before fixating.
3855 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3856 Don't set_caps() if the result of fixating is ANY, as it's not
3857 supported, and not necessary in the case of a link with no
3858 template caps on either side. Fixes tests/check/libs/basesrc in
3859 some pull-mode tests.
3861 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3862 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3863 (gst_base_transform_src_activate_pull):
3864 Track the activation mode.
3865 (gst_base_transform_setcaps): In pull mode, when activating the
3866 src pad, after activating the sink pad, activate the sink pad's
3867 peer, as discussed in part-negotiation.txt.
3869 * libs/gst/base/gstbasesrc.h:
3870 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3871 vmethod, as in basesink.
3873 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3875 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3876 mode, first proxy the setcaps to the peer pad.
3877 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3878 new fixate vmethod.
3879 (gst_base_sink_default_activate_pull): Rename from
3880 gst_base_sink_activate_pull.
3881 (gst_base_sink_negotiate_pull): New function, performs negotiation
3882 in pull mode before calling ::activate_pull().
3883 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3884 vmethod instead of the default implementation. I have no idea how
3885 this worked before. Negotiate before calling activate_pull.
3887 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3888 sink pads in pull mode. In addition to being correct, fixes
3889 filesrc ! decodebin ! identity ! fakesink.
3890 (gst_pad_get_range, gst_pad_pull_range): Don't call
3891 gst_pad_set_caps() if the caps changes; instead error out with
3892 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3894 2007-01-12 Andy Wingo <wingo@pobox.com>
3896 * docs/design/part-negotiation.txt: Update with more policy.
3898 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3900 * libs/gst/check/gstbufferstraw.h:
3901 * libs/gst/check/gstcheck.h:
3902 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3903 belongs.
3905 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3907 * tests/check/Makefile.am:
3908 * tests/check/gst/.cvsignore:
3909 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3910 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3911 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3912 (GST_START_TEST), (gst_tag_setter_suite):
3913 Add minimal unit test for beforementioned GstTagSetter bug.
3915 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3917 Patch by: René Stadler <mail at renestadler dot de>
3919 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3920 gst_tag_list_merge() returns a new list, so it's not the best idea
3921 to ingore its return value. Effectively meant that tags could only
3922 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3923 Also add function guard to require a non-NULL taglist as input (has
3924 always been so due to gst_tag_list_copy(), just making it explicit).
3926 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3928 * docs/random/draft-missing-plugins.txt:
3929 Some additions: mention new API that is supposed to be used at the
3930 various stages; short blob about new gst-inspect introspection
3931 option; mention potential future problem with plugins that have
3932 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3934 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3936 * tools/gst-inspect.c:
3937 (print_plugin_automatic_install_info_codecs),
3938 (print_plugin_automatic_install_info_protocols),
3939 (print_plugin_automatic_install_info), (main):
3940 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3941 introspect plugin files and get machine-parsable output that corresponds
3942 to the last bit of the missing-plugin installer string (small gotcha:
3943 doesn't take into account ranks).
3945 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3947 * configure.ac:
3948 * docs/gst/gstreamer-sections.txt:
3949 * gst/Makefile.am:
3950 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3951 (gst_registry_lookup_locked):
3952 * gst/gstregistry.h:
3953 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3954 (gst_registry_binary_initialize_magic),
3955 (gst_registry_binary_save_string),
3956 (gst_registry_binary_save_pad_template),
3957 (gst_registry_binary_save_feature),
3958 (gst_registry_binary_save_plugin),
3959 (gst_registry_binary_write_cache),
3960 (gst_registry_binary_check_magic),
3961 (gst_registry_binary_load_pad_template),
3962 (gst_registry_binary_load_feature),
3963 (gst_registry_binary_load_plugin),
3964 (gst_registry_binary_read_cache):
3965 * gst/gstregistrybinary.h:
3966 * gst/gstregistryxml.c: (load_feature),
3967 (gst_registry_xml_read_cache):
3968 commit binary registry (disabled by default, see #359653)
3970 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3972 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3973 Fix 'make check' too.
3975 2007-01-10 Andy Wingo <wingo@pobox.com>
3977 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3978 notes.
3980 * docs/design/part-negotiation.txt: Update with, um, one way that
3981 pull-mode negotiation might work?
3983 * gst/gstpad.h:
3984 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3985 that the pad must be a src pad; makes sense to call it the other
3986 way in pull mode, and the logic is symmetric anyway.
3988 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3990 * plugins/elements/gstfilesink.c:
3991 Include <stdio.h> for fseeko().
3993 2007-01-10 Wim Taymans <wim@fluendo.com>
3995 * gst/gstevent.c:
3996 * gst/gstevent.h:
3997 Reserve LATENCY event.
3999 2007-01-09 Wim Taymans <wim@fluendo.com>
4001 * docs/design/draft-latency.txt:
4002 Updates.
4004 2007-01-09 Wim Taymans <wim@fluendo.com>
4006 * docs/design/draft-latency.txt:
4007 Updates.
4009 * gst/gstelement.h:
4010 * gst/gststructure.c:
4011 * gst/gsttrace.c:
4012 Small typo fixes.
4014 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4016 * tests/check/.cvsignore:
4017 Ignore test-registry.xml as well.
4019 2007-01-09 Wim Taymans <wim@fluendo.com>
4021 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4022 unref data at the end when we are done with the pad.
4024 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4026 * docs/gst/gstreamer-sections.txt:
4027 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4028 (init_post), (gst_deinit), (gst_update_registry):
4029 * gst/gst.h:
4030 API: add gst_update_registry() (#391296).
4032 * tests/check/Makefile.am:
4033 * tests/check/gst/gstregistry.c:
4034 * tests/check/gst/.cvsignore:
4035 Simple unit test for the above.
4037 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4039 * gst/gstregistry.c: (gst_registry_scan_path_level):
4040 Plugin extension on HP-UX is .sl, add that to the list of approved
4041 plugin extensions (see #393796).
4043 * tests/check/gst/gstpad.c: (GST_START_TEST):
4044 ulong => gulong. Fixes compilation with HP-UX compiler.
4046 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4047 Fix compilation if valgrind headers are not available.
4049 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4051 * win32/common/libgstreamer.def:
4052 Add new exported function.
4053 * win32/vs6/libgstbase.dsp:
4054 Add gstdataqueue.c to the build.
4055 * win32/vs6/libgstcoreelements.dsp:
4056 Add gstmultiqueue.c to the build.
4058 2007-01-06 Andy Wingo <wingo@pobox.com>
4060 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4061 activate_pull(), providing for a way to specialize the process of
4062 spawning a thread to pull on the sink pad. There is a default
4063 implementation.
4065 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4066 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4067 (gst_base_sink_init): Renamed pad activation functions (inserting
4068 "_pad" in their names). Refactor to use the new activate_pull
4069 vmethod, as appropriate.
4070 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4071 default activate_pull function to start a task pulling from the
4072 sink pad, as before.
4074 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4075 on the pads if necessary, as in push()/chain(). Update docs.
4076 Shouldn't affect existing pull() usage as it is currently only
4077 being used on buffers without caps.
4079 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4081 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4082 (init_pre):
4083 Call g_thread_init() first thing in gst_init() / gst_check_init().
4084 When initialisation is done via gst_init_get_option_group() and
4085 GOption parsing, issue a warning if the GLib thread system has not
4086 been initialised yet by the time gst_init_get_option_group() is
4087 called, as it's quite likely other GLib functions such as
4088 g_option_context_new() have been called already then, and
4089 g_thread_init() must be called before any other GLib function. The
4090 application in question must be fixed in that case, since memory
4091 corruption might happen otherwise.
4092 We issue the warning because even if the GLib folks decide to work
4093 around the problem on their end in future, this is still an issue
4094 with all GLib versions >= 2.10.0, so we should warn until we depend
4095 on a GLib version we know to be safe.
4096 Update documentation as well.
4097 Closes bug #391278.
4099 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4101 * tools/gst-inspect.c: (main):
4102 * tools/gst-launch.c: (main):
4103 * tools/gst-typefind.c: (main):
4104 * tools/gst-xmlinspect.c: (main):
4105 Call g_thread_init() really really early, before any other GLib
4106 function (see #342564 and recent discussion on gtk-devel-list).
4108 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4110 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4112 * gst/gst_private.h:
4113 * gst/gstconfig.h.in:
4114 * gst/gstinfo.h:
4115 On win32, all the __declspec stuff for symbol exporting is
4116 apparently only needed with MSVC, but doesn't work with MingW.
4117 Fixes compilation with MingW and #391909.
4119 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4121 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4122 Change some GST_ERROR_OBJECT that aren't really errors to
4123 GST_WARNING_OBJECT in order to reduce terminal spam.
4125 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4127 * tests/check/Makefile.am:
4128 disable test again, as there seem to be still race problems
4130 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4132 * tests/check/Makefile.am:
4133 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4134 (GST_START_TEST), (queue_suite):
4135 enable queue test again, add tests for the leaky behaviour
4137 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4139 * configure.ac:
4140 * tests/examples/Makefile.am:
4141 Compile adapter test/example only if the required headers are
4142 available (fixes #391915).
4144 2007-01-01 David Schleef <ds@schleef.org>
4146 * gst/gstplugin.c:
4147 Restore the previous signal handler for SIGSEGV instead of
4148 setting to default, since we may have stolen it away from
4149 someone. (i.e., Mono)
4151 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4153 * docs/random/draft-missing-plugins.txt:
4154 Some small additions and clarifications.
4156 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4158 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4159 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4160 since that can lead to random memory corruptions and crashes
4161 (may or may not be related to #383244, #386711, and #386711).
4163 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4165 * tests/check/.cvsignore:
4166 * tests/check/Makefile.am:
4167 sync .cvsignome and CLEANFILES
4169 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4171 * tests/check/Makefile.am:
4172 fix distcheck
4174 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4176 * docs/design/part-states.txt:
4177 two tiny additional comments
4179 * gst/gststructure.c:
4180 doc fixing
4182 * tests/check/Makefile.am:
4183 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4184 (GST_START_TEST):
4185 disable test for now, unless it gets fixed
4187 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4189 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4190 (GST_START_TEST):
4191 fix race in underrun test
4193 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4195 * tests/check/elements/.cvsignore:
4196 ignore more
4198 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4199 (GST_START_TEST):
4200 try to narrow test failure
4202 2006-12-21 David Schleef <ds@schleef.org>
4204 * plugins/elements/gstfakesrc.c:
4205 Use g_random_int_range(), since it produces better random
4206 numbers in a range than almost-correct floating point code.
4208 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4210 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4211 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4212 (gst_check_teardown_sink_pad):
4213 do not automatically (de)activate pads
4215 * tests/check/Makefile.am:
4216 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4217 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4218 add new, yet simple tests for queue
4220 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4221 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4222 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4223 (GST_START_TEST):
4224 * tests/check/elements/identity.c: (cleanup_identity):
4225 consistent pad (de)activation
4227 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4229 Patch by: Sebastian Dröge <slomo ubuntu com>
4231 * libs/gst/base/gstcollectpads.c:
4232 Fix two doc typos (#387866).
4234 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4236 * docs/manual/advanced-dparams.xml:
4237 Fix typo (g_object_control_properties() doesn't exist).
4239 2006-12-19 Edward Hervey <edward@fluendo.com>
4241 * gst/gstsegment.c: (gst_segment_set_seek):
4242 Fine tune the cases where the segment start/stop values are really
4243 updated.
4244 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4245 Add tests for the return values of gst_segment_set_seek().
4247 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4249 * gst/gst.c:
4250 Docs typo fix.
4252 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4253 (gst_queue_init):
4254 Fix incorrect documentation and flesh it out a bit more.
4255 Set default values for the max properties on the GParamSpec as well,
4256 so it shows up correctly in gst-inspect.
4258 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4260 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4261 Correct docs of queue, add more detail and crosslink it more.
4263 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4265 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4266 Print additional debug info when the stream isn't perfectly
4267 timestamped; don't try to use invalid durations.
4269 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4271 * docs/design/Makefile.am:
4272 Dist new design docs.
4274 2006-12-16 Wim Taymans <wim@fluendo.com>
4276 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4278 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4279 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4280 (gst_collect_pads_stop), (gst_collect_pads_event),
4281 (gst_collect_pads_chain):
4282 * libs/gst/base/gstcollectpads.h:
4283 Add refcounting to the collectpads data so we can track when it's safe
4284 to free the data. Fixes #383382.
4286 2006-12-15 Wim Taymans <wim@fluendo.com>
4288 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4289 (gst_collect_pads_remove_pad):
4290 Automatically activate/deactivate pads when they are added to a
4291 started/stoped collectpads.
4293 2006-12-15 Wim Taymans <wim@fluendo.com>
4295 * gst/gstelement.c: (gst_element_add_pad):
4296 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4297 * gst/gstpad.c: (gst_pad_init):
4298 Set pads to FLUSHING when they are created. Check, warn and fix when a
4299 demuxer adds an inactive pad to itself when running. Fixes #339326.
4301 2006-12-15 Wim Taymans <wim@fluendo.com>
4303 * gst/gstelement.c: (gst_element_class_init),
4304 (gst_element_default_send_event), (gst_element_send_event),
4305 (gst_element_default_query), (gst_element_query):
4306 Expose default element send_event and query handling as vmethods that
4307 subclasses can chain up to.
4309 2006-12-15 Wim Taymans <wim@fluendo.com>
4311 * gst/gstelement.c: (gst_element_set_state_func):
4312 Small documentation fixes.
4314 2006-12-15 Wim Taymans <wim@fluendo.com>
4316 * docs/design/draft-latency.txt:
4317 Checked in draft for handling latency in pipelines.
4319 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4321 * Makefile.am:
4322 * gstreamer.doap:
4323 * gstreamer.spec.in:
4324 adding .doap file
4326 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4328 * gst/gst.c: (init_pre), (init_post):
4329 init_pre() and init_post() might be called via our GOptionGroup or
4330 from gst_init(), and we should skip both of them if we've already
4331 been initialised, otherwise we will init some things twice or add
4332 two default log functions.
4334 2006-12-13 Edward Hervey <edward@fluendo.com>
4336 * docs/manual/basics-bus.xml:
4337 No, gst_main_loop does not exist. Its g_main_loop.
4338 Discovered by somebody who abused the copy-paste technique of coding :)
4340 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4342 * gst/gstghostpad.c:
4343 Log ghostpad debug stuff to the GST_PADS category as well rather
4344 than just to the default category.
4346 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4348 * configure.ac:
4349 * gst/gst.c: (init_pre):
4350 Add some basic system details such as OS and architecture
4351 to the debug output if possible, courtesy of uname().
4353 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4355 * docs/gst/running.xml:
4356 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4357 environment variables.
4359 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4361 * tests/check/gst/gstbin.c: (GST_START_TEST):
4362 It is acceptable to have a refcount of 2 or 3 at this point in the
4363 test, because the pipeline might be just posting its state_change
4364 message. The next line then waits for that message to appear using
4365 bus_poll, so that should be fine too.
4367 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4369 * gst/gst.c: (ensure_current_registry_forking):
4370 Ignore EINTR when reading from the child registry pipe.
4371 Explicitly ignore the return value from close, since it makes no
4372 difference.
4374 * gst/gstminiobject.c: (gst_mini_object_ref),
4375 (gst_mini_object_unref):
4376 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4378 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4379 When removing cached plugins, remove their features too, so they're
4380 not visible after they've disappeared.
4382 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4383 In the unlikely case that we are linking pads with no parents, don't
4384 crash trying to get the non-existent parent bin.
4386 * gst/parse/grammar.y:
4387 Output debug in the PIPELINE category
4389 2005-03-08 Wim Taymans <wim@fluendo.com>
4391 Patch by: René Stadler <mail at renestadler dot de>
4393 * gst/gstclock.c: (gst_clock_new_periodic_id):
4394 Reject invalid clock times for interval of periodic ids.
4395 Fixes ##383506.
4397 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4399 * gst/gstelementfactory.c: (gst_element_factory_create):
4400 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4401 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4402 * tools/gst-inspect.c: (print_element_info):
4403 Fix refcounting of gst_plugin_feature_load to match the docs.
4404 Fixes: #380129
4406 2006-12-07 Wim Taymans <wim@fluendo.com>
4408 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4409 (gst_base_sink_get_position):
4410 Improve debugging of events.
4412 2006-12-07 Wim Taymans <wim@fluendo.com>
4414 Patch by: René Stadler <mail at renestadler dot de>
4416 * gst/gstclock.c: (gst_clock_id_wait):
4417 Make period ids add the interval to the origial requested time instead
4418 of the possibly updated time which can be wrong when there are multiple
4419 waiters for the same id. Fixes #382592.
4421 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4422 (gst_system_clock_id_wait_jitter_unlocked),
4423 (gst_system_clock_id_wait_jitter):
4424 Fix restart in the async notify thread when an async entry is added to
4425 the front of the list. Fixes #381492.
4427 * tests/check/gst/gstsystemclock.c: (store_callback),
4428 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4429 Added test for multiple async waits.
4430 Added test for async wait order.
4432 2006-12-07 Wim Taymans <wim@fluendo.com>
4434 * gst/gstbin.c: (gst_bin_query):
4435 Add some more docs about the POSITION query.
4437 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4439 * configure.ac:
4440 Bump version nano - back to CVS.
4442 === release 0.10.11 ===
4444 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4446 * configure.ac:
4447 releasing 0.10.11, "Love never runs on time"
4449 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4451 * win32/common/libgstbase.def:
4452 * win32/common/libgstreamer.def:
4453 * win32/vs8/libgstbase.vcproj:
4454 * win32/vs8/libgstcoreelements.vcproj:
4455 * win32/vs8/libgstreamer.vcproj:
4456 Fix compilation on win32 under VS8
4457 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4458 Partially fixes #381175
4460 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4462 * gst/gstvalue.c: (gst_value_compare_fraction):
4463 If someone is foolish enough to compare 2 fractions with denominator =
4464 0, return UNORDERED rather than aborting.
4466 2006-11-28 Edward Hervey <edward@fluendo.com>
4468 * libs/gst/base/Makefile.am:
4469 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4470 (gst_data_queue_base_init), (gst_data_queue_class_init),
4471 (gst_data_queue_init), (gst_data_queue_new),
4472 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4473 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4474 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4475 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4476 (gst_data_queue_set_flushing), (gst_data_queue_push),
4477 (gst_data_queue_pop), (gst_data_queue_drop_head),
4478 (gst_data_queue_set_property), (gst_data_queue_get_property):
4479 * libs/gst/base/gstdataqueue.h:
4480 New GstDataQueue object for threadsafe queueing. Most useful for
4481 elements that need some queueing functionnality.
4482 * docs/libs/gstreamer-libs-docs.sgml:
4483 * docs/libs/gstreamer-libs-sections.txt:
4484 Insert documentation for GstDataQueue
4485 * plugins/elements/Makefile.am:
4486 * plugins/elements/gstelements.c:
4487 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4488 (gst_multi_queue_class_init), (gst_multi_queue_init),
4489 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4490 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4491 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4492 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4493 (gst_multi_queue_loop), (gst_multi_queue_chain),
4494 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4495 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4496 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4497 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4498 (wake_up_next_non_linked), (compute_next_non_linked),
4499 (single_queue_overrun_cb), (single_queue_underrun_cb),
4500 (single_queue_check_full), (gst_single_queue_new):
4501 * plugins/elements/gstmultiqueue.h:
4502 New multiqueue element, using GstDataQueue. Used for queuing multiple
4503 streams.
4504 Closes #344639 and #347785
4506 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4508 * docs/pwg/advanced-types.xml:
4509 add more missing type details
4511 * tools/gst-run.c: (main):
4512 remove unused variable
4514 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4516 * docs/libs/Makefile.am:
4517 * docs/libs/gstreamer-libs.types:
4518 add types of base classes to enable gobject specific stuff in the docs
4520 * docs/random/ensonic/embedded.txt:
4521 more ideas about isolating platform specific things
4523 2006-11-20 Wim Taymans <wim@fluendo.com>
4525 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4527 * libs/gst/check/gstcheck.h:
4528 Fix compilation and running against 0.9.4. Fixes #377332.
4530 2006-11-20 Wim Taymans <wim@fluendo.com>
4532 * gst/gstsegment.c: (gst_segment_set_seek),
4533 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4534 (gst_segment_to_running_time):
4535 Fix boundary checking in to_running_time() and to_stream_time().
4536 Fixes #377183.
4538 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4539 stream and running time can now be calculated for the complete
4540 clipped segment.
4542 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4544 * gst/gstpad.c: (gst_pad_push_event):
4545 Can't access event structure after giving away ownership of
4546 the event.
4548 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4550 * docs/random/ensonic/embedded.txt:
4551 * docs/random/ensonic/profiling.txt:
4552 * docs/random/ensonic/receipies.txt:
4553 more thinking
4555 2006-11-13 Wim Taymans <wim@fluendo.com>
4557 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4559 * gst/gstpad.c:
4560 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4562 2006-11-13 Wim Taymans <wim@fluendo.com>
4564 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4566 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4567 Store new length in segment duration so we don't keep on calling the
4568 potentially expensize get_size() call. Fixes #370865.
4570 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4572 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4574 * win32/common/libgstreamer.def:
4575 Add two missing symbols (#366492).
4577 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4579 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4580 (gst_adapter_take_buffer):
4581 Fix format string to use all its arguments.
4582 Remove useless >= check on a guint
4584 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4586 * tests/examples/adapter/.cvsignore:
4587 Ignore build file as commanded by the build-bot
4589 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4591 * tests/examples/adapter/Makefile.am:
4592 * tests/examples/adapter/adapter_test.c: (run_test_take),
4593 (run_test_take_buffer), (run_tests), (main):
4595 Add new files from the previous commit
4597 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4599 * Makefile.am:
4600 * configure.ac:
4601 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4602 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4603 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4604 * libs/gst/base/gstadapter.h:
4605 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4606 (GST_START_TEST), (gst_adapter_suite):
4607 * tests/examples/Makefile.am:
4608 Do some optimisation work in GstAdapter to avoid copies in more cases.
4609 It could still do slightly better by merging buffers when
4610 gst_buffer_is_span_fast is true, but is already faster.
4612 Also, avoid traversing a single-linked list to append each incoming
4613 buffer inside the adapter.
4615 Add simple test app that times the adapter behaviour in different
4616 situations, and extend the unit test to check that bytes enter and
4617 exit the adapter in their original order.
4619 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4621 * docs/random/draft-missing-plugins.txt:
4622 Update: use element message instead of adding a new message
4623 type to the core; don't provide GStreamer API to initiate the
4624 plugin download, just provide API to compose the strings needed
4625 and let an external libgimmestuff handle the rest.
4627 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4629 * tools/gst-inspect.c: (print_element_properties_info):
4630 Print a string instead of 'unknown type' for GValueArray properties
4632 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4634 * docs/random/draft-missing-plugins.txt:
4635 More small fixes.
4637 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4639 * tests/examples/typefind/typefind.c: (type_found), (main):
4640 Make typefind element example work again (#371894); add a
4641 license header.
4643 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4645 * docs/random/draft-missing-plugins.txt:
4646 Commit initial draft about how to deal with missing plugins,
4647 needs work (API too).
4649 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4651 * docs/pwg/advanced-types.xml:
4652 documents the new caps elements (see #363118)
4654 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4656 * gst/gstplugin.c: (gst_plugin_load_file):
4657 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4658 (gst_file_src_map_region), (gst_file_src_start):
4659 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4660 (gst_file_index_commit):
4661 Use g_strerror() instead of strerror() - we want UTF-8.
4663 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4665 Patch by: Peter Kjellerstedt <pkj at axis com>
4667 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4668 Another printf fix (#371493).
4670 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4672 * tests/check/gst/gsttag.c:
4673 relicence (okay with author=company)
4675 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4677 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4678 (gst_pad_push_event):
4679 Enhance debug and improve docs
4681 * gst/gsturi.c:
4682 Fix docs
4684 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4686 * docs/random/ensonic/distributed.txt:
4687 * docs/random/ensonic/profiling.txt:
4688 more ideas
4690 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4692 * docs/gst/gstreamer-sections.txt:
4693 add new API and fix the build
4695 * gst/gstbin.c: (gst_bin_recalc_state):
4696 * gst/gstelement.c: (gst_element_message_full),
4697 (gst_element_get_state_func), (gst_element_set_state_func):
4698 use new API and improve logging
4700 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4701 * gst/gstutils.h:
4702 API: add function to get StateChangereturn names to improve logs
4704 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4706 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4707 I'm considering shooting the next person to put strerror stuff
4708 in the translateable part of the message.
4710 2006-11-03 Wim Taymans <wim@fluendo.com>
4712 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4713 Get the type and printf conversion specifiers right.
4715 2006-11-03 Wim Taymans <wim@fluendo.com>
4717 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4719 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4720 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4721 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4722 Some small cleanups. Improve debugging.
4723 * gst/gstpad.h:
4724 Signal all waiting threads with a broadcast instead of just one.
4725 Fixes #369942.
4727 2006-11-03 Wim Taymans <wim@fluendo.com>
4729 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4730 (gst_fd_src_create):
4731 Add some debugging.
4732 Only update fd when it's different from the old.
4734 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4736 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4737 Printf fixes for PPC/OSX, take two (#369366).
4739 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4741 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4743 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4744 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4745 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4746 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4747 don't cast to long long for portability reasons, but use
4748 GLib's types instead.
4750 2006-10-30 Michael Smith <msmith@fluendo.com>
4752 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4753 Get the arguments to lseek() the right way around.
4754 Fixes 367677.
4756 2006-10-30 Wim Taymans <wim@fluendo.com>
4758 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4760 * gst/gstinfo.h:
4761 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4763 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4765 Patch by: Kjartan Maraas <kmaraas at gnome org>
4767 * docs/design/part-MT-refcounting.txt:
4768 * docs/random/wtay/capsnego2-docs:
4769 * gst/gstclock.c:
4770 * gst/gstxml.c:
4771 Typo fixes (#366212).
4773 2006-10-28 Wim Taymans <wim@fluendo.com>
4775 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4777 * gst/gst.c:
4778 * win32/common/libgstbase.def:
4779 * win32/common/libgstreamer.def:
4780 * win32/vs8/libgstbase.vcproj:
4781 * win32/vs8/libgstcontroller.vcproj:
4782 Add needed entries in .def files.
4783 Use HAVE_UNISTD_H.
4784 Rearrange def files in vs8 solutions. Fixes #366286.
4786 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4788 * win32/common/gstconfig.h:
4789 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4790 hand-made win32 gstconfig.h. Fixes #366321.
4792 2006-10-27 Wim Taymans <wim@fluendo.com>
4794 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4795 (gst_ghost_pad_new_full):
4796 Make acceptcaps return TRUE when we don't have a target, just like
4797 setcaps does.
4799 2006-10-27 Wim Taymans <wim@fluendo.com>
4801 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4802 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4804 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4806 * gst/gststructure.c: (gst_structure_id_set_value):
4807 If someone tries to set a non-UTF8 string field on a structure,
4808 don't just print a warning, but also ignore the request and do
4809 not change/add that field to the structure.
4811 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4812 Test for the above.
4814 2006-10-25 David Schleef <ds@schleef.org>
4816 * gst/gstinfo.c:
4817 g_hash_table_insert() needs a cast to a non-const pointer duh.
4819 2006-10-25 David Schleef <ds@schleef.org>
4821 * gst/gstinfo.c:
4822 * gst/gstinfo.h:
4823 Change name parameter of _gst_debug_register_funcptr to const
4824 to reflect the constness of its use in the function as well
4825 as to quiet a gcc warning.
4827 2006-10-25 Edward Hervey <edward@fluendo.com>
4829 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4830 Don't push the buffer if it's empty.
4831 Closes #363095
4833 2006-10-24 Wim Taymans <wim@fluendo.com>
4835 * gst/gstevent.h:
4836 Add small comment.
4838 * libs/gst/base/gstbasetransform.c:
4839 (gst_base_transform_sink_eventfunc):
4840 Debug segment values *after* updating them as this is more
4841 interesting.
4843 2006-10-23 Wim Taymans <wim@fluendo.com>
4845 * docs/design/part-events.txt:
4846 Update some docs.
4848 * docs/design/part-block.txt:
4849 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4850 (gst_pad_push_event):
4851 Revert BLOCKING patch, it tries to be smart without really having a
4852 clear idea what or how. So, now we discard all FLUSHING events again on
4853 a blocking pad. Should fix gnonlin again.
4855 2006-10-23 Wim Taymans <wim@fluendo.com>
4857 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4859 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4860 (gst_base_src_start), (gst_base_src_activate_push):
4861 Make sure size is always initialized. Fixes #364388.
4863 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4865 * docs/random/ensonic/distributed.txt:
4866 add some ideas about doing distributed processing
4868 * docs/random/ensonic/profiling.txt:
4869 get_rusage look promising
4871 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4873 * docs/manual/basics-helloworld.xml:
4874 Add a cast in example to fix compile warning
4876 2006-10-18 Wim Taymans <wim@fluendo.com>
4878 * gst/gstsegment.c: (gst_segment_set_last_stop),
4879 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4880 Relax arg checking again, -1 is allowed.
4882 2006-10-18 Wim Taymans <wim@fluendo.com>
4884 * gst/gstsegment.c: (gst_segment_set_last_stop),
4885 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4886 _set_last_stop() must be with a value != -1
4887 A _TYPE_SET to -1 means seek to 0.
4888 Calc last_stop correctly for negative rates.
4889 Make sure we work with positive durations when updating a segment.
4891 2006-10-18 Wim Taymans <wim@fluendo.com>
4893 * docs/design/part-live-source.txt:
4894 * gst/gstclock.h:
4895 Small docs fixes.
4897 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4899 * gst/gstbuffer.h:
4900 Add an explicit cast to GstBuffer** to keep old code that added an
4901 explicit cast to GstMiniObject** for gst_mini_object_replace()
4902 compiling without warning.
4904 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4906 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4907 check for validity of dates
4909 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4911 * docs/gst/gstreamer-sections.txt:
4912 Forgot this one, makes gtk-doc shut up.
4914 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4916 Patch by: Peter Kjellerstedt <pkj at axis com>
4918 * gst/gstobject.h:
4919 Don't define xmlNodePtr to gpointer if the core was built with
4920 --disable-loadsave and --disable-registry, this will break
4921 applications that want to use libxml2 but are buildling against a
4922 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4923 instead so we don't have to mess with the libxml2 namespace
4924 (#361675).
4926 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4928 * gst/gstbuffer.h:
4929 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4930 type-punned pointer warnings.
4932 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4934 * gst/gstelement.h:
4935 Add casts to the correct return type to state <=> state transition
4936 macros.
4938 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4940 * docs/design/part-live-source.txt:
4941 describe howto handle latency
4943 * docs/random/ensonic/profiling.txt:
4944 more ideas
4946 * tools/gst-plot-timeline.py:
4947 fix log parsing for solaris, remove unused function
4949 2006-10-16 Wim Taymans <wim@fluendo.com>
4951 * docs/design/part-trickmodes.txt:
4952 * gst/gstevent.c:
4953 Update some docs regarding reverse playback.
4955 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4957 Patch by: Marcus Granado <mrc dot gran at gmail com>
4959 * win32/vs8/grammar.vcproj:
4960 Error out with a warning if glib-genmarshal.exe is not in path,
4961 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4963 2006-10-13 Wim Taymans <wim@fluendo.com>
4965 * gst/gstsegment.c: (gst_segment_set_seek):
4966 When seeking to stop -1, set last_stop (current position) to the
4967 duration of the segment.
4969 2006-10-13 Wim Taymans <wim@fluendo.com>
4971 * gst/gstelement.h:
4972 Clarify _NO_PREROLL a bit more.
4974 * gst/gstevent.c:
4975 Fix docs.
4977 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4978 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4979 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4980 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4981 due to wrong locking order. Fixes #361769.
4982 Remove some redundant/misplaced checks in pad_block.
4984 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4985 For negative rates, count backwards from the duration.
4987 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4989 * gst/gsterror.c: (_gst_library_errors_init):
4990 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4991 up with something better).
4993 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4995 * win32/vs6/libgstreamer.dsp:
4996 * win32/vs7/libgstreamer.vcproj:
4997 * win32/vs8/libgstreamer.vcproj:
4998 Don't reference glib-compat.c which is currently not used and not
4999 disted; add gstquark.c which was recently added. Fixes #361730.
5001 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5003 * win32/common/libgstbase.def:
5004 * win32/common/libgstcontroller.def:
5005 * win32/common/libgstreamer.def:
5006 Add gst_caps_merge() and a bunch of other recently-added functions.
5007 Fixes #361732.
5009 2006-10-11 Wim Taymans <wim@fluendo.com>
5011 * docs/plugins/gstreamer-plugins.args:
5012 * docs/plugins/inspect/plugin-coreelements.xml:
5013 * docs/plugins/inspect/plugin-coreindexers.xml:
5014 Update element args.
5016 * gst/gstsystemclock.c:
5017 Small comment update.
5019 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5020 (gst_tee_request_new_pad), (gst_tee_release_pad),
5021 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5022 (gst_tee_sink_activate_pull):
5023 * plugins/elements/gsttee.h:
5024 Some tee loving:
5025 Add default property defines.
5026 Implement release pad function.
5027 Give properties better blubs etc.
5028 Activate pads before adding them to a running tee.
5029 Do simple buffer_alloc on the first requested pad.
5030 Post error when activation fails.
5032 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5034 * gst/gst.c: (ensure_current_registry_forking):
5035 Check return value of write() to make compiler happy.
5037 2006-10-11 Wim Taymans <wim@fluendo.com>
5039 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5041 * plugins/elements/gstqueue.c: (gst_queue_chain):
5042 Recheck queue filledness after signalling the overrun when we're about
5043 to leak downstream because we released the lock when emitting the signal
5044 and the queue could be empty again. Fixes #352345.
5046 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5048 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5049 Fix refcounting here too, just like we did for _new_valist() a few
5050 days ago (#357180) (thanks to René Stadler). Also remove all those
5051 'Since: 0.9' from the gtk-doc blobs.
5053 * tests/check/libs/controller.c: (controller_refcount_new_list),
5054 (gst_controller_suite):
5055 Unit test for the above.
5057 2006-10-10 Wim Taymans <wim@fluendo.com>
5059 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5061 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5062 (gst_pad_save_thyself):
5063 Update some docs.
5064 Write pad direction in XML output. Fixes #345496.
5066 2006-10-10 Wim Taymans <wim@fluendo.com>
5068 Patch by: René Stadler <mail at renestadler dot de>
5070 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5071 (gst_controller_new_list), (_gst_controller_dispose),
5072 (_gst_controller_finalize), (_gst_controller_class_init):
5073 Take ref to controlled object so that it cannot disappear.
5074 Fixes #357432.
5076 2006-10-10 Wim Taymans <wim@fluendo.com>
5078 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5079 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5080 (gst_check_teardown_sink_pad):
5081 Activate/deactivate pads in setup/teardown respectively.
5083 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5085 Patch by: Josep Torre Valles <josep@fluendo.com>
5087 * gst/Makefile.am:
5088 Cast values when making gstenumtypes.h. This pacifies Forte
5089 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5090 in the enumeration.
5092 2006-10-09 Wim Taymans <wim@fluendo.com>
5094 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5095 Rename some more @cur to @start to fix docs.
5097 * gst/gstsegment.c: (gst_segment_set_seek):
5098 Fix typo.
5099 time and start must always stay in sync as defined in design doc.
5101 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5102 Rename param to fix docs.
5104 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5105 Check that start and time are in sync.
5107 * tests/check/pipelines/parse-launch.c:
5108 (gst_parse_test_element_change_state):
5109 Activate pad before adding to the element.
5111 2006-10-09 Wim Taymans <wim@fluendo.com>
5113 * docs/design/part-qos.txt:
5114 Fix typo.
5116 * gst/gstevent.c:
5117 * gst/gstevent.h:
5118 Update seek event docs regarding negative rates.
5119 Rename @cur to @start.
5121 * gst/gstsegment.c: (gst_segment_set_seek):
5122 * gst/gstsegment.h:
5123 Update set_seek docs regarding negative rates.
5124 Correctly update last_stop to @stop when dealing with negative
5125 rates.
5126 Rename @cur to @start.
5128 * tests/check/gst/gstpad.c: (GST_START_TEST):
5129 Activate pads before trying to use them.
5131 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5132 (gst_segment_suite):
5133 Add simple check for segments and negative rates.
5135 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5137 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5138 * gst/gsttaglist.h:
5139 * docs/gst/gstreamer-sections.txt:
5140 API: add gst_tag_list_is_empty() (#360467).
5142 * tests/check/gst/gsttag.c: (GST_START_TEST):
5143 And a test case.
5145 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5147 * gst/gstmessage.h:
5148 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5149 a value that doesn't fit on enumeration.
5151 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5153 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5154 Remove local debugging system and use Gstreamer's instead.
5156 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5158 Patch by: Josep Torre Valles <josep@fluendo.com>
5160 * common/m4/gst-error.m4:
5161 Disable warning of statement not reached on Forte.
5162 * gst/gstmessage.h:
5163 Fix warning on Forte (value doesn't fit on enumeration).
5164 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5165 Fix warning on Forte (value doesn't fit on enumeration).
5166 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5167 DEBUG macro says it takes minimum of 2 args and so Forte
5168 complains about the use with just 1 arg.
5169 * plugins/elements/gstfdsink.c:
5170 * plugins/elements/gstfdsrc.c:
5171 * plugins/elements/gstfilesink.c:
5172 * plugins/elements/gstfilesrc.c:
5173 Use correct return type for the uri handler implementations.
5175 All these fix warnings in Forte. Fixes bug #360860.
5177 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5179 * gst/gstelement.h:
5180 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5181 format string, so don't use G_GNUC_PRINTF for those versions.
5183 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5185 * gst/gsttaglist.c: (gst_is_tag_list):
5186 * gst/gsttaglist.h:
5187 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5189 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5190 Small test for the above.
5192 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5194 * gst/gsttaglist.h:
5195 Less tabs, more spaces.
5197 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5199 * gst/gstinfo.h:
5200 Those two function declarations do actually belong there, revert
5201 commit from yesterday that turned them intro macros.
5203 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5205 Patch by: Josep Torre Valles <josep@fluendo.com>
5207 * gst/gst.c: (gst_init_get_option_group):
5208 Fix empty declaration and type mismatch.
5209 * gst/gstbin.c: (gst_bin_change_state_func):
5210 Fix type mismatch.
5211 * gst/gstelement.c: (gst_element_continue_state),
5212 (gst_element_set_state_func), (gst_element_change_state),
5213 (gst_element_change_state_func):
5214 Fix type mismatches.
5215 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5216 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5217 Cast as appropriate.
5218 * gst/gstobject.c: (gst_class_signal_connect):
5219 Cast as appropriate. The function pointer parameter really
5220 has the wrong type but would break API if we change it.
5221 * gst/gstquery.c:
5222 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5223 order of including string.h.
5224 * gst/gstutils.c: (gst_element_state_get_name):
5225 Remove unreachable line.
5226 * gst/gstxml.c: (gst_xml_parse_doc):
5227 Fix type mismatch.
5228 All these caught by Forte.
5230 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5232 Patch by: Josep Torre Valles <josep@fluendo.com>
5234 * common/m4/gst-error.m4:
5235 Fixed bug #360151.
5236 We need to disable warnings on Forte for empty declarations
5237 due to gst-indent adding ;s to lines that just use macros
5238 where the macro actually doesn't need a ; at end to end
5239 statement.
5241 2006-10-06 Wim Taymans <wim@fluendo.com>
5243 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5244 (gst_file_sink_close_file), (gst_file_sink_event),
5245 (gst_file_sink_render):
5246 Add some FIXME for the NEWSEGMENT handling.
5248 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5250 * gst/parse/grammar.y:
5251 Remove static function gst_parse_element_lock as all it does
5252 is return. Looks like cruft from 0.8.
5254 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5256 Patch by: Josep Torre Valles <josep@fluendo.com>
5258 * common/m4/gst-error.m4:
5259 * configure.ac:
5260 * libs/gst/net/Makefile.am:
5261 Fix a compilation issue with Forte on Solaris. inet_aton is in
5262 libresolv.
5264 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5266 * gst/gstpad.c: (pre_activate):
5267 * gst/gstregistry.c: (gst_registry_scan_path_level):
5268 * gst/gstregistryxml.c: (load_plugin):
5269 * libs/gst/controller/gstcontroller.c:
5270 (gst_controlled_property_set_interpolation_mode):
5271 * libs/gst/dataprotocol/dataprotocol.c:
5272 (gst_dp_packet_from_event_1_0):
5273 * libs/gst/net/gstnetclientclock.c:
5274 (gst_net_client_clock_observe_times):
5275 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5276 Printf fixes.
5278 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5280 * configure.ac:
5281 * docs/gst/gstreamer-sections.txt:
5282 * gst/gstconfig.h.in:
5283 * gst/gstelement.h:
5284 * gst/gstinfo.h:
5285 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5286 whether we can use G_GNUC_PRINTF in other header files and at
5287 least check the printf format/arguments of debug messages and
5288 GST_ELEMENT_ERROR messages when the printf extension is not
5289 being used.
5290 Replace more tabs with spaces in gstinfo.h and remove two spurious
5291 function declarations in GST_DISABLE_DEBUG part with macros.
5293 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5295 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5296 More docs for the sync-message signal (mention that it is not
5297 emitted by default); log message structures of messages posted on
5298 the bus as well.
5300 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5302 * gst/gst.c: (ensure_current_registry_forking):
5303 Use a pipe pair to receive status results from the forked child, and
5304 ignore the result from waitpid. Fixes #355499
5306 2006-10-02 Wim Taymans <wim@fluendo.com>
5308 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5309 (gst_ghost_pad_suite):
5310 Fix leak in check.
5312 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5314 * gst/gstpad.c:
5315 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5317 2006-10-02 Edward Hervey <edward@fluendo.com>
5319 * docs/design/part-block.txt:
5320 Further explain the use of flushing on blocked pads.
5321 * docs/gst/gstreamer-sections.txt:
5322 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5323 (gst_pad_push_event):
5324 * gst/gstpad.h:
5325 Added new GstPadFlag : GST_PAD_BLOCKING.
5326 Adds the notion of pads really blocking, which enables to properly
5327 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5328 Fixes #358999
5329 API: gst_pad_is_blocking()
5330 API: GST_PAD_IS_BLOCKING() macro
5331 API: GST_PAD_BLOCKING GstPadFlag
5333 2006-10-02 Wim Taymans <wim@fluendo.com>
5335 Patch by: mrcgran <mrc.gran at gmail dot com>
5337 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5338 Filter the proxied caps against the padtemplate if we have one.
5340 * gst/gstquery.c: (gst_query_new_segment):
5341 Add include for gstinfo.h so that compilation with
5342 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5344 2006-10-02 Wim Taymans <wim@fluendo.com>
5346 Patch by: Alessandro Decina <alessandro at nnva org>
5348 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5349 (gst_file_sink_set_location), (gst_file_sink_open_file),
5350 (gst_file_sink_close_file), (gst_file_sink_event),
5351 (gst_file_sink_render):
5352 Set file to NULL when closing filesink so that we can set a new filename
5353 in READY. Fixes #358613.
5355 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5357 Patch by: Alessandro Decina <alessandro at nnva org>
5359 * gst/gstevent.c: (_gst_event_copy):
5360 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5361 with event structures by setting the parent refcount address of the
5362 copied structure to the address of the refcount member of the newly
5363 copied event rather than the address of the refcount member of the
5364 original event. Fixes #358737.
5366 * tests/check/gst/gstevent.c: (GST_START_TEST):
5367 Unit test for the above.
5369 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5371 * docs/design/Makefile.am:
5372 Dist some more files.
5374 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5376 * tests/check/libs/controller.c: (GST_START_TEST),
5377 (gst_controller_suite):
5378 Add test for the previous fix; add some more tests
5379 for correct refcounting behaviour; fix a few leaks
5380 in test cases; call gst_controller_init() at start
5381 of all tests.
5383 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5385 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5386 (gst_controller_set_from_list):
5387 Don't g_return_val_if_fail() on timed values with invalid timestamps
5388 inside a critical section without unlocking the mutex. Spotted by
5389 René Stadler. (#357617)
5390 Also, fix up refcounting properly: when returning an existing
5391 controller, we should increase the reference only once and not
5392 once per property and when trying to control a property again
5393 we should also increase the refcount.
5395 2006-09-29 Wim Taymans <wim@fluendo.com>
5397 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5398 * libs/gst/net/gstnettimeprovider.c:
5399 (gst_net_time_provider_thread):
5400 Stop reading commands when EOF as well.
5402 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5403 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5404 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5405 Unify description of the dump property.
5407 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5409 * tests/examples/manual/.cvsignore:
5410 OK, so it's actually cvsignore that needs changing. Stop laughing.
5412 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5414 * tests/examples/manual/Makefile.am:
5415 Gah, declare vars *before* using them
5417 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5419 * gst/gst.c: (init_pre), (scan_and_update_registry),
5420 (ensure_current_registry_nonforking),
5421 (ensure_current_registry_forking), (ensure_current_registry),
5422 (init_post), (gst_debug_help), (gst_deinit):
5423 * gst/gst_private.h:
5424 * gst/gstregistry.c: (gst_registry_finalize),
5425 (gst_registry_remove_features_for_plugin_unlocked),
5426 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5427 (gst_registry_scan_path),
5428 (_priv_gst_registry_remove_cache_plugins),
5429 (_priv_gst_registry_cleanup):
5430 * gst/gstregistry.h:
5431 Re-commit the registry changes, along with an extra fix:
5432 When a cached plugin is encountered at a different file path,
5433 update the stored path in the registry cache so that the parent
5434 process knows where it actually is now when it re-reads the registry
5435 cache. Fixes the thing that broke distcheck with the previous commit.
5437 * tests/check/Makefile.am:
5438 Clean up files named 'core' too when running make clean.
5440 * tests/examples/manual/Makefile.am:
5441 Set up a registry path for running these tests, and clean it properly
5442 for distcheck.
5444 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5446 * configure.ac:
5447 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5448 want gmodule-no-export-2.0.pc instead so that we don't drag in
5449 --export-dynamic on every project that links to GStreamer.
5451 Also, make our export regex only match the start of symbols, rather
5452 than any symbol that contains '_gst' somewhere.
5454 * libs/gst/check/Makefile.am:
5455 The libgstcheck we build does however need export-dynamic, as it
5456 produces some symbols that don't match our _gst... style regex.
5457 Fixes: #318031
5459 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5461 * gst/gst.c: (init_pre), (scan_and_update_registry),
5462 (ensure_current_registry_nonforking),
5463 (ensure_current_registry_forking), (ensure_current_registry),
5464 (init_post), (gst_debug_help), (gst_deinit):
5465 * gst/gst_private.h:
5466 * gst/gstregistry.c: (gst_registry_finalize),
5467 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5468 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5469 (_gst_registry_cleanup):
5470 * gst/gstregistry.h:
5471 Revert previous change until I figure out why it breaks distcheck.
5473 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5475 * gst/gst.c: (init_pre), (scan_and_update_registry),
5476 (ensure_current_registry_nonforking),
5477 (ensure_current_registry_forking), (ensure_current_registry),
5478 (init_post), (gst_debug_help), (gst_deinit):
5480 Make init_pre and init_post take the full complement of GOptionFunc
5481 args so they can return useful GErrors. Make the registry updating
5482 functions do so.
5484 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5485 ensure that the registry we're about to write out doesn't contain
5486 stale information about old-deleted plugin files.
5488 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5489 that deletion of plugin files is considered a registry change.
5491 * gst/gst_private.h:
5492 * gst/gstregistry.c: (gst_registry_finalize),
5493 (gst_registry_remove_features_for_plugin_unlocked),
5494 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5495 (gst_registry_scan_path),
5496 (_priv_gst_registry_remove_cache_plugins),
5497 (_priv_gst_registry_cleanup):
5498 * gst/gstregistry.h:
5499 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5500 by adding _priv prefix, so that they won't appear in the global
5501 symbol table. They still do atm though because of #318031. Move the
5502 prototypes to gst_private.h
5504 When removing a plugin, remove all features for that plugin too.
5505 Fixes #340878.
5507 2006-09-27 Wim Taymans <wim@fluendo.com>
5509 * docs/random/moving-plugins:
5510 Make it clear that the "compiled-in descriptions" really mean
5511 the element details.
5513 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5514 (gst_base_sink_wait_preroll):
5515 Update docs.
5517 * docs/libs/gstreamer-libs-sections.txt:
5518 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5519 (gst_base_src_get_range), (gst_base_src_activate_push):
5520 * libs/gst/base/gstbasesrc.h:
5521 Added function to block while waiting for PLAYING, this function
5522 is used by live sources that block on the clock.
5523 API: gst_base_src_wait_playing()
5525 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5527 Patch by: Peter Kjellerstedt <pkj at axis com>
5529 * Makefile.am:
5530 gst-element-check.m4 is generated and should therefore be
5531 copied from the build dir rather than the source dir (#357593).
5532 'make distcheck' hasn't noticed this because we were disting
5533 the file as well, so stop doing that.
5535 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5537 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5538 Add some tests for gst_caps_intersect().
5540 * tools/gst-launch.c: (event_loop):
5541 Print all buffering percentages we get, even the 100% one.
5543 2006-09-26 Wim Taymans <wim@fluendo.com>
5545 * tools/gst-inspect.c: (print_element_properties_info),
5546 (print_signal_info):
5547 Fix printing of flags to match the look of enums.
5549 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5551 * gst/gstelementfactory.c:
5552 Fix typo in docs blurb.
5554 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5556 * gst/gsturi.c: (search_by_entry):
5557 Don't assert/crash here if a uri handler doesn't return any
5558 supported protocols. The list of protocols could be generated
5559 dynamically at runtime or at plugin registration, and an error
5560 in the underlying library shouldn't be fatal (#353301).
5562 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5564 * gst/gstinfo.c:
5565 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5566 (spotted by Peter Kjellerstedt).
5568 2006-09-23 Wim Taymans <wim@fluendo.com>
5570 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5572 * libs/gst/base/gstbasesrc.c:
5573 (gst_base_src_default_check_get_range), (gst_base_src_start),
5574 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5575 (gst_base_src_change_state):
5576 Match _start/_stop calls in the activate functions. Remove redundant
5577 _stop call from the state change function. Fixes #356910.
5578 Turn failure DEBUG into ERROR.
5580 2006-09-22 Wim Taymans <wim@fluendo.com>
5582 * docs/design/part-buffering.txt:
5583 * gst/gstmessage.c: (gst_message_new_buffering),
5584 (gst_message_parse_buffering):
5585 Update docs about buffering.
5587 * docs/design/part-trickmodes.txt:
5588 Fix typo.
5590 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5592 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5593 (gst_controller_new_list):
5594 Ref instances when returning them again (fixes #357180)
5596 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5598 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5599 Don't forget to release proxy lock when there's an error.
5601 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5603 * gst/gstcaps.h:
5604 Add extra initialisers for Caps things, to fix some plugin warnings
5605 when using -Wextra
5607 2006-09-18 Wim Taymans <wim@fluendo.com>
5609 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5610 Also set template on the internal pad so that a getcaps from the
5611 target pad returns the template caps.
5613 2006-09-18 Wim Taymans <wim@fluendo.com>
5615 * gst/gstelement.c: (gst_element_post_message),
5616 (gst_element_dispose):
5617 Use _DEBUG_OBJECT some more.
5619 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5620 Avoid typechecks.
5622 * tools/gst-launch.c: (main):
5623 If the toplevel element is not a GstPipeline, it must be put in a
5624 pipeline so that a bus and clock is selected.
5626 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5628 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5629 JITTER, RATE, and LATENCY query should be handled by the
5630 default case and not by the CONVERT query code.
5632 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5634 * gst/gstformat.c: (gst_format_register):
5635 Fix locking order (must take lock before using n_values).
5637 * gst/gstvalue.c: (gst_value_serialize_enum),
5638 (gst_value_deserialize_enum_iter_cmp),
5639 (gst_value_deserialize_enum):
5640 Fix serialisation/deserialisation of custom registered GstFormats.
5642 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5643 Unit test for custom format serialisation/deserialisation.
5645 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5647 * docs/pwg/building-boiler.xml:
5648 * plugins/elements/gstcapsfilter.c:
5649 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5650 section.
5652 2006-09-16 Edward Hervey <edward@fluendo.com>
5654 * libs/gst/base/gstbasetransform.c:
5655 (gst_base_transform_buffer_alloc):
5656 Check if requested caps are the same as the sinks caps IF
5657 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5658 is FALSE.
5659 This fixes the renegotiation issues stated in #352827.
5661 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5663 * configure.ac:
5664 * docs/manual/advanced-autoplugging.xml:
5665 * tests/examples/Makefile.am:
5666 * tests/examples/manual/.cvsignore:
5667 * tests/examples/manual/Makefile.am:
5668 * tests/examples/manual/extract.pl:
5669 Extract the manual examples again like we used to do.
5670 Fix one of them.
5672 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5674 * win32/common/config.h:
5675 update for version
5677 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5679 * gst/gsterror.c:
5680 Documents how to receive errors.
5682 2006-09-15 Wim Taymans <wim@fluendo.com>
5684 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5685 (event_loop), (main):
5686 Added some comments here and there.
5687 Post an application message when an interrupt is caught instead of doing
5688 an uncontrolled state change.
5689 Clean up the event loop.
5690 Handle buffering messages, pause/resume the pipeline.
5691 Make shutdown because of an interrupt more reliable.
5693 2006-09-15 Wim Taymans <wim@fluendo.com>
5695 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5696 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5697 (gst_base_sink_preroll_object):
5698 Make sure that our internal state is correct when we commit our state
5699 asynchronously. This solves a race where a state change to PLAYING
5700 could cause the sink to remain blocked in preroll in some situations.
5702 2006-09-15 Wim Taymans <wim@fluendo.com>
5704 * tools/gst-inspect.c: (print_element_properties_info),
5705 (print_signal_info):
5706 List flags as hex so it's easier to deal with.
5708 2006-09-15 Wim Taymans <wim@fluendo.com>
5710 * docs/libs/gstreamer-libs-sections.txt:
5711 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5712 (gst_base_sink_do_sync):
5713 * libs/gst/base/gstbasesink.h:
5714 Expose logic to wait for preroll so that subclasses such as audiosink
5715 can also use this method.
5716 API: gst_base_sink_wait_preroll()
5718 2006-09-15 Wim Taymans <wim@fluendo.com>
5720 * gst/gstobject.c: (gst_object_set_parent):
5721 * gst/gstpipeline.c: (do_pipeline_seek):
5722 Small cleanups in docs and code.
5724 * gst/gstsegment.c: (gst_segment_clip):
5725 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5726 if stop == start and start is in the segment, no clipping should be
5727 done. Also add a test for this.
5729 2006-09-15 Wim Taymans <wim@fluendo.com>
5731 * docs/design/part-buffering.txt:
5732 * docs/gst/gstreamer-sections.txt:
5733 * gst/gstmessage.c: (gst_message_new_buffering),
5734 (gst_message_parse_buffering):
5735 * gst/gstmessage.h:
5736 Added methods to create and parse BUFFERING messages.
5737 Added preliminary docs about buffering.
5738 API: gst_message_new_buffering
5739 API: gst_message_parse_buffering
5741 2006-09-06 Wim Taymans <wim@fluendo.com>
5743 * gst/gstbin.c:
5744 Update documentation.
5746 * gst/gstelement.c: (gst_element_class_init),
5747 (gst_element_release_request_pad), (gst_element_set_clock),
5748 (gst_element_get_index), (gst_element_add_pad),
5749 (gst_element_remove_pad), (gst_element_get_random_pad),
5750 (gst_element_send_event), (gst_element_get_query_types),
5751 (gst_element_query), (gst_element_post_message),
5752 (gst_element_message_full), (gst_element_continue_state),
5753 (gst_element_lost_state), (gst_element_save_thyself),
5754 (gst_element_restore_thyself):
5755 Documentation updates.
5756 Rename last bit of the new-pad -> pad-added signal rename.
5757 Fix the case where an element query would only work if the source
5758 pad was linked.
5759 Avoid some useless type checking in message handling.
5761 * gst/gstevent.c:
5762 * gst/gstevent.h:
5763 * gst/gstutils.c:
5764 Documentation updates.
5766 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5768 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5769 add an INFO line for when we actually update the fd
5771 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5773 * configure.ac:
5774 back to TRUNK
5776 === release 0.10.10 ===
5778 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5780 * configure.ac:
5781 releasing 0.10.10, "Pais"
5783 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5785 * docs/manual/advanced-position.xml:
5786 Fix typo in sample code.
5788 2006-09-05 Wim Taymans <wim@fluendo.com>
5790 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5791 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5792 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5793 * libs/gst/net/gstnetclientclock.h:
5794 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5795 * libs/gst/net/gstnettimepacket.h:
5796 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5797 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5798 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5799 * libs/gst/net/gstnettimeprovider.h:
5800 Make stuff compile on windows. Fixes #345295.
5802 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5804 * gst/gst.c: (ensure_current_registry_forking):
5805 Print better details when child was terminated by signal.
5807 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5809 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5810 Print a warning rather than g_assert() if a plugin feature
5811 is a URI handler but returns no protocols (#353976).
5813 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5815 * docs/random/moving-plugins:
5816 Fix two typos.
5818 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5820 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5821 Fix locking order, handle NULL function values properly.
5823 * gst/gstinfo.h:
5824 Fix docs.
5826 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5827 Initialise variable before using it and fix debug statement to
5828 print the address of the function rather than the address of the
5829 variable on the stack holding the address of the function.
5831 2006-09-01 Wim Taymans <wim@fluendo.com>
5833 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5834 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5835 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5836 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5837 (gst_ghost_pad_parent_unset),
5838 (gst_ghost_pad_internal_do_activate_push),
5839 (gst_ghost_pad_internal_do_activate_pull),
5840 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5841 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5842 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5843 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5844 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5845 (gst_ghost_pad_new_no_target_from_template),
5846 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5847 More cleanups.
5848 Avoid needless typechecking in macros.
5849 Since the internal pad is always present and never changes, there is
5850 no need to locking or ref when retrieving it.
5851 Improve debugging a bit.
5852 Handle link errors when setting the target. Fixes #341029.
5854 2006-09-01 Wim Taymans <wim@fluendo.com>
5856 * docs/libs/gstreamer-libs-sections.txt:
5857 * docs/plugins/gstreamer-plugins-sections.txt:
5858 Fix docs some more.
5860 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5861 (gst_collect_pads_event):
5862 * libs/gst/base/gstcollectpads.h:
5863 Documentation updates.
5864 Free queued buffer when removing a pad.
5866 2006-08-31 Michael Smith <msmith@fluendo.com>
5868 * gst/gstutils.c: (gst_element_link_pads),
5869 (gst_element_link_pads_filtered):
5870 Ensure that we set a capsfilter to NULL if we failed to link it
5871 when doing filtered linking, to avoid criticals.
5873 No need to check for unreffing srcpad, which is explicly NULLed
5874 above (a trivial code cleanup).
5876 2006-08-31 Wim Taymans <wim@fluendo.com>
5878 * docs/design/part-gstghostpad.txt:
5879 Update ascii art in documentation.
5881 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5882 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5883 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5884 (gst_ghost_pad_internal_do_activate_push),
5885 (gst_ghost_pad_internal_do_activate_pull),
5886 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5887 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5888 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5889 (gst_ghost_pad_set_target):
5890 Small cleanups and leak fixes.
5891 Remove some checks now that the internal pad is never NULL.
5892 Fix the case where linking pads without a target would create nasty
5893 criticals. Fixes #341029.
5894 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5895 value of _set_target().
5897 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5898 (gst_ghost_pad_suite):
5899 Some more tests for creating and linking untargeted ghostpads.
5901 2006-08-31 Edward Hervey <edward@fluendo.com>
5903 * docs/gst/gstreamer-sections.txt:
5904 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5905 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5906 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5907 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5908 (gst_ghost_pad_new_from_template),
5909 (gst_ghost_pad_new_no_target_from_template):
5910 * gst/gstghostpad.h:
5911 Refactored *_new() functions.
5912 Templates are now used as a g_object_new() parameter.
5913 Use template in _do_getcaps() if we don't have a target.
5914 Small documentation cleanups.
5915 Added two new constructors:
5916 gst_ghost_pad_new_from_template()
5917 gst_ghost_pad_new_no_target_from_template()
5918 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5919 (gst_ghost_pad_suite):
5920 Added tests for new ghostpad instanciation functions.
5922 API additions: gst_ghost_pad_new_from_template,
5923 gst_ghost_pad_new_no_target_from_template
5925 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5927 * docs/random/ensonic/profiling.txt:
5928 Ideas about qos profiling.
5930 2006-08-29 Wim Taymans <wim@fluendo.com>
5932 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5933 Code cleanups.
5934 Fix memleak.
5936 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5938 * gst/gstxml.c:
5939 Improve and detypofy docs.
5941 * tests/check/Makefile.am:
5942 * tests/check/gst/.cvsignore:
5943 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5944 Add a basic test suite for GstXML.
5946 2006-08-29 Wim Taymans <wim@fluendo.com>
5948 * gst/gstelement.c: (activate_pads), (clear_caps),
5949 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5950 Clear the pad caps when the element shut down all of the pads and
5951 is not streaming data that could modify the caps.
5952 Fixes #352958.
5954 2006-08-28 Michael Smith <msmith@fluendo.com>
5956 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5957 Revert previous change; I misunderstood single-segment mode.
5959 2006-08-28 Michael Smith <msmith@fluendo.com>
5961 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5962 Unset DISCONT on buffers when using single-segment mode.
5964 2006-08-28 Wim Taymans <wim@fluendo.com>
5966 * gst/gstcaps.c: (gst_caps_merge_structure):
5967 * gst/gstcaps.h:
5968 Fix docs and indentation again.
5970 * tests/check/gst/gstquery.c: (GST_START_TEST):
5971 Fix leak in tests and add some more tests.
5973 2006-08-28 Edward Hervey <edward@fluendo.com>
5975 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5976 Inform GstSegment of the last stop position in order for the current
5977 segment to have a proper duration if it doesn't have a specific stop
5978 position from which a duration could be calculated.
5979 This bug was noticeable when a non-flushing, non-update new segment was
5980 followed by another segment (all buffers from the new segment were being
5981 dropped).
5983 2006-08-28 Wim Taymans <wim@fluendo.com>
5985 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5986 Small comment update.
5988 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5989 (gst_identity_transform_ip):
5990 Drop-probability is broken, mention this in the code with a
5991 FIXME and also in the property description.
5992 Make silent also be silent about the drop messages.
5994 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5996 * docs/manual/appendix-win32.xml:
5997 Remove mention of popt, we don't depend on that any
5998 longer (#353136). Add some comments pointing out that
5999 this section is slightly outdated.
6001 2006-08-28 Wim Taymans <wim@fluendo.com>
6003 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6005 * gst/gstquery.c: (gst_query_new_segment):
6006 * tests/check/gst/gstquery.c: (GST_START_TEST):
6007 Initialize variables when creating a new segment query.
6008 Fixes #353121.
6010 2006-08-28 Wim Taymans <wim@fluendo.com>
6012 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6014 * gst/gstelement.c: (gst_element_get_bus):
6015 * tests/check/gst/gstelement.c: (GST_START_TEST):
6016 Check for NULL before _reffing the bus. Fixes #353122.
6018 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6020 * docs/manual/basics-bus.xml:
6021 Docs update: fix wrong callback return value explanation; add
6022 some lines about the implicit relationship between main loop
6023 and main context; remove duplicate main loop variable declaration.
6025 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6027 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6028 Don't leak caps in unit test; add a few more simple
6029 checks.
6031 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6033 * docs/gst/gstreamer-sections.txt:
6034 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6035 (gst_caps_structure_is_subset), (gst_caps_merge),
6036 (gst_caps_merge_structure):
6037 * gst/gstcaps.h:
6038 * libs/gst/base/gstbasetransform.c:
6039 (gst_base_transform_transform_caps):
6040 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6041 implement caps merging (fixes #352580)
6043 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6045 * tools/Makefile.am:
6046 * tools/gst-plot-timeline.py:
6047 add debug-log plotting developer tool (#340674)
6049 2006-08-23 Wim Taymans <wim@fluendo.com>
6051 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6052 (gst_pad_stop_task):
6053 Improve debugging for task functions.
6055 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6056 (gst_task_start), (gst_task_pause), (gst_task_join):
6057 Make sure that the task function started and finished after a
6058 join().
6059 Don't try to push the task function on the threadpool multiple
6060 times.
6061 Improve the g_warning message with some useful suggestions
6062 about how to fix the problem.
6064 2006-08-23 Wim Taymans <wim@fluendo.com>
6066 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6067 Handle RESYNC correctly in _proxy_getcaps.
6069 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6071 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6072 (gst_xml_parse_memory), (gst_xml_get_element):
6073 Chain up to parent class in dispose function and also
6074 unref the elements in the toplevel_elements GList.
6075 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6076 Always return a reference in gst_xml_get_element() rather
6077 than only sometimes.
6079 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6080 Don't leak GstXml object.
6082 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6084 * docs/gst/gstreamer-sections.txt:
6085 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6086 (gst_caps_merge):
6087 * gst/gstcaps.h:
6088 * libs/gst/base/gstbasetransform.c:
6089 (gst_base_transform_transform_caps):
6090 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6091 in a better way
6093 2006-08-21 Edward Hervey <edward@fluendo.com>
6095 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6096 Implement GObject::dispose virtual method in GstXML so we can free the
6097 top_elements GList.
6099 2006-08-21 Wim Taymans <wim@fluendo.com>
6101 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6102 (gst_buffer_create_sub):
6103 Copy duration/offset_end/caps when creating a subbuffer of the
6104 complete parent.
6105 Make the subbuffer read-only when we make the metadata writable for
6106 now. Fixes #351768.
6108 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6109 Added check for metadata copy when creating subbuffers.
6111 2006-08-21 Edward Hervey <edward@fluendo.com>
6113 * libs/gst/base/gstbasetransform.c:
6114 (gst_base_transform_buffer_alloc):
6115 Only call downstream buffer_alloc if transform element is passthrough
6116 or always_in_place. Closes #350449.
6118 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6120 * ChangeLog:
6121 ChangeLog surgery to add comments to previous changes
6123 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6125 * gst/gst.c:
6126 Add comments
6128 * gst/gstpad.c: (gst_pad_set_active):
6129 Be more verbose in the log
6131 * libs/gst/base/gstbasetransform.c:
6132 (gst_base_transform_transform_caps):
6133 Simplify caps to get rid of duplicates, fixes #345444
6135 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6137 * gst/gstvalue.c:
6138 * gst/gstvalue.h:
6139 Use these optimizations only internally.
6141 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6143 * gst/gstvalue.c: (gst_value_compare_list),
6144 (gst_value_compare_fraction_range),
6145 (gst_value_intersect_fraction_fraction_range),
6146 (gst_value_intersect_fraction_range_fraction_range),
6147 (gst_value_subtract_fraction_fraction_range),
6148 (gst_value_subtract_fraction_range_fraction_range),
6149 (gst_value_get_compare_func), (gst_value_compare),
6150 (gst_value_compare_with_func):
6151 * gst/gstvalue.h:
6152 Saves the expensive lookup of the compare function in many cases
6153 (#345444)
6155 2006-08-18 Edward Hervey <edward@fluendo.com>
6157 * tests/check/gst/gstinfo.c: (gst_info_suite):
6158 Disable test that require gstdebug if it wasn't built in core.
6160 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6162 * docs/random/ensonic/logging.txt:
6163 update ideas
6165 * gst/gstinfo.c: (gst_debug_log_default):
6166 reorder fields, save some columns, add optional color codes for log
6167 levels
6169 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6171 * docs/random/ensonic/logging.txt:
6172 add ideas about making the logs a bit more useful
6174 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6176 * docs/pwg/advanced-events.xml:
6177 * docs/pwg/titlepage.xml:
6178 Update for 0.10 API (#340627). Add myself
6179 to authors list.
6181 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6183 * docs/libs/gstreamer-libs-docs.sgml:
6184 * docs/libs/gstreamer-libs-sections.txt:
6185 * libs/gst/check/gstbufferstraw.c:
6186 Make gstcheck stuff show up in docs (still needs to
6187 be documented properly though).
6189 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6191 * docs/gst/gstreamer-sections.txt:
6192 * gst/Makefile.am:
6193 * gst/gst.c: (init_post):
6194 * gst/gst_private.h:
6195 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6196 * gst/gstquark.h:
6197 * gst/gstquery.c: (gst_query_new_position),
6198 (gst_query_set_position), (gst_query_parse_position),
6199 (gst_query_new_duration), (gst_query_set_duration),
6200 (gst_query_parse_duration), (gst_query_new_convert),
6201 (gst_query_set_convert), (gst_query_parse_convert),
6202 (gst_query_new_segment), (gst_query_set_segment),
6203 (gst_query_parse_segment), (gst_query_new_seeking),
6204 (gst_query_set_seeking), (gst_query_parse_seeking):
6205 Add internal helpers for pre-registering quarks from static strings
6206 and using the quark values directly instead of looking them up when
6207 creating and parsing queries. Can be used for event construction too.
6208 Closes #350432.
6210 2006-08-16 Wim Taymans <wim@fluendo.com>
6212 * gst/gstbin.c:
6213 Fix bogus docs.
6215 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6217 * gst/gstutils.c: (gst_util_set_value_from_string):
6218 Fix memleak (#351502).
6220 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6221 Add unit test for most of gst_util_set_value_from_string()
6222 (not that one would want to encourage use of this function).
6224 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6226 * libs/gst/check/gstcheck.h:
6227 Use const gchar * variables in fail_unless_equals_string
6228 macro to avoid compiler warnings (and don't use tabs for
6229 indenting).
6231 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6233 * tools/gst-launch.c: (print_tag):
6234 More space on the left for the tag names, to cater
6235 for the 'extended comment' tag (not touching the
6236 string for the first line since it's translated).
6238 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6240 * libs/gst/check/gstcheck.h:
6241 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6242 print something when they fail.
6244 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6246 * docs/gst/gstreamer-sections.txt:
6247 * gst/gsttaglist.c: (_gst_tag_initialize):
6248 * gst/gsttaglist.h:
6249 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6250 Also change merge function for GST_TAG_COMMENT to
6251 use_first.
6253 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6255 * gst/gstinfo.c: (gst_debug_print_object):
6256 Make GST_PTR_FORMAT print messages as well.
6258 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6259 (GST_START_TEST), (gst_info_suite):
6260 More tests.
6262 2006-08-14 Edward Hervey <edward@fluendo.com>
6264 * gst/gstelementfactory.c: (gst_element_register):
6265 If the GstElementClass doesn't have a GstElementDetails with all fields
6266 filled up correctly (longname, description AND author), then error out
6267 nicely instead of crashing.
6269 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6271 * gst/gststructure.c:
6272 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6274 * gst/gstvalue.h:
6275 Expand on the difference between arrays and lists as we use them.
6277 2006-08-14 Wim Taymans <wim@fluendo.com>
6279 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6280 If the parent state change function failed, don't assume we can safely
6281 stop the source, this will be done when the pads are deactivated.
6283 2006-08-14 Wim Taymans <wim@fluendo.com>
6285 * gst/gstbuffer.c:
6286 * gst/gsttask.c: (gst_task_join):
6287 Small doc updates.
6289 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6290 (gst_pad_stop_task):
6291 When pad (de)activation failed for some reason, restore the old
6292 activation mode and set the pad to flushing instead of assuming the
6293 pad is deactivated.
6294 If the _task_join() failed, reinstall the task on the pad so that it can
6295 be stopped later and return an error.
6297 2006-08-11 Andy Wingo <wingo@pobox.com>
6299 * configure.ac:
6300 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6301 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6302 is only for users of API that don't want to see deprecated
6303 functions in the headers; people that want to compile out
6304 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6305 CFLAGS. Fixes the build of multifdsink, or will soon..
6307 2006-08-11 Wim Taymans <wim@fluendo.com>
6309 * docs/gst/gstreamer-sections.txt:
6310 Add GstClockClass vmethod docs.
6312 * gst/gstcaps.h:
6313 Mark #endif with comment for associated #if
6315 * gst/gstclock.c: (gst_clock_id_wait):
6316 * gst/gstclock.h:
6317 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6318 most clock implementations.
6319 Document vmethods.
6320 Flesh out docs about resolution methods.
6321 API: GstClockClass::wait_jitter
6323 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6324 (gst_system_clock_async_thread),
6325 (gst_system_clock_id_wait_jitter_unlocked),
6326 (gst_system_clock_id_wait_jitter):
6327 Use base class wait_jitter variant for improved performance
6328 due to less clock polling.
6330 2006-08-11 Edward Hervey <edward@fluendo.com>
6332 * gst/gst.c: (gst_init_check), (init_post):
6333 Set gst as being initialized before scanning/updating the registry,
6334 since there might be my python plugin loader that calls gst_init() and
6335 we don't want to loop back in.
6336 Closes #350879
6338 2006-08-11 Wim Taymans <wim@fluendo.com>
6340 * docs/design/part-qos.txt:
6341 Bring docs in line with the code. Mostly the sign of the jitter was
6342 wrong in the docs. Fixes #349943.
6344 * gst/gstclock.c:
6345 Fix the docs for the jitter.
6347 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6348 (gst_event_parse_tag), (gst_event_new_buffer_size),
6349 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6350 (gst_event_new_seek), (gst_event_parse_seek),
6351 (gst_event_new_navigation):
6352 Make sure the GstStructure has no parent when creating custom
6353 events.
6354 Add some more argument checking so that we avoid 0.0 rates.
6355 Flesh out the docs for the QoS event some more.
6357 2006-08-11 Wim Taymans <wim@fluendo.com>
6359 * docs/gst/gstreamer-sections.txt:
6360 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6361 (ensure_current_registry_forking), (ensure_current_registry),
6362 (parse_one_option), (parse_goption_arg), (gst_deinit),
6363 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6364 * gst/gst.h:
6365 Doc updates.
6366 Added API and command line option to disable registry forking in
6367 addition to the environment variable.
6368 Constify some static arrays.
6369 Added some more debug.
6370 Don't deinit twice.
6371 API: gst_registry_fork_is_enabled()
6372 API: gst_registry_fork_set_enabled()
6373 API: --gst-disable-registry-fork command line option
6374 Fixes #348918.
6376 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6378 * gst/gst.c: (gst_init):
6379 Fix typo in error message.
6381 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6383 * libs/gst/controller/gstcontroller.h:
6384 fix ABI size-correction
6386 * tests/check/libs/gdp.c: (gst_dp_suite):
6387 make tests that use deprecated API conditional
6389 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6391 * docs/libs/gstreamer-libs-sections.txt:
6392 * libs/gst/controller/gstcontroller.c:
6393 (_gst_controller_get_property), (_gst_controller_set_property),
6394 (_gst_controller_init), (_gst_controller_class_init):
6395 * libs/gst/controller/gstcontroller.h:
6396 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6397 (gst_object_set_control_rate):
6398 API: add gst_object_{s,g}et_control_rate(), add private data section,
6399 fix docs
6401 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6402 * libs/gst/dataprotocol/dataprotocol.h:
6403 add deprecation guards to make gtk-doc happy and allow disabling cruft
6405 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6407 * tests/check/Makefile.am:
6408 * tests/check/gst/.cvsignore:
6409 Let's enable the new unit test as well.
6411 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6413 * configure.ac:
6414 * docs/gst/gstreamer-sections.txt:
6415 * gst/gstconfig.h.in:
6416 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6417 (_gst_info_printf_extension_ptr),
6418 (_gst_info_printf_extension_segment):
6419 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6420 register that lets us easily dump GstSegments into debug
6421 logs (#350419).
6423 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6424 (info_segment_format_printf_extension), (gst_info_suite):
6425 Add simple unit test that logs a bunch of different segments (not
6426 valgrinded at the moment because of leaks in
6427 gst_debug_add_log_function).
6429 2006-08-09 Edward Hervey <edward@fluendo.com>
6431 * libs/gst/base/gstbasetransform.c:
6432 (gst_base_transform_buffer_alloc):
6433 Even if we can't figure out the proper format to request downstream,
6434 call buffer_alloc() downstream with the input parameters without setting
6435 the caps on the srcpad. This will force negotiation in the chain
6436 function.
6437 Closes #350449
6439 2006-08-08 Edward Hervey <edward@fluendo.com>
6441 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6442 Unlinking from a pad without a target is now a perfectly valid case
6443 which should NOT raise an assertion.
6444 This case would happen if a linked ghostpad its target set to NULL after
6445 it was previously linked.
6447 2006-08-08 Edward Hervey <edward@fluendo.com>
6449 * tests/check/libs/gdp.c:
6450 Also comment out the test (see below).
6452 2006-08-08 Edward Hervey <edward@fluendo.com>
6454 * tests/check/libs/gdp.c: (gst_dp_suite):
6455 Use the architecture information from config.h and not gcc macros
6456 in order to properly disable a test that fails on PPC64.
6458 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6460 * gst/gstelement.c: (gst_element_remove_pad):
6461 Don't crash printing the warning if the pad has no parent.
6463 2006-08-02 Wim Taymans <wim@fluendo.com>
6465 * libs/gst/dataprotocol/dataprotocol.c:
6466 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6467 (gst_dp_crc), (gst_dp_header_payload_length),
6468 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6469 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6470 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6471 (gst_dp_event_from_packet), (gst_dp_validate_header),
6472 (gst_dp_validate_payload):
6473 Make debug category static
6474 Constify the crc table.
6475 Do some more arg checking in public functions.
6476 Fix some docs and do some small cleanups.
6478 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6479 Add some more checks to see if GDP deals with bogus input.
6481 2006-07-31 Wim Taymans <wim@fluendo.com>
6483 * gst/gstvalue.c: (gst_value_compare_list):
6484 Fix GstValueList comparison code. Fixes #347293.
6486 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6487 Check to test GstValueList comparison.
6489 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6491 * gst/gstelementfactory.c: (gst_element_factory_create):
6492 Remove unnecessary ref/unref pair
6494 * gst/parse/grammar.y:
6495 Make sure to free the parse buffer on all code paths.
6496 Move a g_free up to the error handler where it's easier to see.
6498 * tests/check/gst/gstevent.c: (test_event):
6499 Extending timeout for downstream travelling events to 10 seconds to
6500 hopefully avoid intermittent failure on the buildbots.
6502 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6503 Don't manually set the state of the src element - it will happen as a
6504 natural consequence of the pipeline changing state, and that way it
6505 will do it in the right order too.
6507 2006-07-31 Wim Taymans <wim@fluendo.com>
6509 * libs/gst/base/gstbasetransform.c:
6510 (gst_base_transform_buffer_alloc):
6511 Use OBJECT_LOCK and refcounting to get the pad caps in the
6512 buffer_alloc function because the caps could change while we are
6513 busy with them. Fixes #349105
6515 2006-07-31 Wim Taymans <wim@fluendo.com>
6517 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6518 Protect _PAD_CAPS with OBJECT_LOCK.
6520 2006-07-31 Wim Taymans <wim@fluendo.com>
6522 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6523 (gst_pad_get_property), (gst_pad_activate_pull),
6524 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6525 (gst_pad_set_activate_function),
6526 (gst_pad_set_activatepull_function),
6527 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6528 (gst_pad_set_getrange_function),
6529 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6530 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6531 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6532 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6533 (gst_pad_set_acceptcaps_function),
6534 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6535 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6536 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6537 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6538 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6539 (gst_pad_configure_sink), (gst_pad_configure_src),
6540 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6541 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6542 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6543 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6544 (gst_pad_send_event):
6545 Use _DEBUG_OBJECT when it makes sense.
6546 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6547 Small cleanups and code reflows.
6548 Avoid caps refcounting in _accept_caps.
6549 Refactor alloc_buffer so that the code performed on the peer is in a
6550 separate function. Also if the pad does not implement a buffer alloc
6551 function, we should still check if the pad is flushing before falling
6552 back to the default allocator.
6554 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6556 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6557 Make all uses of identity and fakesink have silent=true to avoid
6558 serialising every passing data structure, which is breaking tests
6559 on FC4 for some unknown reason.
6561 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6563 * gst/parse/Makefile.am:
6564 * gst/parse/grammar.y:
6565 * gst/parse/parse.l:
6566 Reverted previous patch as it required to bump the flex dependency to
6567 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6569 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6571 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6573 * gst/parse/Makefile.am:
6574 * gst/parse/grammar.y:
6575 * gst/parse/parse.l:
6576 push & pop the state of the lexer for reentrant use case
6577 Fixes #349180
6579 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6581 * libs/gst/base/gstbasesrc.h:
6582 Note in the docs that the ::newsegment vfunc is not actually used by
6583 GstBaseSrc.
6585 2006-07-28 Wim Taymans <wim@fluendo.com>
6587 * libs/gst/base/gstcollectpads.c:
6588 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6589 (gst_collect_pads_clear), (gst_collect_pads_flush),
6590 (gst_collect_pads_event), (gst_collect_pads_chain):
6591 When flushing a pad, also clear the queued buffer so that we don't
6592 accidentally use it when we shouldn't.
6593 Fix leaks by inreffing incomming buffer.
6594 Flush out queued buffers in case of errors.
6595 Fixes #347452.
6597 2006-07-28 Wim Taymans <wim@fluendo.com>
6599 * docs/random/phonon-gst:
6600 Random notes about a Phonon backend.
6602 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6604 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6605 Extra debug output
6606 * tests/check/libs/gdp.c: (gst_dp_suite):
6607 Take a whack at fixing the ppc compile using a different define to
6608 disable the broken test.
6610 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6611 Remove excess g_print()
6613 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6615 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6616 Oops, meant to uncomment this line too to dampen the noise a bit.
6618 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6620 * gst/parse/grammar.y:
6621 * gst/parse/parse.l:
6622 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6623 (GST_START_TEST), (parse_suite):
6624 Fix some of the leaks exposed by extending the parse-launch testsuite,
6625 and move the 3 I can't figure out into a separate test that won't run
6626 the pipelines unless the appropriate line is uncommented.
6628 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6630 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6631 Requesting 0 bytes before the end of the file should result in
6632 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6633 unit test.
6635 2006-07-27 Wim Taymans <wim@fluendo.com>
6637 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6638 Fix useless assert, a uint is always positive.
6640 * gst/gststructure.c: (gst_structure_nth_field_name),
6641 (gst_structure_foreach), (gst_structure_map_in_place):
6642 Check input arguments for public functions to avoid obvious crashes.
6644 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6645 * plugins/elements/gstfakesink.h:
6646 Do less useless typechecking.
6648 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6650 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6651 Do not use mmap() by default since there are a number of error
6652 conditions that we would like to handle in a non-fatal way that
6653 will result in a SIGBUS if we use mmap(). Examples: external
6654 devices (USB harddrive, portable music player) being unplugged
6655 while in use; file on mounted CD/DVD that can't be read because
6656 the medium is partly damaged. Fixes #348455 and #348475.
6658 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6660 * gst/gstquery.h:
6661 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6662 rates are a gdouble
6664 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6666 * gst/gstregistry.c:
6667 Move big documentation comment into class section header, so that it
6668 appears in the API docs.
6670 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6672 * docs/gst/gstreamer-sections.txt:
6673 Oops. Commit the docs additions too for new API.
6674 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6676 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6678 * gst/gststructure.c: (gst_structure_id_set),
6679 (gst_structure_id_set_valist):
6680 * gst/gststructure.h:
6681 Add API for setting values into structures without performing
6682 a quark lookup, if the appropriate quark is already known.
6684 API: gst_structure_id_set
6685 API: gst_structure_id_set_valist
6687 * gst/parse/grammar.y:
6688 * gst/parse/parse.l:
6689 Remove some dead code shown by the coverage information.
6690 Don't throw a critical g_warning when encountering a syntax error,
6691 just warn and let the normal error path handle it.
6693 * plugins/elements/gstelements.c:
6694 Bump the rank of filesink up to PRIMARY so that it is preferred over
6695 gnomevfssink for file:// sink uri's
6697 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6698 (GST_START_TEST), (run_delayed_test),
6699 (gst_parse_test_element_base_init),
6700 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6701 (gst_parse_test_element_change_state),
6702 (gst_register_parse_element), (parse_suite):
6703 Beef up the tests for parse syntax to check that more error cases
6704 fail as they are supposed to. Increases the test coverage a bit.
6706 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6708 * docs/manual/basics-elements.xml:
6709 Fix gst_element_link() example.
6711 * gst/gstutils.c:
6712 Mention in API docs that one should usually gst_bin_add()
6713 elements to a bin or pipeline before doing the linking.
6715 2006-07-26 Wim Taymans <wim@fluendo.com>
6717 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6718 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6719 Avoid function call for known types by keeping the buffer and
6720 subbuffer GType global.
6722 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6723 Random silly optimisations in read() path.
6725 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6727 * tools/gst-launch.c: (main):
6728 If the top-level of the parse is a normal bin, it doesn't do the
6729 right logic to run as a top-level element, so place it inside a
6730 pipeline.
6732 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6734 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6735 Remove superfluous g_object_notify() calls, GObject does
6736 that for us automatically.
6738 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6740 * gst/gstinfo.h:
6741 on Win32, use dllspec to export the debug category symbols
6743 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6745 * gst/gsttaglist.c: (_gst_tag_initialize):
6746 Allow more than one GST_TAG_IMAGE per taglist.
6748 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6750 * gst/gstminiobject.c:
6751 update docs
6752 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6753 (gst_fd_src_create):
6754 log recurring events at LOG level
6755 add more debug for when the fd gets set
6757 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6759 * gst/gstparse.c: (gst_parse_launch):
6760 Also remove reentrance checks if flex is MT safe (#348179)
6761 Fix my empty ChangeLog entry below
6763 2006-07-21 Andy Wingo <wingo@pobox.com>
6765 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6767 * libs/gst/check/Makefile.am
6768 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6769 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6770 * libs/gst/check/gstbufferstraw.h:
6771 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6772 functions, thus proving I am still a GStreamer haxor. OK I wrote
6773 them a long time ago, but anyways.
6775 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6777 * configure.ac:
6778 * gst/gstparse.c: (gst_parse_launch):
6779 Check for flex version and omit mutex if we have a MT save flex
6780 (fixes #348179)
6782 2006-07-21 Wim Taymans <wim@fluendo.com>
6784 * gst/gstparse.c: (gst_parse_launch):
6785 Protect recursive calls to _parse with a recursive mutex
6786 and busy flag.
6788 2006-07-21 Wim Taymans <wim@fluendo.com>
6790 * tests/check/gst/gstpad.c: (GST_START_TEST):
6791 Fix leak in test.
6793 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6795 * gst/gstparse.c: (gst_parse_launch):
6796 Do not hang on recursive usage of gst_parse_launch()
6798 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6800 * gst/gsttaglist.c:
6801 Add some more docs, comments and FIXME 0.11s here and there
6802 and also fix some typos.
6804 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6806 * gst/gstsegment.h:
6807 Convert tabs to spaces for better readability.
6809 2006-07-20 Edward Hervey <edward@fluendo.com>
6811 * tests/check/libs/gdp.c: (gst_dp_suite):
6812 the test_buffer test fails at line 140 on ppc64 at the following
6813 check:
6814 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6815 GST_BUFFER_FLAG_IN_CAPS),
6816 "GST_BUFFER_IN_CAPS flag should have been copied !");
6817 See bug #348114 for more details.
6819 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6821 * docs/pwg/advanced-scheduling.xml:
6822 * gst/gstpad.c:
6823 Fix typos (#348000).
6825 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6827 * docs/pwg/intro-basics.xml:
6828 Fix wrong links (#347927).
6830 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6832 * gst/gstregistry.h:
6833 * gst/gstregistryxml.c: (load_feature),
6834 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6835 * win32/common/config.h:
6836 make --disable-index work (#342564)
6838 2006-07-18 Wim Taymans <wim@fluendo.com>
6840 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6842 * gst/Makefile.am:
6843 * gst/gsttrace.h:
6844 The attached patch adds two missing defines to gsttrace.h when tracing
6845 is disabled. It also corrects one existing define.
6846 Fixes #347756.
6848 2006-07-17 Wim Taymans <wim@fluendo.com>
6850 * docs/gst/gstreamer-sections.txt:
6851 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6852 * gst/gst.h:
6853 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6854 Add two functions to check and change the SIGSEGV behaviour
6855 when loading plugins.
6856 Don't mess with the SIGSEGV handler when we were told not to.
6857 Fixes #347794.
6858 API: gst_segtrap_is_enabled
6859 API: gst_segtrap_set_enabled
6861 2006-07-14 Wim Taymans <wim@fluendo.com>
6863 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6864 * tests/check/elements/filesrc.c: (GST_START_TEST):
6865 Revert fix for regression in #347408 after release.
6867 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6869 Patch by: Antoine Tremblay <hexa00 at gmail com>
6871 * gst/gstutils.c: (gst_element_unlink):
6872 Free iterator when done (#347311).
6874 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6875 And add a test case for this.
6877 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6879 * configure.ac:
6880 Bump nano back to CVS
6882 === release 0.10.9 ===
6884 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6886 * configure.ac:
6887 releasing 0.10.9, "On the road again"
6889 2006-07-13 Wim Taymans <wim@fluendo.com>
6891 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6892 * tests/check/elements/filesrc.c: (GST_START_TEST):
6893 Revert pull-0 fix for release. Disable check. Fixes #347408.
6895 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6897 * libs/gst/dataprotocol/dataprotocol.c:
6898 (gst_dp_event_from_packet_1_0):
6899 Fixes #347337: failure to deserialize event packets with
6900 empty payload (only event type)
6902 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6904 * gst/Makefile.am:
6905 do not install a .c file in the header directory
6907 2006-07-13 Edward Hervey <edward@fluendo.com>
6909 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6910 GhostPad no longer implicitely use the padtemplates of the targets.
6911 Fixes #347384
6913 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6915 * gst/gstvalue.c: (gst_value_compare_list),
6916 (gst_value_compare_array), (_gst_value_initialize):
6917 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6918 Make GstValueArray comparison be order dependent as designed.
6919 Add checks for value lists and value array comparisons.
6920 Fixes #347221
6922 2006-07-11 Edward Hervey <edward@fluendo.com>
6924 * gst/gstbin.c: (activate_pads),
6925 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6926 (gst_bin_change_state_func):
6927 (de)activate src pads before calling state_change on the childs.
6928 This is to avoid the case where a src ghostpad is blocked (holding the
6929 stream lock), which would block the deactivation of the ghostpad's
6930 target pad.
6931 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6932 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6933 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6934 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6935 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6936 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6937 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6938 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6939 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6940 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6941 (gst_ghost_pad_class_init),
6942 (gst_ghost_pad_internal_do_activate_push),
6943 (gst_ghost_pad_internal_do_activate_pull),
6944 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6945 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6946 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6947 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6948 GhostPads now create their internal GstProxyPad at creation (and not
6949 when they're linked, as it was being done previously).
6950 The internal and target pads are linked straight away.
6951 The data will also travel through the other pad in order to make
6952 pad blocking and probes non-hackish (the probe/block now really happens
6953 on the GhostPad and not on the target).
6954 * gst/gstpad.c: (gst_pad_set_blocked_async),
6955 (gst_pad_link_prepare), (gst_pad_push_event):
6956 Remove previous ghostpad cruft.
6957 * gst/gstutils.c: (gst_pad_add_data_probe),
6958 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6959 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6960 (gst_pad_remove_buffer_probe):
6961 Remove previous ghost pad cruft.
6962 Added more detailed debug statements.
6963 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6964 Fix the testsuite for refcounting changes.
6965 The comments about who has references were correct, but the refcount
6966 being checked wasn't the same (!?!).
6968 Fixes #341029
6970 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6972 * docs/gst/gstreamer-sections.txt:
6973 * gst/gstconfig.h.in:
6974 More docs for configuration options, add docs to gtk-doc.
6976 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6978 * gst/Makefile.am:
6979 * gst/gstconfig.h.in:
6980 * win32/common/config.h:
6981 Fix build when disabling tracing (fixes #344016). Also start to document
6982 the defines that disable the sub-systems.
6984 2006-07-10 Edward Hervey <edward@fluendo.com>
6986 * gst/gst.c: (ensure_current_registry_forking):
6987 let's make valgrind happy...
6989 2006-07-09 Wim Taymans <wim@fluendo.com>
6991 * gst/gstelement.c: (activate_pads),
6992 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6993 Better pad activation code: Reset the collect value too on resync.
6994 Add some comments.
6996 2006-07-09 Wim Taymans <wim@fluendo.com>
6998 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6999 (gst_pad_activate_push):
7000 Use some more macros where it makes sense.
7001 Allow pad mode switching instead of asserting. When a pad
7002 is activated in one mode and we activate it in another,
7003 deactivate it first before activating it in a different mode.
7004 Fixes #329198.
7006 2006-07-08 Andy Wingo <wingo@pobox.com>
7008 * tools/gst-launch.c (main): Handle err == NULL.
7010 * gst/gst.c (init_post, ensure_current_registry)
7011 (ensure_current_registry_forking)
7012 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7013 factoring out the registry scanning into separate functions. Don't
7014 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7015 Better environment var name/interface suggestions accepted.
7017 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7019 * gst/gstobject.c: (gst_object_set_name_default),
7020 (gst_object_set_name):
7021 Random micro-optimisation: don't use a hash table
7022 with strings as keys and the usual strdup/strcmp
7023 involved, but rather just use the GQuark of the
7024 type name as key, since it needs to be looked up
7025 anyway to get the type name string.
7027 * tests/check/gst/gstobject.c: (GST_START_TEST):
7028 Fix various leaks.
7030 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7032 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7033 (gst_bin_iterate_all_by_interface):
7034 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7035 GTypes are gulongs and thus the top 4 bytes might be cut
7036 off on some platforms when doing GPOINTER_TO_INT, leading
7037 to invalid GTypes and bad things happening (see RH bug #179654).
7038 Also add a check to make sure the type passed in is really
7039 an interface type.
7041 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7043 * .cvsignore:
7044 Ignore more.
7046 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7048 * Makefile.am:
7049 * configure.ac:
7050 * gst-element-check.m4:
7051 * gst-element-check.m4.in:
7052 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7053 instead of the unversioned gst-inspect (#324176, #168659).
7055 2006-07-06 Wim Taymans <wim@fluendo.com>
7057 * gst/gstmessage.h:
7058 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7059 warnings.
7061 2006-07-06 Wim Taymans <wim@fluendo.com>
7063 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7064 (gst_base_src_wait), (gst_base_src_update_length),
7065 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7066 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7067 (gst_base_src_loop), (gst_base_src_start),
7068 (gst_base_src_activate_pull):
7069 Update docs.
7070 blocksize == 0 now means the default blocksize when working in push
7071 based mode.
7072 Remove some pointless asserts in _wait function.
7073 Fix offset/length calculations and EOS handling. We can now pull 0
7074 bytes as well, which is allowed.
7075 use _check_get_range() to decide if we can operate in _pull based
7076 mode.
7077 Fix refcounting leak when check_get_range function was not
7078 implemented.
7079 API GstBaseSrc::blocksize range can be 0 too now (default)
7081 * tests/check/elements/filesrc.c: (GST_START_TEST),
7082 (filesrc_suite):
7083 Added check to test _get_range() behaviour.
7085 2006-07-06 Wim Taymans <wim@fluendo.com>
7087 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7088 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7089 (gst_pad_pull_range):
7090 * gst/gstpad.h:
7091 Lots of comments and docs added to the pad functions.
7092 Flesh out the expected behaviour of the get_range() functions.
7094 2006-07-06 Wim Taymans <wim@fluendo.com>
7096 * gst/gstbus.h:
7097 * gst/gstclock.h:
7098 * gst/gstevent.h:
7099 * gst/gstiterator.h:
7100 * gst/gstpad.h:
7101 * gst/gstplugin.h:
7102 * gst/gsttask.h:
7103 Remove comma at end of enumerator list.
7105 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7107 * win32/common/libgstbase.def:
7108 * win32/common/libgstdataprotocol.def:
7109 * win32/common/libsgtreamer.def:
7110 Add new exported functions.
7112 2006-07-05 Wim Taymans <wim@fluendo.com>
7114 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7115 Add some more docs here and there.
7117 2006-07-05 Wim Taymans <wim@fluendo.com>
7119 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7120 (gst_base_sink_loop), (gst_base_sink_get_position):
7121 When operating in pull mode update the offset so that we
7122 read sequentially.
7124 2006-07-05 Wim Taymans <wim@fluendo.com>
7126 * gst/gstregistryxml.c: (read_string):
7127 Avoid strdup. (will happen in libxml, but hey!)
7129 * gst/gsturi.c:
7130 Add some more docs.
7132 2006-07-05 Wim Taymans <wim@fluendo.com>
7134 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7135 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7136 (gst_buffer_suite):
7137 No point in checking if the size of the subbuffer > 0, the
7138 code handles it correclty as demonstrated by unit test.
7139 Also add a unit test for the zero sized _new_and_alloc and
7140 _copy. Fixes #346663.
7142 2006-07-05 Wim Taymans <wim@fluendo.com>
7144 * libs/gst/base/gstbasetransform.c:
7145 (gst_base_transform_prepare_output_buffer),
7146 (gst_base_transform_buffer_alloc),
7147 (gst_base_transform_handle_buffer):
7148 Make sure the buffer we pass to transform_ip has a refcount of
7149 1 and thus is writable. Fixes #343196
7151 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7153 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7154 (gst_file_src_init), (gst_file_src_set_property),
7155 (gst_file_src_get_property), (gst_file_src_map_region):
7156 * plugins/elements/gstfilesrc.h:
7157 Add "sequential" property, off by default, to use madvise and hint
7158 to the kernel that sequential access is desired.
7159 Touch all retrieved pages by default to ensure they are pulled
7160 into memory. (Closes #345720)
7162 2006-07-03 Wim Taymans <wim@fluendo.com>
7164 * docs/design/part-block.txt:
7165 * docs/design/part-dynamic.txt:
7166 Small docs updates.
7168 2006-07-03 Wim Taymans <wim@fluendo.com>
7170 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7171 (gst_caps_unref), (gst_static_caps_get),
7172 (gst_caps_append_structure):
7173 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7174 Use GSlice when the glib we build against is >= 2.10
7176 2006-07-03 Wim Taymans <wim@fluendo.com>
7178 * gst/gstelement.c: (gst_element_pads_activate):
7179 Small cleanup in pad activation code.
7181 2006-07-03 Wim Taymans <wim@fluendo.com>
7183 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7185 * gst/gst-i18n-app.h:
7186 * gst/gst-i18n-lib.h:
7187 * tools/gst-inspect.c: (print_signal_info):
7188 The attached patch will make the inclusion of gettext.h unconditional in
7189 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7190 libintl.h in tools/gst-inspect.c.
7191 This allows use of --disable-nls again and fixes #344642.
7193 2006-07-03 Edward Hervey <edward@fluendo.com>
7195 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7196 Implement pad blocking on events according to part-block.txt.
7197 More comments on behaviour.
7198 * tests/check/gst/gstevent.c: (test_event):
7199 Send event to peer pad of blocked pad (else it will block).
7201 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7203 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7204 (gst_check_run_suite):
7205 if we get the wrong message, give us the types as string
7206 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7207 Fix a translatable
7208 * tests/check/elements/filesrc.c: (GST_START_TEST):
7209 add a test for trying to open a non-existing file
7211 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7213 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7214 add a test for adding self
7216 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7218 * libs/gst/check/gstcheck.h:
7219 add some assert_ as alias for fail_unless_*
7220 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7221 increase test coverage
7223 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7225 * Makefile.am:
7226 include lcov.mak for lcov coverage generation
7227 * tools/Makefile.am:
7228 add to CLEANFILES
7230 2006-07-02 Edward Hervey <edward@fluendo.com>
7232 * tests/check/elements/.cvsignore:
7233 moaping
7235 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7237 * configure.ac:
7238 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7239 * tests/check/Makefile.am:
7240 clean up gcov files
7242 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7244 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7245 remove gst_caps_simplify; it was not declared and not used
7246 and deprecated in 0.8
7248 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7250 * docs/faq/gst-uninstalled:
7251 don't put empty paths on PYTHONPATH
7252 * docs/gst/gstreamer-sections.txt:
7253 remove some symbols that are not there
7255 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7257 * gst/gstcaps.c: (gst_caps_compare_structures):
7258 whitespace fixes
7259 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7260 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7261 add more tests
7263 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7265 * libs/gst/dataprotocol/Makefile.am:
7266 build dataprotocol test by linking to the lib, instead of
7267 compiling the source, so we get coverage
7268 * tests/check/Makefile.am:
7269 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7270 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7271 add a test for filesrc
7273 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7275 * tests/check/gst/gststructure.c: (GST_START_TEST),
7276 (gst_structure_suite):
7277 Push coverage from 59.04% to 70.00%
7279 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7281 * tests/check/Makefile.am:
7282 gst-inspect every element; this makes sure that we also get
7283 coverage on element's get/set functions
7285 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7287 * configure.ac:
7288 set CFLAGS and friends to -O0 if gcov is being used
7289 add GCOV LIBS
7290 * gst/Makefile.am:
7291 * libs/gst/base/Makefile.am:
7292 * libs/gst/check/Makefile.am:
7293 * libs/gst/controller/Makefile.am:
7294 * libs/gst/dataprotocol/Makefile.am:
7295 * libs/gst/net/Makefile.am:
7296 * plugins/elements/Makefile.am:
7297 * plugins/indexers/Makefile.am:
7298 add makefile rules to generate gcov data and clean up
7299 * tests/check/Makefile.am:
7300 add a coverage target that generates an html overview
7301 of coverage data
7303 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7305 * tests/check/elements/fakesink.c:
7306 * tests/check/elements/fakesrc.c:
7307 * tests/check/elements/fdsrc.c:
7308 * tests/check/elements/identity.c:
7309 * tests/check/generic/sinks.c: (gst_sinks_suite):
7310 * tests/check/generic/states.c:
7311 * tests/check/gst/gst.c:
7312 * tests/check/gst/gstabi.c:
7313 * tests/check/gst/gstbin.c:
7314 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7315 * tests/check/gst/gstbus.c: (gst_bus_suite):
7316 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7317 * tests/check/gst/gstelement.c:
7318 * tests/check/gst/gstevent.c: (gst_event_suite):
7319 * tests/check/gst/gstghostpad.c:
7320 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7321 * tests/check/gst/gstmessage.c: (gst_message_suite):
7322 * tests/check/gst/gstminiobject.c:
7323 * tests/check/gst/gstobject.c:
7324 * tests/check/gst/gstpad.c:
7325 * tests/check/gst/gstpipeline.c:
7326 * tests/check/gst/gstplugin.c:
7327 * tests/check/gst/gstquery.c: (gst_query_suite):
7328 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7329 * tests/check/gst/gststructure.c:
7330 * tests/check/gst/gstsystemclock.c:
7331 * tests/check/gst/gsttag.c:
7332 * tests/check/gst/gsttask.c: (gst_task_suite):
7333 * tests/check/gst/gstutils.c:
7334 * tests/check/gst/gstvalue.c:
7335 * tests/check/libs/adapter.c:
7336 * tests/check/libs/basesrc.c:
7337 * tests/check/libs/collectpads.c:
7338 * tests/check/libs/controller.c:
7339 * tests/check/libs/gdp.c: (gst_dp_suite):
7340 * tests/check/libs/gstnetclientclock.c:
7341 * tests/check/libs/gstnettimeprovider.c:
7342 * tests/check/libs/libsabi.c: (libsabi_suite):
7343 * tests/check/libs/typefindhelper.c:
7344 * tests/check/pipelines/cleanup.c:
7345 * tests/check/pipelines/parse-launch.c:
7346 * tests/check/pipelines/simple-launch-lines.c:
7347 * tests/check/pipelines/stress.c: (stress_suite):
7348 use the new macro
7350 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7352 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7353 * libs/gst/check/gstcheck.h:
7354 create a macro and function so that the simple unit test
7355 case can be just one macro to create main()
7357 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7359 * gst/gstbin.c: (gst_bin_restore_thyself):
7360 * gst/gstxml.c: (gst_xml_make_element):
7361 Fix deserialisation from XML. Set parent manually
7362 instead of using gst_bin_add(), since gst_bin_add()
7363 will unlink all pads of the element being added.
7364 Fixes #341667.
7366 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7368 Patch by: Peter Kjellerstedt <pkj at axis com>
7370 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7371 Fix missing g_strdup() and double free when using the
7372 --gst-plugin-load command line option (#346097).
7374 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7376 * gst/gstinfo.c:
7377 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7379 * libs/gst/net/gstnetclientclock.c:
7380 * libs/gst/net/gstnettimeprovider.c:
7381 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7383 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7385 * docs/manual/advanced-dataaccess.xml:
7386 Fix buffer probe example compilation in
7387 ADM (#345708).
7389 2006-06-22 Edward Hervey <edward@fluendo.com>
7391 * gst/gstelement.c: (gst_element_pads_activate):
7392 We need to deactivate src pads first and then sink pads.
7393 The reason is the src pads might be blocking while holding the streaming
7394 lock, so we need to deactivate them first so that deactivating the sink
7395 pads doesn't block (since it will require the streaming lock).
7397 2006-06-22 Wim Taymans <wim@fluendo.com>
7399 * libs/gst/base/gstbasetransform.c:
7400 (gst_base_transform_buffer_alloc):
7401 Forgot to remove two unneeded unrefs.
7402 Simplify a check _is_equal allready checks the obvious case.
7404 2006-06-22 Wim Taymans <wim@fluendo.com>
7406 * docs/design/part-block.txt:
7407 Some docs about what pad_block should do.
7409 2006-06-22 Wim Taymans <wim@fluendo.com>
7411 * gst/gstcaps.c: (gst_caps_replace):
7412 Fix crasher when passed NULL. Doc clarification.
7413 Optimize for the trivial case.
7415 * gst/gstpipeline.c: (gst_pipeline_change_state):
7416 Small cleanups.
7418 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7419 Small documentation cleanup.
7421 * libs/gst/base/gstbasetransform.c:
7422 (gst_base_transform_buffer_alloc):
7423 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7424 is what we need and it avoids a whole lot of redundant
7425 refcount operations.
7427 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7429 Patch by: Philip Jägenstedt <philip at lysator liu se>
7431 * docs/manual/advanced-dataaccess.xml:
7432 Fix 'Embedding static elements' section to use
7433 GST_PLUGIN_DEFINE_STATIC (#345607).
7435 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7437 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7438 Attempt to 'fix' spuriously failing test case: it seems like the
7439 timeout of half a second is simply too small when the system is under
7440 load otherwise, and the timeout doesn't really seem to serve any
7441 particular purpose here. Give the pipeline a few seconds to preroll
7442 first, and then give it another half a second to go from PAUSED to
7443 PLAYING and marshal the message into the main thread.
7445 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7447 * tools/gst-feedback-m.m:
7448 Don't only use unversioned tools, try versioned tools as well
7449 (#345086).
7451 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7453 * gst/gstbus.c: (gst_bus_class_init):
7454 Fix some typos, make docs more explicit.
7456 2006-06-20 Wim Taymans <wim@fluendo.com>
7458 * tests/check/gst/gstghostpad.c: (block_callback),
7459 (GST_START_TEST), (gst_ghost_pad_suite):
7460 Added some more ghostpad tests, mainly blocking
7461 and probes.
7463 2006-06-16 Wim Taymans <wim@fluendo.com>
7465 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7466 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7467 (gst_file_sink_event), (gst_file_sink_render):
7468 * plugins/elements/gstfilesink.h:
7469 Check if we can seek in the file instead of assuming
7470 we always can. Post an error when we are asked to seek in a
7471 non-seekable file (like a fifo). Fixes #343312.
7472 Some cleanups.
7474 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7476 * tools/gst-launch.1.in:
7477 Un-garble (fourcc) bit in filtered caps section.
7479 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7481 * docs/manual/advanced-autoplugging.xml:
7482 * docs/manual/basics-helloworld.xml:
7483 * docs/manual/highlevel-components.xml:
7484 Don't leak bus reference in sample code.
7486 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7488 * autogen.sh:
7489 Add default for new --enable-plugin-docs switch.
7491 * configure.ac:
7492 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7493 Fixes #344039.
7495 * docs/Makefile.am:
7496 Use new ENABLE_PLUGIN_DOCS conditional.
7498 2006-06-14 Wim Taymans <wim@fluendo.com>
7500 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7501 Make it clear with a FIXME and a real define what the #if 0
7502 previously disabled.
7504 2006-06-14 Wim Taymans <wim@fluendo.com>
7506 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7507 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7508 * libs/gst/base/gstbasetransform.c:
7509 (gst_base_transform_sink_eventfunc):
7510 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7511 Don't randomly and silently reset a segment when the format
7512 changes as this is a bug somewhere upstream. Fixes #330379.
7514 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7516 Patch by: Wouter Paesen <wouter at kangaroot net>
7518 * libs/gst/controller/gstcontroller.c:
7519 (gst_controlled_property_new):
7520 Fix controlling of float properties (#344849).
7522 * tests/check/libs/controller.c:
7523 (gst_test_mono_source_get_property),
7524 (gst_test_mono_source_set_property),
7525 (gst_test_mono_source_class_init), (GST_START_TEST):
7526 While we're at it, add some float stuff to unit test.
7528 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7530 * docs/README:
7531 * docs/images/gdp-header.svg:
7532 add a gdp image
7533 * docs/libs/Makefile.am:
7534 * docs/libs/gdp-header.png:
7535 * libs/gst/dataprotocol/dataprotocol.c:
7536 add it to the API docs
7537 * docs/manual/intro-motivation.xml:
7538 fix typo
7540 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7542 * gst/gst.c: (scan_and_update_registry), (init_post):
7543 If the fork()'ed child process can't write the updated registry cache
7544 file to disk for some reason, make it exit with a failure exit code,
7545 so that the parent can then re-scan the plugins itself and update the
7546 registry structures in memory and work with that (rather than failing
7547 when creating elements because seemingly no plugins are available).
7548 Refactor registry scanning code into separate function for this and
7549 also separate fork() and non-fork() code paths. Fixes #344748.
7551 2006-06-13 Wim Taymans <wim@fluendo.com>
7553 * docs/manual/advanced-dataaccess.xml:
7554 Fix wrong PluginDesc. Fixes #344755.
7556 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7558 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7559 Fix silly bug that prevented us from creating
7560 ~/.gstreamer-0.10 and writing the registry in one
7561 go (the first call to g_mkstemp() would overwrite the
7562 placeholder in the template string, so the second call
7563 to g_mkstemp() after creating the missing directory
7564 would then error out with 'invalid argument').
7566 2006-06-13 Edward Hervey <edward@fluendo.com>
7568 * gst/gst.c: (init_post):
7569 Free string.
7571 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7573 * gst/glib-compat-private.h:
7574 * gst/glib-compat.c:
7575 * gst/glib-compat.h:
7576 * gst/gstvalue.c: (gst_value_serialize_flags):
7577 remove GLib 2.6 compatibility code
7579 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7581 * gst/parse/Makefile.am:
7582 Fix build with 'make -j N' even more (#340016).
7584 2006-06-12 Wim Taymans <wim@fluendo.com>
7586 * docs/gst/gstreamer-sections.txt:
7587 Fix docs.
7589 2006-06-12 Wim Taymans <wim@fluendo.com>
7591 * gst/gstsegment.c: (gst_segment_set_duration),
7592 (gst_segment_set_last_stop), (gst_segment_set_seek),
7593 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7594 (gst_segment_to_running_time), (gst_segment_clip):
7595 Use G_UNLIKELY to help the compiler a bit.
7597 2006-06-12 Wim Taymans <wim@fluendo.com>
7599 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7601 * gst/gstevent.c: (gst_event_get_type):
7602 * gst/gstmessage.c:
7603 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7604 (gst_pad_push):
7605 constify quark registration strings. Fixes #344115
7606 Avoid unneeded type checking is _pad_push() by internally
7607 calling gst_pad_chain_unchecked().
7609 2006-06-12 Wim Taymans <wim@fluendo.com>
7611 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7612 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7613 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7614 (gst_buffer_is_span_fast), (gst_buffer_span):
7615 Init _type for consistency.
7616 Use _FLAGS macro to avoid type check.
7617 Avoid unneeded type checks in subbufer code.
7619 2006-06-12 Wim Taymans <wim@fluendo.com>
7621 * gst/gst.c: (gst_debug_help):
7622 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7623 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7624 (gst_plugin_feature_list_free):
7625 * gst/gstregistry.c: (gst_registry_add_plugin),
7626 (gst_registry_add_feature), (gst_registry_plugin_filter),
7627 (gst_registry_feature_filter), (gst_registry_find_plugin),
7628 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7629 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7630 * gst/gstregistryxml.c: (load_feature),
7631 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7632 * gst/gstminiobject.c: (gst_mini_object_unref),
7633 (gst_mini_object_replace), (gst_value_mini_object_free),
7634 (gst_value_mini_object_copy):
7635 Use _CAST macros to avoid unneeded type checking.
7636 Added some more G_UNLIKELY.
7638 2006-06-12 Wim Taymans <wim@fluendo.com>
7640 * gst/gstbuffer.h:
7641 Avoid unneeded type checking.
7642 API: GST_BUFFER_IS_DISCONT
7644 * gst/gstminiobject.h:
7645 Avoid type check in flag accessor.
7647 * gst/gstelementfactory.h:
7648 * gst/gstplugin.h:
7649 * gst/gstpluginfeature.h:
7650 Add _CAST macros.
7651 API: GST_ELEMENT_FACTORY_CAST
7652 API: GST_PLUGIN_CAST
7653 API: GST_PLUGIN_FEATURE_CAST
7655 2006-06-12 Wim Taymans <wim@fluendo.com>
7657 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7658 (gst_object_unref):
7659 Add G_UNLIKELY in type registration.
7660 Avoid type check in _ref/_unref since that is also
7661 done in glib.
7663 2006-06-12 Wim Taymans <wim@fluendo.com>
7665 * gst/gsterror.c: (gst_g_error_get_type):
7666 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7667 (gst_static_pad_template_get_type):
7668 * gst/gsttaglist.c: (gst_tag_list_get_type):
7669 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7670 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7671 * gst/gsturi.c: (gst_uri_handler_get_type):
7672 * gst/gstvalue.c: (gst_date_get_type):
7673 * gst/gstxml.c: (gst_xml_get_type):
7674 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7675 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7676 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7677 Add G_UNLIKELY in type registration.
7679 2006-06-12 Wim Taymans <wim@fluendo.com>
7681 * tools/gst-inspect.c: (print_signal_info):
7682 Properly print enum values.
7684 2006-06-12 Wim Taymans <wim@fluendo.com>
7686 * gst/gstinfo.c: (gst_debug_set_active),
7687 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7688 * gst/gstinfo.h:
7689 Add some G_[UN]LIKELY.
7690 Maintain __gst_debug_min to avoid formatting the arguments of
7691 debug messages that will be dropped anyway to avoid a lot of
7692 overhead from the debugging system.
7694 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7696 * po/POTFILES.in:
7697 * po/POTFILES.skip:
7698 add missing files containing translatable strings, tell intltool about
7699 one exception
7701 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7703 * tests/check/libs/.cvsignore:
7704 add test-binary to ignore list
7706 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7708 * docs/libs/gstreamer-libs-docs.sgml:
7709 reorder (put dp into a chapter) and indent
7711 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7713 * configure.ac:
7714 back to HEAD
7716 === release 0.10.8 ===
7718 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7720 * configure.ac:
7721 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7723 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7725 * gst/gst.c: (init_post):
7726 move pid declaration to declaration block
7728 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7730 * gst/gst.c: (init_post):
7731 use _exit() instead of exit() in our forked child; this ensures
7732 that none of the registered exit handlers from whatever is using
7733 GStreamer get executed. This fixes gnome-mixer-applet failing
7734 to load, because ORBit would shut down.
7735 Spotted by: Edward Hervey <edward@fluendo.com>
7736 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7737 Fixes #344474
7739 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7741 * configure.ac:
7742 back to TRUNK
7744 === release 0.10.7 ===
7746 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7748 * configure.ac:
7749 releasing 0.10.7, "Soepeke, ik zie ou"
7751 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7753 * configure.ac:
7754 * po/af.po:
7755 * po/az.po:
7756 * po/bg.po:
7757 * po/ca.po:
7758 * po/cs.po:
7759 * po/de.po:
7760 * po/en_GB.po:
7761 * po/fr.po:
7762 * po/it.po:
7763 * po/nb.po:
7764 * po/nl.po:
7765 * po/ru.po:
7766 * po/sq.po:
7767 * po/sr.po:
7768 * po/sv.po:
7769 * po/tr.po:
7770 * po/uk.po:
7771 * po/vi.po:
7772 * po/zh_CN.po:
7773 * po/zh_TW.po:
7774 * win32/common/config.h:
7775 0.10.6.2 prerelease
7777 2006-06-07 Wim Taymans <wim@fluendo.com>
7779 * gst/gstindex.c: (gst_index_gtype_resolver):
7780 * tools/gst-xmlinspect.c: (print_plugin_info):
7781 Fix leak spotted by coverity checker. Fixes #343827
7782 Fix another other leak found by paolo borelli.
7784 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7786 * libs/gst/dataprotocol/dataprotocol.c:
7787 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7788 (gst_dp_version_get_type), (gst_dp_init),
7789 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7790 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7791 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7792 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7793 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7794 (gst_dp_packetizer_free):
7795 * libs/gst/dataprotocol/dataprotocol.h:
7796 API: add a GstDPPacketizer object, and create/free functions
7797 API: add GstDPVersion enum
7798 Add 1.0 event function that uses the string serialization
7799 Serialize more useful buffer flags
7800 Fixes #343988
7802 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7804 * tests/check/Makefile.am:
7805 * tests/check/gst/gstabi.c:
7806 * tests/check/gst/struct_ppc64.h:
7807 * tests/check/libs/libsabi.c:
7808 * tests/check/libs/struct_ppc64.h:
7809 add ppc64 structure sizes
7811 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7813 * tests/check/Makefile.am:
7814 * tests/check/gst/gstabi.c:
7815 * tests/check/gst/struct_x86_64.h:
7816 * tests/check/libs/libsabi.c:
7817 * tests/check/libs/struct_x86_64.h:
7818 generate and add structure size lists for x86_64
7820 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7823 * libs/gst/check/gstcheck.h:
7824 factor out the method from tests that checks size of structures,
7825 and add code to generate the header containing these sizes
7826 * tests/check/gst/gstabi.c: (GST_START_TEST):
7827 * tests/check/gst/struct_i386.h:
7828 * tests/check/libs/libsabi.c: (GST_START_TEST):
7829 * tests/check/libs/struct_i386.h:
7830 use it
7832 2006-06-06 Michael Smith <msmith@fluendo.com>
7834 * gst/gstsegment.h:
7835 Don't use c++-style comments, fixes #343929
7837 2006-06-05 Edward Hervey <edward@fluendo.com>
7839 * gst/gst.c:
7840 plugin_paths is not used if we build without registry support.
7842 * gst/gstsegment.c: (gst_segment_copy):
7843 _copy() was always returning NULL...
7845 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7847 * libs/gst/dataprotocol/dataprotocol.c:
7848 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7849 (gst_dp_packet_from_event):
7850 factor out CRC code
7852 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7854 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7855 make sure we unset caps
7857 2006-06-02 Michael Smith <msmith@fluendo.com>
7859 * libs/gst/check/gstcheck.c: (gst_check_init),
7860 (gst_check_chain_func):
7861 * libs/gst/check/gstcheck.h:
7862 Add a cond/mutex to the check support lib, signal this whenever we
7863 add to the buffers list. This will allow tests to not busy-wait on
7864 the buffer-list.
7866 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7868 * libs/gst/dataprotocol/dataprotocol.c:
7869 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7870 (gst_dp_packet_from_event):
7871 factor out some common header init code
7873 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7875 * docs/libs/gstreamer-libs-sections.txt:
7876 * docs/libs/tmpl/gstdataprotocol.sgml:
7877 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7878 * libs/gst/dataprotocol/dataprotocol.h:
7879 API: make gst_dp_crc() public
7881 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7883 * plugins/indexers/gstindexers.c: (plugin_init):
7884 conditionally register fileindexer (fixes #343598)
7886 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7888 * gst/gsttagsetter.h:
7889 Can't cast ifaces to a class
7891 * libs/gst/net/gstnetclientclock.h:
7892 * libs/gst/net/gstnettimeprovider.h:
7893 * plugins/elements/gstfakesink.h:
7894 * plugins/elements/gstfakesrc.h:
7895 * plugins/elements/gstfdsink.h:
7896 * plugins/elements/gstfdsrc.h:
7897 * plugins/elements/gstfilesink.h:
7898 * plugins/elements/gstfilesrc.h:
7899 * plugins/elements/gstidentity.h:
7900 * plugins/elements/gstqueue.h:
7901 * plugins/elements/gsttee.h:
7902 * plugins/indexers/gstfileindex.c:
7903 * plugins/indexers/gstmemindex.c:
7904 * tests/old/examples/plugins/example.h:
7905 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7907 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7909 * libs/gst/dataprotocol/dataprotocol.c:
7910 (gst_dp_header_from_buffer):
7911 make sure we zero the whole ABI-compatible area
7913 2006-06-01 Wim Taymans <wim@fluendo.com>
7915 Patch by: Alessandro Decina <alessandro at nnva dot org>
7917 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7918 Make sure the EOS flag is cleared from pads after a flush
7919 or stop. Fixes #343538.
7921 * tests/check/libs/collectpads.c: (GST_START_TEST),
7922 (gst_collect_pads_suite):
7923 Added test for collectpads reusage after EOS.
7925 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7927 * gst/gst.c:
7928 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7929 * win32/common/libgstbase.def:
7930 export gst_collect_pads_set_flushing
7931 * win32/common/libgstreamer.def:
7932 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7933 gst_value_fraction_multiply
7934 * win32/vs6/gst_inspect.dsp:
7935 add a link to intl.lib
7937 2006-05-30 Wim Taymans <wim@fluendo.com>
7939 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7940 (gst_collect_pads_chain):
7941 Handle the case where a pad is removed from the collection
7942 that could cause the other pads to become collectable.
7944 2006-05-30 Wim Taymans <wim@fluendo.com>
7946 * gst/gstelement.c:
7947 Clarify the use of _release_request_pad() and
7948 _get_request_pad() a bit better.
7950 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7951 (gst_adapter_take_buffer):
7952 Fix some doc and comment typos.
7954 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7956 * docs/gst/gstreamer-sections.txt:
7957 * docs/libs/gstreamer-libs-sections.txt:
7958 add declared symbols
7960 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7962 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7963 Add debug that can be enabled using a #define at the top of the file,
7964 for dumping stats about how late/early we were when waking up from
7965 waiting on the clock.
7967 2006-05-30 Wim Taymans <wim@fluendo.com>
7969 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7970 When rebuilding the pad list, don't leak the previous list.
7972 2006-05-30 Wim Taymans <wim@fluendo.com>
7974 Patch by: Lutz Mueller <lutz at topfrose dot de>
7976 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7977 (gst_base_src_get_query_types), (gst_base_src_update_length):
7978 Publish supported query types.
7979 Update last_stop field in get_range mode so the position
7980 query works. Fixes #342321.
7982 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7984 * docs/gst/gstreamer-sections.txt:
7985 * gst/gsttaglist.c: (_gst_tag_initialize):
7986 * gst/gsttaglist.h:
7987 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7989 2006-05-30 Wim Taymans <wim@fluendo.com>
7991 Patch by: Alessandro Decina <alessandro at nnva dot org>
7993 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7994 Unlock mutex when removing an unknown pad.
7995 Fixes #343334.
7997 * tests/check/Makefile.am:
7998 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7999 (push_event), (setup), (teardown), (GST_START_TEST),
8000 (gst_collect_pads_suite), (main):
8001 Added collecpads check, disabled for now as check crashes for
8002 some reason.
8004 2006-05-29 Wim Taymans <wim@fluendo.com>
8006 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8007 Don't leak pads lists.
8009 2006-05-29 Wim Taymans <wim@fluendo.com>
8011 * docs/libs/gstreamer-libs-sections.txt:
8012 * libs/gst/base/gstcollectpads.c:
8013 (gst_collect_pads_set_flushing_unlocked),
8014 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8015 (gst_collect_pads_stop):
8016 * libs/gst/base/gstcollectpads.h:
8017 API: gst_collect_pads_set_flushing()
8018 Added api to set the pads to flushing, useful for seeking
8019 code in elements using collectpads.
8020 Clear segment when receiving a flush.
8022 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8024 * gst/gst.c: (add_path_func), (init_post):
8025 Don't scan registry paths passed via --gst-plugin-path immediately
8026 (will crash, because absolutely nothing is set up and no types are
8027 registered etc.); do this later in init_post(). Fixes #343057.
8029 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8031 * gst/gst.c: (init_post):
8032 if we have fork, fork while reading/rebuilding the registry
8033 so the parent doesn't take the hit of having all plugins loaded
8034 in memory. Fixes #342777.
8035 * configure.ac:
8036 Check if we have fork()
8037 * win32/common/config.h.in:
8038 no fork() on win32
8040 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8042 * plugins/elements/gstelements.c:
8043 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8044 (gst_file_src_init), (gst_file_src_set_property),
8045 (gst_file_src_get_property), (gst_file_src_start):
8046 * plugins/elements/gstfilesrc.h:
8047 API: GstFileSrc::use-mmap
8049 Add a use-mmap property to enable easier testing of all code paths.
8050 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8051 in the absence of gnomevfssrc. (Closes #340501)
8053 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8055 * tools/gst-inspect.c:
8056 Add missing include, removes warning of ngettext not being defined on
8057 some arches.
8059 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8061 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8062 Handle NULL input and output pointers silently as a failed conversion,
8063 rather than g_warnings.
8065 2006-05-25 Wim Taymans <wim@fluendo.com>
8067 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8068 Initialize variable before using. Fixes #342820.
8070 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8072 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8073 Fix off-by-one bug that would only allow peeks of N-1 bytes
8074 from the start even if the buffer to typefind on contains
8075 in fact N bytes of data (makes vorbis typefinding from a
8076 vorbis identification header buffer work).
8078 * tests/check/Makefile.am:
8079 * tests/check/libs/.cvsignore:
8080 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8081 (gst_typefindhelper_suite), (main), (foobar_typefind),
8082 (plugin_init):
8083 Add very basic unit test for gst_type_find_helper_for_buffer()
8084 that checks for the problem fixed above.
8086 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8088 * tools/gst-inspect.c: (print_interfaces),
8089 (print_element_properties_info), (print_element_list), (main):
8090 add more translatable strings
8092 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8094 Patch by: Julien Moutte <julien at moutte net>
8096 * docs/gst/gstreamer-sections.txt:
8097 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8099 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8100 (gst_fake_sink_preroll):
8101 * plugins/elements/gstfakesink.h:
8102 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8104 2006-05-23 Wim Taymans <wim@fluendo.com>
8106 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8107 * gst/gstpad.h:
8108 Added _CUSTOM error and success GstFlowReturn that can be
8109 used be elements internally.
8110 Added macro to check for SUCCESS flowreturns.
8111 API: GST_FLOW_CUSTOM_SUCCESS
8112 API: GST_FLOW_CUSTOM_ERROR
8113 API: GST_FLOW_IS_SUCCESS
8115 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8116 Added check for GstFlowReturn sanity.
8118 2006-05-23 Wim Taymans <wim@fluendo.com>
8120 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8122 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8123 (gst_collect_pads_event):
8124 clear/reset segment info in FLUSH_STOP.
8125 Fixes #336929.
8127 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8129 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8130 (gst_collect_pads_check_collected):
8131 Flush queued buffer on _stop(), fixes playing again (#342454)
8133 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8135 * tests/check/gst/gststructure.c: (GST_START_TEST),
8136 (gst_structure_suite):
8137 add a test for a complete structure
8139 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8141 * docs/faq/developing.xml:
8142 * docs/faq/faq.xml:
8143 * docs/faq/troubleshooting.xml:
8144 * docs/faq/using.xml:
8145 Some minor FAQ updates that won't change the fact that
8146 our FAQ is badly structured, full of information hardly
8147 anyone new to GStreamer needs to know and lacking lots
8148 of information people constantly ask for.
8150 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8152 * gst/gstpad.c: (gst_pad_set_caps):
8153 Short-circuit gst_pad_set_caps if setting the existing
8154 caps pointer again, and avoid printing debug and
8155 reffing/unreffing the caps.
8157 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8158 There's actually no need to set the caps before pushing -
8159 the acceptcaps method will handle it anyway.
8161 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8163 * docs/gst/gstreamer-sections.txt:
8164 * win32/common/libgstreamer.def:
8165 * gst/gstutils.c: (gst_element_seek_simple):
8166 * gst/gstutils.h:
8167 API: add gst_element_seek_simple() (#342238).
8169 2006-05-18 Edward Hervey <edward@fluendo.com>
8171 * gst/gsttypefind.c: (gst_type_find_get_type):
8172 * gst/gsttypefind.h:
8173 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8174 registered for GstTypeFind pointers. This allows wrapping the structure
8175 in bindings (i.e. gst-python).
8177 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8179 * gst/gsttagsetter.c:
8180 Docs additions and fixes (see #339918).
8182 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8184 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8185 The caps intersection algorithm can produce multiple copies of the
8186 caps. Until that is fixed, we need to simplify the result to be
8187 sure whether the allowed caps are fixed or not.
8189 * plugins/elements/gstqueue.c: (gst_queue_init),
8190 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8191 (gst_queue_push_one):
8192 Proxied buffer alloc should not set the caps on the source pad.
8193 When pushing buffers, we always accept the caps change that triggers.
8194 This prevents negotiation errors caused by caps changing mid-stream
8195 and then being refused on our source pad (because upstream is now
8196 refusing those caps).
8198 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8200 * tests/examples/helloworld/helloworld.c: (main):
8201 Must plug audioconvert and audioresample between decoder
8202 and audio sink.
8204 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8206 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8207 (load_feature), (load_plugin):
8208 Allow empty strings for some of the plugin fields so we don't
8209 drop valid plugin entries that were written out correctly
8210 (Fixes #341479)
8212 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8214 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8215 Use g_remove and g_rename instead of remove and rename that don't
8216 handle utf8 characters. rename was failing for users who had specific
8217 characters in their name then the registry was built at each
8218 gstreamer init.
8219 * win32/vs6/gst_inspect.dsp:
8220 * win32/vs6/gst_launch.dsp:
8221 * win32/vs6/libgstbase.dsp:
8222 * win32/vs6/libgstcoreelements.dsp:
8223 * win32/vs6/libgstreamer.dsp:
8224 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8225 build of libgstreamer and clean unused libraries in projects link
8226 settings.
8228 2006-05-17 Edward Hervey <edward@fluendo.com>
8230 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8231 The queue is not responsible for pushing an EOS when receiving a fatal
8232 flow error. It's up to the real element driving the pipeline to do that.
8234 2006-05-16 Edward Hervey <edward@fluendo.com>
8236 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8237 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8238 buffer returned a fatal error. It should just send an EOS and stop
8239 its task.
8240 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8241 when pushing buffers on the queue and will be able to handle the event.
8243 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8245 * docs/manual/basics-bins.xml:
8246 * docs/manual/basics-init.xml:
8247 Fix typos and minor errors in sample code (#341856).
8249 2006-05-16 Wim Taymans <wim@fluendo.com>
8251 * docs/design/part-qos.txt:
8252 Fix indexes in formulas to make more sense.
8254 2006-05-15 Wim Taymans <wim@fluendo.com>
8256 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8257 Don't report POSITION based on clock time if sync is
8258 disabled in a sink.
8260 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8262 * gst/gstobject.h:
8263 Add cast to make compiler happy - refcount variable was a gint
8264 in GstObject but is a guint in GObject and g_atomic_int_get()
8265 wants a gint *.
8267 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8269 * gst/parse/Makefile.am:
8270 chain commands using &&, which also makes parallel make work
8272 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8274 * docs/gst/gstreamer-sections.txt:
8275 * gst/gstevent.c:
8276 * gst/gstevent.h:
8277 * gst/gstmessage.h:
8278 Minor docs fixes.
8280 === release 0.10.6 ===
8282 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8284 * configure.ac:
8285 releasing 0.10.6, "Take the cannoli"
8287 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8289 * tools/gst-launch.c: (print_tag):
8290 Fix use of uninitialized variable in the hypothetical
8291 case that some broken plugin creates a GST_TAG_IMAGE
8292 tag containing a NULL buffer (#341667).
8294 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8296 * tools/gst-launch.c: (print_tag):
8297 Print something more intelligible for image tags when
8298 using the -t switch (#341556).
8300 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8302 * Makefile.am:
8303 updates for win32
8304 * configure.ac:
8305 define GST_MAJORMINOR so we have it available in win32/common/config.h
8306 Possibly remove it from our Makefile.am files later
8307 * win32/common/config.h:
8308 * win32/common/config.h.in:
8309 added GST_MAJORMINOR
8310 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8311 * win32/common/gstversion.h:
8312 updated
8314 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8316 * win32/MANIFEST:
8317 Update win32 files listing.
8318 * win32/common/gstversion.h:
8319 Add GST_MAJORMINOR definition.
8320 * win32/common/libgstreamer.def:
8321 Add new exported functions.
8323 2006-05-12 Michael Smith <msmith@fluendo.com>
8325 * gst/gstplugin.c: (gst_plugin_load_file):
8326 If an so file has no plugin entry point, unload the module.
8328 2006-05-11 Wim Taymans <wim@fluendo.com>
8330 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8331 (gst_queue_set_property):
8332 Don't forget to signal the _chain or _loop function
8333 when the queue size or thresholds change since that might
8334 cause them to make progres again.
8336 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8338 * gst/gstclock.c: (gst_clock_class_init):
8339 * gst/gstindex.c: (gst_index_class_init):
8340 * gst/gstobject.c: (gst_object_class_init):
8341 * gst/gstpad.c: (gst_pad_class_init):
8342 * gst/gstpipeline.c: (gst_pipeline_class_init):
8343 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8344 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8345 * libs/gst/base/gstbasetransform.c:
8346 (gst_base_transform_class_init):
8347 * libs/gst/net/gstnetclientclock.c:
8348 (gst_net_client_clock_class_init):
8349 * libs/gst/net/gstnettimeprovider.c:
8350 (gst_net_time_provider_class_init):
8351 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8352 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8353 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8354 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8355 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8356 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8357 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8358 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8359 * plugins/elements/gsttee.c: (gst_tee_class_init):
8360 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8361 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8362 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8364 2006-05-11 Wim Taymans <wim@fluendo.com>
8366 * gst/gstbuffer.c: (_gst_buffer_initialize):
8367 Register subbufer along with the buffer type so that
8368 it does not accidentally gets registered from N
8369 different streaming threads in a non threadsafe way.
8371 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8373 * gst/gstbuffer.h:
8374 * gst/gstevent.h:
8375 * gst/gstmessage.h:
8376 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8377 gst_event_ref() and gst_message_ref() functions again
8378 (ugly hack, please do fix if there's a better way besides
8379 overrides.txt, which doesn't seem to work).
8381 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8383 * libs/gst/check/gstcheck.h:
8384 add an assert for setting state to avoid lots of repetitive code
8385 in the future
8387 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8389 * gst/gstvalue.c: (gst_value_serialize_flags):
8390 fix a leak if no flags are set
8391 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8392 fix leak in tests
8394 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8396 * docs/manual/basics-pads.xml:
8397 Expand a bit on caps and filtered links and update
8398 examples that were still using the no longer existing
8399 gst_pad_link_filtered() (#338206).
8401 2006-05-10 Wim Taymans <wim@fluendo.com>
8403 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8404 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8405 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8406 (gst_collect_pads_stop):
8407 * libs/gst/base/gstcollectpads.h:
8408 No need to call _stop in _finalize.
8409 Iterate the main pad list in _finalize.
8410 Added some more debug.
8411 Free lists and data in the right order.
8412 Also free data whem doing _remove_pad when stopped for
8413 backward compatibility protect ::started with PAD_LOCK as
8414 well.
8416 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8418 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8419 (gst_structure_parse_value):
8420 add some comments
8421 rename a method so that it actually says what it does better
8423 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8425 * gst/gstevent.c: (_gst_event_initialize):
8426 * gst/gstformat.c: (_gst_format_initialize):
8427 make sure some essential types used by events are registered
8428 as part of gst_init()
8429 * gst/gstvalue.c: (gst_value_serialize_flags):
8430 if no flags are set, serialize them to a value that represents NONE
8431 so that deserializing them works
8432 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8433 add tests for serialization and deserialization of flags
8435 2006-05-10 Wim Taymans <wim@fluendo.com>
8437 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8438 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8439 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8440 (gst_collect_pads_event), (gst_collect_pads_chain):
8441 Update docs.
8442 Better debug info.
8443 Catch and return errors from the collect function
8444 Refuse data on eos pads.
8446 2006-05-10 Edward Hervey <edward@fluendo.com>
8448 * gst/gstinterface.h:
8449 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8450 GInterface type checking.
8451 They were previously using non-defined macros.
8453 2006-05-09 Wim Taymans <wim@fluendo.com>
8455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8456 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8457 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8458 (gst_collect_pads_start), (gst_collect_pads_stop),
8459 (gst_collect_pads_peek), (gst_collect_pads_pop),
8460 (gst_collect_pads_available), (gst_collect_pads_read),
8461 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8462 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8463 (gst_collect_pads_chain):
8464 * libs/gst/base/gstcollectpads.h:
8465 Clean up the mess that is collectpads, add comments and
8466 FIXMEs where needed.
8467 Maintain a separate pad list so we can add pads while
8468 collecting the other ones. For this we need a new separate
8469 lock (see comics).
8470 Fix memory leak in finalize.
8471 Refactor some weird code to set/unset pad flushing flags, mark
8472 with comments.
8473 Don't crash in _available, _read, _flush when we're EOS.
8475 * tests/check/libs/.cvsignore:
8476 Ignore adapter check binary.
8478 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8480 * gst/gstindex.c: (gst_index_resolver_get_type):
8481 * plugins/elements/gstfakesink.c:
8482 (gst_fake_sink_state_error_get_type):
8483 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8484 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8485 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8486 Const-ify GEnumValue arrays.
8488 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8490 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8491 Add test case for flags + gst_buffer_make_metadata_writable().
8493 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8495 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8496 gst_buffer_make_metadata_writable() should maintain the
8497 buffer flags (those that make sense at least) (see #340859).
8499 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8501 * tools/gst-inspect.c:
8502 * tools/gst-launch.c:
8503 * tools/gst-typefind.c:
8504 * tools/gst-xmlinspect.c:
8505 * tools/tools.h:
8506 Fix up includes: need to include stdlib.h in tools.h for exit().
8508 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8510 * gst/gsttaglist.c: (_gst_tag_initialize):
8511 * gst/gsttaglist.h:
8512 API: add GST_TAG_IMAGE tag (#340721).
8514 2006-05-08 Wim Taymans <wim@fluendo.com>
8516 * gst/gstquery.c:
8517 Added some docs for the segment query.
8519 2006-05-08 Wim Taymans <wim@fluendo.com>
8521 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8522 (gst_base_src_loop), (gst_base_src_change_state):
8523 Always push non-flushing serialized events in the streaming
8524 thread.
8526 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8528 * gst/gsterror.c: (_gst_stream_errors_init):
8529 Add a missing error string.
8531 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8533 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8534 Add applied_rate to the debug
8536 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8537 Copy applied_rate into the outgoing NEWSEGMENT event
8539 2006-05-08 Wim Taymans <wim@fluendo.com>
8541 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8543 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8544 (gst_base_sink_change_state):
8545 call ::unlock before taking the PREROLL_LOCK so we can safely
8546 handle elements that lock in ::render.
8547 Fixes #340174.
8549 2006-05-08 Edward Hervey <edward@fluendo.com>
8551 * autogen.sh: (CONFIGURE_DEF_OPT):
8552 Darwin's libtoolize is in fact called glibtoolize.
8553 Adding glibtoolize to the list of accepted names for libtoolize.
8555 2006-05-08 Wim Taymans <wim@fluendo.com>
8557 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8558 Unify error handling, don't post an error message
8559 when a push() returns EOS but perform our normal EOS
8560 handling code. Fixes #340772.
8562 2006-05-08 Wim Taymans <wim@fluendo.com>
8564 * docs/design/part-overview.txt:
8565 Make upsteam/downstream concepts more clear.
8566 Give an example of serialized/non-serialized events.
8568 * docs/design/part-events.txt:
8569 * docs/design/part-streams.txt:
8570 Mention applied_rate.
8572 * docs/design/part-trickmodes.txt:
8573 Mention applied rate, flesh out some more use cases.
8575 * gst/gstevent.c: (gst_event_new_new_segment),
8576 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8577 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8578 (gst_event_parse_tag), (gst_event_new_buffer_size),
8579 (gst_event_parse_buffer_size), (gst_event_new_qos),
8580 (gst_event_parse_qos), (gst_event_parse_seek),
8581 (gst_event_new_navigation):
8582 * gst/gstevent.h:
8583 Add applied_rate field to NEWSEGMENT event.
8584 API: gst_event_new_new_segment_full()
8585 API: gst_event_parse_new_segment_full()
8587 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8588 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8589 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8590 * gst/gstsegment.h:
8591 Add applied_rate to GstSegment structure.
8592 Make calculation of stream_time and running_time more correct
8593 wrt rate/applied_rate.
8594 Add some more docs.
8595 API: GstSegment::applied_rate field
8596 API: gst_segment_set_newsegment_full();
8598 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8599 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8600 * libs/gst/base/gstbasetransform.c:
8601 (gst_base_transform_sink_eventfunc),
8602 (gst_base_transform_handle_buffer):
8603 Parse and use applied_rate in the GstSegment field.
8605 * tests/check/gst/gstevent.c: (GST_START_TEST):
8606 Add check for applied_rate field.
8608 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8609 (gstsegments_suite):
8610 Add more checks for various GstSegment operations.
8612 2006-05-08 Wim Taymans <wim@fluendo.com>
8614 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8615 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8616 (gst_base_sink_get_position), (gst_base_sink_change_state):
8617 Store the sync time of the buffer end position separatly in a
8618 new variable eos_rtime so we can properly sync the EOS event.
8619 Fixes #340697.
8620 Fix the docs for gst_base_sink_set_qos_enabled().
8621 Don't set segment start to invalid value when we receive a
8622 non TIME newsegment.
8623 get closer to handling position reporting for negative rates
8624 correctly.
8626 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8628 * gst/gstcaps.c:
8629 Docs about how to print caps for debug purposes.
8631 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8632 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8634 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8636 * gst/gstelement.c:
8637 use full enum names and preprend a '%' in docs strings to make recent
8638 gtk-doc turn that into a link
8640 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8642 * docs/manual/basics-bins.xml:
8643 * docs/manual/basics-bus.xml:
8644 * docs/manual/basics-pads.xml:
8645 Some typo fixes, some additions, some clarifications.
8647 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8649 * tools/gst-inspect.c: (main):
8650 * tools/gst-launch.c: (main):
8651 * tools/gst-run.c: (main):
8652 * tools/gst-typefind.c: (main):
8653 * tools/gst-xmlinspect.c: (main):
8654 Use the string passed to g_option_context_new() for
8655 what it's intended for - the program name is already
8656 printed elsewhere.
8658 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8660 * tools/Makefile.am:
8661 * tools/gst-inspect.c: (main):
8662 * tools/gst-launch.c: (main):
8663 * tools/gst-xmlinspect.c: (main):
8664 * tools/tools.h:
8665 Add back --version command line option (#340460).
8667 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8668 Add --version option and use GOption for argument parsing; refactor a
8669 bit; accept directories as arguments and recurse into them; lastly,
8670 print a decent error message when things go wrong.
8672 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8674 * docs/manual/basics-bins.xml:
8675 Don't mention GstThread (#340611)
8676 * docs/manual/basics-elements.xml:
8677 Update link to GObject tutorial (#340607)
8679 2006-05-05 Wim Taymans <wim@fluendo.com>
8681 * gst/gstbuffer.h:
8682 * gst/gstminiobject.c:
8683 Add note about refcounting and miniobject/buffer writeability
8684 to docs. Fixes #340604
8686 * gst/gstelementfactory.h:
8687 Added some explanation about @klass.
8689 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8691 * docs/manual/intro-motivation.xml:
8692 * docs/manual/manual.xml:
8693 Avoid CORBA & Bonobo references (#340598)
8695 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8697 * docs/manual/basics-bus.xml:
8698 * docs/manual/basics-pads.xml:
8699 Fix up some inaccuracies and omissions (#340609)
8701 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8703 * gst/gstghostpad.c:
8704 Small typo in docs (#340625)
8706 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8708 * gst/parse/Makefile.am:
8709 Make 'make -j' proof (see #340698).
8711 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8713 * configure.ac:
8714 Require GLib-2.8 here as well.
8716 2006-05-05 Wim Taymans <wim@fluendo.com>
8718 * gst/glib-compat.c:
8719 * gst/gst.c: (init_pre):
8720 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8721 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8722 (gst_object_dispatch_properties_changed):
8723 * gst/gstobject.h:
8724 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8725 * gst/gststructure.c: (gst_structure_set_valist):
8726 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8727 Remove pre glib2.8 compatibility, fixes #340508
8729 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8731 * gst/gsttaglist.h:
8732 Mention type of tags in doc blurbs.
8734 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8736 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8737 (gst_pad_configure_src), (gst_pad_push):
8738 Restore acceptcaps checking behaviour now that good plugins have
8739 been released.
8741 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8743 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8745 * gst/gst.c:
8746 * gst/gstbus.c:
8747 * gst/gstclock.c:
8748 * gst/gstevent.c:
8749 * gst/gstformat.c:
8750 * gst/gstmessage.c:
8751 * gst/gstparse.c:
8752 * gst/gstquery.c:
8753 * gst/gstutils.c:
8754 * gst/parse/Makefile.am:
8755 * libs/gst/base/gstadapter.c:
8756 * libs/gst/base/gstbasesrc.c:
8757 * libs/gst/base/gstpushsrc.c:
8758 * libs/gst/base/gsttypefindhelper.c:
8759 * plugins/elements/gstfakesrc.c:
8760 * plugins/elements/gstidentity.c:
8761 Make sure gstprivate.h and/or config.h are
8762 always included first, otherwise some of our
8763 defines (like _FILE_OFFSET_BITS) might be
8764 redefined in the system headers. Fixes build
8765 on opensolaris (#340016).
8767 2006-05-04 Wim Taymans <wim@fluendo.com>
8769 * docs/libs/gstreamer-libs-sections.txt:
8770 API: addition: gst_adapter_take_buffer()
8772 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8773 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8774 (gst_adapter_available_fast):
8775 * libs/gst/base/gstadapter.h:
8776 Prepare for optimizing the hell out of this hugely inefficient
8777 piece of code.
8778 Added gst_adapter_take_buffer() so we can at least start thinking
8779 about subbuffering and merging.
8780 Added some comments.
8782 * tests/check/Makefile.am:
8783 * tests/check/libs/adapter.c: (GST_START_TEST),
8784 (gst_adapter_suite), (main):
8785 Added GstAdapter check.
8787 2006-05-04 Wim Taymans <wim@fluendo.com>
8789 * docs/design/part-overview.txt:
8790 Fix some typos, add blurb about buffer flags.
8792 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8794 * docs/libs/gstreamer-libs-sections.txt:
8795 make sure GstBaseTransformClass shows up in the docs
8796 * libs/gst/base/gstbasetransform.c:
8797 * libs/gst/base/gstbasetransform.h:
8798 move docs so gtk-doc picks it up now
8800 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8802 * docs/libs/gstreamer-libs-sections.txt:
8803 add missing symbols to docs
8805 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8807 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8808 back out the newsegment handling change, see #340060 for ongoing
8809 discussion
8811 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8813 * tools/gst-run.c: (get_candidates), (main):
8814 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8815 work); fix typo in error message. Fixes #340079.
8817 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8819 * common/Makefile.am:
8820 * docs/Makefile.am:
8821 * docs/faq/Makefile.am:
8822 * docs/gst/Makefile.am:
8823 * docs/libs/Makefile.am:
8824 * docs/manual/Makefile.am:
8825 * docs/plugins/Makefile.am:
8826 * docs/pwg/Makefile.am:
8827 * docs/slides/Makefile.am:
8828 * docs/upload.mak:
8829 * common/upload.mak:
8830 move upload.mak to common
8832 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8834 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8835 add more asserts on refcounts
8836 do more cleanup at end of tests
8837 fix test leaks showing in FC5
8839 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8841 * plugins/elements/gsttypefindelement.c:
8842 (gst_type_find_element_handle_event):
8843 reverted wrong change and reflowed code to avoid others falling into
8844 this trap
8846 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8848 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8849 fix changelog entry about last collectpads change,
8850 add notes about proper fix
8852 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8854 * gst/gst.c:
8855 * gst/gstregistry.c: (gst_registry_scan_path_level),
8856 (gst_registry_scan_path):
8857 * gst/gstregistry.h:
8858 only write out registry if it has changed, fixes #338339
8860 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8862 * gst/gstbin.c:
8863 * gst/gstpipeline.c:
8864 * plugins/elements/gstcapsfilter.c:
8865 * plugins/elements/gstfakesink.c:
8866 * plugins/elements/gstfakesrc.c:
8867 * plugins/elements/gstfdsink.c:
8868 * plugins/elements/gstfdsrc.c:
8869 * plugins/elements/gstfilesink.c:
8870 * plugins/elements/gstfilesrc.c:
8871 * plugins/elements/gstidentity.c:
8872 * plugins/elements/gstqueue.c:
8873 * plugins/elements/gsttee.c:
8874 * plugins/elements/gsttypefindelement.c:
8875 (gst_type_find_element_handle_event):
8876 make GstElementDetails const
8878 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8880 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8881 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8882 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8883 more detailed debug and formatting cleanup,
8884 forward newsegments to src-pad (so that e.g. adder not eats them)
8886 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8888 * gst/gstutils.c: (gst_element_link_pads):
8889 cleanup double code
8891 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8893 * libs/gst/controller/gstcontroller.c:
8894 (gst_controller_sync_values):
8895 some little tuning
8896 * tests/check/libs/controller.c: (GST_START_TEST),
8897 (gst_controller_suite):
8898 a new test for live value handling
8900 2006-04-28 Wim Taymans <wim@fluendo.com>
8902 * gst/gstutils.c: (push_and_ref):
8903 Added some more docs.
8904 Fix refcount issue whith gst_element_found_tags() helper
8905 function. Fixes #338335
8907 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8908 Added testsuite for gst_element_found_tags().
8910 2006-04-28 Michael Smith <msmith@fluendo.com>
8912 * gst/gstvalue.c: (gst_value_serialize_flags):
8913 Avoid NULL dereference when trying to serialize flags containing
8914 invalid values.
8916 2006-04-28 Michael Smith <msmith@fluendo.com>
8918 * plugins/elements/gsttypefindelement.c:
8919 (gst_type_find_element_handle_event):
8920 If we get EOS before any data is accumulated, don't use
8921 uninitialised local variables.
8923 2006-04-28 Michael Smith <msmith@fluendo.com>
8925 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8926 (gst_dp_event_from_packet):
8927 Fixes in reading/writing events over GDP (not currently used?) -
8928 dereferencing NULL events for unknown/invalid event types, memory
8929 leak, and change g_warning to GST_WARNING.
8931 2006-04-28 Wim Taymans <wim@fluendo.com>
8933 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8934 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8935 (gst_base_sink_get_position), (gst_base_sink_change_state):
8936 When frame dropping is enabled, we should not ignore frames
8937 without a duration.
8938 Update some documentation.
8940 2006-04-28 Wim Taymans <wim@fluendo.com>
8942 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8943 (gst_base_src_send_event), (gst_base_src_change_state):
8944 Documentation updates.
8946 2006-04-28 Wim Taymans <wim@fluendo.com>
8948 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8949 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8950 handle EAGAIN, EINTR and short writes correctly. Also clean
8951 up some error cases, avoid a deadlock on bad file descriptors and
8952 use GST_DEBUG_OBJECT.
8953 Fixes #339843
8955 2006-04-28 Wim Taymans <wim@fluendo.com>
8957 * gst/gstvalue.c: (gst_value_serialize_buffer),
8958 (gst_value_deserialize_buffer):
8959 Don't try to serialize a GValue with a NULL buffer.
8960 Fixes #339821.
8962 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8963 Added check for serialisation of NULL buffers.
8965 2006-04-28 Wim Taymans <wim@fluendo.com>
8967 * gst/gstminiobject.c: (gst_value_take_mini_object):
8968 Taking a NULL miniobject is valid, fix the case where
8969 we try to unref the NULL miniobject.
8971 2006-04-28 Wim Taymans <wim@fluendo.com>
8973 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8975 * gst/gstbin.c: (gst_bin_handle_message_func):
8976 Update docs.
8977 Don't leak bin refcount when a state recalc is
8978 in progress and we delay another one #339808.
8980 2006-04-28 Wim Taymans <wim@fluendo.com>
8982 * docs/design/part-TODO.txt:
8983 Mention QoS as an ongoing work item.
8985 * docs/design/part-buffering.txt:
8986 New doc about buffering that needs to be fleshed out
8987 at some point.
8989 * docs/design/part-qos.txt:
8990 More QoS policy for decoders/demuxers/transforms
8992 * docs/design/part-trickmodes.txt:
8993 Small update.
8995 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8997 * configure.ac:
8998 back to HEAD
9000 === release 0.10.5 ===
9002 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9004 * configure.ac:
9005 releasing 0.10.5, "Fogo"
9007 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9009 patch by: Wim Taymans
9011 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9012 (gst_pad_configure_src), (gst_pad_push):
9013 * gst/gstpipeline.c: (gst_pipeline_init):
9014 Fix internal data flow errors. Fixes #338711.
9016 2006-04-12 Wim Taymans <wim@fluendo.com>
9018 * tests/check/gst/gstelement.c: (GST_START_TEST):
9019 Don't leak the factory.
9021 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9023 * configure.ac:
9024 * win32/common/config.h:
9025 prerelease
9027 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9029 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9030 (gst_controller_unset_all):
9031 Free allocated GstTimedValues when freeing list nodes.
9032 Should fix leaks 'make check-valgrind' complains about.
9034 * win32/common/libgstcontroller.def:
9035 Add gst_controller_unset_all.
9037 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9039 * docs/libs/gstreamer-libs-sections.txt:
9040 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9041 (gst_controller_unset_all):
9042 * libs/gst/controller/gstcontroller.h:
9043 API: Added new method gst_controller_unset_all()
9044 fixed gst_controller_unset()
9045 * tests/check/libs/controller.c: (GST_START_TEST),
9046 (gst_controller_suite):
9047 Added two testcases for new and fixed method
9049 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9051 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9052 MSG_DONTWAIT is not defined on Cygwin, so work
9053 around that (fixes #317048).
9055 2006-04-11 Wim Taymans <wim@fluendo.com>
9057 * gst/gstelementfactory.c: (gst_element_register),
9058 (gst_element_factory_create), (gst_element_factory_make):
9059 Some cleanups.
9060 Fixed a FIXME.
9061 Updated docs (Fixes #131079)
9063 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9064 Small cleanups.
9066 * tests/check/gst/gstelement.c: (GST_START_TEST),
9067 (gst_element_suite):
9068 Added testcase for elementfactory class field.
9070 2006-04-10 Wim Taymans <wim@fluendo.com>
9072 * gst/gstsegment.c:
9073 Added some more docs.
9075 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9076 (gst_base_sink_reset_qos):
9077 Calculate more accurate rate values.
9079 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9081 * gst/gst_private.h:
9082 add a new #ifdef to use __declspec(dllimport) only for
9083 other modules and not for gstreamer core
9084 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9085 use gst_guint64_to_gdouble for conversion
9086 * win32/common/libgstreamer.def:
9087 add new exported functions
9088 * win32/vs6/gst_inspect.dsp:
9089 * win32/vs6/gst_launch.dsp:
9090 * win32/vs6/libgstbase.dsp:
9091 * win32/vs6/libgstcontroller.dsp:
9092 * win32/vs6/libgstcoreelements.dsp:
9093 * win32/vs6/libgstdataprotocol.dsp:
9094 * win32/vs6/libgstnet.dsp:
9095 update project files
9097 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9099 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9100 * gst/gstclock.c: (gst_clock_class_init):
9101 * gst/gstelement.c: (gst_element_class_init):
9102 * gst/gstindex.c: (gst_index_class_init):
9103 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9104 * gst/gstobject.c: (gst_object_class_init),
9105 (gst_signal_object_class_init):
9106 * gst/gstpad.c: (gst_pad_class_init):
9107 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9108 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9109 * gst/gstregistry.c: (gst_registry_class_init):
9110 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9111 * gst/gsttask.c: (gst_task_class_init):
9112 * gst/gstxml.c: (gst_xml_class_init):
9113 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9114 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9115 (gst_base_src_loop):
9116 * libs/gst/controller/gstcontroller.c:/
9117 (_gst_controller_class_init):
9118 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9119 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9120 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9121 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9122 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9123 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9125 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9127 * gst/gstpad.c: (gst_pad_link):
9128 Must set peer pads before calling the link function, otherwise
9129 a task started from a link function might get a flow-not-linked
9130 result when trying to push because the other thread where the
9131 linking happens hasn't had a chance to set the peers yet. This
9132 might happen for example when a queue gets linked to a downstream
9133 element, as queue starts a streaming task when its source pad
9134 gets linked. Happens in real life when playing back flac/musepack
9135 files in playbin (#332390).
9137 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9139 * gst/gstindex.h:
9140 * gst/gstxml.h:
9141 * libs/gst/base/gstadapter.h:
9142 * libs/gst/base/gstbasesink.h:
9143 * libs/gst/base/gstbasesrc.h:
9144 * libs/gst/base/gstbasetransform.h:
9145 * libs/gst/base/gstcollectpads.h:
9146 * libs/gst/base/gstpushsrc.h:
9147 Fix broken GObject macros
9149 2006-04-07 Wim Taymans <wim@fluendo.com>
9151 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9152 Initialize start and stop times, thanks valgrind.
9154 2006-04-07 Wim Taymans <wim@fluendo.com>
9156 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9157 Be a bit nicer to badly behaving upstream elements that expect
9158 us to deal with non TIME segments and timestamps (such as fakesrc
9159 in the testsuite).
9161 2006-04-07 Wim Taymans <wim@fluendo.com>
9163 * gst/gstbus.c:
9164 Small documentation clarification about the signal watch.
9166 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9167 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9168 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9169 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9170 (gst_base_sink_get_position_last),
9171 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9172 Convert and store timestamps in stream time and running time, the
9173 raw timestamps are not useful, also document this better.
9174 Use different window sizes for good and bad QoS observations so
9175 we react to badness a little quicker.
9176 Keep track of the amount of rendered and dropped buffers.
9177 Send QoS timestamps in running time.
9179 * libs/gst/base/gstbasetransform.c:
9180 (gst_base_transform_sink_eventfunc),
9181 (gst_base_transform_handle_buffer):
9182 Compare QoS timestamps against running time.
9184 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9186 * gst/gstpad.c:
9187 Typo fixes in docs.
9189 2006-04-06 Michael Smith <msmith@fluendo.com>
9191 * gst/gstpad.c: (gst_pad_set_property):
9192 Use g_value_get_object() instead of g_value_dup_gst_object(),
9193 to avoid double-reffing the pad template (which we then sink,
9194 so this worked previously if (and only if) the pad template
9195 was floating.
9197 * gst/gstpadtemplate.c: (gst_pad_template_init),
9198 (gst_pad_template_pad_created):
9199 Never return floating references to pad templates, create
9200 them as initially-sunken.
9202 Document an extra function (and make this stop sinking our
9203 pad template, since that is now guaranteed to do nothing,
9204 since we created it sunken).
9206 * gst/gstghostpad.c:
9207 Fix docs typo.
9209 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9211 * gst/gstinfo.c: (__gst_in_valgrind):
9212 Add some newlines.
9214 * plugins/elements/gsttypefindelement.c:
9215 (gst_type_find_element_chain):
9216 Don't leak buffer caps.
9218 2006-04-06 Michael Smith <msmith@fluendo.com>
9220 * gst/parse/grammar.y:
9221 Fix a leak in parse-launch for any source-or-sink named element
9222 references used.
9224 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9225 Unref the pipeline if it exists after we've failed parsing.
9227 2006-04-05 Michael Smith <msmith@fluendo.com>
9229 * gst/gstpipeline.c: (gst_pipeline_init):
9230 When we create a pipeline bus, initially create it in flushing mode.
9231 Fixes leaks in at least one test, and makes a new pipeline work the
9232 same as one that has gone to READY and then back to NULL.
9234 * gst/gstelement.c:
9235 Typo fix in docs.
9237 2006-04-05 Michael Smith <msmith@fluendo.com>
9239 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9240 Unref a pad we reffed.
9241 * tests/check/gst/gstutils.c: (GST_START_TEST):
9242 Unref bins
9244 2006-04-05 Michael Smith <msmith@fluendo.com>
9246 * gst/gstquery.c: (gst_query_set_formats),
9247 (gst_query_set_formatsv):
9248 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9250 2006-04-05 Michael Smith <msmith@fluendo.com>
9252 * tests/check/generic/sinks.c: (GST_START_TEST):
9253 Fix a variety of memleaks in sinks check, which are only sometimes
9254 shown by running the tests under valgrind (weird?).
9256 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9258 * docs/version.entities.in:
9259 Fix the substituted entity name after thomas' changes on the
9260 weekend.
9262 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9264 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9265 VALGRIND_PRINTF
9267 2006-04-05 Andy Wingo <wingo@pobox.com>
9269 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9271 * libs/gst/base/gstbasetransform.c
9272 (gst_base_transform_sink_eventfunc): When resetting our segment on
9273 FLUSH_STOP, also update the flag saying we haven't seen a
9274 newsegment.
9276 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9278 Patch by: Paolo Borelli <pborelli at katamail dot com>
9280 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9281 (gst_plugin_check_license):
9282 minor clean-ups: G_DEFINE_TYPE already takes care of the
9283 parent_class stuff, no need to do it twice. Mark array of
9284 license strings as constant. (#337103)
9286 2006-04-04 Michael Smith <msmith@fluendo.com>
9288 * tools/gst-inspect.c: (print_element_list):
9289 Free the right plugin list; fixes a memory leak.
9291 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9293 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9295 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9296 Don't error out on empty buffers (#336945).
9298 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9300 * docs/libs/gstreamer-libs-sections.txt:
9301 * gst/gsttaglist.c:
9302 * libs/gst/base/gstbasesink.c:
9303 * libs/gst/base/gstbasesink.h:
9304 * libs/gst/base/gstbasesrc.c:
9305 * libs/gst/base/gstbasesrc.h:
9306 Documentation updates. Make BaseSink and BaseSrc docs contain the
9307 class structure so that people can actually see the prototypes for
9308 virtual functions they're supposed to be overriding.
9310 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9312 * plugins/elements/gsttypefindelement.c:
9313 (gst_type_find_element_chain):
9314 More debug info; when skipping typefinding, send cached
9315 events in all cases.
9317 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9319 * configure.ac:
9320 use new AS_VERSION and AS_NANO macros
9321 * gst/gst-i18n-lib.h:
9322 * gst/gst.c:
9323 * gst/gsterror.c:
9324 * gst/gstversion.h.in:
9325 * win32/common/config.h:
9326 * win32/common/config.h.in:
9327 update accordingly
9329 2006-03-31 Michael Smith <msmith@fluendo.com>
9331 * plugins/elements/gsttypefindelement.c:
9332 (gst_type_find_element_chain):
9333 Do not typefind content if the buffers already have caps.
9334 Neccesary for icydemux (#333657), and the right thing to do anyway.
9336 2006-03-30 Wim Taymans <wim@fluendo.com>
9338 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9339 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9340 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9341 (gst_base_sink_record_qos_observation),
9342 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9343 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9344 (gst_base_sink_change_state):
9345 More QoS measurements as described in the design doc.
9346 Get rid of ringbuffer with observations, running average is
9347 more simple and equally good.
9348 Calculates valid proportion now.
9349 Added beginning of flood measurement.
9351 2006-03-29 Wim Taymans <wim@fluendo.com>
9353 * docs/design/part-qos.txt:
9354 * gst/gstclock.c:
9355 Small documentation updates and additions.
9357 2006-03-29 Wim Taymans <wim@fluendo.com>
9359 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9360 (gst_base_src_send_event), (gst_base_src_loop),
9361 (gst_base_src_change_state):
9362 Perform the EOS logic when we reach the segment stop position.
9363 Fix compilation on gcc4.1
9365 2006-03-29 Wim Taymans <wim@fluendo.com>
9367 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9369 * plugins/elements/gstqueue.c: (gst_queue_init),
9370 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9371 (gst_queue_set_property):
9372 * plugins/elements/gstqueue.h:
9373 In queue, when EOS is received, if minimum threshold > max_size -
9374 current_level, there is chance that queue blocks forever in conditional
9375 item del wait. This is because the queue is not emptied completely due
9376 to minimum threshold. Here is another approach. Instead of setting
9377 cur_levels to max in EOS, just zero all minimum threshold levels. This
9378 should make sure that queue gives out all data. When going to READY
9379 (stop) state, just reset the original minimum threshold levels.
9380 Fixes #336336.
9382 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9384 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9385 (gst_type_find_element_handle_event),
9386 (gst_type_find_element_send_cached_events),
9387 (gst_type_find_element_change_state):
9388 * plugins/elements/gsttypefindelement.h:
9389 When typefinding is done in push mode, we should cache
9390 events we receive during typefinding instead of just
9391 dropping them (e.g. newsegment, custom events from
9392 dvdreadsrc etc.) and then send them out once we've
9393 determined the type of the stream (and decodebin
9394 has had a chance to plug in a decoder/demuxer).
9396 2006-03-27 Wim Taymans <wim@fluendo.com>
9398 * docs/design/part-qos.txt:
9399 First QoS ideas.
9401 2006-03-27 Wim Taymans <wim@fluendo.com>
9403 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9405 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9406 (gst_base_src_send_event), (gst_base_src_change_state):
9407 Handle element seek correctly when we are streaming.
9408 Fixes #326998.
9410 2006-03-24 Michael Smith <msmith@fluendo.com>
9412 * docs/faq/gst-uninstalled:
9413 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9414 allow you to correctly run intalled applications built against old
9415 core, using plugins that require updated core (e.g. running
9416 installed totem against a full uninstalled gstreamer stack)
9418 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9420 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9421 more debug details
9423 2006-03-24 Wim Taymans <wim@fluendo.com>
9425 * docs/gst/gstreamer-sections.txt:
9426 Rearrange the order of the methods so that related methods
9427 are grouped together in sections.
9429 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9431 * gst/gstelement.c:
9432 Little clarification in the docs
9434 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9436 * docs/README:
9437 formatting fix
9438 * plugins/elements/gstidentity.c:
9439 * plugins/elements/gstqueue.c:
9440 * plugins/elements/gsttee.c:
9441 * plugins/elements/gsttypefindelement.c:
9442 GST_ELEMENT_DETAILS formatting
9444 2006-03-24 Wim Taymans <wim@fluendo.com>
9446 * libs/gst/base/gstbasesink.h:
9447 Only add fields, not insert or we break ABI.
9449 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9451 * win32/common/libgstbase.def:
9452 * win32/common/libgstreamer.def:
9453 Update, add recently added functions.
9455 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9457 * docs/gst/gstreamer-sections.txt:
9458 * gst/gstutils.c: (gst_pad_query_peer_position),
9459 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9460 * gst/gstutils.h:
9461 API: add some new utility functions:
9462 - gst_pad_query_peer_position()
9463 - gst_pad_query_peer_duration()
9464 - gst_pad_query_peer_convert()
9466 2006-03-23 Wim Taymans <wim@fluendo.com>
9468 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9469 (gst_base_sink_init), (gst_base_sink_finalize),
9470 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9471 (gst_base_sink_set_property), (gst_base_sink_get_property),
9472 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9473 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9474 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9475 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9476 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9477 (gst_base_sink_preroll_object), (gst_base_sink_event),
9478 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9479 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9480 (gst_base_sink_query), (gst_base_sink_change_state):
9481 Decouple max-lateness and the fact that QoS messages are generated
9482 with a new property (qos).
9483 added API: GstBaseSink::async_play()
9484 Add vmethod so subclasses can be notified of ASYNC playing
9485 state changes.
9486 Collect timestamp start and stop to report better current
9487 position in EOS/PLAYING/PAUSED/READY/NULL.
9488 Refactor QoS/frame dropping and other measurements.
9489 API: GstBaseSrc::qos
9490 Fixes #326311
9492 * libs/gst/base/gstbasesink.h:
9493 Added Private struct.
9494 API: gst_base_sink_set_qos_enabled()
9495 API: gst_base_sink_is_qos_enabled()
9497 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9499 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9500 If compiling against GLib-2.8 or newer, try to read the
9501 registry file using GMappedFile first before falling back
9502 to fopen() + fread() (#332151).
9504 2006-03-22 Wim Taymans <wim@fluendo.com>
9506 * gst/gstinfo.c: (gst_debug_set_active),
9507 (gst_debug_category_set_threshold):
9508 Disable debugging unless explicitly activated.
9509 Fixes #335480.
9511 2006-03-22 Wim Taymans <wim@fluendo.com>
9513 * gst/gstelement.c: (gst_element_set_locked_state),
9514 (gst_element_dispose):
9515 Cleanup the error case.
9517 * gst/gstobject.c: (gst_object_dispose):
9518 print a critical when some object was disposed with
9519 a parent, also revive the object since it might
9520 crash the parent.
9522 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9524 * tools/gst-launch.1.in:
9525 Fix another typo.
9527 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9529 * configure.ac:
9530 * tests/check/Makefile.am:
9531 disable some tests when we don't have a registry
9532 * tests/check/gst/gstutils.c: (gst_utils_suite):
9533 don't build the part that needs parsing
9535 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9537 * gst/Makefile.am
9538 * tests/examples/Makefile.am:
9539 fix --disable-parse build
9541 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9543 * tools/gst-feedback.1.in:
9544 Fix typo: s/feeback/feedback/ (#133494).
9546 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9548 * tools/Makefile.am:
9549 * tools/gst-launch.1.in:
9550 Add FILES section and correct entry about GST_REGISTRY_PATH
9551 environment variable (#133495; #133494).
9553 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9555 * tools/Makefile.am:
9556 * tools/gst-md5sum.1.in:
9557 * tools/gst-md5sum.c:
9558 Remove gst-md5sum and man page (the md5sink element
9559 required was removed ages ago)
9561 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9563 * gst/gststructure.c: (gst_structure_id_set_value):
9564 Make sure that string fields in structures/taglists
9565 contain valid UTF-8 - we don't want to pass rubbish to
9566 applications because of a buggy plugin (cp. #334167).
9568 2006-03-21 Edward Hervey <edward@fluendo.com>
9570 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9571 (gst_bin_handle_message_func):
9572 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9573 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9574 (gst_element_set_bus_func):
9575 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9576 * gst/gstminiobject.c: (gst_value_set_mini_object),
9577 (gst_value_take_mini_object):
9578 * gst/gstpad.c: (gst_pad_set_pad_template):
9579 * gst/gstpipeline.c: (gst_pipeline_dispose),
9580 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9582 (gst_collect_pads_chain):
9583 * libs/gst/net/gstnettimeprovider.c:
9584 (gst_net_time_provider_set_property):
9585 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9586 It's in fact all issues with gst_*object_replace().
9588 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9590 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9592 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9593 * pkgconfig/gstreamer-check.pc.in:
9594 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9596 2006-03-21 Edward Hervey <edward@fluendo.com>
9598 * gst/gstbuffer.h:
9599 * gst/gstevent.h:
9600 * gst/gstmessage.h:
9601 gst_[buffer|event|message]_ref() macros are replaced by a static
9602 inline functions because gcc-4.1 will about if the return value
9603 isn't used.
9604 * tests/check/gst/gstevent.c: (event_probe):
9605 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9607 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9609 * gst/gstutils.h:
9610 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9611 the type' case. (Closes: #335195 for now). In the future, when we
9612 depend on GLib 2.10, we could also intern the type name using
9613 g_intern_static_string()
9615 2006-03-20 Wim Taymans <wim@fluendo.com>
9617 * gst/gstbin.c: (gst_bin_handle_message_func),
9618 (bin_query_max_init), (bin_query_position_fold),
9619 (bin_query_position_done), (gst_bin_query):
9620 Position query should also take max of all streams.
9622 2006-03-20 Wim Taymans <wim@fluendo.com>
9624 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9625 (gst_fake_src_finalize):
9626 Fix leaks in fakesrc.
9628 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9629 Fix leaks in the testcase.
9631 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9633 * gst/gst_private.h:
9634 add win32 specific import decoration(__declspec(dllimport))
9635 for all extern GstDebugCategory * variables
9636 * win32/common/libgstbase.def:
9637 * win32/common/libgstcontroller.def:
9638 * win32/common/libgstreamer.def:
9639 Add some exports, remove empty lines
9640 * win32/common/libgstdataprotocol.def:
9641 * win32/common/libgstdataprotocol.dsp:
9642 * win32/common/libgstnet.def:
9643 * win32/common/libgstnet.dsp:
9644 new project files and exportation files added
9646 2006-03-19 Wim Taymans <wim@fluendo.com>
9648 * tests/check/libs/basesrc.c: (eos_event_counter):
9649 Use proper return value for probe.
9651 2006-03-17 Wim Taymans <wim@fluendo.com>
9653 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9654 (gst_pad_push):
9655 Don't leak buffers, caps and pads on negotiation errors.
9657 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9659 * docs/faq/cvs.xml:
9660 * docs/faq/dependencies.xml:
9661 * docs/faq/developing.xml:
9662 * docs/faq/faq.xml:
9663 * docs/faq/general.xml:
9664 * docs/faq/getting.xml:
9665 * docs/faq/legal.xml:
9666 * docs/faq/troubleshooting.xml:
9667 * docs/faq/using.xml:
9668 Faq review and update.
9670 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9672 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9673 (gst_pad_push):
9674 Don't pound the cpu to pieces by checking get_caps when accept_caps
9675 is called with the same caps as the pad already has.
9676 Use GST_DEBUG_OBJECT when outputting caps change information.
9678 2006-03-15 Wim Taymans <wim@fluendo.com>
9680 * gst/gstclock.c: (gst_clock_class_init):
9681 Fix docs.
9683 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9685 * gst/gstbuffer.h:
9686 Documentation fix.
9688 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9689 (gst_pad_accept_caps), (gst_pad_configure_sink),
9690 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9691 Make the default acceptcaps behaviour be to check the requested
9692 caps against the gst_pad_get_caps output.
9694 Ensure that gst_pad_accept_caps is used to check caps when a pad
9695 doesn't have a setcaps function, so that pads automatically refuse
9696 caps that they don't allow in their pad template. (Fixes #332986)
9698 When a buffer with attached caps is pushed, ensure that the source
9699 pad receives those caps even if the element didn't call
9700 gst_pad_set_caps first.
9702 2006-03-15 Wim Taymans <wim@fluendo.com>
9704 * libs/gst/base/gstadapter.c:
9705 Add some docs.
9707 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9709 * win32/common/libgstbase.def:
9710 * win32/common/libgstcontroller.def:
9711 * win32/common/libgstreamer.def:
9712 Add a whole bunch of missing functions (#334434).
9714 2006-03-14 Wim Taymans <wim@fluendo.com>
9716 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9717 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9718 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9719 Better debug info when we receive a segment event.
9720 Reorganize a bit so we can pass the get_times() results around.
9721 Use the segment format when calculating the running time.
9722 Don't do QoS is sync is disabled or we have no clock or the
9723 element does not want us to sync to the clock.
9724 Don't drop buffers if QoS is disabled for now.
9726 2006-03-14 Wim Taymans <wim@fluendo.com>
9728 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9729 Marked the stats property as unimplemented so people don't get
9730 wild ideas.
9731 Add debug message when regression goes wrong.
9732 Added some more docs.
9734 2006-03-14 Wim Taymans <wim@fluendo.com>
9736 * gst/gstsegment.c: (gst_segment_to_stream_time):
9737 Return correct return type in case of errors.
9739 2006-03-14 Wim Taymans <wim@fluendo.com>
9741 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9742 Don't segfault on invalid formats.
9744 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9747 Can't use gst_segment_to_running_time() when the segment
9748 is not in GST_TIME_FORMAT (like with filesink, for example).
9749 Stops flac encoding pipelines from spewing critical warnings
9750 at EOS (#331248).
9752 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9754 * gst/gstpipeline.c: (gst_pipeline_class_init):
9755 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9757 * plugins/elements/gsttypefindelement.c:
9758 (gst_type_find_element_handle_event):
9759 Don't try to typefind empty streams.
9761 2006-03-14 Wim Taymans <wim@fluendo.com>
9763 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9764 (gst_base_sink_do_qos):
9765 Separate QoS calculation.
9766 Only drop buffers when lateness is bigger than the
9767 duration of the buffer.
9769 2006-03-13 Wim Taymans <wim@fluendo.com>
9771 * gst/gstpipeline.c: (gst_pipeline_set_property),
9772 (gst_pipeline_get_property), (do_pipeline_seek),
9773 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9774 (gst_pipeline_get_delay):
9775 Don't deadlock when reading properties.
9777 2006-03-13 Wim Taymans <wim@fluendo.com>
9779 * libs/gst/base/gstbasetransform.c:
9780 (gst_base_transform_class_init), (gst_base_transform_init),
9781 (gst_base_transform_sink_event),
9782 (gst_base_transform_sink_eventfunc),
9783 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9784 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9785 (gst_base_transform_set_property),
9786 (gst_base_transform_get_property),
9787 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9788 (gst_base_transform_set_qos_enabled),
9789 (gst_base_transform_is_qos_enabled):
9790 * libs/gst/base/gstbasetransform.h:
9791 Make basetransform virtual method for src events too.
9792 Handle QOS in basetransform.
9793 API: gst_base_transform_update_qos()
9794 API: gst_base_transform_set_qos_enabled()
9795 API: gst_base_transform_is_qos_enabled()
9797 2006-03-13 Wim Taymans <wim@fluendo.com>
9799 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9800 (gst_base_sink_do_sync):
9801 Small cleanups.
9802 Use QOS debug category.
9804 2006-03-13 Wim Taymans <wim@fluendo.com>
9806 * plugins/elements/gstqueue.c:
9807 Very small doc update.
9809 2006-03-13 Wim Taymans <wim@fluendo.com>
9811 * gst/gst_private.h:
9812 * gst/gstinfo.c: (_gst_debug_init):
9813 Added QOS debug category
9815 2006-03-13 Wim Taymans <wim@fluendo.com>
9817 * docs/gst/gstreamer-sections.txt:
9818 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9819 * gst/gstbin.h:
9820 * gst/gstbus.c: (gst_bus_class_init):
9821 * gst/gstbus.h:
9822 * gst/gstclock.c:
9823 * gst/gstelement.c: (gst_element_set_locked_state):
9824 * gst/gstsegment.c:
9825 Documentation updates.
9827 * gst/gstpipeline.c: (gst_pipeline_get_type),
9828 (gst_pipeline_class_init), (gst_pipeline_init),
9829 (gst_pipeline_dispose), (gst_pipeline_set_property),
9830 (gst_pipeline_get_property), (do_pipeline_seek),
9831 (gst_pipeline_send_event), (gst_pipeline_change_state),
9832 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9833 (gst_pipeline_get_delay):
9834 * gst/gstpipeline.h:
9835 Added methods for setting the delay.
9836 API: gst_pipeline_set_delay()
9837 API: gst_pipeline_get_delay()
9838 Add pipeline debug category
9839 Various cleanups.
9840 Updated docs.
9841 Don't reset stream time when seek failed.
9843 2006-03-13 Wim Taymans <wim@fluendo.com>
9845 * docs/design/draft-klass.txt:
9846 * docs/design/part-clocks.txt:
9847 * docs/design/part-events.txt:
9848 * docs/design/part-gstbin.txt:
9849 * docs/design/part-gstpipeline.txt:
9850 * docs/design/part-messages.txt:
9851 * docs/design/part-negotiation.txt:
9852 * docs/design/part-overview.txt:
9853 * docs/design/part-preroll.txt:
9854 * docs/design/part-seeking.txt:
9855 * docs/design/part-states.txt:
9856 * docs/design/part-streams.txt:
9857 Documentation updates.
9859 2006-03-12 Julien MOUTTE <julien@moutte.net>
9861 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9862 us to leak strings...
9864 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9866 * libs/gst/net/gstnettimeprovider.c:
9867 fix docs
9868 * win32/common/config.h:
9869 update
9871 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9873 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9875 * configure.ac:
9876 Don't check for libgnomeui (leftover from old examples
9877 that aren't built or disted any longer) (#334303).
9879 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9881 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9882 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9883 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9884 there's no space left on the device.
9886 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9888 * gst/gstclock.h:
9889 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9890 to cast the input to GstClockTime before comparing with
9891 another GstClockTime value.
9893 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9895 * configure.ac:
9896 back to trunk
9898 === release 0.10.4 ===
9900 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9902 * configure.ac:
9903 releasing 0.10.4, "Light"
9905 2006-03-10 Michael Smith <msmith@fluendo.com>
9907 * libs/gst/dataprotocol/dataprotocol.c:
9908 Fix docs for dataprocotol to not get the return types completely
9909 wrong for a few functions.
9911 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9913 * docs/gst/gstreamer-sections.txt:
9914 * gst/gstpipeline.c: (gst_pipeline_class_init),
9915 (gst_pipeline_init), (gst_pipeline_set_property),
9916 (gst_pipeline_get_property), (gst_pipeline_change_state),
9917 (gst_pipeline_set_auto_flush_bus),
9918 (gst_pipeline_get_auto_flush_bus):
9919 * gst/gstpipeline.h:
9920 Add new API: gst_pipeline_set_auto_flush_bus() and
9921 gst_pipeline_get_auto_flush_bus() to disable automatic
9922 flushing of the pipeline's GstBus when going from READY
9923 to NULL state (#332045).
9925 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9927 * docs/gst/gstreamer-sections.txt:
9928 * gst/gsturi.c: (gst_uri_has_protocol):
9929 * gst/gsturi.h:
9930 Add new API: gst_uri_has_protocol() (#333779).
9932 2006-03-09 Wim Taymans <wim@fluendo.com>
9934 * gst/gstclock.c: (gst_clock_entry_new),
9935 (gst_clock_id_compare_func), (gst_clock_id_wait),
9936 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9937 (gst_clock_init), (gst_clock_get_internal_time),
9938 (gst_clock_set_master), (do_linear_regression),
9939 (gst_clock_add_observation), (gst_clock_set_property):
9940 * gst/gstclock.h:
9941 Review docs.
9942 Small cleanups.
9943 Fix a possible segfault when the window-size is made smaller.
9944 Calculate jitter before performing the clock wait. Ideally
9945 the clock implementation should calculate jitter but we need
9946 API breakage for that.
9948 * gst/gstsystemclock.c: (gst_system_clock_init):
9949 Docs review.
9951 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9952 Remove leftover else
9954 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9955 (gst_systemclock_suite):
9956 Added check to test GST_CLOCK_DIFF.
9958 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9960 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9961 (gst_type_find_helper_get_range):
9962 If we are provided with the size, we should implement
9963 GstTypeFind::get_length, so that typefind functions who
9964 want to can actually peek at the middle of a file.
9966 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9968 * docs/manual/advanced-dataaccess.xml:
9969 Add some very very basic error checking.
9971 * docs/pwg/appendix-checklist.xml:
9972 Some updates to the list of things to check when writing an element.
9974 2006-03-08 Wim Taymans <wim@fluendo.com>
9976 * docs/design/part-element-transform.txt:
9977 Added some docs about the design of tranform elements.
9979 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9980 (gst_base_src_loop), (gst_base_src_change_state):
9981 Mark buffers with the DISCONT flag.
9983 2006-03-08 Michael Smith <msmith@fluendo.com>
9985 * gst/gstregistry.h:
9986 * gst/gstregistryxml.c: (gst_registry_save),
9987 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9988 (gst_registry_xml_save_pad_template),
9989 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9990 (gst_registry_xml_write_cache):
9991 Rewrite registry-saving to avoid race conditions and check for
9992 failed writes.
9994 2006-03-08 Wim Taymans <wim@fluendo.com>
9996 * libs/gst/base/gstbasetransform.c:
9997 (gst_base_transform_transform_caps),
9998 (gst_base_transform_transform_size),
9999 (gst_base_transform_prepare_output_buffer),
10000 (gst_base_transform_get_unit_size),
10001 (gst_base_transform_buffer_alloc),
10002 (gst_base_transform_handle_buffer),
10003 (gst_base_transform_change_state):
10004 Cleanups, separate normal flow from errors, add sensible
10005 DEBUG lines.
10006 Don't try to renegotiate when allocating an output buffer.
10007 Also copy DISCONT buffer flag when copying a buffer.
10008 Reset the transform after we finish streaming, not during.
10010 2006-03-08 Wim Taymans <wim@fluendo.com>
10012 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10013 Use last buffer timestamp in qos message.
10015 2006-03-07 Wim Taymans <wim@fluendo.com>
10017 Patch by: Christophe Fergeau
10019 * docs/pwg/advanced-tagging.xml:
10020 * docs/pwg/building-pads.xml:
10021 fixes #333416
10023 2006-03-07 Wim Taymans <wim@fluendo.com>
10025 * docs/libs/gstreamer-libs-sections.txt:
10026 Added basesink new methods.
10028 * gst/gstevent.c:
10029 * gst/gstevent.h:
10030 Docs updates. Flesh out the QoS docs.
10032 * libs/gst/base/gstadapter.c:
10033 Small doc clarification about ownership and flushing.
10035 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10036 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10037 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10038 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10039 * libs/gst/base/gstbasesink.h:
10040 API additions:
10041 Added new methods to allow subclass to control max-lateness
10042 and sync.
10043 Generate very basic QoS events based on last sync observation.
10044 Updated docs, fix typo, added some QoS blurb.
10046 * libs/gst/base/gstbasesrc.c:
10047 Remove obsolete _get_state() calls from docs.
10049 2006-03-07 Wim Taymans <wim@fluendo.com>
10051 * docs/libs/gstreamer-libs-sections.txt:
10052 * libs/gst/base/gstbasetransform.h:
10053 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10054 Fix docs for GstBaseSrc.
10056 2006-03-07 Wim Taymans <wim@fluendo.com>
10058 * docs/gst/gstreamer-sections.txt:
10059 * gst/gstbuffer.h:
10060 * gst/gstvalue.c:
10061 * libs/gst/base/gstbasetransform.h:
10062 Small documentation fixes.
10064 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10066 * gst/gstvalue.c:
10067 Document thread-unsafety of gst_value_register_foo_func()
10068 when used at the same time as gst_value_foo() (#322628).
10070 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10072 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10073 (gst_push_src_check_get_range):
10074 Push sources don't support pull mode by default.
10076 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10078 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10079 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10080 (gst_base_src_default_check_get_range):
10081 * libs/gst/base/gstbasesrc.h:
10082 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10083 provide default implementation, and rename
10084 gst_base_src_check_get_range() to
10085 gst_base_src_pad_check_get_range() for clarity.
10087 2006-03-06 Wim Taymans <wim@fluendo.com>
10089 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10090 Make property overridable.
10092 2006-03-06 Wim Taymans <wim@fluendo.com>
10094 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10095 (gst_base_sink_init), (gst_base_sink_set_property),
10096 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10097 * libs/gst/base/gstbasesink.h:
10098 API addition: Make max-lateness a property.
10100 2006-03-06 Wim Taymans <wim@fluendo.com>
10102 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10103 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10104 Don't ever draw a frame that is >10ms late.
10106 2006-03-06 Michael Smith <msmith@fluendo.com>
10108 * gst/gstmessage.c: (_gst_message_copy):
10109 When copying a message, set the parent_refcount of the enclosed
10110 structure to point at the copy, not the original message.
10112 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10114 Patch by: Christophe Fergeau
10116 * gst/gstutils.h:
10117 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10118 usable in c++ code (#333417)
10120 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10122 * gst/gstclock.h:
10123 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10125 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10127 * libs/gst/base/gstbasetransform.c:
10128 (gst_base_transform_transform_caps):
10129 Make sure caps are writable before passing them to
10130 gst_caps_append().
10132 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10134 * gst/gsterror.h:
10135 Fix some minor docs errors.
10137 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10139 Patch by: Ross Burton <ross at burtonini dot com>
10141 * gst/gsterror.c: (_gst_resource_errors_init):
10142 * gst/gsterror.h:
10143 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10145 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10147 * gst/gst.c:
10148 Add a check and output a g_warning when GStreamer is built
10149 against GLib 2.6 but running against 2.8 or higher, and vice
10150 versa. (Closes: #323542)
10152 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10154 * gst/parse/parse.l:
10155 Commit patch for parse_launch syntax from #331255. Removes
10156 support for quoted strings and mimetypes when writing filtered
10157 caps. See the bug report for more details - I'm pretty sure this
10158 obscure feature is not in use by _anyone_ anywhere.
10160 With this simple change, the size of the gstreamer.so here
10161 drops from 2193KB to 1565KB.
10163 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10165 * plugins/elements/gsttypefindelement.h:
10166 * plugins/elements/gsttypefindelement.c:
10167 (gst_type_find_element_src_event), (start_typefinding),
10168 (stop_typefinding), (gst_type_find_element_handle_event),
10169 (gst_type_find_element_chain),
10170 (gst_type_find_element_chain_do_typefinding):
10171 Use gst_type_find_helper_for_buffer() for chain-based
10172 typefinding.
10174 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10176 * plugins/elements/gsttypefindelement.c:
10177 (gst_type_find_element_class_init),
10178 (gst_type_find_element_set_property),
10179 (gst_type_find_element_get_property):
10180 Deprecate "maximum" property (not only was it only taken into
10181 account for typefinding in push-mode anyway, it also was never
10182 actually possible to set it in the first place because the
10183 property was registered with the numeric property ID for the
10184 "minimum" property). Register "maximum" property correctly,
10185 for the sake of future copy'n'pasters. Remove some cruft
10186 from property get/set functions.
10188 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10190 * plugins/elements/gsttypefindelement.c:
10191 (gst_type_find_element_activate):
10192 Use gst_type_find_helper_get_range() here, so we
10193 can honour the "minimum" property and also emit
10194 the signal with the correct probability of the found caps.
10196 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10198 * docs/libs/gstreamer-libs-sections.txt:
10199 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10200 (helper_find_suggest), (gst_type_find_helper_get_range),
10201 (gst_type_find_helper):
10202 * libs/gst/base/gsttypefindhelper.h:
10203 New API: gst_type_find_helper_get_range() (#333042).
10205 2006-03-02 Michael Smith <msmith@fluendo.com>
10207 * gst/gstregistryxml.c: (load_feature):
10208 Asserting on a failure to read part of the registry is Not Cool.
10209 Just log a warning and return NULL (which is already handled)
10211 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10213 * win32/common/libgstbase.def:
10214 added export of gst_type_find_helper_for_buffer
10215 * win32/common/libgstbase.def:
10216 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10217 gst_ghost_pad_get_target
10219 2006-02-28 Wim Taymans <wim@fluendo.com>
10221 * docs/design/draft-klass.txt:
10222 We use Filter now.
10223 Added Connector to mark elements that are only used to
10224 allow pipeline connections.
10225 Moved Debug to extra feature since most of them are
10226 functionally something else.
10228 2006-02-28 Wim Taymans <wim@fluendo.com>
10230 * docs/design/draft-klass.txt:
10231 Some updates and clarifications.
10233 2006-02-28 Wim Taymans <wim@fluendo.com>
10235 * docs/design/draft-klass.txt:
10236 Proposal for klass field values.
10238 * docs/design/part-streams.txt:
10239 Start of a doc describing stream anatomy.
10241 2006-02-28 Wim Taymans <wim@fluendo.com>
10243 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10244 Help the compiler a bit with type registration.
10245 Use existing forward cod path instead of duplicating it when
10246 handling a message.
10248 * gst/gstbus.c: (gst_bus_get_type):
10249 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10250 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10251 * gst/gstclock.c: (gst_clock_get_type):
10252 * gst/gstelement.c: (gst_element_get_type),
10253 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10254 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10255 * gst/gstminiobject.c: (gst_mini_object_get_type):
10256 * gst/gstpad.c: (gst_pad_get_type):
10257 * gst/gstsegment.c: (gst_segment_get_type):
10258 * gst/gststructure.c: (gst_structure_get_type):
10259 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10260 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10261 * gst/gstvalue.c:
10262 Help compiler with type registration.
10264 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10265 Small doc update.
10267 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10269 * plugins/elements/gsttypefindelement.c:
10270 (gst_type_find_element_handle_event):
10271 When we get an EOS event and have not found a type yet
10272 (most likely because we had not yet accumulated
10273 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10274 type given the data we have so far. Fixes typefinding
10275 for very short streams again, most notably quicktime
10276 redirections as used on Apple's trailer site (#331701).
10278 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10280 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10281 (gst_type_find_helper):
10282 Try typefinding factories with the highest rank first.
10284 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10286 * docs/libs/gstreamer-libs-docs.sgml:
10287 * docs/libs/gstreamer-libs-sections.txt:
10288 * libs/gst/base/gsttypefindhelper.c:
10289 Add section for typefind helper and add documentation
10290 for the old and the new function.
10292 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10294 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10295 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10296 (gst_type_find_helper_for_buffer):
10297 * libs/gst/base/gsttypefindhelper.h:
10298 New API: gst_type_find_helper_for_buffer() (#332723).
10300 2006-02-27 Michael Smith <msmith@fluendo.com>
10302 Patch by: Loïc Minier
10304 * configure.ac:
10305 * docs/Makefile.am:
10306 * docs/slides/Makefile.am:
10307 prevent CVS directories getting disted.
10309 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10311 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10312 Use the REFCOUNTING category for caps refcounting.
10314 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10316 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10317 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10319 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10321 * plugins/elements/gsttypefindelement.c:
10322 (gst_type_find_element_activate):
10323 Use gst_pad_check_pull_range() before _activate_pull()
10324 to avoid unnecessary open/close (see #331690).
10326 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10328 * gst/gstutils.c:
10329 Docs enhancement: make it crystal clear what the
10330 gst_pad_add_*_probe() callbacks should look like.
10332 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10334 * libs/gst/base/gstbasesrc.c:
10335 Document how applications can stop recording from
10336 live sources (see #330996).
10338 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10340 * tests/check/Makefile.am:
10341 * tests/check/libs/basesrc.c: (eos_event_counter),
10342 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10343 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10344 (gst_basesrc_suite), (main):
10345 ... and add some tests for the base source EOS stuff.
10347 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10349 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10350 Test case originally showed the problem fixed below,
10351 but was then amended. Add checks back at the place
10352 where they used to be.
10354 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10356 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10357 (gst_base_src_init), (gst_base_src_loop),
10358 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10359 (gst_base_src_change_state):
10360 * libs/gst/base/gstbasesrc.h:
10361 Don't unconditionally send EOS when going from PAUSED to
10362 READY state, esp. make sure we don't send two EOS events
10363 in some cases (e.g. one when reaching EOS and one when
10364 going from PAUSED to READY). Also, we don't want to send
10365 EOS events when operating in pull mode. However, we do
10366 want to send an EOS event when shutting down a live
10367 source explicitly, for example (fixes #330996).
10369 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10371 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10372 Update src->read_position after a seek when not using mmap.
10373 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10375 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10377 * gst/Makefile.am:
10378 * gst/gstparse.h:
10379 * gst/gstutils.c:
10380 * gst/gstutils.h:
10381 Make things work with --disable-parse as they do with
10382 --disable-load-save - the symbols involved disappear, but the
10383 header is still installed and GST_DISABLE_PARSE is included via
10384 gstconfig.h
10386 2006-02-20 Julien MOUTTE <julien@moutte.net>
10388 * libs/gst/base/gstbasetransform.c:
10389 (gst_base_transform_change_state): Fix a stupid bug. I was
10390 sure I compiled that.
10392 2006-02-20 Julien MOUTTE <julien@moutte.net>
10394 * gst/gstpad.c: (gst_pad_set_blocked_async):
10395 * gst/gstutils.c: (gst_pad_add_data_probe),
10396 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10397 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10398 (gst_pad_remove_buffer_probe): Make those function act on the
10399 ghostpad target when it's a ghostpad. (Closes #331727)
10401 2006-02-20 Julien MOUTTE <julien@moutte.net>
10403 * libs/gst/base/gstbasetransform.c:
10404 (gst_base_transform_change_state): Make basetransform reusable.
10405 (Closes #331898)
10407 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10409 * docs/random/release:
10410 Move the current documentation of how to do a release to the top
10411 of the file.
10413 * gst/gstbin.c: (gst_bin_class_init),
10414 (gst_bin_handle_message_func):
10415 Allow multiple state-recalculation threads. (Closes #328873)
10417 2006-02-19 Julien MOUTTE <julien@moutte.net>
10419 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10420 * gst/gstpad.c: (gst_pad_set_event_function),
10421 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10422 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10423 2 strings. You can't use the STR_NULL macro on that.
10425 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10427 * gst/gstpad.c: (gst_pad_set_event_function),
10428 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10429 (gst_pad_set_getcaps_function)
10430 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10431 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10432 So now, we can use --gst-debug-level=5 on Windows
10433 * win32/common/libgstcontroller.def:
10434 Added export of gst_controller_init
10435 * win32/vs6/libgstcontroller.dsp:
10436 Fixed Release post build configuration
10438 2006-02-17 Wim Taymans <wim@fluendo.com>
10440 * tests/check/gst/gstquery.c: (GST_START_TEST):
10441 Added another check.
10443 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10445 * plugins/elements/gsttypefindelement.c: (find_peek):
10446 We can do peeks at non-zero offsets, as long as they
10447 fall within the buffer we have.
10449 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10451 * tests/check/Makefile.am:
10452 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10453 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10454 (parse_suite), (main):
10455 Add testsuite for parse launch syntax
10457 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10459 * plugins/elements/gsttypefindelement.c:
10460 (gst_type_find_element_chain):
10461 When typefinding is unsuccessful in the chain function, don't
10462 error out immediately. Only error out with NO_CAPS_FOUND if
10463 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10464 otherwise simply wait for more data so we can try typefinding
10465 again with more data later. Also, don't attempt to typefind
10466 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10467 this should improve typefinding from network sources where the
10468 size of the first buffer can be somewhat random.
10470 2006-02-14 Wim Taymans <wim@fluendo.com>
10472 * docs/gst/gstreamer-sections.txt:
10473 * gst/gstpadtemplate.c:
10474 * gst/gstpadtemplate.h:
10475 Fix padtemplate docs, fixes #328805.
10477 2006-02-14 Wim Taymans <wim@fluendo.com>
10479 * tools/gst-launch.c: (main):
10480 NO_PREROLL is not an ERROR so don't send confusing messages
10481 to the user.
10483 2006-02-14 Wim Taymans <wim@fluendo.com>
10485 Patch by: Torsten Schoenfeld
10487 * gst/gstregistry.c: (gst_registry_get_default),
10488 (_gst_registry_cleanup):
10489 Protect default registry with lock and ref/sink it.
10490 Fixes #324818
10492 2006-02-14 Wim Taymans <wim@fluendo.com>
10494 * gst/gstbuffer.c:
10495 * gst/gstquery.c: (gst_query_list_add_format),
10496 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10497 (gst_query_parse_formats_nth):
10498 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10499 Docs fixes.
10501 2006-02-14 Wim Taymans <wim@fluendo.com>
10503 * docs/gst/gstreamer-sections.txt:
10504 Reworked query docs.
10506 * gst/gstquery.c: (gst_query_new_formats),
10507 (gst_query_list_add_format), (gst_query_set_formats),
10508 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10509 (gst_query_parse_formats_nth):
10510 * gst/gstquery.h:
10511 Flesh out formats query, added some new methods.
10512 Fix part of #324398.
10514 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10515 Added query creation tests.
10517 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10519 * gst/gstpad.c: (fixate_value):
10520 Add a default fixation for fraction lists.
10522 2006-02-13 Wim Taymans <wim@fluendo.com>
10524 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10525 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10526 (gst_task_join):
10527 * gst/gsttask.h:
10528 Detect and warn for obvious deadlocks. fixes #320340
10529 Fix error case where lock was not released.
10531 * tests/check/Makefile.am:
10532 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10533 (task_func), (gst_element_suite), (main):
10534 Add task check.
10536 2006-02-13 Wim Taymans <wim@fluendo.com>
10538 * docs/gst/gstreamer-sections.txt:
10539 * gst/gstbus.c:
10540 Add new functions to docs.
10542 2006-02-13 Wim Taymans <wim@fluendo.com>
10544 * docs/design/part-TODO.txt:
10545 Updated TODO list, basesrc supports seeking to non-bytes
10546 formats.
10548 * docs/design/part-element-sink.txt:
10549 Update docs.
10551 * gst/gstbin.c: (bin_replace_message),
10552 (gst_bin_handle_message_func):
10553 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10554 * gst/gstevent.c: (gst_event_finalize):
10555 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10556 (gst_pad_send_event):
10557 Use shiny new _TYPE_NAME macros.
10559 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10560 Move debug statement up.
10562 * gst/gstelement.c: (gst_element_set_locked_state):
10563 Add some debugging.
10565 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10567 * docs/gst/gstreamer-sections.txt:
10568 * gst/gstmessage.h:
10569 * gst/gstquery.h:
10570 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10571 macros (#330906). Also, document the already existing
10572 GST_QUERY_TYPE macro.
10574 2006-02-13 Wim Taymans <wim@fluendo.com>
10576 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10577 (event_probe), (GST_START_TEST):
10578 Only events up to the pipeline EOS are counted, there are
10579 some more when going to NULL currently which we don't care
10580 about for now.
10582 2006-02-13 Wim Taymans <wim@fluendo.com>
10584 * gst/gstpad.c: (gst_pad_send_event):
10585 Correctly check flushing and emit probes. fixes #330125
10587 2006-02-10 Andy Wingo <wingo@pobox.com>
10589 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10590 structure.
10591 (gst_bus_init): Cache the location of the private data in the
10592 instance structure.
10593 (gst_bus_enable_sync_message_emission)
10594 (gst_bus_disable_sync_message_emission): Implement new public
10595 functions.
10596 (gst_bus_post): Emit the sync-message signal if the user asked for
10597 it. Fixes #330684.
10599 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10600 location of the bus-private structure.
10601 (gst_bus_enable_sync_message_emission)
10602 (gst_bus_disable_sync_message_emission): API addition
10604 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10606 Patch by: Vincent Torri
10608 * docs/pwg/building-boiler.xml:
10609 PWG patch from #326800
10611 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10613 * configure.ac:
10614 * docs/Makefile.am:
10615 * docs/design/Makefile.am:
10616 Dist design docs.
10618 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10620 * configure.ac:
10621 back to CVS
10623 === release 0.10.3 ===
10625 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10627 * configure.ac:
10628 releasing 0.10.3, "Like a virgin"
10630 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10632 * configure.ac:
10633 2nd prerelease of 0.10.3
10634 Bump libtool versioning.
10636 2006-02-07 Andy Wingo <wingo@pobox.com>
10638 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10639 update last_stop if we're in TIME format and the timestamp is
10640 valid.
10642 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10643 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10644 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10645 If we get a new newsegment with a different format, adapt
10646 accordingly.
10648 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10649 of 0. Not a problem, really.
10651 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10652 warn if sync=true.
10654 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10656 * configure.ac:
10657 Prelease of 0.10.3
10659 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10661 * win32/vs7:
10662 project files updated to the default vs7 configuration
10663 * win32/common/libgstbase.def:
10664 * win32/common/libgstreamer.def:
10665 added new symbols,
10666 removed empty lines,
10667 sorted all exported symbols alphabetically
10668 * win32/common/dirent.c:
10669 * win32/common/dirent.h:
10670 * win32/common/gchar.h:
10671 use windows line end.
10673 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10675 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10676 Send EOS event when stopping.
10678 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10680 * docs/README:
10681 Tell folks what to do if the plugin-foobar.xml file
10682 hasn't been generated for a newly-added plugin.
10684 2006-02-05 Julien MOUTTE <julien@moutte.net>
10686 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10687 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10688 (gst_collect_pads_start), (gst_collect_pads_stop),
10689 (gst_collect_pads_event): Collectpads now holds a reference
10690 to the GstPad that was added. Indeed we don't want to look
10691 at pads that might just go away with no warning...
10693 2006-02-05 Julien MOUTTE <julien@moutte.net>
10695 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10696 (gst_collect_pads_start), (gst_collect_pads_stop),
10697 (gst_collect_pads_event), (gst_collect_pads_chain):
10698 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10699 Mark Nauwelaerts's patch on bug #328491.
10701 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10703 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10704 (gst_utils_suite):
10705 Add some simple tests for gst_parse_bin_from_description() and
10706 gst_bin_find_unconnected_pad() (#329069).
10708 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10710 * tools/gst-launch.c: (event_loop), (main):
10711 Catch errors during preroll (#320084).
10713 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10715 * plugins/elements/gsttypefindelement.c:
10716 (gst_type_find_element_activate):
10717 Post TYPE_NOT_FOUND error message when typefinding
10718 is unsuccessful in the activate function as well.
10720 2006-02-02 Wim Taymans <wim@fluendo.com>
10722 * docs/design/part-element-sink.txt:
10723 Updated doc.
10725 2006-02-02 Wim Taymans <wim@fluendo.com>
10727 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10728 (gst_base_sink_render_object),
10729 (gst_base_sink_queue_object_unlocked):
10730 Only keep track of prerollable items when we are
10731 prerolling.
10732 Before rendering after preroll, always check if we
10733 have queued items.
10734 Added some more debugging.
10736 2006-02-02 Wim Taymans <wim@fluendo.com>
10738 * gst/gstelement.c: (gst_element_continue_state),
10739 (gst_element_set_state_func), (gst_element_change_state):
10740 Fixed #326576, been running this for quite some time with
10741 no regressions at all.
10743 2006-02-02 Wim Taymans <wim@fluendo.com>
10745 * common/gst.supp:
10746 Added more suppressions
10748 2006-02-02 Wim Taymans <wim@fluendo.com>
10750 * docs/design/part-element-sink.txt:
10751 Updated document.
10753 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10754 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10755 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10756 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10757 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10758 (gst_base_sink_preroll_object),
10759 (gst_base_sink_queue_object_unlocked),
10760 (gst_base_sink_queue_object), (gst_base_sink_event),
10761 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10762 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10763 (gst_base_sink_get_position), (gst_base_sink_change_state):
10764 * libs/gst/base/gstbasesink.h:
10765 Totally refactored matching the design doc.
10766 Use two segments, one to clip incomming buffers and another to
10767 perform sync.
10768 Handle queueing correctly, bypass the queue when playing.
10769 Make EOS cancelable.
10770 Handle errors correctly when operating in pull based mode.
10772 * tests/check/elements/fakesink.c: (GST_START_TEST),
10773 (fakesink_suite):
10774 Added new check for sinks.
10776 2006-02-02 Wim Taymans <wim@fluendo.com>
10778 * gst/gstsegment.c: (gst_segment_clip):
10779 No reason to refuse to clip when start == -1
10781 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10783 * docs/README:
10784 * docs/manual/intro-basics.xml:
10785 * docs/manual/intro-preface.xml:
10786 * docs/manual/manual.xml:
10787 * docs/pwg/advanced-dparams.xml:
10788 * docs/pwg/intro-basics.xml:
10789 * docs/pwg/intro-preface.xml:
10790 * docs/pwg/pwg.xml:
10791 describe dparams (controller) for plugins
10792 unify docs a little more
10794 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10796 * docs/gst/gstreamer-sections.txt:
10797 * gst/gstutils.c: (element_find_unconnected_pad),
10798 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10799 * gst/gstutils.h:
10800 Add new API: gst_parse_bin_from_description() and
10801 gst_bin_find_unconnected_pad() (#329069).
10803 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10805 * docs/manual/README:
10806 uncover a nasty detail of the docs build
10808 2006-01-31 Wim Taymans <wim@fluendo.com>
10810 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10811 Don't cache duration messages if we're not going to use or
10812 free them.
10814 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10816 * docs/manual/advanced-dparams.xml:
10817 * docs/pwg/advanced-dparams.xml:
10818 more dparam docs
10819 * gst/gstindex.c:
10820 fix docs
10821 * libs/gst/controller/lib.c: (gst_controller_init):
10822 init just once
10824 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10826 * gst/gstelement.c: (gst_element_message_full):
10827 also show file/line/func if no additional debug was given
10829 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10831 * win32/vs7/grammar.vcproj:
10832 activate copy of autogenerated files for Release mode
10834 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10836 * win32/common/libgstreamer.def:
10837 export gst_value_compare
10839 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10841 * plugins/elements/Makefile.am:
10842 * plugins/elements/gstelements.c:
10843 * plugins/elements/gstfdsink.c: (_do_init),
10844 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10845 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10846 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10847 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10848 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10849 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10850 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10851 * plugins/elements/gstfdsink.h:
10852 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10854 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10856 * docs/manual/advanced-dparams.xml:
10857 describe controller
10858 * docs/manual/advanced-position.xml:
10859 * docs/manual/basics-init.xml:
10860 * docs/manual/manual.xml:
10861 * docs/manual/titlepage.xml:
10862 * docs/pwg/pwg.xml:
10863 * docs/pwg/titlepage.xml:
10864 cleanup xml (more to come)
10865 * libs/gst/controller/gstcontroller.c:
10866 fix typo
10868 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10870 * win32/vs6/grammar.dsp:
10871 add autogen of gstmarshal.c,h for Release mode
10873 2006-01-30 Wim Taymans <wim@fluendo.com>
10875 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10876 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10877 (gst_base_sink_handle_object), (gst_base_sink_event),
10878 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10879 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10880 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10881 (gst_base_sink_deactivate), (gst_base_sink_activate),
10882 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10883 (gst_base_sink_query), (gst_base_sink_change_state):
10884 Basesink cleanups, remove some old code.
10885 Handle the case where a subclass can preroll in the render
10886 method (mostly audiosinks).
10887 Handle more events.
10888 Remove some locks around variables that are now protected
10889 with the PREROLL_LOCK (clock_id, flushing, ..).
10890 Optimize position query some more, do correct locking.
10891 Remove old code to push queue in state change, this is not
10892 needed anymore since preroll blocks on all prerollable items
10893 now.
10894 Almost implemented as described in design doc.
10896 2006-01-30 Wim Taymans <wim@fluendo.com>
10898 * tests/check/gst/gstbin.c: (GST_START_TEST):
10899 Wait for refcount to settle down before checking.
10901 2006-01-30 Wim Taymans <wim@fluendo.com>
10903 * docs/design/part-element-sink.txt:
10904 Pseudo code overview of desired sink behaviour regarding
10905 preroll.
10907 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10908 * win32/vs6/grammar.dsp:
10909 fix some bugs in Release mode for autogenerated files
10911 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10912 * win32/common/libgstbase.def:
10913 * win32/common/libgstreamer.def:
10914 export some new symbols: gst_base_src_set_format,
10915 gst_iterator_next, gst_structure_set_valist
10917 2006-01-29 Julien MOUTTE <julien@moutte.net>
10919 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10920 Set pad functions unconditionally. Fixes #329105.
10922 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10923 * win32/vs8:
10924 add vs8 project files created by Sergey Scobich
10926 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10928 * gst/gstutils.c: (gst_element_unlink_pads):
10929 Don't leak pad references.
10931 * tests/check/elements/fakesink.c: (GST_START_TEST):
10932 * tests/check/generic/sinks.c: (GST_START_TEST):
10933 * tests/check/generic/states.c: (GST_START_TEST):
10934 * tests/check/gst/gstbin.c: (GST_START_TEST):
10935 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10936 * tests/check/gst/gstelement.c: (GST_START_TEST):
10937 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10938 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10939 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10940 Fix a bunch of leaks. Make generic/sinks.c
10941 use a bit less cpu by slowing the buffer rate
10942 between fakesrc and fakesink.
10944 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10945 * gst/gstcaps.c:
10946 * gst/gstelement.c: (gst_element_send_event):
10947 * gst/gstevent.c:
10948 * gst/gstinfo.c:
10949 * gst/gstiterator.c:
10950 * gst/gstiterator.h:
10951 * gst/gstpad.c: (gst_pad_send_event):
10952 * gst/gststructure.c:
10953 * gst/gsturi.c:
10954 * gst/gstutils.c:
10955 * gst/gstvalue.c:
10956 * libs/gst/base/gstadapter.c:
10957 doc fixes, to link to function, just write gst_cool_function(), don't
10958 prefix with '#'
10960 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10962 * plugins/elements/gsttee.c: (gst_tee_do_push),
10963 (gst_tee_handle_buffer):
10964 Always prefer an actual return value from a src
10965 pad in place of NOT_LINKED. This means we return
10966 WRONG_STATE when all src pads are WRONG_STATE
10967 instead of NOT_LINKED.
10969 Lock when replacing the last message to prevent
10970 racing with the get_property method.
10972 Add debug output
10974 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10976 * tests/check/Makefile.am:
10977 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10978 (main):
10979 Add a very simple check that should have caught the memleak I fixed
10980 last night (if not for the slice allocator hiding it)
10982 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10984 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10985 (gst_bin_remove_func), (gst_bin_handle_message_func),
10986 (bin_query_duration_fold), (bin_query_generic_fold):
10987 Clean up references to the clock provider when disposed or when
10988 handling a clock-lost message from it.
10990 Unref sinks when performing a query via gst_iterator_fold, as the
10991 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10993 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10994 (gst_clock_set_master):
10995 Drop our reference to the master clock, if any, when we are disposed.
10997 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10998 Chain up in dispose.
11000 2006-01-26 Wim Taymans <wim@fluendo.com>
11002 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11003 Add some debugging.
11005 2006-01-26 Julien MOUTTE <julien@moutte.net>
11007 * plugins/elements/gsttee.c: (gst_tee_do_push),
11008 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11009 handles pad being NOT_LINKED or in WRONG_STATE.
11011 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11013 * win32/MANIFEST:
11014 more updating
11016 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11018 * win32/MANIFEST:
11019 remove obsolete entry
11021 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11023 * docs/gst/gstreamer-sections.txt:
11024 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11025 (gst_bin_iterate_sources), (gst_bin_send_event):
11026 * gst/gstbin.h:
11027 * gst/gstelement.c: (gst_element_send_event):
11028 * gst/gstevent.c:
11029 * gst/gstpad.c: (gst_pad_send_event):
11030 added code for downstream events, reviewed docs in gstevent.c
11032 2006-01-25 Julien MOUTTE <julien@moutte.net>
11034 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11035 We only query position using the clock in the playing state.
11036 Query peer in the other cases.
11037 * win32/common/config.h: Updates.
11039 2006-01-24 Wim Taymans <wim@fluendo.com>
11041 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11042 A clock entry that is scheduled for the exact time of the
11043 clock is still in time.
11045 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11046 (gst_base_sink_do_sync):
11047 Add some more debug info.
11049 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11051 * win32/vs7:
11052 Add new vs7 project files and solution.
11054 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11056 * win32/vs7:
11057 all files removed as they were out-dated.
11059 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11061 * docs/random/release:
11062 update notes
11063 * gst/gstbin.c: (gst_bin_init):
11064 * gst/gstbus.c: (gst_bus_new):
11065 * gst/gstbus.h:
11066 * gst/gstpipeline.c: (gst_pipeline_init):
11067 use gst_bus_new(), improve logging, fix docs
11068 * win32/common/config.h:
11069 update for cvs build
11071 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11073 * autogen.sh:
11074 up required version of automake to 1.7
11076 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11078 * win32/common/libgstreamer.def:
11079 export gst_buffer_is_metadata_writable
11081 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11083 * docs/gst/gstreamer-sections.txt:
11084 * gst/gstevent.h:
11085 Add gst_event_replace() (#327001)
11087 2006-01-20 Wim Taymans <wim@fluendo.com>
11089 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11090 Make it actually compile too..
11092 2006-01-20 Wim Taymans <wim@fluendo.com>
11094 * gst/gstcaps.c:
11095 Clarify behaviour of _is_equal() when passing NULL parameters.
11097 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11098 (gst_pad_set_caps):
11099 Cleanups. Don't unref NULL caps.
11100 When setting the same caps, protect caps of the pad with
11101 proper lock.
11102 Use full functionality of _is_equal() when comparing caps.
11104 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11106 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11107 Don't loop infinitely if there are no buffers to present. Partially
11108 fixes #327197, but collectpads is just broken for reusing elements
11109 to do multiple encodes atm.
11111 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11113 * tools/gst-inspect.c: (print_element_features):
11114 * tools/gst-xmlinspect.c: (main):
11115 URL_HANDLER is not a plugin feature we can search for in
11116 the registry.
11118 2006-01-19 Edward Hervey <edward@fluendo.com>
11120 * gst/gstelement.c: (gst_element_pads_activate):
11121 When activating, do src pads first, then sink pads.
11122 When de-activating, do sink pads first, then src pads.
11124 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11126 * docs/gst/gstreamer-sections.txt:
11127 Add gst_index_add_associationv to the docs
11129 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11131 * gst/gstevent.c:
11132 Fix docs typo
11134 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11135 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11136 Do some refactoring. Doesn't actually change functionality,
11137 but makes landing the DRAIN event easier later.
11139 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11141 * docs/pwg/advanced-scheduling.xml:
11142 Update from 0.9.x to 0.10 API and make example a bit
11143 clearer.
11145 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11147 * docs/gst/gstreamer-sections.txt:
11148 Add gst_buffer_(is|make)_metadata_writable methods.
11150 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11152 * docs/design/part-sparsestreams.txt:
11153 Update sparse streams doc, hopefully for greater clarity
11155 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11157 * docs/design/part-events.txt:
11158 Remove mention of FILLER events.
11159 Add DRAIN event.
11161 * docs/design/part-sparsestreams.txt:
11162 Write some things about using NEWSEGMENT to keep sparse streams
11163 flowing.
11165 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11167 * gst/gstbin.c: (gst_bin_dispose):
11168 Guard gst_object_unref call against a NULL object (dispose
11169 can theoretically be called multiple times).
11171 2006-01-18 Wim Taymans <wim@fluendo.com>
11173 * gst/gstbin.c: (gst_bin_element_set_state):
11174 * gst/gstclock.c: (gst_clock_id_wait):
11175 Added some more debug info.
11177 * libs/gst/base/gstadapter.c:
11178 Added more docs.
11180 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11181 (gst_base_sink_do_sync), (gst_base_sink_chain):
11182 Added some comments.
11184 2006-01-18 Wim Taymans <wim@fluendo.com>
11186 * tests/check/Makefile.am:
11187 * tests/check/elements/fakesink.c: (chain_async_buffer),
11188 (chain_async), (chain_async_return), (GST_START_TEST),
11189 (fakesink_suite), (main):
11190 Added fakesink test that checks prerolling and clipping
11191 behaviour.
11193 * tests/check/gst/gstutils.c: (GST_START_TEST):
11194 Make check run faster so that buildbots don't timeout.
11196 2006-01-18 Wim Taymans <wim@fluendo.com>
11198 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11199 (gst_base_sink_do_sync):
11200 Some cleanups.
11201 When the sink finishes blocking on the preroll buffer, it can
11202 immediatly render it instead of rendering when the next buffer
11203 arrives.
11205 2006-01-18 Wim Taymans <wim@fluendo.com>
11207 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11208 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11209 (gst_base_sink_chain):
11210 Small cleanups.
11211 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11212 Don't store _last_stop if the buffer is dropped.
11214 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11216 * plugins/elements/gsttypefindelement.c:
11217 (gst_type_find_element_class_init):
11218 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11219 object method handler that sets the caps on the pad and we want
11220 that to happen before we emit the signal (fixes e.g. feeding a
11221 plain text file to decodebin).
11223 2006-01-18 Christian Schaller <Christian@fluendo.com>
11225 * gst/gstplugin.c: Add MPL and Proprietary as license options
11227 2006-01-18 Andy Wingo <wingo@pobox.com>
11229 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11230 symbol was exported before, it appears this was just an oversight.
11231 Fixes #168703.
11232 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11234 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11235 prototype to gint. OK since this prototype was not in the header.
11237 2006-01-17 Andy Wingo <wingo@pobox.com>
11239 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11240 registry while we remove plugins.
11242 * tools/gst-inspect.c (print_element_info): Don't unref the
11243 factory arg, that should be the responsibility of whatever code
11244 received the ref. Fixes a double-free when called from
11245 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11246 (main): Unref the factory if we have one.
11247 (print_element_list): No change -- relies on the
11248 plugin_feature_list_free to free the list of features.
11250 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11252 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11253 (gst_buffer_make_metadata_writable):
11254 * gst/gstbuffer.h:
11255 * libs/gst/base/gstbasetransform.c:
11256 (gst_base_transform_prepare_output_buf):
11257 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11258 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11259 Replace gst_buffer_(make|is)_metadata_writable patch now
11260 that the release is out.
11262 2006-01-17 Andy Wingo <wingo@pobox.com>
11264 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11265 in the present tense without reference to versions.
11267 * gst/gstregistry.c (gst_registry_add_plugin)
11268 (gst_registry_remove_plugin, gst_registry_remove_feature)
11269 (gst_registry_find_feature, gst_registry_get_feature_list)
11270 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11271 (gst_registry_lookup, gst_registry_scan_path)
11272 (_gst_registry_remove_cache_plugins)
11273 (gst_registry_get_feature_list_by_plugin): Add argument
11274 validation.
11276 === release 0.10.2 ===
11278 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11280 * configure.ac:
11281 releasing 0.10.2, "If man is five"
11283 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11285 * gst/gstbuffer.c:
11286 * gst/gstbuffer.h:
11287 * libs/gst/base/gstbasetransform.c:
11288 (gst_base_transform_prepare_output_buf):
11289 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11290 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11291 Back out patch until after the release.
11293 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11295 * gst/gstminiobject.c:
11296 Spelling fix in docs.
11297 * ChangeLog - remove conflict indicator
11299 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11301 Reviewed By: Andy Wingo
11303 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11304 (gst_buffer_make_metadata_writable):
11305 * gst/gstbuffer.h:
11306 Add gst_buffer_(is|make)_metadata_writable as analogues of
11307 gst_buffer_(is|make)_writable.
11309 * libs/gst/base/gstbasetransform.c:
11310 (gst_base_transform_prepare_output_buf):
11311 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11312 Use name gst_buffer_(is|make)_metadata_writable functions.
11314 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11315 Test gst_buffer_(is|make)_metadata_writable
11317 (Closes: #324162)
11319 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11321 * docs/manual/Makefile.am:
11322 don't do parallel make
11323 * configure.ac:
11324 AC_SUBST HOST_CPU
11325 * win32/common/config.h.in:
11326 add generations for HOST_CPU and GST_MAJORMINOR
11327 * win32/common/config.h:
11328 commit generated result
11330 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11332 * docs/manual/appendix-integration.xml:
11333 Update GNOME integration section to use gst_init_get_option_group()
11334 instead of the old popt stuff (#322911). Also, GNOME applications
11335 should now use gconf*sink and gconf*src instead of the old gconf
11336 helper lib we had.
11338 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11341 * docs/gst/gstreamer-docs.sgml:
11342 * docs/gst/gstreamer-sections.txt:
11343 * docs/libs/gstreamer-libs-sections.txt:
11344 add new API entries to the docs
11345 * libs/gst/controller/Makefile.am:
11346 * libs/gst/controller/gstcontroller.c:
11347 * libs/gst/controller/gstcontroller.h:
11348 * libs/gst/controller/gstcontrollerprivate.h:
11349 * libs/gst/controller/gsthelper.c:
11350 * libs/gst/controller/gstinterpolation.c:
11351 move private structs to private header
11352 * po/README:
11353 gstreamer-0.7 -> gstreamer-0.10
11354 * tests/check/libs/struct_i386.h:
11355 remove private structs
11357 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11359 * plugins/indexers/Makefile.am:
11360 Fixes as part of #317048
11362 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11364 * plugins/indexers/Makefile.am:
11365 fix #316086 - compilation when mmap is missing
11367 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11369 * libs/gst/base/gstbasesink.c:
11370 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11371 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11372 * win32/common/config.h:
11373 added some defines GST_MAJORMINOR and HOST_CPU
11374 * win32/common/libgstbase.def:
11375 * win32/common/libgstreamer.def:
11376 added some exported functions.
11378 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11380 * libs/gst/controller/gstcontroller.c:
11381 (gst_controlled_property_set_interpolation_mode),
11382 (gst_controlled_property_new):
11383 * libs/gst/controller/gstcontroller.h:
11384 * libs/gst/controller/gstinterpolation.c:
11385 (interpolate_none_get_string_value_array):
11386 make G_TYPE_STRING controlable
11388 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11390 * tools/README:
11391 * tools/gst-feedback.1.in:
11392 * tools/gst-inspect.1.in:
11393 * tools/gst-launch.1.in:
11394 * tools/gst-md5sum.1.in:
11395 * tools/gst-typefind.1.in:
11396 * tools/gst-xmlinspect.1.in:
11397 * tools/gst-xmllaunch.1.in:
11398 cleanup man-pages, remove reference to gst-register, document env-vars
11400 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11402 * gst/gstbuffer.c: (gst_buffer_span):
11403 gst_buffer_span should copy the timestamp of the first buffer
11404 if they were both originally overlapping subbuffers of the
11405 same parent, using the same logic as the 'slow copy' case.
11407 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11409 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11410 Need to awaken ALL the pads when we pop a buffer, otherwise
11411 collectpads only works when there is 2 input streams.
11413 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11415 * docs/random/ensonic/media-device-daemon.txt:
11416 more ideas (dbus)
11417 * gst/gstbuffer.c:
11418 fix doc example, add clarification
11419 * tools/gst-launch.1.in:
11420 add initial info about GST_PLUGIN_PATH, needs more work
11422 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11424 * docs/manual/basics-bins.xml:
11425 * docs/manual/basics-elements.xml:
11426 * docs/manual/intro-basics.xml:
11427 Some more minor docs additions and updates.
11429 2006-01-11 Wim Taymans <wim@fluendo.com>
11431 * docs/manual/basics-bins.xml:
11432 * docs/manual/basics-elements.xml:
11433 Some small fixes as pointed out by Ser-ver on IRC.
11435 2006-01-10 Edward Hervey <edward@fluendo.com>
11437 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11438 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11439 the single-segment mode.
11441 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11443 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11445 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11446 (gst_base_src_perform_seek), (gst_base_src_send_event),
11447 (gst_base_src_set_property), (gst_base_src_get_property),
11448 (gst_base_src_loop), (gst_base_src_start),
11449 (gst_base_src_activate_push):
11450 * libs/gst/base/gstbasesrc.h:
11451 Name (private) union; makes Sun's Forte compiler happy (#324900).
11453 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11455 * README:
11456 gst-register is gone.
11458 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11460 * gst/gstvalue.c: (_gst_value_initialize):
11461 make the G_TYPE_DATE instantiation work if debug is disabled
11463 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11465 * gst/gstmessage.c: (gst_message_parse_tag),
11466 (gst_message_parse_error), (gst_message_parse_warning):
11467 Don't crash when return location for error/warning debug
11468 string is NULL; add fact that return locations can be
11469 NULL to docs where appropriate.
11471 2006-01-05 Wim Taymans <wim@fluendo.com>
11473 * gst/gstplugin.c: (gst_plugin_load_file):
11474 Replace strdup by g_strdup.
11476 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11478 * docs/pwg/advanced-types.xml:
11479 fix doc borkage
11481 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11483 submitted by: Abel Cheung
11485 * po/LINGUAS:
11486 * po/zh_TW.po:
11487 Added Chinese (traditional) translation
11489 2006-01-04 Wim Taymans <wim@fluendo.com>
11491 * docs/manual/basics-pads.xml:
11492 * docs/plugins/Makefile.am:
11493 * docs/plugins/gstreamer-plugins-docs.sgml:
11494 * docs/plugins/gstreamer-plugins-sections.txt:
11495 * docs/pwg/advanced-clock.xml:
11496 * docs/pwg/advanced-scheduling.xml:
11497 * docs/pwg/advanced-types.xml:
11498 * plugins/elements/gstfdsink.c:
11499 * plugins/elements/gstfdsrc.c:
11500 * plugins/elements/gstfdsrc.h:
11501 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11502 * plugins/elements/gstidentity.h:
11503 * plugins/elements/gstqueue.h:
11504 * plugins/elements/gsttee.c:
11505 * plugins/elements/gsttee.h:
11506 * plugins/elements/gsttypefindelement.c:
11507 (gst_type_find_element_class_init):
11508 * plugins/elements/gsttypefindelement.h:
11509 Small updates to various docs.
11510 Added core plugins to docs.
11512 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11514 * common/gst.supp:
11515 add a suppression for liboil's uninitialized variable
11517 2006-01-02 James Livingston <jrl at ids dot org dot au>
11519 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11521 * gst/gstutils.h:
11522 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11523 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11524 compiler switch is being used (#325429).
11526 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11528 * gst/gstbin.c: (gst_bin_query):
11529 Disable duration query caching in bins until it gets
11530 fixed (see #324807).
11532 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11534 * tools/gst-inspect.c: (print_element_properties_info):
11535 Handle properties of POINTER and BOXED type.
11537 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11539 * gst/gst.c: (init_post):
11540 Init tags stuff and some other things before loading
11541 any static plugins (there may be other static plugins
11542 than just the GStreamer ones, and they may want to
11543 register their own tags or formats or whatever, and
11544 preferably without segfaulting).
11546 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11547 Print at least a warning in the debug logs if we drop a
11548 query just because we don't know how to adjust the value
11549 in the particular format.
11551 2005-12-24 David Schleef <ds@schleef.org>
11553 * tools/gstreamer-completion:
11554 Replacement for gst-complete written in sh and sed. Only
11555 completes names of features, but that's 90% of what I want
11556 it for. Properties are not available in registry.xml. (Maybe
11557 they should be...)
11559 === release 0.10.1 ===
11561 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11563 * configure.ac:
11564 releasing 0.10.1, "Nollaig chridheil"
11566 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11568 * docs/faq/cvs.xml:
11569 Add missing quote, should be make ERROR_CFLAGS="".
11571 2005-12-20 Wim Taymans <wim@fluendo.com>
11573 * docs/design/part-trickmodes.txt:
11574 More documentation on trickmodes.
11576 2005-12-20 Edward Hervey <edward@fluendo.com>
11578 * gst/gstcaps.c: (gst_static_caps_get_type):
11579 * gst/gstcaps.h:
11580 API addition: GST_TYPE_STATIC_CAPS
11581 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11582 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11583 * gst/gstpadtemplate.h:
11584 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11585 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11586 bindings.
11588 2005-12-18 Wim Taymans <wim@fluendo.com>
11590 * libs/gst/base/gstadapter.c:
11591 * libs/gst/base/gstadapter.h:
11592 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11593 (gst_base_sink_get_position):
11594 * libs/gst/base/gstbasesink.h:
11595 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11596 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11597 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11598 (gst_base_src_send_event), (gst_base_src_update_length),
11599 (gst_base_src_get_range), (gst_base_src_loop),
11600 (gst_base_src_start):
11601 * libs/gst/base/gstbasesrc.h:
11602 * libs/gst/base/gstbasetransform.h:
11603 * libs/gst/base/gstcollectpads.h:
11604 * libs/gst/base/gstpushsrc.c:
11605 * libs/gst/base/gstpushsrc.h:
11606 * libs/gst/dataprotocol/dataprotocol.c:
11607 * libs/gst/dataprotocol/dataprotocol.h:
11608 * libs/gst/net/gstnetclientclock.h:
11609 * libs/gst/net/gstnettimeprovider.h:
11610 Documentation updates.
11612 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11614 * docs/manual/basics-helloworld.xml:
11615 Remove superfluous closing bracket in helloworld example.
11617 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11619 * tools/gst-launch.1.in:
11620 Update gst-launch man page; add a section with useful
11621 environment variables. Fixes #323882.
11623 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11625 * gst/gst.c:
11626 * gst/gst_private.h:
11627 change some char* into char[]
11629 2005-12-16 Wim Taymans <wim@fluendo.com>
11631 * gst/gstregistryxml.c: (load_feature):
11632 Cleanups.
11633 Don't use g_object_unref on GstObjects so that we avoid
11634 leaks on unsafe glibs.
11636 2005-12-16 Wim Taymans <wim@fluendo.com>
11638 * gst/gstbin.c: (gst_bin_recalc_state):
11639 Small doc updates.
11641 2005-12-16 Wim Taymans <wim@fluendo.com>
11643 * common/check.mak:
11644 Added make forever target for check.
11646 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11648 * gst/gst.c: (init_post):
11649 make the registry cache file HOST_CPU-dependent
11651 2005-12-16 Andy Wingo <wingo@pobox.com>
11653 * plugins/elements/gstbufferstore.c
11654 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11655 return value.
11657 * tests/check/gst/gstobject.c
11658 (test_fake_object_name_threaded_unique): Pay attention to
11659 g_list_sort return value.
11661 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11663 * tools/gst-feedback-m.m:
11664 Update for 0.9/0.10 (fixes #323870).
11666 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11668 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11669 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11671 * tests/check/gst/gstminiobject.c: (my_foo_init),
11672 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11673 (test_value_collection), (gst_mini_object_suite):
11674 Add test to ensure refcounts end up as expected when passing
11675 GstMiniObjects through g_object_get() and g_object_set().
11677 2005-12-14 Julien MOUTTE <julien@moutte.net>
11679 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11680 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11681 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11682 of collectpads. This version removes a lot of races without
11683 touching API/ABI. Yay !
11685 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11687 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11688 Don't allow activation of a srcpad in pull_range if it has no
11689 getrange function.
11690 Change some debug statements to be a little clearer
11692 * plugins/elements/gsttypefindelement.c:
11693 (gst_type_find_handle_src_query):
11694 Check that we have a peer before executing queries thereupon.
11696 * tests/examples/metadata/read-metadata.c: (message_loop):
11697 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11698 immediately return us any available message with 0 timeout.
11700 2005-12-12 Michael Smith <msmith@fluendo.com>
11702 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11703 Don't unref factories after calling them.
11704 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11705 * plugins/elements/gsttypefindelement.c:
11706 (gst_type_find_element_chain):
11707 Free lists of factories after using them. Fixing typefinding memory
11708 leaks.
11710 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11712 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11713 (gst_plugin_feature_load):
11714 more meaningful debug output
11715 * configure.ac:
11716 * tests/Makefile.am:
11717 * tests/old/examples/Makefile.am:
11718 make make distcheck happy again
11720 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11722 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11723 Catch the special case where we are operating chain-based,
11724 but the downstream peer pad has no chain function. Emit a
11725 custom error message in this case instead of letting the
11726 core generate one implying that this is some sort of core
11727 bug. It's not, it just means that whatever got plugged
11728 into the pipeline downstream when we announced the type
11729 can only operate pull-based, while our source can only
11730 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11731 Error string has not been marked for translation yet, as
11732 it probably needs some more work first.
11734 (gst_type_find_element_get_best_possibility):
11735 Add helper function to find the best of all available
11736 found possibilities that qualify given the min. threshold.
11738 (gst_type_find_element_handle_event):
11739 Fix the case where we get an EOS while still in TYPEFIND
11740 mode (we want to chose the best of all possible types,
11741 not just the first type that happens to be in our unsorted
11742 list of possible types).
11744 (gst_type_find_element_chain):
11745 Make sure we return GST_FLOW_ERROR when we errored out
11746 in stop_typefinding(); also, don't just find the best of
11747 all found type entries and then use the last examined
11748 type entry, but actually use the best entry.
11750 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11752 * tests/examples/typefind/typefind.c: (type_found):
11753 * tests/examples/xml/runxml.c: (xml_loaded):
11754 More gcc4 fixes and a mem leak fix.
11756 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11758 * tests/examples/xml/createxml.c: (object_saved):
11759 gcc 4 fixes
11761 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11763 * tests/Makefile.am:
11764 enable the examples even more
11766 2005-12-12 Andy Wingo <wingo@pobox.com>
11768 * libs/gst/net/gstnettimeprovider.c
11769 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11770 (gst_net_time_provider_set_property)
11771 (gst_net_time_provider_get_property):
11772 API addition: Export "active" as a GObject property.
11773 (gst_net_time_provider_thread): Only respond to time queries if
11774 the time provider is active.
11776 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11777 NetTimeProvider, preserving binary compat.
11779 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11781 * tests/examples/controller/audio-example.c: (main):
11782 * tests/examples/launch/Makefile.am:
11783 convert comments again
11785 2005-12-12 Wim Taymans <wim@fluendo.com>
11787 * libs/gst/base/gstpushsrc.c:
11788 Fix typo.
11790 2005-12-12 Wim Taymans <wim@fluendo.com>
11792 * docs/libs/gstreamer-libs-sections.txt:
11793 Added new symbol to docs.
11795 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11796 (gst_base_src_init), (gst_base_src_set_format),
11797 (gst_base_src_default_query), (gst_base_src_query),
11798 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11799 (gst_base_src_perform_seek), (gst_base_src_send_event),
11800 (gst_base_src_default_event), (gst_base_src_event_handler),
11801 (gst_base_src_set_property), (gst_base_src_get_property),
11802 (gst_base_src_wait), (gst_base_src_do_sync),
11803 (gst_base_src_update_length), (gst_base_src_get_range),
11804 (gst_base_src_check_get_range), (gst_base_src_loop),
11805 (gst_base_src_default_negotiate), (gst_base_src_start),
11806 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11807 (gst_base_src_change_state):
11808 * libs/gst/base/gstbasesrc.h:
11809 Implement seeking to other formats than _BYTES.
11810 Implement more seeking methods correctly.
11811 Doc updates.
11812 Added query vmethod.
11813 Added do_seek vmethod to make life easier for subclasses
11814 when seeking.
11815 API addition: gst_base_src_set_format()
11817 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11819 * tests/examples/Makefile.am:
11820 added that too
11822 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11824 * configure.ac:
11825 * docs/random/ensonic/media-device-daemon.txt:
11826 * tests/examples/controller/.cvsignore:
11827 * tests/examples/controller/Makefile.am:
11828 * tests/examples/controller/audio-example.c: (main):
11829 * tests/examples/helloworld/.cvsignore:
11830 * tests/examples/helloworld/Makefile.am:
11831 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11832 * tests/examples/launch/.cvsignore:
11833 * tests/examples/launch/Makefile.am:
11834 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11835 * tests/examples/metadata/.cvsignore:
11836 * tests/examples/metadata/Makefile.am:
11837 * tests/examples/metadata/read-metadata.c: (message_loop),
11838 (make_pipeline), (print_tag), (main):
11839 * tests/examples/queue/.cvsignore:
11840 * tests/examples/queue/Makefile.am:
11841 * tests/examples/queue/queue.c: (event_loop), (main):
11842 * tests/examples/typefind/.cvsignore:
11843 * tests/examples/typefind/Makefile.am:
11844 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11845 (main):
11846 * tests/examples/xml/.cvsignore:
11847 * tests/examples/xml/Makefile.am:
11848 * tests/examples/xml/createxml.c: (object_saved), (main):
11849 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11850 * tests/old/examples/Makefile.am:
11851 * tests/old/examples/TODO:
11852 * tests/old/examples/controller/.cvsignore:
11853 * tests/old/examples/controller/Makefile.am:
11854 * tests/old/examples/controller/audio-example.c:
11855 * tests/old/examples/helloworld/.cvsignore:
11856 * tests/old/examples/helloworld/Makefile.am:
11857 * tests/old/examples/helloworld/helloworld.c:
11858 * tests/old/examples/launch/.cvsignore:
11859 * tests/old/examples/launch/Makefile.am:
11860 * tests/old/examples/launch/mp3parselaunch.c:
11861 * tests/old/examples/launch/mp3play:
11862 * tests/old/examples/manual/Makefile.am:
11863 * tests/old/examples/metadata/Makefile.am:
11864 * tests/old/examples/metadata/read-metadata.c:
11865 * tests/old/examples/queue/.cvsignore:
11866 * tests/old/examples/queue/Makefile.am:
11867 * tests/old/examples/queue/queue.c:
11868 * tests/old/examples/typefind/.cvsignore:
11869 * tests/old/examples/typefind/Makefile.am:
11870 * tests/old/examples/typefind/typefind.c:
11871 * tests/old/examples/xml/.cvsignore:
11872 * tests/old/examples/xml/Makefile.am:
11873 * tests/old/examples/xml/createxml.c:
11874 * tests/old/examples/xml/runxml.c:
11875 applied some simple fixing to some examples
11876 re-enabled the working examples
11878 2005-12-12 Wim Taymans <wim@fluendo.com>
11880 * gst/gstsegment.c: (gst_segment_init),
11881 (gst_segment_set_last_stop), (gst_segment_set_seek),
11882 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11883 (gst_segment_to_running_time):
11884 Added more documentation.
11885 Make sure the last_pos value is updated properly.
11886 Make sure to_stream_time and to_running_time don't
11887 operate on wrong values.
11889 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11890 Update check.
11892 2005-12-12 Michael Smith <msmith@fluendo.com>
11894 * plugins/elements/gsttypefindelement.c: (free_entry),
11895 (gst_type_find_element_chain):
11896 Now that we're not leaking factories, make sure we keep references
11897 to them while we need them.
11899 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11901 * tests/check/gst/struct_i386.h:
11902 ifdef out the XML structs
11904 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11906 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11907 floor is not needed, F is always positive; this obviates the
11908 need for adding -lm when building without libxml
11910 2005-12-12 Wim Taymans <wim@fluendo.com>
11912 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11913 Take current playback rate into account when reporting
11914 the position.
11916 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11918 * docs/manual/mime-world.fig:
11919 Let's try this again, this time with a file that is
11920 actually in XFig format.
11922 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11924 * docs/manual/mime-world.fig:
11925 Add audioconvert element to diagram so that it
11926 matches the text and the code (fixes #319526).
11928 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11930 * docs/pwg/building-chainfn.xml:
11931 * docs/pwg/building-pads.xml:
11932 * docs/pwg/building-state.xml:
11933 * docs/pwg/other-source.xml:
11934 Update state change stuff for 0.10 (fixes #322969).
11936 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11938 * docs/manual/advanced-dataaccess.xml:
11939 * docs/manual/appendix-checklist.xml:
11940 * docs/manual/appendix-programs.xml:
11941 * docs/manual/basics-pads.xml:
11942 * docs/manual/highlevel-components.xml:
11943 * docs/manual/manual.xml:
11944 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11945 add converters in front of pipelines; remove curly
11946 brackets for threads stuff, they no longer exist; use
11947 GST_TYPE_FRACTION for framerates; update some pieces of
11948 code to 0.10, but there's plenty more to do.
11950 * docs/manual/appendix-porting.xml:
11951 Expand on asynchroneous state changes; s/0.9/0.10/;
11952 mention disappearance of gst_init_get_popt_table()
11953 (fixes #322916).
11955 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11957 * docs/faq/using.xml:
11958 Spider no longer exists, and neither does gst-launch-ext.
11959 Update examples to use decodebin and playbin and put
11960 converters in front of sinks (fixes #323726).
11962 2005-12-09 Michael Smith <msmith@fluendo.com>
11964 * plugins/elements/gsttypefindelement.c: (find_peek),
11965 (gst_type_find_element_chain):
11966 Fix leaking element factories in typefinding.
11967 Fix problem where we forgot about a probable type on non-seekable
11968 files, and thus later mis-typefound it.
11970 2005-12-09 Michael Smith <msmith@fluendo.com>
11972 * common/m4/gst-makecontext.m4:
11973 * common/m4/gst-mcsc.m4:
11974 * configure.ac:
11975 * win32/common/config.h:
11976 * win32/common/config.h.in:
11977 Remove makecontext stuff; not used in 0.10 and causes problems on
11978 HPUX according to bug #322441
11980 2005-12-07 Wim Taymans <wim@fluendo.com>
11982 * tests/check/Makefile.am:
11983 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11984 (main):
11985 * tests/check/libs/struct_i386.h:
11986 Added ABI check for libs
11988 2005-12-07 Wim Taymans <wim@fluendo.com>
11990 * tests/check/Makefile.am:
11991 And add the struct_i386.h to dist.
11993 2005-12-07 Wim Taymans <wim@fluendo.com>
11995 * tests/check/Makefile.am:
11996 * tests/check/gst/.cvsignore:
11997 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11998 (main):
11999 * tests/check/gst/struct_i386.h:
12000 Added check for ABI compatibility.
12002 2005-12-07 Wim Taymans <wim@fluendo.com>
12004 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12005 (gst_fake_src_get_times), (gst_fake_src_create):
12006 Fix broken sync option, fixes #323259
12008 2005-12-07 Wim Taymans <wim@fluendo.com>
12010 * gst/gstbuffer.c:
12011 Small docs update.
12013 * gst/gstcaps.c: (gst_caps_is_equal):
12014 Don't assert on NULL <--> X. Fixes #323260
12016 * gst/gstminiobject.c: (gst_mini_object_replace):
12017 If we're doing atomic operations, we might just as well use
12018 the proper way to get an atomic pointer.
12020 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12021 Clean up debugging.
12023 2005-12-07 Michael Smith <msmith@fluendo.com>
12025 * gst/parse/grammar.y:
12026 Remove handling of { } for threads.
12028 2005-12-06 David Schleef <ds@schleef.org>
12030 * libs/gst/base/gstbasetransform.c: speling fix.
12032 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12034 * docs/libs/tmpl/gstdataprotocol.sgml:
12035 * docs/random/omega/testing/gstobject.c:
12036 * gst/gst.c:
12037 * gst/gstclock.c:
12038 * gst/gstelement.c:
12039 * gst/gstelementfactory.c:
12040 * gst/gsterror.c:
12041 * gst/gstevent.c:
12042 * gst/gstghostpad.c:
12043 * gst/gstinfo.c:
12044 * gst/gstpadtemplate.c:
12045 * gst/gstregistryxml.c:
12046 * gst/gsttaglist.c:
12047 * gst/gsttagsetter.c:
12048 * gst/gsttypefind.c:
12049 * gst/gstvalue.c:
12050 * libs/gst/base/gstbasesrc.c:
12051 * libs/gst/net/gstnetclientclock.c:
12052 * libs/gst/net/gstnettimeprovider.c:
12053 * plugins/elements/gstfakesrc.c:
12054 * plugins/elements/gstfdsrc.c:
12055 * plugins/elements/gstfilesrc.c:
12056 * plugins/elements/gstidentity.c:
12057 * plugins/elements/gstqueue.c:
12058 * plugins/elements/gsttypefindelement.c:
12059 * plugins/indexers/gstfileindex.c:
12060 * plugins/indexers/gstmemindex.c:
12061 * tests/check/gst/gsttag.c:
12062 * tests/old/examples/cutter/cutter.c:
12063 * tests/old/examples/mixer/mixer.c:
12064 * tests/old/examples/xml/runxml.c: (main):
12065 * tests/old/testsuite/caps/normalisation.c:
12066 * tests/old/testsuite/debug/global.c:
12067 * tests/old/testsuite/parse/parse1.c:
12068 * tools/gst-xmlinspect.c:
12069 * win32/common/dirent.c:
12070 expand tabs
12072 === release 0.10.0 ===
12074 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12076 * configure.ac:
12077 releasing 0.10.0, "Maroilles"
12079 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12081 submitted by: Funda Wang <fundawang@linux.net.cn>
12083 * po/LINGUAS:
12084 * po/zh_CN.po:
12085 added Chinese (Traditional) translation
12087 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12089 * docs/gst/gstreamer-sections.txt:
12090 * docs/libs/tmpl/gstdataprotocol.sgml:
12091 * docs/random/thomasvs/TODO:
12092 * gst/gstutils.c:
12093 * gst/gstutils.h:
12094 fix docs
12096 2005-12-05 Andy Wingo <wingo@pobox.com>
12098 patch by: Wim Taymans <wim@fluendo.com>
12100 * libs/gst/base/gstbasetransform.c
12101 (gst_base_transform_prepare_output_buf)
12102 (gst_base_transform_buffer_alloc):
12103 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12104 alloc_buffer_and_set_caps.
12106 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12107 set_caps on the source pad.
12108 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12109 alloc_buffer used to do. Fixes #322874.
12111 * docs/gst/gstreamer-sections.txt:
12112 * docs/design/part-negotiation.txt:
12113 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12114 changes.
12116 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12118 patch by: Sebastien Moutte
12120 * win32/MANIFEST:
12121 * win32/common/config.h.in:
12122 * win32/vs6/libgstcontroller.dsp:
12123 win32 build fixes
12125 2005-12-05 Wim Taymans <wim@fluendo.com>
12127 * gst/gstcaps.c: (gst_caps_is_equal):
12128 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12129 (gst_fake_src_create):
12130 Back out previous code changes, leave doc updates, file bugs
12131 instead.
12133 2005-12-05 Wim Taymans <wim@fluendo.com>
12135 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12136 (gst_fake_src_get_times), (gst_fake_src_create):
12137 * plugins/elements/gstfakesrc.h:
12138 Fix broken sync code.
12140 2005-12-05 Wim Taymans <wim@fluendo.com>
12142 * gst/gstcaps.c: (gst_caps_is_equal):
12143 Comparing NULL against !NULL yields different caps, not a
12144 failure.
12146 2005-12-05 Wim Taymans <wim@fluendo.com>
12148 * gst/gstpipeline.c:
12149 Fix small typo in docs.
12151 2005-12-05 Andy Wingo <wingo@pobox.com>
12153 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12155 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12156 registries/plugins with a MAJORMINOR one.
12157 (plugin_desc): Rename library from gstcoreleements to
12158 staticelements. Fixes #323222.
12160 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12162 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12163 Change debug category to 'collectpads' from 'collect_pads'
12164 (fixes #323250).
12166 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12168 patch by: Sebastien Moutte
12170 * libs/gst/controller/gstinterpolation.c:
12171 use convert function for uint64/double
12172 * win32/vs6/libgstcontroller.dsp:
12173 link to GLib
12175 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12177 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12178 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12179 * gst/gstutils.h:
12180 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12181 add tests that seem to show that the guint64/gdouble conversions
12182 are correct.
12184 2005-12-02 Wim Taymans <wim@fluendo.com>
12186 * gst/gstregistry.c: (gst_registry_add_path):
12187 * gst/gstregistry.h:
12188 * gst/gstregistryxml.c:
12189 Fix docs again.
12191 2005-12-02 Wim Taymans <wim@fluendo.com>
12193 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12194 (gst_util_uint64_scale_int):
12195 Small cleanup.
12197 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12198 Add debug log line.
12200 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12201 Add FIXME.
12203 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12205 * win32/MANIFEST:
12206 * win32/common/config.h:
12207 * win32/vs6/gstreamer.dsw:
12208 * win32/vs6/libgstcoreelements.dsp:
12209 * win32/vs6/libgstelements.dsp:
12210 renamed core elements plugin
12212 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12214 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12215 (get_candidates):
12216 do piece-wise major/minor comparison so 0.9 < 0.10
12217 also allow .exe extensions for tools
12219 2005-12-02 Michael Smith <msmith@fluendo.com>
12221 * gst/gst.c:
12222 Escape a % to make gtkdoc happier; bug 322958.
12224 === release 0.9.7 ===
12226 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12228 * configure.ac:
12229 releasing 0.9.7, "My Dog Has No Nose"
12231 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12233 * common/gst-xmlinspect.py:
12234 * configure.ac:
12235 * docs/libs/tmpl/gstdataprotocol.sgml:
12236 * docs/random/release:
12237 * po/af.po:
12238 * po/az.po:
12239 * po/bg.po:
12240 * po/ca.po:
12241 * po/cs.po:
12242 * po/de.po:
12243 * po/en_GB.po:
12244 * po/fr.po:
12245 * po/it.po:
12246 * po/nb.po:
12247 * po/nl.po:
12248 * po/ru.po:
12249 * po/sq.po:
12250 * po/sr.po:
12251 * po/sv.po:
12252 * po/tr.po:
12253 * po/uk.po:
12254 * po/vi.po:
12255 * win32/common/config.h:
12256 * win32/common/config.h.in:
12257 * win32/vs6/gst_inspect.dsp:
12258 * win32/vs6/gst_launch.dsp:
12259 * win32/vs6/libgstbase.dsp:
12260 * win32/vs6/libgstelements.dsp:
12261 * win32/vs6/libgstreamer.dsp:
12262 * win32/vs7/GStreamer.vcproj:
12263 * win32/vs7/gst-inspect.vcproj:
12264 * win32/vs7/gst-launch.vcproj:
12265 * win32/vs7/libgstbase.vcproj:
12266 bump GST_MAJORMINOR to 0.10
12267 reset libtool version
12269 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12271 * po/LINGUAS:
12272 * po/bg.po:
12273 Added Bulgarian translation by (Alexander Shopov)
12275 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12277 * tests/check/gst/gstplugin.c:
12278 fix test
12280 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12282 * common/gst-xmlinspect.py:
12283 * common/gtk-doc-plugins.mak:
12284 * configure.ac:
12285 * docs/Makefile.am:
12286 * docs/gst/Makefile.am:
12287 * docs/gst/gstreamer-docs.sgml:
12288 * docs/gst/gstreamer-sections.txt:
12289 * docs/gst/gstreamer.types:
12290 * docs/gst/gstreamer.types.in:
12291 * docs/plugins/Makefile.am:
12292 * docs/plugins/gstreamer-plugins-docs.sgml:
12293 * docs/plugins/gstreamer-plugins-sections.txt:
12294 * docs/plugins/gstreamer-plugins.types:
12295 * docs/plugins/inspect.stamp:
12296 * docs/plugins/inspect/plugin-coreelements.xml:
12297 * docs/plugins/inspect/plugin-coreindexers.xml:
12298 * docs/plugins/scanobj-build.stamp:
12299 * gstreamer.spec.in:
12300 * plugins/elements/Makefile.am:
12301 * plugins/elements/gstelements.c:
12302 * plugins/elements/gstfakesink.c:
12303 * plugins/elements/gstfakesrc.c:
12304 * plugins/elements/gstfilesink.c:
12305 * plugins/elements/gstfilesrc.c:
12306 * plugins/elements/gstqueue.c:
12307 * plugins/indexers/Makefile.am:
12308 * plugins/indexers/gstindexers.c:
12309 document core plugins in a separate document just like all the
12310 others
12311 rename these plugins to something starting with core
12313 2005-12-01 Andy Wingo <wingo@pobox.com>
12315 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12316 padding here before, but it missed the commit.
12318 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12320 * libs/gst/controller/gstinterpolation.c:
12321 whitespace prices have crashed, we should feel free to use some now
12322 use gst_guint64_to_gdouble
12324 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12326 * libs/gst/controller/gstcontroller.c:
12327 * libs/gst/controller/gsthelper.c:
12328 * libs/gst/controller/gstinterpolation.c:
12329 * libs/gst/controller/lib.c:
12330 wrap config.h include
12332 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12334 * docs/gst/gstreamer-sections.txt:
12335 update docs
12337 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12339 * plugins/elements/gstelements.c:
12340 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12341 (gst_fd_sink__class_init), (gst_fd_sink__init),
12342 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12343 (gst_fd_sink__get_property):
12344 * plugins/elements/gstfdsink.h:
12345 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12346 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12347 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12348 (gst_fd_src_unlock), (gst_fd_src_set_property),
12349 (gst_fd_src_get_property), (gst_fd_src_create),
12350 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12351 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12352 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12353 (gst_fd_src_uri_handler_init):
12354 * plugins/elements/gstfdsrc.h:
12355 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12356 more anal cleanup
12358 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12360 * docs/gst/Makefile.am:
12361 * docs/gst/gstreamer.types.in:
12362 * gst/Makefile.am:
12363 fix the docs build
12365 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12367 * configure.ac:
12368 * gst/Makefile.am:
12369 * gst/gst.c:
12370 * gst/gstplugin.h:
12371 * gst/gstregistry.h:
12372 * tests/benchmarks/complexity.c:
12373 * tests/benchmarks/mass-elements.c:
12374 * tests/check/Makefile.am:
12375 * tools/Makefile.am:
12376 * tools/gst-inspect.c:
12377 * tools/gst-xmlinspect.c:
12378 various fixes to make
12379 --disable-nls --disable-registry --disable-loadsave
12380 --disable-parse --disable-gst-debug
12381 work and get the core .so down to 360444 bytes after stripping
12383 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12385 * Makefile.am:
12386 * configure.ac:
12387 descend into tests
12388 * docs/random/thomasvs/TODO:
12389 * tests/Makefile.am:
12390 * tests/README:
12391 add a README
12393 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12395 * win32/GStreamer.vcproj:
12396 * win32/MANIFEST:
12397 * win32/Makefile:
12398 * win32/Makefile.inspect:
12399 * win32/Makefile.launch:
12400 * win32/Makefile.register:
12401 * win32/README.txt:
12402 * win32/gst-inspect.vcproj:
12403 * win32/gst-launch.vcproj:
12404 * win32/gst-register.vcproj:
12405 * win32/gstelements.vcproj:
12406 * win32/gstgetbits.def:
12407 * win32/gstgetbits.vcproj:
12408 * win32/gstreamer-dbg.def:
12409 * win32/gstreamer.def:
12410 * win32/libgstbase.def:
12411 * win32/libgstbase.vcproj:
12412 * win32/link_oldruntime.c:
12413 * win32/mman.c:
12414 * win32/mman.h:
12415 * win32/mman.inl:
12416 * win32/msvc71.sln:
12417 move even more stuff, win32/ is nice and clean now
12419 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12421 * libs/gst/control/.cvsignore:
12422 * win32/MANIFEST:
12423 * win32/config.h:
12424 * win32/dirent.c:
12425 * win32/dirent.h:
12426 * win32/gstbytestream.def:
12427 * win32/gstbytestream.vcproj:
12428 * win32/gstconfig.h:
12429 * win32/gstenumtypes.c:
12430 * win32/gstenumtypes.h:
12431 * win32/gstoptimalscheduler.vcproj:
12432 * win32/gstversion.h:
12433 * win32/gtchar.h:
12434 * win32/testsuite/bins.vcproj:
12435 * win32/testsuite/bytestream.vcproj:
12436 * win32/testsuite/caps.vcproj:
12437 * win32/testsuite/cleanup.vcproj:
12438 * win32/testsuite/clock.vcproj:
12439 * win32/testsuite/debug.vcproj:
12440 * win32/testsuite/dlopen.vcproj:
12441 * win32/testsuite/dynparams.vcproj:
12442 * win32/testsuite/elements.vcproj:
12443 * win32/testsuite/ghostpads.vcproj:
12444 * win32/testsuite/indexers.vcproj:
12445 * win32/testsuite/negotiation.vcproj:
12446 * win32/testsuite/parse.vcproj:
12447 * win32/testsuite/plugin.vcproj:
12448 * win32/testsuite/refcounting.vcproj:
12449 * win32/testsuite/schedulers.vcproj:
12450 * win32/testsuite/states.vcproj:
12451 * win32/testsuite/tags.vcproj:
12452 * win32/testsuite/threads.vcproj:
12453 remove old win32 stuff that isn't maintained and should be
12454 reorganized
12456 2005-11-30 Andy Wingo <wingo@pobox.com>
12458 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12459 loading the gst.interfaces python module bork.
12461 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12462 available since GLib 2.2. Fixes #318031.
12464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12466 * Makefile.am:
12467 * check/.cvsignore:
12468 * check/Makefile.am:
12469 * check/elements/.cvsignore:
12470 * check/elements/fakesrc.c:
12471 * check/elements/fdsrc.c:
12472 * check/elements/identity.c:
12473 * check/generic/.cvsignore:
12474 * check/generic/states.c:
12475 * check/gst-libs/.cvsignore:
12476 * check/gst-libs/controller.c:
12477 * check/gst-libs/gdp.c:
12478 * check/gst/.cvsignore:
12479 * check/gst/capslist.h:
12480 * check/gst/gst.c:
12481 * check/gst/gstbin.c:
12482 * check/gst/gstbuffer.c:
12483 * check/gst/gstbus.c:
12484 * check/gst/gstcaps.c:
12485 * check/gst/gstelement.c:
12486 * check/gst/gstevent.c:
12487 * check/gst/gstghostpad.c:
12488 * check/gst/gstiterator.c:
12489 * check/gst/gstmessage.c:
12490 * check/gst/gstminiobject.c:
12491 * check/gst/gstobject.c:
12492 * check/gst/gstpad.c:
12493 * check/gst/gstpipeline.c:
12494 * check/gst/gstplugin.c:
12495 * check/gst/gstsegment.c:
12496 * check/gst/gststructure.c:
12497 * check/gst/gstsystemclock.c:
12498 * check/gst/gsttag.c:
12499 * check/gst/gstutils.c:
12500 * check/gst/gstvalue.c:
12501 * check/net/.cvsignore:
12502 * check/net/gstnetclientclock.c:
12503 * check/net/gstnettimeprovider.c:
12504 * check/pipelines/.cvsignore:
12505 * check/pipelines/cleanup.c:
12506 * check/pipelines/simple_launch_lines.c:
12507 * check/pipelines/stress.c:
12508 * check/states/.cvsignore:
12509 * check/states/sinks.c:
12510 * configure.ac:
12511 * examples/Makefile.am:
12512 * examples/appreader/.cvsignore:
12513 * examples/appreader/Makefile.am:
12514 * examples/appreader/appreader.c:
12515 * examples/controller/.cvsignore:
12516 * examples/controller/Makefile.am:
12517 * examples/controller/audio-example.c:
12518 * examples/cutter/.cvsignore:
12519 * examples/cutter/Makefile.am:
12520 * examples/cutter/cutter.c:
12521 * examples/cutter/cutter.h:
12522 * examples/events/Makefile.am:
12523 * examples/events/seek.c:
12524 * examples/helloworld/.cvsignore:
12525 * examples/helloworld/Makefile.am:
12526 * examples/helloworld/helloworld.c:
12527 * examples/helloworld2/.cvsignore:
12528 * examples/helloworld2/Makefile.am:
12529 * examples/helloworld2/helloworld2.c:
12530 * examples/launch/.cvsignore:
12531 * examples/launch/Makefile.am:
12532 * examples/launch/mp3parselaunch.c:
12533 * examples/launch/mp3play:
12534 * examples/manual/.cvsignore:
12535 * examples/manual/Makefile.am:
12536 * examples/manual/extract.pl:
12537 * examples/metadata/Makefile.am:
12538 * examples/metadata/read-metadata.c:
12539 * examples/mixer/.cvsignore:
12540 * examples/mixer/Makefile.am:
12541 * examples/mixer/mixer.c:
12542 * examples/mixer/mixer.h:
12543 * examples/pingpong/.cvsignore:
12544 * examples/pingpong/Makefile.am:
12545 * examples/pingpong/pingpong.c:
12546 * examples/plugins/.cvsignore:
12547 * examples/plugins/Makefile.am:
12548 * examples/plugins/example.c:
12549 * examples/plugins/example.h:
12550 * examples/pwg/.cvsignore:
12551 * examples/pwg/Makefile.am:
12552 * examples/pwg/extract.pl:
12553 * examples/queue/.cvsignore:
12554 * examples/queue/Makefile.am:
12555 * examples/queue/queue.c:
12556 * examples/queue2/.cvsignore:
12557 * examples/queue2/Makefile.am:
12558 * examples/queue2/queue2.c:
12559 * examples/queue3/.cvsignore:
12560 * examples/queue3/Makefile.am:
12561 * examples/queue3/queue3.c:
12562 * examples/queue4/.cvsignore:
12563 * examples/queue4/Makefile.am:
12564 * examples/queue4/queue4.c:
12565 * examples/retag/.cvsignore:
12566 * examples/retag/Makefile.am:
12567 * examples/retag/retag.c:
12568 * examples/retag/transcode.c:
12569 * examples/thread/.cvsignore:
12570 * examples/thread/Makefile.am:
12571 * examples/thread/thread.c:
12572 * examples/typefind/.cvsignore:
12573 * examples/typefind/Makefile.am:
12574 * examples/typefind/typefind.c:
12575 * examples/xml/.cvsignore:
12576 * examples/xml/Makefile.am:
12577 * examples/xml/createxml.c:
12578 * examples/xml/runxml.c:
12579 * tests/Makefile.am:
12580 * tests/check/Makefile.am:
12581 * testsuite/.cvsignore:
12582 * testsuite/Makefile.am:
12583 * testsuite/Rules:
12584 * testsuite/caps/.cvsignore:
12585 * testsuite/caps/Makefile.am:
12586 * testsuite/caps/app_fixate.c:
12587 * testsuite/caps/audioscale.c:
12588 * testsuite/caps/caps.c:
12589 * testsuite/caps/caps.h:
12590 * testsuite/caps/caps_strings:
12591 * testsuite/caps/compatibility.c:
12592 * testsuite/caps/deserialize.c:
12593 * testsuite/caps/enumcaps.c:
12594 * testsuite/caps/eratosthenes.c:
12595 * testsuite/caps/filtercaps.c:
12596 * testsuite/caps/fixed.c:
12597 * testsuite/caps/fraction-convert.c:
12598 * testsuite/caps/fraction-multiply-and-zero.c:
12599 * testsuite/caps/intersect2.c:
12600 * testsuite/caps/intersection.c:
12601 * testsuite/caps/normalisation.c:
12602 * testsuite/caps/random.c:
12603 * testsuite/caps/renegotiate.c:
12604 * testsuite/caps/sets.c:
12605 * testsuite/caps/simplify.c:
12606 * testsuite/caps/string-conversions.c:
12607 * testsuite/caps/structure.c:
12608 * testsuite/caps/subtract.c:
12609 * testsuite/caps/union.c:
12610 * testsuite/debug/.cvsignore:
12611 * testsuite/debug/Makefile.am:
12612 * testsuite/debug/category.c:
12613 * testsuite/debug/commandline.c:
12614 * testsuite/debug/global.c:
12615 * testsuite/debug/output.c:
12616 * testsuite/debug/printf_extension.c:
12617 * testsuite/dlopen/.cvsignore:
12618 * testsuite/dlopen/Makefile.am:
12619 * testsuite/dlopen/dlopen_gst.c:
12620 * testsuite/dlopen/loadgst.c:
12621 * testsuite/elements/.cvsignore:
12622 * testsuite/elements/Makefile.am:
12623 * testsuite/elements/gst-inspect-check.in:
12624 * testsuite/elements/struct_i386.h:
12625 * testsuite/elements/struct_size.c:
12626 * testsuite/indexers/.cvsignore:
12627 * testsuite/indexers/Makefile.am:
12628 * testsuite/indexers/cache1.c:
12629 * testsuite/indexers/indexdump.c:
12630 * testsuite/parse/.cvsignore:
12631 * testsuite/parse/Makefile.am:
12632 * testsuite/parse/parse1.c:
12633 * testsuite/parse/parse2.c:
12634 * testsuite/plugin/.cvsignore:
12635 * testsuite/plugin/Makefile.am:
12636 * testsuite/plugin/README:
12637 * testsuite/plugin/dynamic.c:
12638 * testsuite/plugin/linked.c:
12639 * testsuite/plugin/loading.c:
12640 * testsuite/plugin/registry.c:
12641 * testsuite/plugin/static.c:
12642 * testsuite/plugin/static2.c:
12643 * testsuite/plugin/testplugin.c:
12644 * testsuite/plugin/testplugin2.c:
12645 * testsuite/plugin/testplugin2_s.c:
12646 * testsuite/plugin/testplugin_s.c:
12647 * testsuite/refcounting/.cvsignore:
12648 * testsuite/refcounting/Makefile.am:
12649 * testsuite/refcounting/bin.c:
12650 * testsuite/refcounting/element.c:
12651 * testsuite/refcounting/element_pad.c:
12652 * testsuite/refcounting/mainloop.c:
12653 * testsuite/refcounting/mem.c:
12654 * testsuite/refcounting/mem.h:
12655 * testsuite/refcounting/object.c:
12656 * testsuite/refcounting/pad.c:
12657 * testsuite/refcounting/sched.c:
12658 * testsuite/refcounting/thread.c:
12659 * testsuite/states/.cvsignore:
12660 * testsuite/states/Makefile.am:
12661 * testsuite/states/bin.c:
12662 * testsuite/states/locked.c:
12663 * testsuite/states/parent.c:
12664 * testsuite/threads/.cvsignore:
12665 * testsuite/threads/159566.c:
12666 * testsuite/threads/159852.c:
12667 * testsuite/threads/Makefile.am:
12668 * testsuite/threads/queue.c:
12669 * testsuite/threads/signals.c:
12670 * testsuite/threads/staticrec.c:
12671 * testsuite/threads/thread.c:
12672 * testsuite/threads/threadb.c:
12673 * testsuite/threads/threadc.c:
12674 * testsuite/threads/threadd.c:
12675 * testsuite/threads/threade.c:
12676 * testsuite/threads/threadf.c:
12677 * testsuite/threads/threadg.c:
12678 * testsuite/threads/threadh.c:
12679 * testsuite/threads/threadi.c:
12680 move all of these under tests
12682 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12684 * configure.ac:
12685 * tests/Makefile.am:
12686 fix distcheck
12688 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12690 * docs/gst/gstreamer-sections.txt:
12691 * tests/sched/.cvsignore:
12692 * tests/sched/Makefile.am:
12693 * tests/sched/cases/(fs-fs).xml:
12694 * tests/sched/cases/(fs-i-fs).xml:
12695 * tests/sched/cases/(fs-i-i-fs).xml:
12696 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12697 * tests/sched/dynamic-pipeline.c:
12698 * tests/sched/interrupt1.c:
12699 * tests/sched/interrupt2.c:
12700 * tests/sched/interrupt3.c:
12701 * tests/sched/runtestcases:
12702 * tests/sched/runxml.c:
12703 * tests/sched/sched-stress.c:
12704 * tests/sched/sort.c:
12705 * tests/sched/testcases:
12706 * tests/sched/testcases1.tc:
12707 * tests/seeking/.cvsignore:
12708 * tests/seeking/Makefile.am:
12709 * tests/seeking/seeking1.c:
12710 * tests/threadstate/.cvsignore:
12711 * tests/threadstate/Makefile.am:
12712 * tests/threadstate/test1.c:
12713 * tests/threadstate/test2.c:
12714 * tests/threadstate/threadstate1.c:
12715 * tests/threadstate/threadstate2.c:
12716 * tests/threadstate/threadstate3.c:
12717 * tests/threadstate/threadstate4.c:
12718 * tests/threadstate/threadstate5.c:
12719 remove obsolete tests
12720 * configure.ac:
12721 * tests/bench-complexity.scm:
12722 * tests/bench-mass_elements.scm:
12723 * tests/complexity.c:
12724 * tests/complexity.gnuplot:
12725 * tests/instantiate/.cvsignore:
12726 * tests/instantiate/Makefile.am:
12727 * tests/instantiate/caps.c:
12728 * tests/mass_elements.c:
12729 * tests/network-clock-utils.scm:
12730 * tests/network-clock.scm:
12731 * tests/plot-data:
12732 First pass at cleaning up tests/ dir before moving the rest
12733 Combined with CVS surgery
12735 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12737 * po/POTFILES.in:
12738 queue has moved, update
12740 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12742 * docs/gst/gstreamer-sections.txt:
12743 remove double entries from the docs
12744 * gst/gst_private.h:
12745 * gst/gstinfo.c: (_gst_debug_init):
12746 remove the THREAD debug category
12747 * gst/Makefile.am:
12748 * gst/gstqueue.c:
12749 * gst/gstqueue.h:
12750 * docs/gst/gstreamer.types:
12751 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12752 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12753 completely move queue and fix up debugging categories
12755 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12757 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12758 make initialization portable, using LL is not
12760 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12762 * win32/common/gstconfig.h:
12763 add large padding
12765 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12767 * win32/common/libgstreamer.def:
12768 rename symbols; sort base section
12770 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12772 * gst/gstclock.c: (do_linear_regression):
12773 remove crack non-portable handrolled DEBUG macro
12775 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12777 * docs/random/release:
12778 update notes
12779 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12780 (gst_object_flags_get_type), (register_gst_bin_flags),
12781 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12782 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12783 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12784 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12785 (gst_caps_flags_get_type), (register_gst_clock_return),
12786 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12787 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12788 (gst_clock_flags_get_type), (register_gst_state),
12789 (gst_state_get_type), (register_gst_state_change_return),
12790 (gst_state_change_return_get_type), (register_gst_state_change),
12791 (gst_state_change_get_type), (register_gst_element_flags),
12792 (gst_element_flags_get_type), (register_gst_core_error),
12793 (gst_core_error_get_type), (register_gst_library_error),
12794 (gst_library_error_get_type), (register_gst_resource_error),
12795 (gst_resource_error_get_type), (register_gst_stream_error),
12796 (gst_stream_error_get_type), (register_gst_event_type_flags),
12797 (gst_event_type_flags_get_type), (register_gst_event_type),
12798 (gst_event_type_get_type), (register_gst_seek_type),
12799 (gst_seek_type_get_type), (register_gst_seek_flags),
12800 (gst_seek_flags_get_type), (register_gst_format),
12801 (gst_format_get_type), (register_gst_index_certainty),
12802 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12803 (gst_index_entry_type_get_type),
12804 (register_gst_index_lookup_method),
12805 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12806 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12807 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12808 (gst_index_flags_get_type), (register_gst_debug_level),
12809 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12810 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12811 (gst_iterator_result_get_type), (register_gst_iterator_item),
12812 (gst_iterator_item_get_type), (register_gst_message_type),
12813 (gst_message_type_get_type), (register_gst_mini_object_flags),
12814 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12815 (gst_pad_link_return_get_type), (register_gst_flow_return),
12816 (gst_flow_return_get_type), (register_gst_activate_mode),
12817 (gst_activate_mode_get_type), (register_gst_pad_direction),
12818 (gst_pad_direction_get_type), (register_gst_pad_flags),
12819 (gst_pad_flags_get_type), (register_gst_pad_presence),
12820 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12821 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12822 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12823 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12824 (gst_plugin_flags_get_type), (register_gst_rank),
12825 (gst_rank_get_type), (register_gst_query_type),
12826 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12827 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12828 (gst_tag_flag_get_type), (register_gst_task_state),
12829 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12830 (gst_alloc_trace_flags_get_type),
12831 (register_gst_type_find_probability),
12832 (gst_type_find_probability_get_type), (register_gst_uri_type),
12833 (gst_uri_type_get_type), (register_gst_parse_error),
12834 (gst_parse_error_get_type):
12835 * win32/common/gstenumtypes.h:
12836 * win32/common/gstversion.h:
12837 update visual studio generated files
12839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12841 * win32/vs6/libgstbase.dsp:
12842 * win32/vs6/libgstelements.dsp:
12843 update project files for new locations
12845 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12847 * Makefile.am:
12848 remove some files
12849 * README:
12850 reinstate and update
12851 * DEVEL:
12852 * REQUIREMENTS:
12853 removed
12854 * LICENSE:
12855 * docs/random/LICENSE:
12856 moved to random
12858 2005-11-30 Edward Hervey <edward@fluendo.com>
12860 * gst/gsttypefind.c: (gst_type_find_register):
12861 * gst/gsttypefind.h:
12862 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12863 (gst_type_find_factory_dispose):
12864 * gst/gsttypefindfactory.h:
12865 Fix memory leak in GstTypeFindFactory.
12867 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12869 * gst/gst.c:
12870 * plugins/elements/Makefile.am:
12871 * plugins/elements/gstelements.c:
12872 * plugins/elements/gstqueue.c:
12873 move queue from core to the elements plugin
12875 2005-11-29 Andy Wingo <wingo@pobox.com>
12877 * libs/gst/base/gstbasetransform.h:
12878 * libs/gst/base/gstbasesrc.h:
12879 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12881 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12882 of pointers by which to pad very extensible base classes (like the
12883 ones in libs/gst/base).
12885 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12887 * docs/gst/gstreamer-docs.sgml:
12888 * docs/gst/gstreamer-sections.txt:
12889 * docs/libs/gstreamer-libs-docs.sgml:
12890 * docs/libs/gstreamer-libs-sections.txt:
12891 moving documentation from core to lib
12893 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12895 * check/Makefile.am:
12896 * configure.ac:
12897 * docs/gst/Makefile.am:
12898 * gst/Makefile.am:
12899 * gst/base/.cvsignore:
12900 * gst/base/Makefile.am:
12901 * gst/base/README:
12902 * gst/base/gstadapter.c:
12903 * gst/base/gstadapter.h:
12904 * gst/base/gstbasesink.c:
12905 * gst/base/gstbasesink.h:
12906 * gst/base/gstbasesrc.c:
12907 * gst/base/gstbasesrc.h:
12908 * gst/base/gstbasetransform.c:
12909 * gst/base/gstbasetransform.h:
12910 * gst/base/gstcollectpads.c:
12911 * gst/base/gstcollectpads.h:
12912 * gst/base/gstpushsrc.c:
12913 * gst/base/gstpushsrc.h:
12914 * gst/base/gsttypefindhelper.c:
12915 * gst/base/gsttypefindhelper.h:
12916 * gst/check/Makefile.am:
12917 * gst/check/gstcheck.c:
12918 * gst/check/gstcheck.h:
12919 * gst/net/Makefile.am:
12920 * gst/net/gstnet.h:
12921 * gst/net/gstnetclientclock.c:
12922 * gst/net/gstnetclientclock.h:
12923 * gst/net/gstnettimepacket.c:
12924 * gst/net/gstnettimepacket.h:
12925 * gst/net/gstnettimeprovider.c:
12926 * gst/net/gstnettimeprovider.h:
12927 * libs/gst/Makefile.am:
12928 * libs/gst/base/Makefile.am:
12929 * libs/gst/base/gstbasetransform.c:
12930 * libs/gst/check/Makefile.am:
12931 * plugins/elements/Makefile.am:
12932 * po/POTFILES.in:
12933 CVS surgery + support to move base, check, and net out of gst
12934 and into libs/gst
12936 2005-11-29 Andy Wingo <wingo@pobox.com>
12938 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12940 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12941 padding.
12943 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12945 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12947 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12949 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12950 padding; reduces object size by about 30%. We don't expect
12951 anything else to go into gstobject.
12953 * gst/gstminiobject.h (struct _GstMiniObject)
12954 (struct _GstMiniObjectClass): Only one pointer of padding; the
12955 payload is only a pointer and two ints anyway. For the class there
12956 are only two methods as well.
12958 * gst/gstelement.h (struct _GstElementClass): Removed
12959 the state_changed signal callback, it is not used.
12961 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12963 * docs/gst/gstreamer.types:
12964 fix includes, though they are a little dinky
12966 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12968 * check/Makefile.am:
12969 look in the right place for elements, a lot more chance of
12970 success
12971 * gst/Makefile.am:
12972 remove indexers and elements subdirs
12973 * plugins/Makefile.am:
12974 make indexers conditional
12976 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12978 * Makefile.am:
12979 * configure.ac:
12980 * plugins/elements/Makefile.am:
12981 * plugins/elements/gstcapsfilter.c:
12982 * plugins/elements/gstfilesink.c:
12983 * plugins/elements/gstfilesrc.c:
12984 * plugins/elements/gstidentity.c:
12985 * plugins/indexers/Makefile.am:
12986 do CVS surgery and related build fixery to move elements
12987 and indexers in a new gstreamer/plugins directory, out of the
12988 gst/ directory
12990 2005-11-29 Andy Wingo <wingo@pobox.com>
12992 * check/Makefile.am:
12993 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12994 * pkgconfig/gstreamer-net.pc.in:
12995 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12996 #322257.
12998 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13000 * tools/Makefile.am:
13001 * tools/gst-complete.1.in:
13002 * tools/gst-complete.c:
13003 * tools/gst-compprep.1.in:
13004 * tools/gst-compprep.c:
13005 removing -compprep and -complete
13007 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13009 * gst/gstevent.c: (gst_event_new_new_segment),
13010 (gst_event_parse_new_segment):
13011 * gst/gstevent.h:
13012 fix #320529 - clean up new_segment API and structure.
13013 Let's hope everyone was using the methods, and not the structure.
13015 2005-11-29 Edward Hervey <edward@fluendo.com>
13017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13018 (gst_base_sink_event), (gst_base_sink_do_sync),
13019 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13020 Properly handle non GST_FORMAT_TIME segment
13021 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13022 Properly handle non GST_FORMAT_TIME segment
13023 * gst/gstsegment.c:
13024 This function is valid if the accumulator is 0 and the format
13025 is different from the requested format.
13027 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13029 * docs/gst/gstreamer-sections.txt:
13030 Add gst_query_new_seeking and gst_query_parse_seeking to the
13031 docs.
13033 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13035 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13036 Treat a pad alloc with new caps the same as if we were not
13037 negotiated, in order to allow a changing upstream output
13038 to produce a new format of data.
13040 2005-11-29 Edward Hervey <edward@fluendo.com>
13042 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13043 (gst_base_transform_event), (gst_base_transform_eventfunc):
13044 The event virtual method is now properly implemented, with a default
13045 handler
13046 Sub classes should call the parent_class event method. They should
13047 return FALSE if they had a problem handling the given event, or don't
13048 want GstBaseTransform to send that even downstream
13049 * gst/elements/gstidentity.c: (gst_identity_class_init),
13050 (gst_identity_init), (gst_identity_event),
13051 (gst_identity_transform_ip), (gst_identity_set_property),
13052 (gst_identity_get_property):
13053 * gst/elements/gstidentity.h:
13054 Added the single-segment boolean property.
13055 If set to TRUE, it will output a single segment of data, starting from
13056 0, will eat up all incoming newsegment, and modify the timestamp of the
13057 buffers accordingly
13059 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13061 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13062 Don't ref NULL target pad (#322751). Improve docs.
13064 2005-11-29 Michael Smith <msmith@fluendo.com>
13066 * gst/gstregistryxml.c: (load_plugin):
13067 Don't crash if we failed to load a feature from a plugin.
13069 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13071 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13072 (GST_START_TEST):
13073 use more check API and less GLib API
13075 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13077 * Makefile.am:
13078 don't run checks if we don't have check
13079 * common/check.mak:
13080 remove the registry when running make torture
13081 * docs/gst/gstreamer-sections.txt:
13082 remove second multiply
13083 * gst/gstqueue.c: (gst_queue_loop):
13084 fix a compile warning when disabling debug
13086 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13088 * gst/gstinfo.h:
13089 Hey! Let's print the pad name if the pointer != NULL instead
13090 of when it == NULL :-)
13092 2005-11-28 Wim Taymans <wim@fluendo.com>
13094 * check/gst/gstutils.c: (GST_START_TEST):
13095 Updated check, add some scaling accuracy checking code.
13097 * gst/gstutils.c: (gst_util_div128_64),
13098 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13099 (gst_util_uint64_scale_int):
13100 Fix 6 times faster division code. Optimize for common
13101 1/1 and less common X/1 cases.
13103 2005-11-28 Wim Taymans <wim@fluendo.com>
13105 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13106 More checks.
13108 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13109 (do_linear_regression), (gst_clock_add_observation):
13110 Cleanups.
13111 Release lock when the clock cannot be slaved.
13112 Catch the case where the regression returned an invalid denominator.
13114 * gst/gstutils.c: (gst_util_div128_64_iterate),
13115 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13116 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13117 Add protentially more performant non-iterative 128/64 divide function
13118 that unfortunatly does not work yet.
13119 Shortcut the trivial 0/X = 0 case.
13120 Remove the warnings on overflow.
13122 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13124 * gst/gstplugin.c: (gst_plugin_register_func):
13125 everything causing a plugin not to load should be at least a WARNING
13127 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13129 * docs/random/ensonic/dparams.txt:
13130 some TODOs for the next dev cycle
13131 * libs/gst/controller/gstcontroller.c:
13132 (gst_controlled_property_set_interpolation_mode),
13133 (gst_controlled_property_new):
13134 * libs/gst/controller/gstcontroller.h:
13135 use base type to assign acccessor functions
13137 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13139 * check/Makefile.am:
13140 Oops, that should have been top_srcdir
13142 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13144 * check/Makefile.am:
13145 * check/elements/fdsrc.c: (GST_START_TEST):
13146 Use a cmdline define to specify the location of a file to use for
13147 testing, to avoid breaking distcheck.
13149 2005-11-28 Andy Wingo <wingo@pobox.com>
13151 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13153 2005-11-28 Edward Hervey <edward@fluendo.com>
13155 * tools/gst-launch.c: (main):
13156 Clarify the output strings, makes it easier to translate.
13157 Fixes #322626
13159 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13161 * gst/Makefile.am:
13162 don't try and build net if we don't even have <sys/socket.h>
13164 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13166 * check/Makefile.am:
13167 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13168 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13169 Add tests for fdsrc seekability
13171 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13172 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13173 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13174 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13175 * gst/elements/gstfdsrc.h:
13176 fdsrc should not be a 'live' source.
13177 Implement seeking on seekable fd's.
13179 * gst/gstquery.c: (gst_query_new_seeking),
13180 (gst_query_parse_seeking):
13181 * gst/gstquery.h:
13182 Implement SEEKING query functions:
13183 *_new_seeking and *_parse_seeking
13185 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13187 * gst/gstelement.c: (gst_element_dispose):
13188 don't loop forever
13190 * gst/gstiterator.c:
13191 * gst/gststructure.c:
13192 doc fixes
13194 * libs/gst/controller/gstcontroller.c:
13195 (gst_controlled_property_set_interpolation_mode):
13196 * libs/gst/controller/gstcontroller.h:
13197 * libs/gst/controller/gstinterpolation.c:
13198 (interpolate_none_get_enum_value_array):
13199 support controlling enums
13201 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13203 * gst/gstvalue.c:
13204 Improve documentation for gst_value_union().
13206 * gst/gstvalue.h:
13207 Change return value for union, intersect and subtract functions
13208 from gint to gboolean.
13210 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13212 * gst/gstvalue.c: (gst_value_serialize_any_list),
13213 (gst_value_transform_any_list_string),
13214 (gst_value_deserialize_list), (gst_value_deserialize_array),
13215 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13216 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13217 (gst_value_set_fraction_range_full),
13218 (gst_value_deserialize_fraction_range),
13219 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13220 (gst_value_deserialize_boolean),
13221 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13222 (gst_value_serialize_float), (gst_value_deserialize_float),
13223 (gst_string_wrap), (gst_value_deserialize_string),
13224 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13225 (gst_value_union_int_range_int_range),
13226 (gst_value_intersect_int_range_int_range),
13227 (gst_value_intersect_double_range_double_range),
13228 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13229 (gst_value_subtract_int_range_int_range),
13230 (gst_value_subtract_double_double_range),
13231 (gst_value_subtract_double_range_double_range),
13232 (gst_value_deserialize_fraction):
13233 * gst/gstvalue.h:
13234 Use gint, gdouble and gchar in our API instead of int, double and
13235 char (and make usage in gstvalue.c more consistent).
13237 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13239 * check/Makefile.am:
13240 * libs/gst/controller/Makefile.am:
13241 * libs/gst/dataprotocol/Makefile.am:
13242 fix up Makefile.am and remove GST_ENABLE_NEW
13244 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13246 * configure.ac:
13247 * gst/Makefile.am:
13248 * gst/base/Makefile.am:
13249 * gst/check/Makefile.am:
13250 * gst/elements/Makefile.am:
13251 * gst/net/Makefile.am:
13252 update LDFLAGS use some more
13254 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13256 * common/m4/gst-doc.m4:
13257 Fixes #312589
13259 2005-11-26 Edward Hervey <edward@fluendo.com>
13261 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13262 This shouldn't issue a g_warning since it returns NULL if it
13263 couldn't find the plugin, and all functions using this behave
13264 properly on a NULL return. Switching to a GST_WARNING.
13266 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13268 * gst/gstbin.c: (gst_bin_handle_message_func):
13269 Don't leak clock messages.
13271 2005-11-25 Wim Taymans <wim@fluendo.com>
13273 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13274 (gst_util_uint64_scale_int):
13275 Optimisations, remove unneeded vars.
13277 2005-11-25 Wim Taymans <wim@fluendo.com>
13279 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13280 Added more checks for the high precision uint64 cases.
13282 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13283 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13284 Implement high precision (guint64 * guint64) / guint64.
13286 2005-11-24 Wim Taymans <wim@fluendo.com>
13288 * gst/base/gstbasesrc.c: (gst_base_src_query):
13289 Fix wrong percentage query.
13291 * gst/gstutils.c: (gst_util_uint64_scale),
13292 (gst_util_uint64_scale_int):
13293 Add some more common cases that can be handled
13294 efficiently to _scale.
13296 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13298 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13299 (gst_mini_object_suite):
13300 don't use check calls from threads; check probably isn't
13301 threadsafe and using a lock to make it threadsafe would
13302 defeat the purpose of this check
13303 * gst/check/gstcheck.c:
13304 * gst/check/gstcheck.h:
13305 use GST_DEBUG some more
13307 2005-11-24 Wim Taymans <wim@fluendo.com>
13309 * gst/gstutils.c: (gst_util_uint64_scale),
13310 (gst_util_uint64_scale_int):
13311 Chain trivial case to _scale_int.
13313 2005-11-24 Wim Taymans <wim@fluendo.com>
13315 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13316 Added test for scaling.
13318 * gst/gstclock.h:
13319 Small doc fix.
13321 * gst/gstutils.c: (gst_util_uint64_scale_int):
13322 Implemented high precision scaling code.
13324 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13326 * gst/gstinfo.h:
13327 do not crash on pad==NULL
13329 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13331 Patch by: Stefan Kost
13333 * common/gtk-doc.mak:
13334 * docs/gst/Makefile.am:
13335 * docs/libs/Makefile.am:
13336 Fix distcheck issues for the libraries docs build
13337 Closes #319599.
13339 2005-11-24 Michael Smith <msmith@fluendo.com>
13341 * docs/manual/basics-helloworld.xml:
13342 Fix bug #315027: memory leak in example code in docs.
13344 2005-11-24 Michael Smith <msmith@fluendo.com>
13346 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13347 Unlock the PREROLL_LOCK in a failure case.
13349 2005-11-24 Wim Taymans <wim@fluendo.com>
13351 * docs/gst/gstreamer-sections.txt:
13352 * gst/base/gstadapter.h:
13353 * gst/base/gstbasesink.h:
13354 * gst/base/gstbasesrc.h:
13355 * gst/base/gstbasetransform.h:
13356 * gst/base/gstpushsrc.h:
13357 * gst/elements/gstfakesink.h:
13358 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13359 * gst/elements/gstfakesrc.h:
13360 * gst/elements/gstfilesink.h:
13361 * gst/elements/gstfilesrc.h:
13362 * gst/gst.c:
13363 * gst/gstbin.c:
13364 * gst/gstbuffer.c: (_gst_buffer_copy):
13365 * gst/gstbus.h:
13366 * gst/gstcaps.c:
13367 * gst/gstchildproxy.c:
13368 * gst/gstclock.c:
13369 * gst/gstelement.c:
13370 * gst/gstelementfactory.c:
13371 * gst/gstelementfactory.h:
13372 * gst/gstevent.c:
13373 * gst/gstghostpad.h:
13374 * gst/gstindex.h:
13375 * gst/gstinterface.h:
13376 * gst/gstminiobject.c:
13377 * gst/gstminiobject.h:
13378 * gst/gstpad.c:
13379 * gst/gstpad.h:
13380 * gst/gstpadtemplate.h:
13381 * gst/gstpipeline.h:
13382 * gst/gstpluginfeature.h:
13383 * gst/gstquery.h:
13384 * gst/gstqueue.h:
13385 * gst/gsttaglist.c:
13386 * gst/gsttaglist.h:
13387 * gst/gsttagsetter.c:
13388 * gst/gsttagsetter.h:
13389 * gst/gsttrace.c:
13390 * gst/gsttrace.h:
13391 * gst/gsttypefind.h:
13392 * gst/gsturi.h:
13393 * gst/gstvalue.c:
13394 * gst/net/gstnetclientclock.c:
13395 * gst/net/gstnetclientclock.h:
13396 * gst/net/gstnettimepacket.c:
13397 * gst/net/gstnettimeprovider.c:
13398 * gst/net/gstnettimeprovider.h:
13399 Doc fixes.
13401 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13403 * configure.ac: back to HEAD
13405 === release 0.9.6 ===
13407 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13409 * configure.ac:
13410 releasing 0.9.6, "Always On Time"
13412 2005-11-23 Wim Taymans <wim@fluendo.com>
13414 * docs/gst/gstreamer-sections.txt:
13415 * gst/glib-compat.c:
13416 * gst/gsttagsetter.c:
13417 * gst/gstvalue.c:
13418 * gst/net/gstnetclientclock.c:
13419 * gst/net/gstnettimepacket.h:
13420 Doc updates.
13422 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13424 * docs/faq/using.xml:
13425 * docs/libs/tmpl/gstcontrol.sgml:
13426 * docs/manual/advanced-dparams.xml:
13427 * docs/manual/appendix-checklist.xml:
13428 * docs/manual/basics-elements.xml:
13429 * docs/pwg/other-source.xml:
13430 * docs/random/moving-plugins:
13431 * gst/gstpad.c:
13432 * tools/gst-launch.1.in:
13433 remove mentions of sinesrc
13435 2005-11-23 Michael Smith <msmith@fluendo.com>
13437 * docs/gst/gstreamer-sections.txt:
13438 Update for new API and API changes.
13439 * gst/gstobject.h:
13440 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13441 * gst/gstvalue.c:
13442 Documentation typo fix.
13443 * gst/net/gstnettimepacket.c:
13444 Documentation fixes for arguments.
13446 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13448 * gst/gststructure.c: (gst_structure_get_fraction),
13449 (gst_structure_parse_value),
13450 (gst_structure_fixate_field_nearest_fraction):
13451 * gst/gststructure.h:
13452 * gst/gstutils.c: (gst_util_uint64_scale_int):
13453 * gst/gstutils.h:
13454 * scripts/update-funcnames:
13455 API Changes.
13456 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13457 Make gst_structure_fixate_field_nearest_fraction take a numerator
13458 and denominator argument instead of a GValue
13459 add gst_structure_get_fraction helper function.
13461 2005-11-23 Wim Taymans <wim@fluendo.com>
13463 * docs/design/part-TODO.txt:
13464 Update TODO.
13466 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13467 * gst/net/gstnetclientclock.h:
13468 Use parent fields for timeout and window_size.
13470 2005-11-23 Andy Wingo <wingo@pobox.com>
13472 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13473 rate_num/rate_denom change.
13475 * gst/net/gstnetclientclock.c
13476 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13477 OBJECT_LOCK. Don't call add_observation with the lock.
13479 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13480 fraction.
13481 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13482 rate fraction.
13483 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13484 deal with rate as a fraction whose numerator and denominator are
13485 GstClockTime values.
13486 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13487 master; the other fields are protected by the SLAVE_LOCK.
13488 (do_linear_regression): Note that this must be called with the
13489 SLAVE_LOCK.
13490 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13491 OBJECT_LOCK. Call set_calibration instead of touching the
13492 variables directly.
13493 (gst_clock_set_property, gst_clock_get_property): Protect
13494 master/slave parameters with the SLAVE_LOCK.
13496 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13497 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13498 note that all of the instance variables that add_observation and
13499 the set_master functions use are protected by that lock and not
13500 the OBJECT_LOCK.
13501 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13503 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13504 the caller to take the object lock.
13506 2005-11-23 Wim Taymans <wim@fluendo.com>
13508 * gst/gsterror.c: (_gst_core_errors_init):
13509 * gst/gsterror.h:
13510 Add error for clock stuff.
13512 * gst/gstpipeline.c: (gst_pipeline_change_state),
13513 (gst_pipeline_set_clock):
13514 Post clock error when clock cannot be used in a pipeline.
13516 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13518 * docs/gst/gstreamer-sections.txt:
13519 make two symbols from gstinfo private for the docs
13520 * gst/base/gstcollectpads.h:
13521 * gst/gstutils.c:
13522 fix doc typos, update docs
13524 2005-11-22 Wim Taymans <wim@fluendo.com>
13526 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13527 (gst_base_sink_wait), (gst_base_sink_do_sync),
13528 (gst_base_sink_handle_event):
13529 * gst/base/gstbasesink.h:
13530 No need to store the clock, the parent element class already
13531 has it.
13533 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13534 Updates for clock_set returning a gboolean
13536 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13537 (gst_clock_id_wait_async), (gst_clock_class_init),
13538 (gst_clock_init), (gst_clock_finalize),
13539 (gst_clock_get_internal_time), (gst_clock_get_time),
13540 (gst_clock_slave_callback), (gst_clock_set_master),
13541 (gst_clock_get_master), (do_linear_regression),
13542 (gst_clock_add_observation), (gst_clock_set_property),
13543 (gst_clock_get_property):
13544 * gst/gstclock.h:
13545 Implement master/slave. When setting a clock as a slave, a
13546 periodic timeout is scheduled to sample master and slave times.
13547 Then the slave clock is recalibrated to match offset and rate
13548 of the master clock.
13549 Update logging a bit.
13550 Add flag so that a clock can state that is cannot be slaved to
13551 another clock.
13553 * gst/gstelement.c: (gst_element_set_clock):
13554 * gst/gstelement.h:
13555 The set clock returns a gboolean for when an element cannot
13556 deal with the selected clock in the pipeline.
13558 * gst/gstpipeline.c: (gst_pipeline_change_state),
13559 (gst_pipeline_set_clock):
13560 * gst/gstpipeline.h:
13561 Handle the case where the selected clock cannot be set on
13562 the pipeline.
13564 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13565 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13566 (gst_net_client_clock_set_property),
13567 (gst_net_client_clock_get_property),
13568 (gst_net_client_clock_observe_times):
13569 * gst/net/gstnetclientclock.h:
13570 Use regression code in GstClock parent, remove duplicated
13571 functionality.
13573 2005-11-22 Michael Smith <msmith@fluendo.com>
13575 * gst/gstutils.c: (gst_util_clock_time_scale):
13576 * gst/gstutils.h:
13577 * docs/gst/gstreamer-sections.txt:
13578 Rename method to have extra underscore.
13580 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13582 * gst/elements/Makefile.am:
13583 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13584 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13585 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13586 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13587 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13588 * gst/elements/gstfakesrc.h:
13589 * gst/gstqueue.c: (queue_leaky_get_type):
13590 correctly fix GEnumValues so that nick is the short lowercase
13591 dashed tag
13592 * tools/gst-inspect.c: (print_element_properties_info):
13593 also show the nick, since it's useful to use from parse_launch
13594 syntax
13595 Fixes #322139
13597 2005-11-22 Michael Smith <msmith@fluendo.com>
13599 * gst/gstutils.c: (gst_util_clocktime_scale):
13600 * gst/gstutils.h:
13601 * docs/gst/gstreamer-sections.txt:
13602 Add util method for scaling a clocktime by a fraction. Useful
13603 implementation is left as an exercise for the reader.
13605 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13607 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13608 If needed, allocate storage in the destination value during
13609 collection.
13611 2005-11-22 Edward Hervey <edward@fluendo.com>
13613 * docs/gst/gstreamer-sections.txt:
13614 * gst/Makefile.am:
13615 * gst/gst.h:
13616 * gst/gsturitype.c:
13617 * gst/gsturitype.h:
13618 * gst/gstutils.c: (gst_util_set_object_arg):
13619 * tools/gst-compprep.c: (main):
13620 * tools/gst-inspect.c: (print_element_properties_info):
13621 Removed GstURI, closes bug #321061
13623 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13625 * check/gst/gststructure.c: (GST_START_TEST):
13626 * gst/gststructure.c: (gst_structure_parse_value):
13627 Oops, broke automatic string type parsing.
13628 Add a test to catch it in future.
13630 2005-11-22 Andy Wingo <wingo@pobox.com>
13632 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13633 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13634 Actually rename the function implementations. Grr.
13636 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13638 * check/gst/capslist.h:
13639 Comment test cases
13640 * check/gst/gststructure.c: (GST_START_TEST),
13641 (gst_structure_suite):
13642 Test automatic value type detection in gst_structure_from_string.
13643 * gst/gststructure.c: (gst_structure_parse_value):
13644 Add fraction as a type we try and guess automatically in
13645 caps/structure strings.
13647 2005-11-22 Andy Wingo <wingo@pobox.com>
13649 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13651 * gst/gsttagsetter.h:
13652 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13653 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13654 (gst_tag_setter_add_tag_valist)
13655 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13656 _add_values, _add_valist, and _add_valist_values. Since this is an
13657 interface the function suffixes should be more explicit so
13658 language binding don't end up with element.add_valist ->
13659 gst_tag_setter_add_valist, for example. Fixes #322069.
13661 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13663 * check/gst/gstcaps.c: (GST_START_TEST):
13664 Extend caps string tests to check that a caps to string
13665 conversion is reversible and produces the same caps.
13667 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13668 Output "fraction" as the generic type fraction range, so caps
13669 serialisation and deserialisation works.
13670 * check/gst/capslist.h:
13671 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13672 Support 'MIN' and 'MAX' for deserialising fractions.
13674 2005-11-22 Andy Wingo <wingo@pobox.com>
13676 * gst/gstevent.h (gst_event_new_new_segment)
13677 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13678 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13679 Renamed from *_newsegment, *_buffersize, *_notarget.
13681 * scripts/update-funcnames: New script, performs the changes
13682 listed above.
13684 2005-11-22 Wim Taymans <wim@fluendo.com>
13686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13687 Make sure the GstFlowReturn is returned.
13689 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13690 (gst_bus_add_signal_watch):
13691 * gst/gstbus.h:
13692 add gst_bus_add_signal_watch_full.
13694 * gst/gstplugin.c: (gst_plugin_load_file):
13695 Small style cleanup.
13697 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13699 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13700 Block the fakesrc srcpad when we send an event, to avoid
13701 contention on the stream_lock causing random test failures.
13703 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13705 * check/gst/gstvalue.c: (GST_START_TEST):
13706 * gst/gstvalue.c: (gst_value_fraction_subtract):
13707 Fix subtraction.
13709 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13711 * gst/gst.h:
13712 include "gstchildproxy.h"
13713 * gst/gstchildproxy.h:
13714 * libs/gst/controller/gstcontroller.h:
13715 use G_GNUC_NULL_TERMINATED
13717 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13719 * check/gst/capslist.h:
13720 * check/gst/gstcaps.c: (GST_START_TEST):
13721 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13722 * gst/gststructure.c: (gst_structure_parse_range),
13723 (gst_structure_fixate_field_nearest_fraction):
13724 * gst/gststructure.h:
13725 * gst/gstvalue.c: (gst_value_init_fraction_range),
13726 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13727 (gst_value_collect_fraction_range),
13728 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13729 (gst_value_set_fraction_range_full),
13730 (gst_value_get_fraction_range_min),
13731 (gst_value_get_fraction_range_max),
13732 (gst_value_serialize_fraction_range),
13733 (gst_value_transform_fraction_range_string),
13734 (gst_value_compare_fraction_range),
13735 (gst_value_deserialize_fraction_range),
13736 (gst_value_intersect_fraction_fraction_range),
13737 (gst_value_intersect_fraction_range_fraction_range),
13738 (gst_value_subtract_fraction_fraction_range),
13739 (gst_value_subtract_fraction_range_fraction),
13740 (gst_value_subtract_fraction_range_fraction_range),
13741 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13742 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13743 (gst_value_transform_string_fraction), (_gst_value_initialize):
13744 * gst/gstvalue.h:
13745 Implement fraction ranges and extend GstFraction to support
13746 arithmetic subtraction, as well as deserialization from integer
13747 strings such as "100"
13748 Add a testsuite as for int and double range set operations
13750 2005-11-21 Andy Wingo <wingo@pobox.com>
13752 * gst/gsttaglist.h:
13753 * gst/gstcaps.h:
13754 * gst/gststructure.h: Add glib-compat.h.
13756 2005-11-21 Wim Taymans <wim@fluendo.com>
13758 * gst/gstbin.c: (gst_bin_change_state_func):
13759 Fix for #321595
13761 2005-11-21 Wim Taymans <wim@fluendo.com>
13763 * gst/gstsegment.h:
13764 And add a nice define too.
13766 2005-11-21 Wim Taymans <wim@fluendo.com>
13768 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13769 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13770 (gst_segment_set_duration), (gst_segment_set_last_stop),
13771 (gst_segment_set_seek), (gst_segment_set_newsegment),
13772 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13773 (gst_segment_clip):
13774 * gst/gstsegment.h:
13775 Make binding friendly.
13777 2005-11-21 Andy Wingo <wingo@pobox.com>
13779 * gst/gsttagsetter.h:
13780 * gst/gsttaglist.h:
13781 * gst/gststructure.h:
13782 * gst/gstcaps.h:
13783 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13784 #319940.
13786 * gst/gsterror.c (_gst_core_errors_init):
13787 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13788 category.
13790 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13791 (noinst_HEADERS): noinst the -private.
13793 2005-11-21 Michael Smith <msmith@fluendo.com>
13795 * gst/gstplugin.h:
13796 * gst/gstregistry.h:
13797 Remove unimplemented declarations for which we can see no sensible
13798 use.
13800 2005-11-21 Andy Wingo <wingo@pobox.com>
13802 * gst/gst.h: Include glib-compat.h.
13804 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13806 * gst/glib-compat.c: Include the public and the private header.
13808 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13810 * gst/gstvalue.c:
13811 * gst/gstpad.c:
13812 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13814 * check/gst/gstevent.c (create_custom_events): Check that
13815 FLUSH_STOP is serialized.
13817 * check/elements/identity.c (event_func):
13818 * check/elements/fakesrc.c (event_func): No stream lock, the core
13819 takes it.
13821 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13822 stream lock taking, yay.
13824 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13825 ensure that core takes the stream lock.
13827 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13828 lock name change.
13830 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13831 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13832 it already. For the flush start we do take it though so we get the
13833 right preroll state change messages.
13835 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13836 the stream lock here, the core does it for us.
13838 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13839 GST_STREAM_GET_LOCK.
13840 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13841 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13842 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13843 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13844 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13845 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13847 * gst/gstpad.c: Update for stream lock name change.
13849 * gst/base/gstbasesink.c: Update for preroll lock name change.
13851 2005-11-21 Wim Taymans <wim@fluendo.com>
13853 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13854 (gst_clock_get_master):
13855 * gst/gstclock.h:
13856 * gst/gstsystemclock.c: (gst_system_clock_init):
13857 Convert Clock flags to object flags.
13858 Added methods to manage master/slave clocks.
13860 2005-11-21 Wim Taymans <wim@fluendo.com>
13862 * check/gst/gstsegment.c: (GST_START_TEST):
13863 * docs/design/part-TODO.txt:
13864 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13865 (gst_base_sink_event), (gst_base_sink_do_sync),
13866 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13867 (gst_base_sink_query), (gst_base_sink_change_state):
13868 * gst/base/gstbasesink.h:
13869 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13870 (gst_base_src_default_newsegment),
13871 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13872 (gst_base_src_get_range), (gst_base_src_loop),
13873 (gst_base_src_change_state):
13874 * gst/base/gstbasesrc.h:
13875 * gst/base/gstbasetransform.c:
13876 (gst_base_transform_prepare_output_buf),
13877 (gst_base_transform_event), (gst_base_transform_change_state):
13878 * gst/base/gstbasetransform.h:
13879 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13880 (gst_collect_pads_event):
13881 * gst/base/gstcollectpads.h:
13882 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13883 (gst_fake_src_create):
13884 * gst/elements/gstfakesrc.h:
13885 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13886 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13887 (gst_segment_set_last_stop), (gst_segment_set_seek),
13888 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13889 (gst_segment_to_running_time), (gst_segment_clip):
13890 * gst/gstsegment.h:
13891 More segment updates, replace code in plugins with segment
13892 helper functions.
13894 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13896 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13897 Don't ignore sscanf results
13899 2005-11-21 Andy Wingo <wingo@pobox.com>
13901 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13903 * *.h:
13904 * *.c: Ran scripts/update-macros. Oh yes.
13906 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13907 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13908 GST_GET_LOCK, etc.
13910 * scripts/update-macros: New script. Run it on your files to
13911 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13912 well.
13914 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13916 * docs/gst/Makefile.am:
13917 * docs/gst/gstreamer-docs.sgml:
13918 * docs/gst/gstreamer-sections.txt:
13919 * docs/gst/gstreamer.types:
13920 * gst/gstinfo.h:
13921 more docs fixes, add new api to the docs
13923 2005-11-21 Andy Wingo <wingo@pobox.com>
13925 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13926 state_broadcast call.
13928 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13930 2005-11-21 Julien MOUTTE <julien@moutte.net>
13932 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13933 function calls for arrays.
13935 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13937 * docs/random/ensonic/media-device-daemon.txt:
13938 wild idea, can this be done?
13939 * docs/gst/gstreamer-sections.txt:
13940 * gst/gsterror.h:
13941 * gst/gstfilter.c:
13942 * gst/gstfilter.h:
13943 * gst/gstplugin.h:
13944 * gst/gstpluginfeature.c:
13945 * gst/gsttrace.c:
13946 * gst/gstvalue.c:
13947 * gst/gstvalue.h:
13948 doc fixes and additions
13950 2005-11-21 Andy Wingo <wingo@pobox.com>
13952 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13953 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13954 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13955 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13956 private to the basesrc implementation.
13958 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13959 behalf of event function if necessary. It should no longer be
13960 necessary to take the stream lock in pad's event functions. Fixes
13961 #320299.
13963 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13964 * docs/gst/gstreamer-sections.txt:
13965 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13966 (gst_structure_fixate_field_nearest_double),
13967 (gst_structure_fixate_field_boolean):
13968 * gst/gststructure.h:
13969 * win32/common/libgstreamer.def:
13970 * win32/gstreamer.def:
13972 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13973 (#322027)
13975 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13977 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13978 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13979 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13980 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13981 (gst_fdsrc_uri_handler_init):
13982 * gst/elements/gstfdsrc.h:
13983 Port fd:// URI handler from 0.8 to fdsrc
13985 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13987 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13988 (gst_value_serialize_fourcc):
13989 * gst/gstvalue.h:
13990 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13991 consistent with our other format defines (#320324).
13993 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13995 * gst/gstvalue.c: (gst_value_is_fixed):
13996 Revert previous commit. Value lists are by definition
13997 not fixed, as they are a list of possible values.
13999 2005-11-21 Andy Wingo <wingo@pobox.com>
14001 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14002 during the stable series if we need it. Fixes #319178.
14004 * gst/gstevent.c (gst_event_new_filler): Removed.
14006 * check/gst/gstevent.c: Update comment about filler events.
14008 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14010 * gst/gstvalue.c: (gst_value_is_fixed):
14011 Should handle both value arrays and value lists.
14013 2005-11-21 Andy Wingo <wingo@pobox.com>
14015 patch by: Alessandro Dessina <alessandro nnva org>
14017 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14018 functions to access arrays. Fixes #321962.
14020 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14022 * docs/gst/gstreamer.types:
14023 gst_collectpads_get_type => gst_collect_pads_get_type.
14025 * gst/base/gstbasetransform.c:
14026 Remove unused SIGNAL_HANDOFF enum.
14028 2005-11-21 Andy Wingo <wingo@pobox.com>
14030 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14031 the event type (upstream, downstream, serialized). Renamed
14032 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14033 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14034 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14036 * gst/gstevent.c: Update for new CUSTOM event names.
14038 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14040 * gst/gstevent.h:
14041 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14042 bug #319392.
14044 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14046 * docs/gst/gstreamer-sections.txt:
14047 * win32/common/libgstbase.def:
14048 * win32/libgstbase.def:
14049 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14050 (gst_collect_pads_class_init), (gst_collect_pads_init),
14051 (gst_collect_pads_finalize), (gst_collect_pads_new),
14052 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14053 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14054 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14055 (gst_collect_pads_start), (gst_collect_pads_stop),
14056 (gst_collect_pads_peek), (gst_collect_pads_pop),
14057 (gst_collect_pads_available), (gst_collect_pads_read),
14058 (gst_collect_pads_flush), (gst_collect_pads_event),
14059 (gst_collect_pads_chain):
14060 * gst/base/gstcollectpads.h:
14061 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14062 unimplemented functions as unimplemented. Add padding to
14063 GstCollectData. (#320766, #320423)
14065 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14067 * gst/gstmessage.c:
14068 Improve docs for DURATION message (usage of duration parameter)
14069 (#320113)
14071 2005-11-20 Wim Taymans <wim@fluendo.com>
14073 * check/Makefile.am:
14074 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14075 (main):
14076 * gst/Makefile.am:
14077 * gst/gst.h:
14078 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14079 (gst_segment_set_seek), (gst_segment_set_newsegment),
14080 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14081 (gst_segment_clip):
14082 * gst/gstsegment.h:
14083 Added segment helper structure and methods. Not fully implemented
14084 yet.
14085 Added segment check.
14087 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14089 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14090 Add a deserialisation test for fractions
14091 * examples/metadata/read-metadata.c: (message_loop),
14092 (make_pipeline), (main):
14093 Fix up metadata reading sample.
14094 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14095 Debug format fix
14096 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14097 Don't try and fixate empty caps
14098 * gst/gst_private.h:
14099 Wrap in G_BEGIN_DECLS/G_END_DECLS
14100 * gst/gstvalue.c: (gst_value_collect_fraction),
14101 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14102 (gst_value_transform_string_fraction),
14103 (gst_value_compare_fraction):
14104 Add some extra guards to ensure that we don't end up
14105 with an invalid denominator of 0 in a gstfraction and
14106 that fractions always get reduced.
14108 2005-11-20 Wim Taymans <wim@fluendo.com>
14110 * docs/gst/gstreamer-sections.txt:
14111 * gst/gstbuffer.h:
14112 * gst/gstelement.c:
14113 * gst/gstformat.c:
14114 * gst/gstformat.h:
14115 * gst/gstindex.h:
14116 * gst/gstquery.c:
14117 * gst/gstquery.h:
14118 * gst/gstvalue.c:
14119 Doc fixes.
14121 2005-11-20 Wim Taymans <wim@fluendo.com>
14123 * docs/design/part-TODO.txt:
14124 * gst/gstcaps.h:
14125 Make a proper enum of the flag.
14127 2005-11-19 Wim Taymans <wim@fluendo.com>
14129 * docs/design/part-TODO.txt:
14130 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14131 (gst_format_to_quark), (gst_format_register):
14132 * gst/gstformat.h:
14133 * gst/gstquery.c: (_gst_query_initialize),
14134 (gst_query_type_get_name), (gst_query_type_to_quark),
14135 (gst_query_type_register):
14136 * gst/gstquery.h:
14137 Add type to quark and type to string conversions.
14139 2005-11-19 Andy Wingo <wingo@pobox.com>
14141 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14142 #320097.
14144 2005-11-19 Wim Taymans <wim@fluendo.com>
14146 * docs/design/part-TODO.txt:
14147 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14148 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14149 (gst_bin_handle_message_func):
14150 * gst/gstbin.h:
14151 Make message handling overridable.
14153 2005-11-19 Andy Wingo <wingo@pobox.com>
14155 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14157 * gst/gstclock.h:
14158 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14159 be a GstClockTime.
14160 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14161 is a GstClockTime. Fixes #321710.
14163 * gst/gstclock.h (GstClock): Remove offset property. Add
14164 internal_calibration and external_calibration. Fix padding. Pad
14165 also by GstClockTime so we don't run into problems.
14167 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14168 (gst_clock_get_rate_offset): Remove.
14169 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14171 * gst/gstutils.h:
14172 * gst/gstutils.c (g_static_rec_cond_wait)
14173 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14175 * gst/gstbin.c: Remove terrible continue_state prototype.
14177 * gst/gstelement.h (gst_element_continue_state): Make public.
14179 * gst/gstelement.h:
14180 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14181 by continue_state. Fixes #319389.
14183 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14184 Really fixes #168438. However I don't see anywhere where the
14185 filter function is called... stupid GStreamer...
14187 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14188 don't have a dispose function, so it won't get called when the
14189 object is unreffed, but oh well!
14191 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14192 allows a destroy function to be set so user_data can be freed.
14193 Fixes #168438.
14194 (gst_index_set_filter): Call gst_index_set_filter_full.
14196 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14198 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14199 string should produce an error, given the lack of a way to
14200 represent NULL strings. Fixes #165650.
14202 * gst/gstvalue.h:
14203 * gst/gstvalue.c (gst_value_array_append_value)
14204 (gst_value_array_prepend_value, gst_value_array_get_size)
14205 (gst_value_array_get_value): New API, copied from
14206 gst_value_list_*, only operates on arrays.
14207 (gst_value_list_append_value, gst_value_list_prepend_value)
14208 (gst_value_list_concat, gst_value_list_get_size)
14209 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14211 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14212 init_list, because it works on both.
14213 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14214 (gst_value_copy_list_or_array): Renamed from copy_list.
14215 (gst_value_free_list_or_array): Renamed from free_list.
14216 (gst_value_collect_list_or_array): Renamed from collect_list.
14217 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14218 (gst_value_list_or_array_peek_pointer): Renamed from
14219 list_peek_pointer.
14220 (_gst_value_array_value_table, _gst_value_list_value_table):
14221 Update value table functions.
14222 (gst_value_compare_list_or_array): Renamed from compare_list.
14224 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14225 some constness.
14227 * gst/gsttaglist.c:
14228 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14229 GstTagList*. Fixes #143472.
14231 * gst/gststructure.h: Clarify what the foreach/map functions can
14232 or can't do to their arguments.
14234 2005-11-18 Wim Taymans <wim@fluendo.com>
14236 * gst/gstclock.c: (gst_clock_set_calibration),
14237 (gst_clock_get_calibration):
14238 Doc and API fixes.
14239 Calibration can be set with internal time equal to current
14240 internal time too.
14242 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14244 * gst/gsterror.c:
14245 * gst/gsterror.h:
14246 document
14248 2005-11-18 Andy Wingo <wingo@pobox.com>
14250 * configure.ac:
14251 * pkgconfig/gstreamer-net.pc.in:
14252 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14253 * pkgconfig/Makefile.am: Add net pkgconfig files.
14255 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14257 * gst/gstcaps.c:
14258 * gst/gstghostpad.c:
14259 * gst/gsttrace.c:
14260 * gst/gstvalue.c:
14261 * gst/gstvalue.h:
14262 docs fixes
14264 2005-11-18 Andy Wingo <wingo@pobox.com>
14266 * gst/net/gstnetclientclock.c: Turn off debugging.
14268 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14269 times connverge somewhat. Can't make a real test.
14271 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14272 integer arithmetic. Return the minimum of the domain, which can be
14273 set as "internal" for gst_clock_set_calibration.
14274 (gst_net_client_clock_observe_times): Call _set_calibration.
14275 (gst_net_client_clock_new): Call _set_calibration instead of
14276 rate_offset.
14278 * check/net/gstnetclientclock.c (test_functioning): Use the right
14279 adjustment api.
14281 * gst/gstclock.h:
14282 * gst/gstclock.c (gst_clock_get_calibration)
14283 (gst_clock_set_calibration): New functions, obsolete the ones I
14284 added yesterday. Doh. Precision issues mean we have to extrapolate
14285 from a point in the more recent past than 1970.
14286 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14287 obsolete.
14288 (gst_clock_adjust_unlocked): Use the right calibration data.
14290 2005-11-18 Edward Hervey <edward@fluendo.com>
14292 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14293 Also reset the ->current_* values in READY->PAUSED
14295 2005-11-18 Andy Wingo <wingo@pobox.com>
14297 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14298 Whoops, check the right fd. Also add some debugging.
14299 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14300 (do_linear_regression): Add a crapload of debugging. Subtract off
14301 the minimum values from the input series to discard unneeded bits.
14302 Use only int arithmetic. There is still double arithmetic when
14303 calculating the intercept that needs fixing. Return boolean to
14304 indicate success; FALSE would mean the domain or range is too
14305 great. Still needs fixes.
14307 2005-11-18 Wim Taymans <wim@fluendo.com>
14309 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14310 For the current position in stream time, we need to subtract
14311 accumulated time.
14313 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14314 Release lock before calling the callback function of async
14315 entries.
14317 2005-11-18 Andy Wingo <wingo@pobox.com>
14319 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14320 Port goes all the way to MAXUINT16.
14322 * gst/net/gstnettimeprovider.c: Make the port range the same as
14323 for the kernel: 0 assigns, otherwise ports are less than
14324 MAXUINT16.
14326 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14327 port change.
14329 * check/net/gstnetclientclock.c (test_functioning): Add the start
14330 of another test.
14332 2005-11-18 Wim Taymans <wim@fluendo.com>
14334 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14335 (gst_bin_remove_func), (bin_bus_handler):
14336 * gst/gstbin.h:
14337 Removing a clock provider from a bin, triggers a clock lost message
14338 so that a new clock will be selected.
14339 Adding a clock to a bin triggers a clock provider message.
14340 Make sure we reselect a clock when we received a clock lost message.
14341 Keep a reference to the element that provided the clock.
14343 2005-11-18 Andy Wingo <wingo@pobox.com>
14345 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14346 the clock initially so it produces values around the base time.
14347 (gst_net_client_clock_class_init): Typo fix.
14348 (gst_net_client_clock_thread): Add note on when the socket gets
14349 closed.
14351 2005-11-17 Wim Taymans <wim@fluendo.com>
14353 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14354 Free remote and local time arrays.
14356 2005-11-17 Wim Taymans <wim@fluendo.com>
14358 * gst/net/gstnetclientclock.c: (do_linear_regression),
14359 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14360 Fix compilation, uninitialized vars and a forgotten continue.
14362 2005-11-17 Andy Wingo <wingo@pobox.com>
14364 * check/Makefile.am (check_PROGRAMS):
14365 * check/net/gstnetclientclock.c: Add a most minimal test for the
14366 net client clock. More to come later.
14368 * gst/net/gstnet.h:
14369 * gst/net/Makefile.am: Add netclientclock.
14371 * gst/net/gstnetclientclock.h:
14372 * gst/net/gstnetclientclock.c: New files, implement an untested
14373 GstClock that takes its time from a network time provider.
14374 Implements the algorithm in network-clock.scm.
14376 * tests/network-clock.scm (*window-size*): Rename from
14377 *queue-length*.
14378 * tests/network-clock.scm (network-time):
14379 * tests/network-clock-utils.scm (q-push): Update callers.
14381 2005-11-17 Wim Taymans <wim@fluendo.com>
14383 * gst/gstbin.c: (gst_bin_provide_clock_func),
14384 (gst_bin_sort_iterator_new):
14385 And unref the child too..
14387 2005-11-17 Wim Taymans <wim@fluendo.com>
14389 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14390 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14391 Refactor the sort iterator so it can be used while holding the
14392 LOCK too.
14393 Make clock selection select a clock closest to the source.
14395 2005-11-17 Michael Smith <msmith@fluendo.com>
14397 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14398 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14399 * gst/gstclock.h:
14400 Anonymous structs are a gcc (and some other compilers) extension, so
14401 don't use them. Since this is only for ABI-compatibility, and our
14402 API/ABI freeze is over in a few days, this whole thing will only
14403 last a few days, so don't bother trying to think up a meaningful
14404 name for the struct.
14406 2005-11-17 Andy Wingo <wingo@pobox.com>
14408 * gst/gstclock.h (GstClock): Add rate and offset properties,
14409 preserving ABI stability. Add rate/offset accessors. Will file bug
14410 for the freeze break.
14412 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14413 and offset, trying to keep precision and avoiding
14414 underflow/overflow.
14415 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14416 functions. Make gst_clock_set_time_adjust obsolete.
14417 (gst_clock_set_time_adjust): Note that this function is obsolete.
14418 Will file bug soon.
14420 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14421 greppable by using GST_PADDING-1+1.
14423 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14425 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14427 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14428 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14430 * gst/gstpadtemplate.h:
14431 * gst/gstpluginfeature.h:
14432 Don't use c++ style comments in headers (#321638).
14434 2005-11-16 Andy Wingo <wingo@pobox.com>
14436 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14437 buffer.
14439 * check/net/gstnettimeprovider.c: Check to see that the time
14440 provider actually provides times. Works, yo!
14442 2005-11-16 Wim Taymans <wim@fluendo.com>
14444 * check/Makefile.am:
14445 Enable more tests.
14447 * check/elements/fakesrc.c: (GST_START_TEST):
14448 Set element to NULL before disposing it.
14450 2005-11-16 Andy Wingo <wingo@pobox.com>
14452 * gst/net/Makefile.am:
14453 * gst/net/gstnet.h:
14454 * gst/net/gstnettimeprovider.c:
14455 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14456 provider, include it from gstnet.h, and add it to the build.
14458 * gst/net/gstnettimepacket.h:
14459 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14460 sending and receiving.
14462 2005-11-16 Wim Taymans <wim@fluendo.com>
14464 * check/Makefile.am:
14465 Enable valgrind check.
14467 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14468 (gst_fake_src_alloc_buffer):
14469 Fix memleak.
14471 2005-11-16 Wim Taymans <wim@fluendo.com>
14473 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14474 Call parent finalize too.
14476 2005-11-16 Wim Taymans <wim@fluendo.com>
14478 * check/Makefile.am:
14479 Enable valgrind check that should work fine now.
14481 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14482 * gst/gstqueue.c: (gst_queue_init):
14483 Fix memleaks in pad allocation.
14485 2005-11-16 Andy Wingo <wingo@pobox.com>
14487 * gst/net/Makefile.am:
14488 * gst/net/gstnet.h: New part of core to hold network elements and
14489 objects. Put in core because it exposes API that applications want
14490 to use. The library is named libgstnet-tempname right now because
14491 of the existing libgstnet in gst-plugins-base. Solution is
14492 probably to rename the one in plugins-base; will file a bug for
14493 the freeze break.
14495 * gst/net/gstnettimeprovider.c:
14496 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14497 get_time call over the network.
14499 * configure.ac:
14500 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14502 * check/Makefile.am:
14503 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14504 get additions shortly.
14506 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14508 * gst/gstpad.c: (gst_pad_new_from_static_template):
14509 * gst/gstpad.h:
14510 add gst_pad_new_from_static_template functions
14511 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14512 (gst_check_setup_sink_pad):
14513 * gst/elements/gsttee.c: (gst_tee_init):
14514 and use them
14516 2005-11-16 Wim Taymans <wim@fluendo.com>
14518 * gst/gstpad.c: (gst_pad_pause_task):
14519 Removed warning, it's not really an error either.
14521 2005-11-16 Wim Taymans <wim@fluendo.com>
14523 * gst/base/gstbasetransform.c:
14524 (gst_base_transform_prepare_output_buf),
14525 (gst_base_transform_event):
14526 Check if the caps are NULL, this can happen if the element
14527 is shutting down and the pad caps are set to NULL.
14529 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14531 * gst/elements/gsttee.c: (gst_tee_init):
14532 fix pad template leak in tee
14534 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14536 * gst/glib-compat.c: (g_value_dup_gst_object):
14537 * gst/glib-compat.h:
14538 * gst/gstpad.c: (gst_pad_set_property):
14539 use gst_object_ref when setting the pad template; this will
14540 trigger the pad template leaks on GLib 2.6 and the slaves
14542 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14544 * gst/glib-compat.c: (gst_flags_get_first_value):
14545 * gst/glib-compat.h:
14546 * gst/gstregistryxml.c:
14547 remove functions copied from GLib 2.6
14549 2005-11-16 Michael Smith <msmith@fluendo.com>
14551 * gst/Makefile.am:
14552 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14553 do, but only breaks with newer valgrind versions. We're not a
14554 valgrind tool, we have no link-time dependencies on libcoregrind.
14556 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14558 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14559 some debug changes
14560 * gst/gstmessage.h:
14561 typo fixes
14563 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14565 * gst/base/gstbasesrc.c: (gst_base_src_init):
14566 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14567 * gst/gstqueue.c: (gst_queue_init):
14568 * gst/gstregistryxml.c: (load_feature):
14569 Revert all these unrefs, they don't even pass make check !
14571 2005-11-15 Johan Dahlin <johan@gnome.org>
14573 * gst/base/gstbasesrc.c: (gst_base_src_init):
14574 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14575 * gst/gstqueue.c: (gst_queue_init):
14576 Free pad templates, fixes a couple of leaks.
14578 2005-11-15 Daniel Fischer <dan at f3c dot com>
14580 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14582 * gst/gstpad.c: (gst_pad_get_property):
14583 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14584 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14585 (#321452)
14587 2005-11-15 Wim Taymans <wim@fluendo.com>
14589 * gst/gstevent.c:
14590 Small doc update.
14592 2005-11-15 Andy Wingo <wingo@pobox.com>
14594 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14596 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14597 using GST_CLOCK_TIME_NONE to disable base time management.
14598 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14599 time if it was NONE before.
14600 (gst_pipeline_change_state): Only munge the base time if
14601 stream_time != GST_CLOCK_TIME_NONE.
14603 * check/gst/gstpipeline.c (test_base_time): Punt around the
14604 problem of the probe not being called, because that's not the
14605 issue I'm looking at. Add a check that setting stream_time to NONE
14606 disables base time management.
14608 2005-11-15 Wim Taymans <wim@fluendo.com>
14610 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14611 segment_stop == -1 at startup.
14613 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14614 (gst_base_transform_change_state):
14615 Init segment values at start.
14617 2005-11-15 Wim Taymans <wim@fluendo.com>
14619 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14620 0 segment values are 0 in any format.
14622 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14623 * gst/base/gstbasetransform.h:
14624 Parse newsegment correctly in basetransform
14626 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14627 Sync to clock using updated segment values.
14629 2005-11-15 Andy Wingo <wingo@pobox.com>
14631 * check/gst/gstpipeline.c (test_base_time): Add check that the
14632 base time and stream time are reset correctly.
14634 2005-11-15 Wim Taymans <wim@fluendo.com>
14636 * docs/design/part-TODO.txt:
14637 Some more TODO items.
14639 2005-11-15 Andy Wingo <wingo@pobox.com>
14641 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14642 error if the user selected "no clock" as the clocking method.
14644 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14645 timestamps with live capture.
14647 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14648 is 0 but we are a live source, timestamp the buffers using the
14649 element's clock.
14651 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14653 * docs/gst/gstreamer-sections.txt:
14654 * gst/gsterror.c:
14655 * gst/gstghostpad.c:
14656 * gst/gstobject.h:
14657 * gst/gstxml.c:
14658 more section docs
14660 2005-11-14 Wim Taymans <wim@fluendo.com>
14662 * common/gst.supp:
14663 add suppressions from Wim's Debian machine
14665 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14667 * common/gst.supp:
14668 add suppressions from Andy's AMD64 Ubuntu machine
14670 2005-11-14 Andy Wingo <wingo@pobox.com>
14672 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14673 STATE_LOCK not necessary. Fixes #311489.
14675 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14676 #305291.
14678 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14679 this function is not implemented.
14681 2005-11-14 Julien MOUTTE <julien@moutte.net>
14683 * gst/base/gstbasetransform.c:
14684 (gst_base_transform_prepare_output_buf):
14685 Ref the source pad caps while we need them.
14686 Fixes (#321386)
14688 2005-11-11 Wim Taymans <wim@fluendo.com>
14690 * docs/gst/gstreamer-sections.txt:
14691 Added some docs for GstCollectData.
14693 * gst/base/gstadapter.c:
14694 Some small code example fix.
14696 * gst/base/gstcollectpads.c:
14697 * gst/base/gstcollectpads.h:
14698 Document some more.
14700 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14702 * configure.ac: back to HEAD
14704 === release 0.9.5 ===
14706 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14708 * configure.ac:
14709 releasing 0.9.5, "Bike Lunch Day"
14711 2005-11-11 Wim Taymans <wim@fluendo.com>
14713 * gst/gstbuffer.c: (_gst_buffer_copy):
14714 Copy more flags.
14716 * gst/gstcaps.c: (gst_caps_is_equal):
14717 Fix some docs.
14718 Make _is_equal fast in the trivial cases.
14720 * gst/gstminiobject.c:
14721 * gst/gstminiobject.h:
14722 More docs. Spifify .h file.
14724 * gst/gstutils.c:
14725 Small doc update.
14727 2005-11-11 Wim Taymans <wim@fluendo.com>
14729 * gst/base/gstbasetransform.c:
14730 (gst_base_transform_prepare_output_buf),
14731 (gst_base_transform_handle_buffer):
14732 Small cleanups.
14733 If we're processing a buffer and need to allocate an output
14734 buffer, we cannot accept a format change. If we did get a
14735 format change, we have to alloc a buffer ourselves of the
14736 right size.
14738 2005-11-11 Wim Taymans <wim@fluendo.com>
14740 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14741 While checking the flag for reentrancy in the gstcaps function
14742 is nice to detect recursive invocations, it also makes it
14743 impossible to call getcaps from multiple threads, which must be
14744 possible. So, checking for recursive calls has to go.
14746 2005-11-11 Michael Smith <msmith@fluendo.com>
14748 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14749 Don't sync on buffers that fall partially outside our current
14750 segment. Prevents an assertion failure/abort playing some files.
14752 2005-11-10 Andy Wingo <wingo@pobox.com>
14754 * check/gst/gstbin.c (test_message_state_changed_children): Style
14755 fix..
14757 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14758 gst_bus_poll with the signal watch. Ensures that poll and a signal
14759 watch see the same messages.
14761 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14762 a poll and a watch at the same time get the same messages.
14764 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14766 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14767 * gst/gstcaps.c: (gst_caps_intersect):
14768 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14769 and it's not needed.
14771 2005-11-10 Wim Taymans <wim@fluendo.com>
14773 * docs/design/part-TODO.txt:
14774 Updated todo.
14776 2005-11-10 Wim Taymans <wim@fluendo.com>
14778 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14779 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14780 (gst_base_src_do_sync), (gst_base_src_get_range):
14781 Implement clock sync in base class.
14783 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14785 patch by: Tim-Philipp Müller <tim at centricular dot net>
14787 * gst/gststructure.c: (gst_structure_parse_field),
14788 (gst_structure_from_string):
14789 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14790 so that gst_parse_launch() can deal with spaces in filtered link
14791 caps (fixes #164479)
14792 * check/gst/capslist.h:
14793 * check/gst/gststructure.c: (GST_START_TEST):
14794 add unit tests for this change
14796 2005-11-10 Wim Taymans <wim@fluendo.com>
14798 * docs/gst/gstreamer-sections.txt:
14799 * gst/gstelement.c:
14800 * gst/gstelement.h:
14801 Fix docs, move some STATE macros to private.
14803 2005-11-10 Wim Taymans <wim@fluendo.com>
14805 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14806 Added check for bug #317341
14808 * gst/gstbuffer.c:
14809 * gst/gstbuffer.h:
14810 Some more spiffifying.
14812 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14813 Call peer linkfunction if we are a source pad. Totally fixes
14814 #317341
14816 * gst/gstpad.c:
14817 Update docs, source pads should call the peer linkfunction
14818 so they can atomically perform the pad link.
14820 2005-11-09 Wim Taymans <wim@fluendo.com>
14822 * gst/gstbuffer.c:
14823 * gst/gstbuffer.h:
14824 Uber-spiffy-spiffify some more.
14826 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14828 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14829 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14830 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14831 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14832 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14833 * gst/gstpad.c: (gst_pad_init):
14834 Use GST_DEBUG_FUNCPTR() more extensively.
14836 2005-11-09 Wim Taymans <wim@fluendo.com>
14838 * gst/gstobject.c: (gst_object_class_init):
14839 * gst/gstobject.h:
14840 Documentation fixes.
14842 2005-11-09 Edward Hervey <edward@fluendo.com>
14844 * gst/gsttypefindfactory.c:
14845 Fix docs.
14847 2005-11-09 Edward Hervey <edward@fluendo.com>
14849 * gst/base/gsttypefindhelper.c:
14850 * gst/gsttypefind.c:
14851 * gst/gsttypefind.h:
14852 Fix docs.
14854 2005-11-09 Wim Taymans <wim@fluendo.com>
14856 * gst/gstiterator.c:
14857 Fix revision data.
14859 * gst/gsttask.c:
14860 * gst/gsttask.h:
14861 Fix docs.
14863 2005-11-09 Wim Taymans <wim@fluendo.com>
14865 * gst/gstevent.h:
14866 * gst/gsturi.h:
14867 Fix docs.
14869 2005-11-09 Wim Taymans <wim@fluendo.com>
14871 * docs/gst/gstreamer-sections.txt:
14872 Moved the message async delivery private lock and cond
14873 to the private section.
14875 * gst/gstmessage.c:
14876 * gst/gstmessage.h:
14877 Fixed docs.
14879 2005-11-09 Edward Hervey <edward@fluendo.com>
14881 * docs/gst/gstreamer-sections.txt:
14882 * gst/gsturi.c:
14883 * gst/gsturi.h:
14884 Document GstURIHandler
14886 2005-11-09 Wim Taymans <wim@fluendo.com>
14888 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14889 (gst_iterator_find_custom):
14890 * gst/gstiterator.h:
14891 Fix iterator docs.
14893 2005-11-09 Wim Taymans <wim@fluendo.com>
14895 * gst/gstbin.h:
14896 Document another field.
14898 * gst/gststructure.c:
14899 * gst/gststructure.h:
14900 Document.
14902 2005-11-09 Wim Taymans <wim@fluendo.com>
14904 * gst/gstbin.h:
14905 Documented structs.
14907 2005-11-09 Wim Taymans <wim@fluendo.com>
14909 * docs/gst/gstreamer-sections.txt:
14910 Added some new macros.
14912 * gst/gstclock.c:
14913 * gst/gstclock.h:
14914 * gst/gstobject.h:
14915 Docs updates.
14917 2005-11-09 Wim Taymans <wim@fluendo.com>
14919 * docs/design/part-TODO.txt:
14920 Some more items for the TODO
14922 * gst/gstcaps.c:
14923 * gst/gstcaps.h:
14924 Document GstCaps.
14926 2005-11-09 Andy Wingo <wingo@pobox.com>
14928 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14929 to work on something else now tho...
14931 * gst/base/gstadapter.c: More adapter docs.
14933 * gst/elements/gstfilesink.c (gst_file_sink_start)
14934 (gst_file_sink_stop): New functions, replace the state change
14935 handler.
14936 (gst_file_sink_class_init): Hook up the start and stop functions.
14937 (gst_file_sink_base_init): Don't set the state change handler any
14938 more. It was a bit ugly too, being set from here...
14939 (gst_file_sink_get_property, gst_file_sink_set_property):
14940 Cleanups...
14941 (gst_file_sink_set_location): More robust check that doesn't call
14942 GST_STATE. Ugggggg.
14944 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14946 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14947 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14949 2005-11-08 Wim Taymans <wim@fluendo.com>
14951 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14952 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14953 (gst_base_sink_chain), (gst_base_sink_change_state):
14954 * gst/base/gstbasesink.h:
14955 * gst/base/gstbasesrc.h:
14956 * gst/gstelement.h:
14957 * gst/gstevent.h:
14958 Avoid excessive typechecking in macros.
14960 * gst/gstminiobject.c: (gst_mini_object_get_type),
14961 (gst_mini_object_init), (gst_mini_object_new),
14962 (gst_mini_object_free):
14963 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14964 (gst_object_finalize):
14965 Remove cruft code, optimize alloc_trace.
14967 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14969 * docs/faq/gst-uninstalled:
14970 fix up PS1 for systems that try to reset it
14972 2005-11-07 Wim Taymans <wim@fluendo.com>
14974 * gst/base/gstbasesrc.c: (gst_base_src_init),
14975 (gst_base_src_get_range):
14976 Set the segment_end to -1 initially. Fixed typefind.
14978 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14980 * gst/base/gstadapter.c:
14981 Debug category should be 'adapter', not 'GstAdapter'.
14983 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14984 (gst_collectpads_class_init), (gst_collectpads_init),
14985 (gst_collectpads_peek), (gst_collectpads_pop),
14986 (gst_collectpads_event), (gst_collectpads_chain):
14987 Add debug category and some debugging output. Use boilerplate
14988 macros. Remove some extraneous words from docs.
14990 2005-11-05 Andy Wingo <wingo@pobox.com>
14992 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14993 macro.
14995 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14997 * docs/gst/gstreamer-sections.txt:
14998 * gst/gstcaps.h:
14999 * gst/gstinfo.c:
15000 * gst/gstminiobject.h:
15001 * gst/gstobject.h:
15002 * gst/gstutils.h:
15003 more docs added
15005 2005-11-04 Wim Taymans <wim@fluendo.com>
15007 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15008 Small update to stop at the configured segment_end
15009 position.
15011 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15013 * gst/gstregistry.c:
15014 * gst/gstregistry.h:
15015 added missing docs
15017 2005-11-04 Edward Hervey <edward@fluendo.com>
15019 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15020 Check if we are doing a segment seek and have arrived at the
15021 end of that segment.
15023 2005-11-04 Wim Taymans <wim@fluendo.com>
15025 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15026 Don't leak a mutex unlock in case of an error.
15028 * gst/gstbus.h:
15029 Doc fixes.
15031 2005-11-04 Wim Taymans <wim@fluendo.com>
15033 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15034 (gst_bus_post):
15035 Get the context to wake up only once.
15037 2005-11-03 Wim Taymans <wim@fluendo.com>
15039 * check/states/sinks.c: (GST_START_TEST):
15040 Uncomment fixed check.
15042 * docs/design/part-TODO.txt:
15043 Updated TODO.
15045 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15046 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15047 (gst_base_sink_get_position):
15048 If we are going to PLAYING, post the right pending state
15049 when we post the intermediate paused message.
15051 * gst/gstelement.c: (gst_element_continue_state),
15052 (gst_element_set_state_func), (gst_element_change_state):
15053 Don't post state changes that were between the same state
15054 and were not ASYNC.
15056 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15058 * docs/gst/gstreamer-sections.txt:
15059 * gst/gstcaps.h:
15060 * gst/gstinfo.c:
15061 * gst/gstminiobject.h:
15062 * gst/gstobject.h:
15063 * gst/gstutils.h:
15064 more docs and doc style fixes
15066 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15068 * docs/gst/gstreamer-sections.txt:
15069 * gst/gstelement.c:
15070 * gst/gstminiobject.c:
15071 doc fixes
15073 2005-11-03 Andy Wingo <wingo@pobox.com>
15075 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15076 state-changed messages actually have the right order and the right
15077 values.
15079 2005-11-03 Wim Taymans <wim@fluendo.com>
15081 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15082 Added some more checks. Specifically the case where NO_PREROLL
15083 elements are in the pipeline.
15085 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15086 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15087 (gst_base_sink_get_position):
15088 Post READY->PAUSED state change messages too.
15089 Fix bug where VOID was posted as pending state...
15091 * gst/gstbin.c: (gst_bin_recalc_state):
15092 use _element_continue_state() to continue the state change.
15094 * gst/gstelement.c: (gst_element_continue_state),
15095 (gst_element_commit_state), (gst_element_set_state_func),
15096 (gst_element_change_state), (gst_element_change_state_func):
15097 Lots of state change cleanups, assign the STATE_RETURN in
15098 a new continue_state() function that also propagates the
15099 last return value from a state change to the app.
15100 Update some debug statements with proper category.
15102 2005-11-03 Wim Taymans <wim@fluendo.com>
15104 * docs/design/part-events.txt:
15105 * docs/design/part-gstpipeline.txt:
15106 * docs/design/part-messages.txt:
15107 * docs/design/part-overview.txt:
15108 * docs/design/part-seeking.txt:
15109 * docs/design/part-states.txt:
15110 * docs/design/part-trickmodes.txt:
15111 * docs/manual/advanced-position.xml:
15112 Small docs updates.
15114 * gst/gstobject.h:
15115 People think !! is ugly, this looks better.
15117 * gst/gstpad.c: (gst_pad_set_blocked_async):
15118 Remove !! since it's fixed elsewhere now.
15120 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15122 * gst/gstminiobject.h:
15123 * gst/gstobject.h:
15124 Add !! to _FLAG_IS_SET macros to make the result boolean.
15126 2005-11-03 Edward Hervey <edward@fluendo.com>
15128 * gst/gstpad.c: (gst_pad_set_blocked_async):
15129 comparing a flag and a gboolean rarely returns coherent results...
15130 Added two characters (!!) to make that work correctly.
15132 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15134 * gst/gstbus.c: (gst_bus_class_init):
15135 Fix some typos.
15137 * gst/gstqueue.c: (gst_queue_loop):
15138 Don't assume a miniobject that isn't a buffer is an
15139 event (it could be that there is a refcounting
15140 problem somewhere and the pointer is stale and
15141 refers to an already destroyed miniobject).
15143 2005-11-03 Julien MOUTTE <julien@moutte.net>
15145 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15147 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15149 * docs/manual/advanced-position.xml:
15150 Update seek example and explanations to current 0.9 API.
15152 * gst/elements/gsttypefindelement.c:
15153 (gst_type_find_element_activate):
15154 Remove FIXME comment now that the found caps
15155 are unreffed.
15157 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15159 * gst/gstregistryxml.c: (load_feature):
15160 Add another GST_STR_NULL instance
15162 2005-11-02 Edward Hervey <edward@fluendo.com>
15164 * gst/gstpad.c: (handle_pad_block):
15165 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15167 2005-11-02 Wim Taymans <wim@fluendo.com>
15169 * gst/gstbin.c:
15170 Fix typo in docs.
15172 * gst/gstelement.c: (gst_element_commit_state):
15173 Remove unused value.
15175 * gst/gstiterator.c:
15176 Mention that the returned element is reffed in the docs.
15178 2005-11-02 Wim Taymans <wim@fluendo.com>
15180 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15181 (gst_pad_push), (gst_pad_push_event):
15182 Unlock blocked pads when they are flushed.
15184 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15186 * docs/README:
15187 * docs/gst/gstreamer-sections.txt:
15188 * gst/gstbin.c:
15189 doc updates
15190 * gst/gstregistry.c: (gst_registry_scan_path_level):
15191 fix for a nasty little missed situation where an installed plug-in
15192 which was in the cache did not get overridden by an uninstalled one
15193 which was earlier in the plugin path because the newly created plugin
15194 for the uninstalled one (not in the registry) didn't get its
15195 ->registered set to TRUE
15197 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15199 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15200 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15201 (gst_collectpads_is_active), (gst_collectpads_collect),
15202 (gst_collectpads_collect_range), (gst_collectpads_start),
15203 (gst_collectpads_stop), (gst_collectpads_peek),
15204 (gst_collectpads_pop), (gst_collectpads_available),
15205 (gst_collectpads_read), (gst_collectpads_flush):
15206 Guard public API with assertions.
15208 * gst/gstpad.c:
15209 Fix docs for gst_pad_set_link_function().
15211 2005-11-02 Johan Dahlin <johan@gnome.org>
15213 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15214 Unref found_caps after we used it.
15216 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15218 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15219 Don't try to ref NULL.
15221 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15223 * win32/common/config.h.in:
15224 provide a GST_FUNCTION that just gives a string for now
15226 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15228 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15229 (gst_object_flags_get_type), (register_gst_bin_flags),
15230 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15231 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15232 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15233 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15234 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15235 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15236 (gst_clock_flags_get_type), (register_gst_state),
15237 (gst_state_get_type), (register_gst_state_change_return),
15238 (gst_state_change_return_get_type), (register_gst_state_change),
15239 (gst_state_change_get_type), (register_gst_element_flags),
15240 (gst_element_flags_get_type), (register_gst_core_error),
15241 (gst_core_error_get_type), (register_gst_library_error),
15242 (gst_library_error_get_type), (register_gst_resource_error),
15243 (gst_resource_error_get_type), (register_gst_stream_error),
15244 (gst_stream_error_get_type), (register_gst_event_type),
15245 (gst_event_type_get_type), (register_gst_seek_type),
15246 (gst_seek_type_get_type), (register_gst_seek_flags),
15247 (gst_seek_flags_get_type), (register_gst_format),
15248 (gst_format_get_type), (register_gst_index_certainty),
15249 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15250 (gst_index_entry_type_get_type),
15251 (register_gst_index_lookup_method),
15252 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15253 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15254 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15255 (gst_index_flags_get_type), (register_gst_debug_level),
15256 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15257 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15258 (gst_iterator_result_get_type), (register_gst_iterator_item),
15259 (gst_iterator_item_get_type), (register_gst_message_type),
15260 (gst_message_type_get_type), (register_gst_mini_object_flags),
15261 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15262 (gst_pad_link_return_get_type), (register_gst_flow_return),
15263 (gst_flow_return_get_type), (register_gst_activate_mode),
15264 (gst_activate_mode_get_type), (register_gst_pad_direction),
15265 (gst_pad_direction_get_type), (register_gst_pad_flags),
15266 (gst_pad_flags_get_type), (register_gst_pad_presence),
15267 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15268 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15269 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15270 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15271 (gst_plugin_flags_get_type), (register_gst_rank),
15272 (gst_rank_get_type), (register_gst_query_type),
15273 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15274 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15275 (gst_tag_flag_get_type), (register_gst_task_state),
15276 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15277 (gst_alloc_trace_flags_get_type),
15278 (register_gst_type_find_probability),
15279 (gst_type_find_probability_get_type), (register_gst_uri_type),
15280 (gst_uri_type_get_type), (register_gst_parse_error),
15281 (gst_parse_error_get_type):
15282 * win32/common/gstversion.h:
15283 update win32 copies
15285 2005-11-01 Luca Ognibene <luogni@tin.it>
15287 * gst/gst.c:
15288 fix docs. popt is dead, long live GOption.
15290 2005-10-31 Wim Taymans <wim@fluendo.com>
15292 * gst/gstbuffer.h:
15293 Small doc fix.
15295 2005-10-31 Andy Wingo <wingo@pobox.com>
15297 * Boo!
15299 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15301 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15302 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15303 the possibility of deadlocks here if code calling notify() or
15304 set() has a lock that can be taken in another notify handler (ABBA
15305 with class lock and e.g. python GIL state lock).
15307 2005-10-28 Julien MOUTTE <julien@moutte.net>
15309 * gst/gstbus.c: Doc updates.
15311 2005-10-28 Wim Taymans <wim@fluendo.com>
15313 * docs/design/part-TODO.txt:
15314 * gst/gstiterator.c:
15315 * gst/gstsystemclock.c:
15316 * gst/gstsystemclock.h:
15317 Doc updates.
15319 2005-10-28 Edward Hervey <edward@fluendo.com>
15321 * docs/gst/gstreamer-docs.sgml:
15322 * docs/gst/gstreamer-sections.txt:
15323 the GstURIType documentation page is private, it only defines GstURIType
15324 which should be defined in the GstURIHandler page
15326 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15328 * gst/gstbin.c: (gst_bin_class_init):
15329 * gst/gstbin.h:
15330 * gst/gstutils.c:
15331 Documentation updates.
15333 2005-10-28 Wim Taymans <wim@fluendo.com>
15335 * docs/gst/gstreamer-sections.txt:
15336 * gst/gstclock.c:
15337 * gst/gstclock.h:
15338 Documented the clocks.
15340 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15342 * docs/gst/gstreamer-sections.txt:
15343 move some macros to private sections
15344 * gst/gstminiobject.c:
15345 * gst/gstminiobject.h:
15346 add descriptions provided by ds and some more
15347 * gst/gstpad.h:
15348 mark macro as to be removed
15350 2005-10-28 Wim Taymans <wim@fluendo.com>
15352 * docs/design/part-TODO.txt:
15353 Add an item to TODO.
15355 * gst/gstiterator.c: (gst_iterator_fold),
15356 (gst_iterator_find_custom):
15357 * gst/gstiterator.h:
15358 Add iterator docs.
15360 2005-10-28 Wim Taymans <wim@fluendo.com>
15362 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15363 (gst_base_transform_init):
15364 Don't leak class.
15366 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15367 An EOS event marks the queue as completely filled.
15369 2005-10-27 Wim Taymans <wim@fluendo.com>
15371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15372 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15373 Some more debugging.
15375 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15376 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15377 (gst_base_transform_event), (gst_base_transform_getrange),
15378 (gst_base_transform_chain):
15379 * gst/base/gstbasetransform.h:
15380 Fix debugging,
15381 Protect transform and concurrent buffer alloc with a new lock.
15382 Try not to break ABI/API.
15384 2005-10-27 Wim Taymans <wim@fluendo.com>
15386 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15387 (gst_base_src_init), (gst_base_src_query),
15388 (gst_base_src_default_newsegment),
15389 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15390 (gst_base_src_send_event), (gst_base_src_event_handler),
15391 (gst_base_src_pad_get_range), (gst_base_src_loop),
15392 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15393 (gst_base_src_start), (gst_base_src_deactivate),
15394 (gst_base_src_activate_push), (gst_base_src_change_state):
15395 Move some stuff around and cleanup things.
15397 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15399 * gst/base/gstbasesrc.c: (gst_base_src_query):
15400 Add missing break statements.
15402 2005-10-27 Wim Taymans <wim@fluendo.com>
15404 * check/gst/gstbin.c: (GST_START_TEST):
15405 An extra refcount is taken in basesrc.
15407 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15408 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15409 (gst_base_src_loop):
15410 Small cleanups, check for flushing after being unlocked from the
15411 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15412 Don't send out EOS when going to READY.
15414 2005-10-27 Wim Taymans <wim@fluendo.com>
15416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15417 (gst_base_sink_get_position):
15418 Some more debug.
15420 * gst/gstbin.c: (message_check), (bin_replace_message),
15421 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15422 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15423 (bin_query_duration_init), (bin_query_duration_fold),
15424 (bin_query_duration_done), (bin_query_generic_fold),
15425 (gst_bin_query):
15426 * tools/gst-launch.c: (main):
15427 Remove old option.
15429 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15431 * examples/controller/audio-example.c: (main):
15432 * examples/queue/queue.c: (event_loop):
15433 * gst/base/gstbasetransform.h:
15434 * gst/gstelement.c: (gst_element_send_event):
15435 * gst/gstevent.h:
15436 * gst/gstpad.c: (gst_pad_send_event):
15437 fixing examples
15438 fixing docs typos
15439 changing log priority in error situations
15441 2005-10-25 Wim Taymans <wim@fluendo.com>
15443 * gst/gstbin.c: (message_check), (bin_replace_message),
15444 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15445 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15446 (bin_query_duration_init), (bin_query_duration_fold),
15447 (bin_query_duration_done), (bin_query_generic_fold),
15448 (gst_bin_query):
15449 Some doc and debug updates.
15450 Cache previously requested query DURATION for speed. invalidate
15451 cached duration if element posts a DURATION message.
15453 2005-10-25 Wim Taymans <wim@fluendo.com>
15455 * docs/design/part-TODO.txt:
15456 Update TODO.
15458 * gst/gstbin.c: (message_check), (bin_replace_message),
15459 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15460 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15461 (bin_query_duration_init), (bin_query_duration_fold),
15462 (bin_query_duration_done), (bin_query_generic_fold),
15463 (gst_bin_query):
15464 Handle SEGMENT_START/DONE messages correctly.
15465 More evolved query algorithm that handles duration queries
15466 correctly.
15468 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15469 (gst_element_get_state_func), (gst_element_abort_state),
15470 (gst_element_commit_state), (gst_element_lost_state):
15471 Some more debugging.
15473 * gst/gstmessage.h:
15474 Added doc.
15476 2005-10-25 Wim Taymans <wim@fluendo.com>
15478 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15479 Don't use invalid stream_time.
15481 * gst/gstevent.c: (gst_event_new_newsegment):
15482 stream_time in newsegment cannot be undefined.
15484 2005-10-24 Wim Taymans <wim@fluendo.com>
15486 * gst/gstbus.c:
15487 Doc fix.
15489 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15490 (gst_queue_loop):
15491 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15493 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15495 * docs/libs/tmpl/gstdparam.sgml:
15496 * docs/libs/tmpl/gstdplinint.sgml:
15497 * docs/libs/tmpl/gstdpman.sgml:
15498 * docs/libs/tmpl/gstdpsmooth.sgml:
15499 * docs/libs/tmpl/gstunitconvert.sgml:
15500 these are obsolete
15502 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15504 * configure.ac:
15505 back to HEAD
15507 === release 0.9.4 ===
15509 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15511 * configure.ac:
15512 releasing 0.9.4, "Tyrannosaurus Rex"
15514 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15516 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15517 (gst_file_sink_get_current_offset):
15518 Use fseeko() and ftello() if available. When falling back on
15519 lseek() to get the current offset, fflush() first to make sure
15520 everything is up-to-date and we get the right offset.
15522 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15524 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15525 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15526 * gst/gsterror.c: (_gst_stream_errors_init):
15527 * gst/gsterror.h:
15528 * gst/gstqueue.c: (gst_queue_loop):
15529 * po/POTFILES.in:
15530 remove prematurely added error category and clean up the instances
15532 2005-10-21 Wim Taymans <wim@fluendo.com>
15534 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15535 (gst_base_sink_get_position), (gst_base_sink_query),
15536 (gst_base_sink_change_state):
15537 Simply set the right flag when going to playing, that's all
15538 we need to do instead of calling a function inside the object
15539 lock (that could take the lock as well and deadlock)
15541 2005-10-21 Wim Taymans <wim@fluendo.com>
15543 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15544 (gst_base_src_loop):
15545 Don't warn, the peer element knows what to do best when
15546 the seek failed, it might try something else.
15548 2005-10-21 Wim Taymans <wim@fluendo.com>
15550 * gst/base/gstbasesrc.c: (gst_base_src_init),
15551 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15552 Fix seeking.
15554 2005-10-21 Wim Taymans <wim@fluendo.com>
15556 * docs/design/part-segments.txt:
15557 More docs.
15559 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15560 Correctly set caps, even on the subbufer.
15562 2005-10-21 Wim Taymans <wim@fluendo.com>
15564 * docs/gst/gstreamer-docs.sgml:
15565 * docs/gst/gstreamer-sections.txt:
15566 * gst/gstelement.h:
15567 * gst/gstevent.c:
15568 * gst/gstevent.h:
15569 * gst/gstmessage.h:
15570 * gst/gstpad.h:
15571 * gst/gstparse.h:
15572 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15573 * gst/gsttask.h:
15574 * gst/gstutils.c:
15575 * gst/gstutils.h:
15576 And 2% more doc coverage.
15578 2005-10-21 Andy Wingo <wingo@pobox.com>
15580 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15581 position reporting.
15583 2005-10-20 Wim Taymans <wim@fluendo.com>
15585 * gst/gsterror.c: (gst_error_get_message):
15586 * gst/gstparse.h:
15587 * gst/gstquery.h:
15588 * gst/gststructure.c:
15589 * gst/gsttrace.c:
15590 * gst/gstutils.c:
15591 More docs.
15593 2005-10-20 Wim Taymans <wim@fluendo.com>
15595 * gst/gstbuffer.h:
15596 * gst/gstpad.c:
15597 * gst/gstparse.c:
15598 Another 1% more coverage.
15600 2005-10-20 Wim Taymans <wim@fluendo.com>
15602 * docs/gst/gstreamer-sections.txt:
15603 * gst/gstelement.c: (gst_element_get_state_func),
15604 (gst_element_abort_state), (gst_element_commit_state),
15605 (gst_element_lost_state):
15606 * gst/gstevent.h:
15607 * gst/gstquery.c: (gst_query_set_position),
15608 (gst_query_parse_position), (gst_query_set_duration),
15609 (gst_query_parse_duration), (gst_query_new_convert):
15610 * gst/gstutils.c:
15611 Yay! 1% more docs coverage.
15613 2005-10-20 Wim Taymans <wim@fluendo.com>
15615 * gst/gstpad.h:
15616 * gst/gstquery.c: (gst_query_set_position),
15617 (gst_query_parse_position), (gst_query_set_duration),
15618 (gst_query_parse_duration), (gst_query_new_convert):
15619 * gst/gstquery.h:
15620 * gst/gstutils.c: (gst_element_query_convert):
15621 * gst/gstutils.h:
15622 Docs and consistency fixes.
15624 2005-10-20 Wim Taymans <wim@fluendo.com>
15626 * gst/gsttask.c:
15627 * gst/gsttask.h:
15628 More docs.
15630 2005-10-20 Wim Taymans <wim@fluendo.com>
15632 * gst/gstbin.c: (message_check), (bin_replace_message),
15633 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15634 (update_degree), (gst_bin_sort_iterator_next),
15635 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15636 Reworked the message handling a bit, cache the messages instead of
15637 only the senders. alows us to do more in the future.
15639 2005-10-20 Wim Taymans <wim@fluendo.com>
15641 * docs/design/part-TODO.txt:
15642 Update TODO
15644 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15645 (gst_base_sink_query):
15646 Don't use clock time to report position when in EOS.
15648 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15650 * tools/gst-inspect.c: (print_interfaces),
15651 (print_element_properties_info), (print_element_info):
15652 Fix interface output with gst-inspect -a; don't print
15653 newlines after double/float properties.
15655 2005-10-20 Wim Taymans <wim@fluendo.com>
15657 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15658 (gst_base_sink_query):
15659 Speed up current position calculation.
15661 * gst/base/gstbasesrc.c: (gst_base_src_query),
15662 (gst_base_src_default_newsegment):
15663 Correctly set stream position in newsegment.
15665 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15666 (update_degree), (gst_bin_sort_iterator_next),
15667 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15668 * gst/gstmessage.c: (gst_message_new_custom):
15669 Clean up debugging info
15671 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15672 (gst_queue_loop), (gst_queue_handle_src_query):
15673 Pause task faster.
15675 2005-10-19 Wim Taymans <wim@fluendo.com>
15677 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15678 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15679 Fix query handling again.
15681 2005-10-19 Wim Taymans <wim@fluendo.com>
15683 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15684 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15685 * gst/base/gstbasesrc.c: (gst_base_src_query):
15686 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15687 * gst/elements/gsttypefindelement.c:
15688 (gst_type_find_handle_src_query), (find_element_get_length),
15689 (gst_type_find_element_activate):
15690 API change fix.
15692 * gst/gstquery.c: (gst_query_new_position),
15693 (gst_query_set_position), (gst_query_parse_position),
15694 (gst_query_new_duration), (gst_query_set_duration),
15695 (gst_query_parse_duration), (gst_query_set_segment),
15696 (gst_query_parse_segment):
15697 * gst/gstquery.h:
15698 Bundling query position/duration is not a good idea since duration
15699 does not change much and we don't want to recalculate it for every
15700 position query, so they are separated again..
15701 Base value in segment query is not needed.
15703 * gst/gstqueue.c: (gst_queue_handle_src_query):
15704 * gst/gstutils.c: (gst_element_query_position),
15705 (gst_element_query_duration), (gst_pad_query_position),
15706 (gst_pad_query_duration):
15707 * gst/gstutils.h:
15708 Updates for query API change.
15709 Added some docs here and there.
15711 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15713 * check/gst/gstbin.c: (GST_START_TEST):
15714 * check/gst/gstghostpad.c: (GST_START_TEST):
15715 * check/pipelines/cleanup.c: (GST_START_TEST):
15716 wait on thread to die so we can check refcount correctly
15718 2005-10-18 Wim Taymans <wim@fluendo.com>
15720 * check/pipelines/stress.c: (GST_START_TEST):
15721 Make check a little more time consuming.
15723 2005-10-18 Wim Taymans <wim@fluendo.com>
15725 * check/Makefile.am:
15726 * check/pipelines/stress.c: (GST_START_TEST),
15727 (simple_launch_lines_suite), (main):
15728 Small state change torture test.
15730 * docs/design/part-states.txt:
15731 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15732 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15733 (gst_base_sink_change_state):
15734 Never take state lock from streaming thread, clean up ugly
15735 hacks. Unfortunatly core does not yet support nice ways to
15736 async commit state.
15738 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15739 (bin_bus_handler):
15740 Start state recalc if a STATE_DIRTY message is posted, but only
15741 on the toplevel bin.
15743 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15744 (gst_element_get_state_func), (gst_element_abort_state),
15745 (gst_element_commit_state), (gst_element_lost_state),
15746 (gst_element_set_state_func), (gst_element_change_state):
15747 * gst/gstelement.h:
15748 State variables are now protected with the LOCK, the state
15749 lock is only used to serialize _set_state().
15751 2005-10-18 Wim Taymans <wim@fluendo.com>
15753 * check/gst/gstbin.c: (GST_START_TEST):
15754 * check/gst/gstmessage.c: (GST_START_TEST):
15755 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15756 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15757 (bin_bus_handler):
15758 * gst/gstelement.c: (gst_element_abort_state),
15759 (gst_element_commit_state), (gst_element_lost_state):
15760 * gst/gstmessage.c: (gst_message_new_state_changed),
15761 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15762 (gst_message_new_segment_done), (gst_message_new_duration),
15763 (gst_message_parse_state_changed),
15764 (gst_message_parse_segment_start),
15765 (gst_message_parse_segment_done), (gst_message_parse_duration):
15766 * gst/gstmessage.h:
15767 * tools/gst-launch.c: (event_loop):
15768 Seriously, this is better than a previous commit as we only need
15769 to notify the fact that an element changed state in a streaming
15770 thread, marking the state of the parents dirty, hence the
15771 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15772 message.
15774 2005-10-18 Wim Taymans <wim@fluendo.com>
15776 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15777 (gst_bin_recalc_func):
15778 * gst/gstelement.c: (gst_element_set_clock),
15779 (gst_element_abort_state), (gst_element_lost_state):
15780 Cleanups, prepare for state change fixes.
15782 2005-10-18 Wim Taymans <wim@fluendo.com>
15784 * gst/gstbin.h:
15785 * gst/gstelement.c: (gst_element_class_init),
15786 (gst_element_set_state), (gst_element_set_state_func):
15787 * gst/gstelement.h:
15788 Pending ABI changes.
15789 GThreadPool in GstBinClass to monitor async state changes.
15790 state_cookie in GstElement to detect concurrent gst/set state.
15791 set_state is now virtual too in case a very complicated element
15792 has to be constructed.
15794 2005-10-18 Wim Taymans <wim@fluendo.com>
15796 * check/gst/gstbin.c: (GST_START_TEST):
15797 * check/gst/gstmessage.c: (GST_START_TEST):
15798 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15799 * gst/gstbin.c: (bin_bus_handler):
15800 * gst/gstelement.c: (gst_element_commit_state),
15801 (gst_element_lost_state):
15802 * gst/gstmessage.c: (gst_message_new_state_changed),
15803 (gst_message_new_segment_start), (gst_message_new_segment_done),
15804 (gst_message_new_duration), (gst_message_parse_state_changed),
15805 (gst_message_parse_segment_start),
15806 (gst_message_parse_segment_done), (gst_message_parse_duration):
15807 * gst/gstmessage.h:
15808 * tools/gst-launch.c: (event_loop):
15809 Make messages future proof.
15810 state-change gets a flag if it was a message comming from the
15811 streaming thread.
15812 segment-start/stop can also be specified in other formats.
15813 A message to notify an app that a pipeline changed playback
15814 duration.
15815 Also fix a GstMessage leak in -launch
15817 2005-10-18 Andy Wingo <wingo@pobox.com>
15819 * gst/gstelement.c (gst_element_dispose): More helpful message.
15821 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15823 reviewed by: <delete if not using a buddy>
15825 * common/gtk-doc.mak:
15827 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15829 * gst/gstregistry.c: (gst_registry_scan_path_level):
15830 unref a plug-in we get that was already initialized
15832 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15834 * docs/gst/gstreamer-sections.txt:
15835 * docs/libs/gstreamer-libs-sections.txt:
15836 * gst/gstelement.h:
15837 add new api entries
15838 hide internal macro
15840 2005-10-17 Andy Wingo <wingo@pobox.com>
15842 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15843 cleanup.
15845 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15847 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15849 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15850 (gst_element_get_state_func): Better debug message.
15851 (gst_element_commit_state): s/INFO/DEBUG/.
15852 (gst_element_lost_state, gst_element_change_state):
15854 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15855 (gst_message_new_custom): s/INFO/LOG/.
15857 2005-10-17 Michael Smith <msmith@fluendo.com>
15859 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15860 Check if end time is valid using end time, not start time.
15862 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15864 * check/gst-libs/controller.c: (GST_START_TEST),
15865 (gst_controller_suite):
15866 * libs/gst/controller/gstcontroller.c:
15867 (gst_controlled_property_set_interpolation_mode):
15868 * libs/gst/controller/gstcontroller.h:
15869 * libs/gst/controller/gstinterpolation.c:
15870 * testsuite/controller/.cvsignore:
15871 * testsuite/controller/Makefile.am:
15872 * testsuite/controller/interpolator.c:
15873 merge controller testsuites
15874 fix broken tests
15875 remove mem-chunk from docs
15877 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15879 * gst/gstmemchunk.c:
15880 * gst/gstmemchunk.h:
15881 * gst/gsttrashstack.c:
15882 * gst/gsttrashstack.h:
15883 out. get out. you're fired. to the Attic !
15885 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15887 * gst/gstcaps.c: (gst_caps_intersect):
15888 fix signedness issues in a (hopefully) correct way
15889 * gst/gstelement.c: (gst_element_pads_activate):
15890 some debugging
15891 * gst/gstobject.c: (gst_object_set_parent):
15892 some debugging
15894 2005-10-17 Julien MOUTTE <julien@moutte.net>
15896 * gst/gstvalue.h: Fix prototypes.
15898 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15900 * docs/gst/gstreamer-sections.txt:
15901 * gst/gst.c: (gst_version_string):
15902 * gst/gst.h:
15903 * gst/gstversion.h.in:
15904 * win32/common/libgstreamer.def:
15905 add gst_version_string ()
15907 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15909 * configure.ac:
15910 clean up further
15911 * gst/gst.c: (init_post):
15912 * win32/common/config.h.in:
15913 it's PLUGINDIR now
15914 * gst/gstcaps.c: (gst_caps_intersect):
15915 use gint64, the range could be bigger than a guint
15917 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15919 * gst/gstclock.h:
15920 document potential problem in 2038
15922 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15924 * gst/gstcaps.c: (gst_caps_intersect):
15925 Fix guint j diving under 0
15927 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15929 * configure.ac:
15930 * win32/common/config.h:
15931 * win32/common/config.h.in:
15932 check for process.h, declares getpid() on Windows
15933 * gst/gstinfo.c:
15934 include process.h if we have it
15935 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15936 * gst/gstmemchunk.h:
15937 fix signedness issues
15938 * win32/common/libgstreamer.def:
15939 fix get_type's
15941 2005-10-16 Julien MOUTTE <julien@moutte.net>
15943 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15944 fix. Because of unsigned ints, caps intersection was going nuts and
15945 trying to access structures with G_MAXUINT index. That fixes
15946 videotestsrc ! ffmpegcolorspace ! fakesink
15947 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15948 consistency.
15950 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15952 * configure.ac:
15953 use the gettext macro
15954 * gst/elements/gstelements.c:
15955 * gst/gst.c:
15956 * gst/indexers/gstindexers.c:
15957 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15958 * win32/common/config.h:
15959 updated config.h
15960 * win32/common/config.h.in:
15961 add the template to generate config.h
15962 * win32/common/gstenumtypes.c:
15963 * win32/common/gstversion.h:
15964 updated copies
15966 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15968 * gst/gst.c: (gst_version):
15969 * gst/gstversion.h.in:
15970 add the nano
15972 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15974 * gst/gstevent.h:
15975 Oops, add missing closing bracket.
15977 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15979 * configure.ac:
15980 use common m4's for argument checking
15982 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15984 * docs/gst/gstreamer-sections.txt:
15985 * gst/gstevent.h:
15986 Add GST_EVENT_TYPE_NAME() macro.
15988 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15990 * gst/gstinfo.c:
15991 * gst/gstpluginfeature.c:
15992 * gst/gsttask.c:
15993 privatize more symbols
15995 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15997 * configure.ac:
15998 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15999 everything that uses GStreamer API should have the includes
16001 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16003 * docs/gst/gstreamer-sections.txt:
16004 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16005 * gst/gstvalue.h:
16006 give each value a _get_type, removes the DATA exports
16008 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16010 * gst/gst.c:
16011 * gst/gst.h:
16012 remove _gst_registry_auto_load, not used anymore
16013 * gst/gstbin.c: (gst_bin_get_type):
16014 * gst/gstbin.h:
16015 * gst/gstelement.c: (gst_element_get_type):
16016 * gst/gstelement.h:
16017 * gst/gstobject.c: (gst_object_get_type):
16018 * gst/gstobject.h:
16019 * gst/gstpad.c: (gst_pad_get_type):
16020 * gst/gstpad.h:
16021 make _get_type functions similar, fixes data export from library
16023 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16025 * configure.ac:
16026 correctly make conditionals
16027 * gst/elements/Makefile.am:
16028 * gst/elements/gstelements.c:
16029 fix typo causing fdsrc not to build
16031 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16033 * testsuite/Makefile.am:
16034 * testsuite/bytestream/.cvsignore:
16035 * testsuite/bytestream/Makefile.am:
16036 * testsuite/bytestream/filepadsink.c:
16037 * testsuite/bytestream/gstbstest.c:
16038 * testsuite/bytestream/test1.c:
16039 * testsuite/bytestream/testfile1:
16040 * testsuite/caps/normalisation.c:
16041 * testsuite/caps/random.c: (main):
16042 * testsuite/cleanup/.cvsignore:
16043 * testsuite/cleanup/Makefile.am:
16044 * testsuite/cleanup/cleanup1.c:
16045 * testsuite/cleanup/cleanup2.c:
16046 * testsuite/cleanup/cleanup3.c:
16047 * testsuite/cleanup/cleanup4.c:
16048 * testsuite/cleanup/cleanup5.c:
16049 * testsuite/controller/interpolator.c:
16050 * testsuite/debug/printf_extension.c: (main):
16051 * testsuite/elements/tee.c:
16052 * testsuite/negotiation/.cvsignore:
16053 * testsuite/negotiation/Makefile.am:
16054 * testsuite/negotiation/pad_link.c:
16055 * testsuite/pad/Makefile.am:
16056 * testsuite/pad/chainnopull.c:
16057 * testsuite/pad/getnopush.c:
16058 * testsuite/pad/link.c:
16059 * testsuite/refcounting/sched.c: (create_pipeline):
16060 * testsuite/registry/Makefile.am:
16061 * testsuite/registry/gst-print-formats.c:
16062 * testsuite/schedulers/.cvsignore:
16063 * testsuite/schedulers/142183-2.c:
16064 * testsuite/schedulers/142183.c:
16065 * testsuite/schedulers/143777-2.c:
16066 * testsuite/schedulers/143777.c:
16067 * testsuite/schedulers/147713.c:
16068 * testsuite/schedulers/147819.c:
16069 * testsuite/schedulers/147894-2.c:
16070 * testsuite/schedulers/147894.c:
16071 * testsuite/schedulers/Makefile.am:
16072 * testsuite/schedulers/group_link.c:
16073 * testsuite/schedulers/queue_link.c:
16074 * testsuite/schedulers/relink.c:
16075 * testsuite/schedulers/unlink.c:
16076 * testsuite/schedulers/unref.c:
16077 * testsuite/schedulers/useless_iteration.c:
16078 * testsuite/states/bin.c:
16079 clean out/remove some stuff from the testsuite directories
16081 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16083 * configure.ac:
16084 check for some headers
16085 * gst/elements/Makefile.am:
16086 * gst/elements/gstelements.c:
16087 don't compile fdsrc without sys/socket.h
16088 * gst/indexers/Makefile.am:
16089 * gst/indexers/gstindexers.c: (plugin_init):
16090 don't compile fileindex without mmap
16092 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16094 * configure.ac:
16095 reorganize
16096 clean up
16097 document more
16098 remove cruft
16099 * check/Makefile.am:
16100 * docs/gst/Makefile.am:
16101 * examples/helloworld/Makefile.am:
16102 * gst/Makefile.am:
16103 * gst/base/Makefile.am:
16104 * gst/check/Makefile.am:
16105 * gst/elements/Makefile.am:
16106 * gst/indexers/Makefile.am:
16107 * gst/parse/Makefile.am:
16108 * libs/gst/controller/Makefile.am:
16109 * libs/gst/dataprotocol/Makefile.am:
16110 * examples/helloworld/helloworld.c: (event_loop):
16111 compile fixes, though it's not being compiled currently
16113 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16115 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16116 Add some simple tests for the new taglist date API.
16118 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16120 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16121 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16122 Beautify 'last-message' output: print 'none' for buffer timestamps
16123 and durations if none is set; improve alignment with next messages.
16125 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16127 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16128 * gst/gstpluginfeature.h:
16129 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16130 * gst/gstregistry.h:
16131 * docs/gst/gstreamer-sections.txt:
16132 Add new API to check plugin feature version requirements.
16134 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16135 Some basic tests for the above.
16137 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16139 * gst/gststructure.c: (gst_structure_to_string):
16140 guard against NULL printf - happens when for example
16141 a message structure with GstClock gets serialized
16143 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16145 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16146 Fix presumable copy'n'pasto.
16148 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16150 * gst/elements/gstfakesrc.h:
16151 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16152 * gst/elements/gsttypefindelement.c:
16153 fix some signedness
16154 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16155 I wonder if this could actually write +2GB files before
16157 2005-10-13 Andy Wingo <wingo@pobox.com>
16159 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16160 Fix Timmeke Waymans bug.
16161 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16162 string of the proper length to gst_caps_from_string. There's a
16163 potential for, before this fix, that this could cause someone
16164 connecting over the network to cause a segfault if the payload is
16165 not NUL-terminated.
16167 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16169 * docs/design/draft-push-pull.txt:
16170 * docs/design/part-overview.txt:
16171 * docs/random/TODO-pre-0.9:
16172 * docs/random/old/ChangeLog.gstreamer:
16173 * gst/base/gstpushsrc.c:
16174 * gst/gstclock.c:
16175 fixed typos
16177 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16179 * gst/glib-compat.c: (gst_flags_get_first_value):
16180 * gst/glib-compat.h:
16181 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16182 (gst_value_compare_double), (gst_value_serialize_flags):
16183 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16184 infinite loop
16186 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16189 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16190 fix up debugging
16191 * tools/gst-launch.c: (event_loop):
16192 print out clock nicely
16194 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16196 * docs/gst/gstreamer-sections.txt:
16197 * gst/gsttaglist.h:
16198 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16199 (gst_tag_list_get_date_index):
16200 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16201 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16203 2005-10-13 Julien MOUTTE <julien@moutte.net>
16205 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16206 (gst_collectpads_chain):
16207 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16208 in CollectData.
16210 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16212 * docs/gst/gstreamer-sections.txt:
16213 * gst/gst.c:
16214 * gst/gsterror.h:
16215 * tools/gst-inspect.c: (main):
16216 * tools/gst-launch.c: (main):
16217 * tools/gst-run.c: (main):
16218 * tools/gst-xmlinspect.c: (main):
16219 fix GOption context leaks
16220 doc fixes
16222 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16224 * gst/gstbus.c:
16225 use HAVE_UNISTD_H
16226 * win32/common/config.h:
16227 update config
16228 * win32/vs6/grammar.dsp:
16229 * win32/vs6/libgstelements.dsp:
16230 * win32/vs6/libgstreamer.dsp:
16231 update vs6 files
16233 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16235 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16236 * gst/base/gstbasesrc.c: (gst_base_src_query):
16237 fix more guint64<->gdouble conversions
16239 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16241 * Makefile.am:
16242 add win32-update target
16243 * win32/common/gstconfig.h:
16244 * win32/common/gstenumtypes.c:
16245 * win32/common/gstenumtypes.h:
16246 * win32/common/gstversion.h:
16247 add files that visual studio can't generate
16249 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16251 * Makefile.am:
16252 add a win32-update target
16253 * configure.ac:
16255 2005-10-12 Wim Taymans <wim@fluendo.com>
16257 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16258 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16259 * gst/gstelement.c: (gst_element_commit_state),
16260 (gst_element_set_state):
16261 Protect flags with proper lock.
16262 unref provided cached clock in dispose.
16264 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16266 * gst/gst.c:
16267 * gst/gstminiobject.h:
16268 * gst/gstpad.h:
16269 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16270 removed unused flags from miniobject
16271 doc fixes
16273 2005-10-12 Wim Taymans <wim@fluendo.com>
16275 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16276 (gst_file_sink_event), (gst_file_sink_render):
16277 Flush before seeking.
16279 2005-10-12 Andy Wingo <wingo@pobox.com>
16281 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16282 always been the case.
16284 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16286 * check/gst/gstbin.c: (GST_START_TEST):
16287 * docs/gst/gstreamer-sections.txt:
16288 * gst/base/gstbasesink.c: (gst_base_sink_init):
16289 * gst/base/gstbasesrc.c: (gst_base_src_init),
16290 (gst_base_src_get_range), (gst_base_src_check_get_range),
16291 (gst_base_src_start), (gst_base_src_stop):
16292 * gst/base/gstbasesrc.h:
16293 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16294 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16295 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16296 (bin_bus_handler):
16297 * gst/gstbin.h:
16298 * gst/gstbuffer.h:
16299 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16300 * gst/gstbus.h:
16301 * gst/gstelement.c: (gst_element_is_locked_state),
16302 (gst_element_set_locked_state), (gst_element_commit_state),
16303 (gst_element_set_state):
16304 * gst/gstelement.h:
16305 * gst/gstindex.c: (gst_index_init):
16306 * gst/gstindex.h:
16307 * gst/gstminiobject.h:
16308 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16309 (gst_object_set_parent):
16310 * gst/gstobject.h:
16311 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16312 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16313 * gst/gstpad.h:
16314 * gst/gstpadtemplate.h:
16315 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16316 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16317 * gst/gstpipeline.h:
16318 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16319 (gst_file_index_commit):
16320 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16321 * testsuite/pad/link.c: (gst_test_src_init),
16322 (gst_test_filter_init), (gst_test_sink_init):
16323 * testsuite/states/locked.c: (main):
16324 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16325 moved bitshift from macro to enum definition
16327 2005-10-12 Wim Taymans <wim@fluendo.com>
16329 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16330 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16331 (gst_file_sink_render):
16332 Some more debugging info.
16334 2005-10-12 Wim Taymans <wim@fluendo.com>
16336 * docs/design/part-states.txt:
16337 * tools/gst-launch.c: (main):
16338 Some doc updates.
16339 Revert non-intentional change.
16341 2005-10-12 Wim Taymans <wim@fluendo.com>
16343 * check/gst/gstbin.c: (GST_START_TEST):
16344 * check/gst/gstelement.c: (GST_START_TEST):
16345 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16346 * check/gst/gstghostpad.c: (GST_START_TEST):
16347 * check/gst/gstpipeline.c: (GST_START_TEST):
16348 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16349 * check/states/sinks.c: (GST_START_TEST):
16350 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16351 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16352 (gst_bin_remove_func), (gst_bin_get_state_func),
16353 (gst_bin_recalc_state), (gst_bin_change_state_func),
16354 (bin_bus_handler):
16355 * gst/gstelement.c: (gst_element_get_state_func),
16356 (gst_element_get_state), (gst_element_abort_state),
16357 (gst_element_commit_state), (gst_element_set_state),
16358 (gst_element_change_state), (gst_element_change_state_func):
16359 * gst/gstelement.h:
16360 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16361 (gst_pipeline_provide_clock_func):
16362 * gst/gstutils.c: (gst_element_link_pads_filtered):
16363 * tools/gst-launch.c: (main):
16364 * tools/gst-typefind.c: (main):
16365 Use GstClockTime in _get_state() instead of GTimeVal.
16366 Remove old code in gstutils.c
16368 2005-10-12 Andy Wingo <wingo@pobox.com>
16370 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16371 removed.
16373 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16374 there is no task. Shouldn't affect any code, as nothing in our
16375 plugins checks this return value.
16376 (gst_pad_stop_task): Also take the stream lock if the pad has no
16377 task. Docs updated.
16379 2005-10-12 Wim Taymans <wim@fluendo.com>
16381 * gst/gstpad.c: (pre_activate), (post_activate),
16382 (gst_pad_activate_pull), (gst_pad_activate_push):
16383 Cleanup activation code. Reset old state if
16384 activation failed.
16386 2005-10-12 Wim Taymans <wim@fluendo.com>
16388 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16389 (gst_base_sink_change_state):
16390 No need to prerol after receiving EOS.
16392 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16393 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16394 * gst/elements/gstidentity.c: (gst_identity_event):
16395 Print events more verbosely.
16397 2005-10-12 Wim Taymans <wim@fluendo.com>
16399 * check/Makefile.am:
16400 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16401 * check/states/sinks2.c:
16402 Moved sinks2 testcode in sinks check.
16404 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16405 (gst_bin_remove_func), (gst_bin_recalc_state),
16406 (gst_bin_change_state_func), (bin_bus_handler):
16407 Fix potential race condition when _get_state() iterated over an
16408 ASYNC element right before it posted a state completion.
16410 * gst/gstclock.h:
16411 Do proper cast here.
16413 * gst/gstevent.c: (gst_event_new_newsegment),
16414 (gst_event_parse_newsegment):
16415 A playback rate of 0.0 is not allowed.
16417 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16419 * win32/common/config.h:
16420 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16421 (_trewinddir), (_ttelldir), (_tseekdir):
16422 * win32/common/dirent.h:
16423 * win32/common/gtchar.h:
16424 * win32/common/libgstbase.def:
16425 * win32/common/libgstreamer.def:
16426 * win32/vs6/grammar.dsp:
16427 * win32/vs6/gst_inspect.dsp:
16428 * win32/vs6/gst_launch.dsp:
16429 * win32/vs6/gstreamer.dsw:
16430 * win32/vs6/libgstbase.dsp:
16431 * win32/vs6/libgstelements.dsp:
16432 * win32/vs6/libgstreamer.dsp:
16433 Visual Studio 6 project files, and a new common directory.
16434 Phear.
16436 2005-10-11 Wim Taymans <wim@fluendo.com>
16438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16439 (gst_base_sink_do_sync), (gst_base_sink_query),
16440 (gst_base_sink_change_state):
16441 * gst/base/gstbasesink.h:
16442 Correctly parse newsegment info.
16444 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16446 * gst/gst.c: (init_post):
16447 split plugin paths correctly
16449 2005-10-11 Wim Taymans <wim@fluendo.com>
16451 * check/gst/gstevent.c: (GST_START_TEST):
16452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16453 (gst_base_sink_change_state):
16454 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16455 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16456 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16457 * gst/gstevent.c: (gst_event_new_newsegment),
16458 (gst_event_parse_newsegment):
16459 * gst/gstevent.h:
16460 Added extra flag to newsegment for future API freeze.
16461 Updated check and base elements.
16463 2005-10-11 Julien MOUTTE <julien@moutte.net>
16465 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16466 (gst_collectpads_add_pad), (gst_collectpads_pop),
16467 (gst_collectpads_event), (gst_collectpads_chain):
16468 * gst/base/gstcollectpads.h: Handle EOS correctly.
16470 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16472 * tools/gst-launch.c: (main):
16473 more null protecting
16475 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16477 * gst/gst-i18n-lib.h:
16478 check for ENABLE_NLS, not GETTEXT_PACKAGE
16479 * gst/gstregistry.c: (gst_registry_add_plugin),
16480 (gst_registry_scan_path_level),
16481 (_gst_registry_remove_cache_plugins):
16482 protect possibly NULL strings
16483 * gst/parse/types.h:
16484 config.h already included before
16485 * tools/gst-inspect.c: (main):
16486 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16487 check for ENABLE_NLS, not GETTEXT_PACKAGE
16488 * tools/gst-launch.c: (main):
16489 check for ENABLE_NLS, not GETTEXT_PACKAGE
16491 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16493 * configure.ac:
16494 if we don't have glib, fail before testing 2.8
16495 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16496 fix a leak, should fix plugins-base testsuite
16498 2005-10-11 Andy Wingo <wingo@pobox.com>
16500 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16501 take the mode we're going to as an arg. Go head and set the mode
16502 and flushing flags now, so that if the activate function starts a
16503 thread all the flags will be in the right state.
16504 (post_activate): Renamed also. Just handle making sure streaming
16505 finishes for the deactivation case, and setting the deactivated
16506 mode.
16507 (gst_pad_set_active): Complain loudly if deactivation fails.
16508 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16509 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16510 remove the terrible hack.
16512 2005-10-11 Wim Taymans <wim@fluendo.com>
16514 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16515 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16516 (gst_bin_recalc_state), (gst_bin_change_state_func),
16517 (gst_bin_dispose), (bin_bus_handler):
16518 * gst/gstbin.h:
16519 Prepare to make current EOS message queue more generic.
16520 Fix some typos.
16522 * gst/gstevent.c: (gst_event_new_newsegment),
16523 (gst_event_parse_newsegment):
16524 * gst/gstevent.h:
16525 Rename base to stream_time.
16527 * gst/gstmessage.h:
16528 Fix typo in docs.
16530 2005-10-11 Wim Taymans <wim@fluendo.com>
16532 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16533 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16534 (gst_bin_change_state_func), (bin_bus_handler):
16535 * gst/gstbin.h:
16536 Work on proper clock selection.
16538 2005-10-11 Edward Hervey <edward@fluendo.com>
16540 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16541 * libs/gst/controller/gstcontroller.h:
16542 Added GList* version of _remove_properties() in order to be able to wrap
16543 it in bindings.
16545 2005-10-11 Wim Taymans <wim@fluendo.com>
16547 * docs/design/part-states.txt:
16548 Some more docs.
16550 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16551 (gst_bin_change_state_func), (bin_bus_handler):
16552 Doc updates. Don't distribute the same clock over and over again.
16554 * gst/gstclock.c:
16555 * gst/gstclock.h:
16556 Doc updates.
16558 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16559 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16560 (gst_pad_send_event):
16561 * gst/gstpad.h:
16562 Make probe emission threadsafe again.
16563 Register quarks and move _get_name() from utils.
16564 Doc updates.
16566 * gst/gstpipeline.c: (gst_pipeline_class_init),
16567 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16568 Only redistribute the clock of it changed.
16570 * gst/gstsystemclock.h:
16571 Doc updates.
16573 * gst/gstutils.c:
16574 * gst/gstutils.h:
16575 Moved the _flow_get_name() to GstPad.
16577 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16579 * check/gst-libs/gdp.c: (GST_START_TEST):
16580 * check/gst/gstcaps.c: (GST_START_TEST):
16581 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16582 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16583 (gst_dp_packet_from_caps):
16584 fix more valgrind warnings before turning up the heat
16586 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16588 * gst/parse/grammar.y:
16589 some cleanup before the hacking
16591 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16593 * gst/base/gstbasesrc.c: (gst_base_src_query):
16594 use conversions
16595 * gst/gstutils.c: (gst_guint64_to_gdouble),
16596 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16597 * gst/gstutils.h:
16598 externalize, basesrc uses it
16599 obviously the implementation needs testing
16601 2005-10-10 Wim Taymans <wim@fluendo.com>
16603 * tests/sched/Makefile.am:
16604 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16605 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16607 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16609 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16610 apparently converting from guint64 to double is not implemented
16611 on MSVC
16613 2005-10-10 Wim Taymans <wim@fluendo.com>
16615 * check/Makefile.am:
16616 * check/generic/states.c: (GST_START_TEST):
16617 * check/gst/gstbin.c: (GST_START_TEST):
16618 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16619 * check/states/sinks.c: (GST_START_TEST):
16620 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16621 (main):
16622 Check fixes, use API as stated in design docs, remove hacks.
16624 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16625 (gst_base_sink_change_state):
16626 Catch stopping our task while we're shutting down.
16628 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16629 (gst_bin_remove_func), (gst_bin_get_state_func),
16630 (gst_bin_recalc_state), (gst_bin_change_state_func),
16631 (bin_bus_handler):
16632 * gst/gstbin.h:
16633 * gst/gstelement.c: (gst_element_init),
16634 (gst_element_get_state_func), (gst_element_abort_state),
16635 (gst_element_commit_state), (gst_element_lost_state),
16636 (gst_element_set_state), (gst_element_change_state),
16637 (gst_element_change_state_func):
16638 * gst/gstelement.h:
16639 New state change algorithm (see #318116)
16641 * gst/gstpipeline.c: (gst_pipeline_class_init),
16642 (gst_pipeline_init), (gst_pipeline_set_property),
16643 (gst_pipeline_get_property), (do_pipeline_seek),
16644 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16645 * gst/gstpipeline.h:
16646 Remove crude state change hacks.
16648 * gst/gstutils.h:
16649 Remove crude hacks.
16651 * tools/gst-launch.c: (main):
16652 Fixes for state change. Needs some more work to fully use the
16653 new stuff.
16655 2005-10-10 Andy Wingo <wingo@pobox.com>
16657 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16659 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16660 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16661 issue.
16663 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16665 * gst/gstiterator.c: (gst_iterator_new):
16666 Fix my previous commit: GTypes passed to gst_iterator_new()
16667 can be fundamental types.
16669 2005-10-10 Wim Taymans <wim@fluendo.com>
16671 * gst/gstelement.c: (gst_element_iterate_pad_list),
16672 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16673 (gst_element_iterate_sink_pads):
16674 Use src/sink pads lists for the respective iterators instead
16675 of filtering.
16677 2005-10-10 Andy Wingo <wingo@pobox.com>
16679 Merged in popt removal + GOption addition patch from Ronald, bug
16680 #169772.
16682 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16683 GstElement macros around, remove popt-related symbols, add goption
16684 stuff.
16686 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16688 * docs/gst/Makefile.am:
16689 * docs/libs/Makefile.am: No POPT_CFLAGS.
16691 * examples/manual/Makefile.am:
16692 * docs/manual/basics-init.xml: Doc updates with an example.
16694 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16695 (gst_init), (parse_one_option), (parse_goption_arg):
16696 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16697 bit of hand merging and debugging to get the GOption stuff working
16698 tho.
16700 * tests/Makefile.am:
16701 * tools/Makefile.am:
16702 * tools/gst-inspect.c: (main):
16703 * tools/gst-launch.c: (main):
16704 * tools/gst-run.c: (main):
16705 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16707 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16709 * gst/gstiterator.c: (gst_iterator_new):
16710 Add assertions to make sure passed GType is likely to really
16711 be a GType (as the compiler won't catch it if the size and
16712 GType arguments get mixed up, see #318447).
16714 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16716 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16718 * gst/gstbin.c: (gst_bin_iterate_sorted):
16719 Pass GType and size arguments to gst_iterator_new() in the right
16720 order (maybe we should make _new() take the GType as first argument
16721 just like _new_list()?) (#318447).
16724 2005-10-10 Wim Taymans <wim@fluendo.com>
16726 * gst/gstelement.c: (gst_element_finalize):
16727 And free the GStaticRecMutex too
16729 2005-10-10 Andy Wingo <wingo@pobox.com>
16731 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16732 Allocate and free the mutex properly.
16734 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16735 New macros.
16736 (GstElement): The state_lock is now recursive. Rebuild your
16737 plugins, suckers. Old macros adapted.
16739 * docs/gst/gstreamer-sections.txt: Doc updates.
16741 * gst/gstutils.h:
16742 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16743 (g_static_rec_cond_wait): Ported from state changes patch, while
16744 we wait on bug #317802 to be solved in a well-distributed GLib.
16746 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16747 gst_element_change_state, variable name changes.
16748 (gst_element_change_state): Split out of gst_element_set_state in
16749 preparation for the state change merge. Doesn't pay attention to
16750 the 'transition' argument.
16751 (gst_element_set_state): Updates, hopefully purely cosmetic.
16752 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16753 state change patch.
16754 (gst_element_get_state_func): Renamed from get_state, cosmetic
16755 changes.
16757 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16759 * gst/elements/gstelements.c:
16760 * win32/GStreamer.vcproj:
16761 * win32/config.h:
16762 * win32/dirent.c: (_tseekdir):
16763 * win32/gst-inspect.vcproj:
16764 * win32/gst-launch.vcproj:
16765 * win32/gstconfig.h:
16766 * win32/gstelements.vcproj:
16767 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16768 * win32/gstreamer.def:
16769 * win32/msvc71.sln:
16770 updates for the win32 build (patch from Sebastien Moutte)
16772 2005-10-10 Andy Wingo <wingo@pobox.com>
16774 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16775 gst_bin_get_state, cleaned up (but no logic changes).
16776 (bin_element_is_sink): Comment updates.
16777 (sink_iterator_filter): Remove needless cast.
16778 (gst_bin_iterate_sinks): Doc update.
16779 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16780 cleaned up (but no logic changes).
16782 * check/states/sinks.c (test_src_sink): Cleanups from the state
16783 change patch.
16784 (test_livesrc_sink): Sync on the state.
16786 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16787 the state change patch.
16789 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16790 change patch.
16792 * check/gst/gstbin.c: Merge in some style fixes and additional
16793 checks from Wim's state change patch.
16795 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16797 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16798 (gst_type_find_helper):
16799 Check whether we have the requested data already in our list of
16800 cached buffers before pulling a new buffer; also make the buffer
16801 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16803 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16805 * gst/gstcaps.c:
16806 * gst/gstevent.c:
16807 doc updates
16808 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16809 don't use long long, it's not portable. Replacing with
16810 gint64 seems to work; let's hope no skeletons fall out of the closet.
16812 2005-10-10 Andy Wingo <wingo@pobox.com>
16814 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16816 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16818 * docs/gst/gstreamer-sections.txt:
16819 * gst/gstevent.c:
16820 * gst/gstevent.h:
16821 * gst/gstinfo.c:
16822 * gst/gstinfo.h:
16823 * gst/gstmessage.c: (gst_message_parse_state_changed):
16824 * gst/gstpad.c:
16825 * gst/gstpad.h:
16826 more docs, fix compilation
16828 2005-10-09 Philippe Khalaf <burger@speedy.org>
16829 * gst/gstmessage.c:
16830 Fixed a few forgotten variables on previous commit
16832 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16834 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16835 Fix evil typefind crasher: getrange() might return a short
16836 buffer at the end of a file, but gst_type_find_peek() must
16837 either return the full data as requested or NULL, but
16838 never a short buffer.
16840 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16842 * gst/gstmessage.c: (gst_message_new_state_changed),
16843 (gst_message_parse_state_changed):
16844 * gst/gstmessage.h:
16845 don't use "new", it's a C++ keyword
16847 2005-10-08 Wim Taymans <wim@fluendo.com>
16849 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16850 * gst/gstelement.c: (gst_element_post_message):
16851 * gst/gstpipeline.c: (gst_pipeline_change_state):
16852 Small docs and debug updates.
16854 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16856 * docs/gst/gstreamer-sections.txt:
16857 * gst/gstelementfactory.c:
16858 * gst/gstevent.c:
16859 * gst/gsttaglist.c:
16860 more docs
16862 2005-10-08 Wim Taymans <wim@fluendo.com>
16864 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16865 (gst_bin_dispose), (bin_bus_handler):
16866 Fix typos, add comments.
16867 Clear EOS list when going to PAUSED from any direction and do it
16868 in a threadsafe way.
16869 Get base time in a threadsafe way too.
16870 Fix confusing debug in the change_state function.
16871 Various other small cleanups.
16873 * gst/gstelement.c: (gst_element_post_message):
16874 Fix very verbose bus posting code.
16876 * gst/gstpipeline.c: (gst_pipeline_class_init),
16877 (gst_pipeline_set_property), (gst_pipeline_get_property),
16878 (gst_pipeline_change_state):
16879 Small ARG_ -> PROP_ cleanup
16881 2005-10-08 Wim Taymans <wim@fluendo.com>
16883 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16884 Do a less CPU demanding EOS check because we can.
16886 2005-10-08 Wim Taymans <wim@fluendo.com>
16888 * libs/gst/dataprotocol/dataprotocol.c:
16889 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16890 (gst_dp_packet_from_event):
16891 * libs/gst/dataprotocol/dataprotocol.h:
16892 * libs/gst/dataprotocol/dp-private.h:
16893 It's about time we bump the version number.
16894 Since event types don't fit in the guint8 anymore describing
16895 the payload type, make payload type 16 bits wide.
16897 2005-10-08 Wim Taymans <wim@fluendo.com>
16899 * docs/design/part-TODO.txt:
16900 * docs/design/part-clocks.txt:
16901 * docs/design/part-events.txt:
16902 * docs/design/part-gstbin.txt:
16903 * docs/design/part-gstelement.txt:
16904 * docs/design/part-gstpipeline.txt:
16905 * docs/design/part-live-source.txt:
16906 * docs/design/part-messages.txt:
16907 * docs/design/part-overview.txt:
16908 * docs/design/part-states.txt:
16909 Many doc updates.
16911 2005-10-08 Wim Taymans <wim@fluendo.com>
16913 * gst/gstevent.c:
16914 * gst/gstevent.h:
16915 Fix event quark registration.
16916 Add some space between events so we can insert them in the
16917 right groups.
16919 2005-10-08 Wim Taymans <wim@fluendo.com>
16921 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16922 (gst_base_sink_handle_buffer):
16923 Better log message.
16925 * gst/gstbus.h:
16926 * gst/gstelement.h:
16927 More docs.
16929 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16930 (gst_queue_set_property), (gst_queue_get_property):
16931 * gst/gstqueue.h:
16932 Remove old unused properties.
16934 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16935 * docs/gst/gstreamer-sections.txt:
16936 * gst/gstmessage.c:
16937 * gst/gstmessage.h:
16938 * gst/gstminiobject.c:
16939 * gst/gstminiobject.h:
16940 * gst/gstobject.h:
16941 * gst/gstpad.h:
16942 * gst/gstutils.h:
16943 lots of new docs and doc fixes
16945 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16947 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16948 * gst/gstplugin.h:
16949 * gst/gstregistry.c: (gst_registry_lookup_locked),
16950 (gst_registry_scan_path_level):
16951 * gst/gstregistryxml.c: (load_plugin):
16952 Only ever load one plugin for a given plugin basename.
16953 This ensures correct overriding of GST_PLUGIN_PATH over
16954 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16955 system installed plugins.
16957 2005-10-08 Wim Taymans <wim@fluendo.com>
16959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16960 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16961 Prepare for doing QOS.
16963 2005-10-08 Wim Taymans <wim@fluendo.com>
16965 * check/gst/gstbin.c: (GST_START_TEST):
16966 * check/pipelines/cleanup.c: (GST_START_TEST):
16967 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16968 Allow new clock message too.
16970 2005-10-08 Wim Taymans <wim@fluendo.com>
16972 * gst/gstmessage.c: (gst_message_new_error),
16973 (gst_message_new_warning), (gst_message_new_tag),
16974 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16975 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16976 (gst_message_new_segment_start), (gst_message_new_segment_done),
16977 (gst_message_parse_state_changed),
16978 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16979 (gst_message_parse_new_clock):
16980 * gst/gstmessage.h:
16981 Also carry the clock in question.
16983 2005-10-08 Wim Taymans <wim@fluendo.com>
16985 * gst/gstmessage.c: (gst_message_new_custom),
16986 (gst_message_new_eos), (gst_message_new_error),
16987 (gst_message_new_warning), (gst_message_new_tag),
16988 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16989 (gst_message_new_new_clock), (gst_message_new_segment_start),
16990 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16991 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16992 * gst/gstmessage.h:
16993 Clean up.
16994 Added clock related messages.
16996 * gst/gstpipeline.c: (gst_pipeline_change_state):
16997 Post message when the clock changed.
16999 * tools/gst-launch.c: (event_loop):
17000 Print new clock.
17002 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17004 * tools/gst-inspect.c: (print_element_properties_info):
17005 Can't pass NULL strings to g_print() on windows.
17007 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17009 * docs/Makefile.am:
17010 * docs/gst/Makefile.am:
17011 * docs/gst/gstreamer-docs.sgml:
17012 * docs/gst/running.xml:
17013 * docs/version.entities.in:
17014 add a chapter on running GStreamer.
17015 document GST_DEBUG and GST_PLUGIN* env vars
17017 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17019 * Makefile.am:
17020 remove include dir
17021 * configure.ac:
17022 remove PLUGINS_BUILDDIR stuff
17023 * gst/gst.c: (init_post):
17024 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17025 * idiottest.mak:
17026 remove, it was condescending and not needed
17028 2005-10-08 Wim Taymans <wim@fluendo.com>
17030 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17031 (gst_base_sink_handle_object), (gst_base_sink_event),
17032 (gst_base_sink_wait), (gst_base_sink_handle_event),
17033 (gst_base_sink_change_state):
17034 * gst/base/gstbasesink.h:
17035 Repost EOS message while going to PLAYING if still EOS.
17036 Make sure that when receiving a FLUSH_START we don't attempt
17037 to sync on the clock anymore.
17039 2005-10-08 Wim Taymans <wim@fluendo.com>
17041 * tools/gst-launch.c: (event_loop):
17042 Better message printout.
17044 2005-10-08 Wim Taymans <wim@fluendo.com>
17046 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17047 (gst_bin_child_proxy_get_children_count):
17048 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17049 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17050 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17051 (gst_child_proxy_set_valist):
17052 * gst/parse/grammar.y:
17053 Make ChildProxy threadsafe and fix mem leaks.
17055 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17057 * gst/gst.c: (init_post):
17058 debug the GST_PLUGIN_ env vars
17060 2005-10-08 Wim Taymans <wim@fluendo.com>
17062 * check/gst/gstbin.c: (GST_START_TEST):
17063 * check/gst/gstmessage.c: (GST_START_TEST):
17064 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17065 * gst/gstelement.c: (gst_element_commit_state),
17066 (gst_element_lost_state):
17067 * gst/gstmessage.c: (gst_message_new_state_changed),
17068 (gst_message_parse_state_changed):
17069 * gst/gstmessage.h:
17070 * tools/gst-launch.c: (event_loop):
17071 Added extra field to STATE_CHANGE message with the pending
17072 state, which will be different from the new state soon.
17074 2005-10-08 Wim Taymans <wim@fluendo.com>
17076 * gst/gstbus.c: (gst_bus_pop):
17077 * gst/gstclock.c:
17078 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17079 Small cleanups and doc updates.
17081 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17083 * gst/gst.c: (init_pre):
17084 * gst/gstbin.c: (gst_bin_add_func):
17085 log distributing clocks and base time
17086 * gst/gstregistry.c: (gst_registry_add_plugin),
17087 (gst_registry_scan_path_level), (gst_registry_scan_path):
17088 clean up the debugging output a little
17089 * gst/gstutils.c: (gst_element_state_get_name):
17090 warn about a memleak (I've actually seen this be used, though
17091 it was probably a bug)
17093 2005-10-07 Wim Taymans <wim@fluendo.com>
17095 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17096 (gst_base_src_init), (gst_base_src_default_newsegment),
17097 (gst_base_src_newsegment), (gst_base_src_do_seek),
17098 (gst_base_src_loop), (gst_base_src_start):
17099 * gst/base/gstbasesrc.h:
17100 Make the newsegment event customizable by subclasses.
17102 2005-10-07 Wim Taymans <wim@fluendo.com>
17104 * gst/gstevent.c: (gst_event_new_buffersize),
17105 (gst_event_parse_buffersize):
17106 * gst/gstevent.h:
17107 New event for future idea.
17109 2005-10-07 Andy Wingo <wingo@pobox.com>
17111 * gst/gstelement.c (gst_element_post_message): Doc update.
17113 * docs/gst/gstreamer-sections.txt: Update.
17115 * gst/gstmessage.c (gst_message_new_application): Made into a
17116 function like honest API calls.
17117 (gst_message_new_element): New message type.
17119 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17121 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17122 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17123 times.
17125 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17126 NO_PREROLL from gst_element_change_state to fall through.
17128 2005-10-07 Wim Taymans <wim@fluendo.com>
17130 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17131 (gst_ghost_pad_do_activate_push):
17132 Activating a ghostpad with no internal pad in push mode
17133 is ok.
17135 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17137 * gst/gstobject.h:
17138 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17139 Fixes compilation on Windows.
17141 2005-10-07 Michael Smith <msmith@fluendo.com>
17143 * tools/gst-inspect.c:
17144 Print out feature and plugin count at the end when printing out
17145 all features.
17147 2005-10-04 Michael Smith <msmith@fluendo.com>
17149 * gst/gsterror.c: (_gst_stream_errors_init):
17150 Add another error string used in a few existing plugins.
17152 * gst/gstplugin.c:
17153 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17154 * tools/gst-inspect.c: (print_element_info):
17155 When a feature disappears from a plugin (and the feature exists in
17156 the cached registry file), things went horribly wrong. This isn't a
17157 complete fix, we should actually be removing the 'missing' features
17158 from the features list when we load the actual plugin. That's not
17159 yet implemented.
17161 2005-10-04 Johan Dahlin <johan@gnome.org>
17163 * check/gst/gstiterator.c: (GST_START_TEST):
17164 * gst/gstbin.c: (gst_bin_iterate_elements),
17165 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17166 * gst/gstelement.c: (gst_element_iterate_pads):
17167 * gst/gstformat.c: (gst_format_iterate_definitions):
17168 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17169 (gst_iterator_new_list), (gst_iterator_filter):
17170 * gst/gstiterator.h:
17171 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17172 Add a GType to GstIterator, update callsites and tests.
17174 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17176 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17177 give events a chance to be handled by event probes when the pad
17178 is not linked
17180 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17182 * gst/gstevent.c: (gst_event_type_get_name),
17183 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17184 * gst/gstevent.h:
17185 add string representations for event types
17187 2005-10-06 Wim Taymans <wim@fluendo.com>
17189 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17190 Don't use NULL pointers.
17192 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17194 * gst/gst_private.h:
17195 * gst/gstbus.c:
17196 * gst/gstelement.c:
17197 * gst/gstinfo.c:
17198 * gst/gstpluginfeature.c:
17199 widen the debug category in output to fit the biggest one we have
17200 add a bus category and use it
17201 play with the colors
17202 fix up some categories
17204 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17206 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17207 add push activation of sink ghost pads.
17208 Andye, please verify
17210 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17212 * gst/gstutils.c: (gst_element_link_pads):
17213 fix a bug in the case where neither element has a pad
17214 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17215 add a test for that case
17217 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17219 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17220 emit have-data before checking for peers. This allows
17221 for probe handlers to connect elements. This helps autopluggers.
17222 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17223 (gst_pad_suite):
17224 add six checks, linked/unlinked with no/true/false probe
17226 2005-10-04 Wim Taymans <wim@fluendo.com>
17228 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17229 (gst_fake_sink_event), (gst_fake_sink_preroll),
17230 (gst_fake_sink_render), (gst_fake_sink_change_state):
17231 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17232 (gst_fake_src_get_property), (gst_fake_src_create),
17233 (gst_fake_src_stop):
17234 * gst/elements/gstidentity.c: (gst_identity_stop):
17235 Protect last_message with lock.
17237 2005-10-04 Edward Hervey <edward@fluendo.com>
17239 * gst/gstformat.h:
17240 Added precision in the comments for GST_FORMAT_DEFAULT
17242 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17244 * tools/gst-launch.c: (main):
17245 Don't try to run erroneous pipelines.
17247 2005-10-04 Julien MOUTTE <julien@moutte.net>
17249 * gst/gstbus.c: We don't need this header.
17251 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17253 * configure.ac:
17254 back to development
17256 === release 0.9.3 ===
17258 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17260 * README:
17261 * configure.ac:
17262 Releasing 0.9.3, "Unregistered"
17264 2005-10-03 Andy Wingo <wingo@pobox.com>
17266 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17267 whereby calling a pad's activatepush() function can start a thread
17268 that starts to push or pull before the pad gets the FLUSHING flag
17269 unset. Hack around it by holding the stream lock until the flag is
17270 set. Need to replace this with a proper solution. Together with
17271 the ghost pad fixes, this fixes mp3 playing/tagreading.
17273 * docs/design/part-gstghostpad.txt: Add a note about activation of
17274 proxy pads outside of ghost pads.
17276 * gst/gstghostpad.c: Implement the ghost pad activation design.
17278 2005-10-02 Andy Wingo <wingo@pobox.com>
17280 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17281 It is volatile, after all.
17283 * docs/design/part-gstghostpad.txt: Flesh out activation with
17284 ghost pads.
17286 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17287 GST_DEBUG_FUNCPTR.
17289 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17291 * configure.ac:
17292 Fix (unused) AM_CONDITIONAL tests.
17294 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17296 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17298 * gst/gstutils.c: (gst_pad_query_convert):
17299 Add assertion that makes sure src_val is >=0, just like
17300 gst_query_new_convert() has. (#315895)
17302 2005-09-30 Edward Hervey <edward@fluendo.com>
17304 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17305 Let's not iterate pads we're not interested in, it avoids getting
17306 sky-high refcounts on sinkpad.
17308 2005-09-30 Wim Taymans <wim@fluendo.com>
17310 * gst/gstelement.c: (gst_element_set_state),
17311 (gst_element_change_state):
17312 Small tweak, element in ASYNC remains ASYNC.
17314 2005-09-30 Wim Taymans <wim@fluendo.com>
17316 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17317 Only error is an error.
17319 * gst/gstbin.c: (gst_bin_change_state):
17320 Better debugging.
17322 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17323 Also call pad_block in pad alloc.
17325 * gst/gstutils.c: (gst_flow_get_name):
17326 Better debugging.
17328 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17330 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17331 (gst_base_src_get_range):
17332 Fix documentation typos. Add some more debug info.
17334 2005-09-29 David Schleef <ds@schleef.org>
17336 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17337 more end-user friendly.
17338 * tools/gst-inspect.c: (main): Check if command-line argument is
17339 a file and attempt to load that file as a plugin.
17341 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17343 * check/gst/gstbin.c:
17344 * check/states/sinks.c:
17345 fix tests for the new warning
17346 * check/gst/gstpipeline.c:
17347 add a test for pipeline and bus interaction
17348 * gst/gstelement.c:
17349 elements should be NULL if they get disposed; add a warning if not
17351 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17353 * gst/gstobject.c:
17354 for 2.6 refcounting, make debug log more correct by printing
17355 the actual refcounts at the time of swap (Wim)
17357 2005-09-29 Andy Wingo <wingo@pobox.com>
17359 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17360 removes signal watches previously added via
17361 gst_bus_add_signal_watch.
17362 (gst_bus_add_signal_watch): Don't return the source id, just store
17363 it on the bus if there wasn't an id already.
17365 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17366 add_signal_watch and remove_signal_watch.
17368 2005-09-29 Edward Hervey <edward@fluendo.com>
17370 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17371 Better if we actually iterate the list :)
17373 2005-09-29 Wim Taymans <wim@fluendo.com>
17375 * check/gst/gstbin.c: (GST_START_TEST):
17376 Change for new bus API.
17378 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17379 (send_messages), (GST_START_TEST), (gstbus_suite):
17380 Change for new bus signal API.
17382 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17383 (gst_bus_source_prepare), (gst_bus_source_check),
17384 (gst_bus_create_watch), (gst_bus_add_watch_full),
17385 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17386 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17387 * gst/gstbus.h:
17388 Remove support for multiple GSources operating on different
17389 message types as it is too complex and unneeded when using
17390 signals.
17391 Added support for receiving signals from the bus.
17393 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17395 * docs/libs/tmpl/gstdataprotocol.sgml:
17396 * docs/manual/advanced-dataaccess.xml:
17397 * gst/elements/gstcapsfilter.c:
17398 * gst/gstutils.c:
17399 rename filter-caps to caps property
17401 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17403 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17404 More robust fraction string parsing.
17406 * docs/pwg/appendix-porting.xml:
17407 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17409 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17411 * gst/gstcaps.c: (gst_caps_do_simplify):
17412 Thou shalt not free a structure and then continue using it
17413 in the next loop iteration.
17415 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17416 (gst_caps_suite):
17417 Add test case for caps simplification.
17419 2005-09-29 Wim Taymans <wim@fluendo.com>
17421 * check/gst/gstbin.c: (GST_START_TEST):
17422 Oops.
17424 2005-09-29 Wim Taymans <wim@fluendo.com>
17426 * check/gst/gstbin.c: (GST_START_TEST):
17427 Add bus to bin.
17429 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17430 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17431 (find_element), (gst_bin_sort_iterator_next),
17432 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17433 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17434 (gst_bin_change_state), (gst_bin_dispose):
17435 A bin does not have a bus, it gets the bus from the parent.
17437 * gst/gstelement.c: (gst_element_requires_clock),
17438 (gst_element_provides_clock), (gst_element_is_indexable),
17439 (gst_element_is_locked_state), (gst_element_change_state),
17440 (gst_element_set_bus_func):
17441 Small cleanups.
17443 * gst/gstpipeline.c: (gst_pipeline_class_init),
17444 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17445 The pipeline provides a bus.
17447 2005-09-28 Johan Dahlin <johan@gnome.org>
17449 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17450 gst_structure_get_enum instead of gst_structure_get_int
17452 * gst/gststructure.c (gst_structure_get_enum): Impl.
17454 * gst/gststructure.h (gst_structure_get_enum): Add
17456 * docs/gst/gstreamer-sections.txt: Ditto
17458 * gst/gstmessage.c (gst_message_new_state_changed): Use
17459 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17460 which does introspection.
17461 Reviewed by Christian Schaller
17463 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17465 * gst/gstinfo.c: (gst_debug_log_default):
17466 don't do dummy g_strdup()s
17467 * libs/gst/controller/gstcontroller.c:
17468 (on_object_controlled_property_changed),
17469 (gst_controlled_property_new), (gst_controller_new_valist),
17470 (gst_controller_new_list),
17471 (gst_controller_remove_properties_valist), (gst_controller_set),
17472 (gst_controller_get), (gst_controller_sync_values),
17473 (gst_controller_get_value_array), (_gst_controller_class_init),
17474 (gst_controller_get_type):
17475 * libs/gst/controller/gstcontroller.h:
17476 * libs/gst/controller/gstinterpolation.c:
17477 (gst_controlled_property_find_timed_value_node):
17478 convert // to /**/ comments
17480 2005-09-28 Wim Taymans <wim@fluendo.com>
17482 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17483 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17484 (gst_bus_sync_signal_handler):
17485 * gst/gstbus.h:
17486 Added async-message and sync-message signals to the bus.
17487 Added helper BusFunc to emit signals for all posted messages.
17489 * gst/gstmessage.c: (gst_message_type_get_name),
17490 (gst_message_type_to_quark), (gst_message_get_type):
17491 * gst/gstmessage.h:
17492 Register quarks for message names.
17494 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17496 * docs/libs/gstreamer-libs-sections.txt:
17497 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17498 (gst_controller_new_list):
17499 * libs/gst/controller/gstcontroller.h:
17500 added another constructor for language bindings
17502 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17504 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17505 add another check
17506 * gst/gstbus.c:
17507 add some doc
17508 * gst/gstinfo.c: (_gst_debug_init):
17509 slightly more readable color for refcount debugging
17511 2005-09-28 Wim Taymans <wim@fluendo.com>
17513 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17514 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17515 (find_element), (gst_bin_sort_iterator_next),
17516 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17517 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17518 (gst_bin_change_state), (gst_bin_dispose):
17519 Small doc fixes. get_clock -> provide_clock.
17521 * gst/gstelement.c: (gst_element_class_init),
17522 (gst_element_provides_clock), (gst_element_provide_clock),
17523 (gst_element_get_clock), (gst_element_commit_state),
17524 (gst_element_lost_state):
17525 * gst/gstelement.h:
17526 Make get/set_clock() symetric. Add provide_clock vmethod since
17527 that is actually what this function does.
17529 * gst/gstpipeline.c: (gst_pipeline_class_init),
17530 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17531 (gst_pipeline_get_clock):
17532 get_clock -> provide_clock.
17534 2005-09-28 Andy Wingo <wingo@pobox.com>
17536 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17537 lieu of real docs...
17539 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17541 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17543 * gst/elements/gstcapsfilter.c:
17544 * gst/elements/gstfakesink.c:
17545 * gst/elements/gstfakesrc.c:
17546 * gst/elements/gstfdsink.c:
17547 * gst/elements/gstfdsrc.c:
17548 * gst/elements/gstfilesink.c:
17549 * gst/elements/gstfilesrc.c:
17550 * gst/elements/gstidentity.c:
17551 * gst/elements/gsttee.c:
17552 * gst/elements/gsttypefindelement.c:
17553 Make element details static.
17555 2005-09-28 Wim Taymans <wim@fluendo.com>
17557 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17558 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17559 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17560 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17561 (gst_bin_change_state), (gst_bin_dispose):
17562 Some documentation updates.
17563 Clean up dispose handlers.
17565 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17566 * gst/gstpad.c: (gst_pad_dispose):
17567 Clean up dispose handler.
17569 * gst/gstpipeline.c: (gst_pipeline_change_state):
17570 Removed spurious UNLOCK.
17572 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17574 * docs/gst/gstreamer-sections.txt:
17575 * gst/base/gstbasesrc.h:
17576 * gst/gstelement.h:
17577 * gst/gstevent.h:
17578 * gst/gstobject.h:
17579 * gst/gstpad.h:
17580 * gst/gstpipeline.c:
17581 * gst/gstpipeline.h:
17582 * gst/gstutils.h:
17583 * gst/gstxml.h:
17584 added two new functions to the docs
17585 documents all undocumented GstXXXFlags
17586 completed some incomplete docs
17588 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17590 * gst/gstbin.c: (gst_bin_dispose):
17591 * gst/gstelement.c: (gst_element_dispose):
17592 remove now useless and leaky resurrection code in dispose
17593 * gst/base/gstbasesrc.c: (gst_base_src_init):
17594 * gst/gstelementfactory.c: (gst_element_factory_create):
17595 * gst/gstobject.c: (gst_object_set_parent):
17596 add some debugging
17598 2005-09-27 Wim Taymans <wim@fluendo.com>
17600 * docs/design/part-TODO.txt:
17601 Update TODO.
17603 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17604 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17605 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17606 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17607 (gst_bin_change_state):
17608 * gst/gstelement.h:
17609 Remove element variable, we keep element info in the iterator now.
17611 2005-09-27 Andy Wingo <wingo@pobox.com>
17613 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17614 values.
17616 2005-09-27 Wim Taymans <wim@fluendo.com>
17618 * check/gst/gstbin.c: (GST_START_TEST):
17619 Enable check that works now.
17621 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17622 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17623 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17624 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17625 (gst_bin_change_state):
17626 * gst/gstbin.h:
17627 Redid the state change algorithm using a topological sort algo.
17628 Handles all cases correctly.
17629 Exposed iterator for state change order.
17631 * gst/gstelement.h:
17632 Temp storage for state changes. Need to get rid of this soon.
17634 2005-09-27 Wim Taymans <wim@fluendo.com>
17636 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17637 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17638 (link_fold_func), (gst_pad_proxy_setcaps):
17639 Leak fixes, the fold functions need to unref the passed object and
17640 _get_parent_*() returns ref to parent.
17642 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17644 * check/gst/gstbuffer.c: (test_make_writable):
17645 Plug leak in test case and fix 'make check-valgrind'
17647 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17649 * gst/gstbuffer.c: (gst_subbuffer_init):
17650 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17651 works correctly in all circumstances (we could have just copied
17652 the parent buffer's readonly flag, but conceptually it seems
17653 cleaner to mark all subbuffers as read-only). (based on patch
17654 by Alessandro Decina, #314710).
17656 * check/gst/gstbuffer.c: (create_read_only_buffer),
17657 (test_make_writable), (test_subbuffer_make_writable),
17658 (gst_test_suite):
17659 Add some tests for gst_buffer_make_writable().
17661 2005-09-27 Wim Taymans <wim@fluendo.com>
17663 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17664 use gst_object_has_ancestor().
17666 * gst/gstobject.c: (gst_object_has_ancestor):
17667 * gst/gstobject.h:
17668 gst_object_has_ancestor() copied from gstbin.c as it is a
17669 useful function.
17671 * tests/instantiate/create.c: (create_all_elements):
17672 * tests/lat.c: (handoff_src), (handoff_sink):
17673 * tests/sched/runxml.c: (main):
17674 * tests/seeking/seeking1.c: (main):
17675 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17676 (main):
17677 Fix compilation of some tests.
17679 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17681 * gst/gsterror.h:
17682 Remove comment. GST_TYPE_G_ERROR is here to stay,
17683 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17684 (#316961, #300610).
17686 2005-09-26 Wim Taymans <wim@fluendo.com>
17688 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17689 Added check that shows error in state change order.
17691 2005-09-26 Wim Taymans <wim@fluendo.com>
17693 * gst/gstbin.c: (gst_bin_change_state):
17694 Make state change function use 3 queues again, we were
17695 adding elements in the wrong order.
17697 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17698 Some debug info,
17700 * gst/gstpad.c: (gst_pad_dispose):
17701 Added some debug info first.
17703 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17705 * docs/design/draft-push-pull.txt:
17706 * docs/design/part-events.txt:
17707 * docs/design/part-overview.txt:
17708 * docs/design/part-scheduling.txt:
17709 Replace all _pull_region() with _pull_range()
17711 2005-09-26 Andy Wingo <wingo@pobox.com>
17713 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17715 * check/gst-libs/controller.c: Update for controller api change.
17717 * configure.ac:
17718 * tests/Makefile.am:
17719 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17720 over by GLib bug 118439.
17722 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17723 routines to a function.
17725 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17727 * libs/gst/controller/gsthelper.c:
17728 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17729 (gst_object_sync_values): Renamed from sink_values. Ugh.
17731 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17733 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17734 Renamed from controller_key, as it is exported.
17736 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17738 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17740 * gst/Makefile.am:
17741 * gst/gst.h:
17742 * gst/gstpad.h:
17743 * gst/gstpadtemplate.h:
17744 * gst/gstquery.c:
17745 * gst/gstquery.h:
17746 * gst/gstqueryutils.c:
17747 * gst/gstqueryutils.h:
17748 remove queryutils headers after moving the two used functions
17749 to gstquery. also fixes build problem for gstsiddec
17751 2005-09-26 Michael Smith <msmith@fluendo.com>
17753 * tools/gst-launch.1.in:
17754 Correct documentation in manpage of debug syntax
17756 2005-09-26 Wim Taymans <wim@fluendo.com>
17758 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17759 (gst_base_src_is_seekable), (gst_base_src_change_state):
17760 Some more debugging info.
17762 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17764 * docs/gst/gstreamer-sections.txt:
17765 * gst/base/gstbasetransform.h:
17766 * gst/gstindex.h:
17767 added more docs
17769 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17771 * docs/gst/.cvsignore:
17772 * docs/gst/tmpl/.cvsignore:
17773 * docs/gst/tmpl/gstpipeline.sgml:
17774 * docs/gst/tmpl/gstplugin.sgml:
17775 * gst/gstpipeline.c:
17776 * gst/gstplugin.c:
17777 * gst/gstplugin.h:
17778 inlined the last two docs files
17779 removed the tmpl directory from cvs (no more conflicts here!)
17781 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17783 * docs/gst/gstreamer-sections.txt:
17784 * docs/gst/tmpl/.cvsignore:
17785 * docs/gst/tmpl/gstpad.sgml:
17786 * docs/gst/tmpl/gstpadtemplate.sgml:
17787 * gst/Makefile.am:
17788 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17789 (gst_pad_finalize), (gst_pad_set_pad_template):
17790 * gst/gstpad.h:
17791 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17792 (gst_pad_template_class_init), (gst_pad_template_init),
17793 (gst_pad_template_dispose), (name_is_valid),
17794 (gst_static_pad_template_get), (gst_pad_template_new),
17795 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17796 (gst_pad_template_pad_created):
17797 * gst/gstpadtemplate.h:
17798 inlined two more docs
17799 factored gstpadtemplate out of gstpad
17801 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17803 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17804 (test_children_state_change_order_semi_sink):
17805 Fix test case: we can't rely on a fixed state change order when
17806 going from READY => PAUSED because the sink might commit its
17807 new state first when the first buffer created by the source
17808 reaches the sink before the source has finished its change state.
17809 (Test case still fails at times, see #316856, comment 5 onwards)
17811 2005-09-24 Wim Taymans <wim@fluendo.com>
17813 * docs/design/part-events.txt:
17814 * docs/design/part-gstbus.txt:
17815 * docs/design/part-gstpipeline.txt:
17816 * docs/design/part-messages.txt:
17817 * docs/design/part-overview.txt:
17818 * docs/design/part-segments.txt:
17819 * gst/gstbin.c:
17820 * gst/gstbuffer.c:
17821 * gst/gstclock.c:
17822 * gst/gstelement.c:
17823 * gst/gstevent.c:
17824 * gst/gstfilter.c:
17825 * gst/gstiterator.c:
17826 Various documentation updates.
17828 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17830 * gst/gstclock.h:
17831 Well, that's embarassing. Luckily we weren't using
17832 GST_CLOCK_DIFF anywhere.
17834 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17836 * common/gtk-doc.mak:
17837 don't fail on building XML, FC4 slave shows a bunch of doc
17838 missing bits that I don't get
17839 * gst/gstpad.c:
17840 * gst/gstpipeline.c:
17841 * gst/gststructure.c:
17842 some doc updates
17844 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17846 * docs/design/part-gstbin.txt:
17847 * docs/design/part-gstbus.txt:
17848 * gst/gstbus.c:
17849 Add blurb about how the bus goes into flushing mode and
17850 drops all messages when its bin goes from READY into NULL
17851 state.
17853 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17855 * docs/gst/gstreamer-sections.txt:
17856 * gst/gststructure.c: (gst_structure_get_clock_time):
17857 * gst/gststructure.h:
17858 add a method to get a GstClockTime out of a structure
17860 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17862 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17863 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17864 Added test to check state change order in bins (can still be made
17865 to fail here under heavy disk load; bails out with 'Push on pad
17866 fakesink:sink0, but it was not activated in push mode').
17868 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17869 Fix state change order when there is only a semi sink (#316856)
17871 * gst/gstbus.c: (gst_bus_class_init):
17872 Use _class_peek_parent(), not _class_ref(); fix docs to say
17873 'default main context' instead of 'mainloop' where that is
17874 what's meant.
17876 * gst/gstelement.c: (gst_element_commit_state),
17877 (gst_element_set_state):
17878 Fix typos in debug messages
17880 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17882 * docs/README:
17883 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17884 * gst/gstpluginfeature.c:
17885 * gst/gstutils.c:
17886 various doc updates
17887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17888 change an assert into an error until it gets fixed properly
17890 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17892 * docs/gst/gstreamer-sections.txt:
17893 * docs/gst/tmpl/.cvsignore:
17894 * docs/gst/tmpl/gstelement.sgml:
17895 * docs/gst/tmpl/gstinfo.sgml:
17896 * docs/gst/tmpl/gstobject.sgml:
17897 * gst/gstelement.c:
17898 * gst/gstelement.h:
17899 * gst/gstinfo.c:
17900 * gst/gstinfo.h:
17901 * gst/gstobject.c: (gst_object_class_init):
17902 * gst/gstobject.h:
17903 inlined 3 more biiiig doc files and added some missing docs on the fly
17905 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17907 * check/gst/.cvsignore:
17908 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17909 * gst/gstregistryxml.c: (load_plugin),
17910 (gst_registry_xml_save_plugin):
17911 put back source in registry. add checks for find_plugin.
17912 * testsuite/states/bin.c: (assert_state), (empty_bin),
17913 (test_adding_one_element), (main):
17914 * testsuite/states/locked.c: (main):
17915 some compile/run fixes
17917 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17919 * check/gst/gstvalue.c: (GST_START_TEST):
17920 fix leaks in the test itself
17922 2005-09-22 Wim Taymans <wim@fluendo.com>
17924 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17925 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17926 (gst_base_sink_query):
17927 Prepare for more accurate position reporting and query
17928 handling.
17930 * gst/gstelement.c: (gst_element_send_event),
17931 (gst_element_set_state):
17932 Add some comment.
17934 2005-09-22 Wim Taymans <wim@fluendo.com>
17936 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17937 (gst_query_parse_segment):
17938 * gst/gstquery.h:
17939 More documentation.
17940 Add segment query for future use.
17942 2005-09-22 Wim Taymans <wim@fluendo.com>
17944 * gst/gstbin.c: (gst_bin_add_func):
17945 Some more debug info.
17947 * gst/gstelement.c: (gst_element_send_event):
17948 Simplify send_event
17950 * gst/gstelement.h:
17951 Don't know how flags got broken.
17953 * gst/gstquery.h:
17954 Added new query.
17956 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17958 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17959 Add simplistic test suite for GST_TYPE_DATE serialisation and
17960 deserialisation.
17962 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17964 * docs/gst/gstreamer-sections.txt:
17965 * gst/gststructure.c: (gst_structure_set_valist),
17966 (gst_structure_get_date):
17967 * gst/gststructure.h:
17968 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17969 (gst_date_copy), (gst_value_compare_date),
17970 (gst_value_serialize_date), (gst_value_deserialize_date),
17971 (gst_value_transform_date_string),
17972 (gst_value_transform_string_date), (_gst_value_initialize):
17973 * gst/gstvalue.h:
17974 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17975 bunch of utility functions along with a hack that checks that
17976 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17977 is required. Part of the grand scheme in #170777.
17979 2005-09-22 Andy Wingo <wingo@pobox.com>
17981 * gst/gstconfig.h.in: Psych out gtk-doc.
17983 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17985 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17987 * tools/gst-inspect.c (print_element_list): Plug some
17988 inconsequential leaks.
17990 * gst/gstregistry.c (gst_registry_get_default): Doc.
17992 * check/gst/gstplugin.c:
17993 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17994 * gst/gstelementfactory.c (gst_element_factory_create):
17995 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17996 refcount changes.
17998 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17999 (gst_plugin_feature_load): Doc, don't eat refs.
18001 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18002 (gst_plugin_list_free): Doc.
18003 (gst_plugin_load_file): Doc updates.
18005 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18006 accessors returning refcounted objects, return a ref.
18008 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18009 accessor for caps. IDEMPOTENCE. Oh yes.
18011 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18013 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18015 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18016 (_gst_debug_register_funcptr):
18017 Add mutex to serialise access to the hash table with
18018 the function pointer => function name string mapping;
18019 make that hash table static scope (#316809).
18021 * gst/registries/.cvsignore:
18022 Remove left-over file.
18024 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18026 * docs/pwg/appendix-porting.xml:
18027 And something about newsegment events and caps-on-buffers to
18028 the porting guide (feel free to improve).
18030 2005-09-21 Andy Wingo <wingo@pobox.com>
18032 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18033 data and event probes on the same pad.
18034 (test_buffer_probe_once): Test that removing probes from within
18035 the probe functions works.
18037 2005-09-21 Andy Wingo <wingo@pobox.com>
18039 * check/gst/gstutils.c: New file.
18040 (test_buffer_probe_n_times): A simple buffer probe test. More to
18041 come, foolios.
18043 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18044 have-data::buffer, not have-data.
18045 (gst_pad_add_event_probe): Likewise for have-data::event.
18046 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18047 peer' isn't quite right yet though.
18048 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18049 (gst_pad_remove_data_probe): Change to take the guint handler_id
18050 as their arg, not the function+data, which is more glib-like.
18052 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18053 the signal emission to indicate if the data is a buffer or an
18054 event.
18055 (gst_pad_get_type): Initialize buffer and event quarks.
18056 (gst_pad_class_init): have-data is now a detailed signal, yes it
18057 is.
18059 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18061 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18062 * gst/gstutils.c: (gst_util_set_value_from_string),
18063 (gst_util_set_object_arg):
18064 Don't put functional code in g_return_if_fail() or
18065 g_return_val_if_fail() statements, otherwise things will
18066 break when G_DISABLE_CHECKS is defined during compilation.
18068 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18070 * docs/gst/tmpl/.cvsignore:
18071 * docs/gst/tmpl/gstvalue.sgml:
18072 * gst/gstvalue.c:
18073 * gst/gstvalue.h:
18074 inlied another one and added some obvious docs
18076 2005-09-21 Wim Taymans <wim@fluendo.com>
18078 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18079 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18080 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18081 (gst_fdsrc_get_property), (gst_fdsrc_create):
18082 * gst/elements/gstfdsrc.h:
18083 Properly implement fdsrc. Removed signal and timeout,
18084 better implemented somewhere else.
18086 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18088 * docs/gst/tmpl/.cvsignore:
18089 * docs/gst/tmpl/gstimplementsinterface.sgml:
18090 * gst/gstinterface.c:
18091 inlined more docs
18093 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18095 * docs/gst/gstreamer-sections.txt:
18096 * docs/gst/tmpl/.cvsignore:
18097 * docs/gst/tmpl/gstenumtypes.sgml:
18098 remove obsolete doc file
18100 2005-09-21 David Schleef <ds@schleef.org>
18102 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18103 little beer, fix a little leak.
18105 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18107 * docs/gst/gstreamer-docs.sgml:
18108 * docs/gst/gstreamer-sections.txt:
18109 * docs/gst/tmpl/.cvsignore:
18110 * gst/Makefile.am:
18111 * gst/gst.h:
18112 * gst/gstbin.c:
18113 * gst/gstelement.h:
18114 * gst/gstindex.c: (gst_index_class_init):
18115 * gst/gstindex.h:
18116 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18117 (gst_index_factory_class_init), (gst_index_factory_init),
18118 (gst_index_factory_finalize), (gst_index_factory_new),
18119 (gst_index_factory_destroy), (gst_index_factory_find),
18120 (gst_index_factory_create), (gst_index_factory_make):
18121 * gst/gstindexfactory.h:
18122 * gst/gstpluginfeature.c:
18123 * gst/gstpluginfeature.h:
18124 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18125 more docs inlined, splitted gstindex.{c,h}
18127 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18129 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18130 fix a leak
18132 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18134 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18135 Set sync to FALSE by default.
18137 2005-09-20 Wim Taymans <wim@fluendo.com>
18139 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18140 (gst_base_sink_init):
18141 Make sync property settable from subclass.
18143 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18144 (gst_fake_sink_change_state):
18145 Set sync to FALSE by default.
18147 2005-09-20 Wim Taymans <wim@fluendo.com>
18149 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18150 * tools/gst-launch.c: (main):
18151 The timeout handler should have lower priority than the source
18152 so we don't timeout before popping a message with 0 timeout.
18153 Dump error messages after failed state change.
18155 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18157 * tools/gst-inspect.c: (print_element_properties_info):
18158 Fix two typos.
18160 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18162 * check/gst/gstevent.c:
18163 * gst/elements/gstfakesink.c:
18164 * gst/elements/gstfakesink.h:
18165 remove the sync property from fakesink.
18166 has the side effect of setting sync TRUE
18167 for fakesink, which is a change. Anyone who knows how
18168 to fix this nicely in a GObject-y way, feel free.
18170 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18172 * docs/gst/gstreamer-docs.sgml:
18173 remove probe refsection
18175 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18177 * check/Makefile.am:
18178 disable valgrinding the controller test again
18179 * docs/gst/gstreamer-sections.txt:
18180 update for api-changes
18182 2005-09-20 Wim Taymans <wim@fluendo.com>
18184 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18185 (gst_base_sink_set_property), (gst_base_sink_get_property),
18186 (gst_base_sink_do_sync):
18187 * gst/base/gstbasesink.h:
18188 Added sync property to basesink to disable clock sync.
18190 2005-09-20 Andy Wingo <wingo@pobox.com>
18192 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18193 eating the caller's refcount.
18195 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18196 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18197 refcount.
18199 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18200 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18201 of GLib 2.8 public, so we can know which refcount to check in
18202 tests.
18204 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18205 (gst_object_init): Only set the gst refcount if we're going ahead
18206 with the refcount hack.
18208 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18210 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18211 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18212 more leaks plumbed, added more debug-logging
18213 * gst/gstmacros.h:
18214 whitespace fix
18216 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18218 * gst/gstmessage.c:
18219 remove include of gstmemchunk.h
18221 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18223 * gst/gstclock.c: (_gst_clock_id_free):
18224 Commit from the Political Party For More Atomic CVS Commits,
18225 so that people don't waste too much of their day fishing
18226 out obvious leaks out of massive commits.
18227 Oh, and fix a pretty damn obvious leak in the memchunk
18228 removal code.
18230 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18232 * check/Makefile.am:
18233 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18234 plug mem-leak, re-add to valgrindable tests
18236 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18238 * gst/gstplugin.h:
18239 unbreak the build for those who have chronic arthritis
18240 and typing "make check" is just too taxing on the hands
18242 2005-09-20 Andy Wingo <wingo@pobox.com>
18244 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18245 really want it out, you should fix plugins at the same time.
18247 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18249 * configure.ac:
18250 * docs/gst/gstreamer-sections.txt:
18251 * gst/gstobject.c:
18252 added missing symbols to api docs
18253 disable ref-count hack if we have glib >= 2.8
18255 2005-09-19 David Schleef <ds@schleef.org>
18257 * docs/gst/Makefile.am: Ignore a few more internal headers
18258 * docs/gst/gstreamer-docs.sgml: Remove old sections
18259 * docs/gst/gstreamer-sections.txt: Remove old sections
18260 * docs/gst/tmpl/gstobject.sgml: update
18261 * docs/gst/tmpl/gstplugin.sgml: update
18262 * docs/gst/tmpl/gstpluginfeature.sgml: update
18263 * docs/random/ds/0.9-suggested-changes: update.
18264 * gst/Makefile.am: remove memchunk and trashstack, since they're
18265 not used.
18266 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18267 * gst/gst.h: don't include some headers
18268 * gst/gstchildproxy.c: add gstmarshal.h
18269 * gst/gstclock.c: Don't use memchunks
18270 * gst/gstminiobject.c: Add some docs
18271 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18272 * gst/gstobject.h: same
18273 * gst/gstplugin.c: include gstmacros.h
18274 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18275 * gst/gstquery.c: don't use memchunks
18276 * gst/gstregistry.c: rename gst_registry_deinit()
18277 * gst/gstregistry.h: same
18279 2005-09-19 David Schleef <ds@schleef.org>
18281 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18282 * docs/libs/gstreamer-libs-sections.txt:
18283 * docs/libs/tmpl/gstgetbits.sgml:
18284 * docs/libs/tmpl/gstputbits.sgml:
18286 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18288 * win32/gstenumtypes.c:
18289 * win32/gstenumtypes.h:
18290 Update.
18292 2005-09-19 Wim Taymans <wim@fluendo.com>
18294 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18295 Automatically PAUSE and RESUME a pipeline when a flushing seek
18296 is performed.
18298 2005-09-19 Andy Wingo <wingo@pobox.com>
18300 * gst/gstregistry.h: Spacing fixen.
18302 2005-09-19 Wim Taymans <wim@fluendo.com>
18304 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18305 Handle state change failure more correctly.
18307 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18309 * check/Makefile.am:
18310 * check/pipelines/cleanup.c: (run_pipeline):
18311 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18312 (GST_START_TEST):
18313 enable cleanup again after fixing the leak
18314 * docs/README:
18315 some more info on docs
18317 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18319 * check/Makefile.am:
18320 re-enable tests now that leaks are plugged
18321 * check/gst/gst.c:
18322 * check/gst/gstbin.c:
18323 * check/gst/gstpipeline.c:
18324 add some more tests while fixing leaks
18325 * common/check.mak:
18326 make sure binaries are uptodate when valgrinding/gdbing
18327 * gst/gst.c:
18328 * gst/gstelementfactory.c:
18329 remove a ref too many, and add a FIXME for when we get
18330 round to disposing of classes
18331 * gst/gstplugin.c:
18332 fix the refcounting when loading a plugin from a file and
18333 the code pretends that the pointer is the same even though
18334 of course it can change
18335 * gst/gstpluginfeature.c:
18336 unref plugins marked cached (a bit confusing as a name)
18337 as the docs state should be done
18338 various doc additions to explain refcounting
18339 * gst/gstregistry.c:
18340 * gst/gstregistryxml.c:
18341 debugging
18343 2005-09-19 Wim Taymans <wim@fluendo.com>
18345 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18346 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18347 (send_messages), (GST_START_TEST), (gstbus_suite):
18348 * check/gst/gstpipeline.c: (GST_START_TEST):
18349 * check/pipelines/cleanup.c: (run_pipeline):
18350 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18351 (GST_START_TEST):
18352 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18353 (gst_bus_source_check), (gst_bus_source_dispatch),
18354 (gst_bus_create_watch), (gst_bus_add_watch_full),
18355 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18356 * gst/gstbus.h:
18357 * tools/gst-launch.c: (event_loop):
18358 * tools/gst-md5sum.c: (event_loop):
18359 GstBusHandler -> GstBusFunc, return value has the same meaning as
18360 any other GSource (FALSE == remove source).
18361 _add_watch() and _add_watch_full() now take a MessageType mask to
18362 only handle specific types of messages.
18363 _poll() returns the GstMessage instead of the message type to avoid
18364 race conditions.
18365 _have_pending() takes a MessageType mask now too.
18366 Added testsuite for multiple bus watches.
18367 Fix testsuites and applications for new bus API.
18369 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18371 * check/Makefile.am:
18372 mark a bunch of the tests as to fix until we fix them
18374 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18376 * common/check.mak:
18377 use GST_PLUGIN settings for valgrind tests as well, so we're
18378 valgrinding the correct thing
18379 * gst/gst.c: (init_post):
18380 plug another leak
18382 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18384 * gst/gst.c: (init_post), (gst_deinit):
18385 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18386 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18387 * gst/gstindex.c: (gst_index_factory_class_init),
18388 (gst_index_factory_finalize):
18389 * gst/gstobject.c: (gst_object_dispose):
18390 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18391 (gst_plugin_load_file), (gst_plugin_desc_free):
18392 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18393 (gst_plugin_feature_finalize):
18394 * gst/gstregistry.c: (gst_registry_class_init),
18395 (gst_registry_init), (gst_registry_finalize),
18396 (gst_registry_get_default), (gst_registry_deinit):
18397 * gst/gstregistry.h:
18398 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18399 various cleanups and memleak plugging. make valgrind is happy now.
18401 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18403 * common/check.mak:
18404 add a check-valgrind target
18406 2005-09-18 David Schleef <ds@schleef.org>
18408 * tools/gst-inspect.c: Revert the GOption code.
18410 2005-09-17 David Schleef <ds@schleef.org>
18412 * check/Makefile.am: Fix environment variables.
18413 * check/gst/gstplugin.c: Fix for API changes.
18414 * tools/gst-inspect.c: Fix for API changes.
18415 * tools/gst-xmlinspect.c: Fix for API changes.
18416 * gst/gstelementfactory.c:
18417 * gst/gstplugin.c:
18418 * gst/gstplugin.h:
18419 * gst/gstpluginfeature.c:
18420 * gst/gstpluginfeature.h:
18421 * gst/gstregistry.c:
18422 * gst/gstregistry.h:
18423 * gst/gstregistryxml.c:
18424 * gst/gsttypefind.c:
18425 * gst/gsttypefindfactory.c:
18426 * gst/indexers/gstfileindex.c:
18427 * gst/indexers/gstmemindex.c:
18428 * gst/schedulers/Makefile.am:
18429 Change registry to keep track of both plugins and features,
18430 removing the feature tracking from plugins themselves.
18432 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18434 * check/Makefile.am:
18435 * tools/gst-register.1.in:
18436 remove gst-register
18438 2005-09-15 David Schleef <ds@schleef.org>
18440 * check/gst/gstplugin.c:
18441 * gst/gstelementfactory.c:
18442 * gst/gstplugin.c:
18443 * gst/gstpluginfeature.c:
18444 * gst/gstregistry.c:
18445 Getting tired of debugging. Disabled all the unreffing of
18446 plugins and features, which fixes the segfaults, but of
18447 course leaks like crazy. At least playbin works.
18449 2005-09-15 David Schleef <ds@schleef.org>
18451 * check/gst/gstplugin.c: (register_check_elements),
18452 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18453 More testing
18454 * gst/elements/gsttypefindelement.c: Fix refcounting.
18455 * gst/gsttypefind.c:
18456 * gst/gsttypefindfactory.c:
18457 * gst/gsttypefindfactory.h:
18459 2005-09-15 David Schleef <ds@schleef.org>
18461 * gst/gstindex.c: get refcounting correct.
18462 * gst/gstregistry.c: Handle the case where a feature/plugin is
18463 not found.
18465 2005-09-15 David Schleef <ds@schleef.org>
18467 * check/Makefile.am:
18468 * check/gst/gstplugin.c: Add test
18469 * gst/gstplugin.c: Fix problems noticed by testsuite
18470 * gst/gstplugin.h:
18471 * gst/gstregistry.c:
18472 * gst/gstregistry.h:
18474 2005-09-15 David Schleef <ds@schleef.org>
18476 * gst/gstplugin.c: Implement semi-decent recounting and locking
18477 in plugins and plugin features.
18478 * gst/gstplugin.h:
18479 * gst/gstpluginfeature.c:
18480 * gst/gstpluginfeature.h:
18481 * gst/gstregistry.c:
18483 2005-09-15 Michael Smith <msmith@fluendo.com>
18485 * gst/gstregistry.c: (gst_registry_get_feature_list):
18486 Implement this. Makes oggdemux work; decodebin still broken.
18488 2005-09-14 David Schleef <ds@schleef.org>
18490 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18491 #316076)
18492 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18493 * gst/check/Makefile.am:
18494 * libs/gst/controller/Makefile.am:
18495 * libs/gst/dataprotocol/Makefile.am:
18497 2005-09-14 David Schleef <ds@schleef.org>
18499 * configure.ac: Remove getbits library. Nothing uses it, and
18500 it should be in something like liboil if someone did want
18501 to use it.
18502 * libs/gst/Makefile.am:
18503 * libs/gst/getbits/Makefile.am:
18504 * libs/gst/getbits/gbtest.c:
18505 * libs/gst/getbits/getbits.c:
18506 * libs/gst/getbits/getbits.h:
18507 * libs/gst/getbits/gstgetbits_generic.c:
18508 * libs/gst/getbits/gstgetbits_i386.s:
18509 * libs/gst/getbits/gstgetbits_inl.h:
18511 2005-09-14 David Schleef <ds@schleef.org>
18513 * gst/Makefile.am: Dist glib-compat.h
18515 2005-09-14 David Schleef <ds@schleef.org>
18517 * configure.ac: Remove gst/registries, since it's no longer used.
18518 * gst/registries/Makefile.am:
18519 * gst/registries/gstlibxmlregistry.c:
18520 * gst/registries/gstlibxmlregistry.h:
18521 * gst/registries/gstxmlregistry.c:
18522 * gst/registries/gstxmlregistry.h:
18523 * gst/registries/registrytest.c:
18525 2005-09-14 David Schleef <ds@schleef.org>
18527 * gst/glib-compat.h:
18528 * gst/gstregistryxml.c:
18529 Convergence is near. Seriously.
18531 2005-09-14 David Schleef <ds@schleef.org>
18533 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18534 * gst/glib-compat.h:
18535 Attempt #4 to appease the buildbots.
18537 2005-09-14 David Schleef <ds@schleef.org>
18539 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18540 Attempt #3.
18542 2005-09-14 David Schleef <ds@schleef.org>
18544 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18545 Attempt #2.
18547 2005-09-14 David Schleef <ds@schleef.org>
18549 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18550 the new functions.
18552 2005-09-14 David Schleef <ds@schleef.org>
18554 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18555 * gst/glib-compat.h: Add some functions that are in newer versions
18556 of glib than we care to require.
18557 * gst/gstregistryxml.c: Use them.
18559 2005-09-14 David Schleef <ds@schleef.org>
18561 * po/POTFILES.in: remove gst-register.c
18563 2005-09-14 David Schleef <ds@schleef.org>
18565 * docs/gst/gstreamer-docs.sgml:
18566 * docs/gst/gstreamer-sections.txt:
18567 * docs/gst/gstreamer.types:
18568 * docs/gst/tmpl/gstelement.sgml:
18569 * docs/gst/tmpl/gstplugin.sgml:
18570 * docs/gst/tmpl/gstpluginfeature.sgml:
18571 Documentation updates for registry changes.
18573 2005-09-14 David Schleef <ds@schleef.org>
18575 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18576 because we don't require glib-2.8.
18578 2005-09-14 David Schleef <ds@schleef.org>
18580 * gst/gstregistryxml.c: Added. Essentially moved out of the
18581 registries directory.
18583 2005-09-14 David Schleef <ds@schleef.org>
18585 * check/Makefile.am:
18586 * check/generic/states.c:
18587 * gst/Makefile.am:
18588 * gst/gst.c:
18589 * gst/gst.h:
18590 * gst/gst_private.h:
18591 * gst/gstelementfactory.c:
18592 * gst/gstindex.c:
18593 * gst/gstinfo.c:
18594 * gst/gstplugin.c:
18595 * gst/gstplugin.h:
18596 * gst/gstpluginfeature.c:
18597 * gst/gstpluginfeature.h:
18598 * gst/gstregistry.c:
18599 * gst/gstregistry.h:
18600 * gst/gstregistrypool.c: remove
18601 * gst/gstregistrypool.h: remove
18602 * gst/gsttypefind.c:
18603 * gst/gsttypefindfactory.c:
18604 * gst/gsturi.c:
18605 * tools/Makefile.am:
18606 * tools/gst-compprep.c:
18607 * tools/gst-inspect.c:
18608 * tools/gst-register.c: remove
18609 * tools/gst-xmlinspect.c:
18610 Registry rewrite. Changes registry from being a file created
18611 by a tool into a simple cache file created automatically by
18612 libgstreamer. Removed gst-register (because it's no longer
18613 needed). Remove registry pools, because we only have one
18614 registry implementation (XML). Fix up other subsystems as
18615 necessary.
18617 2005-09-13 Michael Smith <msmith@fluendo.com>
18619 * gst/gstconfig.h.in:
18620 Don't Use windows linking attributes for MinGW. Fixes #316157
18622 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18624 * gst/gstutils.c: (set_state_async_thread_func),
18625 (gst_element_set_state_async):
18626 Apparently people think it's better if this function doesn't
18627 try to set the state to whatever state was asked for on the first
18628 call to this function for any object. Seriously.
18630 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18632 * check/gst/gstpipeline.c: (GST_START_TEST):
18633 * docs/gst/gstreamer-sections.txt:
18634 * gst/gstutils.c: (set_state_async_thread_func),
18635 (gst_element_set_state_async):
18636 * gst/gstutils.h:
18637 add a "gst_element_set_state_async" method that
18638 sets the state and starts a thread to make sure the state
18639 change completes as best as it can
18641 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18643 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18644 codify design+behaviour in testsuite after discussion
18646 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18648 * docs/gst/tmpl/gstelement.sgml:
18649 * docs/manual/appendix-quotes.xml:
18650 add a quote
18651 * gst/gstelement.c: (gst_element_set_state):
18652 add some debug
18654 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18656 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18657 (gst_base_transform_prepare_output_buf),
18658 (gst_base_transform_handle_buffer):
18659 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18660 (gst_capsfilter_prepare_buf):
18661 Remove the requirement for sub-classes to call the parent
18662 implementation of prepare_output_buffer with a wrapper function.
18664 * gst/gsttaglist.h:
18665 * gst/gsttagsetter.h:
18666 Fix #define wrapper
18668 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18670 * docs/gst/gstreamer-sections.txt:
18671 more doc cleanups
18673 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18675 * docs/gst/gstreamer-sections.txt:
18676 * docs/gst/tmpl/gstelement.sgml:
18677 * docs/gst/tmpl/gstplugin.sgml:
18678 * gst/gstminiobject.c:
18679 * gst/gstvalue.h:
18680 docs now stop throwing warnings
18682 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18684 * docs/gst/gstreamer-sections.txt:
18685 * docs/gst/gstreamer.types:
18686 * docs/gst/tmpl/gstpad.sgml:
18687 * docs/gst/tmpl/gsttypes.sgml:
18688 * gst/base/gstadapter.h:
18689 * gst/base/gstbasesink.h:
18690 * gst/base/gstbasesrc.h:
18691 * gst/gstbin.h:
18692 * gst/gstbuffer.h:
18693 * gst/gstbus.h:
18694 * gst/gstcaps.h:
18695 * gst/gstclock.h:
18696 * gst/gstelement.h:
18697 * gst/gstevent.h:
18698 * gst/gstmessage.h:
18699 * gst/gstpad.h:
18700 * gst/gststructure.c:
18701 * gst/registries/gstlibxmlregistry.h:
18702 various documentation fixes
18704 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18706 * docs/gst/gstreamer-sections.txt:
18707 * docs/gst/tmpl/gstvalue.sgml:
18708 rearrange gstvalue section
18709 * gst/gstutils.c: (gst_element_state_get_name):
18710 NONE -> VOID
18711 * gst/gstvalue.c: (_gst_value_initialize):
18712 * gst/gstvalue.h:
18713 doc updates
18715 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18717 * check/gst-libs/controller.c:
18718 Header include fix.
18719 * gst/base/gstbasetransform.c:
18720 (gst_base_transform_default_prepare_buf),
18721 (gst_base_transform_handle_buffer):
18722 * gst/base/gstbasetransform.h:
18723 Some more basetransform changes and fixes to enable sub-classes
18724 that modify buffer metadata only.
18725 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18726 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18727 (gst_capsfilter_prepare_buf):
18728 If the output pad has fixed allowed caps and input buffers
18729 don't have any, set the fixed caps on outgoing buffers.
18731 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18732 * check/elements/identity.c: (GST_START_TEST):
18733 Make the error a little clearer when the test fails because
18734 identity made a copy of the buffer.
18735 * docs/gst/gstreamer-sections.txt:
18736 New symbols in gstbasetransform.h
18737 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18738 (gst_base_transform_init), (gst_base_transform_transform_size),
18739 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18740 (gst_base_transform_default_prepare_buf),
18741 (gst_base_transform_get_unit_size),
18742 (gst_base_transform_buffer_alloc),
18743 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18744 (gst_base_transform_change_state),
18745 (gst_base_transform_set_passthrough),
18746 (gst_base_transform_set_in_place),
18747 (gst_base_transform_is_in_place):
18748 * gst/base/gstbasetransform.h:
18749 Change BaseTransform to separate in_place operate from same_caps
18750 output. in_place implies that the element can perform the transform
18751 on incoming buffers in-place, even if the caps on the output are
18752 different.
18753 Sub-class elements can now implement special buffer allocation
18754 methods for outgoing buffers if they wish to.
18755 Big documentation addition.
18756 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18757 * gst/elements/gstelements.c:
18758 Changes for basetransform modifications.
18759 * gst/elements/Makefile.am:
18760 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18761 Compile fix. Extra debug output.
18763 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18765 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18766 (gst_pad_suite):
18767 add tests for valid pad naming
18768 * gst/check/gstcheck.c: (gst_check_log_message_func),
18769 (gst_check_log_critical_func):
18770 add ASSERT_WARNING
18771 remove printing of code, it is fragile when the code contains
18772 % and the line number is enough info
18773 * gst/check/gstcheck.h:
18774 * gst/gstpad.c: (gst_pad_template_new):
18775 fix memleaks
18777 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18779 * configure.ac:
18780 say what CHECK flags we use
18781 * docs/libs/gstreamer-libs.types:
18782 * libs/gst/controller/Makefile.am:
18783 * libs/gst/controller/gst-controller.c:
18784 * libs/gst/controller/gst-controller.h:
18785 * libs/gst/controller/gst-helper.c:
18786 * libs/gst/controller/gst-interpolation.c:
18787 * libs/gst/controller/gstcontroller.c:
18788 * libs/gst/controller/gsthelper.c:
18789 * libs/gst/controller/gstinterpolation.c:
18790 * tools/gst-inspect.c: (print_plugin_info):
18791 we don't use dashes in header names
18793 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18795 * check/Makefile.am:
18796 * check/gst/.cvsignore:
18797 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18798 (gst_pipeline_suite), (main):
18799 adding a test for pipelines and state changes
18800 * gst/gstutils.c: (get_state_func):
18801 add some debugging
18802 * gstreamer.spec.in:
18803 fix up spec file
18805 2005-09-08 Michael Smith <msmith@fluendo.com>
18807 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18808 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18809 (gst_file_src_is_seekable), (gst_file_src_get_size),
18810 (gst_file_src_start):
18811 * gst/elements/gstfilesrc.h:
18812 Various fixes for unseekable, unmmapable, and non-normal files, so
18813 that fallback to read() rather than mmap() works.
18814 * gst/gstevent.c: (gst_event_new_newsegment):
18815 Allow newsegment events with segment_start == segment_end, as will
18816 correctly happen if you use filesrc on a zero-size file, for
18817 example.
18819 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18821 * gst/gstplugin.c: (gst_plugin_load_file):
18822 Call g_module_close when we don't load the module
18824 * gst/registries/gstlibxmlregistry.c:
18825 (gst_xml_registry_get_property):
18826 Port leak fix from 0.8
18828 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18830 * docs/gst/gstreamer-docs.sgml:
18831 * docs/gst/tmpl/.cvsignore:
18832 * docs/gst/tmpl/gsttrace.sgml:
18833 * docs/gst/tmpl/gsttrashstack.sgml:
18834 * gst/Makefile.am:
18835 * gst/gst.h:
18836 * gst/gstelement.h:
18837 * gst/gstevent.h:
18838 * gst/gstmessage.c:
18839 * gst/gstmessage.h:
18840 * gst/gsttag.c:
18841 * gst/gsttag.h:
18842 * gst/gsttaginterface.c:
18843 * gst/gsttaginterface.h:
18844 * gst/gsttaglist.c:
18845 * gst/gsttaglist.h:
18846 * gst/gsttagsetter.c:
18847 * gst/gsttagsetter.h:
18848 * gst/gsttrace.c:
18849 * gst/gsttrace.h:
18850 * gst/gsttrashstack.c:
18851 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18852 inlined docs for gsttrace, gsttrashstack
18854 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18856 * gst/Makefile.am:
18857 * gst/elements/gstbufferstore.h:
18858 * gst/elements/gsttypefindelement.c:
18859 * gst/elements/gsttypefindelement.h:
18860 * gst/gst.h:
18861 * gst/gsttypefind.c:
18862 * gst/gsttypefind.h:
18863 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18864 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18865 (gst_type_find_factory_dispose),
18866 (gst_type_find_factory_unload_thyself),
18867 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18868 (gst_type_find_factory_get_caps),
18869 (gst_type_find_factory_get_extensions),
18870 (gst_type_find_factory_call_function):
18871 * gst/gsttypefindfactory.h:
18872 * gst/registries/gstlibxmlregistry.c:
18873 * gst/registries/gstxmlregistry.c:
18874 splitted gsttypefind into gsttypefind, gsttypefindfactory
18876 2005-09-07 Andy Wingo <wingo@pobox.com>
18878 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18879 condition whereby the pad's task function is entered before the
18880 pad_mode variable was set.
18882 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18884 * gst/gstpad.c: (gst_pad_alloc_buffer):
18885 Catch misbehaving pad_alloc functions that don't
18886 set up caps and do it for them.
18888 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18890 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18891 test for pipe!=NULL
18892 * docs/gst/tmpl/.cvsignore:
18893 * docs/gst/tmpl/gstmemchunk.sgml:
18894 * docs/gst/tmpl/gstparse.sgml:
18895 * docs/gst/tmpl/gsttaglist.sgml:
18896 * docs/gst/tmpl/gsttagsetter.sgml:
18897 * docs/gst/tmpl/gsttypefind.sgml:
18898 * docs/gst/tmpl/gsttypefindfactory.sgml:
18899 * gst/gstmemchunk.c:
18900 * gst/gstparse.c:
18901 * gst/gsttag.c:
18902 * gst/gsttaginterface.c:
18903 * gst/gsttypefind.c:
18904 * gst/gsttypefind.h:
18905 inlined more docs
18907 === release 0.9.2 ===
18909 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18911 * NEWS:
18912 * RELEASE:
18913 * configure.ac:
18914 releasing 0.9.2, "South"
18916 2005-09-05 Andy Wingo <wingo@pobox.com>
18918 * gst/registries/gstxmlregistry.h:
18919 * gst/registries/gstxmlregistry.c: Um... resurrect...
18921 * gst/registries/gstxmlregistry.h:
18922 * gst/registries/gstxmlregistry.c: and update to newer API.
18923 Incidentally they should be a bit faster now that they don't have
18924 to parse the caps.
18926 2005-09-05 Andy Wingo <wingo@pobox.com>
18928 * gst/registries/gstxmlregistry.h:
18929 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18930 replaced by the libxml registry a while back
18932 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18934 * docs/gst/tmpl/gstplugin.sgml:
18935 * gst/elements/gstelements.c:
18936 * gst/gst.c:
18937 * gst/gstplugin.c: (gst_plugin_register_func),
18938 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18939 (gst_plugin_get_source):
18940 * gst/gstplugin.h:
18941 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18942 (gst_xml_registry_save_plugin):
18943 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18944 (gst_xml_registry_save_plugin):
18945 * tools/gst-inspect.c: (print_plugin_info):
18946 add a "source" plugin description field, to represent the source
18947 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18948 will set it to PACKAGE, which is automake's idea of the name of
18949 the source project.
18951 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18953 * Makefile.am:
18954 * autogen.sh:
18955 * configure.ac:
18956 * docs/Makefile.am:
18957 * docs/faq/Makefile.am:
18958 * docs/gst/tmpl/gstelement.sgml:
18959 * docs/gst/tmpl/gsttypes.sgml:
18960 * docs/htmlinstall.mak:
18961 * docs/manual/Makefile.am:
18962 * docs/pwg/Makefile.am:
18963 reorganize doc build a little
18964 split out docbook and gtk-doc stuff
18965 have two separate --enable's and enable them through autogen
18966 but disable by default in configure (to be similar to other
18967 projects)
18968 * gstreamer.spec.in:
18969 clean up docs install
18970 * po/af.po:
18971 * po/az.po:
18972 * po/ca.po:
18973 * po/cs.po:
18974 * po/de.po:
18975 * po/en_GB.po:
18976 * po/fr.po:
18977 * po/it.po:
18978 * po/nb.po:
18979 * po/nl.po:
18980 * po/ru.po:
18981 * po/sq.po:
18982 * po/sr.po:
18983 * po/sv.po:
18984 * po/tr.po:
18985 * po/uk.po:
18986 * po/vi.po:
18987 translation updates
18989 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18991 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18992 Add comment.
18994 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18995 (gst_fake_sink_change_state):
18996 Make state change function thread-safe.
18998 * gst/gstpad.c: (gst_pad_alloc_buffer):
18999 Set offset on generic buffer allocated by fallback.
19001 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19003 * docs/gst/gstreamer-sections.txt:
19004 * docs/gst/tmpl/gstelement.sgml:
19005 * gst/gstpad.c:
19006 * libs/gst/controller/gst-controller.c:
19007 (gst_controlled_property_set_interpolation_mode),
19008 (gst_controlled_property_new),
19009 (gst_controller_find_controlled_property):
19010 run the wingo-magic script against the docs
19012 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19014 * docs/gst/gstreamer-docs.sgml:
19015 * docs/gst/gstreamer-sections.txt:
19016 * docs/gst/tmpl/.cvsignore:
19017 * docs/gst/tmpl/gstelementdetails.sgml:
19018 * docs/gst/tmpl/gstelementfactory.sgml:
19019 * gst/gst.c:
19020 * gst/gstbus.c:
19021 * gst/gstelementfactory.c:
19022 * gst/gstelementfactory.h:
19023 merged elementdetails docs into elementfactory docs
19024 inlined both
19026 2005-09-02 Andy Wingo <wingo@pobox.com>
19028 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19029 consider this enum an enum and not a flags.
19031 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19033 * docs/gst/gstreamer-docs.sgml:
19034 * docs/gst/tmpl/.cvsignore:
19035 * docs/gst/tmpl/gstghostpad.sgml:
19036 * docs/gst/tmpl/gstiterator.sgml:
19037 * docs/gst/tmpl/gstmacros.sgml:
19038 * docs/gst/tmpl/gstrealpad.sgml:
19039 * docs/gst/tmpl/gstregistry.sgml:
19040 * docs/gst/tmpl/gstregistrypool.sgml:
19041 * docs/gst/tmpl/gststructure.sgml:
19042 * docs/gst/tmpl/gstsystemclock.sgml:
19043 * docs/gst/tmpl/gsttrace.sgml:
19044 * gst/gstghostpad.c:
19045 * gst/gstmacros.h:
19046 * gst/gstmemchunk.c:
19047 * gst/gstmemchunk.h:
19048 * gst/gstqueue.c:
19049 * gst/gstregistry.c:
19050 * gst/gstregistrypool.c:
19051 * gst/gststructure.c:
19052 * gst/gstsystemclock.c:
19053 more docs inlined
19055 2005-09-02 Andy Wingo <wingo@pobox.com>
19057 * gst/gstelement.h (GstState): Renamed from GstElementState,
19058 changed to be a normal enum instead of flags.
19059 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19060 munged to be GST_STATE_CHANGE_*.
19061 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19062 work with the new state representation.
19063 (GstStateChange): New enumeration of possible state transitions.
19064 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19065 (GstElementClass::change_state): Pass the GstStateChange along as
19066 an argument. Helps language bindings, so they don't have to use
19067 tricky lock-needing macros like GST_STATE_CHANGE ().
19069 * scripts/update-states (file): New script. Run it on a file to
19070 update it for state naming and API changes. Updates files in
19071 place.
19073 * All files updated for the new API.
19075 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19077 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19078 * gst/gstutils.c: (gst_util_set_value_from_string),
19079 (gst_util_set_object_arg):
19080 fix a bunch of unchecked return values
19081 * tools/gst-complete.c: (main):
19082 * gstreamer.spec.in:
19083 clean up a little
19085 2005-09-01 Wim Taymans <wim@fluendo.com>
19087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19088 (gst_base_sink_event), (gst_base_sink_do_sync),
19089 (gst_base_sink_handle_event):
19090 * gst/base/gstbasesink.h:
19091 Handle newsegments more correctly.
19093 * gst/gstbus.c:
19094 Fix docs.
19096 * gst/gstevent.c: (gst_event_new_newsegment):
19097 A newsegment cannot have a start_time of -1
19099 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19101 * win32/gstenumtypes.c:
19102 * win32/gstenumtypes.h:
19103 Update
19105 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19107 * libs/gst/controller/gst-controller.c:
19108 (gst_controlled_property_set_interpolation_mode),
19109 (gst_controlled_property_new):
19110 fixed boolean again
19112 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19114 * docs/faq/gst-uninstalled:
19115 add -good
19116 * gst/gstevent.c:
19117 * gst/gstevent.h:
19118 remove wrong docs
19119 * gst/gstutils.c: (gst_element_link_filtered):
19120 * gst/gstutils.h:
19121 add gst_element_link_filtered
19123 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19125 * docs/gst/gstreamer-docs.sgml:
19126 * docs/gst/gstreamer-sections.txt:
19127 * docs/gst/tmpl/.cvsignore:
19128 * docs/gst/tmpl/gsterror.sgml:
19129 * docs/gst/tmpl/gstfilter.sgml:
19130 * docs/gst/tmpl/gsturihandler.sgml:
19131 * docs/gst/tmpl/gsturitype.sgml:
19132 * docs/gst/tmpl/gstutils.sgml:
19133 * docs/gst/tmpl/gstxml.sgml:
19134 * gst/gsterror.c:
19135 * gst/gsterror.h:
19136 * gst/gstfilter.c:
19137 * gst/gsturi.c:
19138 * gst/gsturitype.c:
19139 * gst/gstutils.c:
19140 * gst/gstxml.c:
19141 inlined more docs, fixed double id-ref
19143 2005-08-31 Wim Taymans <wim@fluendo.com>
19145 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19146 (gst_base_transform_handle_buffer):
19147 Passthrough elements don't need the caps as they don't care.
19149 2005-08-31 Wim Taymans <wim@fluendo.com>
19151 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19152 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19153 Don't leak refcounts on buffers.
19155 2005-08-31 Wim Taymans <wim@fluendo.com>
19157 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19158 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19159 (gst_base_transform_chain), (gst_base_transform_change_state):
19160 * gst/base/gstbasetransform.h:
19161 Handle the case where we are not negotiated more gracefully.
19163 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19165 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19166 (gst_file_src_map_region):
19167 Set READONLY flag on mmap'ed buffers, otherwise
19168 gst_buffer_make_writable() won't work properly (#314708).
19170 2005-08-31 Wim Taymans <wim@fluendo.com>
19172 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19173 passthrough elements can even do inplace on non writable
19174 buffers (as they don't touch them).
19176 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19178 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19179 (gst_test_mono_source_set_property),
19180 (gst_test_mono_source_class_init), (GST_START_TEST),
19181 (gst_controller_suite):
19182 more tests (hehe I have the most)
19183 * gst/gstbus.c:
19184 describe popping messages whenusing mulltiple sources
19185 * libs/gst/controller/gst-controller.c:
19186 (gst_controlled_property_set_interpolation_mode),
19187 (gst_controlled_property_new):
19188 * libs/gst/controller/gst-controller.h:
19189 * libs/gst/controller/gst-interpolation.c:
19190 implement boolean properties
19192 2005-08-31 Wim Taymans <wim@fluendo.com>
19194 * gst/gstminiobject.c: (gst_mini_object_ref):
19195 Cannot assert that the refcount has to be positive
19196 since a disposed object can be resurrected.
19198 2005-08-31 Wim Taymans <wim@fluendo.com>
19200 * gst/gstpad.c: (gst_pad_init):
19201 Revert change, need to first fix badly behaving
19202 apps.
19204 2005-08-30 Wim Taymans <wim@fluendo.com>
19206 * check/elements/fakesrc.c: (setup_fakesrc):
19207 * check/elements/identity.c: (setup_identity):
19208 Activate pads before using them.
19210 2005-08-30 Wim Taymans <wim@fluendo.com>
19212 * gst/base/gstadapter.c: (gst_adapter_flush):
19213 Flushing out 0 bytes is ok for this function.
19215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19216 no newsegment gives a warning and sets the start/stop to
19217 invalid.
19219 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19220 (gst_base_transform_set_passthrough):
19221 Some debug info.
19223 * gst/gstminiobject.c: (gst_mini_object_ref):
19224 Check refcount here too.
19226 * gst/gstpad.c: (gst_pad_init):
19227 Pads are initially flushing and refusing data.
19229 * gst/gstutils.c: (gst_element_link_pads_filtered):
19230 When adding a capsfilter element make sure it has the
19231 same state as the parent bin.
19233 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19235 * docs/gst/tmpl/.cvsignore:
19236 * docs/gst/tmpl/gstformat.sgml:
19237 * docs/gst/tmpl/gstversion.sgml:
19238 * gst/gstbus.h:
19239 * gst/gstformat.c:
19240 * gst/gstformat.h:
19241 * gst/gstversion.h.in:
19242 more docs and two more inlined
19244 2005-08-30 Wim Taymans <wim@fluendo.com>
19246 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19247 Don't sync to clock.
19249 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19251 * docs/gst/gstreamer-sections.txt:
19252 ultral33t func10ns deserve to appear in the docs actually
19253 * docs/gst/tmpl/.cvsignore:
19254 * docs/gst/tmpl/gstcompat.sgml:
19255 * docs/gst/tmpl/gstconfig.sgml:
19256 * gst/check/gstcheck.c:
19257 * gst/gstcompat.h:
19258 * gst/gstconfig.h.in:
19259 inlined more docs
19261 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19263 * docs/gst/tmpl/.cvsignore:
19264 * docs/gst/tmpl/gstquery.sgml:
19265 * docs/gst/tmpl/gstutils.sgml:
19266 * gst/gstquery.c:
19267 * gst/gstquery.h:
19268 inlined and extended docs
19270 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19272 * check/gst-libs/controller.c: (GST_START_TEST),
19273 (gst_controller_suite):
19274 more tests
19275 * docs/gst/tmpl/gstutils.sgml:
19276 * docs/libs/gstreamer-libs-sections.txt:
19277 * docs/libs/tmpl/gstdataprotocol.sgml:
19278 include path fixes
19279 * examples/controller/audio-example.c: (main):
19280 controller example works now
19281 * gst/gstclock.h:
19282 doc fixes
19283 * tools/gst-inspect.c: (print_element_properties_info):
19284 show param spec flags
19286 2005-08-29 Andy Wingo <wingo@pobox.com>
19288 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19290 2005-08-28 Andy Wingo <wingo@pobox.com>
19292 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19293 as having two arguments instead of just one. Allows superclasses
19294 to access information on subclasses -- see the terrible for() loop
19295 in gtype.c:g_type_create_instance for the reason why. All callers
19296 changed.
19298 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19300 * docs/design/part-messages.txt:
19301 update info
19302 * docs/gst/tmpl/.cvsignore:
19303 * docs/gst/tmpl/gstcaps.sgml:
19304 * docs/gst/tmpl/gstclock.sgml:
19305 * gst/gstbus.c:
19306 * gst/gstcaps.c:
19307 * gst/gstcaps.h:
19308 * gst/gstclock.c:
19309 * gst/gstclock.h:
19310 * gst/gstmessage.c:
19311 added descriptions for bus and message
19312 inline caps and clock docs
19314 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19316 * gst/gstmessage.c:
19317 * gst/gstmessage.h:
19318 doc fixes
19320 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19322 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19323 fix div-by-zero
19325 2005-08-26 Andy Wingo <wingo@pobox.com>
19327 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19328 element_set_state's return val.
19329 (test_2_elements): Add test that's been disabled for months.
19331 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19332 can-activate-pull properties.
19334 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19335 can-activate-pull properties. Implement is_seekable so fakesrc can
19336 operate in pull mode.
19338 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19339 properties.
19340 (gst_base_sink_activate, gst_base_sink_activate_pull)
19341 (gst_base_sink_activate_push): Make activation mode choosing work.
19342 Cleanups.
19343 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19344 is right. Make pull mode work. Post an eos before pausing in pull
19345 mode.
19346 (gst_base_sink_change_state): Pay attention to the core's
19347 change_state() return val.
19349 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19350 has-getrange properties. Cleanups.
19352 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19353 has_getrange and replace with can_activate_pull and
19354 can_activate_push.
19356 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19357 locking comments. Remove has_loop, has_chain and replace with
19358 can_activate_pull and can_activate_push.
19360 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19362 * configure.ac:
19363 * examples/Makefile.am:
19364 * examples/metadata/Makefile.am:
19365 * examples/metadata/read-metadata.c: (message_loop),
19366 (have_pad_handler), (make_pipeline), (print_tag), (main):
19367 Add metadata reading example that loops over a list of filenames,
19368 dumping any tags found.
19370 * gst/gstbus.c: (gst_bus_dispose):
19371 * gst/gstelement.c: (gst_element_dispose):
19372 Release a few potentially-held references in dispose.
19374 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19376 * docs/gst/tmpl/gstminiobject.sgml:
19377 do *not* add tmpl/*.sgml files to CVS!
19379 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19381 * libs/gst/bytestream/.cvsignore:
19382 * libs/gst/bytestream/Makefile.am:
19383 * libs/gst/bytestream/adapter.c:
19384 * libs/gst/bytestream/adapter.h:
19385 * libs/gst/bytestream/bytestream.c:
19386 * libs/gst/bytestream/bytestream.h:
19387 * libs/gst/bytestream/filepad.c:
19388 * libs/gst/bytestream/filepad.h:
19389 removing obsolete files
19391 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19393 * docs/gst/gstreamer-docs.sgml:
19394 * docs/libs/gstreamer-libs-docs.sgml:
19395 disabed additional index entries again, as this makes docs-gen just
19396 slow and they aren't useful yet
19397 * docs/libs/gstreamer-libs-sections.txt:
19398 little -section.txt cleanup for libs
19400 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19403 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19404 fix up some debugging
19405 (gst_base_transform_get_unit_size),
19406 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19407 (gst_base_transform_handle_buffer):
19408 * gst/base/gstbasetransform.h:
19409 handle and store timed NEWSEGMENT events so that subclasses that
19410 calculate time by counting samples have a segment_start time they
19411 need to add to their timestamps - see audioresample
19413 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19415 * gst/gstbin.h:
19416 removed ';' from the end of macro defs
19417 * docs/gst/gstreamer-docs.sgml:
19418 * docs/gst/gstreamer-sections.txt:
19419 * docs/gst/tmpl/.cvsignore:
19420 * gst/gstbus.h:
19421 * gst/gstelement.c: (gst_element_class_init),
19422 (gst_element_set_state), (activate_pads),
19423 (gst_element_save_thyself):
19424 * gst/gstevent.c: (gst_event_new_newsegment):
19425 * gst/gstevent.h:
19426 * gst/gstiterator.c:
19427 * gst/gstiterator.h:
19428 * gst/gstpad.c:
19429 * gst/gstprobe.h:
19430 * gst/gstutils.c: (gst_pad_query_convert):
19431 * gst/gstutils.h:
19432 fixed parameter name mismatches between source, header and docs
19433 added some more docs, resolved the last batch of unused elements in
19434 docs (now someone needs to doc them)
19436 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19438 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19439 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19440 don't walk through the plugins backwards. Where is all this
19441 reversed logic coming from ?
19443 2005-08-25 Wim Taymans <wim@fluendo.com>
19445 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19446 (gst_base_transform_transform_size),
19447 (gst_base_transform_configure_caps),
19448 (gst_base_transform_get_unit_size),
19449 (gst_base_transform_buffer_alloc),
19450 (gst_base_transform_change_state):
19451 * gst/base/gstbasetransform.h:
19452 Cache caps unit_size.
19453 Make sure we cannot negotiate up and downstream at the
19454 same time.
19456 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19458 * gst/gst.c: (init_pre), (init_post):
19459 register the installed plugin path after the env var
19460 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19461 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19462 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19463 directories, so the tests can prefer uninstalled over installed
19465 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19467 * gst/base/gstbasetransform.h:
19468 comment
19469 * gst/gstpad.c:
19470 add to docs
19472 2005-08-25 Wim Taymans <wim@fluendo.com>
19474 * gst/gstbin.c: (bin_bus_handler):
19475 Be a bit more conservative about the posted message.
19477 * gst/gstbus.c: (gst_bus_post):
19478 Some cleanups, warn wrong return values.
19480 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19482 * check/gst/gstbin.c: (GST_START_TEST):
19483 * gst/gstbin.c: (bin_bus_handler):
19484 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19485 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19486 (gst_message_new_warning), (gst_message_new_tag),
19487 (gst_message_new_state_changed), (gst_message_new_segment_start),
19488 (gst_message_new_segment_done), (gst_message_new_custom):
19489 * gst/gstmessage.h:
19490 * tools/gst-launch.c: (event_loop):
19491 * tools/gst-md5sum.c: (event_loop):
19492 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19494 2005-08-25 Wim Taymans <wim@fluendo.com>
19496 * check/generic/states.c: (GST_START_TEST):
19497 Cleanup can be done at the end.
19499 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19500 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19501 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19502 Oh boy.. Thanks for finding this, Thomas.
19504 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19506 * docs/gst/gstreamer.types:
19507 added missing types
19509 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19511 * docs/gst/gstreamer-docs.sgml:
19512 * docs/gst/gstreamer-sections.txt:
19513 * docs/gst/tmpl/.cvsignore:
19514 * gst/gstbin.c:
19515 * gst/gstiterator.c:
19516 * gst/gstutils.c:
19517 * gst/registries/gstxmlregistry.h:
19518 added missing classes and symbols (123 more to go)
19519 removed removed symbols from section file
19520 fixed many doc-comments
19522 2005-08-24 Wim Taymans <wim@fluendo.com>
19524 * check/generic/states.c: (GST_START_TEST):
19525 Make sure all tasks are stopped.
19527 * check/gst/gstbin.c: (GST_START_TEST):
19528 Unref after usage for proper valgrinding.
19530 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19531 Really wait for the task to stop before destroying the
19532 mutex.
19534 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19535 (gst_queue_src_activate_push):
19536 Small cleanups. Don't stop the task when we did not start
19537 it.
19539 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19540 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19541 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19542 (gst_task_join):
19543 * gst/gsttask.h:
19544 Protect the stream lock with the object lock.
19545 Disallow setting the stream lock when running.
19546 Add cleanup_all to wait for the threadpool to finish.
19547 Remove code to autoallocate a mutex if none was provided.
19548 Add _join() to wait for a task to stop.
19549 Protect the thread pool with a global lock.
19551 2005-08-24 Wim Taymans <wim@fluendo.com>
19553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19554 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19555 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19556 * gst/base/gstbasesink.h:
19557 Handle newsegment events correctly.
19558 Drop buffers out of the segment range.
19560 2005-08-22 Andy Wingo <wingo@pobox.com>
19562 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19563 macro, implements an interface and gstimplementsinterface for a
19564 new type.
19566 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19568 * check/Makefile.am:
19569 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19570 add a test that does a bunch of state changes on elements
19571 needs some fixing for valgrind
19572 * check/states/sinks.c: (gst_object_suite):
19573 whitespace
19574 * gst/gstcaps.h:
19575 add prototype for gst_caps_is_equal_fixed
19576 * gst/gstplugin.c:
19577 * gst/gstregistrypool.c:
19578 doc fixes
19580 2005-08-24 Andy Wingo <wingo@pobox.com>
19582 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19583 convert a negative value. Doesn't make much sense. Mostly this is
19584 here to force callers to ensure -1 maps to -1.
19586 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19588 * docs/pwg/advanced-types.xml:
19589 Well done to Michael for catching my deliberate introduction
19590 of this spelling mistake.
19591 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19592 * gst/gstelement.h:
19593 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19594 unlink pads before removing the element from the bin.
19596 2005-08-24 Andy Wingo <wingo@pobox.com>
19598 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19599 the same thing as GST_DEBUG=*:4.
19600 (parse_debug_level, parse_debug_category): New helper parsers.
19602 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19604 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19605 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19606 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19607 (gst_base_transform_buffer_alloc),
19608 (gst_base_transform_handle_buffer):
19609 use gboolean return values and pointers to size so we can use the
19610 full GST_BUFFER_SIZE range (guint) for buffer sizes
19611 use GstPadDirection for transform_caps
19612 * gst/base/gstbasetransform.h:
19613 rename get_size to get_unit_size since that's what it is
19614 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19615 use GstPadDirection for transform_caps
19616 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19617 * gst/gstutils.h:
19618 cleanup and debugging
19620 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19622 * gst/gstelement.c: (gst_element_class_init),
19623 (gst_element_set_state), (activate_pads),
19624 (gst_element_save_thyself):
19625 * tools/gst-compprep.c: (main):
19626 * tools/gst-inspect.c: (print_element_properties_info):
19627 * tools/gst-xmlinspect.c: (print_element_properties):
19628 Fixed long standing mem-leak
19630 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19632 * check/gst/gstbin.c: (GST_START_TEST):
19633 * gst/gstbin.c: (bin_bus_handler):
19634 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19635 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19636 (gst_message_new_warning), (gst_message_new_tag),
19637 (gst_message_new_state_changed), (gst_message_new_segment_start),
19638 (gst_message_new_segment_done), (gst_message_new_custom):
19639 * gst/gstmessage.h:
19640 * tools/gst-launch.c: (event_loop):
19641 * tools/gst-md5sum.c: (event_loop):
19642 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19643 that applications can sensibly post custom messages with references
19644 to their own objects.
19646 2005-08-24 Andy Wingo <wingo@pobox.com>
19648 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19649 already.
19651 2005-08-24 Wim Taymans <wim@fluendo.com>
19653 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19654 (gst_base_transform_transform_caps),
19655 (gst_base_transform_transform_size),
19656 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19657 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19658 (gst_base_transform_handle_buffer):
19659 * gst/base/gstbasetransform.h:
19660 Many fixes and new features added by Thomas. Can now also do
19661 transforms with variable sizes and a custom fixate_caps function.
19663 2005-08-24 Wim Taymans <wim@fluendo.com>
19665 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19666 Some debugging.
19668 * gst/gstclock.h:
19669 Cast to ClockTime before formatting to time.
19671 * gst/gstutils.h:
19672 Cleanups.
19674 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19676 * check/gst-libs/controller.c: (GST_START_TEST),
19677 (gst_controller_suite):
19678 * docs/gst/tmpl/gstcaps.sgml:
19679 * docs/gst/tmpl/gstghostpad.sgml:
19680 * docs/gst/tmpl/gstquery.sgml:
19681 * docs/gst/tmpl/gstutils.sgml:
19682 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19683 (gst_object_sink_values), (gst_object_get_value_arrays),
19684 (gst_object_get_value_array):
19685 gracefully handle helper method calls to objects that are not beeing
19686 controlled, added test case for that
19688 2005-08-23 Wim Taymans <wim@fluendo.com>
19690 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19691 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19692 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19693 (gst_event_parse_qos), (gst_event_new_seek),
19694 (gst_event_parse_seek):
19695 * gst/gstevent.h:
19696 Some more debugging output and doc cleanups.
19698 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19699 Fix possible deadlock.
19701 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19703 * docs/gst/gstreamer-docs.sgml:
19704 * docs/gst/gstreamer-sections.txt:
19705 * docs/gst/gstreamer.types:
19706 * docs/gst/tmpl/.cvsignore:
19707 * gst/gstbin.h:
19708 * gst/gstbus.c:
19709 * gst/gstelement.c:
19710 * gst/gstevent.h:
19711 added 100 symbols from gstreamer-unused.txt to the right sections
19712 fixed more broken comments
19713 added GstBus to docs
19715 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19717 * docs/gst/gstreamer-sections.txt:
19718 * docs/gst/tmpl/.cvsignore:
19719 * docs/gst/tmpl/gstbin.sgml:
19720 * docs/gst/tmpl/gstbuffer.sgml:
19721 * gst/base/gstbasesrc.c:
19722 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19723 * gst/gstbuffer.c:
19724 * gst/gstbuffer.h:
19725 * tools/gst-launch.1.in:
19726 inlined more doc comments, added missing comments and fixed comments
19727 fixed typos
19729 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19731 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19732 some debugging
19733 * gst/gstcaps.h:
19734 whitespace fixes
19735 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19736 more debugging
19737 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19738 * gst/gststructure.h:
19739 add a fixate function for booleans; add a FIXME that these func
19740 names should probably be gst_structure_fixate_*
19742 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19744 * docs/gst/gstreamer-docs.sgml:
19745 * docs/gst/gstreamer-sections.txt:
19746 * gst/Makefile.am:
19747 * gst/gstbin.c: (gst_bin_get_type),
19748 (gst_bin_child_proxy_get_child_by_index),
19749 (gst_bin_child_proxy_get_children_count),
19750 (gst_bin_child_proxy_init):
19751 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19752 (gst_child_proxy_get_child_by_index),
19753 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19754 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19755 (gst_child_proxy_get), (gst_child_proxy_set_property),
19756 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19757 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19758 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19759 * gst/gstchildproxy.h:
19760 * gst/parse/grammar.y:
19761 * tools/gst-inspect.c: (print_interfaces),
19762 (print_element_properties_info), (print_element_info):
19763 ported gstchildproxy over from 0.8
19764 ported gst-inspect fixes and enhancements over from 0.8
19766 2005-08-22 Wim Taymans <wim@fluendo.com>
19768 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19769 (gst_base_transform_handle_buffer):
19770 Also call the transform function if we have ANY caps.
19772 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19773 Fix debug info.
19775 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19777 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19778 Don't pretend to handle seek events if the source is not seekable
19780 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19783 Remove extra parameter to debug output
19785 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19786 (gst_base_src_do_seek), (gst_base_src_activate_push):
19787 Fix seek event handling.
19789 * gst/gstpipeline.c: (gst_pipeline_change_state):
19790 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19791 (gst_queue_src_activate_push):
19792 Don't start the src pad task on FLUSH_STOP if the pad
19793 isn't linked.
19794 Debug changes.
19796 2005-08-22 Wim Taymans <wim@fluendo.com>
19798 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19799 Added check for gst_static_caps_get() refcounting.
19801 2005-08-22 Wim Taymans <wim@fluendo.com>
19803 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19804 Make _static_caps_get() refcounting sane.
19806 * gst/gstelement.c: (gst_element_set_state):
19807 Add g_return_val_if_fail() to protect against segfaults.
19809 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19811 * docs/gst/tmpl/gstevent.sgml:
19812 * gst/gstevent.c:
19813 * gst/gstevent.h:
19814 inlined remaining docs, added missing doc comments
19816 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * check/gst/gstbin.c: (GST_START_TEST):
19819 since we don't know when preroll is done, use refcount range
19820 check for the sink
19821 * gst/check/gstcheck.h:
19822 add macro for checking refcount range
19824 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19826 * check/Makefile.am:
19827 clean up environment for when registry gets built versus
19828 when actual tests are run; valgrind seems to not report
19829 leaks if GST_PLUGIN_PATH is set to some specific values
19830 * check/gst/gstbin.c: (GST_START_TEST):
19831 add more refcounting checks; maybe this exposes a
19832 preroll lock bug ?
19833 * common/check.mak:
19834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19835 * gst/check/gstcheck.h:
19836 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19837 (gst_bin_change_state):
19838 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19839 add/fix debugging/whitespace
19841 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19843 * check/gst/gstevent.c: (event_probe), (test_event),
19844 (GST_START_TEST):
19845 Er, don't call gst_bin_watch_for_state_change you idiot.
19847 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19849 * check/Makefile.am:
19850 Use CHECK_CFLAGS and CHECK_LIBS
19851 * check/gst/gstevent.c: (event_probe), (test_event),
19852 (GST_START_TEST):
19853 Don't leak events.
19854 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19855 (gst_base_src_start), (gst_base_src_stop),
19856 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19857 (gst_base_src_change_state):
19858 Sprinkle gst_base_src_stop liberally around error paths to fix
19859 problems reusing a source after failed state changes.
19860 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19861 (helper_find_suggest), (gst_type_find_helper):
19862 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19863 * gst/gstevent.h:
19864 * docs/gst/tmpl/gstevent.sgml:
19865 Migrate part of the docs from the SGML file. Wait for ensonic to
19866 tell me how I did it wrong ;)
19867 * tools/gst-typefind.c: (main):
19868 Extra robustness to state changes between files.
19870 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19872 * check/Makefile.am:
19873 don't valgrind the controller test - it's leaking - Stefan, HELP
19874 * gst/check/gstcheck.c: (gst_check_message_error),
19875 (gst_check_chain_func), (gst_check_setup_element),
19876 (gst_check_teardown_element), (gst_check_setup_src_pad),
19877 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19878 (gst_check_teardown_sink_pad):
19879 * gst/check/gstcheck.h:
19880 add a bunch of methods to set up elements, and src and sink pads
19881 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19882 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19883 (GST_START_TEST):
19884 use them
19885 * gst/gstmessage.c:
19886 * gst/gsttag.h:
19887 whitespace/doc fixes
19889 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19891 * gst/gstelement.h:
19892 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19893 be handled by the application and not always printed as well
19895 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19897 * check/Makefile.am:
19898 set GST_TOOLS_DIR
19899 * gst/check/gstcheck.c: (gst_check_message_error):
19900 * gst/check/gstcheck.h:
19901 add a fail_unless_equals_int
19902 add fail_unless for error messages
19904 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19906 * check/Makefile.am:
19907 * check/gst.supp:
19908 * common/Makefile.am:
19909 * common/check.mak:
19910 * common/gst.supp:
19911 factor out some of the common stuff so we can use it
19913 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19915 * check/Makefile.am:
19916 * check/gst/gstiterator.c: (GST_START_TEST):
19917 * check/gst/gstsystemclock.c: (GST_START_TEST),
19918 (gst_systemclock_suite):
19919 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19920 * gst/gstclock.c:
19921 valgrind more tests
19923 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19925 * check/elements/.cvsignore:
19926 * check/elements/gstfakesrc.c:
19927 rename to name of element
19928 * check/elements/identity.c: (chain_func), (event_func),
19929 (setup_identity), (cleanup_identity), (GST_START_TEST),
19930 (identity_suite), (main):
19931 add a test for identity
19932 * check/Makefile.am:
19933 * pkgconfig/Makefile.am:
19934 * pkgconfig/gstreamer-check.pc.in:
19935 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19936 * gst/check:
19937 * gst/Makefile.am:
19938 * configure.ac:
19939 move the check stuff to a library that gets installed
19940 * check/gst-libs/controller.c: (GST_START_TEST):
19941 * check/gst-libs/gdp.c:
19942 * check/gst/gst.c: (GST_START_TEST):
19943 * check/gst/gstbin.c:
19944 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19945 * check/gst/gstbus.c:
19946 * check/gst/gstcaps.c: (GST_START_TEST):
19947 * check/gst/gstelement.c:
19948 * check/gst/gstghostpad.c:
19949 * check/gst/gstiterator.c:
19950 * check/gst/gstmessage.c:
19951 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19952 * check/gst/gstobject.c:
19953 * check/gst/gstpad.c: (GST_START_TEST):
19954 * check/gst/gststructure.c: (GST_START_TEST):
19955 * check/gst/gstsystemclock.c: (GST_START_TEST),
19956 (gst_systemclock_suite):
19957 * check/gst/gsttag.c: (gst_tag_suite):
19958 * check/gst/gstvalue.c:
19959 * check/pipelines/cleanup.c:
19960 * check/pipelines/simple_launch_lines.c:
19961 * check/states/sinks.c:
19962 change include statement
19964 * docs/gst/gstreamer-sections.txt:
19965 * docs/gst/tmpl/gstpad.sgml:
19966 document more pad stuff
19967 * gst/gstminiobject.c: (gst_mini_object_ref),
19968 (gst_mini_object_unref):
19969 debug refcounting
19971 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19973 * docs/gst/tmpl/gst.sgml:
19974 * gst/gst.c:
19975 eliminate another tmpl file, fix spelling in the long-description
19977 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19979 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19980 (test_event), (timediff), (gstevents_suite):
19981 Should fix build on 64-bit arch's
19983 2005-08-18 Andy Wingo <wingo@pobox.com>
19985 Make sure that when a pipeline goes to PLAYING, that data has
19986 actually hit the sink.
19988 * check/states/sinks.c (test_sink): A sink that doesn't get any
19989 data shouldn't return SUCCESS for going to either PLAYING or
19990 PAUSED. Test also the return values on the way back down.
19992 * gst/gstelement.c (gst_element_set_state): When changing the
19993 state of an element currently changing state asynchronously, go to
19994 lost-state after commiting the pending state. Makes future calls
19995 to get_state continue to return ASYNC.
19997 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19998 ASYNC when going to PLAYING if we still don't have preroll, as can
19999 happen with live sources.
20001 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20003 * docs/pwg/advanced-types.xml:
20004 Hack long paragraph into 2 chunks as a workaround for buggy
20005 jadetex version in sid and breezy that loops infinitely and
20006 eats all RAM.
20008 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20010 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20011 (test_event), (timediff), (gstevents_suite):
20012 Provide more error margin in clock measurements to allow for
20013 g_get_current_time inaccuracies.
20015 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20017 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20018 (test_event), (timediff), (gstevents_suite):
20019 Fix error message output so I might be able to tell why the
20020 test works here but fails on the build farm.
20022 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20024 * check/Makefile.am:
20025 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20026 (test_event), (timediff), (gstevents_suite), (main):
20027 I wrote a test!
20029 * docs/design/part-seeking.txt:
20030 Spelling correction
20032 * docs/gst/tmpl/gstevent.sgml:
20033 * docs/gst/tmpl/gstfakesrc.sgml:
20034 Docs updates.
20036 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20037 Treat a buffer-without-newsegment the same as a receiving
20038 a newsegment not in time format, and disable syncing to the clock
20039 with a warning.
20041 * gst/gstbus.c: (gst_bus_set_sync_handler):
20042 Assert if anyone tries to replace the existing sync_handler for bus,
20043 as only the owner should be setting it.
20045 * gst/gstevent.h:
20046 Have a fixed set of custom event enums with events identified by
20047 their structure name (as in 0.8), rather than a free-for-all
20048 allowing collisions between enum values from different plugins.
20050 * gst/gstpad.c: (gst_pad_class_init):
20051 Docs change.
20053 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20054 Handle out-of-band downstream events from the sending thread.
20056 2005-08-17 Andy Wingo <wingo@pobox.com>
20058 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20059 play-timeout==0 to mean no timeout at all. In that case, don't
20060 bother with a get_state or a warning, just return directly, even
20061 if it's ASYNC.
20063 * gst/base/gstbasetransform.c: Debug changes.
20065 * gst/gstutils.h:
20066 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20067 ensure bins post state change messages. A bit of a hack but I can't
20068 think of a way to avoid it.
20070 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20072 2005-08-16 Andy Wingo <wingo@pobox.com>
20074 * gst/base/gstadapter.h:
20075 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20076 peek() but you own the data. Not terribly efficient atm.
20078 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20080 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20081 (gst_element_found_tags):
20082 * gst/gstutils.h:
20083 Add two utility functions for tag handling.
20085 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20087 * docs/manual/advanced-dataaccess.xml:
20088 * docs/manual/basics-helloworld.xml:
20089 Fix docs to use _bin_add() before _link(), which fixes the examples
20090 with recent core versions (reported by Madhan Raj M
20091 <raj_madan@rediffmail.com>, #313199).
20093 2005-08-16 Wim Taymans <wim@fluendo.com>
20095 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20096 Added subtract checks.
20098 * docs/design/part-events.txt:
20099 Some more docs about newsegment
20101 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20102 Fix FIXME
20104 * gst/gstcaps.c: (gst_caps_to_string):
20105 Add comments, cleanups.
20107 * gst/gstelement.c: (gst_element_save_thyself):
20108 cleanups
20110 * gst/gstvalue.c: (gst_value_collect_int_range),
20111 (gst_string_unwrap), (gst_value_union_int_int_range),
20112 (gst_value_union_int_range_int_range),
20113 (gst_value_intersect_int_int_range),
20114 (gst_value_intersect_int_range_int_range),
20115 (gst_value_intersect_double_double_range),
20116 (gst_value_intersect_double_range_double_range),
20117 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20118 (gst_value_subtract_int_range_int),
20119 (gst_value_subtract_double_range_double),
20120 (gst_value_subtract_double_range_double_range),
20121 (gst_value_subtract_from_list), (gst_value_subtract_list),
20122 (gst_value_can_compare), (gst_value_compare_fraction):
20123 Cleanups, add comments, remove unneeded asserts.
20125 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20127 * tools/gst-launch.c: (event_loop):
20128 don't convert NULL structures to strings
20130 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20132 * docs/gst/gstreamer-sections.txt:
20133 made some defines private
20134 * docs/gst/tmpl/gstconfig.sgml:
20135 * docs/gst/tmpl/gstqueue.sgml:
20136 * docs/gst/tmpl/gsttaglist.sgml:
20137 * docs/gst/tmpl/gsttypes.sgml:
20138 * docs/gst/tmpl/gstutils.sgml:
20139 * docs/pwg/appendix-porting.xml:
20140 * gst/base/gstbasesink.h:
20141 * gst/base/gstbasesrc.c:
20142 * gst/base/gstbasesrc.h:
20143 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20144 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20145 * gst/gstelement.c: (gst_element_class_init):
20146 * gst/gstpad.c: (gst_pad_class_init):
20147 * gst/gstqueue.c: (gst_queue_class_init):
20148 * gst/gstxml.c: (gst_xml_class_init):
20149 documented all undocumented signal inline
20150 * libs/gst/controller/gst-controller.h:
20151 added padding
20153 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20155 * docs/pwg/appendix-porting.xml:
20156 Document _set_link_function -> _set_setcaps_function.
20158 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20160 * check/Makefile.am:
20161 add a .check target for running the check
20162 * check/gst-libs/controller.c: (GST_START_TEST):
20163 cosmetic fixups
20164 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20165 complete checks for gstbuffer; would be nice if I could get the
20166 gcov stuff to work so I can see if I actually completed gstbuffer.c
20167 * check/gstcheck.h:
20168 add ASSERT_BUFFER_REFCOUNT
20170 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20172 * docs/gst/gstreamer-sections.txt:
20173 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20174 * gst/gsttag.h:
20175 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20176 spew out a warning if a tag that is already registered
20177 is re-registered, unless it is re-registered with a
20178 different type (#308438).
20180 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20182 * docs/pwg/appendix-porting.xml:
20183 * docs/pwg/building-state.xml:
20184 Add some paragraphs about state changes in 0.9 to the PWG
20185 and the porting guide, in particular about the new meaning
20186 of GST_STATE_PAUSED and how to write state change functions
20187 with concurrent access by multiple threads in mind.
20189 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20191 * docs/gst/gstreamer-docs.sgml:
20192 * docs/libs/gstreamer-libs-docs.sgml:
20193 added deprecation and since indexes
20194 * libs/gst/controller/gst-controller.c:
20195 * libs/gst/controller/gst-helper.c:
20196 added since tags
20199 2005-08-11 Wim Taymans <wim@fluendo.com>
20201 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20202 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20203 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20204 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20205 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20206 (gst_ghost_pad_set_target):
20207 Actually implement (re)setting the target on a ghostpad
20208 as described in the docs.
20210 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20212 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20213 Check whether GST_DEBUG_NO_COLOR environment variable is
20214 set and disable coloured debug output if that is the case.
20216 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20218 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20219 (gst_type_find_helper):
20220 The memory returned by gst_type_find_peek() needs to
20221 stay valid until the end of a typefind function, and
20222 typefind functions may keep results from different
20223 offsets around, so we can't just unref the buffer from
20224 the previous _peek(), but have to save all buffers
20225 returned by _peek() until typefinding is done and only
20226 free them then.
20228 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20230 * docs/gst/gstreamer-sections.txt:
20231 * gst/gstutils.h:
20232 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20234 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20236 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20237 Fix a pretty good memleak.
20239 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20241 * gst/gstiterator.h:
20242 Fix wrong include and 'make distcheck'.
20244 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20246 * gst/gstbin.c: (bin_bus_handler):
20247 Use gst_element_post_message() instead.
20249 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20251 * gst/base/gstadapter.h:
20252 * gst/base/gstbasesink.h:
20253 * gst/base/gstbasesrc.h:
20254 * gst/base/gstbasetransform.h:
20255 * gst/base/gstcollectpads.h:
20256 * gst/base/gstpushsrc.h:
20257 * gst/gstiterator.h:
20258 Add padding to our base elements' class and instance structs and
20259 to GstIterator (you will need to rebuild all plugins and apps!)
20261 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20263 * gst/gstbin.c: (bin_bus_handler):
20264 Make default message forwarding from child->bus to bin->bus
20265 threadsafe and make it not emit warnings if the parent has no bus.
20267 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20269 * gst/gstelement.c: (activate_pads):
20270 On paused->ready, set pad->caps to NULL, as is the documented
20271 behaviour in this state change. Fixes playback of series of
20272 media files when visualization is enabled in Totem.
20274 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20276 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20277 Allow NULL as filter-caps (which means "any").
20279 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20281 * docs/libs/gstreamer-libs-sections.txt:
20282 * libs/gst/controller/gst-controller.c:
20283 * libs/gst/controller/gst-controller.h:
20284 * libs/gst/controller/gst-helper.c:
20285 adding more entries to the docs and fix small doc-bugs
20287 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20289 * docs/gst/gstreamer-docs.sgml:
20290 * docs/gst/gstreamer-sections.txt:
20291 * docs/gst/gstreamer.types:
20292 * docs/gst/tmpl/gstbasesink.sgml:
20293 * docs/gst/tmpl/gstbasesrc.sgml:
20294 * docs/gst/tmpl/gstbasetransform.sgml:
20295 * docs/gst/tmpl/gstfakesrc.sgml:
20296 * gst/base/gstcollectpads.c:
20297 * gst/base/gstcollectpads.h:
20298 * libs/gst/controller/gst-controller.c:
20299 * libs/gst/controller/gst-controller.h:
20300 * libs/gst/controller/gst-helper.c:
20301 * libs/gst/controller/gst-interpolation.c:
20302 * libs/gst/controller/lib.c:
20303 added long/short desc for controller docs
20304 added collectpads base class docs
20305 added correct includes to base-class docs
20307 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20309 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20310 (gst_test_mono_source_set_property),
20311 (gst_test_mono_source_class_init), (GST_START_TEST),
20312 (gst_controller_suite):
20313 * docs/gst/gstreamer-docs.sgml:
20314 * docs/gst/gstreamer-sections.txt:
20315 * docs/gst/gstreamer.types:
20316 * docs/libs/gstreamer-libs-docs.sgml:
20317 * docs/libs/gstreamer-libs-sections.txt:
20318 * gst/base/gstadapter.c:
20319 * libs/gst/controller/gst-controller.c:
20320 (gst_controlled_property_new), (gst_controlled_property_free),
20321 (gst_controller_new_valist),
20322 (gst_controller_remove_properties_valist),
20323 (gst_controller_sink_values), (_gst_controller_finalize):
20324 * libs/gst/controller/gst-controller.h:
20325 * libs/gst/controller/gst-helper.c:
20326 (gst_object_control_properties), (gst_object_uncontrol_properties),
20327 (gst_object_get_controller), (gst_object_set_controller),
20328 (gst_object_sink_values), (gst_object_get_value_arrays),
20329 (gst_object_get_value_array):
20330 more tests (and fixes) for the controller
20331 more docs for the controller
20332 integrated companies docs for the adapter
20334 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20336 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20337 (GST_START_TEST), (fakesrc_suite):
20338 add tests for sizetype
20340 2005-08-04 Andy Wingo <wingo@pobox.com>
20342 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20343 fixes buffer_alloc proxying among other things.
20345 * gst/base/gstbasetransform.c:
20346 * gst/base/gstbasetransform.h:
20347 Revert patch to gstbasetransform from 7-28 removing
20348 delay_configure.
20350 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20351 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20352 Semantics changed, should return not the size of the output buffer
20353 but the byte size of a buffer with a given caps.
20355 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20356 debug object.
20357 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20358 out) are not the pad caps until setcaps finishes.
20359 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20360 not-in-place case as well. Deal with changing from in-place to
20361 not-in-place within calling pad_alloc_buffer. Still a bit
20362 concerned about the overhead here...
20364 2005-08-03 Andy Wingo <wingo@pobox.com>
20366 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20367 fixating is an error.
20369 2005-08-04 Edward Hervey <edward@fluendo.com>
20371 * gst/base/gstadapter.h:
20372 Added gst_adapter_get_type() to the header
20374 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20376 * check/Makefile.am:
20377 * check/gst-libs/controller.c:
20378 * libs/gst/controller/gst-controller.c:
20379 (gst_controller_new_valist):
20380 added check test suite for the controller
20381 * gst/base/gstpushsrc.c:
20382 fixed a doc typo
20384 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20386 * docs/gst/Makefile.am:
20387 * docs/gst/gstreamer-docs.sgml:
20388 * docs/gst/gstreamer-sections.txt:
20389 * docs/gst/gstreamer.types:
20390 * docs/gst/tmpl/gstfakesrc.sgml:
20391 * gst/base/README:
20392 * gst/base/gstbasesink.c:
20393 * gst/base/gstbasesink.h:
20394 * gst/base/gstbasesrc.c:
20395 * gst/base/gstbasesrc.h:
20396 * gst/base/gstbasetransform.c:
20397 * gst/base/gstpushsrc.c:
20398 * gst/base/gstpushsrc.h:
20399 add short/long description docs to base classes
20400 add pushsrc to the docs
20401 remove consolidated doc fragments
20403 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20405 * configure.ac:
20406 * docs/libs/Makefile.am:
20407 * docs/libs/gstreamer-libs-docs.sgml:
20408 * docs/libs/gstreamer-libs-sections.txt:
20409 * docs/libs/gstreamer-libs.types:
20410 * examples/Makefile.am:
20411 * examples/controller/.cvsignore:
20412 * examples/controller/Makefile.am:
20413 * examples/controller/audio-example.c: (main):
20414 * libs/gst/Makefile.am:
20415 * libs/gst/controller/.cvsignore:
20416 * libs/gst/controller/Makefile.am:
20417 * libs/gst/controller/gst-controller.c:
20418 (on_object_controlled_property_changed), (gst_timed_value_compare),
20419 (gst_timed_value_find),
20420 (gst_controlled_property_set_interpolation_mode),
20421 (gst_controlled_property_new), (gst_controlled_property_free),
20422 (gst_controller_find_controlled_property),
20423 (gst_controller_new_valist), (gst_controller_new),
20424 (gst_controller_remove_properties_valist),
20425 (gst_controller_remove_properties), (gst_controller_set),
20426 (gst_controller_set_from_list), (gst_controller_unset),
20427 (gst_controller_get), (gst_controller_get_all),
20428 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20429 (gst_controller_get_value_array),
20430 (gst_controller_set_interpolation_mode),
20431 (_gst_controller_finalize), (_gst_controller_init),
20432 (_gst_controller_class_init), (gst_controller_get_type):
20433 * libs/gst/controller/gst-controller.h:
20434 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20435 (g_object_uncontrol_properties), (g_object_get_controller),
20436 (g_object_set_controller), (g_object_sink_values),
20437 (g_object_get_value_arrays), (g_object_get_value_array):
20438 * libs/gst/controller/gst-interpolation.c:
20439 (gst_controlled_property_find_timed_value_node),
20440 (interpolate_none_get), (interpolate_trigger_get),
20441 (interpolate_trigger_get_value_array):
20442 * libs/gst/controller/lib.c: (gst_controller_init):
20443 * pkgconfig/Makefile.am:
20444 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20445 * pkgconfig/gstreamer-control.pc.in:
20446 * testsuite/Makefile.am:
20447 * testsuite/controller/.cvsignore:
20448 * testsuite/controller/Makefile.am:
20449 * testsuite/controller/interpolator.c: (main):
20450 added controller code
20451 removed dparam pc files
20453 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20454 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20455 (gst_collectpads_stop):
20456 Broadcast the condition when shutting down, to make sure we wake all
20457 threads up. Shut down pads on finalize, for safety.
20459 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20460 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20461 (gst_base_transform_handle_buffer),
20462 (gst_base_transform_change_state):
20463 Handle PAUSED->READY->PAUSED transition after negotiation
20464 occurred already.
20465 * gst/gstmessage.c: (gst_message_init):
20466 Extra piece of debug for new messages.
20468 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20470 * configure.ac:
20471 * docs/gst/tmpl/gstbasesrc.sgml:
20472 * docs/gst/tmpl/gstelement.sgml:
20473 * docs/gst/tmpl/gstevent.sgml:
20474 * docs/gst/tmpl/gstfakesrc.sgml:
20475 * docs/gst/tmpl/gstformat.sgml:
20476 * docs/gst/tmpl/gstghostpad.sgml:
20477 * docs/gst/tmpl/gstpad.sgml:
20478 * docs/gst/tmpl/gstquery.sgml:
20479 * docs/gst/tmpl/gststructure.sgml:
20480 * docs/gst/tmpl/gsttaglist.sgml:
20481 * docs/gst/tmpl/gstvalue.sgml:
20482 * docs/libs/gstreamer-libs-docs.sgml:
20483 * docs/libs/gstreamer-libs-sections.txt:
20484 * docs/libs/gstreamer-libs.types:
20485 * libs/gst/Makefile.am:
20486 * libs/gst/control/.cvsignore:
20487 * libs/gst/control/Makefile.am:
20488 * libs/gst/control/control.c:
20489 * libs/gst/control/control.h:
20490 * libs/gst/control/dparam.c:
20491 * libs/gst/control/dparam.h:
20492 * libs/gst/control/dparam_smooth.c:
20493 * libs/gst/control/dparam_smooth.h:
20494 * libs/gst/control/dparamcommon.h:
20495 * libs/gst/control/dparammanager.c:
20496 * libs/gst/control/dparammanager.h:
20497 * libs/gst/control/dplinearinterp.c:
20498 * libs/gst/control/dplinearinterp.h:
20499 * libs/gst/control/unitconvert.c:
20500 * libs/gst/control/unitconvert.h:
20501 * testsuite/Makefile.am:
20502 * testsuite/dynparams/.cvsignore:
20503 * testsuite/dynparams/Makefile.am:
20504 * testsuite/dynparams/dparamstest.c:
20505 * tools/Makefile.am:
20506 * tools/gst-inspect.c: (print_element_info), (main):
20507 * tools/gst-xmlinspect.c: (print_element_info), (main):
20508 deactivate and remove dparams (libgstcontrol)
20510 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20512 * gst/elements/gsttypefindelement.c:
20513 (gst_type_find_element_have_type), (gst_type_find_element_init),
20514 (stop_typefinding), (gst_type_find_element_handle_event),
20515 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20516 * gst/elements/gsttypefindelement.h:
20517 Set caps on all outgoing buffers, not just the first one.
20519 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20521 * gst/elements/gsttypefindelement.c:
20522 (gst_type_find_element_have_type),
20523 (gst_type_find_element_check_set_buffer_caps),
20524 (gst_type_find_element_init), (stop_typefinding),
20525 (gst_type_find_element_handle_event),
20526 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20527 * gst/elements/gsttypefindelement.h:
20528 Set caps on first outgoing buffer when we've found the type.
20530 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20532 * docs/gst/gstreamer-docs.sgml:
20533 * docs/gst/gstreamer-sections.txt:
20534 * docs/gst/tmpl/gstscheduler.sgml:
20535 * docs/gst/tmpl/gstschedulerfactory.sgml:
20536 Remove some old cruft from docs.
20538 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20540 * gst/gstpad.h:
20541 Fix inline docs for GstPadLinkReturn.
20543 * gst/gststructure.c: (gst_structure_has_name):
20544 * gst/gststructure.h:
20545 * docs/gst/gstreamer-sections.txt:
20546 New API: gst_structure_has_name().
20548 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20550 * configure.ac:
20551 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20552 and _LARGEFILE_SOURCE in config.h as required. Do not
20553 export those flags in our .pc files any longer (#142209).
20555 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20557 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20558 (gst_file_sink_do_seek), (gst_file_sink_event),
20559 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20560 Redo seek/tell calls with large file support in mind; add some
20561 debugging messages; add log message that tells us when large
20562 file support is unavailable or not enabled for some reason.
20564 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20565 Add log message that tells us when large file support
20566 is unavailable or not enabled for some reason.
20568 2005-07-29 Wim Taymans <wim@fluendo.com>
20570 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20571 Added test for removing an element with ghostpad from a bin.
20572 Fixed test as current implementation does the right thing.
20574 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20575 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20576 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20577 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20578 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20579 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20580 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20581 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20582 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20583 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20584 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20585 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20586 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20587 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20588 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20589 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20590 * gst/gstghostpad.h:
20591 Clean up ghostpads, remove properties for internal stuff.
20592 Make threadsafe.
20593 Fix refcounting.
20594 Prepare for switching targets, not all use cases work yet.
20596 2005-07-29 Wim Taymans <wim@fluendo.com>
20598 * docs/design/part-gstghostpad.txt:
20599 Small update.
20601 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20602 (gst_bin_remove_func):
20603 Unlinking pads while holding the bin LOCK is not a good
20604 idea.
20606 * gst/gstpad.c: (gst_pad_class_init),
20607 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20608 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20609 No prob setting template after creating the pad.
20611 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20613 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20614 (gst_bus_peek), (gst_bus_source_dispatch),
20615 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20616 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20617 gst_bus_poll may be called from other threads. Handle
20618 this nicely by not making poll_data disappear off the
20619 stack once gst_bus_poll returns.
20620 gst_bus_peek now increments the refcount on the returned
20621 message.
20623 2005-07-29 Wim Taymans <wim@fluendo.com>
20625 * docs/design/part-gstghostpad.txt:
20626 Overview of current GhostPad datastructures and use
20627 cases for changing the target.
20629 2005-07-28 Wim Taymans <wim@fluendo.com>
20631 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20632 Added checks for hierarchy consistency whan adding linked
20633 elements to bins.
20635 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20636 Added check to test element scheduling without bin/pipeline.
20638 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20639 First add elements to bin, then link.
20641 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20642 (gst_bin_remove_func):
20643 Unlink pads from elements added/removed from bin to maintain
20644 hierarchy consistency.
20646 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20648 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20649 (gst_base_transform_handle_buffer):
20650 * gst/base/gstbasetransform.h:
20651 Remove broken delay_configure (fixes renegotiation of software
20652 scaling pipelines); remove some leftover printf()s.
20654 2005-07-28 Wim Taymans <wim@fluendo.com>
20656 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20657 Added some more tests for wrong hierarchy
20659 * docs/design/part-overview.txt:
20660 Some updates.
20662 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20663 Cleanups.
20665 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20666 (gst_element_dispose):
20667 Some more cleanups.
20669 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20670 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20671 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20672 (gst_pad_set_caps), (gst_pad_send_event):
20673 Check for correct hierarchy when linking pads. Moving to
20674 strict requirement for ghostpads when linking elements in
20675 different bins.
20677 * gst/gstpad.h:
20678 Clean ups. Added WRONG_HIERARCHY return value.
20680 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20682 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20683 Better debug if no transform is possible.
20685 2005-07-27 Wim Taymans <wim@fluendo.com>
20687 * docs/random/wtay/network-transp:
20688 Some old doc I had.
20690 2005-07-27 Wim Taymans <wim@fluendo.com>
20692 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20693 (gst_dp_event_from_packet):
20694 Fix serialization of seek events.
20696 2005-07-27 Wim Taymans <wim@fluendo.com>
20698 * check/gst-libs/gdp.c: (GST_START_TEST):
20699 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20700 Fix compilation and fix event serialization.
20702 2005-07-27 Wim Taymans <wim@fluendo.com>
20704 * CHANGES-0.9:
20705 * docs/design/part-TODO.txt:
20706 * docs/design/part-events.txt:
20707 Some docs updates
20709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20710 (gst_base_sink_event), (gst_base_sink_do_sync),
20711 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20712 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20713 (gst_base_src_do_seek), (gst_base_src_event_handler),
20714 (gst_base_src_loop):
20715 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20716 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20717 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20718 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20719 (gst_base_transform_set_passthrough),
20720 (gst_base_transform_is_passthrough):
20721 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20722 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20723 Event updates.
20725 * gst/gstbuffer.h:
20726 Use faster casts.
20728 * gst/gstelement.c: (gst_element_seek):
20729 * gst/gstelement.h:
20730 Update gst_element_seek.
20732 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20733 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20734 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20735 (gst_event_new_eos), (gst_event_new_newsegment),
20736 (gst_event_parse_newsegment), (gst_event_new_tag),
20737 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20738 (gst_event_parse_qos), (gst_event_new_seek),
20739 (gst_event_parse_seek), (gst_event_new_navigation):
20740 * gst/gstevent.h:
20741 Make GstEvent use GstStructure. Add parsing code, make sure the
20742 API is sufficiently generic.
20743 Mark possible directions of events and serialization.
20745 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20746 (_gst_message_copy), (gst_message_new_segment_start),
20747 (gst_message_new_segment_done), (gst_message_new_custom),
20748 (gst_message_parse_segment_start),
20749 (gst_message_parse_segment_done):
20750 Small cleanups.
20752 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20753 (gst_pad_set_caps), (gst_pad_send_event):
20754 Update for new events.
20755 Catch events sent in wrong directions.
20757 * gst/gstqueue.c: (gst_queue_link_src),
20758 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20759 (gst_queue_handle_src_query):
20760 Event updates.
20762 * gst/gsttag.c:
20763 * gst/gsttag.h:
20764 Remove event code from this file.
20766 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20767 (gst_dp_event_from_packet):
20768 Event updates.
20770 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20772 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20773 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20774 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20775 Make debugging actually useful.
20777 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20779 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20780 (gst_pad_fixate_caps):
20781 Implement default fixation once again, so that gst_pad_fixate()
20782 actually does anything at all. This probably needs to be some
20783 sort of a last resort, and use profile-based fixation first, but
20784 since that doesn't exist yet, this is the best we have. Fixes
20785 visualization in Totem.
20787 2005-07-22 Wim Taymans <wim@fluendo.com>
20789 * docs/design/part-events.txt:
20790 Small update.
20792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20793 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20794 (gst_base_sink_activate_pull):
20795 Some more comments.
20797 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20798 (gst_fake_src_create):
20799 Fix handoff marshall.
20801 * gst/elements/gstidentity.c: (gst_identity_class_init),
20802 (gst_identity_transform_ip):
20803 We're a real inplace element.
20805 * gst/gstbus.c: (gst_bus_post):
20806 Added some comments.
20808 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20809 * tests/muxing/case1.c: (main):
20810 * tests/sched/dynamic-pipeline.c: (main):
20811 * tests/sched/interrupt1.c: (main):
20812 * tests/sched/interrupt2.c: (main):
20813 * tests/sched/interrupt3.c: (main):
20814 * tests/sched/runxml.c: (main):
20815 * tests/sched/sched-stress.c: (main):
20816 * tests/seeking/seeking1.c: (event_received), (main):
20817 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20818 (main):
20819 * tests/threadstate/threadstate3.c: (main):
20820 * tests/threadstate/threadstate4.c: (main):
20821 * tests/threadstate/threadstate5.c: (main):
20822 Fix the tests.
20824 2005-07-21 Wim Taymans <wim@fluendo.com>
20826 * docs/design/part-seeking.txt:
20827 Some small additions.
20829 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20830 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20831 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20832 * gst/base/gstbasesink.h:
20833 discont values are gint64, handle the math correctly.
20835 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20836 Make the basesrc report error if the source pad is not linked.
20838 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20839 (gst_queue_loop), (gst_queue_handle_src_query),
20840 (gst_queue_src_activate_push):
20841 Make queue collect data even if the srcpad is not linked.
20842 Start pushing out data as soon as it is linked.
20844 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20845 * gst/gstutils.h:
20846 Added gst_flow_get_name() to ease error reporting.
20848 2005-07-20 Wim Taymans <wim@fluendo.com>
20850 * gst/gstmessage.c: (gst_message_new_segment_start),
20851 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20852 (gst_message_parse_segment_done):
20853 * gst/gstmessage.h:
20854 Added a bunch of messages for advanced seeking.
20856 * gst/parse/grammar.y:
20857 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20858 (gst_dpman_state_changed):
20859 Fix some new-pad -> pad-added signals
20861 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20863 * docs/manual/appendix-porting.xml:
20864 * docs/pwg/appendix-porting.xml:
20865 Document new-pad/state-change signal renames and the FixedList
20866 type rename.
20868 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20870 * docs/manual/advanced-autoplugging.xml:
20871 * docs/manual/basics-helloworld.xml:
20872 * docs/manual/basics-pads.xml:
20873 * docs/random/ds/0.9-suggested-changes:
20874 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20875 * gst/gstelement.h:
20876 * gst/gstevent.h:
20877 * gst/gstformat.h:
20878 * gst/gstquery.h:
20879 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20880 (gst_structure_parse_array), (gst_structure_parse_value):
20881 * gst/gstvalue.c: (gst_type_is_fixed),
20882 (gst_value_list_prepend_value), (gst_value_list_append_value),
20883 (gst_value_list_get_size), (gst_value_list_get_value),
20884 (gst_value_transform_array_string), (gst_value_serialize_array),
20885 (gst_value_deserialize_array), (gst_value_intersect_array),
20886 (gst_value_is_fixed), (_gst_value_initialize):
20887 * gst/gstvalue.h:
20888 GstElement::new-pad -> pad-added, GstElement::state-change ->
20889 state-changed, GstValueFixedList -> GstValueArray, add format and
20890 flags as their own arguments in gst_element_seek() (should improve
20891 "bindeability"), remove function generators since they don't work
20892 under a whole bunch of compilers (they were deprecated already
20893 anyway).
20895 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20897 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20898 (_gst_debug_register_funcptr):
20899 * gst/gstinfo.h:
20900 Fix illegal cast on some platforms (#309253).
20902 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20904 * gst/gstmessage.c: (gst_message_new_custom):
20905 * gst/gstmessage.h:
20906 Add _new_custom, make _new_application a macro to _new_custom.
20908 2005-07-20 Wim Taymans <wim@fluendo.com>
20910 * gst/base/gstbasesrc.c: (gst_base_src_init),
20911 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20912 * gst/base/gstbasesrc.h:
20913 Add a gboolean to decide when to push out a discont.
20915 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20916 (gst_queue_loop), (gst_queue_handle_src_query),
20917 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20918 (gst_queue_set_property), (gst_queue_get_property):
20919 Some cleanups.
20921 * tests/threadstate/threadstate1.c: (main):
20922 Make a thread test compile and run... very silly..
20925 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20927 * docs/manual/appendix-porting.xml:
20928 Mention removal of libgstgconf-0.9.la and existence of gconf
20929 elements.
20931 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20933 * docs/pwg/advanced-clock.xml:
20934 * docs/pwg/appendix-porting.xml:
20935 * docs/pwg/intro-preface.xml:
20936 * docs/pwg/other-base.xml:
20937 * docs/pwg/other-manager.xml:
20938 * docs/pwg/other-nton.xml:
20939 * docs/pwg/other-ntoone.xml:
20940 * docs/pwg/other-oneton.xml:
20941 * docs/pwg/pwg.xml:
20942 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20943 demuxer), remove n-to-n (was never written), fix some code examples
20944 and links and update the porting section to include all this.
20946 2005-07-19 Wim Taymans <wim@fluendo.com>
20948 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20949 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20950 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20951 (gst_queue_src_activate_push), (gst_queue_change_state),
20952 (gst_queue_get_property):
20953 * gst/gstqueue.h:
20954 Propagate GstFlowReturn more intelligently upstream and output
20955 an ERROR/EOS when streaming stopped due to fatal error.
20957 2005-07-19 Wim Taymans <wim@fluendo.com>
20959 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20960 Don't block forever for the state change to complete, the
20961 pipeline already did with a sensible timeout.
20963 2005-07-19 Wim Taymans <wim@fluendo.com>
20965 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20966 Make sure we never call the create function is we
20967 got deactivated.
20969 2005-07-19 Andy Wingo <wingo@pobox.com>
20971 * gst/parse/parse.l: Attempt to solve bug #172815.
20973 2005-07-19 Wim Taymans <wim@fluendo.com>
20975 * docs/design/part-clocks.txt:
20976 * docs/design/part-events.txt:
20977 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20978 Small docs updates.
20979 Only update the seeking values when we are not
20980 busy streaming.
20982 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20984 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20985 Oops, ignore the result of gst_pad_push_event here.
20987 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20989 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20990 (gst_base_src_activate_push):
20991 Send discont event from the loop function, as pads
20992 aren't activated yet in the activate_push handler.
20994 * gst/gstbin.c: (bin_bus_handler):
20995 Don't leak element name.
20997 2005-07-18 Andy Wingo <wingo@pobox.com>
20999 * configure.ac: Use AS_LIBTOOL_TAGS.
21001 2005-07-18 Wim Taymans <wim@fluendo.com>
21003 * docs/gst/gstreamer.types:
21004 Remove deleted types.
21006 2005-07-18 Wim Taymans <wim@fluendo.com>
21008 * check/elements/gstfakesrc.c: (GST_START_TEST):
21009 * configure.ac:
21010 * gst/Makefile.am:
21011 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21012 (init_popt_callback):
21013 * gst/gst.h:
21014 * gst/gst_private.h:
21015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21016 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21017 * gst/gstbin.h:
21018 * gst/gstbus.h:
21019 * gst/gstconfig.h.in:
21020 * gst/gstelement.c: (gst_element_class_init),
21021 (gst_element_set_base_time), (gst_element_get_base_time),
21022 (iterator_fold_with_resync), (gst_element_change_state),
21023 (gst_element_dispose), (gst_element_get_bus):
21024 * gst/gstelement.h:
21025 * gst/gstelementfactory.h:
21026 * gst/gsterror.c: (_gst_core_errors_init):
21027 * gst/gsterror.h:
21028 * gst/gstevent.h:
21029 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21030 * gst/gstindex.c:
21031 * gst/gstinfo.c: (_gst_debug_init):
21032 * gst/gstmessage.c: (_gst_message_copy):
21033 * gst/gstmessage.h:
21034 * gst/gstminiobject.h:
21035 * gst/gstobject.c:
21036 * gst/gstobject.h:
21037 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21038 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21039 * gst/gstpad.h:
21040 * gst/gstparse.h:
21041 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21042 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21043 (gst_pipeline_get_last_stream_time):
21044 * gst/gstpipeline.h:
21045 * gst/gstpluginfeature.h:
21046 * gst/gstquery.h:
21047 * gst/gstscheduler.c:
21048 * gst/gstscheduler.h:
21049 * gst/gststructure.h:
21050 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21051 (gst_task_finalize), (gst_task_func), (gst_task_create),
21052 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21053 (gst_task_stop), (gst_task_pause):
21054 * gst/gsttask.h:
21055 * gst/gsttypefind.h:
21056 * gst/gsttypes.h:
21057 * gst/registries/gstlibxmlregistry.c: (load_feature),
21058 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21059 * gst/registries/gstxmlregistry.c:
21060 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21061 * gst/schedulers/threadscheduler.c:
21062 * libs/gst/control/dparammanager.h:
21063 * tools/gst-inspect.c: (print_element_list),
21064 (print_plugin_features), (print_element_features):
21065 * tools/gst-xmlinspect.c: (print_element_list),
21066 (print_plugin_info), (main):
21067 Removed plugable schedulers.
21068 Removed Scheduler/Manager from elements.
21069 Removed gsttypes.h, rearranged includes.
21070 Removed dependency pad<->element, element<>pipeline, and
21071 various others, fix includes.
21072 implement gst_pad_get_parent() with gst_object_get_parent()
21073 Make GstTask sefcontained.
21074 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21075 timeout.
21076 Fix endless loop in iterator_fold_with_resync.
21079 2005-07-18 Wim Taymans <wim@fluendo.com>
21081 * gst/Makefile.am:
21082 * gst/gstarch.h:
21083 Remove old file.
21085 2005-07-18 Wim Taymans <wim@fluendo.com>
21087 * gst/Makefile.am:
21088 No more cothreads.h
21090 2005-07-18 Wim Taymans <wim@fluendo.com>
21092 * gst/cothreads.c:
21093 * gst/cothreads.h:
21094 Let's remove these.
21096 2005-07-18 Wim Taymans <wim@fluendo.com>
21098 * docs/design/part-dynamic.txt:
21099 * docs/design/part-events.txt:
21100 * docs/design/part-seeking.txt:
21101 Some more docs in the works.
21103 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21104 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21105 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21106 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21107 (gst_base_transform_handle_buffer),
21108 (gst_base_transform_sink_activate_push),
21109 (gst_base_transform_src_activate_pull),
21110 (gst_base_transform_set_passthrough),
21111 (gst_base_transform_is_passthrough):
21112 Refcounting fixes.
21114 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21115 Cleanups.
21117 * gst/gstevent.c: (gst_event_finalize):
21118 Set SRC to NULL.
21120 * gst/gstutils.c: (gst_element_unlink),
21121 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21122 (gst_pad_proxy_setcaps):
21123 * gst/gstutils.h:
21124 Add _get_parent_element() to get a pads parent as an element.
21126 2005-07-18 Wim Taymans <wim@fluendo.com>
21128 * check/gst/gstbin.c: (GST_START_TEST):
21129 Remove bogus test.
21131 2005-07-18 Wim Taymans <wim@fluendo.com>
21133 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21134 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21135 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21136 (gst_base_sink_event), (gst_base_sink_do_sync),
21137 (gst_base_sink_chain), (gst_base_sink_loop),
21138 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21139 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21140 Refcounting fixes.
21141 Fix logic for returning ASYNC when not prerolled.
21143 2005-07-18 Wim Taymans <wim@fluendo.com>
21145 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21146 Fix nasty refcount bug.
21148 2005-07-16 Philippe Khalaf <burger@speedy.org>
21150 * gst/elements/gstfdsrc.c:
21151 * gst/elements/gstfdsrc.h:
21152 * gst/elements/gstelements.c:
21153 * gst/elements/Makefile.am:
21154 Ported fdsrc to 0.9.
21156 2005-07-16 Wim Taymans <wim@fluendo.com>
21158 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21159 (gst_base_sink_do_sync):
21160 Fix compile error.
21162 2005-07-16 Wim Taymans <wim@fluendo.com>
21164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21165 (gst_base_sink_event), (gst_base_sink_get_times),
21166 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21167 * gst/base/gstbasesink.h:
21168 Store and use discont values when syncing buffers as described
21169 in design docs.
21171 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21172 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21173 (gst_base_src_activate_push):
21174 Push discont event when starting.
21176 * gst/elements/gstidentity.c: (gst_identity_transform):
21177 Small cleanups.
21179 * gst/gstbin.c: (gst_bin_change_state):
21180 Small cleanups in base_time distribution.
21182 * gst/gstelement.c: (gst_element_set_base_time),
21183 (gst_element_get_base_time), (gst_element_change_state):
21184 * gst/gstelement.h:
21185 Added methods for the base_time of the element.
21186 Some MT fixes.
21188 * gst/gstpipeline.c: (gst_pipeline_send_event),
21189 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21190 (gst_pipeline_get_last_stream_time):
21191 * gst/gstpipeline.h:
21192 MT fixes.
21193 Handle seeking as described in design doc, remove stream_time
21194 hack.
21195 Cleanups clock and stream_time selection code. Added accessors
21196 for the stream_time.
21199 2005-07-16 Andy Wingo <wingo@pobox.com>
21201 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21202 (#305291).
21204 2005-07-16 Wim Taymans <wim@fluendo.com>
21206 * check/gst/gstbin.c: (GST_START_TEST):
21207 Make elements silent as the deep_notify refs the
21208 parent, which might make the test fail.
21210 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21211 Don't hold the lock for too long.
21213 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21215 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21216 Don't unref the caps we passed to gst_caps_make_writable() after
21217 passing them. gst_caps_make_writable() will do that for us.
21219 2005-07-15 Andy Wingo <wingo@pobox.com>
21221 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21222 (#157311).
21224 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21225 own marshalling function for the handoff signal. Properly type the
21226 buffer as a buffer. Fixes some warnings. Should do a more general
21227 solution.
21228 (gst_identity_class_init): Plug into the right marshaller.
21230 2005-07-15 Wim Taymans <wim@fluendo.com>
21232 * docs/design/part-TODO.txt:
21233 * docs/design/part-clocks.txt:
21234 * docs/design/part-element-sink.txt:
21235 * docs/design/part-events.txt:
21236 * docs/design/part-gstpipeline.txt:
21237 Updated docs, mostly DISCONT related.
21239 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21241 * docs/pwg/building-pads.xml:
21242 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21244 2005-07-15 Andy Wingo <wingo@pobox.com>
21246 * tools/gst-typefind.c: Update, add copyright block.
21248 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21249 Normalize and truncate caps before fixation.
21251 * gst/gstcaps.h:
21252 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21253 discards all but the first structure from its argument.
21255 2005-07-15 Wim Taymans <wim@fluendo.com>
21257 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21258 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21259 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21260 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21261 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21262 (gst_base_transform_chain), (gst_base_transform_change_state),
21263 (gst_base_transform_set_passthrough),
21264 (gst_base_transform_is_passthrough):
21265 * gst/base/gstbasetransform.h:
21266 Make passthrough work using the bufferpools.
21267 Changed API a bit, subclasses have to write into a buffer
21268 provided by the base class.
21269 More debug info in nego functions.
21271 * gst/elements/gstidentity.c: (gst_identity_init),
21272 (gst_identity_transform):
21273 Port to new base class.
21275 2005-07-15 Wim Taymans <wim@fluendo.com>
21277 * gst/gstmessage.c: (gst_message_new_state_changed):
21278 * tools/gst-launch.c: (event_loop), (main):
21279 Totally dump messages in -launch with the -m option.
21280 Fix message name for State messages,
21282 2005-07-14 Wim Taymans <wim@fluendo.com>
21284 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21285 Post error messages on errors.
21287 2005-07-14 Wim Taymans <wim@fluendo.com>
21289 * gst/gstcaps.c: (gst_caps_do_simplify):
21290 Remove debug info.
21292 * gst/gsterror.h:
21293 Define error for stream stopped.
21295 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21296 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21297 Do proper return values.
21299 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21300 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21301 (gst_pad_get_range):
21302 Better return values.
21304 * gst/gstpad.h:
21305 Reorganise return values, add macro to check for fatal errors.
21307 * gst/gstqueue.c: (gst_queue_chain):
21308 Return proper GstFlowReturn values,
21310 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21312 * docs/gst/gstreamer-sections.txt:
21313 * docs/gst/gstreamer.types:
21314 * docs/gst/tmpl/gst.sgml:
21315 * docs/gst/tmpl/gstbasesink.sgml:
21316 * docs/gst/tmpl/gstbasesrc.sgml:
21317 * docs/gst/tmpl/gstbasetransform.sgml:
21318 * docs/gst/tmpl/gstbin.sgml:
21319 * docs/gst/tmpl/gstbuffer.sgml:
21320 * docs/gst/tmpl/gstcaps.sgml:
21321 * docs/gst/tmpl/gstclock.sgml:
21322 * docs/gst/tmpl/gstcompat.sgml:
21323 * docs/gst/tmpl/gstconfig.sgml:
21324 * docs/gst/tmpl/gstelement.sgml:
21325 * docs/gst/tmpl/gstelementdetails.sgml:
21326 * docs/gst/tmpl/gstelementfactory.sgml:
21327 * docs/gst/tmpl/gstenumtypes.sgml:
21328 * docs/gst/tmpl/gsterror.sgml:
21329 * docs/gst/tmpl/gstevent.sgml:
21330 * docs/gst/tmpl/gstfakesink.sgml:
21331 * docs/gst/tmpl/gstfakesrc.sgml:
21332 * docs/gst/tmpl/gstfilesink.sgml:
21333 * docs/gst/tmpl/gstfilesrc.sgml:
21334 * docs/gst/tmpl/gstfilter.sgml:
21335 * docs/gst/tmpl/gstformat.sgml:
21336 * docs/gst/tmpl/gstghostpad.sgml:
21337 * docs/gst/tmpl/gstimplementsinterface.sgml:
21338 * docs/gst/tmpl/gstindex.sgml:
21339 * docs/gst/tmpl/gstindexfactory.sgml:
21340 * docs/gst/tmpl/gstinfo.sgml:
21341 * docs/gst/tmpl/gstiterator.sgml:
21342 * docs/gst/tmpl/gstmacros.sgml:
21343 * docs/gst/tmpl/gstmemchunk.sgml:
21344 * docs/gst/tmpl/gstminiobject.sgml:
21345 * docs/gst/tmpl/gstobject.sgml:
21346 * docs/gst/tmpl/gstpad.sgml:
21347 * docs/gst/tmpl/gstpadtemplate.sgml:
21348 * docs/gst/tmpl/gstparse.sgml:
21349 * docs/gst/tmpl/gstpipeline.sgml:
21350 * docs/gst/tmpl/gstplugin.sgml:
21351 * docs/gst/tmpl/gstpluginfeature.sgml:
21352 * docs/gst/tmpl/gstquery.sgml:
21353 * docs/gst/tmpl/gstqueue.sgml:
21354 * docs/gst/tmpl/gstregistry.sgml:
21355 * docs/gst/tmpl/gstregistrypool.sgml:
21356 * docs/gst/tmpl/gstscheduler.sgml:
21357 * docs/gst/tmpl/gstschedulerfactory.sgml:
21358 * docs/gst/tmpl/gststructure.sgml:
21359 * docs/gst/tmpl/gstsystemclock.sgml:
21360 * docs/gst/tmpl/gsttaglist.sgml:
21361 * docs/gst/tmpl/gsttagsetter.sgml:
21362 * docs/gst/tmpl/gsttrace.sgml:
21363 * docs/gst/tmpl/gsttrashstack.sgml:
21364 * docs/gst/tmpl/gsttypefind.sgml:
21365 * docs/gst/tmpl/gsttypefindfactory.sgml:
21366 * docs/gst/tmpl/gsttypes.sgml:
21367 * docs/gst/tmpl/gsturihandler.sgml:
21368 * docs/gst/tmpl/gsturitype.sgml:
21369 * docs/gst/tmpl/gstutils.sgml:
21370 * docs/gst/tmpl/gstvalue.sgml:
21371 * docs/gst/tmpl/gstversion.sgml:
21372 * docs/gst/tmpl/gstxml.sgml:
21373 * docs/libs/tmpl/gstcontrol.sgml:
21374 * docs/libs/tmpl/gstdataprotocol.sgml:
21375 * docs/libs/tmpl/gstdparam.sgml:
21376 * docs/libs/tmpl/gstdplinint.sgml:
21377 * docs/libs/tmpl/gstdpman.sgml:
21378 * docs/libs/tmpl/gstdpsmooth.sgml:
21379 * docs/libs/tmpl/gstgetbits.sgml:
21380 * docs/libs/tmpl/gstunitconvert.sgml:
21381 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21382 (gst_push_src_base_init), (gst_push_src_class_init),
21383 (gst_push_src_init), (gst_push_src_create):
21384 * gst/base/gstpushsrc.h:
21385 * gst/elements/gstelements.c:
21386 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21387 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21388 (gst_fake_sink_init), (gst_fake_sink_set_property),
21389 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21390 (gst_fake_sink_event), (gst_fake_sink_preroll),
21391 (gst_fake_sink_render), (gst_fake_sink_change_state):
21392 * gst/elements/gstfakesink.h:
21393 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21394 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21395 (gst_fake_src_base_init), (gst_fake_src_class_init),
21396 (gst_fake_src_init), (gst_fake_src_event_handler),
21397 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21398 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21399 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21400 (gst_fake_src_create_buffer), (gst_fake_src_create),
21401 (gst_fake_src_start), (gst_fake_src_stop):
21402 * gst/elements/gstfakesrc.h:
21403 * gst/elements/gstfilesink.c: (_do_init),
21404 (gst_file_sink_base_init), (gst_file_sink_class_init),
21405 (gst_file_sink_init), (gst_file_sink_dispose),
21406 (gst_file_sink_set_location), (gst_file_sink_set_property),
21407 (gst_file_sink_get_property), (gst_file_sink_open_file),
21408 (gst_file_sink_close_file), (gst_file_sink_query),
21409 (gst_file_sink_event), (gst_file_sink_render),
21410 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21411 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21412 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21413 * gst/elements/gstfilesink.h:
21414 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21415 (gst_file_src_class_init), (gst_file_src_init),
21416 (gst_file_src_finalize), (gst_file_src_set_location),
21417 (gst_file_src_set_property), (gst_file_src_get_property),
21418 (gst_file_src_map_region), (gst_file_src_map_small_region),
21419 (gst_file_src_create_mmap), (gst_file_src_create_read),
21420 (gst_file_src_create), (gst_file_src_is_seekable),
21421 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21422 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21423 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21424 (gst_file_src_uri_handler_init):
21425 * gst/elements/gstfilesrc.h:
21426 more autistic cleanliness in functions/names/defines
21428 2005-07-13 Andy Wingo <wingo@pobox.com>
21430 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21431 source couldn't negotiate.
21433 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21434 connections again.
21436 * gst/gstutils.h:
21437 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21438 function. I am channeling Hades. Put your boots on suckers!!!
21440 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21442 * testsuite/caps/Makefile.am:
21443 * testsuite/caps/value_compare.c:
21444 * testsuite/caps/value_intersect.c:
21445 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21446 move two testsuite apps over to the check dir
21448 2005-07-12 Wim Taymans <wim@fluendo.com>
21450 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21451 Added more debug info in the negotiate process.
21453 * gst/gstmessage.h:
21454 Prepare for segment playback.
21456 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21457 Better debugging.
21459 * gst/gstutils.c:
21460 Some more docs.
21462 * tools/gst-launch.c: (main):
21463 NULL pipeline on errors.
21465 2005-07-12 Andy Wingo <wingo@pobox.com>
21467 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21468 not it comes from a malloc region. Make sure our copy gets freed.
21470 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21472 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21473 * check/gst/gstmessage.c: (GST_START_TEST):
21474 * check/gst/gststructure.c: (GST_START_TEST),
21475 (gst_structure_suite), (main):
21476 more testing
21477 * gst/gstelement.c: (gst_element_message_full):
21478 clean up GError and debug string now that they get copied
21479 * gst/gstmessage.c: (gst_message_new_error),
21480 (gst_message_new_warning), (gst_message_parse_error),
21481 (gst_message_parse_warning):
21482 use GST_TYPE_G_ERROR for structure_new, and take copies of
21483 arguments, so that we don't mess up refcounting
21485 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21487 * check/Makefile.am:
21488 add per-test valgrind targets
21489 * check/gst-libs/gdp.c: (GST_START_TEST),
21490 (gst_data_protocol_suite), (main):
21491 clean up
21493 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21495 * check/Makefile.am:
21496 instate more valgrindable tests
21497 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21498 (GST_START_TEST), (fakesrc_suite):
21499 * check/gst/gstpad.c: (GST_START_TEST):
21500 * check/gst/gststructure.c: (GST_START_TEST):
21501 fix test leaks
21502 * docs/gst/tmpl/gstminiobject.sgml:
21503 * gst/gstpad.c: (gst_pad_finalize):
21504 fix the static mutex leak
21506 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21508 * check/Makefile.am:
21509 add two more tests for valgrinding
21510 * check/gst/gstvalue.c: (GST_START_TEST):
21511 test refcount of deserialized buffer, found a leak
21512 * docs/gst/gstreamer-docs.sgml:
21513 * docs/gst/gstreamer-sections.txt:
21514 * docs/gst/gstreamer.types:
21515 * docs/gst/tmpl/gstminiobject.sgml:
21516 add miniobject to docs
21517 * gst/gstminiobject.c:
21518 add some docs
21519 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21520 (gst_string_unwrap):
21521 fix a hard-to-find invalid write for one of the tests
21522 fix a leak for deserialized buffers
21524 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21526 * docs/pwg/advanced-events.xml:
21527 * docs/pwg/advanced-request.xml:
21528 * docs/pwg/advanced-scheduling.xml:
21529 * docs/pwg/appendix-porting.xml:
21530 * docs/pwg/building-boiler.xml:
21531 * docs/pwg/intro-preface.xml:
21532 * docs/pwg/other-ntoone.xml:
21533 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21534 of example code and explanation for pad activation, loop() and
21535 getrange() functions and a bit more. Remove old comments pointing
21536 to loop-functions.
21537 * examples/pwg/Makefile.am:
21538 Add loop/getrange examples.
21540 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21542 * configure.ac:
21543 check for valgrind binary + some fixes
21544 * check/gst.supp:
21545 valgrind suppressions for the tests
21546 * check/Makefile.am:
21547 add a valgrind: target that valgrinds the unit tests
21548 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21549 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21550 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21551 * check/gst/gstghostpad.c:
21552 added some cleanup
21553 * check/gst/gstdata.c:
21554 removed
21555 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21556 (thread_unref), (gst_mini_object_suite), (main):
21557 added
21558 * gst/gst.c: (gst_deinit):
21559 * gst/gst.h:
21560 add a method to clean up.
21561 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21562 (gst_system_clock_obtain):
21563 allow for disposing the system clock.
21564 * tools/gst-launch.c: (main):
21565 deinit
21567 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21569 * docs/gst/tmpl/gstbasesrc.sgml:
21570 * docs/gst/tmpl/gstfakesrc.sgml:
21571 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21572 (gst_base_src_init), (gst_base_src_set_property),
21573 (gst_base_src_get_property), (gst_base_src_get_range),
21574 (gst_base_src_start):
21575 * gst/base/gstbasesrc.h:
21576 add num-buffers property
21577 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21578 (gst_fakesrc_init), (gst_fakesrc_set_property),
21579 (gst_fakesrc_get_property), (gst_fakesrc_create),
21580 (gst_fakesrc_start):
21581 remove num-buffers property
21583 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21585 * docs/gst/gstreamer-sections.txt:
21586 * docs/gst/tmpl/gstbasesink.sgml:
21587 * docs/gst/tmpl/gstbasesrc.sgml:
21588 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21589 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21590 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21591 (gst_base_sink_set_property), (gst_base_sink_get_property),
21592 (gst_base_sink_handle_object), (gst_base_sink_event),
21593 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21594 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21595 (gst_base_sink_loop), (gst_base_sink_deactivate),
21596 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21597 (gst_base_sink_change_state):
21598 * gst/base/gstbasesink.h:
21599 * gst/base/gstbasesrc.h:
21600 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21601 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21602 (gst_filesink_init):
21603 more macro splitting
21605 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21607 * gst/gstelement.c: (gst_element_get_bus):
21608 add debug
21609 * tools/gst-launch.c: (check_intr), (event_loop):
21610 fix bus leaks
21612 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21614 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21615 fix a caps leak
21617 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21619 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21620 (gst_base_src_finalize):
21621 add finalize method and clean up properly
21622 * gst/gstpipeline.c: (gst_pipeline_dispose):
21623 add debug
21625 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21627 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21628 (gst_bin_suite):
21629 add more things to check
21630 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21631 * gst/gstelement.c:
21632 more debug
21634 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21636 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21637 (GST_START_TEST), (fakesrc_suite):
21638 * check/gst-libs/gdp.c: (GST_START_TEST):
21639 * check/gst/gst.c: (GST_START_TEST):
21640 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21641 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21642 * check/gst/gstbus.c: (GST_START_TEST):
21643 * check/gst/gstcaps.c: (GST_START_TEST):
21644 * check/gst/gstdata.c: (GST_START_TEST):
21645 * check/gst/gstelement.c: (GST_START_TEST):
21646 * check/gst/gstghostpad.c: (GST_START_TEST):
21647 * check/gst/gstiterator.c: (GST_START_TEST):
21648 * check/gst/gstmessage.c: (GST_START_TEST):
21649 * check/gst/gstobject.c: (GST_START_TEST):
21650 * check/gst/gstpad.c: (GST_START_TEST):
21651 * check/gst/gststructure.c: (GST_START_TEST):
21652 * check/gst/gstsystemclock.c: (GST_START_TEST),
21653 (gst_systemclock_suite):
21654 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21655 * check/gst/gstvalue.c: (GST_START_TEST):
21656 * check/pipelines/cleanup.c: (GST_START_TEST):
21657 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21658 * check/states/sinks.c: (GST_START_TEST):
21659 * check/gstcheck.c: (gst_check_init):
21660 * check/gstcheck.h:
21661 add debugging category
21662 use GST_START_TEST now, so we add a debug line
21664 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21666 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21667 add test for state change message on a bin
21668 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21669 add another test
21670 * gst/gstbin.c: (gst_bin_init):
21671 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21672 * gst/gstelement.c: (gst_element_post_message),
21673 (gst_element_set_state):
21674 * gst/gstelementfactory.c: (gst_element_factory_create):
21675 * gst/gstmessage.c: (gst_message_new):
21676 * gst/gstscheduler.c:
21677 various debugging additions and cleanups
21679 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21681 * check/Makefile.am:
21682 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21683 (main):
21684 adding tests for elements
21685 * gst/gstelement.c: (gst_element_dispose):
21687 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21689 * gst/registries/gstlibxmlregistry.c: (load_feature):
21690 plug more leaks. A simple gst_init() now is leakfree, yay.
21692 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21694 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21695 (gst_xml_registry_load):
21696 plug another memleak
21698 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21700 * configure.ac:
21701 use GST_SET_ERROR_CFLAGS
21702 * docs/faq/cvs.xml:
21703 change to ERROR_CFLAGS
21705 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21707 * configure.ac:
21708 make GST_ERROR_CFLAGS overridable and re-enable Werror
21709 * docs/faq/cvs.xml:
21710 add a note about error CFLAGS
21711 * docs/gst/tmpl/gstfakesrc.sgml:
21712 * gst/elements/gstfakesrc.c:
21713 comment out some unused code
21714 * gst/gst.c: (split_and_iterate):
21715 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21716 (load_feature):
21717 plug some memleaks
21719 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21721 * common/Makefile.am:
21722 * common/gtk-doc.mak:
21723 * docs/gst/Makefile.am:
21724 factor out gtk-doc.mak
21726 2005-07-07 Wim Taymans <wim@fluendo.com>
21728 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21729 (gst_thread_scheduler_dispose):
21730 Unlock the STREAM_LOCK completely.
21732 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21734 * check/Makefile.am:
21735 * check/elements/.cvsignore:
21736 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21737 (START_TEST), (fakesrc_suite), (main):
21738 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21739 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21740 (gst_fakesrc_create), (gst_fakesrc_start):
21741 * gst/elements/gstfakesrc.h:
21742 adding a first element test
21744 2005-07-07 Andy Wingo <wingo@pobox.com>
21746 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21747 debug message.
21749 2005-07-07 Wim Taymans <wim@fluendo.com>
21751 * gst/gstquery.c:
21752 * gst/gstquery.h:
21753 Remove old types
21755 2005-07-07 Wim Taymans <wim@fluendo.com>
21757 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21758 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21759 Allow subclasses to implement their own negotiation.
21761 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21763 * docs/design/part-gstbin.txt:
21764 * docs/design/part-gstpipeline.txt:
21765 Update design notes to reflect the movement of
21766 responsibility for bus handling from GstPipeline to
21767 GstBin
21769 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21771 * configure.ac:
21772 Remove unnecessary queue2/3/4 examples.
21774 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21776 * examples/Makefile.am:
21777 * examples/helloworld/helloworld.c: (event_loop), (main):
21778 * examples/queue/queue.c: (event_loop), (main):
21779 * examples/queue2/queue2.c: (main):
21780 Update a couple of the examples to work again.
21782 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21783 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21784 Spelling corrections and extra debug.
21786 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21787 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21788 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21789 * gst/gstbin.h:
21790 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21791 (gst_pipeline_change_state):
21792 * gst/gstpipeline.h:
21793 Move the bus handler for children to the GstBin, and create a
21794 separate bus for receiving messages from children to the one the
21795 bus sends 'upwards' on.
21797 2005-07-06 Wim Taymans <wim@fluendo.com>
21799 * gst/base/README:
21800 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21801 (gst_base_sink_handle_object), (gst_base_sink_loop),
21802 (gst_base_sink_change_state):
21803 * gst/base/gstbasesink.h:
21804 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21805 (gst_base_src_init), (gst_base_src_setcaps),
21806 (gst_base_src_getcaps), (gst_base_src_loop),
21807 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21808 (gst_base_src_start), (gst_base_src_change_state):
21809 * gst/base/gstbasesrc.h:
21810 Make basesrc negotiate.
21811 Handle the case where preroll fails in basesink.
21812 Update README.
21814 2005-07-06 Wim Taymans <wim@fluendo.com>
21816 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21817 Implement the fixate function.
21818 Clean up acceptcaps.
21820 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21822 * docs/pwg/building-filterfactory.xml:
21823 * docs/pwg/pwg.xml:
21824 Remove never-written filter-factory chapter; I'll add the various
21825 base classes to part 4 ("other element types") later on.
21827 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21829 * docs/pwg/advanced-negotiation.xml:
21830 * docs/pwg/building-boiler.xml:
21831 * docs/pwg/building-pads.xml:
21832 * docs/pwg/pwg.xml:
21833 * examples/pwg/Makefile.am:
21834 Add a chapter on caps negotiation, simplify the original code
21835 samples a bit w.r.t. caps negotiation, add link to the advanced
21836 section. Add a bunch of examples showing different use cases of
21837 different types of caps negotiation. Upstream renegotiation isn't
21838 fully documented yet since nobody knows how that works.
21840 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21842 * check/gst/gstpad.c:
21843 * check/gstcheck.c:
21844 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21845 if pad has no parent, return NULL as list of internal links
21847 2005-07-05 Andy Wingo <wingo@pobox.com>
21849 * gst/elements/gstfilesrc.c:
21850 * gst/elements/gstfakesrc.c:
21851 * gst/base/gstpushsrc.c:
21852 * gst/base/gstbasesrc.h:
21853 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21855 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21857 * Makefile.am:
21858 better report generation target (lcov needs a patch)
21860 2005-07-05 Andy Wingo <wingo@pobox.com>
21862 * gst/elements, testsuite: Null if we got it...
21864 2005-07-05 Wim Taymans <wim@fluendo.com>
21866 * configure.ac:
21867 * libs/gst/dataprotocol/Makefile.am:
21868 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21869 * libs/gst/dataprotocol/dataprotocol.h:
21870 * pkgconfig/Makefile.am:
21871 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21872 * pkgconfig/gstreamer-dataprotocol.pc.in:
21873 Ported dataprotol to 0.9.
21874 Added pkgconfig files.
21876 2005-07-05 Andy Wingo <wingo@pobox.com>
21878 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21879 Default to returning TRUE for the case when tranform_caps returns
21880 a fixed caps, like for identity or volume.
21882 * check/gst/gstbus.c (pound_bus_with_messages):
21883 * check/gst/gstmessage.c (START_TEST):
21884 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21885 message API change.
21887 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21888 logic weaks here: always run transform_caps, trying passthrough
21889 operation only if the original caps intersects with the transform.
21891 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21892 source and sink caps.
21894 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21895 Intersect the peer caps with the pad template before going into
21896 transform_caps.
21897 (gst_base_transform_transform_caps): More debugging.
21899 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21900 src argument.
21902 2005-07-04 Edward Hervey <edward@fluendo.com>
21904 * gst/gstutils.c:
21905 * gst/gstutils.h:
21906 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21907 in bindings.
21909 2005-07-04 Andy Wingo <wingo@pobox.com>
21911 * check/gst/gstpad.c: Only set explicit caps on pads.
21913 2005-07-01 Andy Wingo <wingo@pobox.com>
21915 * tests/network-clock.scm: Commentary update.
21917 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21918 Didn't really make sense, not implementable with basetransform,
21919 etc.
21920 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21921 attempt at implementing the sync property, needs an unlock method.
21923 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21924 New func, by default returns the same caps (the identity
21925 transformation).
21926 (gst_base_transform_getcaps): Uses transform_caps to return
21927 something sensible.
21928 (gst_base_transform_setcaps): Complicated logic to get caps on
21929 both pads, even if they are different, and to call set_caps once
21930 for every time both pads get their caps set.
21931 (gst_base_transform_handle_buffer): Give the ref to the transform
21932 function. Allows in-place modification of the buffer.
21934 * gst/base/gstbasetransform.h (transform_caps): New class method.
21935 Given caps on one side, what can I do on the other.
21936 (set_caps): Take two caps, one for each side of the element.
21938 * gst/gstpad.h:
21939 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21940 caps in place. This is safe because we can check the mutability of
21941 the caps, and a good idea because fixate functions are just called
21942 as a matter of last resort. (Not actually implemented.)
21943 (gst_pad_set_caps): If the caps we're setting is actually the same
21944 as the existing pad caps, just update the pointer without calling
21945 setcaps. Assert that caps is either NULL or fixed, as per the
21946 docs.
21948 * gst/gstghostpad.c: Update for fixate changes.
21950 2005-07-02 Andy Wingo <wingo@pobox.com>
21952 * gst/gstcaps.c:
21953 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21954 two refcounts makes it immutable, which is enough. Doc more.
21956 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21958 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21959 Put the mini_object into GValue as a mini_object,
21960 not a gpointer, since that's how we declared
21961 the signal.
21963 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21965 * examples/pwg/Makefile.am:
21966 Fix buildbot again.
21968 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21970 * docs/pwg/building-testapp.xml:
21971 Add extra check.
21972 * examples/pwg/Makefile.am:
21973 Fix buildbot.
21975 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21977 * configure.ac:
21978 * examples/Makefile.am:
21979 * examples/pwg/Makefile.am:
21980 * examples/pwg/extract.pl:
21981 Enable building the PWG examples.
21982 * docs/pwg/advanced-interfaces.xml:
21983 Add URI interface stub.
21984 * docs/pwg/advanced-types.xml:
21985 * docs/pwg/other-autoplugger.xml:
21986 * docs/pwg/appendix-porting.xml:
21987 * docs/pwg/pwg.xml:
21988 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21989 * docs/pwg/building-boiler.xml:
21990 * docs/pwg/building-chainfn.xml:
21991 * docs/pwg/building-pads.xml:
21992 * docs/pwg/building-props.xml:
21993 * docs/pwg/building-state.xml:
21994 * docs/pwg/building-testapp.xml:
21995 Update the building-*.xml parts for 0.9 changes. All examples
21996 code blocks compile in examples/pwg/*.
21998 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22000 * docs/manual/advanced-autoplugging.xml:
22001 * docs/manual/appendix-checklist.xml:
22002 * docs/manual/appendix-integration.xml:
22003 * docs/manual/highlevel-components.xml:
22004 Fix playbin/decodebin examples, update docs a bit, mention bus
22005 instead of signals in various places, mention kmplayer and
22006 kaffeine since they have a working GStreamer backend in the KDE
22007 section.
22009 2005-06-30 Wim Taymans <wim@fluendo.com>
22011 * CHANGES-0.9:
22012 * docs/design/draft-ghostpads.txt:
22013 * docs/design/draft-push-pull.txt:
22014 * docs/design/draft-query.txt:
22015 * docs/design/part-TODO.txt:
22016 * docs/design/part-query.txt:
22017 Added CHANGES-0.9 doc, updated status of other docs.
22019 * gst/gstquery.h:
22020 Remove "hmm" macro
22022 2005-06-30 Wim Taymans <wim@fluendo.com>
22024 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22025 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22026 (gst_base_sink_change_state):
22027 * gst/base/gstbasesink.h:
22028 Some tweaks, only EOS and a buffer complete a preroll.
22030 2005-06-30 Andy Wingo <wingo@pobox.com>
22032 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22033 activate_push down to the internal pad as well.
22035 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22037 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22039 * gst/gsttaginterface.c:
22040 Some documentation fixes (#307394 and #307397).
22042 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22044 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22046 * gst/gstvalue.c: (gst_value_intersect_list):
22047 Fix memleak (#309125).
22049 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22051 * docs/manual/advanced-dataaccess.xml:
22052 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22053 * docs/manual/basics-pads.xml:
22054 Add reference for filtered caps to above chapter.
22056 2005-06-30 Wim Taymans <wim@fluendo.com>
22058 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22059 (gst_bin_change_state):
22060 Probes are gone.
22061 Lame attempt at making the state change function a bit
22062 more readable.
22064 2005-06-30 Wim Taymans <wim@fluendo.com>
22066 * docs/design/part-clocks.txt:
22067 * docs/design/part-element-sink.txt:
22068 * docs/design/part-events.txt:
22069 * docs/design/part-preroll.txt:
22070 * docs/design/part-states.txt:
22071 Some more tweeks and additions to the docs.
22073 2005-06-30 Wim Taymans <wim@fluendo.com>
22075 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22076 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22077 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22078 (gst_pad_check_pull_range), (gst_pad_get_range),
22079 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22080 * gst/gstpad.h:
22081 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22082 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22083 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22084 (gst_pad_remove_buffer_probe):
22085 Removed atomic operations, use existing LOCK.
22086 Move exception handling out of main code path.
22088 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22090 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22091 (silly_return_true_function), (gst_pad_class_init),
22092 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22093 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22094 (gst_pad_send_event):
22095 Fix accumulator, add default value by using _emitv() instead
22096 of _emit() for signal emission.
22098 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22100 * docs/manual/advanced-dataaccess.xml:
22101 * examples/manual/Makefile.am:
22102 Add probe example.
22103 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22104 Make work (??).
22106 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22108 * gst/elements/gstfilesink.c: (gst_filesink_render):
22109 Simplify code so that we don't have to handle short
22110 writes and return GST_FLOW_ERROR if an error occured.
22112 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22114 * docs/gst/gstreamer-docs.sgml:
22115 Remove probes more.
22117 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22119 * docs/gst/gstreamer-sections.txt:
22120 * docs/gst/tmpl/gstpad.sgml:
22121 * docs/gst/tmpl/gstprobe.sgml:
22122 * gst/Makefile.am:
22123 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22124 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22125 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22126 (gst_pad_push_event), (gst_pad_send_event):
22127 * gst/gstpad.h:
22128 * gst/gstutils.c: (gst_pad_add_data_probe),
22129 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22130 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22131 (gst_pad_remove_buffer_probe):
22132 * gst/gstutils.h:
22133 Remove old probes, add new g-signal-based probes and some utility
22134 functions.
22136 2005-06-29 Edward Hervey <edward@fluendo.com>
22138 * gst/gstelementfactory.c:
22139 * gst/gstutils.h:
22140 * gst/gstutils.c:
22141 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22142 the definition to the header file.
22144 2005-06-29 Andy Wingo <wingo@pobox.com>
22146 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22147 plugins from the source directory.
22149 2005-06-29 Wim Taymans <wim@fluendo.com>
22151 * docs/gst/tmpl/gstbuffer.sgml:
22152 * docs/gst/tmpl/gstclock.sgml:
22153 Some fixings for blantently wrong text.
22155 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22157 * check/Makefile.am:
22158 * gst/gst.c: (add_path_func), (init_pre):
22159 * gst/gstregistry.c: (gst_registry_add_path):
22160 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22161 only scan the GST_PLUGIN_PATH locations, and not add
22162 system locations
22164 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22166 * docs/gst/gstreamer-sections.txt:
22167 * docs/gst/tmpl/gstbasesrc.sgml:
22168 * gst/gstelement.c:
22169 * gst/gstelement.h:
22170 * gst/gstevent.c:
22171 * gst/gstutils.c:
22172 doc fixes
22174 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22176 * docs/manual/advanced-autoplugging.xml:
22177 Fix autoplugging example.
22179 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22181 * docs/manual/advanced-autoplugging.xml:
22182 * docs/manual/mime-world.fig:
22183 Try to get autoplugging working, fix type detection. Fix text
22184 in hello-world image.
22186 2005-06-29 Wim Taymans <wim@fluendo.com>
22188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22189 (gst_base_sink_change_state):
22190 Small debug line.
22192 * gst/gstclock.h:
22193 map SIGNAL and BROADCAST to the right function.
22195 * gst/gstobject.h:
22196 Remove redundant braces.
22198 * gst/gstpad.c: (gst_pad_set_caps):
22199 Don't call setcaps function when reseting caps to NULL.
22201 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22202 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22203 (gst_system_clock_id_unschedule):
22204 Use BROADCAST as this is what we do.
22206 2005-06-29 Wim Taymans <wim@fluendo.com>
22208 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22209 We are actually prerolling before commiting the state
22210 change.
22212 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22214 * docs/manual/advanced-clocks.xml:
22215 * docs/manual/advanced-interfaces.xml:
22216 * docs/manual/advanced-metadata.xml:
22217 * docs/manual/advanced-position.xml:
22218 * docs/manual/advanced-schedulers.xml:
22219 * docs/manual/advanced-threads.xml:
22220 * docs/manual/appendix-porting.xml:
22221 * docs/manual/basics-bins.xml:
22222 * docs/manual/basics-bus.xml:
22223 * docs/manual/basics-elements.xml:
22224 * docs/manual/basics-helloworld.xml:
22225 * docs/manual/basics-pads.xml:
22226 * docs/manual/highlevel-components.xml:
22227 * docs/manual/manual.xml:
22228 * docs/manual/thread.fig:
22229 Update (until threads/scheduling) Application Development Manual;
22230 remove GstThread, add GstBus, add simple porting checklist, add
22231 documentation for tag writing, clocks, make all examples until this
22232 part compile and run.
22233 * examples/manual/Makefile.am:
22234 Update from changes to Application Development Manual; add bus
22235 example, remove thread example.
22237 2005-06-28 Wim Taymans <wim@fluendo.com>
22239 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22240 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22241 (gst_bus_source_dispatch):
22242 Add debugging messages.
22243 Make internal methods static.
22244 Handle the case where the bus is flushed in the handler.
22246 * gst/gstelement.c: (gst_element_get_bus):
22247 Fix refcount in _get_bus();
22249 * gst/gstpipeline.c: (gst_pipeline_change_state),
22250 (gst_pipeline_get_clock_func):
22251 Clock refcounting fixes.
22252 Handle the case where preroll timed out more gracefully.
22254 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22255 Clean up the internal thread in dispose. This is needed
22256 for subclasses that actually get disposed.
22258 * gst/schedulers/threadscheduler.c:
22259 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22260 (gst_thread_scheduler_dispose):
22261 Free thread pool in dispose.
22263 2005-06-28 Andy Wingo <wingo@pobox.com>
22265 * tests/network-clock-utils.scm (debug, print-event): New utils.
22267 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22268 (*packet-loss*): Unified loss probability.
22269 (network-time): Report out-of-band events.
22271 * tests/plot-data: Add support for out-of-band events. Hack it
22272 into this script instead of passing it down the pipe; should fix
22273 this later.
22275 2005-06-28 Wim Taymans <wim@fluendo.com>
22277 * docs/gst/gstreamer.types:
22278 * docs/gst/tmpl/gstbasesrc.sgml:
22279 * docs/gst/tmpl/gstpad.sgml:
22280 Docs fixes.
22282 2005-06-28 Wim Taymans <wim@fluendo.com>
22284 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22285 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22286 (gst_proxy_pad_do_fixatecaps):
22287 Correctly proxy the check_pull_range function.
22289 2005-06-28 Andy Wingo <wingo@pobox.com>
22291 * tests/network-clock.scm: Removed need for slib.
22293 2005-06-28 Wim Taymans <wim@fluendo.com>
22295 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22296 (gst_basesink_preroll_queue_flush):
22297 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22298 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22299 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22300 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22301 (gst_proxy_pad_set_property):
22302 * gst/gstpad.c:
22303 * gst/gstpad.h:
22304 * gst/gstqueue.c: (gst_queue_init):
22305 The deprecated pad loop function is removed now.
22307 2005-06-28 Andy Wingo <wingo@pobox.com>
22309 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22310 New parameters, simulate network packet loss.
22312 * tests/network-clock-utils.scm: Initialize the RNG.
22314 2005-06-28 Wim Taymans <wim@fluendo.com>
22316 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22317 (gst_basesink_event), (gst_basesink_deactivate):
22318 Flushing the preroll queue always needs to unlock the waiters.
22320 2005-06-28 Edward Hervey <edward@fluendo.com>
22322 * gst/gstpipeline.c: (gst_pipeline_send_event):
22323 Wheen a seek was successful on a pipeline, set the stream_time to the
22324 seek offset in order to have a synchronized stream_time.
22326 2005-06-28 Wim Taymans <wim@fluendo.com>
22328 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22329 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22330 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22331 (gst_proxy_pad_do_fixatecaps):
22332 Call wrapper function instead of just calling the function
22333 pointers. This takes care of any locking and whatmore.
22335 2005-06-28 Wim Taymans <wim@fluendo.com>
22337 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22338 (gst_pad_pull_range):
22339 * gst/gstpad.h:
22340 CONNECTED -> LINKED.
22342 2005-06-28 Andy Wingo <wingo@pobox.com>
22344 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22345 source-munging commit!!!
22347 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22348 (gst_object_sink): Take gpointer arguments, not GstObject --
22349 avoids casts. Like GLib.
22351 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22352 activate.
22354 2005-06-27 Andy Wingo <wingo@pobox.com>
22356 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22357 remaining buffer.
22359 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22360 returns a sorted copy of the trace list.
22361 (gst_alloc_trace_print_live): New API, only prints traces with
22362 live objects. Sort the list.
22363 (gst_alloc_trace_print_all): Sort the list.
22364 (gst_alloc_trace_print): Align columns.
22366 * gst/elements/gstttypefindelement.c:
22367 * gst/elements/gsttee.c:
22368 * gst/base/gstbasesrc.c:
22369 * gst/base/gstbasesink.c:
22370 * gst/base/gstbasetransform.c:
22371 * gst/gstqueue.c: Adapt for pad activation changes.
22373 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22374 sched.
22375 (gst_pipeline_dispose): Drop ref on sched.
22377 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22378 (gst_pad_activate_default): Push mode by default.
22379 (pre_activate_switch, post_activate_switch): New stubs, things to
22380 do before and after switching activation modes on pads.
22381 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22382 the pad's activate function to choose which mode to activate.
22383 Shortcut on deactivation and call the right function directly.
22384 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22385 mode.
22386 (gst_pad_activate_push): New API, same for push mode.
22387 (gst_pad_set_activate_function)
22388 (gst_pad_set_activatepull_function)
22389 (gst_pad_set_activatepush_function): Setters for new API.
22391 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22392 Trace all miniobjects.
22393 (gst_mini_object_make_writable): Unref the arg if we copy, like
22394 gst_caps_make_writable.
22396 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22398 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22399 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22400 Adapt for new pad API.
22402 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22404 * gst/gstelement.h:
22405 * gst/gstelement.c (gst_element_iterate_src_pads)
22406 (gst_element_iterate_sink_pads): New API functions.
22408 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22409 should fold into gstiterator.c in some form.
22410 (gst_element_pads_activate): Simplified via use of fold and
22411 delegation of decisions to gstpad->activate.
22413 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22414 help in debugging.
22416 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22417 class once in init, like gstmessage. Didn't run into this issue
22418 but it seems correct. Don't initialize a trace, gstminiobject does
22419 that.
22421 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22422 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22423 to the bus.
22424 (assert_live_count): New util function, uses alloc traces to check
22425 cleanup.
22427 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22428 To be modified when unlink drops the internal pad.
22430 2005-06-27 Wim Taymans <wim@fluendo.com>
22432 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22433 (gst_bin_change_state):
22434 Cleanup the get_state() function a little, make sure it
22435 iterates the same set of elements.
22436 Added stub iterate_state_order().
22438 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22440 * docs/gst/gstreamer-docs.sgml:
22441 * docs/gst/gstreamer-sections.txt:
22442 * docs/gst/gstreamer.types:
22443 * docs/gst/tmpl/gstbasesink.sgml:
22444 * docs/gst/tmpl/gstbasesrc.sgml:
22445 * docs/gst/tmpl/gstbasetransform.sgml:
22446 * docs/gst/tmpl/gstelement.sgml:
22447 * docs/gst/tmpl/gstiterator.sgml:
22448 * gst/base/gstbasesrc.c:
22449 * gst/base/gstbasesrc.h:
22450 * gst/base/gstbasetransform.h:
22451 * gst/gstelement.c:
22452 * gst/gstiterator.h:
22453 adding basetransform and iterator docs
22455 2005-06-27 Andy Wingo <wingo@pobox.com>
22457 * docs/design/part-activation.txt: Notes on how activation should
22458 work -- not quite implemented yet.
22460 2005-06-25 Wim Taymans <wim@fluendo.com>
22462 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22463 At least get the chain function correct, needs more
22464 fixing.
22466 2005-06-25 Wim Taymans <wim@fluendo.com>
22468 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22469 (gst_basesink_handle_object), (gst_basesink_event),
22470 (gst_basesink_do_sync), (gst_basesink_handle_event),
22471 (gst_basesink_change_state):
22472 * gst/gsttask.h:
22473 Right, two problems here: ghostpads don't take locks and
22474 glib _rec_mutex_lock_full() with depth==0 still locks.
22475 Catch illegal locking and g_warn them.
22477 2005-06-25 Wim Taymans <wim@fluendo.com>
22479 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22480 Have to check for completion now...
22482 2005-06-25 Wim Taymans <wim@fluendo.com>
22484 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22485 (gst_basesink_handle_object), (gst_basesink_event),
22486 (gst_basesink_do_sync), (gst_basesink_handle_event),
22487 (gst_basesink_change_state):
22488 * gst/gstpad.h:
22489 Unlock STREAM_LOCK whatever the recursion was.
22491 2005-06-25 Wim Taymans <wim@fluendo.com>
22493 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22494 (gst_basesink_preroll_queue_empty),
22495 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22496 (gst_basesink_event), (gst_basesink_do_sync),
22497 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22498 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22499 (gst_basesink_change_state):
22500 Reworked the base sink, handle event and buffer serialisation
22501 correctly and removed possible deadlock.
22502 Handle EOS correctly.
22504 2005-06-25 Wim Taymans <wim@fluendo.com>
22506 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22507 (gst_pipeline_change_state):
22508 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22509 Allow elements to post EOS in the state change function.
22510 Fix up -launch, make it exit the poll loop when the
22511 pipeline actually changed state.
22512 Fix up warning parsing in -launch.
22514 2005-06-25 Wim Taymans <wim@fluendo.com>
22516 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22517 (gst_tee_sink_activate):
22518 Core takes STREAM_LOCK for us now.
22520 2005-06-25 Wim Taymans <wim@fluendo.com>
22522 * gst/gstelement.c: (gst_element_get_state_func),
22523 (gst_element_set_state):
22524 * gst/gstelement.h:
22525 * gst/gstmessage.c: (gst_message_parse_error),
22526 (gst_message_parse_warning):
22527 Keep track of current target state while performing a state
22528 change so that subclasses can do something interesting.
22529 Fix parsing of warning/error messages when GError is NULL.
22531 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22533 * docs/gst/Makefile.am:
22534 * docs/gst/gstreamer-docs.sgml:
22535 * docs/gst/gstreamer-sections.txt:
22536 * docs/gst/gstreamer.types:
22537 * docs/gst/tmpl/gstbasesink.sgml:
22538 * docs/gst/tmpl/gstbasesrc.sgml:
22539 * docs/gst/tmpl/gstbin.sgml:
22540 * docs/gst/tmpl/gstcompat.sgml:
22541 * docs/gst/tmpl/gstfakesink.sgml:
22542 * docs/gst/tmpl/gstfakesrc.sgml:
22543 * docs/gst/tmpl/gstfilesink.sgml:
22544 * docs/gst/tmpl/gstfilesrc.sgml:
22545 * docs/gst/tmpl/gstindex.sgml:
22546 * docs/manual/appendix-quotes.xml:
22547 * gst/base/gstbasesrc.h:
22548 * gst/elements/gstfakesrc.h:
22549 * gst/gstmessage.h:
22550 start pulling in base classes and elements in our docs
22552 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22554 * docs/gst/Makefile.am:
22555 * docs/libs/Makefile.am:
22556 fixed make distcheck with gtk-doc 1.3
22558 2005-06-23 Wim Taymans <wim@fluendo.com>
22560 * gst/gstelement.c: (gst_element_get_state_func),
22561 (gst_element_set_state), (gst_element_change_state):
22562 When the state did not change, also report NO_PREROLL
22563 when it matters.
22565 2005-06-23 Wim Taymans <wim@fluendo.com>
22567 * gst/gstpad.c: (gst_pad_event_default):
22568 * gst/gstqueue.c: (gst_queue_loop):
22569 No unsafe task pausing please.
22571 2005-06-23 Wim Taymans <wim@fluendo.com>
22573 * gst/schedulers/threadscheduler.c:
22574 (gst_thread_scheduler_task_start),
22575 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22576 Ref the task before pushing it on the threadpool. This
22577 makes sure that we have a ref when the threadfunction is
22578 actually called.
22580 2005-06-23 Andy Wingo <wingo@pobox.com>
22582 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22583 offset is greater than the file's size.
22585 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22586 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22587 * gst/gstobject.c (gst_object_class_init): Make the class lock
22588 recursive. Wim won't let me drop deep_notify. Decodebin works
22589 again, whoopdy doo.
22591 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22592 internal pad, and hacks accordingly. Doesn't do it on the target
22593 pad because we change its caps. Probably catches all cases of
22594 interest tho.
22595 (gst_ghost_pad_set_property): Connect to notify::caps as
22596 appropritate.
22598 * tests/network-clock.scm (plot-simulation): Pipe data to the
22599 elite python skript.
22601 * tests/network-clock-utils.scm (define-parameter): New macro,
22602 defines a parameter that can be set via the command line.
22603 (set-parameter!, parse-parameter-arguments): Command line args
22604 parser.
22606 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22607 stdin.
22609 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22611 * gst/elements/gsttypefindelement.c:
22612 (gst_type_find_element_handle_event):
22613 Don't restart typefinding on a discont.
22614 * gst/gstelement.c: (gst_element_set_state):
22615 Debug spelling fix.
22616 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22617 Allow changing mode of an active pad.
22618 Debug output fixes.
22619 * gst/registries/gstlibxmlregistry.c: (load_feature):
22620 Don't cast a static pad template to a normal pad template.
22622 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22624 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22625 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22626 remove gst_strtoll completely, since it didn't actually do
22627 anything more than what g_ascii_strtoull already does.
22628 check for range errors when deserializing
22629 do a cast for the unsigned cases; but further fixing needs
22630 a decision on what the interpretation of "(int)" and
22631 deserialization should be for values that fall outside the
22632 type's boundaries (ie, refuse, or interpret as casting)
22634 2005-06-23 Wim Taymans <wim@fluendo.com>
22636 * check/Makefile.am:
22637 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22638 * docs/design/part-live-source.txt:
22639 * docs/design/part-states.txt:
22640 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22641 (gst_basesrc_set_live), (gst_basesrc_is_live),
22642 (gst_basesrc_get_range), (gst_basesrc_activate),
22643 (gst_basesrc_change_state):
22644 * gst/base/gstbasesrc.h:
22645 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22646 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22647 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22648 * gst/gstelement.c: (gst_element_get_state_func),
22649 (gst_element_set_state):
22650 * gst/gstelement.h:
22651 * gst/gsttypes.h:
22652 * tools/gst-launch.c: (event_loop), (main):
22653 Added support for live sources and other elements that
22654 cannot do preroll.
22655 Updated design docs, added live-source design doc.
22656 Implemented live source functionality in basesrc
22657 Fix error condition in _bin_get_state()
22658 Implement live source handling in -launch.
22659 Added check for live sources.
22660 Fixed case in GstBin where elements were changed state
22661 multiple times.
22664 2005-06-23 Andy Wingo <wingo@pobox.com>
22666 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22667 borken refcounting.
22669 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22670 gst_caps_replace takes care of this for us.
22672 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22673 gst_pad_set_caps on the target, not just its setcaps() function.
22675 * tests/network-clock.scm:
22676 * tests/network-clock-utils.scm: A network clock simulator.
22677 Something of an algorithmic testbed before doing something in C.
22679 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22681 * check/Makefile.am:
22682 * check/gst/capslist.h:
22683 copy over from 0.8, and add two with bitmasks specified with
22684 (int) 0xFF...
22685 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22686 add test to parse everything from capslist.h
22687 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22688 (main):
22689 add test for structure deserialization
22690 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22691 add tests for deserialization of strings to int types
22692 * gst/gststructure.c: (gst_structure_nth_field_name):
22693 * gst/gststructure.h:
22694 add a way to get the name of a field referenced by index
22695 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22696 instead of checking if the resulting long long lies between
22697 min and max, we check if the long long would fit into
22698 a number of bytes for the final type.
22699 This fixes cases where a string represents 2^32 - 1, which
22700 when cast to int would be the (valid) -1, but is bigger than
22701 G_MAXINT
22703 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22705 * gst/parse/grammar.y:
22706 add a log line for type deserialization
22708 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22710 * check/gst/gstvalue.c: (START_TEST):
22711 * gst/gstvalue.c: (gst_value_deserialize):
22712 return long long, not int, so gint64 deserialization actually
22713 works. Is there any flag that makes the compiler check this ?
22714 Fixes #308559
22716 2005-06-22 Wim Taymans <wim@fluendo.com>
22718 * gst/gstbuffer.h:
22719 Added convenience macros for setting buffers in GValue.
22721 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22723 * check/gst/.cvsignore:
22724 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22725 add a test deserializing int64, and comment part out because
22726 it fails, yay !
22728 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22730 * check/Makefile.am:
22731 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22732 * testsuite/Makefile.am:
22733 * testsuite/caps/Makefile.am:
22734 * testsuite/caps/value_serialize.c:
22735 * testsuite/test_gst_init.c:
22736 move a value_serialize test over
22738 2005-06-20 Wim Taymans <wim@fluendo.com>
22740 * gst/gstpad.c:
22741 Small doc updates.
22743 * gst/gstvalue.c: (gst_value_compare_buffer),
22744 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22745 (gst_value_compare_flags), (gst_value_serialize_flags),
22746 (gst_value_deserialize_flags), (_gst_value_initialize):
22747 Fix serialisation of buffers, they are not boxed types anymore
22749 2005-06-20 Wim Taymans <wim@fluendo.com>
22751 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22752 Testcase to show error in buffer-on-caps serialisation.
22754 2005-06-20 Andy Wingo <wingo@pobox.com>
22756 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22757 will be adding to later.
22759 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22760 if its socks fill with rocks.
22761 (gst_system_clock_obtain): Set the name on object construction.
22762 Avoid double-checked locking.
22764 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22766 * gst/gsturi.c: (gst_element_make_from_uri):
22767 Fix potential endless loop.
22769 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22771 * check/Makefile.am:
22772 add gsttag
22773 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22774 (main):
22775 move over from testsuite dir and clean up
22776 * configure.ac:
22777 * gst/gsttag.c:
22778 * testsuite/Makefile.am:
22779 * testsuite/tags/.cvsignore:
22780 * testsuite/tags/Makefile.am:
22781 * testsuite/tags/merge.c:
22782 remove testsuite/tags
22784 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22786 * docs/gst/gstreamer-sections.txt:
22787 * docs/gst/tmpl/gstenumtypes.sgml:
22788 * win32/gstenumtypes.c:
22789 clean up documentation build a little
22791 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22793 * check/gstcheck.h:
22794 add macros for checking refcounts on objects and caps
22795 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22796 add some more unit tests
22797 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22798 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22799 fix leaked refcounts (I hope :)) so unittest works
22800 * gst/gstpad.h:
22801 whitespace removal
22803 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22805 * configure.ac: back to HEAD
22807 === release 0.9.1 ===
22809 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22811 * NEWS:
22812 * RELEASE:
22813 updated
22815 2005-06-17 Andy Wingo <wingo@pobox.com>
22817 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22818 assert; it's always possible that the pad gets deactivated in
22819 between the checks in gstpad.c and the implementation. Rely on
22820 finish_preroll() to return a FLUSHING or similar instead of on the
22821 assert.
22823 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22824 clock and post an EOS message if we come out of finish_preroll in
22825 the playing state.
22827 2005-06-16 David Schleef <ds@schleef.org>
22829 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22830 (gst_capsfilter_set_property): Allow NULL as possible value
22831 for filter_caps property, indicating GST_CAPS_ANY.
22833 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22835 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22836 fix debug output
22837 * gst/schedulers/Makefile.am:
22838 use libgst prefix
22839 * gstreamer.spec.in:
22840 fix spec for it
22842 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22844 * gstreamer.spec.in:
22845 clean up
22847 2005-06-08 Andy Wingo <wingo@pobox.com>
22849 * gst/gstutils.c: RPAD fixes all around.
22850 (gst_element_link_pads): Refcounting fixes.
22852 * tools/gst-inspect.c:
22853 * tools/gst-xmlinspect.c:
22854 * parse/grammar.y:
22855 * gst/base/gsttypefindhelper.c:
22856 * gst/base/gstbasesink.c:
22857 * gst/gstqueue.c: RPAD fixes.
22859 * gst/gstghostpad.h:
22860 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22861 pads. The tricky thing is they provide both source and sink
22862 interfaces, since they proxy the internal pad for the external
22863 pad, and vice versa. Implement with lower-level ProxyPad objects,
22864 with the interior proxy pad as a child of the exterior ghost pad.
22865 Should write a doc on this.
22867 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22868 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22869 gst_object API.
22871 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22872 pads are real pads. No ghost pads in this file. Not documenting
22873 the myriad s/RPAD/PAD/ and REALIZE fixes.
22874 (gst_pad_class_init): Add properties for "direction" and
22875 "template". Both are construct-only, so they can't change during
22876 the life of the pad. Fixes properly deriving from GstPad.
22877 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22878 derived objects, just set properties when creating the objects via
22879 g_object_new.
22880 (gst_pad_get_parent): Implement as a function, return NULL if the
22881 parent is not an element.
22882 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22883 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22885 * gst/gstobject.c (gst_object_class_init): Make name a construct
22886 property. Don't set it in the object init.
22888 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22889 with UNKNOWN direction.
22890 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22891 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22892 (gst_element_remove_pad): Remove ghost-pad special cases.
22893 (gst_element_pads_activate): Remove rpad cruft.
22895 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22896 catch the pad's-parent-not-an-element case.
22898 * gst/gst.h: Include gstghostpad.h.
22900 * gst/gst.c (init_post): No more real, ghost pads.
22902 * gst/Makefile.am: Add gstghostpad.[ch].
22904 * check/Makefile.am:
22905 * check/gst/gstbin.c:
22906 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22907 into a bin creates ghost pads, and that the refcounts are right.
22908 Partly moved from gstbin.c.
22910 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22912 * check/gst-libs/.cvsignore:
22913 * check/gst/.cvsignore:
22914 * check/pipelines/.cvsignore:
22915 ignore more
22916 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22917 (START_TEST), (cleanup_suite), (main):
22918 add some tests related to cleanup after running pipelines
22920 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22922 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22923 add a testsuite for GstBuffer
22925 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22927 * gst/gstminiobject.h:
22928 add defines for accessing the refcount
22930 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22932 * Makefile.am: added support for html unit test coverage reports
22934 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22936 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22937 Free existing caps if the capsfilter changes. Add a FIXME about
22938 setting those caps on the pads.
22940 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22941 Before adding a ghost pad to a parent bin, check that there isn't
22942 already one for the element on the bin. Prevents infinite recursion
22943 when using decodebin in parse pipelines. Andy says he'll rewrite the
22944 way this works anyway, so ignore the hack.
22946 2005-06-02 Andy Wingo <wingo@pobox.com>
22948 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22949 file size, pass it on to the type find helper.
22951 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22952 segment_start and segment_end properly according to the seek
22953 method. Segment_end is still a bit flaky because offset can be
22954 negative for CUR and END cases, but it takes -1 as an "unset"
22955 value.
22957 2005-06-02 Wim Taymans <wim@fluendo.com>
22959 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22960 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22961 (gst_basesink_activate):
22962 * gst/base/gstbasesink.h:
22963 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22964 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22965 (gst_pad_query), (gst_pad_start_task):
22966 * gst/gstpad.h:
22967 * gst/gstqueue.c: (gst_queue_bufferalloc),
22968 (gst_queue_handle_sink_event), (gst_queue_chain):
22969 Bufferalloc: return GstFlowReturn to more accuratly report
22970 why allocation failed.
22972 2005-06-02 Wim Taymans <wim@fluendo.com>
22974 * gst/gstpipeline.c: (gst_pipeline_send_event):
22975 Take snapshot of state without blocking.
22977 2005-06-02 Wim Taymans <wim@fluendo.com>
22979 * docs/design/part-TODO.txt:
22980 * docs/design/part-caps.txt:
22981 * docs/design/part-clocks.txt:
22982 * docs/design/part-negotiation.txt:
22983 * docs/design/part-preroll.txt:
22984 Small doc updates
22986 2005-05-30 Wim Taymans <wim@fluendo.com>
22988 * gst/elements/gstidentity.c: (gst_identity_event),
22989 (gst_identity_transform), (gst_identity_get_property):
22990 Protect last_message property as it is accessed from
22991 multiple threads.
22993 2005-05-30 Wim Taymans <wim@fluendo.com>
22995 * gst/gstelement.c: (gst_element_init),
22996 (gst_element_pads_activate), (gst_element_change_state):
22997 Slicker pad activation code.
22999 2005-05-30 Wim Taymans <wim@fluendo.com>
23001 * gst/Makefile.am:
23002 * gst/gstelement.h:
23003 * gst/gstelementfactory.h:
23004 * gst/gsttypes.h:
23005 Move elementfactory methods to separate .h file.
23007 2005-05-30 Wim Taymans <wim@fluendo.com>
23009 * docs/design/part-overview.txt:
23010 * gst/gstsystemclock.h:
23011 Small typo fixes, doc updates.
23013 2005-05-30 Wim Taymans <wim@fluendo.com>
23015 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23016 (init_popt_callback):
23017 Remove cpu-opt flag.
23019 2005-05-30 Wim Taymans <wim@fluendo.com>
23021 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23022 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23023 * gst/gstbuffer.h:
23024 Avoid typechecking in places where not needed.
23025 Added accessor for malloc_data.
23027 2005-05-30 Wim Taymans <wim@fluendo.com>
23029 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23030 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23031 (gst_pad_configure_sink), (gst_pad_configure_src),
23032 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23033 (gst_pad_start_task):
23034 Propagate errors from _set_caps() in configure_src/sink
23035 functions instead of returning TRUE.
23036 FLUSH events can travel up and downstream
23039 2005-05-30 Wim Taymans <wim@fluendo.com>
23041 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23042 (gst_basesink_activate):
23043 Handle EOS in preroll.
23045 2005-05-30 Wim Taymans <wim@fluendo.com>
23047 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23048 (gst_queue_loop), (gst_queue_handle_src_event):
23049 Remove old pieces of code
23050 Flushing the queue in an upstream event is a very bad idea.
23052 2005-05-26 Andy Wingo <wingo@pobox.com>
23054 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23055 gst_value_set_mini_object so as to add a ref on the object (which
23056 will be removed when the value is unset).
23058 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23059 arg type in ::handoff.
23061 * gst/gstelement.c (gst_element_change_state): Also deactivate
23062 pads in READY->NULL, just in case the element didn't make it to
23063 PAUSED. Wingo tested, Wim approved.
23065 2005-05-26 Wim Taymans <wim@fluendo.com>
23067 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23068 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23069 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23070 A flushing pad cannot be used to alloc_buffer from.
23072 2005-05-26 Wim Taymans <wim@fluendo.com>
23074 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23075 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23076 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23077 (gst_bus_create_watch), (gst_bus_add_watch_full):
23078 * gst/gstbus.h:
23079 Implement a real GSource and use g_main_context_wakeup() to
23080 signal new messages instead of the socketpair.
23082 2005-05-25 Wim Taymans <wim@fluendo.com>
23084 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23085 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23086 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23087 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23088 (gst_pad_send_event), (gst_pad_start_task):
23089 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23090 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23091 (gst_queue_sink_activate), (gst_queue_src_activate),
23092 (gst_queue_change_state):
23093 * gst/gstqueue.h:
23094 Fix state changes for non sinks. We now change sinks, then elements
23095 with unconnected srcpads, then the rest.
23096 More efficient queue unlocking in flush and state changes.
23097 Set the pad activate mode even if it does not have an activate
23098 function.
23100 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23102 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23103 Don't go in pull mode for non-seekable sources.
23104 * gst/elements/gsttypefindelement.h:
23105 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23106 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23107 (free_entry), (stop_typefinding),
23108 (gst_type_find_element_handle_event), (find_peek),
23109 (gst_type_find_element_chain), (do_pull_typefind),
23110 (gst_type_find_element_change_state):
23111 Allow typefinding (w/o seeking) in push-mode, simplified version
23112 of what was in 0.8.
23113 * gst/gstutils.c: (gst_buffer_join):
23114 * gst/gstutils.h:
23115 gst_buffer_join() from 0.8.
23117 2005-05-25 Wim Taymans <wim@fluendo.com>
23119 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23120 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23121 (gst_pad_send_event), (gst_pad_start_task):
23122 Disable attempt at mode switching until it is figured out.
23124 2005-05-25 Wim Taymans <wim@fluendo.com>
23126 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23127 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23128 (gst_basesink_finish_preroll), (gst_basesink_chain),
23129 (gst_basesink_loop), (gst_basesink_activate),
23130 (gst_basesink_change_state):
23131 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23132 (gst_basesrc_get_range), (gst_basesrc_loop),
23133 (gst_basesrc_activate):
23134 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23135 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23136 (gst_real_pad_init), (gst_real_pad_set_property),
23137 (gst_real_pad_get_property), (gst_pad_set_active),
23138 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23139 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23140 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23141 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23142 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23143 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23144 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23145 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23146 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23147 (gst_pad_stop_task):
23148 * gst/gstpad.h:
23149 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23150 (gst_queue_loop), (gst_queue_src_activate):
23151 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23152 (gst_task_get_state):
23153 * gst/gsttask.h:
23154 * gst/schedulers/threadscheduler.c:
23155 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23156 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23157 in task function.
23158 Remove ACTIVE pad flag, use FLUSHING everywhere
23159 Added _pad_chain(), _pad_get_range() to call chain/getrange
23160 functions.
23161 Add locks around IS_FLUSHING when reading.
23162 Take STREAM lock in chain(), get_range() functions so plugins
23163 don't need to take it anymore.
23167 2005-05-25 Wim Taymans <wim@fluendo.com>
23169 * tools/gst-launch.c: (event_loop):
23170 Unref message after using its contents instead of
23171 before.
23173 2005-05-24 Wim Taymans <wim@fluendo.com>
23175 * docs/design/draft-ghostpads.txt:
23176 * docs/design/draft-push-pull.txt:
23177 * docs/design/draft-query.txt:
23178 * docs/design/part-overview.txt:
23179 Docs updates, added general overview doc.
23181 2005-05-21 David Schleef <ds@schleef.org>
23183 * docs/gst/tmpl/old/GstBin.sgml:
23184 * docs/gst/tmpl/old/GstBuffer.sgml:
23185 * docs/gst/tmpl/old/GstCaps.sgml:
23186 * docs/gst/tmpl/old/GstClock.sgml:
23187 * docs/gst/tmpl/old/GstCompat.sgml:
23188 * docs/gst/tmpl/old/GstData.sgml:
23189 * docs/gst/tmpl/old/GstElement.sgml:
23190 * docs/gst/tmpl/old/GstEvent.sgml:
23191 * docs/gst/tmpl/old/GstIndex.sgml:
23192 * docs/gst/tmpl/old/GstStructure.sgml:
23193 * docs/gst/tmpl/old/GstTag.sgml:
23194 * docs/gst/tmpl/old/cothreads.sgml:
23195 * docs/gst/tmpl/old/cothreads_compat.sgml:
23196 * docs/gst/tmpl/old/gettext.sgml:
23197 * docs/gst/tmpl/old/gobject2gtk.sgml:
23198 * docs/gst/tmpl/old/grammar.tab.sgml:
23199 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23200 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23201 * docs/gst/tmpl/old/gst_private.sgml:
23202 * docs/gst/tmpl/old/gstaggregator.sgml:
23203 * docs/gst/tmpl/old/gstarch.sgml:
23204 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23205 * docs/gst/tmpl/old/gstbufferstore.sgml:
23206 * docs/gst/tmpl/old/gstdata_private.sgml:
23207 * docs/gst/tmpl/old/gstdisksink.sgml:
23208 * docs/gst/tmpl/old/gstdisksrc.sgml:
23209 * docs/gst/tmpl/old/gstelementfactory.sgml:
23210 * docs/gst/tmpl/old/gstextratypes.sgml:
23211 * docs/gst/tmpl/old/gstfakesink.sgml:
23212 * docs/gst/tmpl/old/gstfakesrc.sgml:
23213 * docs/gst/tmpl/old/gstfdsink.sgml:
23214 * docs/gst/tmpl/old/gstfdsrc.sgml:
23215 * docs/gst/tmpl/old/gstfilesink.sgml:
23216 * docs/gst/tmpl/old/gstfilesrc.sgml:
23217 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23218 * docs/gst/tmpl/old/gstidentity.sgml:
23219 * docs/gst/tmpl/old/gstindexfactory.sgml:
23220 * docs/gst/tmpl/old/gstmarshal.sgml:
23221 * docs/gst/tmpl/old/gstmd5sink.sgml:
23222 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23223 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23224 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23225 * docs/gst/tmpl/old/gstpipefilter.sgml:
23226 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23227 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23228 * docs/gst/tmpl/old/gstshaper.sgml:
23229 * docs/gst/tmpl/old/gstspider.sgml:
23230 * docs/gst/tmpl/old/gstspideridentity.sgml:
23231 * docs/gst/tmpl/old/gststatistics.sgml:
23232 * docs/gst/tmpl/old/gsttee.sgml:
23233 * docs/gst/tmpl/old/gsttimecache.sgml:
23234 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23235 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23236 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23237 * docs/gst/tmpl/old/types.sgml:
23238 I didn't intend to add these or check them in.
23240 2005-05-19 David Schleef <ds@schleef.org>
23242 * configure.ac: Use -no-common everywhere. In a sane world, it
23243 would be the default in libtool, because without it, you can't
23244 build DLLs on Windows.
23245 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23246 * docs/gst/gstreamer-sections.txt:
23247 * docs/gst/tmpl/gstcpu.sgml:
23248 * docs/gst/tmpl/gstdata.sgml:
23249 * docs/gst/tmpl/gstthread.sgml:
23251 2005-05-19 David Schleef <ds@schleef.org>
23253 * gst/gstminiobject.c: (gst_value_set_mini_object),
23254 (gst_value_take_mini_object), (gst_value_get_mini_object):
23255 * gst/gstminiobject.h: Add GValue set/get functions.
23257 2005-05-19 Wim Taymans <wim@fluendo.com>
23259 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23260 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23261 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23262 * gst/gstbuffer.h:
23263 * gst/gstbus.c: (gst_bus_post):
23264 * gst/gstelement.c: (gst_element_get_random_pad):
23265 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23266 Make subbufer unref the parent in finalize.
23267 some more debugging info.
23270 2005-05-19 Wim Taymans <wim@fluendo.com>
23272 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23273 (gst_basesink_init), (gst_basesink_finalize),
23274 (gst_basesink_activate), (gst_basesink_change_state):
23275 Don't free preroll queue too early.
23277 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23279 * gst/Makefile.am:
23280 * gst/ROADMAP:
23281 Hi, I'm outdated. Please shoot me.
23283 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23285 * gst/gstpipeline.c: (gst_pipeline_send_event):
23286 Do not access variables after they have been deleted.
23288 2005-05-19 Wim Taymans <wim@fluendo.com>
23290 * tools/gst-inspect.c: (print_plugin_features):
23291 A plugin feature does unfortunatly not use the
23292 object name yet...
23294 2005-05-18 Wim Taymans <wim@fluendo.com>
23296 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23297 Port _span() functions to new subbuffers.
23299 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23301 * gst/gstbin.c: (gst_bin_add_func):
23302 Fix clock settery in bins when adding kids after the clock has
23303 been selected.
23305 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23307 * gst/elements/gstidentity.c: (gst_identity_class_init):
23308 Workaround until signals support GstMiniObject.
23310 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23312 * gst/gstbuffer.c:
23313 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23315 2005-05-18 Wim Taymans <wim@fluendo.com>
23317 * gst/base/Makefile.am:
23318 * gst/base/gstadapter.c: (gst_adapter_base_init),
23319 (gst_adapter_class_init), (gst_adapter_init),
23320 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23321 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23322 (gst_adapter_flush), (gst_adapter_available),
23323 (gst_adapter_available_fast):
23324 * gst/base/gstadapter.h:
23325 Ported and added adapter to the base classes.
23327 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23329 * gst/gst.c:
23330 * gst/gstmessage.c:
23331 Make sure the class is reffed/unreffed once before threads can be
23332 used. Fixes #304551.
23334 2005-05-17 Wim Taymans <wim@fluendo.com>
23336 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23337 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23338 * gst/gstminiobject.c: (gst_mini_object_get_type),
23339 (gst_mini_object_free):
23340 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23341 (gst_pad_push), (gst_pad_push_event):
23342 * gst/gstqueue.c: (gst_queue_change_state):
23343 Don't queue buffers in basesink when we are flushing.
23344 Unref buffer when flushing in basesink.
23345 Flush queue when going to READY
23346 Unref buffer when _push() returns an error.
23347 Don't free MiniObject instance when refcount is incremented
23348 in _finalize() so that we can recover objects.
23350 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23352 * docs/manual/advanced-schedulers.xml:
23353 * docs/manual/appendix-checklist.xml:
23354 * docs/pwg/advanced-clock.xml:
23355 * docs/pwg/advanced-interfaces.xml:
23356 * docs/pwg/advanced-request.xml:
23357 * docs/pwg/advanced-types.xml:
23358 * docs/pwg/intro-preface.xml:
23359 * examples/plugins/example.c: (gst_example_get_type),
23360 (gst_example_class_init), (gst_example_chain),
23361 (gst_example_set_property), (gst_example_get_property),
23362 (gst_example_change_state), (plugin_init):
23363 * examples/plugins/example.h:
23364 small doc fixes
23366 2005-05-17 Wim Taymans <wim@fluendo.com>
23368 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23369 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23370 * gst/gstqueue.c: (gst_queue_change_state):
23371 Clear queue when going to READY.
23372 Remove IN_SETCAPS flag too.
23374 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23376 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23377 Remove implicit cast from gboolean to GstElementStateReturn;
23378 make sure we still return failure in paused => ready case if
23379 the parent class fails to change state and our own stop
23380 vfunc succeeds.
23382 2005-05-17 Wim Taymans <wim@fluendo.com>
23384 * tools/gst-launch.c: (event_loop):
23385 Message was unreffed too soon.
23387 2005-05-16 Andy Wingo <wingo@pobox.com>
23389 * gst/gstbin.c (sink_iterator_filter): Err... um...
23391 * check/gst/gstbin.c (test_ghost_pads): New test for the
23392 ghosting-if-elements-not-in-same-bin behavior.
23394 2005-05-16 David Schleef <ds@schleef.org>
23396 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23397 accessing refcount directly.
23399 2005-05-15 David Schleef <ds@schleef.org>
23401 * check/Makefile.am: remove GstData checks
23402 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23403 * gst/Makefile.am: add miniobject, remove data
23404 * gst/gst.h: add miniobject, remove data
23405 * gst/gstdata.c: remove
23406 * gst/gstdata.h: remove
23407 * gst/gstdata_private.h: remove
23408 * gst/gsttypes.h: remove GstEvent and GstMessage
23409 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23410 * gst/gstmarshal.list: change BOXED -> OBJECT
23412 Implement GstMiniObject.
23413 * gst/gstminiobject.c:
23414 * gst/gstminiobject.h:
23416 Modify to be subclasses of GstMiniObject.
23417 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23418 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23419 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23420 (gst_subbuffer_get_type), (gst_subbuffer_init),
23421 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23422 (gst_buffer_span):
23423 * gst/gstbuffer.h:
23424 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23425 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23426 (_gst_event_copy), (gst_event_new):
23427 * gst/gstevent.h:
23428 * gst/gstmessage.c: (_gst_message_initialize),
23429 (gst_message_get_type), (gst_message_class_init),
23430 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23431 (gst_message_new), (gst_message_new_error),
23432 (gst_message_new_warning), (gst_message_new_tag),
23433 (gst_message_new_state_changed), (gst_message_new_application):
23434 * gst/gstmessage.h:
23435 * gst/gstprobe.c: (gst_probe_perform),
23436 (gst_probe_dispatcher_dispatch):
23437 * gst/gstprobe.h:
23438 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23439 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23440 (_gst_query_copy), (gst_query_new):
23442 Update elements for GstData -> GstMiniObject changes
23443 * gst/gstquery.h:
23444 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23445 (gst_queue_chain), (gst_queue_loop):
23446 * gst/elements/gstbufferstore.c:
23447 (gst_buffer_store_add_buffer_func),
23448 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23449 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23450 (gst_fakesink_render):
23451 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23452 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23453 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23454 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23455 (gst_filesrc_create_read):
23456 * gst/elements/gstidentity.c: (gst_identity_class_init):
23457 * gst/elements/gsttypefindelement.c:
23458 (gst_type_find_element_src_event), (free_entry_buffers),
23459 (gst_type_find_element_handle_event):
23460 * libs/gst/dataprotocol/dataprotocol.c:
23461 (gst_dp_header_from_buffer):
23462 * libs/gst/dataprotocol/dataprotocol.h:
23463 * libs/gst/dataprotocol/dp-private.h:
23465 2005-05-15 David Schleef <ds@schleef.org>
23467 * gst/elements/gstelements.c: Don't include headers that were
23468 just removed.
23470 2005-05-15 David Schleef <ds@schleef.org>
23472 * gst/elements/Makefile.am: Remove some elements that don't
23473 need to be in the core (or even exist at all).
23474 * gst/elements/gstaggregator.c:
23475 * gst/elements/gstaggregator.h:
23476 * gst/elements/gstmd5sink.c:
23477 * gst/elements/gstmd5sink.h:
23478 * gst/elements/gstmultifilesrc.c:
23479 * gst/elements/gstmultifilesrc.h:
23480 * gst/elements/gstpipefilter.c:
23481 * gst/elements/gstpipefilter.h:
23482 * gst/elements/gstshaper.c:
23483 * gst/elements/gstshaper.h:
23484 * gst/elements/gststatistics.c:
23485 * gst/elements/gststatistics.h:
23486 * po/POTFILES.in: Remove above files.
23488 2005-05-14 Andy Wingo <wingo@pobox.com>
23490 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23491 so as to get the refs right.
23492 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23493 unreffing objects that don't pass the filter.
23495 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23496 gst_element_set_bus.
23497 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23498 normal cases, this will destroy the bus.
23500 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23501 object.
23503 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23504 has no sinks.
23506 2005-05-13 Andy Wingo <wingo@pobox.com>
23508 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23509 gst_pad_link, call pad_link_maybe_ghosting,
23510 (pad_link_maybe_ghosting): Links pads, making sure that the
23511 elements being linked are in the same bin.
23512 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23513 Helpers for pad_link_maybe_ghosting.
23515 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23517 * configure.ac:
23518 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23520 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23522 * docs/design/part-element-source.txt:
23523 Mention GstPushSrc
23525 2005-05-12 Wim Taymans <wim@fluendo.com>
23527 * gst/base/gstbasesink.c: (gst_basesink_init),
23528 (gst_basesink_activate):
23529 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23530 (gst_basesrc_is_seekable):
23531 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23532 (bin_element_is_sink), (gst_bin_change_state):
23533 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23534 * gst/gstelement.h:
23535 Identify sinks by their flag to avoid overly complicated
23536 checks (fow now).
23537 Do state changes even for elements not reachable from the
23538 sinks.
23539 BaseSink is a sink now :)
23540 Some more debugging info in the basesrc.
23543 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23546 Implement _query on a bin, similar to _send_event.
23548 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23550 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23551 Discont event offset format should be GST_FORMAT_BYTES,
23552 not GST_FORMAT_TIME.
23554 2005-05-12 Wim Taymans <wim@fluendo.com>
23556 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23557 Same fix as Ronald's but without the signal.
23559 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23561 * gst/gstutils.c: (gst_element_query_position):
23562 No, an element is not a pad.
23564 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23566 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23567 (gst_bin_get_state):
23568 If a child is removed from a bin while we remove the child from
23569 the bin and while we're retrieving its state, signal this to the
23570 get_state function so we abort the wait (instead of waiting for
23571 a timeout) and can immediately re-iterate over all other elements.
23573 2005-05-12 Wim Taymans <wim@fluendo.com>
23575 * gst/base/Makefile.am:
23576 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23577 (gst_basesrc_start):
23578 * gst/base/gstbasesrc.h:
23579 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23580 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23581 (gst_pushsrc_init), (gst_pushsrc_create):
23582 * gst/base/gstpushsrc.h:
23583 Added is_seekable to BaseSrc
23584 Added simple PushSrc.
23586 2005-05-11 Wim Taymans <wim@fluendo.com>
23588 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23589 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23590 (gst_element_link_pads), (gst_element_query_position),
23591 (gst_element_query_convert), (intersect_caps_func),
23592 (gst_pad_query_position), (gst_pad_query_convert):
23593 Fix refcounting in utils function.
23594 No point in trying to activate a pad when it's added, it could
23595 be added from the state change function and then we deadlock, the
23596 element has to decide what to do.
23598 2005-05-10 Andy Wingo <wingo@pobox.com>
23600 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23601 *all* the arguments.
23603 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23604 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23605 lock (according to the docs -- if this is wrong change the docs).
23607 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23608 flush messages in the NULL state.
23610 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23611 message immediately and return.
23612 (gst_bus_set_flushing): New function. If a bus is flushing, it
23613 flushes out any queued messages and immediately unrefs new
23614 messages. This is so when an element goes to NULL, all of the
23615 unhandled messages coming from it can be freed, and their
23616 references to the element dropped. In other words: message source
23617 ref considered harmful :P
23619 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23620 we're finished with it.
23622 * gst/gstmessage.c (gst_message_new_state_changed):
23624 2005-05-10 Wim Taymans <wim@fluendo.com>
23626 * gst/gstvalue.c: (gst_value_compare_flags),
23627 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23628 (_gst_value_initialize):
23629 Added flags serialize/deserialize/compare code.
23631 2005-05-09 Andy Wingo <wingo@pobox.com>
23633 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23634 Intersect the peer's caps with our caps.
23636 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23638 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23639 * gst/elements/gsttypefindelement.c: (find_peek):
23640 Handle negative offsets better. Fixes decodebin.
23642 2005-05-09 Wim Taymans <wim@fluendo.com>
23644 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23645 (gst_base_transform_event):
23646 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23647 Implement accept_caps.
23648 Fix silly lock/unlock mismatch in base class.
23650 2005-05-09 Wim Taymans <wim@fluendo.com>
23652 * docs/design/draft-push-pull.txt:
23653 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23654 * gst/elements/gstfilesink.c: (gst_filesink_init),
23655 (gst_filesink_query):
23656 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23657 (gst_type_find_handle_src_query), (find_element_get_length):
23658 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23659 * gst/gstelement.h:
23660 * gst/gstmessage.c:
23661 * gst/gstmessage.h:
23662 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23663 (gst_real_pad_get_caps_unlocked),
23664 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23665 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23666 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23667 (gst_real_pad_dispose), (gst_real_pad_finalize),
23668 (gst_pad_load_and_link), (gst_pad_save_thyself),
23669 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23670 (gst_pad_check_pull_range), (gst_pad_pull_range),
23671 (gst_pad_template_get_type), (gst_pad_template_class_init),
23672 (gst_pad_template_init), (gst_pad_template_dispose),
23673 (name_is_valid), (gst_static_pad_template_get),
23674 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23675 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23676 (gst_pad_get_element_private), (gst_pad_start_task),
23677 (gst_pad_pause_task), (gst_pad_stop_task),
23678 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23679 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23680 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23681 (gst_ghost_pad_new):
23682 * gst/gstpad.h:
23683 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23684 (gst_query_new_position), (gst_query_set_position),
23685 (gst_query_parse_position), (gst_query_new_convert),
23686 (gst_query_set_convert), (gst_query_parse_convert):
23687 * gst/gstquery.h:
23688 * gst/gstqueryutils.c:
23689 * gst/gstqueryutils.h:
23690 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23691 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23692 (gst_queue_handle_src_query):
23693 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23694 (gst_element_query_position), (gst_element_query_convert),
23695 (intersect_caps_func), (gst_pad_query_position),
23696 (gst_pad_query_convert):
23697 * gst/gstutils.h:
23698 * tools/gst-inspect.c: (print_pad_info):
23699 * tools/gst-xmlinspect.c: (print_element_info):
23700 Remove old query functions. Ported old code.
23701 Added position/convert helper functions to gstutils.
23702 Reordered gstpad.c code, grouping relevant things.
23703 Remove gst_message_new(), always need to speficy a specific
23704 message.
23707 2005-05-09 Andy Wingo <wingo@pobox.com>
23709 * gst/gstiterator.h: Add some includes.
23711 * gst/gstqueryutils.h: Include more headers.
23713 * gst/gstpad.h:
23714 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23715 some uses of gst_pad_query.
23717 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23718 NULL out parameters.
23719 (gst_query_new_position): New proc, allocates a new position
23720 query.
23722 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23723 gstqueryutils.c to the build.
23725 * gst/gststructure.c (gst_structure_set_valist): Implement with
23726 the generic G_VALUE_COLLECT.
23728 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23730 * gst/Makefile.am: (gst_headers):
23731 Added gstqueryutils.h to the list of headers to install, that was
23732 a 'nachty' move wingo :)
23734 2005-05-06 Andy Wingo <wingo@pobox.com>
23736 * gst/gstquery.h
23737 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23738 GstData, init a memchunk.
23739 (standard_definitions): Add a few query types, deprecate a few.
23740 (gst_query_get_type): New proc.
23741 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23742 implementation.
23743 (gst_query_new_application, gst_query_get_structure): New public
23744 procs.
23746 * docs/design/draft-query.txt: Removed LINKS from the query types,
23747 because all the rest can be dispatched to other pads -- seemed
23748 ugly to have a query that couldn't be dispatched. internal_links
23749 is fine as a pad method.
23751 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23752 in gstpad.c, but maintain binary compatibility for the moment.
23753 Will fix before 0.9 is out.
23755 * gst/gstqueryutils.c:
23756 * gst/gstqueryutils.h: New files, implement 3 methods for each
23757 query type: parse_query, parse_response, and set. Probably need an
23758 allocator as well.
23760 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23762 * gst/elements/gstfilesink.c (gst_filesink_query2):
23763 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23764 query_types, and formats methods.
23766 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23767 (gst_pad_set_query2_function): New functions.
23768 (gst_real_pad_init): Set query2_default as the default query2
23769 function. Basically just dispatches to internally linked pads.
23771 Needs review!
23773 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23774 without using the atomic operations. Only one thread can possibly
23775 be accessing the data at this point. Changed so as to avoid
23776 gst_atomic operations.
23778 2005-05-06 Wim Taymans <wim@fluendo.com>
23780 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23781 Also set caps if we use the fallback buffer alloc.
23783 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23785 * docs/gst/Makefile.am:
23786 * docs/gst/gstreamer-docs.sgml:
23787 * docs/gst/gstreamer-sections.txt:
23788 * docs/gst/tmpl/gstatomic.sgml:
23789 * docs/gst/tmpl/gstmemchunk.sgml:
23790 * testsuite/elements/struct_i386.h:
23791 * win32/GStreamer.vcproj:
23792 * win32/Makefile:
23793 Purge GstAtomic stuff from docs and win32 makefiles as well
23795 2005-05-06 Wim Taymans <wim@fluendo.com>
23797 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23798 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23799 * gst/gstpad.c: (gst_pad_peer_get_caps):
23800 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23801 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23802 (gst_queue_src_activate), (gst_queue_change_state):
23803 * gst/gstqueue.h:
23804 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23805 (intersect_caps_func):
23806 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23807 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23808 Some fixes for the peer_get_caps() change.
23810 2005-05-06 Wim Taymans <wim@fluendo.com>
23812 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23813 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23814 (gst_basesink_activate):
23815 Actually do something with error codes returned from the push
23816 functions.
23818 2005-05-06 Wim Taymans <wim@fluendo.com>
23820 * docs/design/part-element-sink.txt:
23821 * docs/design/part-element-source.txt:
23822 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23823 (gst_basesink_event), (gst_basesink_activate):
23824 * gst/base/gstbasesink.h:
23825 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23826 (gst_basesrc_activate):
23827 * gst/base/gstbasesrc.h:
23828 * gst/gstelement.c: (gst_element_pads_activate):
23829 Some more documentation.
23830 Fixed scheduling decision in _pads_activate().
23832 2005-05-05 Andy Wingo <wingo@pobox.com>
23834 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23835 the test suite.
23837 2005-05-05 Wim Taymans <wim@fluendo.com>
23839 * gst/base/Makefile.am:
23840 * gst/base/gstbasesink.h:
23841 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23842 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23843 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23844 (gst_collectpads_class_init), (gst_collectpads_init),
23845 (gst_collectpads_finalize), (gst_collectpads_new),
23846 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23847 (find_pad), (gst_collectpads_remove_pad),
23848 (gst_collectpads_is_active), (gst_collectpads_collect),
23849 (gst_collectpads_collect_range), (gst_collectpads_start),
23850 (gst_collectpads_stop), (gst_collectpads_peek),
23851 (gst_collectpads_pop), (gst_collectpads_available),
23852 (gst_collectpads_read), (gst_collectpads_flush),
23853 (gst_collectpads_chain):
23854 * gst/base/gstcollectpads.h:
23855 * gst/elements/Makefile.am:
23856 * gst/elements/gstelements.c:
23857 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23858 (gst_fakesink_get_times), (gst_fakesink_event),
23859 (gst_fakesink_preroll), (gst_fakesink_render):
23860 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23861 (gst_filesink_init), (gst_filesink_set_location),
23862 (gst_filesink_open_file), (gst_filesink_close_file),
23863 (gst_filesink_pad_query), (gst_filesink_event),
23864 (gst_filesink_render), (gst_filesink_change_state):
23865 * gst/elements/gstfilesink.h:
23866 Added object to help in making collect pad based elements.
23867 Ported filesink.
23868 Make event function in sink baseclass return gboolean.
23870 2005-05-05 Wim Taymans <wim@fluendo.com>
23872 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23873 (gst_bin_get_by_name):
23874 * gst/gstbuffer.h:
23875 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23876 (gst_clock_finalize):
23877 * gst/gstdata.c: (gst_data_replace):
23878 * gst/gstdata.h:
23879 * gst/gstelement.c: (gst_element_request_pad),
23880 (gst_element_pads_activate):
23881 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23882 (gst_object_unref):
23883 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23884 (gst_pad_set_checkgetrange_function),
23885 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23886 (gst_pad_check_pull_range), (gst_pad_pull_range),
23887 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23888 (gst_pad_pause_task), (gst_pad_stop_task):
23889 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23890 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23891 Fix name lookup in GstBin.
23892 Added _data_replace() function and _buffer_replace()
23893 Use finalize method to clean up clock.
23894 Fix refcounting on request pads.
23895 Fix pad schedule mode error.
23896 Some more object refcounting debug info,
23899 2005-05-04 Andy Wingo <wingo@pobox.com>
23901 * check/Makefile.am:
23902 * docs/gst/tmpl/gstatomic.sgml:
23903 * docs/gst/tmpl/gstplugin.sgml:
23904 * gst/base/gstbasesink.c: (gst_basesink_activate):
23905 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23906 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23907 (gst_basesrc_query), (gst_basesrc_set_property),
23908 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23909 (gst_basesrc_activate):
23910 * gst/base/gstbasesrc.h:
23911 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23912 (gst_base_transform_src_activate):
23913 * gst/elements/gstelements.c:
23914 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23915 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23916 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23917 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23918 (gst_type_find_element_checkgetrange),
23919 (gst_type_find_element_activate):
23920 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23921 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23922 (gst_caps_load_thyself):
23923 * gst/gstelement.c: (gst_element_pads_activate),
23924 (gst_element_save_thyself), (gst_element_restore_thyself):
23925 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23926 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23927 * gst/gstpad.h:
23928 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23929 (gst_xml_parse_file), (gst_xml_parse_memory),
23930 (gst_xml_get_element), (gst_xml_make_element):
23931 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23932 (_file_index_id_save_xml), (gst_file_index_commit):
23933 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23934 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23935 (load_paths):
23936 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23937 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23938 * tools/gst-complete.c: (main):
23939 * tools/gst-compprep.c: (main):
23940 * tools/gst-inspect.c: (print_element_properties_info):
23941 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23942 * tools/gst-xmlinspect.c: (print_element_properties):
23943 GCC 4 fixen.
23945 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23947 * gst/gstplugin.c: (gst_plugin_check_module),
23948 (gst_plugin_check_file), (gst_plugin_load_file):
23949 apply patch from #172526 to make register work on MacOSX
23951 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23953 * docs/gst/tmpl/gstconfig.sgml:
23954 * gst/gstconfig.h.in:
23955 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23956 * testsuite/debug/printf_extension.c: (main):
23957 Do not use GST_PTR_FORMAT on pointers to types with
23958 sizeof < sizeof(gpointer). Fixes test on 64-bit
23959 * testsuite/elements/property.h:
23960 use correct printf format
23962 2005-05-02 Wim Taymans <wim@fluendo.com>
23964 * docs/design/draft-push-pull.txt:
23965 * docs/design/draft-query.txt:
23966 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23967 (gst_basesrc_start):
23968 Added draft for new query API.
23969 Added draft for better selecting scheduling methods.
23970 Make basesrc ignore length if the subclass does not support
23971 it.
23973 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23975 * gst/Makefile.am:
23976 possible fixes for automake-1.5 - _LIBADD is reserved
23978 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23980 * docs/faq/Makefile.am:
23981 * docs/manual/Makefile.am:
23982 * docs/manuals.mak:
23983 * docs/pwg/Makefile.am:
23984 * gst/Makefile.am:
23985 possible fixes for automake-1.5
23987 2005-04-28 Wim Taymans <wim@fluendo.com>
23989 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23990 (gst_basesink_pad_getcaps), (gst_basesink_init),
23991 (gst_basesink_do_sync):
23992 * gst/gstclock.c: (gst_clock_entry_new):
23993 * gst/gstevent.c: (gst_event_discont_get_value):
23994 * gst/gstpipeline.c: (pipeline_bus_handler),
23995 (gst_pipeline_change_state):
23996 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23997 Better debugging of clocking info.
23998 Allow NULL values when getting discont values.
24000 2005-04-27 Wim Taymans <wim@fluendo.com>
24002 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24003 * check/gst/gstpad.c: (gst_pad_suite):
24004 Increase timeout for checks.
24006 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24008 * check/Makefile.am:
24009 fix the broken rule for cleanup. Apparently this rule is
24010 only needed on FC2, so maybe this warrants further autotool
24011 inspection.
24013 2005-04-26 Wim Taymans <wim@fluendo.com>
24015 * gst/gsttrashstack.h:
24016 Ooohh. a nasty one! After having a failed pop() from the stack,
24017 it's possible that the stack is empty. In that case, don't
24018 follow the NULL pointer.
24020 2005-04-25 Wim Taymans <wim@fluendo.com>
24022 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24023 (gst_pad_set_checkgetrange_function),
24024 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24025 (gst_pad_check_pull_range), (gst_pad_pull_range),
24026 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24027 (gst_pad_pause_task), (gst_pad_stop_task):
24028 * gst/gstplugin.c: (gst_plugin_load):
24029 * gst/gstplugin.h:
24030 Remove gst_library_load as it does more harm than good with
24031 the new g_module flags.
24032 Revert bogus caps template check in pad linking, pad caps
24033 are important when linking not the template, which is more
24034 general than the current caps.
24036 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24038 * gst/autoplug/.cvsignore:
24039 * gst/autoplug/Makefile.am:
24040 * gst/autoplug/gstsearchfuncs.c:
24041 * gst/autoplug/gstsearchfuncs.h:
24042 * gst/autoplug/gstspider.c:
24043 * gst/autoplug/gstspider.h:
24044 * gst/autoplug/gstspideridentity.c:
24045 * gst/autoplug/gstspideridentity.h:
24046 * gst/autoplug/spidertest.c:
24047 Die, spider, die.
24049 2005-04-25 Wim Taymans <wim@fluendo.com>
24051 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24052 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24053 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24054 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24055 * gst/gstpad.h:
24056 Added stubs for unimplemented functions.
24058 2005-04-24 David Schleef <ds@schleef.org>
24060 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24061 please fix.
24063 2005-04-24 David Schleef <ds@schleef.org>
24065 Convert everything from GstAtomicInt to g_atomic_int_*, and
24066 remove gstatomic.
24067 * gst/Makefile.am:
24068 * gst/gstatomic.c:
24069 * gst/gstatomic.h:
24070 * gst/gstatomic_impl.h:
24071 * gst/gstbuffer.c:
24072 * gst/gstcaps.c:
24073 * gst/gstcaps.h:
24074 * gst/gstclock.c:
24075 * gst/gstclock.h:
24076 * gst/gstdata.c:
24077 * gst/gstdata.h:
24078 * gst/gstdata_private.h:
24079 * gst/gstevent.c:
24080 * gst/gstinfo.c:
24081 * gst/gstinfo.h:
24082 * gst/gstmessage.c:
24083 * gst/gstobject.c:
24084 * gst/gstobject.h:
24085 * gst/gststructure.c:
24086 * gst/gststructure.h:
24087 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24088 * gst/gstutils.h:
24090 2005-04-24 David Schleef <ds@schleef.org>
24092 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24093 make the regressions tests work. Remove some code that is no
24094 longer true.
24095 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24096 Disable warning for pads without templates.
24098 2005-04-24 David Schleef <ds@schleef.org>
24100 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24101 functions that handle filtered links.
24102 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24103 removed functions.
24104 * gst/gstutils.c: Fix/remove utility functions that handle
24105 filtered caps.
24106 * gst/gstutils.h:
24107 * gst/gstvalue.c: Add serialization/deserialization of caps
24108 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24109 requires fixing so that the filter caps notation creates
24110 a capsfilter element and sets the filter_caps property. I
24111 think everyone probably wants to keep the shorthand notation.
24112 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24113 * docs/gst/tmpl/gstpad.sgml:
24115 * gst/elements/gstelements.c: Register capsfilter element.
24116 * gst/Makefile.am: fix spacing
24117 * docs/random/ds/0.9-suggested-changes: random
24119 2005-04-23 David Schleef <ds@schleef.org>
24121 * gst/elements/Makefile.am:
24122 * gst/elements/gstcapsfilter.c: New element that acts like an
24123 identity, but filters caps. Will eventually replace filtered
24124 caps in pad linking.
24125 * gst/gstutils.c: (gst_element_create_all_pads): New function
24126 to create all the ALWAYS pads that are registered with an
24127 element class. This functionality should eventually be
24128 merged in with GstElement initialization.
24129 * gst/gstutils.h:
24130 * testsuite/trigger/README: part of trigger test code that should
24131 have been checked in a long time ago.
24133 2005-04-23 David Schleef <ds@schleef.org>
24135 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24136 needed with new versions of libtool (nobody will confirm this),
24137 and hard to carry around.
24138 * gst/autoplug/Makefile.am:
24139 * gst/base/Makefile.am:
24140 * gst/elements/Makefile.am:
24141 * gst/indexers/Makefile.am:
24142 * gst/schedulers/Makefile.am:
24143 * libs/gst/bytestream/Makefile.am:
24144 * libs/gst/control/Makefile.am:
24145 * libs/gst/dataprotocol/Makefile.am:
24146 * libs/gst/getbits/Makefile.am:
24148 2005-04-21 Wim Taymans <wim@fluendo.com>
24150 * docs/design/draft-push-pull.txt:
24151 * docs/design/part-MT-refcounting.txt:
24152 * docs/design/part-TODO.txt:
24153 * docs/design/part-caps.txt:
24154 * docs/design/part-events.txt:
24155 * docs/design/part-gstbus.txt:
24156 * docs/design/part-gstpipeline.txt:
24157 * docs/design/part-messages.txt:
24158 * docs/design/part-push-pull.txt:
24159 * docs/design/part-query.txt:
24160 Some more docs.
24162 2005-04-21 Wim Taymans <wim@fluendo.com>
24164 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24165 (gst_message_new), (gst_message_new_error),
24166 (gst_message_new_warning), (gst_message_new_tag),
24167 (gst_message_new_state_changed), (gst_message_new_application),
24168 (gst_message_get_structure):
24169 * gst/gstmessage.h:
24170 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24171 (gst_structure_copy_conditional):
24172 Use parent refcount in GstMessage to ensure GstStructure
24173 consistency.
24174 Cleaned up headers a bit.
24177 2005-04-20 Wim Taymans <wim@fluendo.com>
24179 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24180 (gst_basesink_pad_getcaps), (gst_basesink_init),
24181 (gst_basesink_chain_unlocked):
24182 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24183 (gst_type_find_helper):
24184 * gst/elements/gsttypefindelement.c:
24185 (gst_type_find_element_have_type), (gst_type_find_element_init),
24186 (stop_typefinding), (gst_type_find_element_handle_event),
24187 (find_suggest), (gst_type_find_element_chain),
24188 (gst_type_find_element_checkgetrange),
24189 (gst_type_find_element_getrange), (do_typefind),
24190 (gst_type_find_element_activate):
24191 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24192 (gst_buffer_default_free), (gst_buffer_default_copy),
24193 (gst_buffer_set_caps):
24194 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24195 (gst_caps_replace):
24196 * gst/gstmessage.c: (gst_message_new),
24197 (gst_message_new_state_changed):
24198 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24199 (gst_pad_set_checkgetrange_function),
24200 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24201 (gst_pad_set_caps), (gst_pad_check_pull_range),
24202 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24203 * gst/gstpad.h:
24204 * gst/gsttypefind.c: (gst_type_find_register):
24205 Make gst_caps_replace() work like other _replace() functions.
24206 Use _caps_replace() where possible.
24207 Make sure _message_new() initialises its field.
24208 Add gst_static_pad_template_get_caps()
24211 2005-04-18 Andy Wingo <wingo@pobox.com>
24213 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24214 on the peer, not the pad. I think that was a typo. Pass an extra
24215 arg to see if random access is possible. Activate the pads as
24216 PULL_RANGE if possible.
24218 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24220 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24221 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24222 to PROP_....
24224 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24226 * docs/faq/using.xml:
24227 Add note on gstreamer-properties (#154996).
24229 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24231 * docs/random/bbb/optional-properties:
24232 Some analysis on optional properties.
24234 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24236 * docs/gst/tmpl/gstelementfactory.sgml:
24237 * gst/gstelement.h:
24238 * gst/gstelementfactory.c: (gst_element_factory_init),
24239 (gst_element_factory_cleanup), (gst_element_register),
24240 (__gst_element_factory_add_static_pad_template),
24241 (gst_element_factory_get_static_pad_templates),
24242 (gst_element_factory_can_src_caps),
24243 (gst_element_factory_can_sink_caps):
24244 * gst/registries/Makefile.am:
24245 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24246 (gst_xml_registry_class_init), (gst_xml_registry_init),
24247 (gst_xml_registry_new), (gst_xml_registry_set_property),
24248 (gst_xml_registry_get_property), (get_time), (make_dir),
24249 (gst_xml_registry_get_perms_func),
24250 (plugin_times_older_than_recurse), (plugin_times_older_than),
24251 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24252 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24253 (add_to_char_array), (read_string), (read_uint), (read_enum),
24254 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24255 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24256 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24257 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24258 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24259 (gst_xml_registry_rebuild):
24260 * gst/registries/gstlibxmlregistry.h:
24261 * tools/gst-compprep.c: (main):
24262 * tools/gst-inspect.c: (print_pad_templates_info):
24263 * tools/gst-xmlinspect.c: (print_element_info):
24264 Use libxml2 for registry parsing, use staticpadtemplates in
24265 elementfactories. Makes gst_init() +/- 10x faster.
24267 2005-04-12 Wim Taymans <wim@fluendo.com>
24269 * gst/base/Makefile.am:
24270 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24271 (gst_basesink_pad_getcaps), (gst_basesink_init),
24272 (gst_basesink_event), (gst_basesink_change_state):
24273 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24274 (gst_basesrc_init), (gst_basesrc_query),
24275 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24276 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24277 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24278 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24279 (gst_basesrc_stop), (gst_basesrc_activate),
24280 (gst_basesrc_change_state):
24281 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24282 (helper_find_suggest), (gst_type_find_helper):
24283 * gst/base/gsttypefindhelper.h:
24284 * gst/elements/Makefile.am:
24285 * gst/elements/gstelements.c:
24286 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24287 (gst_fakesink_get_times), (gst_fakesink_event),
24288 (gst_fakesink_preroll), (gst_fakesink_render):
24289 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24290 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24291 (gst_fakesrc_get_property), (gst_fakesrc_create),
24292 (gst_fakesrc_start), (gst_fakesrc_stop):
24293 * gst/elements/gstfakesrc.h:
24294 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24295 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24296 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24297 (gst_filesrc_create_read), (gst_filesrc_create),
24298 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24299 (gst_filesrc_start):
24300 * gst/elements/gsttypefindelement.c:
24301 (gst_type_find_element_have_type), (gst_type_find_element_init),
24302 (start_typefinding), (stop_typefinding), (push_buffer_store),
24303 (gst_type_find_element_handle_event),
24304 (gst_type_find_element_chain),
24305 (gst_type_find_element_checkgetrange),
24306 (gst_type_find_element_getrange), (do_typefind),
24307 (gst_type_find_element_activate),
24308 (gst_type_find_element_change_state):
24309 * gst/elements/gsttypefindelement.h:
24310 * gst/gstpipeline.c: (pipeline_bus_handler):
24311 Added typefind helper.
24312 Small preroll fix in the base sink.
24313 Disable typefind code in basesrc.
24314 Crude port of typefindelement.
24315 Fakesrc cleanups.
24318 2005-04-11 Wim Taymans <wim@fluendo.com>
24320 * check/gst/gstbus.c: (gstbus_suite):
24321 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24322 * check/gstcheck.h:
24323 Fix up the timeout so that the test does not fail.
24325 2005-04-06 Wim Taymans <wim@fluendo.com>
24327 * gst/base/README:
24328 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24329 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24330 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24331 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24332 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24333 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24334 (gst_basesrc_stop), (gst_basesrc_activate),
24335 (gst_basesrc_change_state), (basesrc_find_peek),
24336 (basesrc_find_suggest), (gst_basesrc_type_find):
24337 * gst/base/gstbasesrc.h:
24338 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24339 (gst_filesrc_class_init), (gst_filesrc_init),
24340 (gst_filesrc_finalize), (gst_filesrc_set_location),
24341 (gst_filesrc_set_property), (gst_filesrc_get_property),
24342 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24343 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24344 (gst_filesrc_create_read), (gst_filesrc_create),
24345 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24346 * gst/elements/gstfilesrc.h:
24347 * gst/gstelement.c: (gst_element_get_state_func),
24348 (gst_element_lost_state), (gst_element_pads_activate):
24349 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24350 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24351 (gst_pad_pull_range):
24352 * gst/gstpad.h:
24353 More work on the generic source base class, implement seeking,
24354 query.
24355 Make filesrc extend the base source class.
24356 Added gst_pad_set_checkgetrange_function to GstPad.
24358 2005-04-06 Andy Wingo <wingo@pobox.com>
24360 * pkgconfig/gstreamer-base.pc.in:
24361 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24363 * pkgconfig/Makefile.am:
24364 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24366 2005-04-04 Wim Taymans <wim@fluendo.com>
24368 * gst/base/Makefile.am:
24369 * gst/base/README:
24370 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24371 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24372 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24373 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24374 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24375 (gst_basesrc_base_init), (gst_basesrc_class_init),
24376 (gst_basesrc_init), (gst_basesrc_get_formats),
24377 (gst_basesrc_get_query_types), (gst_basesrc_query),
24378 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24379 (gst_basesrc_set_property), (gst_basesrc_get_property),
24380 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24381 (gst_basesrc_loop), (gst_basesrc_activate),
24382 (gst_basesrc_change_state):
24383 * gst/base/gstbasesrc.h:
24384 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24385 (gst_fakesrc_class_init), (gst_fakesrc_init),
24386 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24387 (gst_fakesrc_get_property), (gst_fakesrc_create):
24388 * gst/elements/gstfakesrc.h:
24389 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24390 (gst_filesrc_open_file), (gst_filesrc_loop),
24391 (gst_filesrc_activate), (filesrc_find_peek),
24392 (gst_filesrc_type_find):
24393 Made base source class, make fakesrc extend it.
24394 Add comments to basesink class.
24395 Some filesrc cleanup.
24397 2005-03-31 David Schleef <ds@schleef.org>
24399 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24400 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24401 expected to link against libgstreamer.
24402 * gst/base/Makefile.am: link against libgstreamer
24403 * gst/elements/Makefile.am: same
24405 2005-03-31 Andy Wingo <wingo@pobox.com>
24407 * tests/instantiate/Makefile.am:
24408 * tests/instantiate/caps.c: Add test to test speed of caps copy
24409 and free.
24411 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24412 GMemChunk to be fair.
24414 * gst/gsttrashstack.h: Remove warning about using the fallback
24415 trash stack implementation, it's still faster than malloc.
24417 2005-03-30 Andy Wingo <wingo@pobox.com>
24419 * tests/complexity.c: Add a copyright.
24421 2005-03-31 Wim Taymans <wim@fluendo.com>
24423 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24424 (gst_base_transform_class_init), (gst_base_transform_init),
24425 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24426 (gst_base_transform_get_property),
24427 (gst_base_transform_sink_activate),
24428 (gst_base_transform_src_activate),
24429 (gst_base_transform_change_state):
24430 * gst/base/gstbasetransform.h:
24431 * gst/elements/gstidentity.c: (gst_identity_class_init),
24432 (gst_identity_event), (gst_identity_check_perfect),
24433 (gst_identity_transform), (gst_identity_start),
24434 (gst_identity_stop):
24435 Added start/stop methods to transform base class so subclasses
24436 don't need to deal with state changes even.
24438 2005-03-31 Wim Taymans <wim@fluendo.com>
24440 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24441 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24442 * gst/gstevent.h:
24443 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24444 (gst_pad_pull_range):
24445 Added rate to the discont event to prepare for variable speed
24446 and reverse playback.
24448 2005-03-29 David Schleef <ds@schleef.org>
24450 * configure.ac:
24451 * testsuite/trigger/Makefile.am:
24452 * testsuite/trigger/trigger.c: A little example program to show
24453 how trigger-based elements can work.
24455 2005-03-29 Wim Taymans <wim@fluendo.com>
24457 * gst/base/Makefile.am:
24458 * gst/base/README:
24459 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24460 (gst_basesink_base_init), (gst_basesink_class_init),
24461 (gst_basesink_pad_getcaps), (gst_basesink_init),
24462 (gst_basesink_activate), (gst_basesink_change_state):
24463 * gst/base/gstbasesink.h:
24464 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24465 (gst_base_transform_base_init), (gst_base_transform_finalize),
24466 (gst_base_transform_class_init), (gst_base_transform_init),
24467 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24468 (gst_base_transform_event), (gst_base_transform_getrange),
24469 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24470 (gst_base_transform_set_property),
24471 (gst_base_transform_get_property),
24472 (gst_base_transform_sink_activate),
24473 (gst_base_transform_src_activate),
24474 (gst_base_transform_change_state):
24475 * gst/base/gstbasetransform.h:
24476 * gst/elements/gstidentity.c: (gst_identity_finalize),
24477 (gst_identity_class_init), (gst_identity_init),
24478 (gst_identity_event), (gst_identity_check_perfect),
24479 (gst_identity_transform), (gst_identity_set_property),
24480 (gst_identity_get_property), (gst_identity_change_state):
24481 * gst/elements/gstidentity.h:
24482 * gst/gstelement.c: (gst_element_get_state_func),
24483 (gst_element_lost_state), (gst_element_pads_activate):
24484 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24485 (gst_pad_check_pull_range), (gst_pad_pull_range):
24486 * gst/gstpad.h:
24487 Simplify pad activation.
24488 Added function to check if pull_range can be performed.
24489 Error out when pulling inactive or flushing pads.
24490 Removed const from refcounted types as it does not make sense.
24491 Simplify pad templates in basesink
24492 Added base class for simple 1-to-1 transforms.
24493 Make identity subclass the base transform.
24495 2005-03-29 Andy Wingo <wingo@pobox.com>
24497 * docs/libs/gstreamer-libs-overrides.txt:
24498 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24499 really don't understand what's going on, but like whatever. I want
24500 green buildbot!
24502 * docs/gst/Makefile.am:
24503 * docs/libs/Makefile.am: Dist the overrides files.
24505 * check/Makefile.am (clean-local): Remove .libs directories.
24507 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24508 elements to EXTRA_DIST, so po/ files are happy.
24510 * po/POTFILES.in: Er, remove it here.
24512 * po/POTFILES: Remove gstspider.c.
24514 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24516 * docs/libs/gstreamer-libs-docs.sgml:
24517 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24518 bytestream.
24520 * tests/complexity.c (main): Set the length of the preroll queue
24521 on the sinks to prevent a lockup.
24523 * libs/gst/dataprotocol/Makefile.am:
24524 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24525 the same as the one in check/gst-libs/gdp.c.
24527 * po/, docs/gst/: Commit automatic changes to docs and po files.
24529 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24530 the versioned libgstbase.
24532 * check/Makefile.am: Depend on an unversioned gst-register, seems
24533 to make autoconf happier.
24535 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24537 2005-03-28 Wim Taymans <wim@fluendo.com>
24539 * configure.ac:
24540 * docs/design/part-gstelement.txt:
24541 * docs/design/part-negotiation.txt:
24542 * docs/design/part-preroll.txt:
24543 * docs/design/part-scheduling.txt:
24544 * docs/design/part-states.txt:
24545 * gst/Makefile.am:
24546 * gst/base/Makefile.am:
24547 * gst/base/README:
24548 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24549 (gst_basesink_base_init), (gst_basesink_class_init),
24550 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24551 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24552 (gst_basesink_set_pad_functions),
24553 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24554 (gst_basesink_set_property), (gst_basesink_get_property),
24555 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24556 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24557 (gst_basesink_preroll_queue_push),
24558 (gst_basesink_preroll_queue_empty),
24559 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24560 (gst_basesink_event), (gst_basesink_get_times),
24561 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24562 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24563 (gst_basesink_loop), (gst_basesink_activate),
24564 (gst_basesink_change_state):
24565 * gst/base/gstbasesink.h:
24566 * gst/elements/Makefile.am:
24567 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24568 (gst_fakesink_class_init), (gst_fakesink_init),
24569 (gst_fakesink_set_property), (gst_fakesink_get_property),
24570 (gst_fakesink_get_times), (gst_fakesink_event),
24571 (gst_fakesink_preroll), (gst_fakesink_render),
24572 (gst_fakesink_change_state):
24573 * gst/elements/gstfakesink.h:
24574 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24575 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24576 * gst/gstelement.c: (gst_element_add_pad),
24577 (gst_element_get_state_func), (gst_element_abort_state),
24578 (gst_element_commit_state), (gst_element_lost_state),
24579 (gst_element_set_state), (gst_element_pads_activate):
24580 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24581 * gst/gstpipeline.c: (gst_pipeline_send_event),
24582 (gst_pipeline_change_state):
24583 Added state change code.
24584 Added/updated docs.
24585 Added sink base class, make fakesink extend the base class.
24586 Small cleanups in GstPipeline.
24588 2005-03-26 David Schleef <ds@schleef.org>
24590 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24591 is broken and should be implemented in a different library.
24592 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24593 * gst/gst.h: remove gstcpu.h
24594 * gst/gstcpu.c: remove
24595 * gst/gstcpu.h: remove
24596 * gst/Makefile.am.future: Remove this file. It's ancient.
24598 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24601 (gst_bin_send_event):
24602 Add default event/set_manager handlers. The set_manager handler
24603 takes care that the manager is distributed over kids that were
24604 already in the bin before the manager was set. The event handler
24605 is a utility virtual function that sends the event over all sinks,
24606 so that gst_element_send_event (bin, event); has the expected
24607 behaviour.
24608 * gst/gstpad.c: (gst_pad_event_default):
24609 Re-install default event handling for discontinuities, so that
24610 seeking works without requiring hacks in applications or extra
24611 code in sinks.
24612 * gst/gstpipeline.c: (gst_pipeline_class_init),
24613 (gst_pipeline_send_event):
24614 Half hack, half utility: set a pipeline to PAUSED for seek events,
24615 since that is the only way we can guarantee a/v sync. Means that
24616 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24617 and it "just works".
24619 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24621 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24622 Lock/unlock mismatch.
24624 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24626 * docs/faq/gst-uninstalled:
24627 add gst-plugins-base
24628 * docs/gst/Makefile.am:
24629 don't error out until docs are fixed
24630 * docs/gst/gstreamer.types:
24631 remove thread
24633 2005-03-22 Wim Taymans <wim@fluendo.com>
24635 * check/Makefile.am:
24636 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24637 * gst/gststructure.c: (gst_structure_set_valist),
24638 (gst_structure_copy_conditional):
24639 Activated more tests.
24640 Added message test.
24641 Added G_TYPE_POINTER to GstStructure.
24644 2005-03-22 Wim Taymans <wim@fluendo.com>
24646 * docs/design/part-TODO.txt:
24647 * docs/design/part-events.txt:
24648 * docs/design/part-gstbin.txt:
24649 * docs/design/part-gstbus.txt:
24650 * docs/design/part-gstpipeline.txt:
24651 * docs/design/part-messages.txt:
24652 * gst/gstbus.c:
24653 * gst/gstmessage.c:
24654 Docs updates
24656 2005-03-21 Wim Taymans <wim@fluendo.com>
24658 * gst/gstbus.c: (gst_bus_post):
24659 Fix copy-and-paste error.
24661 2005-03-21 Wim Taymans <wim@fluendo.com>
24663 * check/Makefile.am:
24664 * gst/Makefile.am:
24665 * gst/elements/Makefile.am:
24666 * gst/elements/gstelements.c:
24667 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24668 (gst_fakesink_event), (gst_fakesink_chain):
24669 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24670 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24671 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24672 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24673 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24674 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24675 (gst_fakesrc_loop), (gst_fakesrc_activate),
24676 (gst_fakesrc_change_state):
24677 * gst/elements/gstfakesrc.h:
24678 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24679 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24680 (gst_filesrc_open_file), (gst_filesrc_loop),
24681 (gst_filesrc_activate), (gst_filesrc_change_state),
24682 (filesrc_find_peek), (filesrc_find_suggest),
24683 (gst_filesrc_type_find):
24684 * gst/elements/gstidentity.c: (gst_identity_finalize),
24685 (gst_identity_class_init), (gst_identity_init),
24686 (gst_identity_proxy_getcaps), (identity_queue_push),
24687 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24688 (gst_identity_getrange), (gst_identity_chain),
24689 (gst_identity_sink_loop), (gst_identity_src_loop),
24690 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24691 (gst_identity_set_property), (gst_identity_get_property),
24692 (gst_identity_change_state):
24693 * gst/elements/gstidentity.h:
24694 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24695 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24696 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24697 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24698 (gst_tee_sink_activate):
24699 * gst/elements/gsttee.h:
24700 * gst/gst.c: (gst_register_core_elements), (init_post):
24701 * gst/gst.h:
24702 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24703 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24704 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24705 (gst_bin_change_state):
24706 * gst/gstbin.h:
24707 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24708 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24709 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24710 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24711 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24712 (bus_watch_callback), (bus_watch_destroy),
24713 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24714 (poll_timeout), (gst_bus_poll):
24715 * gst/gstbus.h:
24716 * gst/gstcaps.h:
24717 * gst/gstdata.h:
24718 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24719 (gst_element_post_message), (gst_element_message_full),
24720 (gst_element_get_state_func), (gst_element_get_state),
24721 (gst_element_abort_state), (gst_element_commit_state),
24722 (gst_element_lost_state), (gst_element_set_state),
24723 (gst_element_pads_activate), (gst_element_change_state),
24724 (gst_element_dispose), (gst_element_set_manager_func),
24725 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24726 (gst_element_set_manager), (gst_element_get_manager),
24727 (gst_element_set_bus), (gst_element_get_bus),
24728 (gst_element_set_scheduler), (gst_element_get_scheduler):
24729 * gst/gstelement.h:
24730 * gst/gstevent.c: (gst_event_new_segment_seek),
24731 (gst_event_new_flush):
24732 * gst/gstevent.h:
24733 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24734 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24735 (gst_message_new_eos), (gst_message_new_error),
24736 (gst_message_new_warning), (gst_message_new_tag),
24737 (gst_message_new_state_changed), (gst_message_new_application),
24738 (gst_message_get_structure), (gst_message_parse_tag),
24739 (gst_message_parse_state_changed), (gst_message_parse_error),
24740 (gst_message_parse_warning):
24741 * gst/gstmessage.h:
24742 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24743 (gst_real_pad_set_property), (gst_pad_set_active),
24744 (gst_pad_is_active), (gst_pad_set_blocked_async),
24745 (gst_pad_set_blocked), (gst_pad_is_blocked),
24746 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24747 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24748 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24749 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24750 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24751 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24752 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24753 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24754 (gst_pad_set_caps), (gst_pad_configure_sink),
24755 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24756 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24757 (gst_real_pad_dispose), (gst_real_pad_finalize),
24758 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24759 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24760 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24761 * gst/gstpad.h:
24762 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24763 (pipeline_bus_handler), (gst_pipeline_change_state),
24764 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24765 * gst/gstpipeline.h:
24766 * gst/gstprobe.h:
24767 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24768 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24769 (gst_queue_link_src), (gst_queue_bufferalloc),
24770 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24771 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24772 (gst_queue_loop), (gst_queue_handle_src_event),
24773 (gst_queue_handle_src_query), (gst_queue_src_activate),
24774 (gst_queue_change_state):
24775 * gst/gstqueue.h:
24776 * gst/gstscheduler.c: (gst_scheduler_init),
24777 (gst_scheduler_dispose), (gst_scheduler_create_task),
24778 (gst_scheduler_factory_create):
24779 * gst/gstscheduler.h:
24780 * gst/gststructure.c: (gst_structure_get_type),
24781 (gst_structure_copy_conditional):
24782 * gst/gststructure.h:
24783 * gst/gsttaginterface.h:
24784 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24785 (gst_task_init), (gst_task_dispose), (gst_task_create),
24786 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24787 (gst_task_pause):
24788 * gst/gsttask.h:
24789 * gst/gstthread.c:
24790 * gst/gstthread.h:
24791 * gst/gsttypes.h:
24792 * gst/schedulers/Makefile.am:
24793 * gst/schedulers/cothreads_compat.h:
24794 * gst/schedulers/entryscheduler.c:
24795 * gst/schedulers/faircothreads.c:
24796 * gst/schedulers/faircothreads.h:
24797 * gst/schedulers/fairscheduler.c:
24798 * gst/schedulers/gstbasicscheduler.c:
24799 * gst/schedulers/gstoptimalscheduler.c:
24800 * gst/schedulers/gthread-cothreads.h:
24801 * gst/schedulers/threadscheduler.c:
24802 (gst_thread_scheduler_task_get_type),
24803 (gst_thread_scheduler_task_class_init),
24804 (gst_thread_scheduler_task_init),
24805 (gst_thread_scheduler_task_start),
24806 (gst_thread_scheduler_task_stop),
24807 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24808 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24809 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24810 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24811 (plugin_init):
24812 * libs/gst/Makefile.am:
24813 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24814 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24815 (gst_file_pad_parent_set):
24816 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24817 (gst_dp_event_from_packet):
24818 * tests/complexity.c: (main):
24819 * tests/mass_elements.c: (main):
24820 * testsuite/states/locked.c: (message_received), (main):
24821 * testsuite/states/parent.c: (main):
24822 * tools/gst-inspect.c: (print_element_flag_info),
24823 (print_implementation_info), (print_pad_info):
24824 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24825 (main):
24826 * tools/gst-md5sum.c: (event_loop), (main):
24827 * tools/gst-typefind.c: (main):
24828 * tools/gst-xmlinspect.c: (print_element_info):
24829 Next big merge.
24830 Added GstBus for mainloop integration.
24831 Added GstMessage for sending notifications on the bus.
24832 Added GstTask as an abstraction for pipeline entry points.
24833 Removed GstThread.
24834 Removed Schedulers.
24835 Simplified GstQueue for multithreaded core.
24836 Made _link threadsafe, removed old capsnego.
24837 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24838 Added pad blocking functions.
24839 Reworked scheduling functions in GstPad to prepare for
24840 scheduling updates soon.
24841 Moved events out of data stream.
24842 Simplified GstEvent types.
24843 Added return values to push/pull.
24844 Removed clocking from GstElement.
24845 Added prototypes for state change function for next merge.
24846 Removed iterate from bins and state change management.
24847 Fixed some elements, disabled others for now.
24848 Fixed -inspect and -launch.
24849 Added check for GstBus.
24851 2005-03-10 Wim Taymans <wim@fluendo.com>
24853 * docs/design/part-MT-refcounting.txt:
24854 * docs/design/part-clocks.txt:
24855 * docs/design/part-gstelement.txt:
24856 * docs/design/part-gstobject.txt:
24857 * docs/design/part-standards.txt:
24858 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24859 (gst_bin_remove_func), (gst_bin_remove):
24860 * gst/gstbin.h:
24861 * gst/gstbuffer.c:
24862 * gst/gstcaps.h:
24863 * testsuite/clock/clock1.c: (main):
24864 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24865 (main):
24866 * testsuite/dlopen/loadgst.c: (do_test):
24867 * testsuite/refcounting/bin.c: (add_remove_test1),
24868 (add_remove_test2), (main):
24869 * testsuite/refcounting/element.c: (main):
24870 * testsuite/refcounting/element_pad.c: (main):
24871 * testsuite/refcounting/pad.c: (main):
24872 * tools/gst-launch.c: (sigint_handler_sighandler):
24873 * tools/gst-typefind.c: (main):
24874 Doc updates.
24875 Added doc about clock.
24876 removed gst_bin_iterate_recurse_up(), marked methods
24877 for removal.
24878 Fix more testsuites.
24880 2005-03-09 Wim Taymans <wim@fluendo.com>
24882 * gst/gstpad.c: (gst_pad_get_direction),
24883 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24884 (gst_pad_collect_valist):
24885 * testsuite/bins/interface.c: (main):
24886 * testsuite/caps/audioscale.c: (test_caps):
24887 * testsuite/caps/caps.c: (test1), (test2), (test3):
24888 * testsuite/caps/deserialize.c: (main):
24889 * testsuite/caps/enumcaps.c: (main):
24890 * testsuite/caps/filtercaps.c: (main):
24891 * testsuite/caps/intersect2.c: (main):
24892 * testsuite/caps/random.c: (main):
24893 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24894 * testsuite/caps/sets.c: (check_caps):
24895 * testsuite/caps/simplify.c: (check_caps), (main):
24896 * testsuite/caps/subtract.c: (check_caps):
24897 Fix _pad_get_direction wrt ghostpads.
24898 Fix caps testsuite.
24900 2005-03-09 Wim Taymans <wim@fluendo.com>
24902 * check/Makefile.am:
24903 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24904 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24905 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24906 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24907 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24908 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24909 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24910 (bin_element_is_sink), (gst_bin_iterate_sinks),
24911 (gst_bin_iterate_all_by_interface):
24912 * gst/gstbin.h:
24913 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24914 (gst_element_change_state), (gst_element_dispose),
24915 (gst_element_finalize), (gst_element_set_loop_function):
24916 * gst/gstelement.h:
24917 * gst/gstiterator.c: (find_custom_fold_func):
24918 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24919 (gst_pad_collectv), (gst_pad_collect_valist),
24920 (gst_pad_template_new):
24921 * gst/gstpipeline.c: (gst_pipeline_class_init),
24922 (gst_pipeline_dispose), (gst_pipeline_set_property),
24923 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24924 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24925 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24926 * gst/gstutils.h:
24927 * gst/schedulers/entryscheduler.c:
24928 * gst/schedulers/gstbasicscheduler.c:
24929 (gst_basic_scheduler_cothreaded_chain),
24930 (gst_basic_scheduler_chain_add_element):
24931 * testsuite/bins/interface.c: (main):
24932 Added GstBin test.
24933 Added GstSystemClock test.
24934 Implemented clock distribution code in GstBin.
24935 Implemented iterate sinks method for future use.
24936 Rearranged gstelement.h
24937 Fix GstIterator comparison bug.
24938 Moved some code to GstPipeline, mostly clocking related.
24940 2005-03-09 Wim Taymans <wim@fluendo.com>
24942 * configure.ac:
24943 * gst/gst_private.h:
24944 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24945 (gst_bin_remove_func), (gst_bin_remove),
24946 (gst_bin_get_by_name_recurse_up):
24947 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24948 (gst_clock_id_compare_func), (gst_clock_id_wait),
24949 (gst_clock_id_wait_async), (gst_clock_init),
24950 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24951 * gst/gstelement.h:
24952 * gst/gstinfo.c: (_gst_debug_init):
24953 * gst/gstobject.h:
24954 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24955 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24956 * gst/gstpad.h:
24957 Bump version number, we're now 0.9.0
24958 Add future debugging category.
24959 Fix NULL _unref() in _get_by_name_recurse_up
24960 Rearrange gstpad.h.
24961 Update some docs.
24963 2005-03-08 Wim Taymans <wim@fluendo.com>
24965 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24966 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24967 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24968 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24969 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24970 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24971 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24972 * gst/elements/gstidentity.c: (gst_identity_class_init):
24973 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24974 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24975 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24976 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24977 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24978 (gst_tee_link):
24979 * gst/gstelement.c: (gst_element_class_init),
24980 (gst_element_base_class_init), (gst_element_init),
24981 (gst_element_get_random_pad), (gst_element_wait_state_change),
24982 (gst_element_change_state), (gst_element_dispose),
24983 (gst_element_finalize), (gst_element_set_loop_function):
24984 * gst/gstelement.h:
24985 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24986 * gst/gstthread.c: (gst_thread_class_init),
24987 (gst_thread_release_children_locks), (gst_thread_change_state):
24988 * gst/schedulers/gstbasicscheduler.c:
24989 (gst_basic_scheduler_loopfunc_wrapper),
24990 (gst_basic_scheduler_chain_wrapper),
24991 (gst_basic_scheduler_src_wrapper),
24992 (gst_basic_scheduler_remove_element):
24993 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24994 Remove threadsafe properties. Fix elements because GObject
24995 complains when installing a property before declaring a
24996 set/get_property handler.
24997 Rearrange gstelement.h file, use STATE macros for state locks.
24998 Free mutexes in the finalize method instead of dispose.
25000 2005-03-08 Wim Taymans <wim@fluendo.com>
25002 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25003 * gst/gstthread.c: (gst_thread_release_children_locks):
25004 Added parentage check.
25005 Fix build og GstThread again.
25007 2005-03-08 Wim Taymans <wim@fluendo.com>
25009 * docs/design/part-MT-refcounting.txt:
25010 * docs/design/part-conventions.txt:
25011 * docs/design/part-gstobject.txt:
25012 * docs/design/part-relations.txt:
25013 * docs/design/part-standards.txt:
25014 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25015 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25016 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25017 (gst_bin_iterate_all_by_interface):
25018 * gst/gstbuffer.h:
25019 * gst/gstclock.h:
25020 * gst/gstelement.c: (gst_element_class_init),
25021 (gst_element_change_state), (gst_element_set_loop_function):
25022 * gst/gstelement.h:
25023 * gst/gstiterator.c:
25024 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25025 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25026 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25027 (gst_object_set_parent), (gst_object_unparent),
25028 (gst_object_check_uniqueness):
25029 * gst/gstobject.h:
25030 Docs updates, clean up some headers.
25032 2005-03-07 Wim Taymans <wim@fluendo.com>
25034 * check/.cvsignore:
25035 * check/Makefile.am:
25036 * check/gst-libs/.cvsignore:
25037 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25038 * check/gst/.cvsignore:
25039 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25040 (START_TEST), (gstbus_suite), (main):
25041 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25042 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25043 (gst_data_suite), (main):
25044 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25045 (add_fold_func), (gstiterator_suite), (main):
25046 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25047 (thread_name_object), (thread_name_object_default),
25048 (gst_object_name_compare), (gst_object_suite), (main):
25049 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25050 (gst_pad_suite), (main):
25051 * check/gstcheck.c: (gst_check_log_message_func),
25052 (gst_check_log_critical_func), (gst_check_init):
25053 * check/gstcheck.h:
25054 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25055 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25056 Added checks.
25058 2005-03-07 Wim Taymans <wim@fluendo.com>
25060 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25061 (gst_list_iterator_next), (gst_list_iterator_resync),
25062 (gst_list_iterator_free), (gst_iterator_new_list),
25063 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25064 (gst_iterator_free), (gst_iterator_push), (filter_next),
25065 (filter_resync), (filter_uninit), (filter_free),
25066 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25067 (gst_iterator_foreach), (find_custom_fold_func),
25068 (gst_iterator_find_custom):
25069 * gst/gstiterator.h:
25070 Added missing files.
25072 2005-03-07 Wim Taymans <wim@fluendo.com>
25074 * Makefile.am:
25075 * configure.ac:
25076 * docs/design/part-MT-refcounting.txt:
25077 * docs/design/part-conventions.txt:
25078 * docs/design/part-gstobject.txt:
25079 * docs/design/part-relations.txt:
25080 * examples/mixer/mixer.c: (main):
25081 * examples/thread/thread.c: (eos), (main):
25082 * gst/Makefile.am:
25083 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25084 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25085 (gst_spider_plug_from_srcpad):
25086 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25087 (gst_spider_identity_change_state),
25088 (gst_spider_identity_sink_loop_type_finding):
25089 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25090 * gst/elements/gstidentity.c: (gst_identity_init):
25091 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25092 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25093 * gst/elements/gsttypefindelement.c: (free_entry):
25094 * gst/gst.c:
25095 * gst/gst.h:
25096 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25097 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25098 (gst_bin_set_index), (gst_bin_set_element_sched),
25099 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25100 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25101 (gst_bin_iterate_elements), (iterate_child_recurse),
25102 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25103 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25104 (compare_interface), (gst_bin_get_by_interface),
25105 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25106 * gst/gstbin.h:
25107 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25108 (gst_buffer_default_free), (gst_buffer_default_copy),
25109 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25110 (gst_buffer_create_sub):
25111 * gst/gstbuffer.h:
25112 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25113 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25114 (gst_caps_unref), (gst_static_caps_get),
25115 (gst_caps_remove_and_get_structure), (gst_caps_append),
25116 (gst_caps_append_structure), (gst_caps_remove_structure),
25117 (gst_caps_copy_nth), (gst_caps_set_simple),
25118 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25119 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25120 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25121 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25122 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25123 (gst_caps_structure_figure_out_union),
25124 (gst_caps_switch_structures), (gst_caps_do_simplify),
25125 (gst_caps_replace), (gst_caps_from_string),
25126 (gst_caps_copy_conditional):
25127 * gst/gstcaps.h:
25128 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25129 (_gst_clock_id_free), (gst_clock_id_unref),
25130 (gst_clock_id_compare_func), (gst_clock_id_wait),
25131 (gst_clock_id_wait_async), (gst_clock_class_init),
25132 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25133 (gst_clock_get_time), (gst_clock_set_time_adjust),
25134 (gst_clock_set_property), (gst_clock_get_property):
25135 * gst/gstclock.h:
25136 * gst/gstcompat.h:
25137 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25138 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25139 * gst/gstdata.h:
25140 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25141 (gst_element_requires_clock), (gst_element_provides_clock),
25142 (gst_element_set_clock), (gst_element_clock_wait),
25143 (gst_element_wait), (gst_element_set_time_delay),
25144 (gst_element_is_indexable), (gst_element_add_pad),
25145 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25146 (pad_compare_name), (gst_element_get_static_pad),
25147 (gst_element_request_pad), (gst_element_get_request_pad),
25148 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25149 (gst_element_class_get_pad_template_list),
25150 (gst_element_class_get_pad_template), (gst_element_error_func),
25151 (gst_element_get_random_pad), (gst_element_get_event_masks),
25152 (gst_element_send_event), (gst_element_seek),
25153 (gst_element_get_query_types), (gst_element_query),
25154 (gst_element_get_formats), (gst_element_convert),
25155 (gst_element_is_locked_state), (gst_element_set_locked_state),
25156 (gst_element_sync_state_with_parent), (gst_element_change_state),
25157 (gst_element_finalize), (gst_element_yield),
25158 (gst_element_interrupt), (gst_element_set_scheduler),
25159 (gst_element_get_scheduler), (gst_element_set_loop_function):
25160 * gst/gstelement.h:
25161 * gst/gstevent.h:
25162 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25163 (gst_format_get_by_nick), (gst_format_get_details),
25164 (gst_format_iterate_definitions):
25165 * gst/gstformat.h:
25166 * gst/gstindex.c: (gst_index_gtype_resolver):
25167 * gst/gstinfo.c:
25168 * gst/gstinfo.h:
25169 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25170 (gst_mem_chunk_free):
25171 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25172 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25173 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25174 (gst_object_dispatch_properties_changed),
25175 (gst_object_set_name_default), (gst_object_set_name),
25176 (gst_object_get_name), (gst_object_set_name_prefix),
25177 (gst_object_get_name_prefix), (gst_object_set_parent),
25178 (gst_object_get_parent), (gst_object_unparent),
25179 (gst_object_check_uniqueness), (gst_object_save_thyself),
25180 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25181 (gst_object_set_property), (gst_object_get_property),
25182 (gst_object_get_path_string):
25183 * gst/gstobject.h:
25184 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25185 (gst_real_pad_init), (gst_real_pad_get_property),
25186 (gst_pad_custom_new), (gst_pad_get_direction),
25187 (gst_pad_set_active), (gst_pad_is_active),
25188 (gst_pad_set_event_function), (gst_pad_is_linked),
25189 (gst_pad_link_free), (gst_pad_link_intersect),
25190 (gst_pad_link_fixate), (gst_pad_set_caps),
25191 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25192 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25193 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25194 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25195 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25196 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25197 (gst_pad_realize), (gst_pad_get_allowed_caps),
25198 (gst_real_pad_dispose), (gst_real_pad_finalize),
25199 (gst_pad_collectv), (gst_pad_collect_valist),
25200 (gst_pad_template_dispose), (gst_pad_template_new),
25201 (gst_pad_get_internal_links):
25202 * gst/gstpad.h:
25203 * gst/gstpipeline.c: (gst_pipeline_dispose),
25204 (gst_pipeline_change_state):
25205 * gst/gstpipeline.h:
25206 * gst/gstplugin.c:
25207 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25208 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25209 * gst/gstpluginfeature.h:
25210 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25211 * gst/gstquery.c: (_gst_query_type_initialize),
25212 (gst_query_type_register), (gst_query_type_get_by_nick),
25213 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25214 * gst/gstquery.h:
25215 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25216 * gst/gstscheduler.c: (gst_scheduler_add_element),
25217 (gst_scheduler_factory_create):
25218 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25219 (gst_structure_free), (gst_structure_set_name),
25220 (gst_structure_id_set_value), (gst_structure_set_value),
25221 (gst_structure_set_valist), (gst_structure_remove_field),
25222 (gst_structure_remove_fields),
25223 (gst_structure_remove_fields_valist),
25224 (gst_structure_remove_all_fields), (gst_structure_foreach),
25225 (gst_structure_map_in_place),
25226 (gst_caps_structure_fixate_field_nearest_int),
25227 (gst_caps_structure_fixate_field_nearest_double):
25228 * gst/gststructure.h:
25229 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25230 (gst_system_clock_init), (gst_system_clock_dispose),
25231 (gst_system_clock_async_thread),
25232 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25233 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25234 * gst/gstsystemclock.h:
25235 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25236 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25237 * gst/gsttaginterface.c:
25238 * gst/gstthread.c: (gst_thread_dispose),
25239 (gst_thread_release_children_locks), (gst_thread_change_state),
25240 (gst_thread_main_loop):
25241 * gst/gsttrashstack.h:
25242 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25243 * gst/gsttypes.h:
25244 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25245 (gst_element_request_pad), (gst_element_get_pad_from_template),
25246 (gst_element_request_compatible_pad),
25247 (gst_element_get_compatible_pad_filtered),
25248 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25249 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25250 (gst_element_link_many), (gst_element_link),
25251 (gst_element_link_pads), (gst_element_unlink_pads),
25252 (gst_element_unlink_many), (gst_element_unlink),
25253 (gst_pad_can_link_filtered), (gst_pad_can_link),
25254 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25255 (gst_object_default_error), (gst_bin_add_many),
25256 (gst_bin_remove_many), (gst_element_populate_std_props),
25257 (gst_element_class_install_std_props), (gst_buffer_merge),
25258 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25259 (link_fold_func), (gst_pad_proxy_setcaps):
25260 * gst/gstutils.h:
25261 * gst/gstvalue.c: (gst_value_deserialize_string):
25262 * gst/parse/grammar.y:
25263 * gst/schedulers/gstbasicscheduler.c:
25264 (gst_basic_scheduler_cothreaded_chain),
25265 (gst_basic_scheduler_chain_recursive_add),
25266 (gst_basic_scheduler_pad_link):
25267 * gst/schedulers/gstoptimalscheduler.c:
25268 (get_group_schedule_function),
25269 (gst_opt_scheduler_state_transition),
25270 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25271 * libs/gst/bytestream/bytestream.c:
25272 * libs/gst/dataprotocol/dataprotocol.c:
25273 (gst_dp_header_from_buffer):
25274 * po/nb.po:
25275 * po/ru.po:
25276 * tests/threadstate/threadstate2.c: (eos):
25277 * tools/gst-compprep.c: (main):
25278 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25279 (print_pad_info), (print_children_info):
25280 * tools/gst-launch.c: (idle_func), (main):
25281 * tools/gst-md5sum.c: (idle_func), (main):
25282 * tools/gst-xmlinspect.c: (print_element_info):
25283 First THREADED backport attempt, focusing on adding locks and
25284 making sure the API is threadsafe. Needs more work. More docs
25285 follow this week.
25287 2005-02-24 Andy Wingo <wingo@pobox.com>
25289 * tests/bench-complexity.scm:
25290 * tests/complexity.gnuplot: New files, good for running complexity
25291 benchmarks.
25293 * tests/Makefile.am:
25294 * tests/complexity.c: New test, sets up N elements, at each level
25295 teeing into M streams per element. Eeeenteresting.
25297 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25298 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25299 running bench-mass_elements.scm.
25301 * tests/bench-mass_elements.scm: New script, runs mass_elements
25302 for various numbers of identities, outputting the results to a
25303 file. Requires guile 1.6. Just for testing.
25305 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25307 * gst/schedulers/fairscheduler.c:
25308 compile with debug disabled
25310 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25312 * configure.ac:
25313 hunting season on 0.9 is now OPEN