1 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5 field has moved to GstObject.
7 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
9 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
10 (gst_base_src_get_range), (gst_base_src_change_state):
11 Call unlock for live sources so that they can't get stuck in _create and
12 produce a buffer before they are set back to PLAYING.
14 2007-10-02 Edward Hervey <bilboed@bilboed.com>
16 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
17 (gst_queue_locked_dequeue):
18 Comment the segment-related code... in the PROPER function.
19 See #482147 and my commit from yesterday.
21 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
23 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
24 Also initialize the counter that calculates the first timestamp on a
25 buffer correctly for non-live sources.
27 2007-10-01 Edward Hervey <bilboed@bilboed.com>
29 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
30 Disable code that's breaking the current-time-level reporting.
33 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
35 * docs/gst/gstreamer-sections.txt:
36 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
37 as they shouldn't show up. Fixes the docs build.
39 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
42 Add an explicit variable importation needed on VS6 (only for MSC_VER)
43 Define M_PI which is used in files which are including gstinfo.h.
44 VS6 includes doesn't define it.
45 * win32/common/libgstbase.def:
46 * win32/common/libgstcontroller.def:
47 * win32/common/libgstreamer.def:
48 Add new exported functions and variables.
49 * win32/vs6/libgstcontroller.dsp:
50 * win32/vs6/libgstreamer.dsp:
51 Update the list of files to build.
53 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
55 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
57 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
58 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
59 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
60 Improve debugging. Fixes #480858.
62 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
64 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
66 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
67 First patch of code cleanups, use the macros and right arguments in the
68 macros to signal and lock the queue. See #480858.
70 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
72 * gst/gstbus.c: (poll_func):
73 Improve debugging when dealing with _poll().
75 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
77 * gst/gstregistryxml.c:
78 Fix memory leak I introduced a few days ago.
80 2007-09-26 Michael Smith <msmith@fluendo.com>
82 * gst/gstbuffer.c: (gst_buffer_finalize):
83 Make it once again possible to free GstBuffers in the default
85 The poisoning scribbles on parts of the miniobject we need in
89 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
91 * docs/gst/gstreamer-sections.txt:
94 API: add GST_TAG_COMPOSER, fixes #459809.
96 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
100 Add the 3-clause BSD license and the MIT/X11 license to the license
103 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
105 * docs/faq/getting.xml:
106 Add Q+A about different GStreamer versions (#364056).
108 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
110 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
111 (gst_base_sink_event), (gst_base_sink_change_state):
112 Return correct gboolean from query function.
114 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
116 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
117 (gst_base_sink_event), (gst_base_sink_query),
118 (gst_base_sink_change_state):
119 Simplify latency query.
120 When not synchronizing, we can report latency without querying the peer
123 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
127 Fix small typos in the docs.
129 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
131 * docs/design/draft-latency.txt:
132 * docs/design/draft-push-pull.txt:
133 * docs/design/draft-tagreading.txt:
134 * docs/design/part-MT-refcounting.txt:
135 * docs/design/part-activation.txt:
136 * docs/design/part-block.txt:
137 * docs/design/part-element-source.txt:
138 * docs/design/part-events.txt:
139 * docs/design/part-gstbin.txt:
140 * docs/design/part-gstelement.txt:
141 * docs/design/part-gstobject.txt:
142 * docs/design/part-gstpipeline.txt:
143 * docs/design/part-messages.txt:
144 * docs/design/part-preroll.txt:
145 * docs/design/part-push-pull.txt:
146 * docs/design/part-qos.txt:
147 * docs/design/part-query.txt:
148 * docs/design/part-scheduling.txt:
149 * docs/design/part-seeking.txt:
150 * docs/design/part-segments.txt:
151 * docs/design/part-states.txt:
152 Documentation updates and typo fixes.
154 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
156 * plugins/elements/gstfakesink.c:
157 Add some debug text to error message to indicate that
158 we errored out on request.
160 * tools/gst-launch.c:
161 When the state change to PLAYING fails, check for an
162 error message on the bus and print it.
164 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
166 translated by: Jorge González González <aloriel@gmail.com>
170 Added Spanish translation.
172 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
174 * plugins/elements/gstqueue.c: (gst_queue_push_one):
175 Fix printf arguments.
177 2007-09-20 Stefan Kost <ensonic@users.sf.net>
179 * tests/check/generic/states.c:
180 Improved state change unit test.
182 2007-09-20 Stefan Kost <ensonic@users.sf.net>
185 Move priv to the right place.
187 * gst/gstsystemclock.c:
188 Add FIXME: and improve log.
190 * tests/check/Makefile.am:
191 * tests/examples/manual/Makefile.am:
192 Work with all types of registries.
194 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
196 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
197 Don't unref the event after pushing it. Fixes #478401.
199 2007-09-19 Stefan Kost <ensonic@users.sf.net>
202 * tests/examples/manual/.cvsignore:
203 Ignore registries in any format.
205 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
207 * gst/glib-compat-private.h:
208 Add compatibility macro for g_intern_string() for
209 GLib-2.8 (any reason we can't just bump the
210 requirement to at least 2.10?)
212 * gst/gstpadtemplate.h:
213 * gst/gstelementfactory.c:
214 * gst/gstregistryxml.c:
215 * gst/gstregistrybinary.c:
216 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
217 up the internal code accordingly. This shouldn't be a problem, since
218 there is no reason external code could ever assume the string in such
219 a structure is dynamically allocated unless it did that itself; the
220 use of g_strdup() is private to element factories. The new code also
221 saves some memory by putting pad template name strings into the GLib
222 quark table instead of allocating them dynamically.
223 Declaring this field constant fixes warnings with g++-4.2 when using
224 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
226 2007-09-19 Stefan Kost <ensonic@users.sf.net>
228 * gst/gstelementfactory.c:
229 Release static caps. Fixes #475723.
231 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
235 Make some internal API take const gchar * instead of just
236 gchar * to avoid compiler warnings with g++-4.2.2 when
237 passing string constants (partially fixes #478092).
239 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
241 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
242 A latency query fails when one of the sinks fail.
244 * gst/gstelement.c: (gst_element_set_base_time):
247 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
249 * gst/gstbin.c: (gst_bin_continue_func):
250 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
251 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
252 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
254 Fix minor compilation warnings shown with Forte.
256 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
258 * plugins/elements/gstqueue.c: (apply_buffer),
259 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
260 Measure queue level based on the diff between head and tail timestamps
261 even when pushing the first buffer.
263 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
265 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
266 (gst_base_sink_event), (gst_base_sink_change_state):
267 Sinks that don't preroll can always be queried for the latency.
268 Don't post ASYNC start when we are not async.
270 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
272 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
273 (gst_queue_handle_sink_event), (gst_queue_chain),
274 (gst_queue_push_one), (gst_queue_handle_src_query),
275 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
276 * plugins/elements/gstqueue.h:
277 When downstream returns UNEXPECTED from pushing a buffer, don't try to
278 push more buffers but allow pushing of EOS and NEWSEGMENT.
279 Add some more debug info here and there. Fixes #476514.
281 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
283 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
284 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
285 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
286 (gst_base_sink_set_flushing), (gst_base_sink_query),
287 (gst_base_sink_change_state):
288 Latency query is allowed after we are prerolled. Introduce a new flag
289 for this and stop abusing other variables.
291 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
293 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
294 Push OOB events downstream when we get them in send_event. This allows
295 the application to insert events in the pipeline.
296 Add some more comments.
298 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
300 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
301 (do_bin_latency), (gst_bin_change_state_func):
302 * gst/gstpipeline.c: (gst_pipeline_change_state):
303 Move latency query from GstPipeline to GstBin so that we can also
304 use it when async-handling is enabled on bins.
306 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
308 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
309 (gst_base_src_do_sync), (gst_base_src_change_state):
311 Clean up the timestamping and syncing code for pseudo live sources.
313 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
315 Patch by: Steve Fink <sphink gmail com>
317 * docs/manual/appendix-checklist.xml:
318 Mention less -R switch in the section about debug output (#474055).
320 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
322 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
323 Queue can latency to the pipeline up to the configured max size in time.
324 Report this fact in the latency query.
326 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
328 Patch by: Sebastien Moutte <sebastien at moutte dot net>
330 * libs/gst/controller/gstinterpolation.c:
331 * libs/gst/controller/gstlfocontrolsource.c:
332 Use gst_guint64_to_gdouble() when converting from a uint64 or
333 GstClockTime to double to fix the build on win32. Fixes #474371.
335 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
337 * gst/gstbuffer.c: (gst_buffer_finalize):
338 Implement poisoning for GstBuffer if --enable-poisoning is specified.
339 When finalizing a buffer the complete struct is filled with 0xff,
340 thus making a use of the buffer after the final unref impossible.
342 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
344 * tests/check/libs/controller.c: (GST_START_TEST):
345 Use fail_unless_equals_int(a, b) instead of
346 fail_unless_equals (a == b) to get better output on failures.
348 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
350 * tests/check/gst/gsturi.c:
351 Also check for the other file URI variant on win32.
353 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
355 * gst/gsturi.c: (gst_uri_get_location):
356 If there's no hostname, we want to return 'c:/foo/bar.txt'
357 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
359 * tests/check/gst/gsturi.c:
360 Unit test for the above and a few more things.
362 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
364 * docs/design/part-live-source.txt:
365 Add docs on how live sources should timestamp.
367 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
368 Add some more debug info.
369 For subclasses that are live and like to sync, add aditional startup
370 latency to sync time and timestamps so that we timstamp according to the
373 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
376 Also do a g_type_class_ref() for the subbuffer type in
379 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
381 * docs/gst/gstreamer-sections.txt:
382 * gst/gstpad.c: (gst_pad_peer_query):
384 Add function to perform a query on the peer of a pad.
385 API: gst_pad_peer_query()
387 2007-09-11 Stefan Kost <ensonic@users.sf.net>
389 * tests/check/gst/gstsystemclock.c:
390 Cleanup the test a little (use gst-logging and not g_message). Improve
391 test to check if a wait reached the target.
393 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
395 * docs/libs/gstreamer-libs-sections.txt:
396 Add new API to docs and fix the build.
398 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
400 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
401 (gst_base_src_init), (gst_base_src_set_do_timestamp),
402 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
403 (gst_base_src_get_property), (gst_base_src_do_sync):
404 * libs/gst/base/gstbasesrc.h:
405 Add property to make the basesrc timestamp buffers based on the current
407 API: GstBaseSrc::do-timestamp
408 API: gst_base_src_set_do_timestamp()
409 API: gst_base_src_get_do_timestamp()
411 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
413 * docs/random/release:
414 Really make sure translations are up-to-date before
417 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
419 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
420 Always destroy the timer, also in error cases.
422 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
424 * docs/manual/highlevel-xml.xml:
425 Fix XML example code. Fixes #472714.
427 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
429 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
430 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
431 (gst_base_sink_query):
432 Protect eos and have_preroll with the OBJECT lock so we don't need to
433 take the PREROLL lock when querying the latency. Fixes #473846.
435 2007-09-05 Stefan Kost <ensonic@users.sf.net>
438 Give some log-messages a category.
440 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
442 * gst/gststructure.c:
443 (gst_structure_fixate_field_nearest_fraction):
444 Fix fraction list fixation code. Take the fraction with the smallest
445 difference with the target instead of the first one in the list.
447 * tests/check/gst/gststructure.c: (GST_START_TEST),
448 (gst_structure_suite):
449 Added test to verify correct fraction list fixation behaviour.
451 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
453 * win32/common/libgstreamer.def:
454 Export gst_bus_add_signal_watch too.
456 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
458 * docs/libs/gstreamer-libs-sections.txt:
459 Add new methods to docs.
461 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
462 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
463 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
464 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
465 * libs/gst/base/gstbasesink.h:
466 Add ts-offset property to fine-tune the synchronisation.
467 API: GstBaseSink::ts-offset property
468 API: gst_base_sink_set_ts_offset()
469 API: gst_base_sink_get_ts_offset()
471 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
473 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
474 (gst_base_sink_init), (gst_base_sink_set_sync),
475 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
476 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
477 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
478 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
479 (gst_base_sink_get_property), (gst_base_sink_change_state):
480 * libs/gst/base/gstbasesink.h:
481 Add async property to instruct the sink never to inform the parent about
482 ASYNC state changes, update docs.
483 Check argument with g_return_* for the public functions.
484 API: GstBaseSink::async property
485 API: gst_base_sink_set_async_enabled()
486 API: gst_base_sink_is_async_enabled()
488 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
490 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
493 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
494 (gst_base_src_default_query), (gst_base_src_wait),
495 (gst_base_src_do_sync), (gst_base_src_change_state):
496 Rearrange some code so that we can add support for measuring the
499 2007-08-27 Stefan Kost <ensonic@users.sf.net>
501 * docs/random/ensonic/dynlink.txt:
502 More thoughs on this.
504 * plugins/elements/gstcapsfilter.c:
505 Add bugzilla ticket number to FIXME comment.
507 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
509 * docs/design/part-TODO.txt:
510 * docs/design/part-block.txt:
513 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
516 Revert patch which uses $(gst_headers) instead of $^ because it
519 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
521 * tests/check/gst/gstbin.c: (GST_START_TEST):
522 Fix leaks in the new unit test.
524 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
527 Don't use GST_INFO before the debug system is actually initialised
528 (shouldn't do any harm, but won't print anything either, so we can
529 just as well remove it).
532 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
533 compilers that don't support variadic macros (such as MSVC), should
534 check for debug_level <= __gst_debug_min as well, since that's the
535 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
536 inline helper functions. Should improve performance a bit, but also
537 makes sure uses of GST_INFO et.al are ignored if the debugging
538 system isn't initialised yet (instead of printing an assertion
541 2007-08-23 Stefan Kost <ensonic@users.sf.net>
543 patch by: David Nečas <yeti@physics.muni.cz>
546 Replace some non portable makefile constructs.
548 2007-08-21 Stefan Kost <ensonic@users.sf.net>
550 * common/gtk-doc-plugins.mak:
551 Grrrrr. Don't remove the types file on make clean.
553 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
555 * tools/gst-launch.1.in:
556 Add colorspace to example pipeline. Fixes #458274.
558 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
560 * docs/random/release:
561 The release manager should run 'make download-po' before making a
562 release to make sure translations are up-to-date.
568 Add some new translations.
570 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
572 * tools/gst-launch.c: (event_loop), (main):
573 Don´t try to do any state management when a live pipeline posts
575 Also make the buffering string translatable.
577 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
579 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
580 (bin_handle_async_start), (gst_bin_handle_message_func):
582 When adding elements, insert messages into the bus of the newly added
583 element and make sure the element is the source of the message. This
584 allows the parent bin to intercept the message and do the
585 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
586 messages to the app (which is not allowed).
589 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
590 Fix testsuite so that is does not work around messages that should not
591 have been posted in the first place.
593 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
595 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
596 (update_degree), (gst_bin_sort_iterator_next):
597 Fix annoying bug in the sorted iterator where a sink that is not really
598 a sink (when it has downstream links) screwed up the iterator.
600 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
601 Unit test to verify the fix.
603 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
606 Add some more docs for the messages.
608 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
609 (gst_base_sink_query):
610 Add some more debugging.
612 * tools/gst-launch.c: (event_loop):
613 When interrupting, don't try to set pipeline to PAUSED twice.
615 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
618 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
619 (bin_handle_async_start), (gst_bin_handle_message_func):
620 Move ASYNC_START message posting to where it belongs, similar to
622 Don't post ASYNC_START when we are in error.
623 Post ASYNC_START when we added an async element to a bin.
625 2007-08-14 Julien MOUTTE <julien@moutte.net>
627 * gst/gstindex.c: (gst_index_add_association): Fix index entry
628 generation from vargs. Fixes #466595.
630 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
632 * gst/gstbin.c: (gst_bin_element_set_state):
633 Always change the state of a NO_PREROLL element even if it has ASYNC
634 elements inside (in case of a bin).
636 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
637 Unit test for this case.
639 2007-08-13 Stefan Kost <ensonic@users.sf.net>
641 * libs/gst/check/gstbufferstraw.c:
642 * libs/gst/check/gstcheck.h:
643 * libs/gst/controller/gstcontroller.c:
644 * libs/gst/controller/gstcontrolsource.h:
645 * libs/gst/controller/gstlfocontrolsource.h:
646 * plugins/elements/gstcapsfilter.h:
647 * plugins/elements/gstfdsink.h:
648 * plugins/elements/gstfdsrc.h:
649 Add more missing docs.
651 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
653 * gst/gststructure.c:
654 Add Since tag to docs.
656 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
658 * docs/gst/gstreamer-sections.txt:
659 * gst/gststructure.c: (gst_structure_get_uint):
660 * gst/gststructure.h:
661 Add function to get uint from a structure.
662 API: gst_structure_get_uint()
664 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
666 * gst/gstcaps.c: (gst_caps_set_simple_valist),
667 (gst_caps_intersect):
668 Fix proper check for simple caps.
670 2007-08-10 Stefan Kost <ensonic@users.sf.net>
672 * docs/gst/Makefile.am:
673 * docs/libs/Makefile.am:
674 Remove cruft and do some cleanups.
676 * docs/gst/gstreamer-docs.sgml:
677 * docs/libs/gstreamer-libs-docs.sgml:
678 Prepare for comming gtkdoc features (rebase against online docs).
680 2007-08-10 Michael Smith <msmith@fluendo.com>
682 * docs/gst/gstreamer-sections.txt:
683 Add gst_registry_add_path to docs.
685 2007-08-10 Michael Smith <msmith@fluendo.com>
688 Add gst_registry_add_path, which was missing from this header.
690 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
692 * libs/gst/controller/gstlfocontrolsource.c:
695 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
697 * libs/gst/base/gstbasesink.c:
698 Don't send an async_start message during downwards state change if
699 target state is less than READY
701 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
703 translated by: Gabor Kelemen <kelemeng@gnome.hu>
707 Added Hungarian translation.
709 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
716 Updated translations.
718 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
720 * libs/gst/controller/Makefile.am:
721 Dist gstlfocontrolsourceprivate.h
723 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
725 * docs/libs/gstreamer-libs.types:
726 Don't register the enum type gst_lfo_waveform_get_type() in the
727 .types file - only GObject derived types belong.
729 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
731 Patch by: <arenevier at fdn dot fr>
734 Remove comma from last element in enum to avoid compile errors when
735 using -pendantic. Fixes #464366.
737 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
739 * docs/design/part-TODO.txt:
740 Add some more TODO items
742 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
745 * gst/gstcaps.c: (gst_caps_intersect):
746 Optimize trivial intersection case between identical caps pointers.
748 * gst/gstelement.c: (gst_element_continue_state),
749 (gst_element_set_state_func):
751 Fix spelling and grammar mistakes.
753 2007-08-05 Stefan Kost <ensonic@users.sf.net>
757 Update POTFILES. Fixes #461599.
759 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
762 Fix confusing typo in debug output.
764 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
766 reviewed by: Stefan Kost <ensonic@users.sf.net>
768 * libs/gst/controller/Makefile.am:
769 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
770 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
771 (gst_lfo_control_source_new),
772 (gst_lfo_control_source_set_waveform),
773 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
774 (gst_lfo_control_source_finalize),
775 (gst_lfo_control_source_dispose),
776 (gst_lfo_control_source_set_property),
777 (gst_lfo_control_source_get_property),
778 (gst_lfo_control_source_class_init):
779 * libs/gst/controller/gstlfocontrolsource.h:
780 * libs/gst/controller/gstlfocontrolsourceprivate.h:
781 API: Add GstLFOControlSource, a control source that gives values
782 for specific timestamps based on several periodic waveforms.
785 * tests/check/libs/controller.c: (GST_START_TEST),
786 (gst_controller_suite):
787 * docs/libs/gstreamer-libs-docs.sgml:
788 * docs/libs/gstreamer-libs-sections.txt:
789 * docs/libs/gstreamer-libs.types:
790 Add documentation and unit tests for GstLFOControlSource.
792 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
797 === release 0.10.14 ===
799 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
802 releasing 0.10.14, "Breathing Vacuum"
804 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
806 * gst/gstelement.c: (gst_element_class_set_details_simple):
808 Make strings passed to gst_element_class_set_details_simple()
809 constant, as they should be (#462752).
811 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
813 * gst/gstbin.c: (gst_bin_change_state_func),
814 (bin_handle_async_done), (gst_bin_handle_message_func):
815 Don't forget about the fact that some element went ASYNC even after a
816 resync. This makes us post the ASYNC_DONE message correctly.
819 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
821 * gst/gstregistry.c: (gst_registry_add_feature):
822 When replacing an existing feature in the registry, make sure to
823 continue holding a reference until we've replaced the name string
824 within our feature hash table. Make sure to use g_hash_table_replace
825 instead of g_hash_table_insert to ensure the new name string is used
826 as a key instead of the old one that we're about to free.
829 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
831 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
832 (gst_plugin_feature_set_name):
833 Revert patch from #459466 until after the release and we can work
834 out exactly what the problem is (if any).
836 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
838 * docs/gst/gstreamer-sections.txt:
841 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
843 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
845 * docs/libs/Makefile.am:
846 Include our build-prefix libs and includes before the generic ones to
847 avoid linking against the installed libs when we want the build-tree
850 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
852 Patch by: Steve Fink <sphink gmail com>
854 * docs/pwg/building-testapp.xml:
855 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
856 if people try to build or install the example from the plugin
857 template against a GStreamer from package using the configure
860 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
862 Patch by: Steve Fink <sphink gmail com>
864 * tools/gst-inspect.1.in:
865 Document --print-all and --print-plugin-auto-install-info command
866 line options in man page.
868 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
870 * docs/gst/gstreamer-sections.txt:
871 Add docs for new api function.
873 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
875 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
876 * gst/gstelementfactory.h:
877 API: gst_element_factory_has_interface()
878 Added method to check if an element factory implements a named
881 2007-07-25 Stefan Kost <ensonic@users.sf.net>
884 * docs/gst/gstreamer.types.in:
885 Another conditional doc check.
888 * gst/gstparamspecs.h:
889 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
894 2007-07-24 Stefan Kost <ensonic@users.sf.net>
896 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
897 (gst_registry_binary_load_feature),
898 (gst_registry_binary_load_plugin),
899 (gst_registry_binary_read_cache):
900 Print error just once and with additional info.
902 2007-07-24 Stefan Kost <ensonic@users.sf.net>
904 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
905 (helper_find_suggest), (helper_find_get_length),
906 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
907 (gst_type_find_helper_for_buffer):
908 Cleanup the typefindhelper code and add private doc comments.
910 2007-07-24 Edward Hervey <bilboed@bilboed.com>
912 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
913 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
914 Fix capsfilter for cases where the caps set on capsfilter will provide
915 additional information.
918 2007-07-24 Stefan Kost <ensonic@users.sf.net>
920 * gst/gsttypefindfactory.c:
921 Fix docs that recommened wrong function to use.
923 2007-07-23 Stefan Kost <ensonic@users.sf.net>
925 * tools/gst-inspect.c: (print_plugin_features):
926 Also give media-type for typefinders in element output.
928 2007-07-23 Stefan Kost <ensonic@users.sf.net>
930 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
931 (gst_registry_remove_features_for_plugin_unlocked),
932 (gst_registry_add_feature), (gst_registry_remove_feature),
933 (gst_registry_lookup_feature_locked):
935 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
938 2007-07-23 Stefan Kost <ensonic@users.sf.net>
940 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
941 (gst_plugin_feature_set_name):
942 Avoid double memory usage for pluginfeature names. Fixes #459466.
944 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
947 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
948 driving the pipeline may need to explicitly check for NOT_LINKED as
949 well, since IS_FATAL doesn't cover that.
951 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
953 * docs/pwg/advanced-types.xml:
954 Fix typo and duplicate entry in video formats list.
956 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
958 * libs/gst/controller/gstinterpolation.c:
959 Also round to the nearest int when using cubic interpolation.
961 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
963 * libs/gst/controller/gstinterpolation.c:
964 When linearly interpolating integer types, round to the nearest int
965 by adding 0.5. Don't do it for float/double types.
966 Fixes the failing controller test on my machine, which is somehow
967 rounding differently than on the buildbots.
969 2007-07-20 Stefan Kost <ensonic@users.sf.net>
971 * tools/gst-plot-timeline.py:
972 Better log parsing (categories can have -). Adjust text vs. lines, so
973 that they span the same y-range.
975 2007-07-20 Stefan Kost <ensonic@users.sf.net>
977 * docs/random/ensonic/audiobaseclasses.txt:
978 * docs/random/ensonic/dynlink.txt:
979 * docs/random/ensonic/profiling.txt:
982 * docs/random/moving-plugins:
983 Add note to use g_assert type macros.
985 2007-07-20 Stefan Kost <ensonic@users.sf.net>
988 * libs/gst/check/Makefile.am:
989 Add libm check as we use in for plugins.
991 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
993 * gst/gstbin.c: (gst_bin_continue_func):
994 Check that the state_cookie hasn't changed since the continue_func
995 was scheduled. Avoids problems where the state changes back to
996 something it shouldn't be because it was changed in the meantime.
998 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1000 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1001 (gst_registry_binary_save_string),
1002 (gst_registry_binary_save_pad_template),
1003 (gst_registry_binary_save_feature),
1004 (gst_registry_binary_save_plugin),
1005 (gst_registry_binary_load_feature),
1006 (gst_registry_binary_load_plugin),
1007 (gst_registry_binary_read_cache):
1008 Fix memory leak. Be less verbose in the log.
1010 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1012 * tests/check/elements/.cvsignore:
1013 Add file to cvsignore as commanded.
1015 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1017 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1018 (mq_dummypad_event), (run_output_order_test):
1019 Use a GStaticMutex to protect all cases where libcheck
1020 fail_if/fail_unless macros might be called from multiple threads
1021 simultaneously to avoid errors like:
1022 "check_pack.c:107: :-1081725400:Bad message type arg"
1024 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1026 * tests/check/pipelines/stress.c: (GST_START_TEST):
1027 Make sure we set the pipeline back to the NULL state before
1028 dropping our final reference.
1030 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1032 * tests/check/elements/tee.c: (GST_START_TEST):
1033 Make the tee stress-test a little less stressful so it doesn't just
1034 time out on slow-machines, and remove a small race when it's starting
1035 up by adding a get_state() call.
1037 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1040 Avoid reading registry twice on startup. Fixes #457322.
1042 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1044 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1045 * pkgconfig/gstreamer-check.pc.in:
1046 Substitute the CFLAGS for libcheck into our .pc file too so that
1047 dependent modules will pick it up properly if libcheck is installed
1048 into some other prefix.
1050 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1053 Revert the pkg-config check for libcheck, since it pulls in the
1054 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1055 a proper solution, either from the check project, or something else.
1057 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1060 Use pkg-config to locate check.
1062 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1069 Add deprecation guards.
1071 * libs/gst/base/gstcollectpads.h:
1072 Don't document object (this is implicitly private).
1074 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1076 * gst/gststructure.c: (gst_structure_parse_value):
1077 When deserialising foo=bar without a type cast, check if it's a
1078 boolean before falling back to a string type, otherwise things like
1079 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1080 because the filtercaps end up having a signed=(string)true field,
1081 which causes problems later when intersection caps.
1083 * tests/check/gst/gststructure.c: (GST_START_TEST):
1084 Add a unit test for this.
1086 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1088 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1090 * libs/gst/controller/Makefile.am:
1091 * libs/gst/controller/gstcontroller.c:
1092 (gst_controlled_property_add_interpolation_control_source),
1093 (gst_controlled_property_new), (gst_controlled_property_free),
1094 (gst_controller_find_controlled_property),
1095 (gst_controller_new_valist), (gst_controller_new_list),
1096 (gst_controller_new), (gst_controller_remove_properties_valist),
1097 (gst_controller_remove_properties_list),
1098 (gst_controller_remove_properties),
1099 (gst_controller_set_property_disabled),
1100 (gst_controller_set_disabled), (gst_controller_set_control_source),
1101 (gst_controller_get_control_source), (gst_controller_get),
1102 (gst_controller_sync_values), (gst_controller_get_value_array),
1103 (_gst_controller_dispose), (gst_controller_get_type),
1104 (gst_controlled_property_set_interpolation_mode),
1105 (gst_controller_set), (gst_controller_set_from_list),
1106 (gst_controller_unset), (gst_controller_unset_all),
1107 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1108 * libs/gst/controller/gstcontroller.h:
1109 * libs/gst/controller/gstcontrollerprivate.h:
1110 * libs/gst/controller/gstcontrolsource.c:
1111 (gst_control_source_class_init), (gst_control_source_init),
1112 (gst_control_source_get_value),
1113 (gst_control_source_get_value_array), (gst_control_source_bind):
1114 * libs/gst/controller/gstcontrolsource.h:
1115 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1116 (gst_object_get_control_source):
1117 * libs/gst/controller/gstinterpolation.c:
1118 (gst_interpolation_control_source_find_control_point_node),
1119 (gst_interpolation_control_source_get_first_value),
1120 (_interpolate_none_get), (interpolate_none_get),
1121 (interpolate_none_get_boolean_value_array),
1122 (interpolate_none_get_enum_value_array),
1123 (interpolate_none_get_string_value_array),
1124 (_interpolate_trigger_get), (interpolate_trigger_get),
1125 (interpolate_trigger_get_boolean_value_array),
1126 (interpolate_trigger_get_enum_value_array),
1127 (interpolate_trigger_get_string_value_array):
1128 * libs/gst/controller/gstinterpolationcontrolsource.c:
1129 (gst_control_point_free), (gst_interpolation_control_source_reset),
1130 (gst_interpolation_control_source_new),
1131 (gst_interpolation_control_source_set_interpolation_mode),
1132 (gst_interpolation_control_source_bind),
1133 (gst_control_point_compare), (gst_control_point_find),
1134 (gst_interpolation_control_source_set_internal),
1135 (gst_interpolation_control_source_set),
1136 (gst_interpolation_control_source_set_from_list),
1137 (gst_interpolation_control_source_unset),
1138 (gst_interpolation_control_source_unset_all),
1139 (gst_interpolation_control_source_get_all),
1140 (gst_interpolation_control_source_get_count),
1141 (gst_interpolation_control_source_init),
1142 (gst_interpolation_control_source_finalize),
1143 (gst_interpolation_control_source_dispose),
1144 (gst_interpolation_control_source_class_init):
1145 * libs/gst/controller/gstinterpolationcontrolsource.h:
1146 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1147 API: Refactor GstController into the core controller which can take
1148 a GstControlSource for providing actual values for timestamps.
1149 Implement a interpolation control source and use this for backward
1150 compatibility, deprecate a bunch of functions that are now handled
1151 by GstControlSource or GstInterpolationControlSource.
1152 Make it possible to disable the controller completely or only for
1153 specific properties. Fixes #450711.
1154 * docs/libs/gstreamer-libs-docs.sgml:
1155 * docs/libs/gstreamer-libs-sections.txt:
1156 * docs/libs/gstreamer-libs.types:
1157 Add new functions and classes to the docs.
1158 * tests/check/libs/controller.c: (GST_START_TEST),
1159 (gst_controller_suite):
1160 * tests/examples/controller/audio-example.c: (main):
1161 Port unit test and example to the new API and add some new
1164 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1166 Patch by: Mark Nauwelaerts <manauw at skynet be>
1168 * plugins/elements/gstmultiqueue.c:
1169 (gst_multi_queue_get_internal_links), (apply_buffer),
1170 (single_queue_overrun_cb), (gst_single_queue_new):
1171 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1172 the pipeline layout can be tracked correctly. Fixes #453732.
1174 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1176 * docs/gst/Makefile.am:
1177 * docs/libs/Makefile.am:
1178 * docs/plugins/Makefile.am:
1179 Simplify --extra-dir as gtkdoc scans recursively.
1181 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1183 * tools/gst-launch.c: (main):
1184 When we got an error, there is no point in waiting for preroll when
1187 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1189 * plugins/elements/gsttee.c: (gst_tee_base_init),
1190 (gst_tee_request_new_pad), (gst_tee_release_pad),
1191 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1192 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1194 Be a lot smarter when deciding what srcpad to use for proxying
1195 the buffer_alloc. Also handle pad added/removed when doing so.
1197 Keep track of what pads we already pushed on in case we have pads
1198 added/removed while pushing. Fixes #374639
1200 * tests/check/Makefile.am:
1201 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1203 Added unit test for pad resync.
1205 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1209 Updated translations.
1211 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1213 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1217 Added new Finnish translation.
1219 2007-06-28 Wim Taymans <wim@fluendo.com>
1221 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1222 (single_queue_overrun_cb):
1223 When figuring out when a queue is filled, use our internal time estimate
1224 based on segments, just like check_full does.
1226 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1228 * gst/gstminiobject.c: (gst_mini_object_get_type):
1229 Remove 3 do-nothing methods.
1231 2007-06-27 Wim Taymans <wim@fluendo.com>
1233 Patch by: Tim Angus <tim at ngus dot net>
1235 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1236 (gst_capsfilter_set_property):
1237 Take a reference instead of a copy when setting "caps".
1238 Fix documentation to clarify this behaviour. Fixes #449414.
1240 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1242 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1243 * gst/gstplugin.c: (gst_plugin_init):
1244 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1245 * gst/gstquery.c: (gst_query_get_type):
1246 * gst/gstregistry.c: (gst_registry_init):
1247 * gst/gsturi.c: (gst_uri_handler_base_init):
1248 Remove empty instance_init() functions to save relocs and lessen the
1249 noise. Remove some of the function prototypes that are doubled by
1252 2007-06-27 Wim Taymans <wim@fluendo.com>
1254 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1256 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1257 Add peer and direction in the XML serialisation of ghostpads.
1260 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1263 Preserve useful information, thanks Tim.
1265 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1267 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1268 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1269 (gst_single_queue_push_one), (gst_multi_queue_loop),
1270 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1271 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1272 (compute_high_id), (gst_single_queue_new):
1273 * plugins/elements/gstmultiqueue.h:
1274 Take the multiqueue lock when updating the fill level so we don't get
1277 After applying a buffer or event on the src pad segment, make sure to
1278 call gst_data_queue_limits_changed() to get the data queue to unblock
1279 and check the filled state again.
1281 Rework the not-linked pad handling so the logic is that not-linked
1282 pads can push as fast as they like, but only so they never get
1283 ahead of any linked pads.
1285 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1286 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1287 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1289 Add a test to check that not-linked pads always stay behind
1294 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1296 * docs/random/release:
1297 Some updates to the release procedure.
1299 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1301 * gst/gstelementfactory.c: (__gst_element_details_clear):
1302 Microoptimization that saves stunning 80 bytes.
1304 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1306 * docs/plugins/gstreamer-plugins.args:
1307 * docs/plugins/inspect/plugin-coreelements.xml:
1308 * docs/plugins/inspect/plugin-coreindexers.xml:
1309 Update docs with caps info.
1311 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1314 Updated Italian translation.
1316 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1320 Update Vietnamese translations.
1322 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1324 * libs/gst/base/gstbasesink.c:
1325 Remove unused signal enum.
1327 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1329 * docs/gst/gstreamer-sections.txt:
1331 * gst/gstutils.c: (gst_type_register_static_full):
1332 Beef up and include the docs for gst_type_register_static_full and
1333 gst_element_class_set_details_simple and add the API keyword
1336 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1338 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1339 (update_time_level), (gst_single_queue_push_one),
1340 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1341 (single_queue_overrun_cb), (single_queue_underrun_cb),
1342 (single_queue_check_full):
1343 Fix setting max-* properties after adding queues.
1344 Use IS_FILLED for checking visible items.
1345 Signal overrun if multiple queues overrun.
1346 Add extra debug output.
1347 Patch by: Wim Taymans <wim@fluendo.com>
1349 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1351 * gst/gstelement.c: (gst_element_class_set_details_simple):
1353 * gst/gstutils.c: (gst_type_register_static_full):
1355 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1356 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1357 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1358 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1359 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1360 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1361 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1362 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1363 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1364 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1365 (apply_buffer), (gst_queue_chain):
1366 * plugins/elements/gsttee.c: (gst_tee_base_init):
1367 * plugins/elements/gsttypefindelement.c:
1368 (gst_type_find_element_base_init),
1369 (gst_type_find_element_class_init):
1370 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1371 API: add gst_type_register_static_full
1372 API: add gst_element_class_set_details_simple
1374 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1376 * docs/pwg/advanced-types.xml:
1377 Fix typo in iana.org URI.
1379 2007-06-19 Andy Wingo <wingo@pobox.com>
1381 * tests/check/pipelines/simple-launch-lines.c
1382 (test_state_change_returns): Enable pull-mode tests now that
1383 basesink has been fixed.
1385 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1386 Changed from gst_base_sink_is_prerolled, reversing the sense of
1387 the return value. Returns FALSE also if the sink is in pull mode,
1388 in which case it needs no preroll.
1389 (gst_base_sink_query, gst_base_sink_change_state): Update for
1390 needs_preroll change.
1391 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1392 chaining up, in which we return SUCCESS directly if we activated
1393 in pull mode instead of ASYNC. Involves countering an async_start
1394 message sent before chaining up; not sure if this is correct, in
1395 an ideal world we only send async-start when activating in push
1398 * tests/check/pipelines/simple-launch-lines.c
1399 (test_state_change_returns): New test, partially disabled until
1402 2007-06-19 Wim Taymans <wim@fluendo.com>
1404 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1405 (gst_multi_queue_sink_event):
1408 2007-06-19 Wim Taymans <wim@fluendo.com>
1410 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1411 (gst_bin_change_state_func), (bin_push_state_continue),
1412 (bin_handle_async_start), (bin_handle_async_done),
1413 (gst_bin_handle_message_func):
1414 Move the common code for posting state-change messages into
1416 Broadcast the state signal after we posted the messages.
1417 Mark the bin as busy when it's doing a state-change.
1418 Make sure async-start/done messages don't interfere with the bin's
1419 state when it's busy.
1420 After the state change, let the bin check which elements completed the
1421 state change while it was busy so that it can update its state.
1423 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1425 * docs/random/release:
1426 Add a note about updating the doap file to the release checklist
1428 2007-06-18 Wim Taymans <wim@fluendo.com>
1430 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1431 (gst_single_queue_push_one), (gst_multi_queue_chain),
1432 (gst_multi_queue_sink_event):
1433 Make sure we don't reference the buffer/event after we have given away
1434 ownership in the queue.
1436 2007-06-18 Wim Taymans <wim@fluendo.com>
1438 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1439 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1440 Update queue state _after_ adding the item in the queue because else we
1441 could end up being full without the element added yet.
1443 2007-06-18 Wim Taymans <wim@fluendo.com>
1445 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1446 (gst_bin_remove_func), (gst_bin_get_state_func),
1447 (gst_bin_element_set_state), (gst_bin_continue_func),
1448 (bin_push_state_continue), (bin_handle_async_start),
1449 (bin_handle_async_done), (gst_bin_handle_message_func):
1451 Immediatly commit the toplevel bin state when receiving an async-done
1452 message. This enables us to avoid spawning a thread to commit the state
1453 in some common cases and it also avoids some races.
1454 Avoid spawning a state thread when adding/removing async elements to a
1455 toplevel bin. Instead we immediatly update the bin state.
1456 Get rid of iterating all the children when getting the state in the bin
1457 because it is now always up-to-date.
1458 Fix bug where locked elements would always return _SUCCESS even it they
1459 returned NO_PREROLL before being locked.
1460 Fix the order of the state_change, async-start/done messages that was
1461 sometimes incorrect.
1462 Mark the state_dirty field as deprecated, we don't need it anymore as we
1463 are always up-to-date.
1465 * gst/gstelement.c: (gst_element_get_state_func),
1466 (gst_element_continue_state):
1467 Small debug inprovements.
1468 Return the previous element state return when nothing is pending instead
1469 of blindly returning SUCCESS.
1471 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1473 Add a whole bunch of new testcases.
1475 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1479 Update translations.
1481 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1484 Fix typo in the docs.
1486 2007-06-15 Wim Taymans <wim@fluendo.com>
1488 * docs/libs/gstreamer-libs-sections.txt:
1489 Add docs for new methods.
1491 2007-06-15 Wim Taymans <wim@fluendo.com>
1493 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1494 (gst_multi_queue_item_new):
1495 Don't use GSlice because we don't depend on >= 2.10 yet.
1497 2007-06-15 Wim Taymans <wim@fluendo.com>
1499 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1500 (update_time_level), (apply_segment), (apply_buffer),
1501 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1502 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1503 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1504 (single_queue_underrun_cb), (single_queue_check_full):
1505 Remove debug printf.
1507 2007-06-15 Wim Taymans <wim@fluendo.com>
1509 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1510 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1511 (gst_data_queue_set_flushing), (gst_data_queue_push),
1512 (gst_data_queue_pop), (gst_data_queue_drop_head),
1513 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1514 * libs/gst/base/gstdataqueue.h:
1516 Added methods to get the current levels and to inform the queue that the
1517 'full' limits changed.
1519 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1520 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1521 (gst_single_queue_flush), (update_time_level), (apply_segment),
1522 (apply_buffer), (gst_single_queue_push_one),
1523 (gst_multi_queue_item_steal_object),
1524 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1525 (gst_multi_queue_loop), (gst_multi_queue_chain),
1526 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1527 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1528 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1529 (single_queue_underrun_cb), (single_queue_check_full),
1530 (gst_single_queue_new):
1531 Keep track of time in the queue by measuring the difference between
1532 running_time on input and output. This gives more accurate results and
1533 can compensate for segments correctly.
1534 Make a queue by default only 5 buffers deep. We will now increase the
1535 buffer size depending on the filledness of the other queues.
1536 Factor out commong flush code.
1537 Make sure we don't add additional refcounts to buffers when we can avoid
1539 Propagate GstFlowReturn differently.
1540 Use GSlice for intermediate GstMultiQueueItems.
1542 Resize queues on over and underruns based on filled level of other
1544 When checking if the queue is filled, prefer to measure in time if we
1545 can and fall back to bytes when no time is known.
1547 * plugins/elements/gstqueue.c:
1550 2007-06-15 Wim Taymans <wim@fluendo.com>
1552 * libs/gst/base/gstbasetransform.c:
1553 (gst_base_transform_sink_event):
1554 Work around the brokenness of the event vmethod in basetransform. Prefer
1555 to return TRUE when the subclass returned FALSE (meaning don't forward
1558 * libs/gst/base/gstbasetransform.h:
1561 2007-06-15 Wim Taymans <wim@fluendo.com>
1563 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1564 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1565 (gst_base_src_default_query), (gst_base_src_get_range),
1566 (gst_base_src_start):
1567 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1570 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1572 * docs/pwg/advanced-types.xml:
1573 Added more formats to caps table.
1575 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1577 * tools/gst-launch.c: (main):
1578 Remove crufy code. GOption does not need this workaround.
1580 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1582 * libs/gst/controller/gstcontroller.c:
1583 (gst_controlled_property_set_interpolation_mode):
1584 Fix wrong getter for enums in controller.
1586 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1588 * libs/gst/check/gstcheck.c: (gst_check_init):
1589 Intercept criticals and warnings in the Gst-Phonon log domain, so
1590 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1593 2007-06-14 Edward Hervey <edward@fluendo.com>
1595 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1596 Since this file doesn't include "gst.h" it will not go through the
1597 macros that disable GST_LOG if debugging was disabled.
1599 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1601 * libs/gst/check/Makefile.am:
1602 * libs/gst/check/gstcheck.h:
1603 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1604 * pkgconfig/gstreamer-check.pc.in:
1605 Ugly 'fix' for the controller unit test on the p5 bot: in
1606 fail_unless_equals_float() check whether the values are 'almost
1607 equal' by allowing a small absolute error, which should be good
1608 enough for our use cases (normal numbers and values close to 0).
1609 Proper fixage left to floating point arithmetic aficionados.
1611 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1613 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1614 (gst_base_sink_render_object), (gst_base_sink_get_position):
1615 Add two breaks thats where missing.
1617 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1619 * docs/libs/gstreamer-libs-sections.txt:
1620 * libs/gst/check/gstcheck.h:
1621 API: add fail_unless_equals_float() and assert_equals_float().
1622 Add documentation for some of the macros.
1624 * tests/check/libs/controller.c: (GST_START_TEST):
1625 Use newly-added asserts.
1627 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1629 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1630 Show the caps change in the log to help spotting the case of not
1631 exactly matching caps.
1633 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1635 * docs/pwg/building-boiler.xml:
1636 Fix typos, spotted by Thijs Vermeir (#447190).
1638 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1640 * docs/plugins/tmpl/.cvsignore:
1641 Ignore file to keep the buildbots happy
1643 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1645 * docs/plugins/Makefile.am:
1646 * docs/plugins/gstreamer-plugins-docs.sgml:
1647 * docs/plugins/gstreamer-plugins-sections.txt:
1648 Pull fdsink into the docs too.
1650 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1652 * libs/gst/controller/gstinterpolation.c:
1653 Actually use the new functions with min/max checks for the trigger and
1654 none interpolation modes for get() and get_value_array() instead of
1657 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1659 * libs/gst/controller/gstcontroller.c:
1660 (gst_controlled_property_free):
1661 Unset the minimum and maximum GValues when freeing the corresponding
1662 GstControllerProperty struct.
1664 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1666 * libs/gst/controller/gstcontroller.c:
1667 (gst_controlled_property_new):
1668 * libs/gst/controller/gstcontrollerprivate.h:
1669 * libs/gst/controller/gstinterpolation.c:
1670 (gst_controlled_property_find_control_point_node),
1671 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1672 (interpolate_none_get_string_value_array),
1673 (interpolate_trigger_get),
1674 (interpolate_trigger_get_enum_value_array),
1675 (interpolate_trigger_get_string_value_array):
1676 Protect against values larger or smaller than the minimum or maximum
1677 allowed value for the property when using values that can be compared.
1679 Optimize trigger interpolator a bit by taking the last requested value
1680 into account instead of always looping through the complete list.
1682 Fix coding style a bit, everywhere else we use "return foo" instead
1685 * tests/check/libs/controller.c: (GST_START_TEST),
1686 (gst_controller_suite):
1687 Add unit test for the protection against too large or too small
1690 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1692 * docs/random/slomo/controller.txt:
1693 Add some thoughts about the future of the controller.
1695 2007-06-08 Wim Taymans <wim@fluendo.com>
1697 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1698 Don't overflow in retimestamping code.
1700 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1702 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1703 Use gst_util_guint64_to_gdouble for conversions.
1704 * win32/common/libgstreamer.def:
1705 Add new exported functions.
1707 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1710 Small docs addition.
1712 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1715 Remove that test line again.
1717 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1720 Test commit mail sending.
1722 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1725 Fix typo and test commit mail sending.
1727 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1729 * tests/examples/controller/audio-example.c:
1730 Improve comment and test commit mail sending.
1732 2007-06-07 Wim Taymans <wim@fluendo.com>
1734 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1735 (gst_bin_remove_func), (gst_bin_element_set_state),
1736 (bin_handle_async_start), (bin_handle_async_done),
1737 (gst_bin_handle_message_func):
1738 Add helper function to find messages.
1739 Generate the async-done messages together with the state change
1741 Small cleanups in handling toplevel bins.
1743 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1745 * libs/gst/base/gstdataqueue.c:
1746 * libs/gst/base/gstdataqueue.h:
1747 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1748 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1749 (gst_multi_queue_sink_event):
1750 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1751 Fix multiqueue leaking buffers and events when downstream or the
1752 queue are flushing. Make refcounting assumptions explicit and
1753 document them (shouldn't break existing code that uses it other than
1754 maybe leak miniobjects, but that already happens anyway). Add unit
1755 test for the most common flushing case. Fixes #423700.
1757 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1759 * libs/gst/controller/gstcontroller.c:
1760 Clarify docs: The get_all, get_value_array(s) functions
1761 don't modify the GObject properties.
1763 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1765 * libs/gst/controller/gstcontroller.c:
1766 (gst_controlled_property_set_interpolation_mode),
1767 (gst_controlled_property_prepend_default),
1768 (gst_controlled_property_new), (gst_controller_set_unlocked),
1769 (gst_controller_set), (gst_controller_set_from_list),
1770 (gst_controller_unset), (gst_controller_unset_all):
1771 * libs/gst/controller/gstcontrollerprivate.h:
1772 * libs/gst/controller/gstinterpolation.c:
1773 Factor out the 'set' logic into gst_controller_set_unlocked for the
1774 gst_controller_set and gst_controller_set_from_list functions.
1776 To make life of the interpolators easier always add a control point
1777 at timestamp zero with the default value.
1779 In the linear interpolator make things more obvious by better variable
1782 Implement cubic interpolation mode (by using a natural cubic spline)
1783 and map the quadratic interpolation mode to this too (as quadratic
1784 doesn't make much sense, see discussion on the list).
1786 * tests/check/libs/controller.c: (GST_START_TEST),
1787 (gst_controller_suite):
1788 Add unit test for the cubic interpolation mode and check everywhere
1789 if the interpolation mode could be set as expected.
1791 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1793 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1794 Don't use GLib-2.10 functions, we still depend on
1795 GLib-how-old-is-it-again-2.8.
1797 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1799 * docs/gst/gstreamer-sections.txt:
1803 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1804 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1805 (_gst_param_fraction_values_cmp),
1806 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1807 * gst/gstparamspecs.h:
1809 * tests/check/Makefile.am:
1810 * tests/check/gst/.cvsignore:
1811 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1812 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1813 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1814 (GST_START_TEST), (gst_param_spec_suite):
1815 API: add GstParamSpecFraction, so elements can have fraction
1816 properties without lots of painful string parsing (#444648).
1818 2007-06-05 Wim Taymans <wim@fluendo.com>
1820 * gst/gstobject.c: (gst_object_class_init):
1821 Fix signal signature.
1824 Add small clarification in the api docs.
1826 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1827 States are protected with object lock.
1829 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1832 I should probably be listed as an author by now.
1834 * docs/random/release:
1835 Update the release doc
1837 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1840 Make docs for gst_value_compare() mention return enums that
1843 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1848 === release 0.10.13 ===
1850 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1853 releasing 0.10.13, "With or without you"
1855 2007-05-25 Wim Taymans <wim@fluendo.com>
1857 * gst/gstbin.c: (bin_handle_async_done):
1858 Make sure that the child bin stops after completing the async state
1859 change so that the parent can continue the state change to PLAYING.
1862 2007-05-25 Wim Taymans <wim@fluendo.com>
1864 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1865 (unref_data), (gst_collect_pads_remove_pad),
1866 (gst_collect_pads_check_pads):
1867 Use additional refcounting to avoid crashes when dynamically adding and
1868 removing pads. Fixes #420206.
1870 2007-05-24 Wim Taymans <wim@fluendo.com>
1872 * tools/gst-launch.c: (event_loop):
1873 When buffering goes from a two digit to a single digit number, make sure
1874 to remove the old second digit by writing a blank over it.
1876 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1878 * libs/gst/base/gstdataqueue.c:
1879 Eliminate tabs and trailing comma in enum list; fix some typos.
1881 2007-05-24 Wim Taymans <wim@fluendo.com>
1883 * tests/check/gst/gstbin.c: (GST_START_TEST):
1884 Allow refcount of 3 and 4 because some state thread might still be busy
1887 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1889 * plugins/elements/Makefile.am:
1890 * plugins/elements/gstmultiqueue.h:
1891 * plugins/elements/gstqueue.h:
1892 These are not installed headers, no need for padding.
1894 2007-05-24 Wim Taymans <wim@fluendo.com>
1896 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1897 (gst_bin_continue_func):
1898 Enable latency for next release.
1899 Restore STATE_LOCK around recalc_state that was left out during the
1900 rewrite and could result in racy behaviour when _get_state and
1901 recalc_state are run concurrently. See #440463.
1903 2007-05-23 Wim Taymans <wim@fluendo.com>
1905 * tests/check/gst/gstsystemclock.c: (store_callback),
1907 Improve test_async_order to also work when both timers are already
1908 expired when we get scheduled to check it.
1910 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1912 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1913 (gst_bin_set_property), (gst_bin_get_property),
1914 (gst_bin_remove_func), (gst_bin_handle_message_func):
1916 'private' is a c++ keyword, let's not use that in header files,
1917 otherwise c++ compilers will throw a tantrum.
1919 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1921 * plugins/elements/gstelements.c:
1922 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1923 (gst_file_sink_get_current_offset):
1924 * plugins/indexers/gstindexers.c: (plugin_init):
1925 Use #ifdef for HAVE_XYZ for consistency.
1927 * tests/check/Makefile.am:
1928 * tests/check/elements/.cvsignore:
1929 * tests/check/elements/filesink.c: (setup_filesink),
1930 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1931 Add some unit tests for filesink.
1933 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1935 Patch by: Mark Nauwelaerts <manauw at skynet be>
1937 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1938 (gst_file_sink_query), (gst_file_sink_do_seek),
1939 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1940 * plugins/elements/gstfilesink.h:
1941 Fix position reporting; rename data_written member to current_pos to
1942 reflect its real meaning (fixes #412648).
1944 2007-05-22 Edward Hervey <edward@fluendo.com>
1946 * docs/gst/gstreamer-sections.txt:
1947 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1948 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1949 (gst_bin_remove_func), (gst_bin_handle_message_func):
1951 Add a property for bins that handle the state change of their childs.
1954 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1956 * libs/gst/controller/gstinterpolation.c:
1957 Use an array of the correct type when using _get_value_array with
1958 linear interpolation.
1960 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1962 * gst/gstelement.c (gst_element_requires_clock,
1963 gst_element_provides_clock, gst_element_request_pad,
1964 gst_element_class_set_details, gst_element_class_set_details_simple,
1965 gst_element_default_send_event, gst_element_abort_state,
1966 gst_element_continue_state, gst_element_set_state,
1967 gst_element_set_state_func, iterator_activate_fold_with_resync):
1968 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1969 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1970 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1971 gst_pad_get_range, gst_pad_pull_range):
1972 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1973 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1974 GstPadActivateModeFunction, GstPadChainFunction,
1975 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1976 GstPadFixateCapsFunction, GstPadTemplate):
1977 * gst/gstpipeline.c (gst_pipeline_change_state,
1978 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1979 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1980 gst_pipeline_get_delay):
1981 Whitespace and docs fixes.
1983 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1985 * libs/gst/controller/gstinterpolation.c:
1986 (interpolate_trigger_get_enum_value_array),
1987 (interpolate_trigger_get_string_value_array):
1988 Add support for retrieving value arrays when using the trigger
1991 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1993 * libs/gst/controller/gstcontroller.c:
1994 (gst_controller_get_value_array):
1995 * libs/gst/controller/gstcontroller.h:
1996 Clarify the docs of gst_controller_get_value_array(): The array where
1997 the values should be written to must be allocated as there seems to be
1998 no way to get the size of a random GType. This doesn't change any
1999 behaviour. Also fix some typos all over the place and remove an unused,
2000 commented function that is not necessary as g_object_set() could be
2002 * tests/check/libs/controller.c: (GST_START_TEST),
2003 (gst_controller_suite):
2004 Add unit test for gst_controller_get_value_array().
2006 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2008 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2010 Disable part of the gst_buffer_try_new_and_alloc test, because
2011 it can happily succeed on 64-bit systems where there's more address
2014 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2016 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2017 Add unit test for the improved caps checking from bug #421543.
2019 2007-05-21 Wim Taymans <wim@fluendo.com>
2021 * docs/design/part-synchronisation.txt:
2024 * gst/gstbin.c: (gst_bin_query):
2025 * plugins/elements/gstqueue.c: (apply_segment):
2031 2007-05-21 Wim Taymans <wim@fluendo.com>
2033 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2034 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2035 (gst_pad_configure_src):
2036 Added simple version of improved caps checking. It was previously
2037 assumed that a setcaps function would check the validity of the caps but
2038 people prefer us to check caps against the template automatically.
2041 2007-05-21 Wim Taymans <wim@fluendo.com>
2043 * libs/gst/base/gstbasetransform.h:
2044 Fix macro for locking/unlocking the transform lock.
2046 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2048 * docs/plugins/tmpl/.cvsignore:
2051 2007-05-18 Edward Hervey <edward@fluendo.com>
2053 * plugins/elements/gstqueue.c: (gst_queue_loop):
2054 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2055 for the subtle art of warning a potentially blocking thread that it
2056 should check the source pad return value, and relay the information
2059 2007-05-18 Edward Hervey <edward@fluendo.com>
2061 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2062 Release the queue lock !
2064 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2066 * docs/libs/gstreamer-libs-sections.txt:
2067 Add the two new controller functions to the appropiate places.
2069 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2071 reviewed by: Stefan Kost <ensonic@users.sf.net>
2073 * libs/gst/controller/gstcontroller.c:
2074 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2075 (_gst_controller_get_property), (_gst_controller_set_property),
2076 (_gst_controller_init), (_gst_controller_class_init):
2077 * libs/gst/controller/gstcontroller.h:
2078 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2079 (gst_object_get_control_rate), (gst_object_set_control_rate):
2080 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2081 Add API that provides sync suggestion timestamps for elements that
2082 call gst_object_sync_values() from which those elements can subdivide
2083 their processing loop to get the best results for the controlled
2084 properties. For now it just suggests last_sync + control_rate as
2085 new timestamp but this will be improved in the future.
2087 While doing that change the control-rate property to a GstClockTime
2088 from guint and change it's meaning from samples to nanoseconds as
2089 the GstController doesn't know anything about sampling rate. Strictly
2090 speaking this breaks ABI but as the control-rate property didn't do
2091 anything in the past and as such couldn't be used this should be no
2094 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2096 reviewed by: Stefan Kost <ensonic@users.sf.net>
2098 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2099 (gst_controller_unset_all):
2100 * libs/gst/controller/gstcontrollerprivate.h:
2101 * libs/gst/controller/gstinterpolation.c:
2102 (gst_controlled_property_find_control_point_node):
2103 Save last synced value from the list to continue searching from there
2104 in future syncs. This speeds everything up a bit.
2106 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2108 reviewed by: Stefan Kost <ensonic@users.sf.net>
2110 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2111 (gst_control_point_find), (gst_controlled_property_new),
2112 (gst_control_point_free), (gst_controlled_property_free),
2113 (gst_controller_set), (gst_controller_set_from_list),
2114 (gst_controller_unset), (gst_controller_unset_all),
2115 (gst_controller_sync_values):
2116 * libs/gst/controller/gstcontroller.h:
2117 * libs/gst/controller/gstcontrollerprivate.h:
2118 * libs/gst/controller/gstinterpolation.c:
2119 (gst_controlled_property_find_control_point_node),
2120 (interpolate_none_get), (interpolate_trigger_get):
2121 Add a new private GstControlPoint struct which "inherits" from
2122 GstTimedValue to allow different interpolators to store internal
2123 values next to each control point. From the outside everything is
2124 still a GstControlPoint so we don't loose binary compatibility.
2125 Also fixup all the GValue handling to not leak GValues or list nodes.
2126 * tests/check/libs/controller.c: (GST_START_TEST):
2127 Free the list nodes and GValues in the controller_misc test.
2129 2007-05-17 Edward Hervey <edward@fluendo.com>
2134 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2136 * gst/gstplugin.c: (gst_plugin_load_file):
2137 If we fail to load a plugin because of unresolved symbols or missing
2138 libraries and spew a warning to stderr, we may just as well mention
2139 which plugin it was that failed to load.
2141 2007-05-13 David Schleef <ds@schleef.org>
2143 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2144 handles the case when ENABLE_GTK_DOC is false, and installs
2145 the prebuilt documentation. So gtk-doc subdirs are
2146 unconditionally enabled. Fixes: #349099.
2148 2007-05-13 David Schleef <ds@schleef.org>
2150 * gst/gstutils.h: Reword some documentation.
2152 2007-05-12 David Schleef <ds@schleef.org>
2154 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2155 do anything with the passed "module" parameter, so remove it.
2156 Allows removal of additional vestigal code.
2158 2007-05-12 David Schleef <ds@schleef.org>
2161 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2162 Switch to using g_stat() because it's more portable.
2164 2007-05-12 David Schleef <ds@schleef.org>
2167 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2168 parsing for embedded systems.
2169 * gst/gstelementfactory.c:
2170 Allow gst_element_register() to be called with plugin==NULL.
2171 Did nobody notice that static elements were broken?
2173 2007-05-12 Wim Taymans <wim@fluendo.com>
2175 * tools/gst-launch.c: (event_loop):
2176 Give more interesting info when buffering starts and stops.
2177 Fix case where buffering starts but we fail to update the buffering flag
2178 because the target state is not PLAYING.
2180 2007-05-12 Wim Taymans <wim@fluendo.com>
2182 * plugins/elements/gstqueue.c: (gst_queue_init),
2183 (gst_queue_finalize), (update_time_level), (apply_segment),
2184 (apply_buffer), (gst_queue_locked_flush),
2185 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2186 (gst_queue_handle_sink_event), (gst_queue_chain),
2187 (gst_queue_push_one), (gst_queue_loop):
2188 * plugins/elements/gstqueue.h:
2189 Refactor an cleanup queue a bit.
2190 Do better time level calculations that also work when the srcpad is not
2192 Remove some unneeded debug lines.
2194 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2195 Added testcase for time level measurement.
2196 Try to make some stuff more racefree.
2198 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2200 * gst/gsturi.c: (gst_element_make_from_uri):
2201 Don't leak plugin feature.
2203 * tests/check/Makefile.am:
2204 * tests/check/gst/.cvsignore:
2205 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2206 Add brain-dead unit test.
2208 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2210 Patch by: Jeroen Wouters <woutersj at gmail com>
2212 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2213 Treat protocol strings in a case-insensitive way (#437563).
2215 2007-05-11 Michael Smith <msmith@fluendo.com>
2217 * gst/gstplugin.c: (gst_plugin_load_file):
2218 * gst/gstregistry.c: (gst_registry_scan_path_level):
2219 Don't print a g_warning for any failure to load a shared object.
2220 Instead, push this down into gstplugin.c, and warn _only_ if we
2221 failed to open the module (i.e. failure to link).
2222 Avoids warnings on normal, working, non-plugin .so files.
2224 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2226 * gst/gstplugin.c (gst_plugin_load_file):
2227 * gst/gstregistry.c (GST_CAT_DEFAULT,
2228 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2229 Print a g_warning if there was an error when loading a plugins during
2230 registry scan. The shuld help beginners starting with gst-plugin
2233 2007-05-10 Wim Taymans <wim@fluendo.com>
2235 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2236 (update_time_level), (gst_queue_locked_flush),
2237 (gst_queue_handle_sink_event), (gst_queue_chain),
2238 (gst_queue_push_one), (gst_queue_loop):
2239 * plugins/elements/gstqueue.h:
2240 Be smarter when calculating the current amount of data in the queue by
2241 measuring the difference between start and end timestamps (in running
2242 time) inside the queue. Fixes #432876.
2243 API: GstQueue::pushing to notify elements that we are pushing data again
2244 since the running signal is rather broken for this purpose.
2246 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2248 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2249 gst_queue_base_init, gst_queue_init):
2252 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2254 * win32/common/libgstreamer.def:
2255 Add new exported functions.
2256 * win32/vs6/grammar.dsp:
2257 Use grammar pre-generated files.
2259 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2261 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2264 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2266 * gst/gstutils.c: (gst_parse_bin_from_description):
2268 Maintain API and ABI when --disable-parse is used. Now that
2269 we have an appropriate error code, we can just return NULL and the
2270 appropriate error when gst_parse_launch() is used despite it having
2271 been disabled (#342564).
2273 * tests/check/Makefile.am:
2274 * tests/check/pipelines/.cvsignore:
2275 * tests/check/pipelines/parse-disabled.c:
2276 Make sure these functions exist and return NULL plus a GError when
2277 --disable-parse is used.
2279 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2281 * tests/benchmarks/complexity.c: (main):
2282 * tests/benchmarks/mass-elements.c: (main):
2283 Set a good example and don't leak messages.
2285 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2287 * docs/gst/Makefile.am:
2288 * docs/libs/Makefile.am:
2289 Correct fixxrefs options.
2291 * docs/plugins/Makefile.am:
2292 * docs/plugins/gstreamer-plugins-docs.sgml:
2293 * docs/plugins/gstreamer-plugins-sections.txt:
2294 * plugins/elements/Makefile.am:
2295 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2296 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2297 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2298 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2299 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2300 _GstCapsFilterClass, trans_class):
2301 * plugins/elements/gstelements.c (name, rank, type, _elements):
2302 * plugins/elements/gstidentity.c
2303 (gst_identity_check_imperfect_timestamp,
2304 gst_identity_check_imperfect_offset):
2305 Document capsfilter and add doc-blurb to identity.
2307 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2309 * libs/gst/controller/gstcontroller.c:
2310 (gst_controlled_property_set_interpolation_mode):
2311 * libs/gst/controller/gstinterpolation.c:
2312 Don't crash if someone tries to set an interpolation mode that
2313 is invalid or that isn't supported yet. Fixes #422295.
2315 * tests/check/libs/controller.c: (GST_START_TEST),
2316 (gst_controller_suite):
2317 Add a test case for the above.
2319 2007-05-03 Edward Hervey <edward@fluendo.com>
2321 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2322 Properly set the last_stop position on GstSegment. This will only happen
2323 if there is a buffer to push out.
2325 2007-05-03 Wim Taymans <wim@fluendo.com>
2327 * libs/gst/base/gstbasetransform.c:
2328 (gst_base_transform_buffer_alloc):
2329 always_in_place does not mean that the sink and source caps are the
2330 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2332 2007-05-03 Wim Taymans <wim@fluendo.com>
2334 * docs/libs/gstreamer-libs-sections.txt:
2335 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2336 (gst_base_src_default_query), (gst_base_src_get_range):
2337 * libs/gst/base/gstbasesrc.h:
2338 API: gst_base_src_query_latency(). Added method so that subclasses can
2339 easily get the latency values of the base source class.
2341 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2343 * tools/gst-inspect.c (print_implementation_info):
2346 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2348 * tools/Makefile.am:
2349 * tools/gst-launch.1.in:
2350 Don't create a customised man page based on the host architecture,
2351 describe the default registry path generically. That way the man
2352 page is the same for all architectures and packagers have one
2353 multilib issue less to deal with. Fixes #434926.
2355 2007-05-02 Wim Taymans <wim@fluendo.com>
2358 Fix documentation as spotted by rg on IRC.
2360 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2363 Improve docs for gst_element_{link,unlink}.
2365 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2367 * docs/design/part-events.txt:
2368 * docs/design/part-overview.txt:
2372 * libs/gst/base/gstbasesink.c:
2373 Typo fixes; minor docs addition.
2375 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2377 * docs/gst/gstreamer-sections.txt:
2378 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2379 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2381 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2382 or src that supports a given URI protocol exists.
2384 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2386 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2387 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2388 Set the location to NULL if "file://" is set as URI. Otherwise
2389 some random previous URI would still be set if "file://" is
2390 set on an already used filesink/filesrc.
2392 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2394 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2395 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2396 Special case the "file://" URI as as this is used by some
2397 applications to test with gst_element_make_from_uri if there's
2398 an element that supports the URI protocol.
2399 Also move the g_path_is_absolute() check for the location part
2400 of the URI to also check this for "file://localhost/bla" URIs.
2402 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2404 * docs/gst/gstreamer-sections.txt:
2405 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2407 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2409 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2411 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2413 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2414 (gst_registry_binary_load_pad_template),
2415 (gst_registry_binary_load_plugin),
2416 (gst_registry_binary_read_cache):
2417 * gst/gstregistrybinary.h:
2418 Implement no-mmap alternative for registry reading. Do code cleanups.
2419 Add more comments about avoiding strdups for all text data. Comments
2422 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2424 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2425 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2426 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2427 Comment structs and reformat to fix the build (that stuff should go
2428 into a priv. header).
2430 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2432 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2433 (gst_registry_binary_load_feature):
2434 * gst/gstregistrybinary.h:
2435 Refactor so that we can implement multiple features. Add support for
2436 TypeFindFactory features.
2438 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2440 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2443 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2445 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2447 * gst/gstbin.c: (gst_bin_element_set_state),
2448 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2449 (bin_handle_async_done), (gst_bin_handle_message_func):
2450 Fix build with --gst-disable-gst-debug
2452 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2454 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2455 Make sure streaming has finished before calling the ::stop() vfunc,
2456 since that vfunc might clear state which is being used in the
2457 streaming thread. This fixes a race that caused crashes in
2458 audioresample when shutting down a pipeline (#420106).
2460 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2462 * docs/gst/gstreamer-sections.txt:
2463 That was one byte missing.
2465 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2468 * docs/gst/gstreamer-sections.txt:
2470 * gst/gstconfig.h.in:
2471 * gst/gstobject.c: (gst_object_class_init),
2472 (gst_signal_object_class_init):
2474 2nd attempt to have a xml-less build as a joined effort of #413123
2477 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2479 * docs/design/draft-tagreading.txt:
2480 Added open issues/thoughts to draft.
2482 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2484 * gst/parse/grammar.tab.pre.c:
2485 * gst/parse/grammar.tab.pre.h:
2486 * gst/parse/lex._gst_parse_yy.pre.c:
2487 Update the prebuild parser sources.
2489 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2491 * gst/parse/Makefile.am:
2492 And now fix the building of the flex sources. Now everything should
2495 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2497 * gst/parse/Makefile.am:
2498 Now hopefully fix the build failures by setting proper rule
2499 dependencies and moving instead of copying.
2501 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2503 * tests/benchmarks/complexity.gnuplot:
2504 * tests/benchmarks/complexity.scm:
2505 * tests/benchmarks/mass-elements.gnuplot:
2506 * tests/benchmarks/mass-elements.scm:
2507 Total licensification.
2509 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2511 * gst/parse/Makefile.am:
2512 Fix the build by correcting the rule that gave wrong files to flex.
2514 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2516 * tests/benchmarks/complexity.c:
2517 * tests/benchmarks/mass-elements.c:
2518 Change licence to LGPL as granted by Benjamin and Andy.
2520 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2522 * gst/parse/Makefile.am:
2523 Add correct grammar.tab.h dependency if compiling without new enough
2524 flex. Fixes #431150.
2526 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2528 * gst/parse/Makefile.am:
2529 Fix typo and use outdated sources if the flex/bison sources are newer
2530 than the pregenerated ones but flex is too old. Print a warning in
2531 that case. This should fix the build on the build bot.
2533 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2535 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2536 * gst/parse/Makefile.am:
2537 * gst/parse/grammar.y:
2538 * gst/parse/parse.l:
2539 Make the parser reentrant and recursively callable. This requires flex
2540 >= 2.5.31, for older versions pregenerated sources are used as we
2541 can't bump the build dependency. Finally fixes #349180.
2543 * gst/gstparse.c: (gst_parse_launch):
2544 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2547 * docs/gst/Makefile.am:
2548 * docs/gst/Makefile.am:
2549 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2550 (__gst_parse_strfree), (__gst_parse_link_new),
2551 (__gst_parse_link_free), (__gst_parse_chain_new),
2552 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2553 (gst_parse_element_set), (gst_parse_free_link),
2554 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2555 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2556 (_gst_parse_launch):
2557 * gst/parse/grammar.tab.pre.h:
2558 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2559 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2560 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2561 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2562 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2563 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2564 (_gst_parse_yypop_buffer_state),
2565 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2566 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2567 (yy_fatal_error), (_gst_parse_yyget_extra),
2568 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2569 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2570 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2571 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2572 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2573 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2574 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2575 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2576 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2577 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2578 (_gst_parse_yyfree):
2579 If the installed flex version is too old use pre-generated parser
2580 sources. These pre-generated parser sources are always updated when
2581 the actual flex/bison sources change but require everybody who wants
2582 to change something in the parser to have flex >= 2.5.31 installed.
2584 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2586 * common/m4/gst-gettext.m4:
2587 * gst/gst-i18n-lib.h:
2588 Make --disable-nls to work
2590 2007-04-17 Wim Taymans <wim@fluendo.com>
2592 * gst/gstconfig.h.in:
2593 Revert previous change that broke the build.
2595 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2599 * gst/gstconfig.h.in:
2600 Drop libxml2 dependency when building with
2601 --enable-binary-registry --disable-loadsave
2603 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2605 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2606 (gst_registry_binary_read_cache):
2607 * gst/gstregistrybinary.h:
2608 Remove unnecessary <sys/mman.h> include which broke the win32 build
2609 with MingW; move includes from header file to .c file, even if the
2610 header file isn't installed; use g_strerror() where UTF-8 strings
2611 are expected, such as in GST_DEBUG messages.
2613 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2615 * docs/libs/gstreamer-libs-sections.txt:
2616 Remove bogus addition for API I didn't end up keeping.
2618 * libs/gst/base/gstbasesrc.h:
2619 Mention Since: 0.10.13 in the documentation.
2621 Add the API keyword to the previous ChangeLog entry.
2623 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2625 * docs/libs/gstreamer-libs-sections.txt:
2626 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2627 (gst_base_src_default_prepare_seek_segment),
2628 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2629 * libs/gst/base/gstbasesrc.h:
2630 Allow basesrc derived classes to execute seeks in other formats
2631 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2632 to prepare the GstSegment in any format that their perform_seek method
2633 will be able to understand. The default implementation provides the
2634 old behaviour of attempting to convert the seek offsets to the
2635 configured native format.
2637 API: basesrc::prepare_seek_segment vmethod.
2639 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2641 * gst/gstelement.c: (gst_element_get_state_func):
2642 Don't output the same debug statement twice.
2644 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2645 (gst_adapter_peek), (gst_adapter_take_buffer):
2646 Optimise the case where we have buffers at the head of the queue that
2647 can be joined quickly (because they're contiguous sub-buffers) by
2648 merging them together rather than copying data out into new memory.
2650 * gst/parse/grammar.y:
2651 * tests/check/pipelines/parse-launch.c:
2652 Fix a leak in an error path for parse_launch, and add a check
2653 for it to the testsuite.
2655 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2657 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2658 Don't deadlock when releasing a pad - gst_pad_set_active may try
2659 and take the multiqueue lock too.
2661 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2663 * gst/gsterror.c: (_gst_core_errors_init):
2665 API: add GST_CORE_ERROR_DISABLED (#392804).
2667 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2669 * docs/faq/gst-uninstalled:
2670 don't get empty paths on the PATH variables
2671 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2672 Don't format for the uncommon terminal width of 84 characters.
2674 2007-04-06 Wim Taymans <wim@fluendo.com>
2676 * gst/gstpipeline.c: (reset_stream_time),
2677 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2678 Only try to select a different pipeline clock when we went back to
2679 PAUSED and not when we merely got flushed.
2681 2007-04-05 Michael Smith <msmith@fluendo.com>
2683 * tools/gst-launch.1.in:
2684 fractions are better supported in gstreamer than ractions, so
2685 suggest using those.
2687 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2689 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2693 Added Danish translation.
2695 2007-04-05 Wim Taymans <wim@fluendo.com>
2697 * libs/gst/base/gstbasesink.c:
2698 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2699 Fix leak caused when refusing newsegment after EOS.
2701 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2702 (gst_fake_sink_init), (gst_fake_sink_set_property),
2703 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2704 (gst_fake_sink_render), (gst_fake_sink_change_state):
2705 * plugins/elements/gstfakesink.h:
2706 Add num-buffers property to make the element generate EOS after a
2707 configurable amount of buffers.
2708 API: fakesink::num-buffers property.
2710 * tests/check/elements/fakesink.c: (GST_START_TEST),
2712 Fix GstBus leak in test.
2713 Test for fakesink num-buffers.
2715 2007-04-05 Wim Taymans <wim@fluendo.com>
2717 * libs/gst/base/gstbasesink.c:
2718 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2719 (gst_base_sink_change_state):
2720 Don't accept anything after an EOS, return UNEXPECTED instead.
2722 * tests/check/elements/fakesink.c: (GST_START_TEST),
2724 Unit test for new EOS behaviour.
2726 2007-04-05 Wim Taymans <wim@fluendo.com>
2728 * gst/gstelement.c: (gst_element_get_request_pad):
2729 Make padtemplates also work when they don't contain %s or %d.
2731 2007-04-05 Wim Taymans <wim@fluendo.com>
2733 * docs/gst/gstreamer-sections.txt:
2734 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2735 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2737 Improve _adjust_unlocked() so that it overflows less.
2738 Add gst_clock_unadjust_unlocked to convert from external time to
2739 internal time based on calibration.
2740 Add some more debug.
2741 API: GstClock::gst_clock_unadjust_unlocked()
2743 2007-04-03 Wim Taymans <wim@fluendo.com>
2745 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2747 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2748 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2749 when releasing sink pad. Fixes #425400.
2751 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2753 * docs/random/ensonic/dynlink.txt:
2754 More work on proposal for new core api.
2756 * docs/libs/gstreamer-libs-sections.txt:
2757 * libs/gst/base/gstbasetransform.h:
2758 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2760 * libs/gst/controller/gstcontroller.c:
2761 (on_object_controlled_property_changed),
2762 (gst_controller_sync_values),
2763 (gst_controller_set_interpolation_mode):
2764 * libs/gst/controller/gstcontroller.h:
2765 Less verbose logging add docs for unimplemented parts and correctly
2766 return when using unavailable parts.
2768 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2770 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2771 Move all the debug to the CLOCK category, and associate it with
2774 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2776 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2777 Make take_buffer a bit quicker by removing redundant checks
2778 caused by calling gst_adapter_take.
2780 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2782 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2785 * tests/check/Makefile.am:
2786 * tests/check/elements/.cvsignore:
2787 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2788 (GST_START_TEST), (multiqueue_suite):
2789 Add some dead simple unit tests for the 'multiqueue' element
2790 (some bits don't work yet and are disabled for now).
2792 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2794 * gst/gstelement.c: (gst_element_get_request_pad),
2795 (gst_element_class_get_request_pad_template):
2796 Make gst_element_get_request_pad() create request pads only for
2797 request pad templates and not for, say, sometimes pad templates.
2799 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2801 * docs/design/draft-klass.txt:
2802 Add example that needs more thinking.
2804 * docs/design/draft-missing-plugins.txt:
2805 More thoughts about wrapper plugins.
2807 * docs/random/ensonic/embedded.txt:
2808 * docs/random/ensonic/profiling.txt:
2811 2007-03-25 Wim Taymans <wim@fluendo.com>
2813 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2814 (gst_base_src_loop):
2815 Only push the segment events in the PLAYING state for live sources.
2817 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2819 * gst/gstpipeline.c: (gst_pipeline_change_state):
2820 Modify the clock distribution path in PAUSED->PLAYING so that we
2821 never attempt to choose a new clock unless we're actually leaving
2822 the PAUSED state for the first time. This prevents choosing a
2823 different clock when the state_change gets called for a 2nd time due
2824 to some element doing an async state change.
2826 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2828 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2829 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2830 (gst_pad_chain_unchecked), (gst_pad_push):
2831 Revert last commit. This needs some more thoughts.
2833 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2835 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2836 (gst_pad_chain_unchecked), (gst_pad_push):
2837 Check in set_caps if the caps are compatible with the pad and remove
2838 two functions that are redundant now. Fixes #421543.
2840 2007-03-22 Wim Taymans <wim@fluendo.com>
2842 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2843 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2844 Unref some more to make valgrind happy.
2846 2007-03-22 Wim Taymans <wim@fluendo.com>
2848 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2849 (gst_system_clock_id_wait_jitter),
2850 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2851 Fix anoying regression that survived a few releases. When adding an
2852 async entry while blocking on a sync entry, the sync entry will unblock
2853 but still be busy, so it should continue to wait instead of returning
2855 Add some comments here and there.
2857 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2858 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2859 Add testcase for this.
2861 2007-03-22 Wim Taymans <wim@fluendo.com>
2863 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2864 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2865 WRONG_STATE and can silently pause the task. All other cases should
2868 2007-03-22 Wim Taymans <wim@fluendo.com>
2870 Patch by: Ville Syrjala <syrjala at sci dot fi>
2872 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2873 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2876 2007-03-21 Michael Smith <msmith@fluendo.com>
2878 * docs/pwg/advanced-types.xml:
2879 Fix some errors in the typefinding docs pointed out on irc.
2881 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2883 * libs/gst/base/gstbasesrc.c:
2884 Clarify FIXME comment in the face of having added unlock_stop()
2886 2007-03-21 Wim Taymans <wim@fluendo.com>
2888 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2889 Prepare for release where we warn against possible app breakage in the
2890 case of live pipelines along with an env var to enable/disable live
2891 preroll mode (GST_COMPAT=[no-]live-preroll).
2893 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2895 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2896 So we should use correct constants for checking for None offset.
2898 2007-03-20 Wim Taymans <wim@fluendo.com>
2900 * docs/design/part-block.txt:
2901 Mention the fact that the newly switched element should be set to at
2904 2007-03-20 Wim Taymans <wim@fluendo.com>
2907 Fix compilation with registry disabled as spotted by Saur.
2909 2007-03-20 Wim Taymans <wim@fluendo.com>
2911 Patch by: Olivier Crete <tester at tester dot ca>
2913 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2914 Look at the pending state too when syncing the element state to the
2915 parent. Fixes #420133.
2917 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2919 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2920 (gst_base_sink_change_state):
2921 * libs/gst/base/gstbasesink.h:
2922 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2923 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2924 (gst_base_src_deactivate):
2925 * libs/gst/base/gstbasesrc.h:
2926 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2927 for sub-classes to correctly clear any state they set trying to
2928 unlock, such as clearing out unlock commands from a command fd.
2929 API: basesrc::unlock_stop
2930 API: basesink::unlock_stop
2932 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2933 (gst_fd_sink_render), (gst_fd_sink_unlock),
2934 (gst_fd_sink_unlock_stop):
2935 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2936 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2937 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2939 Implement unlock_stop in fdsrc and fdsink.
2940 Implement seeking in fdsrc when a seekable fd is passed, as in
2941 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2943 2007-03-19 Wim Taymans <wim@fluendo.com>
2945 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2947 * gst/gstelement.c: (gst_element_class_init):
2948 Fix pad-added and pad-removed signal signatures so that the pad type is
2949 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2951 2007-03-19 Wim Taymans <wim@fluendo.com>
2953 * docs/gst/gstreamer-sections.txt:
2954 Add new element field and method.
2956 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2957 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2958 (gst_bin_recalc_state), (gst_bin_get_state_func),
2959 (gst_bin_element_set_state), (gst_bin_change_state_func),
2960 (gst_bin_continue_func), (bin_bus_handler),
2961 (bin_push_state_continue), (bin_handle_async_start),
2962 (bin_handle_async_done), (gst_bin_handle_message_func):
2963 Make async state changes a bit smarter by using new ASYNC_START and
2964 ASYNC_DONE messages. This reduces the number of times we run the state
2965 recalculation thread.
2966 Don't change state of element with a pending ASYNC_START message.
2967 Deprecate STATE_DIRTY messages.
2969 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2970 (gst_element_get_state_func), (gst_element_continue_state),
2971 (gst_element_lost_state), (gst_element_set_state_func),
2972 (gst_element_change_state):
2974 Keep the state that was last set by the app in a new element field.
2975 Don't allow state changes when handling an element event.
2976 Post ASYNC_START and ASYNC_DONE messages.
2977 Change lost_state so that we go to PAUSED and wait for the parent to set
2978 us to PLAYING again (so latency calculation can be performed)
2979 Export gst_element_change_state() method so that subclasses can use it.
2980 API: gst_element_change_state()
2981 API: GST_STATE_TARGET
2983 * gst/gstpipeline.c: (gst_pipeline_class_init),
2984 (reset_stream_time), (gst_pipeline_change_state),
2985 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2986 Using the new ASYNC_START message we can reset the base_time when
2987 needed. This can then be used to implement base_time redistribution in
2988 flushing seeks so that we can remove the explicit seek handling.
2989 Perform latency query and configuration when going to PLAYING.
2991 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2992 (gst_base_sink_query), (gst_base_sink_change_state):
2993 Post new ASYNC_START/ASYNC_DONE messages.
2995 * tests/check/generic/sinks.c: (GST_START_TEST):
2996 Fix test because the bin will not set the async element to PLAYING right
2999 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3000 Make the message check a little stronger.
3001 Handle ASYNC messages.
3003 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3004 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3005 Expect ASYNC_DONE messages.
3007 2007-03-19 Wim Taymans <wim@fluendo.com>
3009 * docs/gst/gstreamer-sections.txt:
3010 * gst/gstmessage.c: (gst_message_new_async_start),
3011 (gst_message_new_async_done), (gst_message_parse_info),
3012 (gst_message_parse_async_start):
3014 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3017 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3019 * tools/gst-inspect.c:
3020 (print_plugin_automatic_install_info_codecs):
3021 Now that we don't check for the 'Codec' keyword any longer in the
3022 klass, we shouldn't spew a warning if the klass isn't a decoder or
3023 encoder (since it might be a Source/Network, for example).
3025 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3027 * tools/gst-inspect.c:
3028 (print_plugin_automatic_install_info_codecs):
3029 Don't require decoder/demuxer/depayloader elements or
3030 encoder/muxer/paylader elements to have 'Codec' as part of their
3031 factory class string when introspecting a plugin's capabilities.
3032 draft-klass.txt mentions that it might be removed in future, and
3033 flump3dec doesn't have it as part of its class string, so chances
3034 are others might also not have it.
3036 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3058 Update translations from translation project
3060 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3062 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3063 (gst_child_proxy_set_property):
3064 Invert precondition check to be alike the ones in the mimiced gobject
3067 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3069 * docs/design/draft-tagreading.txt:
3070 * docs/random/ensonic/audiobaseclasses.txt:
3071 Do some Architect work.
3073 * gst/gstobject.c: (gst_object_set_name):
3077 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3079 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3081 * gst/gstsystemclock.c: (gst_system_clock_init),
3082 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3083 Defer starting the async system clock thread until the first async
3084 wait is scheduled. Fixes #414986.
3086 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3088 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3089 (gst_single_queue_free):
3090 Fix small leak (free GstSingleQueue structure too, not only contents).
3092 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3094 * gst/gstbin.c:(gst_bin_add):
3095 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3096 * win32/common/libgstbase.def:
3097 * win32/common/libgstreamer.def:
3098 Add new exported functions.
3100 2007-03-09 Wim Taymans <wim@fluendo.com>
3102 * docs/plugins/gstreamer-plugins-sections.txt:
3105 2007-03-09 Wim Taymans <wim@fluendo.com>
3107 * docs/gst/gstreamer-sections.txt:
3108 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3110 Add metadata copy functions. Fixes #393099.
3111 API: gst_buffer_copy_metadata()
3113 * gst/gstutils.c: (gst_buffer_stamp):
3114 * libs/gst/base/gstbasetransform.c:
3115 (gst_base_transform_prepare_output_buffer):
3116 Use new metadata copy functions.
3118 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3120 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3121 (gst_identity_init), (gst_identity_check_perfect),
3122 (gst_identity_check_imperfect_timestamp),
3123 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3124 (gst_identity_set_property), (gst_identity_get_property):
3125 * plugins/elements/gstidentity.h:
3126 Separate out check-imperfect-timestamp and check-imperfect-offset.
3127 Put back check-perfect as it was to keep compatibility.
3129 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3131 * gst/gstelement.c: (gst_element_dispose):
3132 There's no need to warn if VOID_PENDING is not NONE here, as
3133 long as the state is NULL it's ok, and that's checked immediately
3136 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3138 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3139 Fix check for perfect stream to ignore buffers with -1
3140 offsets/offset ends when checking data contiguity.
3142 2007-03-08 Wim Taymans <wim@fluendo.com>
3144 * tools/gst-launch.c: (event_loop):
3145 Print INFO messages.
3147 2007-03-08 Wim Taymans <wim@fluendo.com>
3149 * libs/gst/base/gstbasetransform.c:
3150 (gst_base_transform_sink_eventfunc),
3151 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3152 (gst_base_transform_activate):
3153 * libs/gst/base/gstbasetransform.h:
3154 Add support for dropping buffers with custom GstFlowReturn.
3155 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3156 buffers or dropped buffers.
3158 * docs/libs/gstreamer-libs-sections.txt:
3159 docs for new custom return code.
3161 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3162 Use drop support in base class to implement drop-probability.
3164 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3166 * gst/gst.c: (load_plugin_func):
3167 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3168 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3169 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3170 Remove newlines at end of debug log strings.
3172 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3174 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3175 Only post bus message at max, once per buffer received.
3177 2007-03-07 Wim Taymans <wim@fluendo.com>
3179 * docs/design/Makefile.am:
3180 * docs/design/part-synchronisation.txt:
3181 Add doc about synchronisation
3183 * docs/design/draft-latency.txt:
3184 * docs/design/part-TODO.txt:
3185 * docs/design/part-clocks.txt:
3186 * docs/design/part-events.txt:
3187 * docs/design/part-gstbus.txt:
3188 * docs/design/part-gstpipeline.txt:
3189 * docs/design/part-live-source.txt:
3190 * docs/design/part-messages.txt:
3191 * docs/design/part-overview.txt:
3192 * docs/design/part-streams.txt:
3193 * docs/design/part-trickmodes.txt:
3194 Documentation updates.
3196 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3199 Update the doap file.
3201 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3203 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3204 Rename non-perfect to imperfect for Mike and for the sanctity of the
3206 Also make sure bus message gets emitted for data-incontiguities.
3208 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3210 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3211 (gst_identity_start):
3212 * plugins/elements/gstidentity.h:
3213 Emit bus message if check-perfect is true and we encounter a
3214 non-perfect stream between 2 consecutive buffers.
3217 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3222 === release 0.10.12 ===
3224 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3227 releasing 0.10.12, "Inevitable Demise"
3229 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3232 Version 0.10.11.2 (0.10.12 pre-release)
3233 Bump libtool versioning.
3235 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3237 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3238 Log flow-names and not numbers.
3240 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3243 Convert to new AG_GST style.
3245 2007-02-28 Wim Taymans <wim@fluendo.com>
3247 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3248 Don't unref query twice.
3250 2007-02-28 Wim Taymans <wim@fluendo.com>
3252 * gst/gstvalue.c: (gst_value_transform_object_string),
3253 (_gst_value_initialize):
3254 Implement GstObject -> string transform so we print object names
3255 when serializing GValues containing GstObjects.
3257 2007-02-28 Wim Taymans <wim@fluendo.com>
3259 * docs/gst/gstreamer-sections.txt:
3260 Add new stuff to docs.
3262 2007-02-28 Wim Taymans <wim@fluendo.com>
3264 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3265 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3266 (gst_base_sink_change_state):
3267 Improve latency query code.
3268 Don't leak latency events.
3270 * tests/check/gst/gstbin.c: (GST_START_TEST):
3273 2007-02-28 Wim Taymans <wim@fluendo.com>
3275 * gst/gstelement.c: (gst_element_message_full),
3276 (gst_element_get_state_func):
3278 Improve docs a little. Added Since: for new macro.
3280 * gst/gstobject.c: (gst_object_sink):
3281 * gst/gstpipeline.c: (gst_pipeline_change_state),
3282 (gst_pipeline_set_new_stream_time):
3283 * gst/gstpipeline.h:
3284 Improve debugging and docs.
3286 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3289 2007-02-28 Wim Taymans <wim@fluendo.com>
3291 * gst/gstelement.c: (gst_element_message_full),
3292 (gst_element_set_locked_state), (gst_element_get_state_func),
3293 (gst_element_change_state):
3294 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3295 Documentation updates.
3296 Small code cleanups.
3298 * gst/gstmessage.c: (gst_message_new_info),
3299 (gst_message_parse_info):
3301 API: gst_message_new_info()
3302 API: gst_message_parse_info()
3303 Add INFO message create and parse code.
3305 2007-02-28 Wim Taymans <wim@fluendo.com>
3307 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3308 (bin_query_latency_done):
3309 Also report the live parameter of a latency query.
3311 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3313 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3314 Copy the current generic/states example from -base and adapt so
3315 we can use the exact same code everywhere.
3316 Check a STATES_IGNORE_ELEMENTS env var which can be used
3317 to ignore certain element factories for this test, which is
3318 what is being done in -base
3319 * tests/check/Makefile.am:
3320 Mention this environment variable.
3322 2007-02-27 Wim Taymans <wim@fluendo.com>
3324 * docs/gst/gstreamer-sections.txt:
3325 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3326 (gst_bus_timed_pop), (gst_bus_pop):
3328 API: gst_bus_timed_pop()
3329 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3330 message to arrive on the bus.
3332 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3334 Two unit tests for new _timed_pop() function.
3336 2007-02-23 Wim Taymans <wim@fluendo.com>
3338 * gst/gstpipeline.c: (gst_pipeline_change_state),
3339 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3340 Don't ref a NULL clock in _provide_clock_func().
3341 Don't allow an INVALID delay.
3342 Don't try to calculate base_time with an invalid start_time.
3343 Also distribute and notify a NULL clock when it was selected.
3345 * tools/gst-launch.c: (event_loop):
3346 Don't crash when a NULL clock was selected in the pipeline.
3348 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3350 * docs/design/Makefile.am:
3351 * docs/design/draft-missing-plugins.txt:
3352 * docs/random/draft-missing-plugins.txt:
3353 Some small updates: update plugin system identifier prefix
3354 ('gstreamer.net' to 'gstreamer'), mention our new install
3355 API in libgstbaseutils rather than libgimme-codec, add
3356 reference to the online docs.
3358 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3360 * win32/common/config.h:
3361 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3362 use moap cl ci to only check in what is mentioned in the ChangeLog.
3364 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3366 * docs/gst/gstreamer-sections.txt:
3368 Fix up documentation to link to the correct GstGError section.
3369 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3371 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3373 * tools/gst-launch.c: (event_loop):
3374 Make sure that we actually show the important message part of a
3376 No need to check if the gerror is not NULL to free; first of all
3377 g_free accepts NULL; and second the default error handler would
3378 segfault if gerror was NULL.
3380 2007-02-21 Wim Taymans <wim@fluendo.com>
3382 * docs/gst/gstreamer-sections.txt:
3383 Removed docs as well.
3385 2007-02-21 Wim Taymans <wim@fluendo.com>
3387 * gst/gstmessage.c: (gst_message_parse_duration):
3389 Remove new messages for release.
3391 2007-02-20 Wim Taymans <wim@fluendo.com>
3393 * docs/design/part-gstghostpad.txt:
3394 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3395 (gst_ghost_pad_new_full):
3396 Make the ghostpad a parent of the internal pad again for better backward
3397 compatibility. Don't write code that relies on this however.
3399 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3400 (gst_pad_link_check_hierarchy):
3401 Require that parents should be GstElements in the hierarchy check.
3403 2007-02-20 Wim Taymans <wim@fluendo.com>
3405 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3406 (gst_bin_change_state_func), (bin_query_min_max_init),
3407 (bin_query_latency_fold), (bin_query_latency_done),
3410 Implement latency query.
3412 2007-02-20 Wim Taymans <wim@fluendo.com>
3414 * docs/design/part-gstghostpad.txt:
3415 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3416 (gst_ghost_pad_internal_do_activate_push),
3417 (gst_ghost_pad_internal_do_activate_pull),
3418 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3419 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3420 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3421 Do not set the internal pad as a parent anymore so we can avoid
3422 hierarchy linking errors when the ghostpad has no parent yet. This also
3423 fixes failed activation because of unlinked internal pads, which in
3424 turn fixes the impossible case where you have to activate a pad before
3425 you can add it to a running element.
3428 * gst/gstpad.c: (pre_activate), (post_activate),
3429 (gst_pad_set_active), (gst_pad_activate_pull),
3430 (gst_pad_activate_push), (gst_pad_check_pull_range):
3431 Add some more debug info.
3432 Mark activation mode in pre_activate so that we don't try to activate in
3433 endless loops. Fixes #385084.
3435 2007-02-19 Wim Taymans <wim@fluendo.com>
3437 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3438 (gst_base_transform_check_get_range):
3439 Implement a checkgetrange function instead of relying on the default
3440 core behaviour that assumes we can operate in pull mode if we have a
3441 getrange function. First step at fixing #385084.
3443 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3445 * gst/gstchildproxy.h:
3446 * libs/gst/base/gstbasesink.h:
3447 * libs/gst/base/gstbasesrc.h:
3448 * libs/gst/base/gstbasetransform.h:
3449 More docs coverage and some ChangeLog surgery (add missing names)
3451 2007-02-15 Wim Taymans <wim@fluendo.com>
3453 * docs/design/part-TODO.txt:
3454 * docs/design/part-activation.txt:
3455 * docs/design/part-block.txt:
3456 * docs/design/part-buffering.txt:
3457 * docs/design/part-clocks.txt:
3458 * docs/design/part-element-source.txt:
3459 * docs/design/part-events.txt:
3460 * docs/design/part-gstbin.txt:
3461 * docs/design/part-gstbus.txt:
3462 * docs/design/part-gstpipeline.txt:
3463 * docs/design/part-live-source.txt:
3464 * docs/design/part-messages.txt:
3465 * docs/design/part-overview.txt:
3466 * docs/design/part-qos.txt:
3467 * docs/design/part-query.txt:
3468 * docs/design/part-states.txt:
3469 * docs/design/part-trickmodes.txt:
3470 Some doc updates. Start renaming from stream_time to running_time where
3471 it was used wrongly.
3473 2007-02-15 Wim Taymans <wim@fluendo.com>
3475 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3476 Answer LATENCY query.
3478 2007-02-15 Wim Taymans <wim@fluendo.com>
3480 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3484 2007-02-15 Wim Taymans <wim@fluendo.com>
3486 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3487 (gst_pad_dispatcher):
3488 Improve debugging of default pad dispatcher and query functions.
3490 2007-02-15 Wim Taymans <wim@fluendo.com>
3492 * docs/gst/gstreamer-sections.txt:
3493 Remove old unused method.
3495 2007-02-13 Wim Taymans <wim@fluendo.com>
3497 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3500 2007-02-13 Wim Taymans <wim@fluendo.com>
3502 * docs/design/part-seeking.txt:
3505 * gst/gstsegment.c: (gst_segment_set_seek):
3506 Revert old bogus change that should make seeking work again.
3508 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3510 * docs/random/ensonic/dynlink.txt:
3511 * docs/random/ensonic/interfaces.txt:
3512 * docs/random/ensonic/receipies.txt:
3513 Possible dynamic reconnection api, plus some type fixes the other two
3516 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3518 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3519 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3520 Also check for an absolute path following file:// in the filesrc
3521 element. Remove redundant check and call g_path_is_absolute() on the
3524 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3526 * docs/design/draft-klass.txt:
3527 Add existing category analysis.
3530 Fix doc example, framerate is a fraction.
3532 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3535 * docs/gst/Makefile.am:
3536 * docs/gst/gstreamer-sections.txt:
3537 * docs/libs/Makefile.am:
3538 Erm, forgot a bunch of --extra-dir.
3540 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3543 * docs/gst/Makefile.am:
3544 * docs/libs/Makefile.am:
3545 * docs/plugins/Makefile.am:
3546 Add crossreferences to glib/gobject docs.
3548 2007-02-12 Wim Taymans <wim@fluendo.com>
3550 * docs/design/draft-latency.txt:
3553 * docs/libs/gstreamer-libs-sections.txt:
3554 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3555 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3556 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3557 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3558 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3559 (gst_base_sink_get_position), (gst_base_sink_query),
3560 (gst_base_sink_change_state):
3561 * libs/gst/base/gstbasesink.h:
3562 API: gst_base_sink_query_latency() to let subclasses query the upstream
3564 API: gst_base_sink_get_latency() to let subclasses query the configured
3565 latency in the sink.
3566 Implement query and set latency.
3568 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3569 don't continue preroll when we are flushing. Fixes #405284.
3571 * tests/check/pipelines/stress.c: (change_state_timeout),
3572 (quit_timeout), (GST_START_TEST), (stress_suite):
3575 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3577 Patch by: René Stadler <mail at renestadler de>
3579 * docs/gst/gstreamer-sections.txt:
3580 * gst/gsttaglist.c: (_gst_tag_initialize):
3582 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3584 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3586 * docs/libs/Makefile.am:
3587 Fix path to core docs.
3589 * gst/gstbin.c: (gst_bin_get_by_interface),
3590 (gst_bin_iterate_all_by_interface):
3591 Refix docs by also renaming 'interface' to 'iface' in implementation.
3593 * docs/gst/gstreamer-sections.txt:
3595 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3596 * gst/gstchildproxy.h:
3597 * gst/gstelementfactory.c:
3598 * gst/gstpadtemplate.h:
3599 * libs/gst/controller/gstcontroller.c:
3600 (gst_controlled_property_new):
3603 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3605 * gst/gstbin.h:(gst_bin_get_by_interface),
3606 (gst_bin_iterate_all_by_interface):
3607 Replace interface parameter name by iface as interface is
3608 a reserved keyword in Visual Studio for C++ projects so it removes
3609 a build error for application developpers using VS.
3610 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3611 Fix a bug on Windows in uri format check. Now the prefix checked
3612 is file:// and next we check if the path after file:// is absolute.
3613 * win32/common/libgstbase.def:
3614 * win32/common/libgstdataprotocol.def:
3615 * win32/common/libgstgstreamer.def:
3616 Add new exported functions.
3618 2007-02-09 Andy Wingo <wingo@pobox.com>
3620 * tests/check/pipelines/simple-launch-lines.c
3621 (simple_launch_lines_suite, test_tee): Disable tee test until I
3622 have time to fix it :-(
3624 * tests/check/Makefile.am (noinst_HEADERS):
3625 * tests/check/libs/libsabi.c:
3626 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3627 * tests/check/gst/gstabi.c:
3628 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3630 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3631 tests for push and pull tee behavior.
3633 * plugins/elements/gsttee.h:
3634 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3635 mark as deprecated as well as unimplemented. It was a crack idea.
3636 Add support for tee operating in pull mode, off by default.
3638 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3639 normal-case logs down to LOG, raise errors to WARNING.
3640 (gst_registry_xml_read_cache): Don't log before calling a function
3643 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3644 exit (registry finalize).
3645 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3646 DEBUG log when we emit signals that people don't even have the
3647 chance to connect to.
3648 (gst_registry_scan_path_level): Less logging in the normal case.
3650 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3652 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3654 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3655 Correctly generate EOS for non-seekable files. We don't have a total
3656 length for them and would get an unexpected end of file if we only
3657 special-cased for regular files. (Fixes: #404569)
3659 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3661 * tests/check/elements/filesrc.c: (GST_START_TEST),
3663 Add unit test for the GstURIHandler interface in filesrc. This also
3664 tests the newly added file://localhost/foo/bar support.
3666 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3668 * gst/gstelementfactory.h:
3669 The klass string is not a hierarchy. Add reference to the design doc
3670 for more information and common types.
3672 2007-02-02 Wim Taymans <wim@fluendo.com>
3674 * gst/gstquery.c: (gst_query_new_latency):
3675 Remove old structure field.
3677 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3679 * tools/gst-launch.1.in:
3680 Give example for network streaming (#351998)
3682 2007-02-02 Wim Taymans <wim@fluendo.com>
3684 * docs/gst/gstreamer-sections.txt:
3685 Add docs for new methods.
3687 * gst/gstevent.c: (gst_event_new_latency),
3688 (gst_event_parse_latency):
3690 Add new LATENCY event to configure latency in a pipeline.
3691 API: gst_event_new_latency
3692 API: gst_event_parse_latency
3694 * gst/gstmessage.c: (gst_message_new_buffering),
3695 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3696 (gst_message_new_latency), (gst_message_parse_buffering),
3697 (gst_message_parse_lost_preroll):
3699 Added messages used in draft-latency.
3700 API: gst_message_new_lost_preroll
3701 API: gst_message_parse_lost_preroll
3702 API: gst_message_new_prerolled
3703 API: gst_message_new_latency
3705 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3706 (gst_query_parse_latency):
3708 Implemented new latency query as in design doc.
3709 API: gst_query_new_latency
3710 API: gst_query_set_latency
3711 API: gst_query_parse_latency
3713 2007-02-02 Wim Taymans <wim@fluendo.com>
3715 * docs/design/draft-latency.txt:
3716 Slight redesign to allow for dynamic latency adjustments.
3718 * docs/design/part-negotiation.txt:
3721 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3723 reviewed by: Wim Taymans <wim@fluendo.com>
3725 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3726 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3727 Allow file://localhost/foo/bar URLs and correctly fail for every other
3728 hostname that one sets. This was gnomevfssrc is linked for those if
3729 installed as it can handle it (#403172)
3731 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3733 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3736 (unref_data), (gst_collect_pads_add_pad_full):
3737 * libs/gst/base/gstcollectpads.h:
3738 Don't put the previously added destroy notify in the GstCollectData
3739 struct as all it's padding is already used and we don't want to break
3740 ABI. Instead put in the pad's GObject data for now. This should be
3741 cleaned up for 0.11 (#402393).
3743 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3745 reviewed by: Wim Taymans <wim@fluendo.com>
3747 * docs/libs/gstreamer-libs-sections.txt:
3748 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3749 (unref_data), (gst_collect_pads_add_pad),
3750 (gst_collect_pads_add_pad_full):
3751 * libs/gst/base/gstcollectpads.h:
3752 API: Add function to specify a destroy notification for custom
3753 GstCollectData when adding new pads in GstCollectPads (#402393).
3755 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3758 Update Swedish translation (#378255).
3760 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3762 * docs/design/draft-klass.txt:
3763 Fix the previous change, this is a list of categories and not a hierarchy.
3765 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3767 * docs/design/draft-klass.txt:
3768 Add info about how to get a list of used classes.
3770 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3772 * plugins/elements/gsttypefindelement.c:
3773 (gst_type_find_element_chain_do_typefinding),
3774 (gst_type_find_element_change_state):
3775 Don't leak found caps in chain function (no idea why that never
3776 showed up as a leak anywhere).
3778 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3781 Fix and expand GstPluginDesc API docs.
3783 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3786 * gst/gstelementfactory.c:
3787 * gst/gstpadtemplate.h:
3790 * libs/gst/controller/gstcontroller.c:
3791 (gst_controlled_property_new):
3792 * tests/examples/controller/audio-example.c:
3795 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3798 comment about refining the xml deps
3801 comments about moving away from jade for docs
3804 recommit the ifdefs to use the binary registry
3806 * gst/gstbin.c: (gst_bin_change_state_func):
3807 this break is obsolete
3809 * gst/gstelementfactory.h:
3810 better GST_ELEMENT_DETAILS docs, add comment about translation
3815 * gst/gstobject.c: (gst_signal_object_get_type):
3816 add G_UNLIKELY as usual
3818 * gst/gstpad.c: (gst_pad_event_default):
3819 add fall trhu comment
3821 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3822 (gst_registry_binary_initialize_magic),
3823 (gst_registry_binary_save_string),
3824 (gst_registry_binary_save_pad_template),
3825 (gst_registry_binary_save_feature),
3826 (gst_registry_binary_save_plugin),
3827 (gst_registry_binary_write_cache),
3828 (gst_registry_binary_check_magic),
3829 (gst_registry_binary_load_pad_template),
3830 (gst_registry_binary_load_feature),
3831 (gst_registry_binary_load_plugin),
3832 (gst_registry_binary_read_cache):
3833 comment typo and formatting
3835 * gst/gstutils.c: (gst_element_state_get_name),
3836 (gst_element_state_change_return_get_name):
3837 remove obsolete breaks
3839 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3840 add FIXME 0.11 and remove cpp comment
3842 2007-01-29 Edward Hervey <edward@fluendo.com>
3844 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3845 Fix print statement in an even more portable way.
3847 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3849 * docs/gst/gstreamer-sections.txt:
3851 API: add GST_ROUND_DOWN_* macros (#401781).
3853 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3855 * docs/gst/gstreamer.types.in:
3856 * gst/gstregistry.c: (gst_registry_class_init):
3857 Document registry signals and make gtk-doc pick them up (#401381).
3859 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3861 * docs/pwg/building-testapp.xml:
3862 Add some audioconverts and audioresample to the pipeline, and some
3863 more comments and error handling.
3865 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3867 * docs/manual/manual.xml:
3871 2007-01-26 Wim Taymans <wim@fluendo.com>
3873 * gst/gstcaps.c: (gst_static_caps_get):
3874 Init caps flags too.
3876 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3878 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3880 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3881 If not using mmap'ed files try to seek to the end instead of the
3882 start to determine whether we can seek at all. This fixes the case
3883 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3884 seeks for everything afterwards fail. Fixes #400656
3886 2007-01-25 Wim Taymans <wim@fluendo.com>
3888 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3889 Add some refcount debugging.
3890 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3891 in multiple streaming threads.
3893 2007-01-25 Wim Taymans <wim@fluendo.com>
3895 Patch by: David Schleef <ds at schleef dot org>
3897 * docs/libs/gstreamer-libs-sections.txt:
3898 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3899 * libs/gst/base/gstadapter.h:
3900 API: gst_adapter_copy() that can reduce the amount of memcpy when
3901 getting data from the adapter. Fixes #388201.
3903 2007-01-25 Edward Hervey <edward@fluendo.com>
3905 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3906 In print statements, "%x" is for guint. Fixes build on macosx.
3908 2007-01-24 Edward Hervey <edward@fluendo.com>
3910 * plugins/elements/gstmultiqueue.c:
3911 (gst_multi_queue_loop):
3913 (single_queue_overrun_cb), (single_queue_underrun_cb),
3914 (single_queue_check_full), (gst_single_queue_new):
3915 Implement single queue growth system.
3916 This uses the extra-size properties, and will grow single queues by
3917 that much if one goes full whereas there are others empty. This is
3918 called extra-mode in the code.
3919 When a single queue's levels go back below the initial max-size
3920 limits, it is no longer in extra-mode. This is to ensure we don't
3921 consume too much memory.
3924 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3926 * gst/gst.c: (gst_init_get_option_group):
3927 Make warning about late g_thread_init() calls a bit more explicit,
3928 so that it's more obvious to application developers what they need
3929 to do if a user files a bug against their application.
3931 2007-01-22 Edward Hervey <edward@fluendo.com>
3933 * plugins/elements/gstmultiqueue.c:
3934 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3935 Remove previous hack of unsetting the flushing flag for the source pad
3936 instead of activating it. Instead, fix the source pad activate function
3937 so that it no longer depends on having a parent set or not.
3939 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3941 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3943 * docs/manual/basics-bus.xml:
3944 Fix example code, gst_element_unref() doesn't exist any longer.
3946 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3948 Patch by: Mark Nauwelaerts <manauw at skynet be>
3951 Fix two docs typoes (#399094).
3953 2007-01-19 Edward Hervey <edward@fluendo.com>
3955 * docs/faq/gst-uninstalled:
3956 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3957 depending on libgstbaseutils can work in uninstalled environment.
3959 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3962 * gst/gsttagsetter.c:
3963 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3964 statement for new tag.
3966 2007-01-17 Edward Hervey <edward@fluendo.com>
3968 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3969 When dynamically creating single queues, activate sinkpad before adding
3971 We should be doing the same thing for the source pad, but we can't
3972 since it would call a method which needs the parent to be set in order
3973 to work propertly. Instead of activating the source pad, we just unset
3974 the flushing flag, which is the minimal requirement for adding a pad
3975 to an element in a state greater than READY.
3977 2007-01-17 Edward Hervey <edward@fluendo.com>
3979 * docs/faq/gst-uninstalled:
3980 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3983 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3985 * tests/check/gst/gstabi.c:
3986 * tests/check/gst/struct_hppa.h:
3987 * tests/check/libs/libsabi.c:
3988 * tests/check/libs/struct_hppa.h:
3989 Add ABI structs for HPPA (see #393796).
3991 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3993 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3994 Actually write ABI structs to the file specified in the GST_ABI
3995 environment variable, as the message we print claims we would.
3997 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3999 * tests/check/gst/gsttask.c:
4002 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4004 * gst/gsttaglist.c: (_gst_tag_initialize):
4005 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4006 previous two entries.
4008 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4010 * docs/gst/gstreamer-sections.txt:
4011 * gst/gsttaglist.c: (_gst_tag_initialize):
4013 Add tag support for beat-per-minute.
4015 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4017 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4018 (gst_registry_binary_initialize_magic),
4019 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4020 (gst_registry_binary_save_pad_template),
4021 (gst_registry_binary_save_feature),
4022 (gst_registry_binary_save_plugin),
4023 (gst_registry_binary_write_cache),
4024 (gst_registry_binary_check_magic),
4025 (gst_registry_binary_load_pad_template),
4026 (gst_registry_binary_load_feature),
4027 (gst_registry_binary_load_plugin),
4028 (gst_registry_binary_read_cache):
4029 * gst/gstregistrybinary.h:
4030 Use glib types, cleanup comments, impement interfaces and uri-types.
4032 2007-01-13 Andy Wingo <wingo@pobox.com>
4034 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4035 getrange() to return buffers with other caps, while we fix
4036 demuxers and typefind, or otherwise change part-negotiation.txt.
4038 2007-01-12 Andy Wingo <wingo@pobox.com>
4040 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4041 Factor start/stop into this private function instead of partially
4042 in activate functions and partially in the change_state function.
4043 Fixes setup before the element has changed from READY->PAUSED, as
4044 is the case in pull-mode pipelines.
4045 (gst_base_transform_sink_activate_push)
4046 (gst_base_transform_src_activate_pull): Refactor to use
4047 gst_base_transform_activate().
4048 (gst_base_transform_change_state): Removed, not needed any more.
4050 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4051 Truncate before fixating.
4053 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4054 Don't set_caps() if the result of fixating is ANY, as it's not
4055 supported, and not necessary in the case of a link with no
4056 template caps on either side. Fixes tests/check/libs/basesrc in
4057 some pull-mode tests.
4059 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4060 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4061 (gst_base_transform_src_activate_pull):
4062 Track the activation mode.
4063 (gst_base_transform_setcaps): In pull mode, when activating the
4064 src pad, after activating the sink pad, activate the sink pad's
4065 peer, as discussed in part-negotiation.txt.
4067 * libs/gst/base/gstbasesrc.h:
4068 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4069 vmethod, as in basesink.
4071 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4073 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4074 mode, first proxy the setcaps to the peer pad.
4075 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4077 (gst_base_sink_default_activate_pull): Rename from
4078 gst_base_sink_activate_pull.
4079 (gst_base_sink_negotiate_pull): New function, performs negotiation
4080 in pull mode before calling ::activate_pull().
4081 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4082 vmethod instead of the default implementation. I have no idea how
4083 this worked before. Negotiate before calling activate_pull.
4085 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4086 sink pads in pull mode. In addition to being correct, fixes
4087 filesrc ! decodebin ! identity ! fakesink.
4088 (gst_pad_get_range, gst_pad_pull_range): Don't call
4089 gst_pad_set_caps() if the caps changes; instead error out with
4090 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4092 2007-01-12 Andy Wingo <wingo@pobox.com>
4094 * docs/design/part-negotiation.txt: Update with more policy.
4096 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4098 * libs/gst/check/gstbufferstraw.h:
4099 * libs/gst/check/gstcheck.h:
4100 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4103 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4105 * tests/check/Makefile.am:
4106 * tests/check/gst/.cvsignore:
4107 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4108 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4109 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4110 (GST_START_TEST), (gst_tag_setter_suite):
4111 Add minimal unit test for beforementioned GstTagSetter bug.
4113 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4115 Patch by: René Stadler <mail at renestadler dot de>
4117 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4118 gst_tag_list_merge() returns a new list, so it's not the best idea
4119 to ingore its return value. Effectively meant that tags could only
4120 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4121 Also add function guard to require a non-NULL taglist as input (has
4122 always been so due to gst_tag_list_copy(), just making it explicit).
4124 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4126 * docs/random/draft-missing-plugins.txt:
4127 Some additions: mention new API that is supposed to be used at the
4128 various stages; short blob about new gst-inspect introspection
4129 option; mention potential future problem with plugins that have
4130 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4132 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4134 * tools/gst-inspect.c:
4135 (print_plugin_automatic_install_info_codecs),
4136 (print_plugin_automatic_install_info_protocols),
4137 (print_plugin_automatic_install_info), (main):
4138 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4139 introspect plugin files and get machine-parsable output that corresponds
4140 to the last bit of the missing-plugin installer string (small gotcha:
4141 doesn't take into account ranks).
4143 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4146 * docs/gst/gstreamer-sections.txt:
4148 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4149 (gst_registry_lookup_locked):
4150 * gst/gstregistry.h:
4151 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4152 (gst_registry_binary_initialize_magic),
4153 (gst_registry_binary_save_string),
4154 (gst_registry_binary_save_pad_template),
4155 (gst_registry_binary_save_feature),
4156 (gst_registry_binary_save_plugin),
4157 (gst_registry_binary_write_cache),
4158 (gst_registry_binary_check_magic),
4159 (gst_registry_binary_load_pad_template),
4160 (gst_registry_binary_load_feature),
4161 (gst_registry_binary_load_plugin),
4162 (gst_registry_binary_read_cache):
4163 * gst/gstregistrybinary.h:
4164 * gst/gstregistryxml.c: (load_feature),
4165 (gst_registry_xml_read_cache):
4166 commit binary registry (disabled by default, see #359653)
4168 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4170 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4171 Fix 'make check' too.
4173 2007-01-10 Andy Wingo <wingo@pobox.com>
4175 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4178 * docs/design/part-negotiation.txt: Update with, um, one way that
4179 pull-mode negotiation might work?
4182 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4183 that the pad must be a src pad; makes sense to call it the other
4184 way in pull mode, and the logic is symmetric anyway.
4186 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4188 * plugins/elements/gstfilesink.c:
4189 Include <stdio.h> for fseeko().
4191 2007-01-10 Wim Taymans <wim@fluendo.com>
4195 Reserve LATENCY event.
4197 2007-01-09 Wim Taymans <wim@fluendo.com>
4199 * docs/design/draft-latency.txt:
4202 2007-01-09 Wim Taymans <wim@fluendo.com>
4204 * docs/design/draft-latency.txt:
4208 * gst/gststructure.c:
4212 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4214 * tests/check/.cvsignore:
4215 Ignore test-registry.xml as well.
4217 2007-01-09 Wim Taymans <wim@fluendo.com>
4219 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4220 unref data at the end when we are done with the pad.
4222 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4224 * docs/gst/gstreamer-sections.txt:
4225 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4226 (init_post), (gst_deinit), (gst_update_registry):
4228 API: add gst_update_registry() (#391296).
4230 * tests/check/Makefile.am:
4231 * tests/check/gst/gstregistry.c:
4232 * tests/check/gst/.cvsignore:
4233 Simple unit test for the above.
4235 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4237 * gst/gstregistry.c: (gst_registry_scan_path_level):
4238 Plugin extension on HP-UX is .sl, add that to the list of approved
4239 plugin extensions (see #393796).
4241 * tests/check/gst/gstpad.c: (GST_START_TEST):
4242 ulong => gulong. Fixes compilation with HP-UX compiler.
4244 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4245 Fix compilation if valgrind headers are not available.
4247 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4249 * win32/common/libgstreamer.def:
4250 Add new exported function.
4251 * win32/vs6/libgstbase.dsp:
4252 Add gstdataqueue.c to the build.
4253 * win32/vs6/libgstcoreelements.dsp:
4254 Add gstmultiqueue.c to the build.
4256 2007-01-06 Andy Wingo <wingo@pobox.com>
4258 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4259 activate_pull(), providing for a way to specialize the process of
4260 spawning a thread to pull on the sink pad. There is a default
4263 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4264 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4265 (gst_base_sink_init): Renamed pad activation functions (inserting
4266 "_pad" in their names). Refactor to use the new activate_pull
4267 vmethod, as appropriate.
4268 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4269 default activate_pull function to start a task pulling from the
4270 sink pad, as before.
4272 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4273 on the pads if necessary, as in push()/chain(). Update docs.
4274 Shouldn't affect existing pull() usage as it is currently only
4275 being used on buffers without caps.
4277 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4279 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4281 Call g_thread_init() first thing in gst_init() / gst_check_init().
4282 When initialisation is done via gst_init_get_option_group() and
4283 GOption parsing, issue a warning if the GLib thread system has not
4284 been initialised yet by the time gst_init_get_option_group() is
4285 called, as it's quite likely other GLib functions such as
4286 g_option_context_new() have been called already then, and
4287 g_thread_init() must be called before any other GLib function. The
4288 application in question must be fixed in that case, since memory
4289 corruption might happen otherwise.
4290 We issue the warning because even if the GLib folks decide to work
4291 around the problem on their end in future, this is still an issue
4292 with all GLib versions >= 2.10.0, so we should warn until we depend
4293 on a GLib version we know to be safe.
4294 Update documentation as well.
4297 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4299 * tools/gst-inspect.c: (main):
4300 * tools/gst-launch.c: (main):
4301 * tools/gst-typefind.c: (main):
4302 * tools/gst-xmlinspect.c: (main):
4303 Call g_thread_init() really really early, before any other GLib
4304 function (see #342564 and recent discussion on gtk-devel-list).
4306 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4308 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4310 * gst/gst_private.h:
4311 * gst/gstconfig.h.in:
4313 On win32, all the __declspec stuff for symbol exporting is
4314 apparently only needed with MSVC, but doesn't work with MingW.
4315 Fixes compilation with MingW and #391909.
4317 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4319 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4320 Change some GST_ERROR_OBJECT that aren't really errors to
4321 GST_WARNING_OBJECT in order to reduce terminal spam.
4323 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4325 * tests/check/Makefile.am:
4326 disable test again, as there seem to be still race problems
4328 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4330 * tests/check/Makefile.am:
4331 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4332 (GST_START_TEST), (queue_suite):
4333 enable queue test again, add tests for the leaky behaviour
4335 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4338 * tests/examples/Makefile.am:
4339 Compile adapter test/example only if the required headers are
4340 available (fixes #391915).
4342 2007-01-01 David Schleef <ds@schleef.org>
4345 Restore the previous signal handler for SIGSEGV instead of
4346 setting to default, since we may have stolen it away from
4347 someone. (i.e., Mono)
4349 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4351 * docs/random/draft-missing-plugins.txt:
4352 Some small additions and clarifications.
4354 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4356 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4357 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4358 since that can lead to random memory corruptions and crashes
4359 (may or may not be related to #383244, #386711, and #386711).
4361 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4363 * tests/check/.cvsignore:
4364 * tests/check/Makefile.am:
4365 sync .cvsignome and CLEANFILES
4367 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4369 * tests/check/Makefile.am:
4372 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4374 * docs/design/part-states.txt:
4375 two tiny additional comments
4377 * gst/gststructure.c:
4380 * tests/check/Makefile.am:
4381 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4383 disable test for now, unless it gets fixed
4385 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4387 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4389 fix race in underrun test
4391 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4393 * tests/check/elements/.cvsignore:
4396 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4398 try to narrow test failure
4400 2006-12-21 David Schleef <ds@schleef.org>
4402 * plugins/elements/gstfakesrc.c:
4403 Use g_random_int_range(), since it produces better random
4404 numbers in a range than almost-correct floating point code.
4406 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4408 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4409 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4410 (gst_check_teardown_sink_pad):
4411 do not automatically (de)activate pads
4413 * tests/check/Makefile.am:
4414 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4415 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4416 add new, yet simple tests for queue
4418 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4419 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4420 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4422 * tests/check/elements/identity.c: (cleanup_identity):
4423 consistent pad (de)activation
4425 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4427 Patch by: Sebastian Dröge <slomo ubuntu com>
4429 * libs/gst/base/gstcollectpads.c:
4430 Fix two doc typos (#387866).
4432 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4434 * docs/manual/advanced-dparams.xml:
4435 Fix typo (g_object_control_properties() doesn't exist).
4437 2006-12-19 Edward Hervey <edward@fluendo.com>
4439 * gst/gstsegment.c: (gst_segment_set_seek):
4440 Fine tune the cases where the segment start/stop values are really
4442 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4443 Add tests for the return values of gst_segment_set_seek().
4445 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4450 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4452 Fix incorrect documentation and flesh it out a bit more.
4453 Set default values for the max properties on the GParamSpec as well,
4454 so it shows up correctly in gst-inspect.
4456 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4458 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4459 Correct docs of queue, add more detail and crosslink it more.
4461 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4463 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4464 Print additional debug info when the stream isn't perfectly
4465 timestamped; don't try to use invalid durations.
4467 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4469 * docs/design/Makefile.am:
4470 Dist new design docs.
4472 2006-12-16 Wim Taymans <wim@fluendo.com>
4474 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4476 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4477 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4478 (gst_collect_pads_stop), (gst_collect_pads_event),
4479 (gst_collect_pads_chain):
4480 * libs/gst/base/gstcollectpads.h:
4481 Add refcounting to the collectpads data so we can track when it's safe
4482 to free the data. Fixes #383382.
4484 2006-12-15 Wim Taymans <wim@fluendo.com>
4486 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4487 (gst_collect_pads_remove_pad):
4488 Automatically activate/deactivate pads when they are added to a
4489 started/stoped collectpads.
4491 2006-12-15 Wim Taymans <wim@fluendo.com>
4493 * gst/gstelement.c: (gst_element_add_pad):
4494 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4495 * gst/gstpad.c: (gst_pad_init):
4496 Set pads to FLUSHING when they are created. Check, warn and fix when a
4497 demuxer adds an inactive pad to itself when running. Fixes #339326.
4499 2006-12-15 Wim Taymans <wim@fluendo.com>
4501 * gst/gstelement.c: (gst_element_class_init),
4502 (gst_element_default_send_event), (gst_element_send_event),
4503 (gst_element_default_query), (gst_element_query):
4504 Expose default element send_event and query handling as vmethods that
4505 subclasses can chain up to.
4507 2006-12-15 Wim Taymans <wim@fluendo.com>
4509 * gst/gstelement.c: (gst_element_set_state_func):
4510 Small documentation fixes.
4512 2006-12-15 Wim Taymans <wim@fluendo.com>
4514 * docs/design/draft-latency.txt:
4515 Checked in draft for handling latency in pipelines.
4517 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4521 * gstreamer.spec.in:
4524 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4526 * gst/gst.c: (init_pre), (init_post):
4527 init_pre() and init_post() might be called via our GOptionGroup or
4528 from gst_init(), and we should skip both of them if we've already
4529 been initialised, otherwise we will init some things twice or add
4530 two default log functions.
4532 2006-12-13 Edward Hervey <edward@fluendo.com>
4534 * docs/manual/basics-bus.xml:
4535 No, gst_main_loop does not exist. Its g_main_loop.
4536 Discovered by somebody who abused the copy-paste technique of coding :)
4538 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4540 * gst/gstghostpad.c:
4541 Log ghostpad debug stuff to the GST_PADS category as well rather
4542 than just to the default category.
4544 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4547 * gst/gst.c: (init_pre):
4548 Add some basic system details such as OS and architecture
4549 to the debug output if possible, courtesy of uname().
4551 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4553 * docs/gst/running.xml:
4554 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4555 environment variables.
4557 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4559 * tests/check/gst/gstbin.c: (GST_START_TEST):
4560 It is acceptable to have a refcount of 2 or 3 at this point in the
4561 test, because the pipeline might be just posting its state_change
4562 message. The next line then waits for that message to appear using
4563 bus_poll, so that should be fine too.
4565 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4567 * gst/gst.c: (ensure_current_registry_forking):
4568 Ignore EINTR when reading from the child registry pipe.
4569 Explicitly ignore the return value from close, since it makes no
4572 * gst/gstminiobject.c: (gst_mini_object_ref),
4573 (gst_mini_object_unref):
4574 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4576 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4577 When removing cached plugins, remove their features too, so they're
4578 not visible after they've disappeared.
4580 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4581 In the unlikely case that we are linking pads with no parents, don't
4582 crash trying to get the non-existent parent bin.
4584 * gst/parse/grammar.y:
4585 Output debug in the PIPELINE category
4587 2005-03-08 Wim Taymans <wim@fluendo.com>
4589 Patch by: René Stadler <mail at renestadler dot de>
4591 * gst/gstclock.c: (gst_clock_new_periodic_id):
4592 Reject invalid clock times for interval of periodic ids.
4595 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4597 * gst/gstelementfactory.c: (gst_element_factory_create):
4598 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4599 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4600 * tools/gst-inspect.c: (print_element_info):
4601 Fix refcounting of gst_plugin_feature_load to match the docs.
4604 2006-12-07 Wim Taymans <wim@fluendo.com>
4606 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4607 (gst_base_sink_get_position):
4608 Improve debugging of events.
4610 2006-12-07 Wim Taymans <wim@fluendo.com>
4612 Patch by: René Stadler <mail at renestadler dot de>
4614 * gst/gstclock.c: (gst_clock_id_wait):
4615 Make period ids add the interval to the origial requested time instead
4616 of the possibly updated time which can be wrong when there are multiple
4617 waiters for the same id. Fixes #382592.
4619 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4620 (gst_system_clock_id_wait_jitter_unlocked),
4621 (gst_system_clock_id_wait_jitter):
4622 Fix restart in the async notify thread when an async entry is added to
4623 the front of the list. Fixes #381492.
4625 * tests/check/gst/gstsystemclock.c: (store_callback),
4626 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4627 Added test for multiple async waits.
4628 Added test for async wait order.
4630 2006-12-07 Wim Taymans <wim@fluendo.com>
4632 * gst/gstbin.c: (gst_bin_query):
4633 Add some more docs about the POSITION query.
4635 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4638 Bump version nano - back to CVS.
4640 === release 0.10.11 ===
4642 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4645 releasing 0.10.11, "Love never runs on time"
4647 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4649 * win32/common/libgstbase.def:
4650 * win32/common/libgstreamer.def:
4651 * win32/vs8/libgstbase.vcproj:
4652 * win32/vs8/libgstcoreelements.vcproj:
4653 * win32/vs8/libgstreamer.vcproj:
4654 Fix compilation on win32 under VS8
4655 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4656 Partially fixes #381175
4658 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4660 * gst/gstvalue.c: (gst_value_compare_fraction):
4661 If someone is foolish enough to compare 2 fractions with denominator =
4662 0, return UNORDERED rather than aborting.
4664 2006-11-28 Edward Hervey <edward@fluendo.com>
4666 * libs/gst/base/Makefile.am:
4667 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4668 (gst_data_queue_base_init), (gst_data_queue_class_init),
4669 (gst_data_queue_init), (gst_data_queue_new),
4670 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4671 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4672 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4673 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4674 (gst_data_queue_set_flushing), (gst_data_queue_push),
4675 (gst_data_queue_pop), (gst_data_queue_drop_head),
4676 (gst_data_queue_set_property), (gst_data_queue_get_property):
4677 * libs/gst/base/gstdataqueue.h:
4678 New GstDataQueue object for threadsafe queueing. Most useful for
4679 elements that need some queueing functionnality.
4680 * docs/libs/gstreamer-libs-docs.sgml:
4681 * docs/libs/gstreamer-libs-sections.txt:
4682 Insert documentation for GstDataQueue
4683 * plugins/elements/Makefile.am:
4684 * plugins/elements/gstelements.c:
4685 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4686 (gst_multi_queue_class_init), (gst_multi_queue_init),
4687 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4688 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4689 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4690 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4691 (gst_multi_queue_loop), (gst_multi_queue_chain),
4692 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4693 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4694 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4695 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4696 (wake_up_next_non_linked), (compute_next_non_linked),
4697 (single_queue_overrun_cb), (single_queue_underrun_cb),
4698 (single_queue_check_full), (gst_single_queue_new):
4699 * plugins/elements/gstmultiqueue.h:
4700 New multiqueue element, using GstDataQueue. Used for queuing multiple
4702 Closes #344639 and #347785
4704 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4706 * docs/pwg/advanced-types.xml:
4707 add more missing type details
4709 * tools/gst-run.c: (main):
4710 remove unused variable
4712 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4714 * docs/libs/Makefile.am:
4715 * docs/libs/gstreamer-libs.types:
4716 add types of base classes to enable gobject specific stuff in the docs
4718 * docs/random/ensonic/embedded.txt:
4719 more ideas about isolating platform specific things
4721 2006-11-20 Wim Taymans <wim@fluendo.com>
4723 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4725 * libs/gst/check/gstcheck.h:
4726 Fix compilation and running against 0.9.4. Fixes #377332.
4728 2006-11-20 Wim Taymans <wim@fluendo.com>
4730 * gst/gstsegment.c: (gst_segment_set_seek),
4731 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4732 (gst_segment_to_running_time):
4733 Fix boundary checking in to_running_time() and to_stream_time().
4736 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4737 stream and running time can now be calculated for the complete
4740 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4742 * gst/gstpad.c: (gst_pad_push_event):
4743 Can't access event structure after giving away ownership of
4746 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4748 * docs/random/ensonic/embedded.txt:
4749 * docs/random/ensonic/profiling.txt:
4750 * docs/random/ensonic/receipies.txt:
4753 2006-11-13 Wim Taymans <wim@fluendo.com>
4755 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4758 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4760 2006-11-13 Wim Taymans <wim@fluendo.com>
4762 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4764 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4765 Store new length in segment duration so we don't keep on calling the
4766 potentially expensize get_size() call. Fixes #370865.
4768 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4770 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4772 * win32/common/libgstreamer.def:
4773 Add two missing symbols (#366492).
4775 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4777 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4778 (gst_adapter_take_buffer):
4779 Fix format string to use all its arguments.
4780 Remove useless >= check on a guint
4782 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4784 * tests/examples/adapter/.cvsignore:
4785 Ignore build file as commanded by the build-bot
4787 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4789 * tests/examples/adapter/Makefile.am:
4790 * tests/examples/adapter/adapter_test.c: (run_test_take),
4791 (run_test_take_buffer), (run_tests), (main):
4793 Add new files from the previous commit
4795 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4799 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4800 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4801 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4802 * libs/gst/base/gstadapter.h:
4803 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4804 (GST_START_TEST), (gst_adapter_suite):
4805 * tests/examples/Makefile.am:
4806 Do some optimisation work in GstAdapter to avoid copies in more cases.
4807 It could still do slightly better by merging buffers when
4808 gst_buffer_is_span_fast is true, but is already faster.
4810 Also, avoid traversing a single-linked list to append each incoming
4811 buffer inside the adapter.
4813 Add simple test app that times the adapter behaviour in different
4814 situations, and extend the unit test to check that bytes enter and
4815 exit the adapter in their original order.
4817 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4819 * docs/random/draft-missing-plugins.txt:
4820 Update: use element message instead of adding a new message
4821 type to the core; don't provide GStreamer API to initiate the
4822 plugin download, just provide API to compose the strings needed
4823 and let an external libgimmestuff handle the rest.
4825 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4827 * tools/gst-inspect.c: (print_element_properties_info):
4828 Print a string instead of 'unknown type' for GValueArray properties
4830 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4832 * docs/random/draft-missing-plugins.txt:
4835 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4837 * tests/examples/typefind/typefind.c: (type_found), (main):
4838 Make typefind element example work again (#371894); add a
4841 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4843 * docs/random/draft-missing-plugins.txt:
4844 Commit initial draft about how to deal with missing plugins,
4845 needs work (API too).
4847 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4849 * docs/pwg/advanced-types.xml:
4850 documents the new caps elements (see #363118)
4852 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4854 * gst/gstplugin.c: (gst_plugin_load_file):
4855 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4856 (gst_file_src_map_region), (gst_file_src_start):
4857 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4858 (gst_file_index_commit):
4859 Use g_strerror() instead of strerror() - we want UTF-8.
4861 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4863 Patch by: Peter Kjellerstedt <pkj at axis com>
4865 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4866 Another printf fix (#371493).
4868 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4870 * tests/check/gst/gsttag.c:
4871 relicence (okay with author=company)
4873 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4875 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4876 (gst_pad_push_event):
4877 Enhance debug and improve docs
4882 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4884 * docs/random/ensonic/distributed.txt:
4885 * docs/random/ensonic/profiling.txt:
4888 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4890 * docs/gst/gstreamer-sections.txt:
4891 add new API and fix the build
4893 * gst/gstbin.c: (gst_bin_recalc_state):
4894 * gst/gstelement.c: (gst_element_message_full),
4895 (gst_element_get_state_func), (gst_element_set_state_func):
4896 use new API and improve logging
4898 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4900 API: add function to get StateChangereturn names to improve logs
4902 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4904 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4905 I'm considering shooting the next person to put strerror stuff
4906 in the translateable part of the message.
4908 2006-11-03 Wim Taymans <wim@fluendo.com>
4910 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4911 Get the type and printf conversion specifiers right.
4913 2006-11-03 Wim Taymans <wim@fluendo.com>
4915 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4917 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4918 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4919 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4920 Some small cleanups. Improve debugging.
4922 Signal all waiting threads with a broadcast instead of just one.
4925 2006-11-03 Wim Taymans <wim@fluendo.com>
4927 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4928 (gst_fd_src_create):
4930 Only update fd when it's different from the old.
4932 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4934 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4935 Printf fixes for PPC/OSX, take two (#369366).
4937 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4939 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4941 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4942 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4943 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4944 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4945 don't cast to long long for portability reasons, but use
4946 GLib's types instead.
4948 2006-10-30 Michael Smith <msmith@fluendo.com>
4950 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4951 Get the arguments to lseek() the right way around.
4954 2006-10-30 Wim Taymans <wim@fluendo.com>
4956 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4959 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4961 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4963 Patch by: Kjartan Maraas <kmaraas at gnome org>
4965 * docs/design/part-MT-refcounting.txt:
4966 * docs/random/wtay/capsnego2-docs:
4969 Typo fixes (#366212).
4971 2006-10-28 Wim Taymans <wim@fluendo.com>
4973 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4976 * win32/common/libgstbase.def:
4977 * win32/common/libgstreamer.def:
4978 * win32/vs8/libgstbase.vcproj:
4979 * win32/vs8/libgstcontroller.vcproj:
4980 Add needed entries in .def files.
4982 Rearrange def files in vs8 solutions. Fixes #366286.
4984 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4986 * win32/common/gstconfig.h:
4987 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4988 hand-made win32 gstconfig.h. Fixes #366321.
4990 2006-10-27 Wim Taymans <wim@fluendo.com>
4992 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4993 (gst_ghost_pad_new_full):
4994 Make acceptcaps return TRUE when we don't have a target, just like
4997 2006-10-27 Wim Taymans <wim@fluendo.com>
4999 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5000 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5002 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5004 * gst/gststructure.c: (gst_structure_id_set_value):
5005 If someone tries to set a non-UTF8 string field on a structure,
5006 don't just print a warning, but also ignore the request and do
5007 not change/add that field to the structure.
5009 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5012 2006-10-25 David Schleef <ds@schleef.org>
5015 g_hash_table_insert() needs a cast to a non-const pointer duh.
5017 2006-10-25 David Schleef <ds@schleef.org>
5021 Change name parameter of _gst_debug_register_funcptr to const
5022 to reflect the constness of its use in the function as well
5023 as to quiet a gcc warning.
5025 2006-10-25 Edward Hervey <edward@fluendo.com>
5027 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5028 Don't push the buffer if it's empty.
5031 2006-10-24 Wim Taymans <wim@fluendo.com>
5036 * libs/gst/base/gstbasetransform.c:
5037 (gst_base_transform_sink_eventfunc):
5038 Debug segment values *after* updating them as this is more
5041 2006-10-23 Wim Taymans <wim@fluendo.com>
5043 * docs/design/part-events.txt:
5046 * docs/design/part-block.txt:
5047 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5048 (gst_pad_push_event):
5049 Revert BLOCKING patch, it tries to be smart without really having a
5050 clear idea what or how. So, now we discard all FLUSHING events again on
5051 a blocking pad. Should fix gnonlin again.
5053 2006-10-23 Wim Taymans <wim@fluendo.com>
5055 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5057 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5058 (gst_base_src_start), (gst_base_src_activate_push):
5059 Make sure size is always initialized. Fixes #364388.
5061 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5063 * docs/random/ensonic/distributed.txt:
5064 add some ideas about doing distributed processing
5066 * docs/random/ensonic/profiling.txt:
5067 get_rusage look promising
5069 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5071 * docs/manual/basics-helloworld.xml:
5072 Add a cast in example to fix compile warning
5074 2006-10-18 Wim Taymans <wim@fluendo.com>
5076 * gst/gstsegment.c: (gst_segment_set_last_stop),
5077 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5078 Relax arg checking again, -1 is allowed.
5080 2006-10-18 Wim Taymans <wim@fluendo.com>
5082 * gst/gstsegment.c: (gst_segment_set_last_stop),
5083 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5084 _set_last_stop() must be with a value != -1
5085 A _TYPE_SET to -1 means seek to 0.
5086 Calc last_stop correctly for negative rates.
5087 Make sure we work with positive durations when updating a segment.
5089 2006-10-18 Wim Taymans <wim@fluendo.com>
5091 * docs/design/part-live-source.txt:
5095 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5098 Add an explicit cast to GstBuffer** to keep old code that added an
5099 explicit cast to GstMiniObject** for gst_mini_object_replace()
5100 compiling without warning.
5102 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5104 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5105 check for validity of dates
5107 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5109 * docs/gst/gstreamer-sections.txt:
5110 Forgot this one, makes gtk-doc shut up.
5112 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5114 Patch by: Peter Kjellerstedt <pkj at axis com>
5117 Don't define xmlNodePtr to gpointer if the core was built with
5118 --disable-loadsave and --disable-registry, this will break
5119 applications that want to use libxml2 but are buildling against a
5120 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5121 instead so we don't have to mess with the libxml2 namespace
5124 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5127 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5128 type-punned pointer warnings.
5130 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5133 Add casts to the correct return type to state <=> state transition
5136 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5138 * docs/design/part-live-source.txt:
5139 describe howto handle latency
5141 * docs/random/ensonic/profiling.txt:
5144 * tools/gst-plot-timeline.py:
5145 fix log parsing for solaris, remove unused function
5147 2006-10-16 Wim Taymans <wim@fluendo.com>
5149 * docs/design/part-trickmodes.txt:
5151 Update some docs regarding reverse playback.
5153 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5155 Patch by: Marcus Granado <mrc dot gran at gmail com>
5157 * win32/vs8/grammar.vcproj:
5158 Error out with a warning if glib-genmarshal.exe is not in path,
5159 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5161 2006-10-13 Wim Taymans <wim@fluendo.com>
5163 * gst/gstsegment.c: (gst_segment_set_seek):
5164 When seeking to stop -1, set last_stop (current position) to the
5165 duration of the segment.
5167 2006-10-13 Wim Taymans <wim@fluendo.com>
5170 Clarify _NO_PREROLL a bit more.
5175 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5176 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5177 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5178 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5179 due to wrong locking order. Fixes #361769.
5180 Remove some redundant/misplaced checks in pad_block.
5182 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5183 For negative rates, count backwards from the duration.
5185 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5187 * gst/gsterror.c: (_gst_library_errors_init):
5188 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5189 up with something better).
5191 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5193 * win32/vs6/libgstreamer.dsp:
5194 * win32/vs7/libgstreamer.vcproj:
5195 * win32/vs8/libgstreamer.vcproj:
5196 Don't reference glib-compat.c which is currently not used and not
5197 disted; add gstquark.c which was recently added. Fixes #361730.
5199 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5201 * win32/common/libgstbase.def:
5202 * win32/common/libgstcontroller.def:
5203 * win32/common/libgstreamer.def:
5204 Add gst_caps_merge() and a bunch of other recently-added functions.
5207 2006-10-11 Wim Taymans <wim@fluendo.com>
5209 * docs/plugins/gstreamer-plugins.args:
5210 * docs/plugins/inspect/plugin-coreelements.xml:
5211 * docs/plugins/inspect/plugin-coreindexers.xml:
5212 Update element args.
5214 * gst/gstsystemclock.c:
5215 Small comment update.
5217 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5218 (gst_tee_request_new_pad), (gst_tee_release_pad),
5219 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5220 (gst_tee_sink_activate_pull):
5221 * plugins/elements/gsttee.h:
5223 Add default property defines.
5224 Implement release pad function.
5225 Give properties better blubs etc.
5226 Activate pads before adding them to a running tee.
5227 Do simple buffer_alloc on the first requested pad.
5228 Post error when activation fails.
5230 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5232 * gst/gst.c: (ensure_current_registry_forking):
5233 Check return value of write() to make compiler happy.
5235 2006-10-11 Wim Taymans <wim@fluendo.com>
5237 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5239 * plugins/elements/gstqueue.c: (gst_queue_chain):
5240 Recheck queue filledness after signalling the overrun when we're about
5241 to leak downstream because we released the lock when emitting the signal
5242 and the queue could be empty again. Fixes #352345.
5244 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5246 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5247 Fix refcounting here too, just like we did for _new_valist() a few
5248 days ago (#357180) (thanks to René Stadler). Also remove all those
5249 'Since: 0.9' from the gtk-doc blobs.
5251 * tests/check/libs/controller.c: (controller_refcount_new_list),
5252 (gst_controller_suite):
5253 Unit test for the above.
5255 2006-10-10 Wim Taymans <wim@fluendo.com>
5257 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5259 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5260 (gst_pad_save_thyself):
5262 Write pad direction in XML output. Fixes #345496.
5264 2006-10-10 Wim Taymans <wim@fluendo.com>
5266 Patch by: René Stadler <mail at renestadler dot de>
5268 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5269 (gst_controller_new_list), (_gst_controller_dispose),
5270 (_gst_controller_finalize), (_gst_controller_class_init):
5271 Take ref to controlled object so that it cannot disappear.
5274 2006-10-10 Wim Taymans <wim@fluendo.com>
5276 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5277 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5278 (gst_check_teardown_sink_pad):
5279 Activate/deactivate pads in setup/teardown respectively.
5281 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5283 Patch by: Josep Torre Valles <josep@fluendo.com>
5286 Cast values when making gstenumtypes.h. This pacifies Forte
5287 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5290 2006-10-09 Wim Taymans <wim@fluendo.com>
5292 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5293 Rename some more @cur to @start to fix docs.
5295 * gst/gstsegment.c: (gst_segment_set_seek):
5297 time and start must always stay in sync as defined in design doc.
5299 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5300 Rename param to fix docs.
5302 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5303 Check that start and time are in sync.
5305 * tests/check/pipelines/parse-launch.c:
5306 (gst_parse_test_element_change_state):
5307 Activate pad before adding to the element.
5309 2006-10-09 Wim Taymans <wim@fluendo.com>
5311 * docs/design/part-qos.txt:
5316 Update seek event docs regarding negative rates.
5317 Rename @cur to @start.
5319 * gst/gstsegment.c: (gst_segment_set_seek):
5321 Update set_seek docs regarding negative rates.
5322 Correctly update last_stop to @stop when dealing with negative
5324 Rename @cur to @start.
5326 * tests/check/gst/gstpad.c: (GST_START_TEST):
5327 Activate pads before trying to use them.
5329 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5330 (gst_segment_suite):
5331 Add simple check for segments and negative rates.
5333 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5335 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5337 * docs/gst/gstreamer-sections.txt:
5338 API: add gst_tag_list_is_empty() (#360467).
5340 * tests/check/gst/gsttag.c: (GST_START_TEST):
5343 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5346 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5347 a value that doesn't fit on enumeration.
5349 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5351 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5352 Remove local debugging system and use Gstreamer's instead.
5354 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5356 Patch by: Josep Torre Valles <josep@fluendo.com>
5358 * common/m4/gst-error.m4:
5359 Disable warning of statement not reached on Forte.
5361 Fix warning on Forte (value doesn't fit on enumeration).
5362 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5363 Fix warning on Forte (value doesn't fit on enumeration).
5364 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5365 DEBUG macro says it takes minimum of 2 args and so Forte
5366 complains about the use with just 1 arg.
5367 * plugins/elements/gstfdsink.c:
5368 * plugins/elements/gstfdsrc.c:
5369 * plugins/elements/gstfilesink.c:
5370 * plugins/elements/gstfilesrc.c:
5371 Use correct return type for the uri handler implementations.
5373 All these fix warnings in Forte. Fixes bug #360860.
5375 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5378 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5379 format string, so don't use G_GNUC_PRINTF for those versions.
5381 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5383 * gst/gsttaglist.c: (gst_is_tag_list):
5385 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5387 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5388 Small test for the above.
5390 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5393 Less tabs, more spaces.
5395 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5398 Those two function declarations do actually belong there, revert
5399 commit from yesterday that turned them intro macros.
5401 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5403 Patch by: Josep Torre Valles <josep@fluendo.com>
5405 * gst/gst.c: (gst_init_get_option_group):
5406 Fix empty declaration and type mismatch.
5407 * gst/gstbin.c: (gst_bin_change_state_func):
5409 * gst/gstelement.c: (gst_element_continue_state),
5410 (gst_element_set_state_func), (gst_element_change_state),
5411 (gst_element_change_state_func):
5412 Fix type mismatches.
5413 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5414 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5415 Cast as appropriate.
5416 * gst/gstobject.c: (gst_class_signal_connect):
5417 Cast as appropriate. The function pointer parameter really
5418 has the wrong type but would break API if we change it.
5420 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5421 order of including string.h.
5422 * gst/gstutils.c: (gst_element_state_get_name):
5423 Remove unreachable line.
5424 * gst/gstxml.c: (gst_xml_parse_doc):
5426 All these caught by Forte.
5428 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5430 Patch by: Josep Torre Valles <josep@fluendo.com>
5432 * common/m4/gst-error.m4:
5434 We need to disable warnings on Forte for empty declarations
5435 due to gst-indent adding ;s to lines that just use macros
5436 where the macro actually doesn't need a ; at end to end
5439 2006-10-06 Wim Taymans <wim@fluendo.com>
5441 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5442 (gst_file_sink_close_file), (gst_file_sink_event),
5443 (gst_file_sink_render):
5444 Add some FIXME for the NEWSEGMENT handling.
5446 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5448 * gst/parse/grammar.y:
5449 Remove static function gst_parse_element_lock as all it does
5450 is return. Looks like cruft from 0.8.
5452 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5454 Patch by: Josep Torre Valles <josep@fluendo.com>
5456 * common/m4/gst-error.m4:
5458 * libs/gst/net/Makefile.am:
5459 Fix a compilation issue with Forte on Solaris. inet_aton is in
5462 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5464 * gst/gstpad.c: (pre_activate):
5465 * gst/gstregistry.c: (gst_registry_scan_path_level):
5466 * gst/gstregistryxml.c: (load_plugin):
5467 * libs/gst/controller/gstcontroller.c:
5468 (gst_controlled_property_set_interpolation_mode):
5469 * libs/gst/dataprotocol/dataprotocol.c:
5470 (gst_dp_packet_from_event_1_0):
5471 * libs/gst/net/gstnetclientclock.c:
5472 (gst_net_client_clock_observe_times):
5473 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5476 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5479 * docs/gst/gstreamer-sections.txt:
5480 * gst/gstconfig.h.in:
5483 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5484 whether we can use G_GNUC_PRINTF in other header files and at
5485 least check the printf format/arguments of debug messages and
5486 GST_ELEMENT_ERROR messages when the printf extension is not
5488 Replace more tabs with spaces in gstinfo.h and remove two spurious
5489 function declarations in GST_DISABLE_DEBUG part with macros.
5491 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5493 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5494 More docs for the sync-message signal (mention that it is not
5495 emitted by default); log message structures of messages posted on
5498 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5500 * gst/gst.c: (ensure_current_registry_forking):
5501 Use a pipe pair to receive status results from the forked child, and
5502 ignore the result from waitpid. Fixes #355499
5504 2006-10-02 Wim Taymans <wim@fluendo.com>
5506 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5507 (gst_ghost_pad_suite):
5510 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5513 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5515 2006-10-02 Edward Hervey <edward@fluendo.com>
5517 * docs/design/part-block.txt:
5518 Further explain the use of flushing on blocked pads.
5519 * docs/gst/gstreamer-sections.txt:
5520 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5521 (gst_pad_push_event):
5523 Added new GstPadFlag : GST_PAD_BLOCKING.
5524 Adds the notion of pads really blocking, which enables to properly
5525 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5527 API: gst_pad_is_blocking()
5528 API: GST_PAD_IS_BLOCKING() macro
5529 API: GST_PAD_BLOCKING GstPadFlag
5531 2006-10-02 Wim Taymans <wim@fluendo.com>
5533 Patch by: mrcgran <mrc.gran at gmail dot com>
5535 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5536 Filter the proxied caps against the padtemplate if we have one.
5538 * gst/gstquery.c: (gst_query_new_segment):
5539 Add include for gstinfo.h so that compilation with
5540 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5542 2006-10-02 Wim Taymans <wim@fluendo.com>
5544 Patch by: Alessandro Decina <alessandro at nnva org>
5546 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5547 (gst_file_sink_set_location), (gst_file_sink_open_file),
5548 (gst_file_sink_close_file), (gst_file_sink_event),
5549 (gst_file_sink_render):
5550 Set file to NULL when closing filesink so that we can set a new filename
5551 in READY. Fixes #358613.
5553 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5555 Patch by: Alessandro Decina <alessandro at nnva org>
5557 * gst/gstevent.c: (_gst_event_copy):
5558 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5559 with event structures by setting the parent refcount address of the
5560 copied structure to the address of the refcount member of the newly
5561 copied event rather than the address of the refcount member of the
5562 original event. Fixes #358737.
5564 * tests/check/gst/gstevent.c: (GST_START_TEST):
5565 Unit test for the above.
5567 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5569 * docs/design/Makefile.am:
5570 Dist some more files.
5572 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5574 * tests/check/libs/controller.c: (GST_START_TEST),
5575 (gst_controller_suite):
5576 Add test for the previous fix; add some more tests
5577 for correct refcounting behaviour; fix a few leaks
5578 in test cases; call gst_controller_init() at start
5581 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5583 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5584 (gst_controller_set_from_list):
5585 Don't g_return_val_if_fail() on timed values with invalid timestamps
5586 inside a critical section without unlocking the mutex. Spotted by
5587 René Stadler. (#357617)
5588 Also, fix up refcounting properly: when returning an existing
5589 controller, we should increase the reference only once and not
5590 once per property and when trying to control a property again
5591 we should also increase the refcount.
5593 2006-09-29 Wim Taymans <wim@fluendo.com>
5595 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5596 * libs/gst/net/gstnettimeprovider.c:
5597 (gst_net_time_provider_thread):
5598 Stop reading commands when EOF as well.
5600 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5601 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5602 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5603 Unify description of the dump property.
5605 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5607 * tests/examples/manual/.cvsignore:
5608 OK, so it's actually cvsignore that needs changing. Stop laughing.
5610 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5612 * tests/examples/manual/Makefile.am:
5613 Gah, declare vars *before* using them
5615 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5617 * gst/gst.c: (init_pre), (scan_and_update_registry),
5618 (ensure_current_registry_nonforking),
5619 (ensure_current_registry_forking), (ensure_current_registry),
5620 (init_post), (gst_debug_help), (gst_deinit):
5621 * gst/gst_private.h:
5622 * gst/gstregistry.c: (gst_registry_finalize),
5623 (gst_registry_remove_features_for_plugin_unlocked),
5624 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5625 (gst_registry_scan_path),
5626 (_priv_gst_registry_remove_cache_plugins),
5627 (_priv_gst_registry_cleanup):
5628 * gst/gstregistry.h:
5629 Re-commit the registry changes, along with an extra fix:
5630 When a cached plugin is encountered at a different file path,
5631 update the stored path in the registry cache so that the parent
5632 process knows where it actually is now when it re-reads the registry
5633 cache. Fixes the thing that broke distcheck with the previous commit.
5635 * tests/check/Makefile.am:
5636 Clean up files named 'core' too when running make clean.
5638 * tests/examples/manual/Makefile.am:
5639 Set up a registry path for running these tests, and clean it properly
5642 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5645 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5646 want gmodule-no-export-2.0.pc instead so that we don't drag in
5647 --export-dynamic on every project that links to GStreamer.
5649 Also, make our export regex only match the start of symbols, rather
5650 than any symbol that contains '_gst' somewhere.
5652 * libs/gst/check/Makefile.am:
5653 The libgstcheck we build does however need export-dynamic, as it
5654 produces some symbols that don't match our _gst... style regex.
5657 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5659 * gst/gst.c: (init_pre), (scan_and_update_registry),
5660 (ensure_current_registry_nonforking),
5661 (ensure_current_registry_forking), (ensure_current_registry),
5662 (init_post), (gst_debug_help), (gst_deinit):
5663 * gst/gst_private.h:
5664 * gst/gstregistry.c: (gst_registry_finalize),
5665 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5666 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5667 (_gst_registry_cleanup):
5668 * gst/gstregistry.h:
5669 Revert previous change until I figure out why it breaks distcheck.
5671 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5673 * gst/gst.c: (init_pre), (scan_and_update_registry),
5674 (ensure_current_registry_nonforking),
5675 (ensure_current_registry_forking), (ensure_current_registry),
5676 (init_post), (gst_debug_help), (gst_deinit):
5678 Make init_pre and init_post take the full complement of GOptionFunc
5679 args so they can return useful GErrors. Make the registry updating
5682 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5683 ensure that the registry we're about to write out doesn't contain
5684 stale information about old-deleted plugin files.
5686 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5687 that deletion of plugin files is considered a registry change.
5689 * gst/gst_private.h:
5690 * gst/gstregistry.c: (gst_registry_finalize),
5691 (gst_registry_remove_features_for_plugin_unlocked),
5692 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5693 (gst_registry_scan_path),
5694 (_priv_gst_registry_remove_cache_plugins),
5695 (_priv_gst_registry_cleanup):
5696 * gst/gstregistry.h:
5697 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5698 by adding _priv prefix, so that they won't appear in the global
5699 symbol table. They still do atm though because of #318031. Move the
5700 prototypes to gst_private.h
5702 When removing a plugin, remove all features for that plugin too.
5705 2006-09-27 Wim Taymans <wim@fluendo.com>
5707 * docs/random/moving-plugins:
5708 Make it clear that the "compiled-in descriptions" really mean
5709 the element details.
5711 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5712 (gst_base_sink_wait_preroll):
5715 * docs/libs/gstreamer-libs-sections.txt:
5716 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5717 (gst_base_src_get_range), (gst_base_src_activate_push):
5718 * libs/gst/base/gstbasesrc.h:
5719 Added function to block while waiting for PLAYING, this function
5720 is used by live sources that block on the clock.
5721 API: gst_base_src_wait_playing()
5723 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5725 Patch by: Peter Kjellerstedt <pkj at axis com>
5728 gst-element-check.m4 is generated and should therefore be
5729 copied from the build dir rather than the source dir (#357593).
5730 'make distcheck' hasn't noticed this because we were disting
5731 the file as well, so stop doing that.
5733 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5735 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5736 Add some tests for gst_caps_intersect().
5738 * tools/gst-launch.c: (event_loop):
5739 Print all buffering percentages we get, even the 100% one.
5741 2006-09-26 Wim Taymans <wim@fluendo.com>
5743 * tools/gst-inspect.c: (print_element_properties_info),
5744 (print_signal_info):
5745 Fix printing of flags to match the look of enums.
5747 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5749 * gst/gstelementfactory.c:
5750 Fix typo in docs blurb.
5752 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5754 * gst/gsturi.c: (search_by_entry):
5755 Don't assert/crash here if a uri handler doesn't return any
5756 supported protocols. The list of protocols could be generated
5757 dynamically at runtime or at plugin registration, and an error
5758 in the underlying library shouldn't be fatal (#353301).
5760 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5763 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5764 (spotted by Peter Kjellerstedt).
5766 2006-09-23 Wim Taymans <wim@fluendo.com>
5768 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5770 * libs/gst/base/gstbasesrc.c:
5771 (gst_base_src_default_check_get_range), (gst_base_src_start),
5772 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5773 (gst_base_src_change_state):
5774 Match _start/_stop calls in the activate functions. Remove redundant
5775 _stop call from the state change function. Fixes #356910.
5776 Turn failure DEBUG into ERROR.
5778 2006-09-22 Wim Taymans <wim@fluendo.com>
5780 * docs/design/part-buffering.txt:
5781 * gst/gstmessage.c: (gst_message_new_buffering),
5782 (gst_message_parse_buffering):
5783 Update docs about buffering.
5785 * docs/design/part-trickmodes.txt:
5788 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5790 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5791 (gst_controller_new_list):
5792 Ref instances when returning them again (fixes #357180)
5794 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5796 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5797 Don't forget to release proxy lock when there's an error.
5799 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5802 Add extra initialisers for Caps things, to fix some plugin warnings
5805 2006-09-18 Wim Taymans <wim@fluendo.com>
5807 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5808 Also set template on the internal pad so that a getcaps from the
5809 target pad returns the template caps.
5811 2006-09-18 Wim Taymans <wim@fluendo.com>
5813 * gst/gstelement.c: (gst_element_post_message),
5814 (gst_element_dispose):
5815 Use _DEBUG_OBJECT some more.
5817 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5820 * tools/gst-launch.c: (main):
5821 If the toplevel element is not a GstPipeline, it must be put in a
5822 pipeline so that a bus and clock is selected.
5824 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5826 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5827 JITTER, RATE, and LATENCY query should be handled by the
5828 default case and not by the CONVERT query code.
5830 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gstformat.c: (gst_format_register):
5833 Fix locking order (must take lock before using n_values).
5835 * gst/gstvalue.c: (gst_value_serialize_enum),
5836 (gst_value_deserialize_enum_iter_cmp),
5837 (gst_value_deserialize_enum):
5838 Fix serialisation/deserialisation of custom registered GstFormats.
5840 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5841 Unit test for custom format serialisation/deserialisation.
5843 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5845 * docs/pwg/building-boiler.xml:
5846 * plugins/elements/gstcapsfilter.c:
5847 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5850 2006-09-16 Edward Hervey <edward@fluendo.com>
5852 * libs/gst/base/gstbasetransform.c:
5853 (gst_base_transform_buffer_alloc):
5854 Check if requested caps are the same as the sinks caps IF
5855 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5857 This fixes the renegotiation issues stated in #352827.
5859 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5862 * docs/manual/advanced-autoplugging.xml:
5863 * tests/examples/Makefile.am:
5864 * tests/examples/manual/.cvsignore:
5865 * tests/examples/manual/Makefile.am:
5866 * tests/examples/manual/extract.pl:
5867 Extract the manual examples again like we used to do.
5870 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5872 * win32/common/config.h:
5875 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5878 Documents how to receive errors.
5880 2006-09-15 Wim Taymans <wim@fluendo.com>
5882 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5883 (event_loop), (main):
5884 Added some comments here and there.
5885 Post an application message when an interrupt is caught instead of doing
5886 an uncontrolled state change.
5887 Clean up the event loop.
5888 Handle buffering messages, pause/resume the pipeline.
5889 Make shutdown because of an interrupt more reliable.
5891 2006-09-15 Wim Taymans <wim@fluendo.com>
5893 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5894 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5895 (gst_base_sink_preroll_object):
5896 Make sure that our internal state is correct when we commit our state
5897 asynchronously. This solves a race where a state change to PLAYING
5898 could cause the sink to remain blocked in preroll in some situations.
5900 2006-09-15 Wim Taymans <wim@fluendo.com>
5902 * tools/gst-inspect.c: (print_element_properties_info),
5903 (print_signal_info):
5904 List flags as hex so it's easier to deal with.
5906 2006-09-15 Wim Taymans <wim@fluendo.com>
5908 * docs/libs/gstreamer-libs-sections.txt:
5909 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5910 (gst_base_sink_do_sync):
5911 * libs/gst/base/gstbasesink.h:
5912 Expose logic to wait for preroll so that subclasses such as audiosink
5913 can also use this method.
5914 API: gst_base_sink_wait_preroll()
5916 2006-09-15 Wim Taymans <wim@fluendo.com>
5918 * gst/gstobject.c: (gst_object_set_parent):
5919 * gst/gstpipeline.c: (do_pipeline_seek):
5920 Small cleanups in docs and code.
5922 * gst/gstsegment.c: (gst_segment_clip):
5923 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5924 if stop == start and start is in the segment, no clipping should be
5925 done. Also add a test for this.
5927 2006-09-15 Wim Taymans <wim@fluendo.com>
5929 * docs/design/part-buffering.txt:
5930 * docs/gst/gstreamer-sections.txt:
5931 * gst/gstmessage.c: (gst_message_new_buffering),
5932 (gst_message_parse_buffering):
5934 Added methods to create and parse BUFFERING messages.
5935 Added preliminary docs about buffering.
5936 API: gst_message_new_buffering
5937 API: gst_message_parse_buffering
5939 2006-09-06 Wim Taymans <wim@fluendo.com>
5942 Update documentation.
5944 * gst/gstelement.c: (gst_element_class_init),
5945 (gst_element_release_request_pad), (gst_element_set_clock),
5946 (gst_element_get_index), (gst_element_add_pad),
5947 (gst_element_remove_pad), (gst_element_get_random_pad),
5948 (gst_element_send_event), (gst_element_get_query_types),
5949 (gst_element_query), (gst_element_post_message),
5950 (gst_element_message_full), (gst_element_continue_state),
5951 (gst_element_lost_state), (gst_element_save_thyself),
5952 (gst_element_restore_thyself):
5953 Documentation updates.
5954 Rename last bit of the new-pad -> pad-added signal rename.
5955 Fix the case where an element query would only work if the source
5957 Avoid some useless type checking in message handling.
5962 Documentation updates.
5964 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5966 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5967 add an INFO line for when we actually update the fd
5969 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5974 === release 0.10.10 ===
5976 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5979 releasing 0.10.10, "Pais"
5981 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5983 * docs/manual/advanced-position.xml:
5984 Fix typo in sample code.
5986 2006-09-05 Wim Taymans <wim@fluendo.com>
5988 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5989 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5990 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5991 * libs/gst/net/gstnetclientclock.h:
5992 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5993 * libs/gst/net/gstnettimepacket.h:
5994 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5995 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5996 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5997 * libs/gst/net/gstnettimeprovider.h:
5998 Make stuff compile on windows. Fixes #345295.
6000 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6002 * gst/gst.c: (ensure_current_registry_forking):
6003 Print better details when child was terminated by signal.
6005 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6007 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6008 Print a warning rather than g_assert() if a plugin feature
6009 is a URI handler but returns no protocols (#353976).
6011 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6013 * docs/random/moving-plugins:
6016 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6018 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6019 Fix locking order, handle NULL function values properly.
6024 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6025 Initialise variable before using it and fix debug statement to
6026 print the address of the function rather than the address of the
6027 variable on the stack holding the address of the function.
6029 2006-09-01 Wim Taymans <wim@fluendo.com>
6031 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6032 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6033 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6034 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6035 (gst_ghost_pad_parent_unset),
6036 (gst_ghost_pad_internal_do_activate_push),
6037 (gst_ghost_pad_internal_do_activate_pull),
6038 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6039 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6040 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6041 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6042 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6043 (gst_ghost_pad_new_no_target_from_template),
6044 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6046 Avoid needless typechecking in macros.
6047 Since the internal pad is always present and never changes, there is
6048 no need to locking or ref when retrieving it.
6049 Improve debugging a bit.
6050 Handle link errors when setting the target. Fixes #341029.
6052 2006-09-01 Wim Taymans <wim@fluendo.com>
6054 * docs/libs/gstreamer-libs-sections.txt:
6055 * docs/plugins/gstreamer-plugins-sections.txt:
6058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6059 (gst_collect_pads_event):
6060 * libs/gst/base/gstcollectpads.h:
6061 Documentation updates.
6062 Free queued buffer when removing a pad.
6064 2006-08-31 Michael Smith <msmith@fluendo.com>
6066 * gst/gstutils.c: (gst_element_link_pads),
6067 (gst_element_link_pads_filtered):
6068 Ensure that we set a capsfilter to NULL if we failed to link it
6069 when doing filtered linking, to avoid criticals.
6071 No need to check for unreffing srcpad, which is explicly NULLed
6072 above (a trivial code cleanup).
6074 2006-08-31 Wim Taymans <wim@fluendo.com>
6076 * docs/design/part-gstghostpad.txt:
6077 Update ascii art in documentation.
6079 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6080 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6081 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6082 (gst_ghost_pad_internal_do_activate_push),
6083 (gst_ghost_pad_internal_do_activate_pull),
6084 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6085 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6086 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6087 (gst_ghost_pad_set_target):
6088 Small cleanups and leak fixes.
6089 Remove some checks now that the internal pad is never NULL.
6090 Fix the case where linking pads without a target would create nasty
6091 criticals. Fixes #341029.
6092 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6093 value of _set_target().
6095 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6096 (gst_ghost_pad_suite):
6097 Some more tests for creating and linking untargeted ghostpads.
6099 2006-08-31 Edward Hervey <edward@fluendo.com>
6101 * docs/gst/gstreamer-sections.txt:
6102 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6103 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6104 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6105 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6106 (gst_ghost_pad_new_from_template),
6107 (gst_ghost_pad_new_no_target_from_template):
6108 * gst/gstghostpad.h:
6109 Refactored *_new() functions.
6110 Templates are now used as a g_object_new() parameter.
6111 Use template in _do_getcaps() if we don't have a target.
6112 Small documentation cleanups.
6113 Added two new constructors:
6114 gst_ghost_pad_new_from_template()
6115 gst_ghost_pad_new_no_target_from_template()
6116 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6117 (gst_ghost_pad_suite):
6118 Added tests for new ghostpad instanciation functions.
6120 API additions: gst_ghost_pad_new_from_template,
6121 gst_ghost_pad_new_no_target_from_template
6123 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6125 * docs/random/ensonic/profiling.txt:
6126 Ideas about qos profiling.
6128 2006-08-29 Wim Taymans <wim@fluendo.com>
6130 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6134 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6137 Improve and detypofy docs.
6139 * tests/check/Makefile.am:
6140 * tests/check/gst/.cvsignore:
6141 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6142 Add a basic test suite for GstXML.
6144 2006-08-29 Wim Taymans <wim@fluendo.com>
6146 * gst/gstelement.c: (activate_pads), (clear_caps),
6147 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6148 Clear the pad caps when the element shut down all of the pads and
6149 is not streaming data that could modify the caps.
6152 2006-08-28 Michael Smith <msmith@fluendo.com>
6154 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6155 Revert previous change; I misunderstood single-segment mode.
6157 2006-08-28 Michael Smith <msmith@fluendo.com>
6159 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6160 Unset DISCONT on buffers when using single-segment mode.
6162 2006-08-28 Wim Taymans <wim@fluendo.com>
6164 * gst/gstcaps.c: (gst_caps_merge_structure):
6166 Fix docs and indentation again.
6168 * tests/check/gst/gstquery.c: (GST_START_TEST):
6169 Fix leak in tests and add some more tests.
6171 2006-08-28 Edward Hervey <edward@fluendo.com>
6173 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6174 Inform GstSegment of the last stop position in order for the current
6175 segment to have a proper duration if it doesn't have a specific stop
6176 position from which a duration could be calculated.
6177 This bug was noticeable when a non-flushing, non-update new segment was
6178 followed by another segment (all buffers from the new segment were being
6181 2006-08-28 Wim Taymans <wim@fluendo.com>
6183 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6184 Small comment update.
6186 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6187 (gst_identity_transform_ip):
6188 Drop-probability is broken, mention this in the code with a
6189 FIXME and also in the property description.
6190 Make silent also be silent about the drop messages.
6192 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6194 * docs/manual/appendix-win32.xml:
6195 Remove mention of popt, we don't depend on that any
6196 longer (#353136). Add some comments pointing out that
6197 this section is slightly outdated.
6199 2006-08-28 Wim Taymans <wim@fluendo.com>
6201 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6203 * gst/gstquery.c: (gst_query_new_segment):
6204 * tests/check/gst/gstquery.c: (GST_START_TEST):
6205 Initialize variables when creating a new segment query.
6208 2006-08-28 Wim Taymans <wim@fluendo.com>
6210 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6212 * gst/gstelement.c: (gst_element_get_bus):
6213 * tests/check/gst/gstelement.c: (GST_START_TEST):
6214 Check for NULL before _reffing the bus. Fixes #353122.
6216 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6218 * docs/manual/basics-bus.xml:
6219 Docs update: fix wrong callback return value explanation; add
6220 some lines about the implicit relationship between main loop
6221 and main context; remove duplicate main loop variable declaration.
6223 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6225 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6226 Don't leak caps in unit test; add a few more simple
6229 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6231 * docs/gst/gstreamer-sections.txt:
6232 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6233 (gst_caps_structure_is_subset), (gst_caps_merge),
6234 (gst_caps_merge_structure):
6236 * libs/gst/base/gstbasetransform.c:
6237 (gst_base_transform_transform_caps):
6238 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6239 implement caps merging (fixes #352580)
6241 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6243 * tools/Makefile.am:
6244 * tools/gst-plot-timeline.py:
6245 add debug-log plotting developer tool (#340674)
6247 2006-08-23 Wim Taymans <wim@fluendo.com>
6249 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6250 (gst_pad_stop_task):
6251 Improve debugging for task functions.
6253 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6254 (gst_task_start), (gst_task_pause), (gst_task_join):
6255 Make sure that the task function started and finished after a
6257 Don't try to push the task function on the threadpool multiple
6259 Improve the g_warning message with some useful suggestions
6260 about how to fix the problem.
6262 2006-08-23 Wim Taymans <wim@fluendo.com>
6264 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6265 Handle RESYNC correctly in _proxy_getcaps.
6267 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6269 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6270 (gst_xml_parse_memory), (gst_xml_get_element):
6271 Chain up to parent class in dispose function and also
6272 unref the elements in the toplevel_elements GList.
6273 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6274 Always return a reference in gst_xml_get_element() rather
6275 than only sometimes.
6277 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6278 Don't leak GstXml object.
6280 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6282 * docs/gst/gstreamer-sections.txt:
6283 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6286 * libs/gst/base/gstbasetransform.c:
6287 (gst_base_transform_transform_caps):
6288 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6291 2006-08-21 Edward Hervey <edward@fluendo.com>
6293 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6294 Implement GObject::dispose virtual method in GstXML so we can free the
6297 2006-08-21 Wim Taymans <wim@fluendo.com>
6299 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6300 (gst_buffer_create_sub):
6301 Copy duration/offset_end/caps when creating a subbuffer of the
6303 Make the subbuffer read-only when we make the metadata writable for
6306 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6307 Added check for metadata copy when creating subbuffers.
6309 2006-08-21 Edward Hervey <edward@fluendo.com>
6311 * libs/gst/base/gstbasetransform.c:
6312 (gst_base_transform_buffer_alloc):
6313 Only call downstream buffer_alloc if transform element is passthrough
6314 or always_in_place. Closes #350449.
6316 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6319 ChangeLog surgery to add comments to previous changes
6321 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6326 * gst/gstpad.c: (gst_pad_set_active):
6327 Be more verbose in the log
6329 * libs/gst/base/gstbasetransform.c:
6330 (gst_base_transform_transform_caps):
6331 Simplify caps to get rid of duplicates, fixes #345444
6333 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6337 Use these optimizations only internally.
6339 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6341 * gst/gstvalue.c: (gst_value_compare_list),
6342 (gst_value_compare_fraction_range),
6343 (gst_value_intersect_fraction_fraction_range),
6344 (gst_value_intersect_fraction_range_fraction_range),
6345 (gst_value_subtract_fraction_fraction_range),
6346 (gst_value_subtract_fraction_range_fraction_range),
6347 (gst_value_get_compare_func), (gst_value_compare),
6348 (gst_value_compare_with_func):
6350 Saves the expensive lookup of the compare function in many cases
6353 2006-08-18 Edward Hervey <edward@fluendo.com>
6355 * tests/check/gst/gstinfo.c: (gst_info_suite):
6356 Disable test that require gstdebug if it wasn't built in core.
6358 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6360 * docs/random/ensonic/logging.txt:
6363 * gst/gstinfo.c: (gst_debug_log_default):
6364 reorder fields, save some columns, add optional color codes for log
6367 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6369 * docs/random/ensonic/logging.txt:
6370 add ideas about making the logs a bit more useful
6372 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6374 * docs/pwg/advanced-events.xml:
6375 * docs/pwg/titlepage.xml:
6376 Update for 0.10 API (#340627). Add myself
6379 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6381 * docs/libs/gstreamer-libs-docs.sgml:
6382 * docs/libs/gstreamer-libs-sections.txt:
6383 * libs/gst/check/gstbufferstraw.c:
6384 Make gstcheck stuff show up in docs (still needs to
6385 be documented properly though).
6387 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6389 * docs/gst/gstreamer-sections.txt:
6391 * gst/gst.c: (init_post):
6392 * gst/gst_private.h:
6393 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6395 * gst/gstquery.c: (gst_query_new_position),
6396 (gst_query_set_position), (gst_query_parse_position),
6397 (gst_query_new_duration), (gst_query_set_duration),
6398 (gst_query_parse_duration), (gst_query_new_convert),
6399 (gst_query_set_convert), (gst_query_parse_convert),
6400 (gst_query_new_segment), (gst_query_set_segment),
6401 (gst_query_parse_segment), (gst_query_new_seeking),
6402 (gst_query_set_seeking), (gst_query_parse_seeking):
6403 Add internal helpers for pre-registering quarks from static strings
6404 and using the quark values directly instead of looking them up when
6405 creating and parsing queries. Can be used for event construction too.
6408 2006-08-16 Wim Taymans <wim@fluendo.com>
6413 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6415 * gst/gstutils.c: (gst_util_set_value_from_string):
6416 Fix memleak (#351502).
6418 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6419 Add unit test for most of gst_util_set_value_from_string()
6420 (not that one would want to encourage use of this function).
6422 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6424 * libs/gst/check/gstcheck.h:
6425 Use const gchar * variables in fail_unless_equals_string
6426 macro to avoid compiler warnings (and don't use tabs for
6429 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6431 * tools/gst-launch.c: (print_tag):
6432 More space on the left for the tag names, to cater
6433 for the 'extended comment' tag (not touching the
6434 string for the first line since it's translated).
6436 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6438 * libs/gst/check/gstcheck.h:
6439 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6440 print something when they fail.
6442 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6444 * docs/gst/gstreamer-sections.txt:
6445 * gst/gsttaglist.c: (_gst_tag_initialize):
6447 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6448 Also change merge function for GST_TAG_COMMENT to
6451 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6453 * gst/gstinfo.c: (gst_debug_print_object):
6454 Make GST_PTR_FORMAT print messages as well.
6456 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6457 (GST_START_TEST), (gst_info_suite):
6460 2006-08-14 Edward Hervey <edward@fluendo.com>
6462 * gst/gstelementfactory.c: (gst_element_register):
6463 If the GstElementClass doesn't have a GstElementDetails with all fields
6464 filled up correctly (longname, description AND author), then error out
6465 nicely instead of crashing.
6467 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6469 * gst/gststructure.c:
6470 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6473 Expand on the difference between arrays and lists as we use them.
6475 2006-08-14 Wim Taymans <wim@fluendo.com>
6477 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6478 If the parent state change function failed, don't assume we can safely
6479 stop the source, this will be done when the pads are deactivated.
6481 2006-08-14 Wim Taymans <wim@fluendo.com>
6484 * gst/gsttask.c: (gst_task_join):
6487 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6488 (gst_pad_stop_task):
6489 When pad (de)activation failed for some reason, restore the old
6490 activation mode and set the pad to flushing instead of assuming the
6492 If the _task_join() failed, reinstall the task on the pad so that it can
6493 be stopped later and return an error.
6495 2006-08-11 Andy Wingo <wingo@pobox.com>
6498 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6499 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6500 is only for users of API that don't want to see deprecated
6501 functions in the headers; people that want to compile out
6502 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6503 CFLAGS. Fixes the build of multifdsink, or will soon..
6505 2006-08-11 Wim Taymans <wim@fluendo.com>
6507 * docs/gst/gstreamer-sections.txt:
6508 Add GstClockClass vmethod docs.
6511 Mark #endif with comment for associated #if
6513 * gst/gstclock.c: (gst_clock_id_wait):
6515 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6516 most clock implementations.
6518 Flesh out docs about resolution methods.
6519 API: GstClockClass::wait_jitter
6521 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6522 (gst_system_clock_async_thread),
6523 (gst_system_clock_id_wait_jitter_unlocked),
6524 (gst_system_clock_id_wait_jitter):
6525 Use base class wait_jitter variant for improved performance
6526 due to less clock polling.
6528 2006-08-11 Edward Hervey <edward@fluendo.com>
6530 * gst/gst.c: (gst_init_check), (init_post):
6531 Set gst as being initialized before scanning/updating the registry,
6532 since there might be my python plugin loader that calls gst_init() and
6533 we don't want to loop back in.
6536 2006-08-11 Wim Taymans <wim@fluendo.com>
6538 * docs/design/part-qos.txt:
6539 Bring docs in line with the code. Mostly the sign of the jitter was
6540 wrong in the docs. Fixes #349943.
6543 Fix the docs for the jitter.
6545 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6546 (gst_event_parse_tag), (gst_event_new_buffer_size),
6547 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6548 (gst_event_new_seek), (gst_event_parse_seek),
6549 (gst_event_new_navigation):
6550 Make sure the GstStructure has no parent when creating custom
6552 Add some more argument checking so that we avoid 0.0 rates.
6553 Flesh out the docs for the QoS event some more.
6555 2006-08-11 Wim Taymans <wim@fluendo.com>
6557 * docs/gst/gstreamer-sections.txt:
6558 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6559 (ensure_current_registry_forking), (ensure_current_registry),
6560 (parse_one_option), (parse_goption_arg), (gst_deinit),
6561 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6564 Added API and command line option to disable registry forking in
6565 addition to the environment variable.
6566 Constify some static arrays.
6567 Added some more debug.
6569 API: gst_registry_fork_is_enabled()
6570 API: gst_registry_fork_set_enabled()
6571 API: --gst-disable-registry-fork command line option
6574 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6576 * gst/gst.c: (gst_init):
6577 Fix typo in error message.
6579 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6581 * libs/gst/controller/gstcontroller.h:
6582 fix ABI size-correction
6584 * tests/check/libs/gdp.c: (gst_dp_suite):
6585 make tests that use deprecated API conditional
6587 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6589 * docs/libs/gstreamer-libs-sections.txt:
6590 * libs/gst/controller/gstcontroller.c:
6591 (_gst_controller_get_property), (_gst_controller_set_property),
6592 (_gst_controller_init), (_gst_controller_class_init):
6593 * libs/gst/controller/gstcontroller.h:
6594 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6595 (gst_object_set_control_rate):
6596 API: add gst_object_{s,g}et_control_rate(), add private data section,
6599 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6600 * libs/gst/dataprotocol/dataprotocol.h:
6601 add deprecation guards to make gtk-doc happy and allow disabling cruft
6603 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6605 * tests/check/Makefile.am:
6606 * tests/check/gst/.cvsignore:
6607 Let's enable the new unit test as well.
6609 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6612 * docs/gst/gstreamer-sections.txt:
6613 * gst/gstconfig.h.in:
6614 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6615 (_gst_info_printf_extension_ptr),
6616 (_gst_info_printf_extension_segment):
6617 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6618 register that lets us easily dump GstSegments into debug
6621 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6622 (info_segment_format_printf_extension), (gst_info_suite):
6623 Add simple unit test that logs a bunch of different segments (not
6624 valgrinded at the moment because of leaks in
6625 gst_debug_add_log_function).
6627 2006-08-09 Edward Hervey <edward@fluendo.com>
6629 * libs/gst/base/gstbasetransform.c:
6630 (gst_base_transform_buffer_alloc):
6631 Even if we can't figure out the proper format to request downstream,
6632 call buffer_alloc() downstream with the input parameters without setting
6633 the caps on the srcpad. This will force negotiation in the chain
6637 2006-08-08 Edward Hervey <edward@fluendo.com>
6639 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6640 Unlinking from a pad without a target is now a perfectly valid case
6641 which should NOT raise an assertion.
6642 This case would happen if a linked ghostpad its target set to NULL after
6643 it was previously linked.
6645 2006-08-08 Edward Hervey <edward@fluendo.com>
6647 * tests/check/libs/gdp.c:
6648 Also comment out the test (see below).
6650 2006-08-08 Edward Hervey <edward@fluendo.com>
6652 * tests/check/libs/gdp.c: (gst_dp_suite):
6653 Use the architecture information from config.h and not gcc macros
6654 in order to properly disable a test that fails on PPC64.
6656 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6658 * gst/gstelement.c: (gst_element_remove_pad):
6659 Don't crash printing the warning if the pad has no parent.
6661 2006-08-02 Wim Taymans <wim@fluendo.com>
6663 * libs/gst/dataprotocol/dataprotocol.c:
6664 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6665 (gst_dp_crc), (gst_dp_header_payload_length),
6666 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6667 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6668 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6669 (gst_dp_event_from_packet), (gst_dp_validate_header),
6670 (gst_dp_validate_payload):
6671 Make debug category static
6672 Constify the crc table.
6673 Do some more arg checking in public functions.
6674 Fix some docs and do some small cleanups.
6676 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6677 Add some more checks to see if GDP deals with bogus input.
6679 2006-07-31 Wim Taymans <wim@fluendo.com>
6681 * gst/gstvalue.c: (gst_value_compare_list):
6682 Fix GstValueList comparison code. Fixes #347293.
6684 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6685 Check to test GstValueList comparison.
6687 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6689 * gst/gstelementfactory.c: (gst_element_factory_create):
6690 Remove unnecessary ref/unref pair
6692 * gst/parse/grammar.y:
6693 Make sure to free the parse buffer on all code paths.
6694 Move a g_free up to the error handler where it's easier to see.
6696 * tests/check/gst/gstevent.c: (test_event):
6697 Extending timeout for downstream travelling events to 10 seconds to
6698 hopefully avoid intermittent failure on the buildbots.
6700 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6701 Don't manually set the state of the src element - it will happen as a
6702 natural consequence of the pipeline changing state, and that way it
6703 will do it in the right order too.
6705 2006-07-31 Wim Taymans <wim@fluendo.com>
6707 * libs/gst/base/gstbasetransform.c:
6708 (gst_base_transform_buffer_alloc):
6709 Use OBJECT_LOCK and refcounting to get the pad caps in the
6710 buffer_alloc function because the caps could change while we are
6711 busy with them. Fixes #349105
6713 2006-07-31 Wim Taymans <wim@fluendo.com>
6715 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6716 Protect _PAD_CAPS with OBJECT_LOCK.
6718 2006-07-31 Wim Taymans <wim@fluendo.com>
6720 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6721 (gst_pad_get_property), (gst_pad_activate_pull),
6722 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6723 (gst_pad_set_activate_function),
6724 (gst_pad_set_activatepull_function),
6725 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6726 (gst_pad_set_getrange_function),
6727 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6728 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6729 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6730 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6731 (gst_pad_set_acceptcaps_function),
6732 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6733 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6734 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6735 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6736 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6737 (gst_pad_configure_sink), (gst_pad_configure_src),
6738 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6739 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6740 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6741 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6742 (gst_pad_send_event):
6743 Use _DEBUG_OBJECT when it makes sense.
6744 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6745 Small cleanups and code reflows.
6746 Avoid caps refcounting in _accept_caps.
6747 Refactor alloc_buffer so that the code performed on the peer is in a
6748 separate function. Also if the pad does not implement a buffer alloc
6749 function, we should still check if the pad is flushing before falling
6750 back to the default allocator.
6752 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6754 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6755 Make all uses of identity and fakesink have silent=true to avoid
6756 serialising every passing data structure, which is breaking tests
6757 on FC4 for some unknown reason.
6759 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6761 * gst/parse/Makefile.am:
6762 * gst/parse/grammar.y:
6763 * gst/parse/parse.l:
6764 Reverted previous patch as it required to bump the flex dependency to
6765 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6767 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6769 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6771 * gst/parse/Makefile.am:
6772 * gst/parse/grammar.y:
6773 * gst/parse/parse.l:
6774 push & pop the state of the lexer for reentrant use case
6777 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6779 * libs/gst/base/gstbasesrc.h:
6780 Note in the docs that the ::newsegment vfunc is not actually used by
6783 2006-07-28 Wim Taymans <wim@fluendo.com>
6785 * libs/gst/base/gstcollectpads.c:
6786 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6787 (gst_collect_pads_clear), (gst_collect_pads_flush),
6788 (gst_collect_pads_event), (gst_collect_pads_chain):
6789 When flushing a pad, also clear the queued buffer so that we don't
6790 accidentally use it when we shouldn't.
6791 Fix leaks by inreffing incomming buffer.
6792 Flush out queued buffers in case of errors.
6795 2006-07-28 Wim Taymans <wim@fluendo.com>
6797 * docs/random/phonon-gst:
6798 Random notes about a Phonon backend.
6800 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6802 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6804 * tests/check/libs/gdp.c: (gst_dp_suite):
6805 Take a whack at fixing the ppc compile using a different define to
6806 disable the broken test.
6808 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6809 Remove excess g_print()
6811 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6813 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6814 Oops, meant to uncomment this line too to dampen the noise a bit.
6816 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6818 * gst/parse/grammar.y:
6819 * gst/parse/parse.l:
6820 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6821 (GST_START_TEST), (parse_suite):
6822 Fix some of the leaks exposed by extending the parse-launch testsuite,
6823 and move the 3 I can't figure out into a separate test that won't run
6824 the pipelines unless the appropriate line is uncommented.
6826 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6828 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6829 Requesting 0 bytes before the end of the file should result in
6830 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6833 2006-07-27 Wim Taymans <wim@fluendo.com>
6835 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6836 Fix useless assert, a uint is always positive.
6838 * gst/gststructure.c: (gst_structure_nth_field_name),
6839 (gst_structure_foreach), (gst_structure_map_in_place):
6840 Check input arguments for public functions to avoid obvious crashes.
6842 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6843 * plugins/elements/gstfakesink.h:
6844 Do less useless typechecking.
6846 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6848 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6849 Do not use mmap() by default since there are a number of error
6850 conditions that we would like to handle in a non-fatal way that
6851 will result in a SIGBUS if we use mmap(). Examples: external
6852 devices (USB harddrive, portable music player) being unplugged
6853 while in use; file on mounted CD/DVD that can't be read because
6854 the medium is partly damaged. Fixes #348455 and #348475.
6856 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6859 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6862 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6864 * gst/gstregistry.c:
6865 Move big documentation comment into class section header, so that it
6866 appears in the API docs.
6868 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6870 * docs/gst/gstreamer-sections.txt:
6871 Oops. Commit the docs additions too for new API.
6872 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6874 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6876 * gst/gststructure.c: (gst_structure_id_set),
6877 (gst_structure_id_set_valist):
6878 * gst/gststructure.h:
6879 Add API for setting values into structures without performing
6880 a quark lookup, if the appropriate quark is already known.
6882 API: gst_structure_id_set
6883 API: gst_structure_id_set_valist
6885 * gst/parse/grammar.y:
6886 * gst/parse/parse.l:
6887 Remove some dead code shown by the coverage information.
6888 Don't throw a critical g_warning when encountering a syntax error,
6889 just warn and let the normal error path handle it.
6891 * plugins/elements/gstelements.c:
6892 Bump the rank of filesink up to PRIMARY so that it is preferred over
6893 gnomevfssink for file:// sink uri's
6895 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6896 (GST_START_TEST), (run_delayed_test),
6897 (gst_parse_test_element_base_init),
6898 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6899 (gst_parse_test_element_change_state),
6900 (gst_register_parse_element), (parse_suite):
6901 Beef up the tests for parse syntax to check that more error cases
6902 fail as they are supposed to. Increases the test coverage a bit.
6904 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6906 * docs/manual/basics-elements.xml:
6907 Fix gst_element_link() example.
6910 Mention in API docs that one should usually gst_bin_add()
6911 elements to a bin or pipeline before doing the linking.
6913 2006-07-26 Wim Taymans <wim@fluendo.com>
6915 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6916 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6917 Avoid function call for known types by keeping the buffer and
6918 subbuffer GType global.
6920 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6921 Random silly optimisations in read() path.
6923 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6925 * tools/gst-launch.c: (main):
6926 If the top-level of the parse is a normal bin, it doesn't do the
6927 right logic to run as a top-level element, so place it inside a
6930 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6932 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6933 Remove superfluous g_object_notify() calls, GObject does
6934 that for us automatically.
6936 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6939 on Win32, use dllspec to export the debug category symbols
6941 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6943 * gst/gsttaglist.c: (_gst_tag_initialize):
6944 Allow more than one GST_TAG_IMAGE per taglist.
6946 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6948 * gst/gstminiobject.c:
6950 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6951 (gst_fd_src_create):
6952 log recurring events at LOG level
6953 add more debug for when the fd gets set
6955 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6957 * gst/gstparse.c: (gst_parse_launch):
6958 Also remove reentrance checks if flex is MT safe (#348179)
6959 Fix my empty ChangeLog entry below
6961 2006-07-21 Andy Wingo <wingo@pobox.com>
6963 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6965 * libs/gst/check/Makefile.am
6966 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6967 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6968 * libs/gst/check/gstbufferstraw.h:
6969 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6970 functions, thus proving I am still a GStreamer haxor. OK I wrote
6971 them a long time ago, but anyways.
6973 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6976 * gst/gstparse.c: (gst_parse_launch):
6977 Check for flex version and omit mutex if we have a MT save flex
6980 2006-07-21 Wim Taymans <wim@fluendo.com>
6982 * gst/gstparse.c: (gst_parse_launch):
6983 Protect recursive calls to _parse with a recursive mutex
6986 2006-07-21 Wim Taymans <wim@fluendo.com>
6988 * tests/check/gst/gstpad.c: (GST_START_TEST):
6991 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6993 * gst/gstparse.c: (gst_parse_launch):
6994 Do not hang on recursive usage of gst_parse_launch()
6996 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6999 Add some more docs, comments and FIXME 0.11s here and there
7000 and also fix some typos.
7002 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7005 Convert tabs to spaces for better readability.
7007 2006-07-20 Edward Hervey <edward@fluendo.com>
7009 * tests/check/libs/gdp.c: (gst_dp_suite):
7010 the test_buffer test fails at line 140 on ppc64 at the following
7012 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7013 GST_BUFFER_FLAG_IN_CAPS),
7014 "GST_BUFFER_IN_CAPS flag should have been copied !");
7015 See bug #348114 for more details.
7017 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7019 * docs/pwg/advanced-scheduling.xml:
7021 Fix typos (#348000).
7023 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7025 * docs/pwg/intro-basics.xml:
7026 Fix wrong links (#347927).
7028 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7030 * gst/gstregistry.h:
7031 * gst/gstregistryxml.c: (load_feature),
7032 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7033 * win32/common/config.h:
7034 make --disable-index work (#342564)
7036 2006-07-18 Wim Taymans <wim@fluendo.com>
7038 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7042 The attached patch adds two missing defines to gsttrace.h when tracing
7043 is disabled. It also corrects one existing define.
7046 2006-07-17 Wim Taymans <wim@fluendo.com>
7048 * docs/gst/gstreamer-sections.txt:
7049 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7051 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7052 Add two functions to check and change the SIGSEGV behaviour
7053 when loading plugins.
7054 Don't mess with the SIGSEGV handler when we were told not to.
7056 API: gst_segtrap_is_enabled
7057 API: gst_segtrap_set_enabled
7059 2006-07-14 Wim Taymans <wim@fluendo.com>
7061 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7062 * tests/check/elements/filesrc.c: (GST_START_TEST):
7063 Revert fix for regression in #347408 after release.
7065 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7067 Patch by: Antoine Tremblay <hexa00 at gmail com>
7069 * gst/gstutils.c: (gst_element_unlink):
7070 Free iterator when done (#347311).
7072 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7073 And add a test case for this.
7075 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7078 Bump nano back to CVS
7080 === release 0.10.9 ===
7082 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7085 releasing 0.10.9, "On the road again"
7087 2006-07-13 Wim Taymans <wim@fluendo.com>
7089 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7090 * tests/check/elements/filesrc.c: (GST_START_TEST):
7091 Revert pull-0 fix for release. Disable check. Fixes #347408.
7093 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7095 * libs/gst/dataprotocol/dataprotocol.c:
7096 (gst_dp_event_from_packet_1_0):
7097 Fixes #347337: failure to deserialize event packets with
7098 empty payload (only event type)
7100 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7103 do not install a .c file in the header directory
7105 2006-07-13 Edward Hervey <edward@fluendo.com>
7107 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7108 GhostPad no longer implicitely use the padtemplates of the targets.
7111 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7113 * gst/gstvalue.c: (gst_value_compare_list),
7114 (gst_value_compare_array), (_gst_value_initialize):
7115 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7116 Make GstValueArray comparison be order dependent as designed.
7117 Add checks for value lists and value array comparisons.
7120 2006-07-11 Edward Hervey <edward@fluendo.com>
7122 * gst/gstbin.c: (activate_pads),
7123 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7124 (gst_bin_change_state_func):
7125 (de)activate src pads before calling state_change on the childs.
7126 This is to avoid the case where a src ghostpad is blocked (holding the
7127 stream lock), which would block the deactivation of the ghostpad's
7129 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7130 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7131 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7132 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7133 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7134 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7135 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7136 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7137 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7138 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7139 (gst_ghost_pad_class_init),
7140 (gst_ghost_pad_internal_do_activate_push),
7141 (gst_ghost_pad_internal_do_activate_pull),
7142 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7143 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7144 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7145 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7146 GhostPads now create their internal GstProxyPad at creation (and not
7147 when they're linked, as it was being done previously).
7148 The internal and target pads are linked straight away.
7149 The data will also travel through the other pad in order to make
7150 pad blocking and probes non-hackish (the probe/block now really happens
7151 on the GhostPad and not on the target).
7152 * gst/gstpad.c: (gst_pad_set_blocked_async),
7153 (gst_pad_link_prepare), (gst_pad_push_event):
7154 Remove previous ghostpad cruft.
7155 * gst/gstutils.c: (gst_pad_add_data_probe),
7156 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7157 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7158 (gst_pad_remove_buffer_probe):
7159 Remove previous ghost pad cruft.
7160 Added more detailed debug statements.
7161 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7162 Fix the testsuite for refcounting changes.
7163 The comments about who has references were correct, but the refcount
7164 being checked wasn't the same (!?!).
7168 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7170 * docs/gst/gstreamer-sections.txt:
7171 * gst/gstconfig.h.in:
7172 More docs for configuration options, add docs to gtk-doc.
7174 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7177 * gst/gstconfig.h.in:
7178 * win32/common/config.h:
7179 Fix build when disabling tracing (fixes #344016). Also start to document
7180 the defines that disable the sub-systems.
7182 2006-07-10 Edward Hervey <edward@fluendo.com>
7184 * gst/gst.c: (ensure_current_registry_forking):
7185 let's make valgrind happy...
7187 2006-07-09 Wim Taymans <wim@fluendo.com>
7189 * gst/gstelement.c: (activate_pads),
7190 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7191 Better pad activation code: Reset the collect value too on resync.
7194 2006-07-09 Wim Taymans <wim@fluendo.com>
7196 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7197 (gst_pad_activate_push):
7198 Use some more macros where it makes sense.
7199 Allow pad mode switching instead of asserting. When a pad
7200 is activated in one mode and we activate it in another,
7201 deactivate it first before activating it in a different mode.
7204 2006-07-08 Andy Wingo <wingo@pobox.com>
7206 * tools/gst-launch.c (main): Handle err == NULL.
7208 * gst/gst.c (init_post, ensure_current_registry)
7209 (ensure_current_registry_forking)
7210 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7211 factoring out the registry scanning into separate functions. Don't
7212 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7213 Better environment var name/interface suggestions accepted.
7215 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7217 * gst/gstobject.c: (gst_object_set_name_default),
7218 (gst_object_set_name):
7219 Random micro-optimisation: don't use a hash table
7220 with strings as keys and the usual strdup/strcmp
7221 involved, but rather just use the GQuark of the
7222 type name as key, since it needs to be looked up
7223 anyway to get the type name string.
7225 * tests/check/gst/gstobject.c: (GST_START_TEST):
7228 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7230 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7231 (gst_bin_iterate_all_by_interface):
7232 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7233 GTypes are gulongs and thus the top 4 bytes might be cut
7234 off on some platforms when doing GPOINTER_TO_INT, leading
7235 to invalid GTypes and bad things happening (see RH bug #179654).
7236 Also add a check to make sure the type passed in is really
7239 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7244 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7248 * gst-element-check.m4:
7249 * gst-element-check.m4.in:
7250 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7251 instead of the unversioned gst-inspect (#324176, #168659).
7253 2006-07-06 Wim Taymans <wim@fluendo.com>
7256 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7259 2006-07-06 Wim Taymans <wim@fluendo.com>
7261 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7262 (gst_base_src_wait), (gst_base_src_update_length),
7263 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7264 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7265 (gst_base_src_loop), (gst_base_src_start),
7266 (gst_base_src_activate_pull):
7268 blocksize == 0 now means the default blocksize when working in push
7270 Remove some pointless asserts in _wait function.
7271 Fix offset/length calculations and EOS handling. We can now pull 0
7272 bytes as well, which is allowed.
7273 use _check_get_range() to decide if we can operate in _pull based
7275 Fix refcounting leak when check_get_range function was not
7277 API GstBaseSrc::blocksize range can be 0 too now (default)
7279 * tests/check/elements/filesrc.c: (GST_START_TEST),
7281 Added check to test _get_range() behaviour.
7283 2006-07-06 Wim Taymans <wim@fluendo.com>
7285 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7286 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7287 (gst_pad_pull_range):
7289 Lots of comments and docs added to the pad functions.
7290 Flesh out the expected behaviour of the get_range() functions.
7292 2006-07-06 Wim Taymans <wim@fluendo.com>
7297 * gst/gstiterator.h:
7301 Remove comma at end of enumerator list.
7303 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7305 * win32/common/libgstbase.def:
7306 * win32/common/libgstdataprotocol.def:
7307 * win32/common/libsgtreamer.def:
7308 Add new exported functions.
7310 2006-07-05 Wim Taymans <wim@fluendo.com>
7312 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7313 Add some more docs here and there.
7315 2006-07-05 Wim Taymans <wim@fluendo.com>
7317 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7318 (gst_base_sink_loop), (gst_base_sink_get_position):
7319 When operating in pull mode update the offset so that we
7322 2006-07-05 Wim Taymans <wim@fluendo.com>
7324 * gst/gstregistryxml.c: (read_string):
7325 Avoid strdup. (will happen in libxml, but hey!)
7330 2006-07-05 Wim Taymans <wim@fluendo.com>
7332 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7333 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7335 No point in checking if the size of the subbuffer > 0, the
7336 code handles it correclty as demonstrated by unit test.
7337 Also add a unit test for the zero sized _new_and_alloc and
7338 _copy. Fixes #346663.
7340 2006-07-05 Wim Taymans <wim@fluendo.com>
7342 * libs/gst/base/gstbasetransform.c:
7343 (gst_base_transform_prepare_output_buffer),
7344 (gst_base_transform_buffer_alloc),
7345 (gst_base_transform_handle_buffer):
7346 Make sure the buffer we pass to transform_ip has a refcount of
7347 1 and thus is writable. Fixes #343196
7349 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7351 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7352 (gst_file_src_init), (gst_file_src_set_property),
7353 (gst_file_src_get_property), (gst_file_src_map_region):
7354 * plugins/elements/gstfilesrc.h:
7355 Add "sequential" property, off by default, to use madvise and hint
7356 to the kernel that sequential access is desired.
7357 Touch all retrieved pages by default to ensure they are pulled
7358 into memory. (Closes #345720)
7360 2006-07-03 Wim Taymans <wim@fluendo.com>
7362 * docs/design/part-block.txt:
7363 * docs/design/part-dynamic.txt:
7366 2006-07-03 Wim Taymans <wim@fluendo.com>
7368 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7369 (gst_caps_unref), (gst_static_caps_get),
7370 (gst_caps_append_structure):
7371 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7372 Use GSlice when the glib we build against is >= 2.10
7374 2006-07-03 Wim Taymans <wim@fluendo.com>
7376 * gst/gstelement.c: (gst_element_pads_activate):
7377 Small cleanup in pad activation code.
7379 2006-07-03 Wim Taymans <wim@fluendo.com>
7381 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7383 * gst/gst-i18n-app.h:
7384 * gst/gst-i18n-lib.h:
7385 * tools/gst-inspect.c: (print_signal_info):
7386 The attached patch will make the inclusion of gettext.h unconditional in
7387 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7388 libintl.h in tools/gst-inspect.c.
7389 This allows use of --disable-nls again and fixes #344642.
7391 2006-07-03 Edward Hervey <edward@fluendo.com>
7393 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7394 Implement pad blocking on events according to part-block.txt.
7395 More comments on behaviour.
7396 * tests/check/gst/gstevent.c: (test_event):
7397 Send event to peer pad of blocked pad (else it will block).
7399 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7401 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7402 (gst_check_run_suite):
7403 if we get the wrong message, give us the types as string
7404 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7406 * tests/check/elements/filesrc.c: (GST_START_TEST):
7407 add a test for trying to open a non-existing file
7409 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7411 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7412 add a test for adding self
7414 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7416 * libs/gst/check/gstcheck.h:
7417 add some assert_ as alias for fail_unless_*
7418 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7419 increase test coverage
7421 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7424 include lcov.mak for lcov coverage generation
7425 * tools/Makefile.am:
7428 2006-07-02 Edward Hervey <edward@fluendo.com>
7430 * tests/check/elements/.cvsignore:
7433 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7436 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7437 * tests/check/Makefile.am:
7440 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7442 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7443 remove gst_caps_simplify; it was not declared and not used
7444 and deprecated in 0.8
7446 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7448 * docs/faq/gst-uninstalled:
7449 don't put empty paths on PYTHONPATH
7450 * docs/gst/gstreamer-sections.txt:
7451 remove some symbols that are not there
7453 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7455 * gst/gstcaps.c: (gst_caps_compare_structures):
7457 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7458 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7461 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7463 * libs/gst/dataprotocol/Makefile.am:
7464 build dataprotocol test by linking to the lib, instead of
7465 compiling the source, so we get coverage
7466 * tests/check/Makefile.am:
7467 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7468 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7469 add a test for filesrc
7471 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7473 * tests/check/gst/gststructure.c: (GST_START_TEST),
7474 (gst_structure_suite):
7475 Push coverage from 59.04% to 70.00%
7477 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * tests/check/Makefile.am:
7480 gst-inspect every element; this makes sure that we also get
7481 coverage on element's get/set functions
7483 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7486 set CFLAGS and friends to -O0 if gcov is being used
7489 * libs/gst/base/Makefile.am:
7490 * libs/gst/check/Makefile.am:
7491 * libs/gst/controller/Makefile.am:
7492 * libs/gst/dataprotocol/Makefile.am:
7493 * libs/gst/net/Makefile.am:
7494 * plugins/elements/Makefile.am:
7495 * plugins/indexers/Makefile.am:
7496 add makefile rules to generate gcov data and clean up
7497 * tests/check/Makefile.am:
7498 add a coverage target that generates an html overview
7501 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7503 * tests/check/elements/fakesink.c:
7504 * tests/check/elements/fakesrc.c:
7505 * tests/check/elements/fdsrc.c:
7506 * tests/check/elements/identity.c:
7507 * tests/check/generic/sinks.c: (gst_sinks_suite):
7508 * tests/check/generic/states.c:
7509 * tests/check/gst/gst.c:
7510 * tests/check/gst/gstabi.c:
7511 * tests/check/gst/gstbin.c:
7512 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7513 * tests/check/gst/gstbus.c: (gst_bus_suite):
7514 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7515 * tests/check/gst/gstelement.c:
7516 * tests/check/gst/gstevent.c: (gst_event_suite):
7517 * tests/check/gst/gstghostpad.c:
7518 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7519 * tests/check/gst/gstmessage.c: (gst_message_suite):
7520 * tests/check/gst/gstminiobject.c:
7521 * tests/check/gst/gstobject.c:
7522 * tests/check/gst/gstpad.c:
7523 * tests/check/gst/gstpipeline.c:
7524 * tests/check/gst/gstplugin.c:
7525 * tests/check/gst/gstquery.c: (gst_query_suite):
7526 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7527 * tests/check/gst/gststructure.c:
7528 * tests/check/gst/gstsystemclock.c:
7529 * tests/check/gst/gsttag.c:
7530 * tests/check/gst/gsttask.c: (gst_task_suite):
7531 * tests/check/gst/gstutils.c:
7532 * tests/check/gst/gstvalue.c:
7533 * tests/check/libs/adapter.c:
7534 * tests/check/libs/basesrc.c:
7535 * tests/check/libs/collectpads.c:
7536 * tests/check/libs/controller.c:
7537 * tests/check/libs/gdp.c: (gst_dp_suite):
7538 * tests/check/libs/gstnetclientclock.c:
7539 * tests/check/libs/gstnettimeprovider.c:
7540 * tests/check/libs/libsabi.c: (libsabi_suite):
7541 * tests/check/libs/typefindhelper.c:
7542 * tests/check/pipelines/cleanup.c:
7543 * tests/check/pipelines/parse-launch.c:
7544 * tests/check/pipelines/simple-launch-lines.c:
7545 * tests/check/pipelines/stress.c: (stress_suite):
7548 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7550 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7551 * libs/gst/check/gstcheck.h:
7552 create a macro and function so that the simple unit test
7553 case can be just one macro to create main()
7555 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7557 * gst/gstbin.c: (gst_bin_restore_thyself):
7558 * gst/gstxml.c: (gst_xml_make_element):
7559 Fix deserialisation from XML. Set parent manually
7560 instead of using gst_bin_add(), since gst_bin_add()
7561 will unlink all pads of the element being added.
7564 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7566 Patch by: Peter Kjellerstedt <pkj at axis com>
7568 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7569 Fix missing g_strdup() and double free when using the
7570 --gst-plugin-load command line option (#346097).
7572 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7575 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7577 * libs/gst/net/gstnetclientclock.c:
7578 * libs/gst/net/gstnettimeprovider.c:
7579 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7581 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7583 * docs/manual/advanced-dataaccess.xml:
7584 Fix buffer probe example compilation in
7587 2006-06-22 Edward Hervey <edward@fluendo.com>
7589 * gst/gstelement.c: (gst_element_pads_activate):
7590 We need to deactivate src pads first and then sink pads.
7591 The reason is the src pads might be blocking while holding the streaming
7592 lock, so we need to deactivate them first so that deactivating the sink
7593 pads doesn't block (since it will require the streaming lock).
7595 2006-06-22 Wim Taymans <wim@fluendo.com>
7597 * libs/gst/base/gstbasetransform.c:
7598 (gst_base_transform_buffer_alloc):
7599 Forgot to remove two unneeded unrefs.
7600 Simplify a check _is_equal allready checks the obvious case.
7602 2006-06-22 Wim Taymans <wim@fluendo.com>
7604 * docs/design/part-block.txt:
7605 Some docs about what pad_block should do.
7607 2006-06-22 Wim Taymans <wim@fluendo.com>
7609 * gst/gstcaps.c: (gst_caps_replace):
7610 Fix crasher when passed NULL. Doc clarification.
7611 Optimize for the trivial case.
7613 * gst/gstpipeline.c: (gst_pipeline_change_state):
7616 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7617 Small documentation cleanup.
7619 * libs/gst/base/gstbasetransform.c:
7620 (gst_base_transform_buffer_alloc):
7621 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7622 is what we need and it avoids a whole lot of redundant
7623 refcount operations.
7625 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7627 Patch by: Philip Jägenstedt <philip at lysator liu se>
7629 * docs/manual/advanced-dataaccess.xml:
7630 Fix 'Embedding static elements' section to use
7631 GST_PLUGIN_DEFINE_STATIC (#345607).
7633 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7635 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7636 Attempt to 'fix' spuriously failing test case: it seems like the
7637 timeout of half a second is simply too small when the system is under
7638 load otherwise, and the timeout doesn't really seem to serve any
7639 particular purpose here. Give the pipeline a few seconds to preroll
7640 first, and then give it another half a second to go from PAUSED to
7641 PLAYING and marshal the message into the main thread.
7643 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7645 * tools/gst-feedback-m.m:
7646 Don't only use unversioned tools, try versioned tools as well
7649 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7651 * gst/gstbus.c: (gst_bus_class_init):
7652 Fix some typos, make docs more explicit.
7654 2006-06-20 Wim Taymans <wim@fluendo.com>
7656 * tests/check/gst/gstghostpad.c: (block_callback),
7657 (GST_START_TEST), (gst_ghost_pad_suite):
7658 Added some more ghostpad tests, mainly blocking
7661 2006-06-16 Wim Taymans <wim@fluendo.com>
7663 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7664 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7665 (gst_file_sink_event), (gst_file_sink_render):
7666 * plugins/elements/gstfilesink.h:
7667 Check if we can seek in the file instead of assuming
7668 we always can. Post an error when we are asked to seek in a
7669 non-seekable file (like a fifo). Fixes #343312.
7672 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7674 * tools/gst-launch.1.in:
7675 Un-garble (fourcc) bit in filtered caps section.
7677 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7679 * docs/manual/advanced-autoplugging.xml:
7680 * docs/manual/basics-helloworld.xml:
7681 * docs/manual/highlevel-components.xml:
7682 Don't leak bus reference in sample code.
7684 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7687 Add default for new --enable-plugin-docs switch.
7690 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7694 Use new ENABLE_PLUGIN_DOCS conditional.
7696 2006-06-14 Wim Taymans <wim@fluendo.com>
7698 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7699 Make it clear with a FIXME and a real define what the #if 0
7700 previously disabled.
7702 2006-06-14 Wim Taymans <wim@fluendo.com>
7704 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7705 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7706 * libs/gst/base/gstbasetransform.c:
7707 (gst_base_transform_sink_eventfunc):
7708 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7709 Don't randomly and silently reset a segment when the format
7710 changes as this is a bug somewhere upstream. Fixes #330379.
7712 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7714 Patch by: Wouter Paesen <wouter at kangaroot net>
7716 * libs/gst/controller/gstcontroller.c:
7717 (gst_controlled_property_new):
7718 Fix controlling of float properties (#344849).
7720 * tests/check/libs/controller.c:
7721 (gst_test_mono_source_get_property),
7722 (gst_test_mono_source_set_property),
7723 (gst_test_mono_source_class_init), (GST_START_TEST):
7724 While we're at it, add some float stuff to unit test.
7726 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7729 * docs/images/gdp-header.svg:
7731 * docs/libs/Makefile.am:
7732 * docs/libs/gdp-header.png:
7733 * libs/gst/dataprotocol/dataprotocol.c:
7734 add it to the API docs
7735 * docs/manual/intro-motivation.xml:
7738 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7740 * gst/gst.c: (scan_and_update_registry), (init_post):
7741 If the fork()'ed child process can't write the updated registry cache
7742 file to disk for some reason, make it exit with a failure exit code,
7743 so that the parent can then re-scan the plugins itself and update the
7744 registry structures in memory and work with that (rather than failing
7745 when creating elements because seemingly no plugins are available).
7746 Refactor registry scanning code into separate function for this and
7747 also separate fork() and non-fork() code paths. Fixes #344748.
7749 2006-06-13 Wim Taymans <wim@fluendo.com>
7751 * docs/manual/advanced-dataaccess.xml:
7752 Fix wrong PluginDesc. Fixes #344755.
7754 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7756 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7757 Fix silly bug that prevented us from creating
7758 ~/.gstreamer-0.10 and writing the registry in one
7759 go (the first call to g_mkstemp() would overwrite the
7760 placeholder in the template string, so the second call
7761 to g_mkstemp() after creating the missing directory
7762 would then error out with 'invalid argument').
7764 2006-06-13 Edward Hervey <edward@fluendo.com>
7766 * gst/gst.c: (init_post):
7769 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7771 * gst/glib-compat-private.h:
7772 * gst/glib-compat.c:
7773 * gst/glib-compat.h:
7774 * gst/gstvalue.c: (gst_value_serialize_flags):
7775 remove GLib 2.6 compatibility code
7777 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7779 * gst/parse/Makefile.am:
7780 Fix build with 'make -j N' even more (#340016).
7782 2006-06-12 Wim Taymans <wim@fluendo.com>
7784 * docs/gst/gstreamer-sections.txt:
7787 2006-06-12 Wim Taymans <wim@fluendo.com>
7789 * gst/gstsegment.c: (gst_segment_set_duration),
7790 (gst_segment_set_last_stop), (gst_segment_set_seek),
7791 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7792 (gst_segment_to_running_time), (gst_segment_clip):
7793 Use G_UNLIKELY to help the compiler a bit.
7795 2006-06-12 Wim Taymans <wim@fluendo.com>
7797 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7799 * gst/gstevent.c: (gst_event_get_type):
7801 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7803 constify quark registration strings. Fixes #344115
7804 Avoid unneeded type checking is _pad_push() by internally
7805 calling gst_pad_chain_unchecked().
7807 2006-06-12 Wim Taymans <wim@fluendo.com>
7809 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7810 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7811 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7812 (gst_buffer_is_span_fast), (gst_buffer_span):
7813 Init _type for consistency.
7814 Use _FLAGS macro to avoid type check.
7815 Avoid unneeded type checks in subbufer code.
7817 2006-06-12 Wim Taymans <wim@fluendo.com>
7819 * gst/gst.c: (gst_debug_help):
7820 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7821 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7822 (gst_plugin_feature_list_free):
7823 * gst/gstregistry.c: (gst_registry_add_plugin),
7824 (gst_registry_add_feature), (gst_registry_plugin_filter),
7825 (gst_registry_feature_filter), (gst_registry_find_plugin),
7826 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7827 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7828 * gst/gstregistryxml.c: (load_feature),
7829 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7830 * gst/gstminiobject.c: (gst_mini_object_unref),
7831 (gst_mini_object_replace), (gst_value_mini_object_free),
7832 (gst_value_mini_object_copy):
7833 Use _CAST macros to avoid unneeded type checking.
7834 Added some more G_UNLIKELY.
7836 2006-06-12 Wim Taymans <wim@fluendo.com>
7839 Avoid unneeded type checking.
7840 API: GST_BUFFER_IS_DISCONT
7842 * gst/gstminiobject.h:
7843 Avoid type check in flag accessor.
7845 * gst/gstelementfactory.h:
7847 * gst/gstpluginfeature.h:
7849 API: GST_ELEMENT_FACTORY_CAST
7850 API: GST_PLUGIN_CAST
7851 API: GST_PLUGIN_FEATURE_CAST
7853 2006-06-12 Wim Taymans <wim@fluendo.com>
7855 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7857 Add G_UNLIKELY in type registration.
7858 Avoid type check in _ref/_unref since that is also
7861 2006-06-12 Wim Taymans <wim@fluendo.com>
7863 * gst/gsterror.c: (gst_g_error_get_type):
7864 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7865 (gst_static_pad_template_get_type):
7866 * gst/gsttaglist.c: (gst_tag_list_get_type):
7867 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7868 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7869 * gst/gsturi.c: (gst_uri_handler_get_type):
7870 * gst/gstvalue.c: (gst_date_get_type):
7871 * gst/gstxml.c: (gst_xml_get_type):
7872 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7873 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7874 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7875 Add G_UNLIKELY in type registration.
7877 2006-06-12 Wim Taymans <wim@fluendo.com>
7879 * tools/gst-inspect.c: (print_signal_info):
7880 Properly print enum values.
7882 2006-06-12 Wim Taymans <wim@fluendo.com>
7884 * gst/gstinfo.c: (gst_debug_set_active),
7885 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7887 Add some G_[UN]LIKELY.
7888 Maintain __gst_debug_min to avoid formatting the arguments of
7889 debug messages that will be dropped anyway to avoid a lot of
7890 overhead from the debugging system.
7892 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7896 add missing files containing translatable strings, tell intltool about
7899 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7901 * tests/check/libs/.cvsignore:
7902 add test-binary to ignore list
7904 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7906 * docs/libs/gstreamer-libs-docs.sgml:
7907 reorder (put dp into a chapter) and indent
7909 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7914 === release 0.10.8 ===
7916 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7919 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7921 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7923 * gst/gst.c: (init_post):
7924 move pid declaration to declaration block
7926 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7928 * gst/gst.c: (init_post):
7929 use _exit() instead of exit() in our forked child; this ensures
7930 that none of the registered exit handlers from whatever is using
7931 GStreamer get executed. This fixes gnome-mixer-applet failing
7932 to load, because ORBit would shut down.
7933 Spotted by: Edward Hervey <edward@fluendo.com>
7934 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7937 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7942 === release 0.10.7 ===
7944 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7947 releasing 0.10.7, "Soepeke, ik zie ou"
7949 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7972 * win32/common/config.h:
7975 2006-06-07 Wim Taymans <wim@fluendo.com>
7977 * gst/gstindex.c: (gst_index_gtype_resolver):
7978 * tools/gst-xmlinspect.c: (print_plugin_info):
7979 Fix leak spotted by coverity checker. Fixes #343827
7980 Fix another other leak found by paolo borelli.
7982 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7984 * libs/gst/dataprotocol/dataprotocol.c:
7985 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7986 (gst_dp_version_get_type), (gst_dp_init),
7987 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7988 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7989 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7990 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7991 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7992 (gst_dp_packetizer_free):
7993 * libs/gst/dataprotocol/dataprotocol.h:
7994 API: add a GstDPPacketizer object, and create/free functions
7995 API: add GstDPVersion enum
7996 Add 1.0 event function that uses the string serialization
7997 Serialize more useful buffer flags
8000 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8002 * tests/check/Makefile.am:
8003 * tests/check/gst/gstabi.c:
8004 * tests/check/gst/struct_ppc64.h:
8005 * tests/check/libs/libsabi.c:
8006 * tests/check/libs/struct_ppc64.h:
8007 add ppc64 structure sizes
8009 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8011 * tests/check/Makefile.am:
8012 * tests/check/gst/gstabi.c:
8013 * tests/check/gst/struct_x86_64.h:
8014 * tests/check/libs/libsabi.c:
8015 * tests/check/libs/struct_x86_64.h:
8016 generate and add structure size lists for x86_64
8018 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8020 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8021 * libs/gst/check/gstcheck.h:
8022 factor out the method from tests that checks size of structures,
8023 and add code to generate the header containing these sizes
8024 * tests/check/gst/gstabi.c: (GST_START_TEST):
8025 * tests/check/gst/struct_i386.h:
8026 * tests/check/libs/libsabi.c: (GST_START_TEST):
8027 * tests/check/libs/struct_i386.h:
8030 2006-06-06 Michael Smith <msmith@fluendo.com>
8033 Don't use c++-style comments, fixes #343929
8035 2006-06-05 Edward Hervey <edward@fluendo.com>
8038 plugin_paths is not used if we build without registry support.
8040 * gst/gstsegment.c: (gst_segment_copy):
8041 _copy() was always returning NULL...
8043 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8045 * libs/gst/dataprotocol/dataprotocol.c:
8046 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8047 (gst_dp_packet_from_event):
8050 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8052 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8053 make sure we unset caps
8055 2006-06-02 Michael Smith <msmith@fluendo.com>
8057 * libs/gst/check/gstcheck.c: (gst_check_init),
8058 (gst_check_chain_func):
8059 * libs/gst/check/gstcheck.h:
8060 Add a cond/mutex to the check support lib, signal this whenever we
8061 add to the buffers list. This will allow tests to not busy-wait on
8064 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * libs/gst/dataprotocol/dataprotocol.c:
8067 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8068 (gst_dp_packet_from_event):
8069 factor out some common header init code
8071 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8073 * docs/libs/gstreamer-libs-sections.txt:
8074 * docs/libs/tmpl/gstdataprotocol.sgml:
8075 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8076 * libs/gst/dataprotocol/dataprotocol.h:
8077 API: make gst_dp_crc() public
8079 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8081 * plugins/indexers/gstindexers.c: (plugin_init):
8082 conditionally register fileindexer (fixes #343598)
8084 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8086 * gst/gsttagsetter.h:
8087 Can't cast ifaces to a class
8089 * libs/gst/net/gstnetclientclock.h:
8090 * libs/gst/net/gstnettimeprovider.h:
8091 * plugins/elements/gstfakesink.h:
8092 * plugins/elements/gstfakesrc.h:
8093 * plugins/elements/gstfdsink.h:
8094 * plugins/elements/gstfdsrc.h:
8095 * plugins/elements/gstfilesink.h:
8096 * plugins/elements/gstfilesrc.h:
8097 * plugins/elements/gstidentity.h:
8098 * plugins/elements/gstqueue.h:
8099 * plugins/elements/gsttee.h:
8100 * plugins/indexers/gstfileindex.c:
8101 * plugins/indexers/gstmemindex.c:
8102 * tests/old/examples/plugins/example.h:
8103 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8105 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8107 * libs/gst/dataprotocol/dataprotocol.c:
8108 (gst_dp_header_from_buffer):
8109 make sure we zero the whole ABI-compatible area
8111 2006-06-01 Wim Taymans <wim@fluendo.com>
8113 Patch by: Alessandro Decina <alessandro at nnva dot org>
8115 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8116 Make sure the EOS flag is cleared from pads after a flush
8117 or stop. Fixes #343538.
8119 * tests/check/libs/collectpads.c: (GST_START_TEST),
8120 (gst_collect_pads_suite):
8121 Added test for collectpads reusage after EOS.
8123 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8126 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8127 * win32/common/libgstbase.def:
8128 export gst_collect_pads_set_flushing
8129 * win32/common/libgstreamer.def:
8130 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8131 gst_value_fraction_multiply
8132 * win32/vs6/gst_inspect.dsp:
8133 add a link to intl.lib
8135 2006-05-30 Wim Taymans <wim@fluendo.com>
8137 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8138 (gst_collect_pads_chain):
8139 Handle the case where a pad is removed from the collection
8140 that could cause the other pads to become collectable.
8142 2006-05-30 Wim Taymans <wim@fluendo.com>
8145 Clarify the use of _release_request_pad() and
8146 _get_request_pad() a bit better.
8148 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8149 (gst_adapter_take_buffer):
8150 Fix some doc and comment typos.
8152 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8154 * docs/gst/gstreamer-sections.txt:
8155 * docs/libs/gstreamer-libs-sections.txt:
8156 add declared symbols
8158 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8160 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8161 Add debug that can be enabled using a #define at the top of the file,
8162 for dumping stats about how late/early we were when waking up from
8163 waiting on the clock.
8165 2006-05-30 Wim Taymans <wim@fluendo.com>
8167 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8168 When rebuilding the pad list, don't leak the previous list.
8170 2006-05-30 Wim Taymans <wim@fluendo.com>
8172 Patch by: Lutz Mueller <lutz at topfrose dot de>
8174 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8175 (gst_base_src_get_query_types), (gst_base_src_update_length):
8176 Publish supported query types.
8177 Update last_stop field in get_range mode so the position
8178 query works. Fixes #342321.
8180 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8182 * docs/gst/gstreamer-sections.txt:
8183 * gst/gsttaglist.c: (_gst_tag_initialize):
8185 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8187 2006-05-30 Wim Taymans <wim@fluendo.com>
8189 Patch by: Alessandro Decina <alessandro at nnva dot org>
8191 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8192 Unlock mutex when removing an unknown pad.
8195 * tests/check/Makefile.am:
8196 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8197 (push_event), (setup), (teardown), (GST_START_TEST),
8198 (gst_collect_pads_suite), (main):
8199 Added collecpads check, disabled for now as check crashes for
8202 2006-05-29 Wim Taymans <wim@fluendo.com>
8204 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8205 Don't leak pads lists.
8207 2006-05-29 Wim Taymans <wim@fluendo.com>
8209 * docs/libs/gstreamer-libs-sections.txt:
8210 * libs/gst/base/gstcollectpads.c:
8211 (gst_collect_pads_set_flushing_unlocked),
8212 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8213 (gst_collect_pads_stop):
8214 * libs/gst/base/gstcollectpads.h:
8215 API: gst_collect_pads_set_flushing()
8216 Added api to set the pads to flushing, useful for seeking
8217 code in elements using collectpads.
8218 Clear segment when receiving a flush.
8220 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8222 * gst/gst.c: (add_path_func), (init_post):
8223 Don't scan registry paths passed via --gst-plugin-path immediately
8224 (will crash, because absolutely nothing is set up and no types are
8225 registered etc.); do this later in init_post(). Fixes #343057.
8227 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8229 * gst/gst.c: (init_post):
8230 if we have fork, fork while reading/rebuilding the registry
8231 so the parent doesn't take the hit of having all plugins loaded
8232 in memory. Fixes #342777.
8234 Check if we have fork()
8235 * win32/common/config.h.in:
8238 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8240 * plugins/elements/gstelements.c:
8241 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8242 (gst_file_src_init), (gst_file_src_set_property),
8243 (gst_file_src_get_property), (gst_file_src_start):
8244 * plugins/elements/gstfilesrc.h:
8245 API: GstFileSrc::use-mmap
8247 Add a use-mmap property to enable easier testing of all code paths.
8248 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8249 in the absence of gnomevfssrc. (Closes #340501)
8251 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8253 * tools/gst-inspect.c:
8254 Add missing include, removes warning of ngettext not being defined on
8257 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8259 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8260 Handle NULL input and output pointers silently as a failed conversion,
8261 rather than g_warnings.
8263 2006-05-25 Wim Taymans <wim@fluendo.com>
8265 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8266 Initialize variable before using. Fixes #342820.
8268 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8270 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8271 Fix off-by-one bug that would only allow peeks of N-1 bytes
8272 from the start even if the buffer to typefind on contains
8273 in fact N bytes of data (makes vorbis typefinding from a
8274 vorbis identification header buffer work).
8276 * tests/check/Makefile.am:
8277 * tests/check/libs/.cvsignore:
8278 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8279 (gst_typefindhelper_suite), (main), (foobar_typefind),
8281 Add very basic unit test for gst_type_find_helper_for_buffer()
8282 that checks for the problem fixed above.
8284 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8286 * tools/gst-inspect.c: (print_interfaces),
8287 (print_element_properties_info), (print_element_list), (main):
8288 add more translatable strings
8290 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8292 Patch by: Julien Moutte <julien at moutte net>
8294 * docs/gst/gstreamer-sections.txt:
8295 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8297 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8298 (gst_fake_sink_preroll):
8299 * plugins/elements/gstfakesink.h:
8300 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8302 2006-05-23 Wim Taymans <wim@fluendo.com>
8304 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8306 Added _CUSTOM error and success GstFlowReturn that can be
8307 used be elements internally.
8308 Added macro to check for SUCCESS flowreturns.
8309 API: GST_FLOW_CUSTOM_SUCCESS
8310 API: GST_FLOW_CUSTOM_ERROR
8311 API: GST_FLOW_IS_SUCCESS
8313 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8314 Added check for GstFlowReturn sanity.
8316 2006-05-23 Wim Taymans <wim@fluendo.com>
8318 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8321 (gst_collect_pads_event):
8322 clear/reset segment info in FLUSH_STOP.
8325 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8328 (gst_collect_pads_check_collected):
8329 Flush queued buffer on _stop(), fixes playing again (#342454)
8331 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8333 * tests/check/gst/gststructure.c: (GST_START_TEST),
8334 (gst_structure_suite):
8335 add a test for a complete structure
8337 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8339 * docs/faq/developing.xml:
8341 * docs/faq/troubleshooting.xml:
8342 * docs/faq/using.xml:
8343 Some minor FAQ updates that won't change the fact that
8344 our FAQ is badly structured, full of information hardly
8345 anyone new to GStreamer needs to know and lacking lots
8346 of information people constantly ask for.
8348 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8350 * gst/gstpad.c: (gst_pad_set_caps):
8351 Short-circuit gst_pad_set_caps if setting the existing
8352 caps pointer again, and avoid printing debug and
8353 reffing/unreffing the caps.
8355 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8356 There's actually no need to set the caps before pushing -
8357 the acceptcaps method will handle it anyway.
8359 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8361 * docs/gst/gstreamer-sections.txt:
8362 * win32/common/libgstreamer.def:
8363 * gst/gstutils.c: (gst_element_seek_simple):
8365 API: add gst_element_seek_simple() (#342238).
8367 2006-05-18 Edward Hervey <edward@fluendo.com>
8369 * gst/gsttypefind.c: (gst_type_find_get_type):
8370 * gst/gsttypefind.h:
8371 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8372 registered for GstTypeFind pointers. This allows wrapping the structure
8373 in bindings (i.e. gst-python).
8375 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8377 * gst/gsttagsetter.c:
8378 Docs additions and fixes (see #339918).
8380 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8382 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8383 The caps intersection algorithm can produce multiple copies of the
8384 caps. Until that is fixed, we need to simplify the result to be
8385 sure whether the allowed caps are fixed or not.
8387 * plugins/elements/gstqueue.c: (gst_queue_init),
8388 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8389 (gst_queue_push_one):
8390 Proxied buffer alloc should not set the caps on the source pad.
8391 When pushing buffers, we always accept the caps change that triggers.
8392 This prevents negotiation errors caused by caps changing mid-stream
8393 and then being refused on our source pad (because upstream is now
8394 refusing those caps).
8396 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8398 * tests/examples/helloworld/helloworld.c: (main):
8399 Must plug audioconvert and audioresample between decoder
8402 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8404 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8405 (load_feature), (load_plugin):
8406 Allow empty strings for some of the plugin fields so we don't
8407 drop valid plugin entries that were written out correctly
8410 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8412 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8413 Use g_remove and g_rename instead of remove and rename that don't
8414 handle utf8 characters. rename was failing for users who had specific
8415 characters in their name then the registry was built at each
8417 * win32/vs6/gst_inspect.dsp:
8418 * win32/vs6/gst_launch.dsp:
8419 * win32/vs6/libgstbase.dsp:
8420 * win32/vs6/libgstcoreelements.dsp:
8421 * win32/vs6/libgstreamer.dsp:
8422 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8423 build of libgstreamer and clean unused libraries in projects link
8426 2006-05-17 Edward Hervey <edward@fluendo.com>
8428 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8429 The queue is not responsible for pushing an EOS when receiving a fatal
8430 flow error. It's up to the real element driving the pipeline to do that.
8432 2006-05-16 Edward Hervey <edward@fluendo.com>
8434 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8435 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8436 buffer returned a fatal error. It should just send an EOS and stop
8438 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8439 when pushing buffers on the queue and will be able to handle the event.
8441 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8443 * docs/manual/basics-bins.xml:
8444 * docs/manual/basics-init.xml:
8445 Fix typos and minor errors in sample code (#341856).
8447 2006-05-16 Wim Taymans <wim@fluendo.com>
8449 * docs/design/part-qos.txt:
8450 Fix indexes in formulas to make more sense.
8452 2006-05-15 Wim Taymans <wim@fluendo.com>
8454 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8455 Don't report POSITION based on clock time if sync is
8458 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8461 Add cast to make compiler happy - refcount variable was a gint
8462 in GstObject but is a guint in GObject and g_atomic_int_get()
8465 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8467 * gst/parse/Makefile.am:
8468 chain commands using &&, which also makes parallel make work
8470 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8472 * docs/gst/gstreamer-sections.txt:
8478 === release 0.10.6 ===
8480 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8483 releasing 0.10.6, "Take the cannoli"
8485 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8487 * tools/gst-launch.c: (print_tag):
8488 Fix use of uninitialized variable in the hypothetical
8489 case that some broken plugin creates a GST_TAG_IMAGE
8490 tag containing a NULL buffer (#341667).
8492 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8494 * tools/gst-launch.c: (print_tag):
8495 Print something more intelligible for image tags when
8496 using the -t switch (#341556).
8498 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8503 define GST_MAJORMINOR so we have it available in win32/common/config.h
8504 Possibly remove it from our Makefile.am files later
8505 * win32/common/config.h:
8506 * win32/common/config.h.in:
8507 added GST_MAJORMINOR
8508 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8509 * win32/common/gstversion.h:
8512 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8515 Update win32 files listing.
8516 * win32/common/gstversion.h:
8517 Add GST_MAJORMINOR definition.
8518 * win32/common/libgstreamer.def:
8519 Add new exported functions.
8521 2006-05-12 Michael Smith <msmith@fluendo.com>
8523 * gst/gstplugin.c: (gst_plugin_load_file):
8524 If an so file has no plugin entry point, unload the module.
8526 2006-05-11 Wim Taymans <wim@fluendo.com>
8528 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8529 (gst_queue_set_property):
8530 Don't forget to signal the _chain or _loop function
8531 when the queue size or thresholds change since that might
8532 cause them to make progres again.
8534 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8536 * gst/gstclock.c: (gst_clock_class_init):
8537 * gst/gstindex.c: (gst_index_class_init):
8538 * gst/gstobject.c: (gst_object_class_init):
8539 * gst/gstpad.c: (gst_pad_class_init):
8540 * gst/gstpipeline.c: (gst_pipeline_class_init):
8541 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8542 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8543 * libs/gst/base/gstbasetransform.c:
8544 (gst_base_transform_class_init):
8545 * libs/gst/net/gstnetclientclock.c:
8546 (gst_net_client_clock_class_init):
8547 * libs/gst/net/gstnettimeprovider.c:
8548 (gst_net_time_provider_class_init):
8549 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8550 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8551 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8552 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8553 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8554 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8555 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8556 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8557 * plugins/elements/gsttee.c: (gst_tee_class_init):
8558 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8559 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8560 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8562 2006-05-11 Wim Taymans <wim@fluendo.com>
8564 * gst/gstbuffer.c: (_gst_buffer_initialize):
8565 Register subbufer along with the buffer type so that
8566 it does not accidentally gets registered from N
8567 different streaming threads in a non threadsafe way.
8569 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8574 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8575 gst_event_ref() and gst_message_ref() functions again
8576 (ugly hack, please do fix if there's a better way besides
8577 overrides.txt, which doesn't seem to work).
8579 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8581 * libs/gst/check/gstcheck.h:
8582 add an assert for setting state to avoid lots of repetitive code
8585 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8587 * gst/gstvalue.c: (gst_value_serialize_flags):
8588 fix a leak if no flags are set
8589 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8592 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8594 * docs/manual/basics-pads.xml:
8595 Expand a bit on caps and filtered links and update
8596 examples that were still using the no longer existing
8597 gst_pad_link_filtered() (#338206).
8599 2006-05-10 Wim Taymans <wim@fluendo.com>
8601 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8602 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8603 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8604 (gst_collect_pads_stop):
8605 * libs/gst/base/gstcollectpads.h:
8606 No need to call _stop in _finalize.
8607 Iterate the main pad list in _finalize.
8608 Added some more debug.
8609 Free lists and data in the right order.
8610 Also free data whem doing _remove_pad when stopped for
8611 backward compatibility protect ::started with PAD_LOCK as
8614 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8616 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8617 (gst_structure_parse_value):
8619 rename a method so that it actually says what it does better
8621 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8623 * gst/gstevent.c: (_gst_event_initialize):
8624 * gst/gstformat.c: (_gst_format_initialize):
8625 make sure some essential types used by events are registered
8626 as part of gst_init()
8627 * gst/gstvalue.c: (gst_value_serialize_flags):
8628 if no flags are set, serialize them to a value that represents NONE
8629 so that deserializing them works
8630 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8631 add tests for serialization and deserialization of flags
8633 2006-05-10 Wim Taymans <wim@fluendo.com>
8635 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8636 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8637 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8638 (gst_collect_pads_event), (gst_collect_pads_chain):
8641 Catch and return errors from the collect function
8642 Refuse data on eos pads.
8644 2006-05-10 Edward Hervey <edward@fluendo.com>
8646 * gst/gstinterface.h:
8647 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8648 GInterface type checking.
8649 They were previously using non-defined macros.
8651 2006-05-09 Wim Taymans <wim@fluendo.com>
8653 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8654 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8655 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8656 (gst_collect_pads_start), (gst_collect_pads_stop),
8657 (gst_collect_pads_peek), (gst_collect_pads_pop),
8658 (gst_collect_pads_available), (gst_collect_pads_read),
8659 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8660 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8661 (gst_collect_pads_chain):
8662 * libs/gst/base/gstcollectpads.h:
8663 Clean up the mess that is collectpads, add comments and
8664 FIXMEs where needed.
8665 Maintain a separate pad list so we can add pads while
8666 collecting the other ones. For this we need a new separate
8668 Fix memory leak in finalize.
8669 Refactor some weird code to set/unset pad flushing flags, mark
8671 Don't crash in _available, _read, _flush when we're EOS.
8673 * tests/check/libs/.cvsignore:
8674 Ignore adapter check binary.
8676 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8678 * gst/gstindex.c: (gst_index_resolver_get_type):
8679 * plugins/elements/gstfakesink.c:
8680 (gst_fake_sink_state_error_get_type):
8681 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8682 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8683 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8684 Const-ify GEnumValue arrays.
8686 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8688 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8689 Add test case for flags + gst_buffer_make_metadata_writable().
8691 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8693 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8694 gst_buffer_make_metadata_writable() should maintain the
8695 buffer flags (those that make sense at least) (see #340859).
8697 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8699 * tools/gst-inspect.c:
8700 * tools/gst-launch.c:
8701 * tools/gst-typefind.c:
8702 * tools/gst-xmlinspect.c:
8704 Fix up includes: need to include stdlib.h in tools.h for exit().
8706 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8708 * gst/gsttaglist.c: (_gst_tag_initialize):
8710 API: add GST_TAG_IMAGE tag (#340721).
8712 2006-05-08 Wim Taymans <wim@fluendo.com>
8715 Added some docs for the segment query.
8717 2006-05-08 Wim Taymans <wim@fluendo.com>
8719 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8720 (gst_base_src_loop), (gst_base_src_change_state):
8721 Always push non-flushing serialized events in the streaming
8724 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8726 * gst/gsterror.c: (_gst_stream_errors_init):
8727 Add a missing error string.
8729 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8731 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8732 Add applied_rate to the debug
8734 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8735 Copy applied_rate into the outgoing NEWSEGMENT event
8737 2006-05-08 Wim Taymans <wim@fluendo.com>
8739 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8741 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8742 (gst_base_sink_change_state):
8743 call ::unlock before taking the PREROLL_LOCK so we can safely
8744 handle elements that lock in ::render.
8747 2006-05-08 Edward Hervey <edward@fluendo.com>
8749 * autogen.sh: (CONFIGURE_DEF_OPT):
8750 Darwin's libtoolize is in fact called glibtoolize.
8751 Adding glibtoolize to the list of accepted names for libtoolize.
8753 2006-05-08 Wim Taymans <wim@fluendo.com>
8755 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8756 Unify error handling, don't post an error message
8757 when a push() returns EOS but perform our normal EOS
8758 handling code. Fixes #340772.
8760 2006-05-08 Wim Taymans <wim@fluendo.com>
8762 * docs/design/part-overview.txt:
8763 Make upsteam/downstream concepts more clear.
8764 Give an example of serialized/non-serialized events.
8766 * docs/design/part-events.txt:
8767 * docs/design/part-streams.txt:
8768 Mention applied_rate.
8770 * docs/design/part-trickmodes.txt:
8771 Mention applied rate, flesh out some more use cases.
8773 * gst/gstevent.c: (gst_event_new_new_segment),
8774 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8775 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8776 (gst_event_parse_tag), (gst_event_new_buffer_size),
8777 (gst_event_parse_buffer_size), (gst_event_new_qos),
8778 (gst_event_parse_qos), (gst_event_parse_seek),
8779 (gst_event_new_navigation):
8781 Add applied_rate field to NEWSEGMENT event.
8782 API: gst_event_new_new_segment_full()
8783 API: gst_event_parse_new_segment_full()
8785 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8786 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8787 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8789 Add applied_rate to GstSegment structure.
8790 Make calculation of stream_time and running_time more correct
8791 wrt rate/applied_rate.
8793 API: GstSegment::applied_rate field
8794 API: gst_segment_set_newsegment_full();
8796 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8797 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8798 * libs/gst/base/gstbasetransform.c:
8799 (gst_base_transform_sink_eventfunc),
8800 (gst_base_transform_handle_buffer):
8801 Parse and use applied_rate in the GstSegment field.
8803 * tests/check/gst/gstevent.c: (GST_START_TEST):
8804 Add check for applied_rate field.
8806 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8807 (gstsegments_suite):
8808 Add more checks for various GstSegment operations.
8810 2006-05-08 Wim Taymans <wim@fluendo.com>
8812 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8813 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8814 (gst_base_sink_get_position), (gst_base_sink_change_state):
8815 Store the sync time of the buffer end position separatly in a
8816 new variable eos_rtime so we can properly sync the EOS event.
8818 Fix the docs for gst_base_sink_set_qos_enabled().
8819 Don't set segment start to invalid value when we receive a
8820 non TIME newsegment.
8821 get closer to handling position reporting for negative rates
8824 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8827 Docs about how to print caps for debug purposes.
8829 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8830 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8832 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8835 use full enum names and preprend a '%' in docs strings to make recent
8836 gtk-doc turn that into a link
8838 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8840 * docs/manual/basics-bins.xml:
8841 * docs/manual/basics-bus.xml:
8842 * docs/manual/basics-pads.xml:
8843 Some typo fixes, some additions, some clarifications.
8845 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8847 * tools/gst-inspect.c: (main):
8848 * tools/gst-launch.c: (main):
8849 * tools/gst-run.c: (main):
8850 * tools/gst-typefind.c: (main):
8851 * tools/gst-xmlinspect.c: (main):
8852 Use the string passed to g_option_context_new() for
8853 what it's intended for - the program name is already
8856 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8858 * tools/Makefile.am:
8859 * tools/gst-inspect.c: (main):
8860 * tools/gst-launch.c: (main):
8861 * tools/gst-xmlinspect.c: (main):
8863 Add back --version command line option (#340460).
8865 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8866 Add --version option and use GOption for argument parsing; refactor a
8867 bit; accept directories as arguments and recurse into them; lastly,
8868 print a decent error message when things go wrong.
8870 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8872 * docs/manual/basics-bins.xml:
8873 Don't mention GstThread (#340611)
8874 * docs/manual/basics-elements.xml:
8875 Update link to GObject tutorial (#340607)
8877 2006-05-05 Wim Taymans <wim@fluendo.com>
8880 * gst/gstminiobject.c:
8881 Add note about refcounting and miniobject/buffer writeability
8882 to docs. Fixes #340604
8884 * gst/gstelementfactory.h:
8885 Added some explanation about @klass.
8887 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8889 * docs/manual/intro-motivation.xml:
8890 * docs/manual/manual.xml:
8891 Avoid CORBA & Bonobo references (#340598)
8893 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8895 * docs/manual/basics-bus.xml:
8896 * docs/manual/basics-pads.xml:
8897 Fix up some inaccuracies and omissions (#340609)
8899 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8901 * gst/gstghostpad.c:
8902 Small typo in docs (#340625)
8904 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8906 * gst/parse/Makefile.am:
8907 Make 'make -j' proof (see #340698).
8909 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8912 Require GLib-2.8 here as well.
8914 2006-05-05 Wim Taymans <wim@fluendo.com>
8916 * gst/glib-compat.c:
8917 * gst/gst.c: (init_pre):
8918 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8919 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8920 (gst_object_dispatch_properties_changed):
8922 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8923 * gst/gststructure.c: (gst_structure_set_valist):
8924 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8925 Remove pre glib2.8 compatibility, fixes #340508
8927 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8930 Mention type of tags in doc blurbs.
8932 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8934 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8935 (gst_pad_configure_src), (gst_pad_push):
8936 Restore acceptcaps checking behaviour now that good plugins have
8939 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8941 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8952 * gst/parse/Makefile.am:
8953 * libs/gst/base/gstadapter.c:
8954 * libs/gst/base/gstbasesrc.c:
8955 * libs/gst/base/gstpushsrc.c:
8956 * libs/gst/base/gsttypefindhelper.c:
8957 * plugins/elements/gstfakesrc.c:
8958 * plugins/elements/gstidentity.c:
8959 Make sure gstprivate.h and/or config.h are
8960 always included first, otherwise some of our
8961 defines (like _FILE_OFFSET_BITS) might be
8962 redefined in the system headers. Fixes build
8963 on opensolaris (#340016).
8965 2006-05-04 Wim Taymans <wim@fluendo.com>
8967 * docs/libs/gstreamer-libs-sections.txt:
8968 API: addition: gst_adapter_take_buffer()
8970 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8971 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8972 (gst_adapter_available_fast):
8973 * libs/gst/base/gstadapter.h:
8974 Prepare for optimizing the hell out of this hugely inefficient
8976 Added gst_adapter_take_buffer() so we can at least start thinking
8977 about subbuffering and merging.
8978 Added some comments.
8980 * tests/check/Makefile.am:
8981 * tests/check/libs/adapter.c: (GST_START_TEST),
8982 (gst_adapter_suite), (main):
8983 Added GstAdapter check.
8985 2006-05-04 Wim Taymans <wim@fluendo.com>
8987 * docs/design/part-overview.txt:
8988 Fix some typos, add blurb about buffer flags.
8990 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8992 * docs/libs/gstreamer-libs-sections.txt:
8993 make sure GstBaseTransformClass shows up in the docs
8994 * libs/gst/base/gstbasetransform.c:
8995 * libs/gst/base/gstbasetransform.h:
8996 move docs so gtk-doc picks it up now
8998 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9000 * docs/libs/gstreamer-libs-sections.txt:
9001 add missing symbols to docs
9003 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9005 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9006 back out the newsegment handling change, see #340060 for ongoing
9009 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9011 * tools/gst-run.c: (get_candidates), (main):
9012 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9013 work); fix typo in error message. Fixes #340079.
9015 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9017 * common/Makefile.am:
9019 * docs/faq/Makefile.am:
9020 * docs/gst/Makefile.am:
9021 * docs/libs/Makefile.am:
9022 * docs/manual/Makefile.am:
9023 * docs/plugins/Makefile.am:
9024 * docs/pwg/Makefile.am:
9025 * docs/slides/Makefile.am:
9027 * common/upload.mak:
9028 move upload.mak to common
9030 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9032 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9033 add more asserts on refcounts
9034 do more cleanup at end of tests
9035 fix test leaks showing in FC5
9037 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9039 * plugins/elements/gsttypefindelement.c:
9040 (gst_type_find_element_handle_event):
9041 reverted wrong change and reflowed code to avoid others falling into
9044 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9046 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9047 fix changelog entry about last collectpads change,
9048 add notes about proper fix
9050 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9053 * gst/gstregistry.c: (gst_registry_scan_path_level),
9054 (gst_registry_scan_path):
9055 * gst/gstregistry.h:
9056 only write out registry if it has changed, fixes #338339
9058 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9061 * gst/gstpipeline.c:
9062 * plugins/elements/gstcapsfilter.c:
9063 * plugins/elements/gstfakesink.c:
9064 * plugins/elements/gstfakesrc.c:
9065 * plugins/elements/gstfdsink.c:
9066 * plugins/elements/gstfdsrc.c:
9067 * plugins/elements/gstfilesink.c:
9068 * plugins/elements/gstfilesrc.c:
9069 * plugins/elements/gstidentity.c:
9070 * plugins/elements/gstqueue.c:
9071 * plugins/elements/gsttee.c:
9072 * plugins/elements/gsttypefindelement.c:
9073 (gst_type_find_element_handle_event):
9074 make GstElementDetails const
9076 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9078 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9080 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9081 more detailed debug and formatting cleanup,
9082 forward newsegments to src-pad (so that e.g. adder not eats them)
9084 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9086 * gst/gstutils.c: (gst_element_link_pads):
9089 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9091 * libs/gst/controller/gstcontroller.c:
9092 (gst_controller_sync_values):
9094 * tests/check/libs/controller.c: (GST_START_TEST),
9095 (gst_controller_suite):
9096 a new test for live value handling
9098 2006-04-28 Wim Taymans <wim@fluendo.com>
9100 * gst/gstutils.c: (push_and_ref):
9101 Added some more docs.
9102 Fix refcount issue whith gst_element_found_tags() helper
9103 function. Fixes #338335
9105 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9106 Added testsuite for gst_element_found_tags().
9108 2006-04-28 Michael Smith <msmith@fluendo.com>
9110 * gst/gstvalue.c: (gst_value_serialize_flags):
9111 Avoid NULL dereference when trying to serialize flags containing
9114 2006-04-28 Michael Smith <msmith@fluendo.com>
9116 * plugins/elements/gsttypefindelement.c:
9117 (gst_type_find_element_handle_event):
9118 If we get EOS before any data is accumulated, don't use
9119 uninitialised local variables.
9121 2006-04-28 Michael Smith <msmith@fluendo.com>
9123 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9124 (gst_dp_event_from_packet):
9125 Fixes in reading/writing events over GDP (not currently used?) -
9126 dereferencing NULL events for unknown/invalid event types, memory
9127 leak, and change g_warning to GST_WARNING.
9129 2006-04-28 Wim Taymans <wim@fluendo.com>
9131 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9132 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9133 (gst_base_sink_get_position), (gst_base_sink_change_state):
9134 When frame dropping is enabled, we should not ignore frames
9136 Update some documentation.
9138 2006-04-28 Wim Taymans <wim@fluendo.com>
9140 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9141 (gst_base_src_send_event), (gst_base_src_change_state):
9142 Documentation updates.
9144 2006-04-28 Wim Taymans <wim@fluendo.com>
9146 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9147 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9148 handle EAGAIN, EINTR and short writes correctly. Also clean
9149 up some error cases, avoid a deadlock on bad file descriptors and
9150 use GST_DEBUG_OBJECT.
9153 2006-04-28 Wim Taymans <wim@fluendo.com>
9155 * gst/gstvalue.c: (gst_value_serialize_buffer),
9156 (gst_value_deserialize_buffer):
9157 Don't try to serialize a GValue with a NULL buffer.
9160 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9161 Added check for serialisation of NULL buffers.
9163 2006-04-28 Wim Taymans <wim@fluendo.com>
9165 * gst/gstminiobject.c: (gst_value_take_mini_object):
9166 Taking a NULL miniobject is valid, fix the case where
9167 we try to unref the NULL miniobject.
9169 2006-04-28 Wim Taymans <wim@fluendo.com>
9171 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9173 * gst/gstbin.c: (gst_bin_handle_message_func):
9175 Don't leak bin refcount when a state recalc is
9176 in progress and we delay another one #339808.
9178 2006-04-28 Wim Taymans <wim@fluendo.com>
9180 * docs/design/part-TODO.txt:
9181 Mention QoS as an ongoing work item.
9183 * docs/design/part-buffering.txt:
9184 New doc about buffering that needs to be fleshed out
9187 * docs/design/part-qos.txt:
9188 More QoS policy for decoders/demuxers/transforms
9190 * docs/design/part-trickmodes.txt:
9193 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9198 === release 0.10.5 ===
9200 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9203 releasing 0.10.5, "Fogo"
9205 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9207 patch by: Wim Taymans
9209 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9210 (gst_pad_configure_src), (gst_pad_push):
9211 * gst/gstpipeline.c: (gst_pipeline_init):
9212 Fix internal data flow errors. Fixes #338711.
9214 2006-04-12 Wim Taymans <wim@fluendo.com>
9216 * tests/check/gst/gstelement.c: (GST_START_TEST):
9217 Don't leak the factory.
9219 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * win32/common/config.h:
9225 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9227 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9228 (gst_controller_unset_all):
9229 Free allocated GstTimedValues when freeing list nodes.
9230 Should fix leaks 'make check-valgrind' complains about.
9232 * win32/common/libgstcontroller.def:
9233 Add gst_controller_unset_all.
9235 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9237 * docs/libs/gstreamer-libs-sections.txt:
9238 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9239 (gst_controller_unset_all):
9240 * libs/gst/controller/gstcontroller.h:
9241 API: Added new method gst_controller_unset_all()
9242 fixed gst_controller_unset()
9243 * tests/check/libs/controller.c: (GST_START_TEST),
9244 (gst_controller_suite):
9245 Added two testcases for new and fixed method
9247 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9249 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9250 MSG_DONTWAIT is not defined on Cygwin, so work
9251 around that (fixes #317048).
9253 2006-04-11 Wim Taymans <wim@fluendo.com>
9255 * gst/gstelementfactory.c: (gst_element_register),
9256 (gst_element_factory_create), (gst_element_factory_make):
9259 Updated docs (Fixes #131079)
9261 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9264 * tests/check/gst/gstelement.c: (GST_START_TEST),
9265 (gst_element_suite):
9266 Added testcase for elementfactory class field.
9268 2006-04-10 Wim Taymans <wim@fluendo.com>
9271 Added some more docs.
9273 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9274 (gst_base_sink_reset_qos):
9275 Calculate more accurate rate values.
9277 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9279 * gst/gst_private.h:
9280 add a new #ifdef to use __declspec(dllimport) only for
9281 other modules and not for gstreamer core
9282 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9283 use gst_guint64_to_gdouble for conversion
9284 * win32/common/libgstreamer.def:
9285 add new exported functions
9286 * win32/vs6/gst_inspect.dsp:
9287 * win32/vs6/gst_launch.dsp:
9288 * win32/vs6/libgstbase.dsp:
9289 * win32/vs6/libgstcontroller.dsp:
9290 * win32/vs6/libgstcoreelements.dsp:
9291 * win32/vs6/libgstdataprotocol.dsp:
9292 * win32/vs6/libgstnet.dsp:
9293 update project files
9295 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9297 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9298 * gst/gstclock.c: (gst_clock_class_init):
9299 * gst/gstelement.c: (gst_element_class_init):
9300 * gst/gstindex.c: (gst_index_class_init):
9301 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9302 * gst/gstobject.c: (gst_object_class_init),
9303 (gst_signal_object_class_init):
9304 * gst/gstpad.c: (gst_pad_class_init):
9305 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9306 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9307 * gst/gstregistry.c: (gst_registry_class_init):
9308 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9309 * gst/gsttask.c: (gst_task_class_init):
9310 * gst/gstxml.c: (gst_xml_class_init):
9311 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9312 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9313 (gst_base_src_loop):
9314 * libs/gst/controller/gstcontroller.c:/
9315 (_gst_controller_class_init):
9316 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9317 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9318 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9319 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9320 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9321 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9323 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9325 * gst/gstpad.c: (gst_pad_link):
9326 Must set peer pads before calling the link function, otherwise
9327 a task started from a link function might get a flow-not-linked
9328 result when trying to push because the other thread where the
9329 linking happens hasn't had a chance to set the peers yet. This
9330 might happen for example when a queue gets linked to a downstream
9331 element, as queue starts a streaming task when its source pad
9332 gets linked. Happens in real life when playing back flac/musepack
9333 files in playbin (#332390).
9335 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9339 * libs/gst/base/gstadapter.h:
9340 * libs/gst/base/gstbasesink.h:
9341 * libs/gst/base/gstbasesrc.h:
9342 * libs/gst/base/gstbasetransform.h:
9343 * libs/gst/base/gstcollectpads.h:
9344 * libs/gst/base/gstpushsrc.h:
9345 Fix broken GObject macros
9347 2006-04-07 Wim Taymans <wim@fluendo.com>
9349 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9350 Initialize start and stop times, thanks valgrind.
9352 2006-04-07 Wim Taymans <wim@fluendo.com>
9354 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9355 Be a bit nicer to badly behaving upstream elements that expect
9356 us to deal with non TIME segments and timestamps (such as fakesrc
9359 2006-04-07 Wim Taymans <wim@fluendo.com>
9362 Small documentation clarification about the signal watch.
9364 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9365 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9366 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9367 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9368 (gst_base_sink_get_position_last),
9369 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9370 Convert and store timestamps in stream time and running time, the
9371 raw timestamps are not useful, also document this better.
9372 Use different window sizes for good and bad QoS observations so
9373 we react to badness a little quicker.
9374 Keep track of the amount of rendered and dropped buffers.
9375 Send QoS timestamps in running time.
9377 * libs/gst/base/gstbasetransform.c:
9378 (gst_base_transform_sink_eventfunc),
9379 (gst_base_transform_handle_buffer):
9380 Compare QoS timestamps against running time.
9382 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9387 2006-04-06 Michael Smith <msmith@fluendo.com>
9389 * gst/gstpad.c: (gst_pad_set_property):
9390 Use g_value_get_object() instead of g_value_dup_gst_object(),
9391 to avoid double-reffing the pad template (which we then sink,
9392 so this worked previously if (and only if) the pad template
9395 * gst/gstpadtemplate.c: (gst_pad_template_init),
9396 (gst_pad_template_pad_created):
9397 Never return floating references to pad templates, create
9398 them as initially-sunken.
9400 Document an extra function (and make this stop sinking our
9401 pad template, since that is now guaranteed to do nothing,
9402 since we created it sunken).
9404 * gst/gstghostpad.c:
9407 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9409 * gst/gstinfo.c: (__gst_in_valgrind):
9412 * plugins/elements/gsttypefindelement.c:
9413 (gst_type_find_element_chain):
9414 Don't leak buffer caps.
9416 2006-04-06 Michael Smith <msmith@fluendo.com>
9418 * gst/parse/grammar.y:
9419 Fix a leak in parse-launch for any source-or-sink named element
9422 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9423 Unref the pipeline if it exists after we've failed parsing.
9425 2006-04-05 Michael Smith <msmith@fluendo.com>
9427 * gst/gstpipeline.c: (gst_pipeline_init):
9428 When we create a pipeline bus, initially create it in flushing mode.
9429 Fixes leaks in at least one test, and makes a new pipeline work the
9430 same as one that has gone to READY and then back to NULL.
9435 2006-04-05 Michael Smith <msmith@fluendo.com>
9437 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9438 Unref a pad we reffed.
9439 * tests/check/gst/gstutils.c: (GST_START_TEST):
9442 2006-04-05 Michael Smith <msmith@fluendo.com>
9444 * gst/gstquery.c: (gst_query_set_formats),
9445 (gst_query_set_formatsv):
9446 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9448 2006-04-05 Michael Smith <msmith@fluendo.com>
9450 * tests/check/generic/sinks.c: (GST_START_TEST):
9451 Fix a variety of memleaks in sinks check, which are only sometimes
9452 shown by running the tests under valgrind (weird?).
9454 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9456 * docs/version.entities.in:
9457 Fix the substituted entity name after thomas' changes on the
9460 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9462 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9465 2006-04-05 Andy Wingo <wingo@pobox.com>
9467 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9469 * libs/gst/base/gstbasetransform.c
9470 (gst_base_transform_sink_eventfunc): When resetting our segment on
9471 FLUSH_STOP, also update the flag saying we haven't seen a
9474 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9476 Patch by: Paolo Borelli <pborelli at katamail dot com>
9478 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9479 (gst_plugin_check_license):
9480 minor clean-ups: G_DEFINE_TYPE already takes care of the
9481 parent_class stuff, no need to do it twice. Mark array of
9482 license strings as constant. (#337103)
9484 2006-04-04 Michael Smith <msmith@fluendo.com>
9486 * tools/gst-inspect.c: (print_element_list):
9487 Free the right plugin list; fixes a memory leak.
9489 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9491 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9493 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9494 Don't error out on empty buffers (#336945).
9496 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9498 * docs/libs/gstreamer-libs-sections.txt:
9500 * libs/gst/base/gstbasesink.c:
9501 * libs/gst/base/gstbasesink.h:
9502 * libs/gst/base/gstbasesrc.c:
9503 * libs/gst/base/gstbasesrc.h:
9504 Documentation updates. Make BaseSink and BaseSrc docs contain the
9505 class structure so that people can actually see the prototypes for
9506 virtual functions they're supposed to be overriding.
9508 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9510 * plugins/elements/gsttypefindelement.c:
9511 (gst_type_find_element_chain):
9512 More debug info; when skipping typefinding, send cached
9513 events in all cases.
9515 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9518 use new AS_VERSION and AS_NANO macros
9519 * gst/gst-i18n-lib.h:
9522 * gst/gstversion.h.in:
9523 * win32/common/config.h:
9524 * win32/common/config.h.in:
9527 2006-03-31 Michael Smith <msmith@fluendo.com>
9529 * plugins/elements/gsttypefindelement.c:
9530 (gst_type_find_element_chain):
9531 Do not typefind content if the buffers already have caps.
9532 Neccesary for icydemux (#333657), and the right thing to do anyway.
9534 2006-03-30 Wim Taymans <wim@fluendo.com>
9536 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9537 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9538 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9539 (gst_base_sink_record_qos_observation),
9540 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9541 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9542 (gst_base_sink_change_state):
9543 More QoS measurements as described in the design doc.
9544 Get rid of ringbuffer with observations, running average is
9545 more simple and equally good.
9546 Calculates valid proportion now.
9547 Added beginning of flood measurement.
9549 2006-03-29 Wim Taymans <wim@fluendo.com>
9551 * docs/design/part-qos.txt:
9553 Small documentation updates and additions.
9555 2006-03-29 Wim Taymans <wim@fluendo.com>
9557 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9558 (gst_base_src_send_event), (gst_base_src_loop),
9559 (gst_base_src_change_state):
9560 Perform the EOS logic when we reach the segment stop position.
9561 Fix compilation on gcc4.1
9563 2006-03-29 Wim Taymans <wim@fluendo.com>
9565 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9567 * plugins/elements/gstqueue.c: (gst_queue_init),
9568 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9569 (gst_queue_set_property):
9570 * plugins/elements/gstqueue.h:
9571 In queue, when EOS is received, if minimum threshold > max_size -
9572 current_level, there is chance that queue blocks forever in conditional
9573 item del wait. This is because the queue is not emptied completely due
9574 to minimum threshold. Here is another approach. Instead of setting
9575 cur_levels to max in EOS, just zero all minimum threshold levels. This
9576 should make sure that queue gives out all data. When going to READY
9577 (stop) state, just reset the original minimum threshold levels.
9580 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9582 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9583 (gst_type_find_element_handle_event),
9584 (gst_type_find_element_send_cached_events),
9585 (gst_type_find_element_change_state):
9586 * plugins/elements/gsttypefindelement.h:
9587 When typefinding is done in push mode, we should cache
9588 events we receive during typefinding instead of just
9589 dropping them (e.g. newsegment, custom events from
9590 dvdreadsrc etc.) and then send them out once we've
9591 determined the type of the stream (and decodebin
9592 has had a chance to plug in a decoder/demuxer).
9594 2006-03-27 Wim Taymans <wim@fluendo.com>
9596 * docs/design/part-qos.txt:
9599 2006-03-27 Wim Taymans <wim@fluendo.com>
9601 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9603 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9604 (gst_base_src_send_event), (gst_base_src_change_state):
9605 Handle element seek correctly when we are streaming.
9608 2006-03-24 Michael Smith <msmith@fluendo.com>
9610 * docs/faq/gst-uninstalled:
9611 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9612 allow you to correctly run intalled applications built against old
9613 core, using plugins that require updated core (e.g. running
9614 installed totem against a full uninstalled gstreamer stack)
9616 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9621 2006-03-24 Wim Taymans <wim@fluendo.com>
9623 * docs/gst/gstreamer-sections.txt:
9624 Rearrange the order of the methods so that related methods
9625 are grouped together in sections.
9627 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9630 Little clarification in the docs
9632 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9636 * plugins/elements/gstidentity.c:
9637 * plugins/elements/gstqueue.c:
9638 * plugins/elements/gsttee.c:
9639 * plugins/elements/gsttypefindelement.c:
9640 GST_ELEMENT_DETAILS formatting
9642 2006-03-24 Wim Taymans <wim@fluendo.com>
9644 * libs/gst/base/gstbasesink.h:
9645 Only add fields, not insert or we break ABI.
9647 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9649 * win32/common/libgstbase.def:
9650 * win32/common/libgstreamer.def:
9651 Update, add recently added functions.
9653 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9655 * docs/gst/gstreamer-sections.txt:
9656 * gst/gstutils.c: (gst_pad_query_peer_position),
9657 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9659 API: add some new utility functions:
9660 - gst_pad_query_peer_position()
9661 - gst_pad_query_peer_duration()
9662 - gst_pad_query_peer_convert()
9664 2006-03-23 Wim Taymans <wim@fluendo.com>
9666 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9667 (gst_base_sink_init), (gst_base_sink_finalize),
9668 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9669 (gst_base_sink_set_property), (gst_base_sink_get_property),
9670 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9671 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9672 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9673 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9674 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9675 (gst_base_sink_preroll_object), (gst_base_sink_event),
9676 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9677 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9678 (gst_base_sink_query), (gst_base_sink_change_state):
9679 Decouple max-lateness and the fact that QoS messages are generated
9680 with a new property (qos).
9681 added API: GstBaseSink::async_play()
9682 Add vmethod so subclasses can be notified of ASYNC playing
9684 Collect timestamp start and stop to report better current
9685 position in EOS/PLAYING/PAUSED/READY/NULL.
9686 Refactor QoS/frame dropping and other measurements.
9687 API: GstBaseSrc::qos
9690 * libs/gst/base/gstbasesink.h:
9691 Added Private struct.
9692 API: gst_base_sink_set_qos_enabled()
9693 API: gst_base_sink_is_qos_enabled()
9695 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9697 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9698 If compiling against GLib-2.8 or newer, try to read the
9699 registry file using GMappedFile first before falling back
9700 to fopen() + fread() (#332151).
9702 2006-03-22 Wim Taymans <wim@fluendo.com>
9704 * gst/gstinfo.c: (gst_debug_set_active),
9705 (gst_debug_category_set_threshold):
9706 Disable debugging unless explicitly activated.
9709 2006-03-22 Wim Taymans <wim@fluendo.com>
9711 * gst/gstelement.c: (gst_element_set_locked_state),
9712 (gst_element_dispose):
9713 Cleanup the error case.
9715 * gst/gstobject.c: (gst_object_dispose):
9716 print a critical when some object was disposed with
9717 a parent, also revive the object since it might
9720 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9722 * tools/gst-launch.1.in:
9725 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9728 * tests/check/Makefile.am:
9729 disable some tests when we don't have a registry
9730 * tests/check/gst/gstutils.c: (gst_utils_suite):
9731 don't build the part that needs parsing
9733 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9736 * tests/examples/Makefile.am:
9737 fix --disable-parse build
9739 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9741 * tools/gst-feedback.1.in:
9742 Fix typo: s/feeback/feedback/ (#133494).
9744 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9746 * tools/Makefile.am:
9747 * tools/gst-launch.1.in:
9748 Add FILES section and correct entry about GST_REGISTRY_PATH
9749 environment variable (#133495; #133494).
9751 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9753 * tools/Makefile.am:
9754 * tools/gst-md5sum.1.in:
9755 * tools/gst-md5sum.c:
9756 Remove gst-md5sum and man page (the md5sink element
9757 required was removed ages ago)
9759 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9761 * gst/gststructure.c: (gst_structure_id_set_value):
9762 Make sure that string fields in structures/taglists
9763 contain valid UTF-8 - we don't want to pass rubbish to
9764 applications because of a buggy plugin (cp. #334167).
9766 2006-03-21 Edward Hervey <edward@fluendo.com>
9768 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9769 (gst_bin_handle_message_func):
9770 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9771 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9772 (gst_element_set_bus_func):
9773 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9774 * gst/gstminiobject.c: (gst_value_set_mini_object),
9775 (gst_value_take_mini_object):
9776 * gst/gstpad.c: (gst_pad_set_pad_template):
9777 * gst/gstpipeline.c: (gst_pipeline_dispose),
9778 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9779 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9780 (gst_collect_pads_chain):
9781 * libs/gst/net/gstnettimeprovider.c:
9782 (gst_net_time_provider_set_property):
9783 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9784 It's in fact all issues with gst_*object_replace().
9786 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9788 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9790 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9791 * pkgconfig/gstreamer-check.pc.in:
9792 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9794 2006-03-21 Edward Hervey <edward@fluendo.com>
9799 gst_[buffer|event|message]_ref() macros are replaced by a static
9800 inline functions because gcc-4.1 will about if the return value
9802 * tests/check/gst/gstevent.c: (event_probe):
9803 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9805 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9808 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9809 the type' case. (Closes: #335195 for now). In the future, when we
9810 depend on GLib 2.10, we could also intern the type name using
9811 g_intern_static_string()
9813 2006-03-20 Wim Taymans <wim@fluendo.com>
9815 * gst/gstbin.c: (gst_bin_handle_message_func),
9816 (bin_query_max_init), (bin_query_position_fold),
9817 (bin_query_position_done), (gst_bin_query):
9818 Position query should also take max of all streams.
9820 2006-03-20 Wim Taymans <wim@fluendo.com>
9822 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9823 (gst_fake_src_finalize):
9824 Fix leaks in fakesrc.
9826 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9827 Fix leaks in the testcase.
9829 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9831 * gst/gst_private.h:
9832 add win32 specific import decoration(__declspec(dllimport))
9833 for all extern GstDebugCategory * variables
9834 * win32/common/libgstbase.def:
9835 * win32/common/libgstcontroller.def:
9836 * win32/common/libgstreamer.def:
9837 Add some exports, remove empty lines
9838 * win32/common/libgstdataprotocol.def:
9839 * win32/common/libgstdataprotocol.dsp:
9840 * win32/common/libgstnet.def:
9841 * win32/common/libgstnet.dsp:
9842 new project files and exportation files added
9844 2006-03-19 Wim Taymans <wim@fluendo.com>
9846 * tests/check/libs/basesrc.c: (eos_event_counter):
9847 Use proper return value for probe.
9849 2006-03-17 Wim Taymans <wim@fluendo.com>
9851 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9853 Don't leak buffers, caps and pads on negotiation errors.
9855 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9858 * docs/faq/dependencies.xml:
9859 * docs/faq/developing.xml:
9861 * docs/faq/general.xml:
9862 * docs/faq/getting.xml:
9863 * docs/faq/legal.xml:
9864 * docs/faq/troubleshooting.xml:
9865 * docs/faq/using.xml:
9866 Faq review and update.
9868 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9870 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9872 Don't pound the cpu to pieces by checking get_caps when accept_caps
9873 is called with the same caps as the pad already has.
9874 Use GST_DEBUG_OBJECT when outputting caps change information.
9876 2006-03-15 Wim Taymans <wim@fluendo.com>
9878 * gst/gstclock.c: (gst_clock_class_init):
9881 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9886 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9887 (gst_pad_accept_caps), (gst_pad_configure_sink),
9888 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9889 Make the default acceptcaps behaviour be to check the requested
9890 caps against the gst_pad_get_caps output.
9892 Ensure that gst_pad_accept_caps is used to check caps when a pad
9893 doesn't have a setcaps function, so that pads automatically refuse
9894 caps that they don't allow in their pad template. (Fixes #332986)
9896 When a buffer with attached caps is pushed, ensure that the source
9897 pad receives those caps even if the element didn't call
9898 gst_pad_set_caps first.
9900 2006-03-15 Wim Taymans <wim@fluendo.com>
9902 * libs/gst/base/gstadapter.c:
9905 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9907 * win32/common/libgstbase.def:
9908 * win32/common/libgstcontroller.def:
9909 * win32/common/libgstreamer.def:
9910 Add a whole bunch of missing functions (#334434).
9912 2006-03-14 Wim Taymans <wim@fluendo.com>
9914 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9915 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9916 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9917 Better debug info when we receive a segment event.
9918 Reorganize a bit so we can pass the get_times() results around.
9919 Use the segment format when calculating the running time.
9920 Don't do QoS is sync is disabled or we have no clock or the
9921 element does not want us to sync to the clock.
9922 Don't drop buffers if QoS is disabled for now.
9924 2006-03-14 Wim Taymans <wim@fluendo.com>
9926 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9927 Marked the stats property as unimplemented so people don't get
9929 Add debug message when regression goes wrong.
9930 Added some more docs.
9932 2006-03-14 Wim Taymans <wim@fluendo.com>
9934 * gst/gstsegment.c: (gst_segment_to_stream_time):
9935 Return correct return type in case of errors.
9937 2006-03-14 Wim Taymans <wim@fluendo.com>
9939 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9940 Don't segfault on invalid formats.
9942 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9944 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9945 Can't use gst_segment_to_running_time() when the segment
9946 is not in GST_TIME_FORMAT (like with filesink, for example).
9947 Stops flac encoding pipelines from spewing critical warnings
9950 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9952 * gst/gstpipeline.c: (gst_pipeline_class_init):
9953 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9955 * plugins/elements/gsttypefindelement.c:
9956 (gst_type_find_element_handle_event):
9957 Don't try to typefind empty streams.
9959 2006-03-14 Wim Taymans <wim@fluendo.com>
9961 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9962 (gst_base_sink_do_qos):
9963 Separate QoS calculation.
9964 Only drop buffers when lateness is bigger than the
9965 duration of the buffer.
9967 2006-03-13 Wim Taymans <wim@fluendo.com>
9969 * gst/gstpipeline.c: (gst_pipeline_set_property),
9970 (gst_pipeline_get_property), (do_pipeline_seek),
9971 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9972 (gst_pipeline_get_delay):
9973 Don't deadlock when reading properties.
9975 2006-03-13 Wim Taymans <wim@fluendo.com>
9977 * libs/gst/base/gstbasetransform.c:
9978 (gst_base_transform_class_init), (gst_base_transform_init),
9979 (gst_base_transform_sink_event),
9980 (gst_base_transform_sink_eventfunc),
9981 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9982 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9983 (gst_base_transform_set_property),
9984 (gst_base_transform_get_property),
9985 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9986 (gst_base_transform_set_qos_enabled),
9987 (gst_base_transform_is_qos_enabled):
9988 * libs/gst/base/gstbasetransform.h:
9989 Make basetransform virtual method for src events too.
9990 Handle QOS in basetransform.
9991 API: gst_base_transform_update_qos()
9992 API: gst_base_transform_set_qos_enabled()
9993 API: gst_base_transform_is_qos_enabled()
9995 2006-03-13 Wim Taymans <wim@fluendo.com>
9997 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9998 (gst_base_sink_do_sync):
10000 Use QOS debug category.
10002 2006-03-13 Wim Taymans <wim@fluendo.com>
10004 * plugins/elements/gstqueue.c:
10005 Very small doc update.
10007 2006-03-13 Wim Taymans <wim@fluendo.com>
10009 * gst/gst_private.h:
10010 * gst/gstinfo.c: (_gst_debug_init):
10011 Added QOS debug category
10013 2006-03-13 Wim Taymans <wim@fluendo.com>
10015 * docs/gst/gstreamer-sections.txt:
10016 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10018 * gst/gstbus.c: (gst_bus_class_init):
10021 * gst/gstelement.c: (gst_element_set_locked_state):
10022 * gst/gstsegment.c:
10023 Documentation updates.
10025 * gst/gstpipeline.c: (gst_pipeline_get_type),
10026 (gst_pipeline_class_init), (gst_pipeline_init),
10027 (gst_pipeline_dispose), (gst_pipeline_set_property),
10028 (gst_pipeline_get_property), (do_pipeline_seek),
10029 (gst_pipeline_send_event), (gst_pipeline_change_state),
10030 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10031 (gst_pipeline_get_delay):
10032 * gst/gstpipeline.h:
10033 Added methods for setting the delay.
10034 API: gst_pipeline_set_delay()
10035 API: gst_pipeline_get_delay()
10036 Add pipeline debug category
10039 Don't reset stream time when seek failed.
10041 2006-03-13 Wim Taymans <wim@fluendo.com>
10043 * docs/design/draft-klass.txt:
10044 * docs/design/part-clocks.txt:
10045 * docs/design/part-events.txt:
10046 * docs/design/part-gstbin.txt:
10047 * docs/design/part-gstpipeline.txt:
10048 * docs/design/part-messages.txt:
10049 * docs/design/part-negotiation.txt:
10050 * docs/design/part-overview.txt:
10051 * docs/design/part-preroll.txt:
10052 * docs/design/part-seeking.txt:
10053 * docs/design/part-states.txt:
10054 * docs/design/part-streams.txt:
10055 Documentation updates.
10057 2006-03-12 Julien MOUTTE <julien@moutte.net>
10059 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10060 us to leak strings...
10062 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10064 * libs/gst/net/gstnettimeprovider.c:
10066 * win32/common/config.h:
10069 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10071 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10074 Don't check for libgnomeui (leftover from old examples
10075 that aren't built or disted any longer) (#334303).
10077 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10079 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10080 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10081 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10082 there's no space left on the device.
10084 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10087 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10088 to cast the input to GstClockTime before comparing with
10089 another GstClockTime value.
10091 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10096 === release 0.10.4 ===
10098 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10101 releasing 0.10.4, "Light"
10103 2006-03-10 Michael Smith <msmith@fluendo.com>
10105 * libs/gst/dataprotocol/dataprotocol.c:
10106 Fix docs for dataprocotol to not get the return types completely
10107 wrong for a few functions.
10109 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10111 * docs/gst/gstreamer-sections.txt:
10112 * gst/gstpipeline.c: (gst_pipeline_class_init),
10113 (gst_pipeline_init), (gst_pipeline_set_property),
10114 (gst_pipeline_get_property), (gst_pipeline_change_state),
10115 (gst_pipeline_set_auto_flush_bus),
10116 (gst_pipeline_get_auto_flush_bus):
10117 * gst/gstpipeline.h:
10118 Add new API: gst_pipeline_set_auto_flush_bus() and
10119 gst_pipeline_get_auto_flush_bus() to disable automatic
10120 flushing of the pipeline's GstBus when going from READY
10121 to NULL state (#332045).
10123 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10125 * docs/gst/gstreamer-sections.txt:
10126 * gst/gsturi.c: (gst_uri_has_protocol):
10128 Add new API: gst_uri_has_protocol() (#333779).
10130 2006-03-09 Wim Taymans <wim@fluendo.com>
10132 * gst/gstclock.c: (gst_clock_entry_new),
10133 (gst_clock_id_compare_func), (gst_clock_id_wait),
10134 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10135 (gst_clock_init), (gst_clock_get_internal_time),
10136 (gst_clock_set_master), (do_linear_regression),
10137 (gst_clock_add_observation), (gst_clock_set_property):
10141 Fix a possible segfault when the window-size is made smaller.
10142 Calculate jitter before performing the clock wait. Ideally
10143 the clock implementation should calculate jitter but we need
10144 API breakage for that.
10146 * gst/gstsystemclock.c: (gst_system_clock_init):
10149 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10150 Remove leftover else
10152 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10153 (gst_systemclock_suite):
10154 Added check to test GST_CLOCK_DIFF.
10156 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10158 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10159 (gst_type_find_helper_get_range):
10160 If we are provided with the size, we should implement
10161 GstTypeFind::get_length, so that typefind functions who
10162 want to can actually peek at the middle of a file.
10164 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10166 * docs/manual/advanced-dataaccess.xml:
10167 Add some very very basic error checking.
10169 * docs/pwg/appendix-checklist.xml:
10170 Some updates to the list of things to check when writing an element.
10172 2006-03-08 Wim Taymans <wim@fluendo.com>
10174 * docs/design/part-element-transform.txt:
10175 Added some docs about the design of tranform elements.
10177 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10178 (gst_base_src_loop), (gst_base_src_change_state):
10179 Mark buffers with the DISCONT flag.
10181 2006-03-08 Michael Smith <msmith@fluendo.com>
10183 * gst/gstregistry.h:
10184 * gst/gstregistryxml.c: (gst_registry_save),
10185 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10186 (gst_registry_xml_save_pad_template),
10187 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10188 (gst_registry_xml_write_cache):
10189 Rewrite registry-saving to avoid race conditions and check for
10192 2006-03-08 Wim Taymans <wim@fluendo.com>
10194 * libs/gst/base/gstbasetransform.c:
10195 (gst_base_transform_transform_caps),
10196 (gst_base_transform_transform_size),
10197 (gst_base_transform_prepare_output_buffer),
10198 (gst_base_transform_get_unit_size),
10199 (gst_base_transform_buffer_alloc),
10200 (gst_base_transform_handle_buffer),
10201 (gst_base_transform_change_state):
10202 Cleanups, separate normal flow from errors, add sensible
10204 Don't try to renegotiate when allocating an output buffer.
10205 Also copy DISCONT buffer flag when copying a buffer.
10206 Reset the transform after we finish streaming, not during.
10208 2006-03-08 Wim Taymans <wim@fluendo.com>
10210 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10211 Use last buffer timestamp in qos message.
10213 2006-03-07 Wim Taymans <wim@fluendo.com>
10215 Patch by: Christophe Fergeau
10217 * docs/pwg/advanced-tagging.xml:
10218 * docs/pwg/building-pads.xml:
10221 2006-03-07 Wim Taymans <wim@fluendo.com>
10223 * docs/libs/gstreamer-libs-sections.txt:
10224 Added basesink new methods.
10228 Docs updates. Flesh out the QoS docs.
10230 * libs/gst/base/gstadapter.c:
10231 Small doc clarification about ownership and flushing.
10233 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10234 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10235 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10236 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10237 * libs/gst/base/gstbasesink.h:
10239 Added new methods to allow subclass to control max-lateness
10241 Generate very basic QoS events based on last sync observation.
10242 Updated docs, fix typo, added some QoS blurb.
10244 * libs/gst/base/gstbasesrc.c:
10245 Remove obsolete _get_state() calls from docs.
10247 2006-03-07 Wim Taymans <wim@fluendo.com>
10249 * docs/libs/gstreamer-libs-sections.txt:
10250 * libs/gst/base/gstbasetransform.h:
10251 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10252 Fix docs for GstBaseSrc.
10254 2006-03-07 Wim Taymans <wim@fluendo.com>
10256 * docs/gst/gstreamer-sections.txt:
10259 * libs/gst/base/gstbasetransform.h:
10260 Small documentation fixes.
10262 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10265 Document thread-unsafety of gst_value_register_foo_func()
10266 when used at the same time as gst_value_foo() (#322628).
10268 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10270 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10271 (gst_push_src_check_get_range):
10272 Push sources don't support pull mode by default.
10274 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10276 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10277 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10278 (gst_base_src_default_check_get_range):
10279 * libs/gst/base/gstbasesrc.h:
10280 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10281 provide default implementation, and rename
10282 gst_base_src_check_get_range() to
10283 gst_base_src_pad_check_get_range() for clarity.
10285 2006-03-06 Wim Taymans <wim@fluendo.com>
10287 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10288 Make property overridable.
10290 2006-03-06 Wim Taymans <wim@fluendo.com>
10292 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10293 (gst_base_sink_init), (gst_base_sink_set_property),
10294 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10295 * libs/gst/base/gstbasesink.h:
10296 API addition: Make max-lateness a property.
10298 2006-03-06 Wim Taymans <wim@fluendo.com>
10300 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10301 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10302 Don't ever draw a frame that is >10ms late.
10304 2006-03-06 Michael Smith <msmith@fluendo.com>
10306 * gst/gstmessage.c: (_gst_message_copy):
10307 When copying a message, set the parent_refcount of the enclosed
10308 structure to point at the copy, not the original message.
10310 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10312 Patch by: Christophe Fergeau
10315 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10316 usable in c++ code (#333417)
10318 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10321 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10323 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10325 * libs/gst/base/gstbasetransform.c:
10326 (gst_base_transform_transform_caps):
10327 Make sure caps are writable before passing them to
10330 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10333 Fix some minor docs errors.
10335 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10337 Patch by: Ross Burton <ross at burtonini dot com>
10339 * gst/gsterror.c: (_gst_resource_errors_init):
10341 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10343 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10346 Add a check and output a g_warning when GStreamer is built
10347 against GLib 2.6 but running against 2.8 or higher, and vice
10348 versa. (Closes: #323542)
10350 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10352 * gst/parse/parse.l:
10353 Commit patch for parse_launch syntax from #331255. Removes
10354 support for quoted strings and mimetypes when writing filtered
10355 caps. See the bug report for more details - I'm pretty sure this
10356 obscure feature is not in use by _anyone_ anywhere.
10358 With this simple change, the size of the gstreamer.so here
10359 drops from 2193KB to 1565KB.
10361 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10363 * plugins/elements/gsttypefindelement.h:
10364 * plugins/elements/gsttypefindelement.c:
10365 (gst_type_find_element_src_event), (start_typefinding),
10366 (stop_typefinding), (gst_type_find_element_handle_event),
10367 (gst_type_find_element_chain),
10368 (gst_type_find_element_chain_do_typefinding):
10369 Use gst_type_find_helper_for_buffer() for chain-based
10372 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10374 * plugins/elements/gsttypefindelement.c:
10375 (gst_type_find_element_class_init),
10376 (gst_type_find_element_set_property),
10377 (gst_type_find_element_get_property):
10378 Deprecate "maximum" property (not only was it only taken into
10379 account for typefinding in push-mode anyway, it also was never
10380 actually possible to set it in the first place because the
10381 property was registered with the numeric property ID for the
10382 "minimum" property). Register "maximum" property correctly,
10383 for the sake of future copy'n'pasters. Remove some cruft
10384 from property get/set functions.
10386 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10388 * plugins/elements/gsttypefindelement.c:
10389 (gst_type_find_element_activate):
10390 Use gst_type_find_helper_get_range() here, so we
10391 can honour the "minimum" property and also emit
10392 the signal with the correct probability of the found caps.
10394 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10396 * docs/libs/gstreamer-libs-sections.txt:
10397 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10398 (helper_find_suggest), (gst_type_find_helper_get_range),
10399 (gst_type_find_helper):
10400 * libs/gst/base/gsttypefindhelper.h:
10401 New API: gst_type_find_helper_get_range() (#333042).
10403 2006-03-02 Michael Smith <msmith@fluendo.com>
10405 * gst/gstregistryxml.c: (load_feature):
10406 Asserting on a failure to read part of the registry is Not Cool.
10407 Just log a warning and return NULL (which is already handled)
10409 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10411 * win32/common/libgstbase.def:
10412 added export of gst_type_find_helper_for_buffer
10413 * win32/common/libgstbase.def:
10414 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10415 gst_ghost_pad_get_target
10417 2006-02-28 Wim Taymans <wim@fluendo.com>
10419 * docs/design/draft-klass.txt:
10421 Added Connector to mark elements that are only used to
10422 allow pipeline connections.
10423 Moved Debug to extra feature since most of them are
10424 functionally something else.
10426 2006-02-28 Wim Taymans <wim@fluendo.com>
10428 * docs/design/draft-klass.txt:
10429 Some updates and clarifications.
10431 2006-02-28 Wim Taymans <wim@fluendo.com>
10433 * docs/design/draft-klass.txt:
10434 Proposal for klass field values.
10436 * docs/design/part-streams.txt:
10437 Start of a doc describing stream anatomy.
10439 2006-02-28 Wim Taymans <wim@fluendo.com>
10441 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10442 Help the compiler a bit with type registration.
10443 Use existing forward cod path instead of duplicating it when
10444 handling a message.
10446 * gst/gstbus.c: (gst_bus_get_type):
10447 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10448 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10449 * gst/gstclock.c: (gst_clock_get_type):
10450 * gst/gstelement.c: (gst_element_get_type),
10451 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10452 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10453 * gst/gstminiobject.c: (gst_mini_object_get_type):
10454 * gst/gstpad.c: (gst_pad_get_type):
10455 * gst/gstsegment.c: (gst_segment_get_type):
10456 * gst/gststructure.c: (gst_structure_get_type):
10457 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10458 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10460 Help compiler with type registration.
10462 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10465 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10467 * plugins/elements/gsttypefindelement.c:
10468 (gst_type_find_element_handle_event):
10469 When we get an EOS event and have not found a type yet
10470 (most likely because we had not yet accumulated
10471 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10472 type given the data we have so far. Fixes typefinding
10473 for very short streams again, most notably quicktime
10474 redirections as used on Apple's trailer site (#331701).
10476 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10478 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10479 (gst_type_find_helper):
10480 Try typefinding factories with the highest rank first.
10482 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10484 * docs/libs/gstreamer-libs-docs.sgml:
10485 * docs/libs/gstreamer-libs-sections.txt:
10486 * libs/gst/base/gsttypefindhelper.c:
10487 Add section for typefind helper and add documentation
10488 for the old and the new function.
10490 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10492 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10493 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10494 (gst_type_find_helper_for_buffer):
10495 * libs/gst/base/gsttypefindhelper.h:
10496 New API: gst_type_find_helper_for_buffer() (#332723).
10498 2006-02-27 Michael Smith <msmith@fluendo.com>
10500 Patch by: Loïc Minier
10503 * docs/Makefile.am:
10504 * docs/slides/Makefile.am:
10505 prevent CVS directories getting disted.
10507 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10509 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10510 Use the REFCOUNTING category for caps refcounting.
10512 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10514 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10515 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10517 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10519 * plugins/elements/gsttypefindelement.c:
10520 (gst_type_find_element_activate):
10521 Use gst_pad_check_pull_range() before _activate_pull()
10522 to avoid unnecessary open/close (see #331690).
10524 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10527 Docs enhancement: make it crystal clear what the
10528 gst_pad_add_*_probe() callbacks should look like.
10530 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10532 * libs/gst/base/gstbasesrc.c:
10533 Document how applications can stop recording from
10534 live sources (see #330996).
10536 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10538 * tests/check/Makefile.am:
10539 * tests/check/libs/basesrc.c: (eos_event_counter),
10540 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10541 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10542 (gst_basesrc_suite), (main):
10543 ... and add some tests for the base source EOS stuff.
10545 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10547 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10548 Test case originally showed the problem fixed below,
10549 but was then amended. Add checks back at the place
10550 where they used to be.
10552 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10554 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10555 (gst_base_src_init), (gst_base_src_loop),
10556 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10557 (gst_base_src_change_state):
10558 * libs/gst/base/gstbasesrc.h:
10559 Don't unconditionally send EOS when going from PAUSED to
10560 READY state, esp. make sure we don't send two EOS events
10561 in some cases (e.g. one when reaching EOS and one when
10562 going from PAUSED to READY). Also, we don't want to send
10563 EOS events when operating in pull mode. However, we do
10564 want to send an EOS event when shutting down a live
10565 source explicitly, for example (fixes #330996).
10567 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10569 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10570 Update src->read_position after a seek when not using mmap.
10571 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10573 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10579 Make things work with --disable-parse as they do with
10580 --disable-load-save - the symbols involved disappear, but the
10581 header is still installed and GST_DISABLE_PARSE is included via
10584 2006-02-20 Julien MOUTTE <julien@moutte.net>
10586 * libs/gst/base/gstbasetransform.c:
10587 (gst_base_transform_change_state): Fix a stupid bug. I was
10588 sure I compiled that.
10590 2006-02-20 Julien MOUTTE <julien@moutte.net>
10592 * gst/gstpad.c: (gst_pad_set_blocked_async):
10593 * gst/gstutils.c: (gst_pad_add_data_probe),
10594 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10595 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10596 (gst_pad_remove_buffer_probe): Make those function act on the
10597 ghostpad target when it's a ghostpad. (Closes #331727)
10599 2006-02-20 Julien MOUTTE <julien@moutte.net>
10601 * libs/gst/base/gstbasetransform.c:
10602 (gst_base_transform_change_state): Make basetransform reusable.
10605 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10607 * docs/random/release:
10608 Move the current documentation of how to do a release to the top
10611 * gst/gstbin.c: (gst_bin_class_init),
10612 (gst_bin_handle_message_func):
10613 Allow multiple state-recalculation threads. (Closes #328873)
10615 2006-02-19 Julien MOUTTE <julien@moutte.net>
10617 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10618 * gst/gstpad.c: (gst_pad_set_event_function),
10619 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10620 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10621 2 strings. You can't use the STR_NULL macro on that.
10623 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10625 * gst/gstpad.c: (gst_pad_set_event_function),
10626 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10627 (gst_pad_set_getcaps_function)
10628 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10629 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10630 So now, we can use --gst-debug-level=5 on Windows
10631 * win32/common/libgstcontroller.def:
10632 Added export of gst_controller_init
10633 * win32/vs6/libgstcontroller.dsp:
10634 Fixed Release post build configuration
10636 2006-02-17 Wim Taymans <wim@fluendo.com>
10638 * tests/check/gst/gstquery.c: (GST_START_TEST):
10639 Added another check.
10641 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10643 * plugins/elements/gsttypefindelement.c: (find_peek):
10644 We can do peeks at non-zero offsets, as long as they
10645 fall within the buffer we have.
10647 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10649 * tests/check/Makefile.am:
10650 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10651 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10652 (parse_suite), (main):
10653 Add testsuite for parse launch syntax
10655 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10657 * plugins/elements/gsttypefindelement.c:
10658 (gst_type_find_element_chain):
10659 When typefinding is unsuccessful in the chain function, don't
10660 error out immediately. Only error out with NO_CAPS_FOUND if
10661 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10662 otherwise simply wait for more data so we can try typefinding
10663 again with more data later. Also, don't attempt to typefind
10664 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10665 this should improve typefinding from network sources where the
10666 size of the first buffer can be somewhat random.
10668 2006-02-14 Wim Taymans <wim@fluendo.com>
10670 * docs/gst/gstreamer-sections.txt:
10671 * gst/gstpadtemplate.c:
10672 * gst/gstpadtemplate.h:
10673 Fix padtemplate docs, fixes #328805.
10675 2006-02-14 Wim Taymans <wim@fluendo.com>
10677 * tools/gst-launch.c: (main):
10678 NO_PREROLL is not an ERROR so don't send confusing messages
10681 2006-02-14 Wim Taymans <wim@fluendo.com>
10683 Patch by: Torsten Schoenfeld
10685 * gst/gstregistry.c: (gst_registry_get_default),
10686 (_gst_registry_cleanup):
10687 Protect default registry with lock and ref/sink it.
10690 2006-02-14 Wim Taymans <wim@fluendo.com>
10693 * gst/gstquery.c: (gst_query_list_add_format),
10694 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10695 (gst_query_parse_formats_nth):
10696 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10699 2006-02-14 Wim Taymans <wim@fluendo.com>
10701 * docs/gst/gstreamer-sections.txt:
10702 Reworked query docs.
10704 * gst/gstquery.c: (gst_query_new_formats),
10705 (gst_query_list_add_format), (gst_query_set_formats),
10706 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10707 (gst_query_parse_formats_nth):
10709 Flesh out formats query, added some new methods.
10710 Fix part of #324398.
10712 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10713 Added query creation tests.
10715 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10717 * gst/gstpad.c: (fixate_value):
10718 Add a default fixation for fraction lists.
10720 2006-02-13 Wim Taymans <wim@fluendo.com>
10722 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10723 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10726 Detect and warn for obvious deadlocks. fixes #320340
10727 Fix error case where lock was not released.
10729 * tests/check/Makefile.am:
10730 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10731 (task_func), (gst_element_suite), (main):
10734 2006-02-13 Wim Taymans <wim@fluendo.com>
10736 * docs/gst/gstreamer-sections.txt:
10738 Add new functions to docs.
10740 2006-02-13 Wim Taymans <wim@fluendo.com>
10742 * docs/design/part-TODO.txt:
10743 Updated TODO list, basesrc supports seeking to non-bytes
10746 * docs/design/part-element-sink.txt:
10749 * gst/gstbin.c: (bin_replace_message),
10750 (gst_bin_handle_message_func):
10751 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10752 * gst/gstevent.c: (gst_event_finalize):
10753 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10754 (gst_pad_send_event):
10755 Use shiny new _TYPE_NAME macros.
10757 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10758 Move debug statement up.
10760 * gst/gstelement.c: (gst_element_set_locked_state):
10761 Add some debugging.
10763 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10765 * docs/gst/gstreamer-sections.txt:
10766 * gst/gstmessage.h:
10768 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10769 macros (#330906). Also, document the already existing
10770 GST_QUERY_TYPE macro.
10772 2006-02-13 Wim Taymans <wim@fluendo.com>
10774 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10775 (event_probe), (GST_START_TEST):
10776 Only events up to the pipeline EOS are counted, there are
10777 some more when going to NULL currently which we don't care
10780 2006-02-13 Wim Taymans <wim@fluendo.com>
10782 * gst/gstpad.c: (gst_pad_send_event):
10783 Correctly check flushing and emit probes. fixes #330125
10785 2006-02-10 Andy Wingo <wingo@pobox.com>
10787 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10789 (gst_bus_init): Cache the location of the private data in the
10790 instance structure.
10791 (gst_bus_enable_sync_message_emission)
10792 (gst_bus_disable_sync_message_emission): Implement new public
10794 (gst_bus_post): Emit the sync-message signal if the user asked for
10797 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10798 location of the bus-private structure.
10799 (gst_bus_enable_sync_message_emission)
10800 (gst_bus_disable_sync_message_emission): API addition
10802 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10804 Patch by: Vincent Torri
10806 * docs/pwg/building-boiler.xml:
10807 PWG patch from #326800
10809 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10812 * docs/Makefile.am:
10813 * docs/design/Makefile.am:
10816 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10821 === release 0.10.3 ===
10823 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10826 releasing 0.10.3, "Like a virgin"
10828 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10831 2nd prerelease of 0.10.3
10832 Bump libtool versioning.
10834 2006-02-07 Andy Wingo <wingo@pobox.com>
10836 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10837 update last_stop if we're in TIME format and the timestamp is
10840 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10841 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10842 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10843 If we get a new newsegment with a different format, adapt
10846 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10847 of 0. Not a problem, really.
10849 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10852 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10857 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10860 project files updated to the default vs7 configuration
10861 * win32/common/libgstbase.def:
10862 * win32/common/libgstreamer.def:
10864 removed empty lines,
10865 sorted all exported symbols alphabetically
10866 * win32/common/dirent.c:
10867 * win32/common/dirent.h:
10868 * win32/common/gchar.h:
10869 use windows line end.
10871 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10873 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10874 Send EOS event when stopping.
10876 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10879 Tell folks what to do if the plugin-foobar.xml file
10880 hasn't been generated for a newly-added plugin.
10882 2006-02-05 Julien MOUTTE <julien@moutte.net>
10884 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10885 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10886 (gst_collect_pads_start), (gst_collect_pads_stop),
10887 (gst_collect_pads_event): Collectpads now holds a reference
10888 to the GstPad that was added. Indeed we don't want to look
10889 at pads that might just go away with no warning...
10891 2006-02-05 Julien MOUTTE <julien@moutte.net>
10893 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10894 (gst_collect_pads_start), (gst_collect_pads_stop),
10895 (gst_collect_pads_event), (gst_collect_pads_chain):
10896 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10897 Mark Nauwelaerts's patch on bug #328491.
10899 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10901 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10903 Add some simple tests for gst_parse_bin_from_description() and
10904 gst_bin_find_unconnected_pad() (#329069).
10906 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10908 * tools/gst-launch.c: (event_loop), (main):
10909 Catch errors during preroll (#320084).
10911 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10913 * plugins/elements/gsttypefindelement.c:
10914 (gst_type_find_element_activate):
10915 Post TYPE_NOT_FOUND error message when typefinding
10916 is unsuccessful in the activate function as well.
10918 2006-02-02 Wim Taymans <wim@fluendo.com>
10920 * docs/design/part-element-sink.txt:
10923 2006-02-02 Wim Taymans <wim@fluendo.com>
10925 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10926 (gst_base_sink_render_object),
10927 (gst_base_sink_queue_object_unlocked):
10928 Only keep track of prerollable items when we are
10930 Before rendering after preroll, always check if we
10932 Added some more debugging.
10934 2006-02-02 Wim Taymans <wim@fluendo.com>
10936 * gst/gstelement.c: (gst_element_continue_state),
10937 (gst_element_set_state_func), (gst_element_change_state):
10938 Fixed #326576, been running this for quite some time with
10939 no regressions at all.
10941 2006-02-02 Wim Taymans <wim@fluendo.com>
10944 Added more suppressions
10946 2006-02-02 Wim Taymans <wim@fluendo.com>
10948 * docs/design/part-element-sink.txt:
10951 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10952 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10953 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10954 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10955 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10956 (gst_base_sink_preroll_object),
10957 (gst_base_sink_queue_object_unlocked),
10958 (gst_base_sink_queue_object), (gst_base_sink_event),
10959 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10960 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10961 (gst_base_sink_get_position), (gst_base_sink_change_state):
10962 * libs/gst/base/gstbasesink.h:
10963 Totally refactored matching the design doc.
10964 Use two segments, one to clip incomming buffers and another to
10966 Handle queueing correctly, bypass the queue when playing.
10967 Make EOS cancelable.
10968 Handle errors correctly when operating in pull based mode.
10970 * tests/check/elements/fakesink.c: (GST_START_TEST),
10972 Added new check for sinks.
10974 2006-02-02 Wim Taymans <wim@fluendo.com>
10976 * gst/gstsegment.c: (gst_segment_clip):
10977 No reason to refuse to clip when start == -1
10979 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10982 * docs/manual/intro-basics.xml:
10983 * docs/manual/intro-preface.xml:
10984 * docs/manual/manual.xml:
10985 * docs/pwg/advanced-dparams.xml:
10986 * docs/pwg/intro-basics.xml:
10987 * docs/pwg/intro-preface.xml:
10988 * docs/pwg/pwg.xml:
10989 describe dparams (controller) for plugins
10990 unify docs a little more
10992 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10994 * docs/gst/gstreamer-sections.txt:
10995 * gst/gstutils.c: (element_find_unconnected_pad),
10996 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10998 Add new API: gst_parse_bin_from_description() and
10999 gst_bin_find_unconnected_pad() (#329069).
11001 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11003 * docs/manual/README:
11004 uncover a nasty detail of the docs build
11006 2006-01-31 Wim Taymans <wim@fluendo.com>
11008 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11009 Don't cache duration messages if we're not going to use or
11012 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11014 * docs/manual/advanced-dparams.xml:
11015 * docs/pwg/advanced-dparams.xml:
11019 * libs/gst/controller/lib.c: (gst_controller_init):
11022 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11024 * gst/gstelement.c: (gst_element_message_full):
11025 also show file/line/func if no additional debug was given
11027 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11029 * win32/vs7/grammar.vcproj:
11030 activate copy of autogenerated files for Release mode
11032 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11034 * win32/common/libgstreamer.def:
11035 export gst_value_compare
11037 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11039 * plugins/elements/Makefile.am:
11040 * plugins/elements/gstelements.c:
11041 * plugins/elements/gstfdsink.c: (_do_init),
11042 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11043 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11044 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11045 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11046 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11047 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11048 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11049 * plugins/elements/gstfdsink.h:
11050 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11052 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11054 * docs/manual/advanced-dparams.xml:
11055 describe controller
11056 * docs/manual/advanced-position.xml:
11057 * docs/manual/basics-init.xml:
11058 * docs/manual/manual.xml:
11059 * docs/manual/titlepage.xml:
11060 * docs/pwg/pwg.xml:
11061 * docs/pwg/titlepage.xml:
11062 cleanup xml (more to come)
11063 * libs/gst/controller/gstcontroller.c:
11066 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11068 * win32/vs6/grammar.dsp:
11069 add autogen of gstmarshal.c,h for Release mode
11071 2006-01-30 Wim Taymans <wim@fluendo.com>
11073 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11074 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11075 (gst_base_sink_handle_object), (gst_base_sink_event),
11076 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11077 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11078 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11079 (gst_base_sink_deactivate), (gst_base_sink_activate),
11080 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11081 (gst_base_sink_query), (gst_base_sink_change_state):
11082 Basesink cleanups, remove some old code.
11083 Handle the case where a subclass can preroll in the render
11084 method (mostly audiosinks).
11085 Handle more events.
11086 Remove some locks around variables that are now protected
11087 with the PREROLL_LOCK (clock_id, flushing, ..).
11088 Optimize position query some more, do correct locking.
11089 Remove old code to push queue in state change, this is not
11090 needed anymore since preroll blocks on all prerollable items
11092 Almost implemented as described in design doc.
11094 2006-01-30 Wim Taymans <wim@fluendo.com>
11096 * tests/check/gst/gstbin.c: (GST_START_TEST):
11097 Wait for refcount to settle down before checking.
11099 2006-01-30 Wim Taymans <wim@fluendo.com>
11101 * docs/design/part-element-sink.txt:
11102 Pseudo code overview of desired sink behaviour regarding
11105 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11106 * win32/vs6/grammar.dsp:
11107 fix some bugs in Release mode for autogenerated files
11109 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11110 * win32/common/libgstbase.def:
11111 * win32/common/libgstreamer.def:
11112 export some new symbols: gst_base_src_set_format,
11113 gst_iterator_next, gst_structure_set_valist
11115 2006-01-29 Julien MOUTTE <julien@moutte.net>
11117 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11118 Set pad functions unconditionally. Fixes #329105.
11120 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11122 add vs8 project files created by Sergey Scobich
11124 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11126 * gst/gstutils.c: (gst_element_unlink_pads):
11127 Don't leak pad references.
11129 * tests/check/elements/fakesink.c: (GST_START_TEST):
11130 * tests/check/generic/sinks.c: (GST_START_TEST):
11131 * tests/check/generic/states.c: (GST_START_TEST):
11132 * tests/check/gst/gstbin.c: (GST_START_TEST):
11133 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11134 * tests/check/gst/gstelement.c: (GST_START_TEST):
11135 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11136 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11137 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11138 Fix a bunch of leaks. Make generic/sinks.c
11139 use a bit less cpu by slowing the buffer rate
11140 between fakesrc and fakesink.
11142 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11144 * gst/gstelement.c: (gst_element_send_event):
11147 * gst/gstiterator.c:
11148 * gst/gstiterator.h:
11149 * gst/gstpad.c: (gst_pad_send_event):
11150 * gst/gststructure.c:
11154 * libs/gst/base/gstadapter.c:
11155 doc fixes, to link to function, just write gst_cool_function(), don't
11158 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11160 * plugins/elements/gsttee.c: (gst_tee_do_push),
11161 (gst_tee_handle_buffer):
11162 Always prefer an actual return value from a src
11163 pad in place of NOT_LINKED. This means we return
11164 WRONG_STATE when all src pads are WRONG_STATE
11165 instead of NOT_LINKED.
11167 Lock when replacing the last message to prevent
11168 racing with the get_property method.
11172 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11174 * tests/check/Makefile.am:
11175 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11177 Add a very simple check that should have caught the memleak I fixed
11178 last night (if not for the slice allocator hiding it)
11180 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11182 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11183 (gst_bin_remove_func), (gst_bin_handle_message_func),
11184 (bin_query_duration_fold), (bin_query_generic_fold):
11185 Clean up references to the clock provider when disposed or when
11186 handling a clock-lost message from it.
11188 Unref sinks when performing a query via gst_iterator_fold, as the
11189 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11191 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11192 (gst_clock_set_master):
11193 Drop our reference to the master clock, if any, when we are disposed.
11195 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11196 Chain up in dispose.
11198 2006-01-26 Wim Taymans <wim@fluendo.com>
11200 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11201 Add some debugging.
11203 2006-01-26 Julien MOUTTE <julien@moutte.net>
11205 * plugins/elements/gsttee.c: (gst_tee_do_push),
11206 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11207 handles pad being NOT_LINKED or in WRONG_STATE.
11209 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11214 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11217 remove obsolete entry
11219 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11221 * docs/gst/gstreamer-sections.txt:
11222 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11223 (gst_bin_iterate_sources), (gst_bin_send_event):
11225 * gst/gstelement.c: (gst_element_send_event):
11227 * gst/gstpad.c: (gst_pad_send_event):
11228 added code for downstream events, reviewed docs in gstevent.c
11230 2006-01-25 Julien MOUTTE <julien@moutte.net>
11232 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11233 We only query position using the clock in the playing state.
11234 Query peer in the other cases.
11235 * win32/common/config.h: Updates.
11237 2006-01-24 Wim Taymans <wim@fluendo.com>
11239 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11240 A clock entry that is scheduled for the exact time of the
11241 clock is still in time.
11243 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11244 (gst_base_sink_do_sync):
11245 Add some more debug info.
11247 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11250 Add new vs7 project files and solution.
11252 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11255 all files removed as they were out-dated.
11257 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11259 * docs/random/release:
11261 * gst/gstbin.c: (gst_bin_init):
11262 * gst/gstbus.c: (gst_bus_new):
11264 * gst/gstpipeline.c: (gst_pipeline_init):
11265 use gst_bus_new(), improve logging, fix docs
11266 * win32/common/config.h:
11267 update for cvs build
11269 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11272 up required version of automake to 1.7
11274 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11276 * win32/common/libgstreamer.def:
11277 export gst_buffer_is_metadata_writable
11279 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11281 * docs/gst/gstreamer-sections.txt:
11283 Add gst_event_replace() (#327001)
11285 2006-01-20 Wim Taymans <wim@fluendo.com>
11287 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11288 Make it actually compile too..
11290 2006-01-20 Wim Taymans <wim@fluendo.com>
11293 Clarify behaviour of _is_equal() when passing NULL parameters.
11295 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11296 (gst_pad_set_caps):
11297 Cleanups. Don't unref NULL caps.
11298 When setting the same caps, protect caps of the pad with
11300 Use full functionality of _is_equal() when comparing caps.
11302 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11304 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11305 Don't loop infinitely if there are no buffers to present. Partially
11306 fixes #327197, but collectpads is just broken for reusing elements
11307 to do multiple encodes atm.
11309 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11311 * tools/gst-inspect.c: (print_element_features):
11312 * tools/gst-xmlinspect.c: (main):
11313 URL_HANDLER is not a plugin feature we can search for in
11316 2006-01-19 Edward Hervey <edward@fluendo.com>
11318 * gst/gstelement.c: (gst_element_pads_activate):
11319 When activating, do src pads first, then sink pads.
11320 When de-activating, do sink pads first, then src pads.
11322 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11324 * docs/gst/gstreamer-sections.txt:
11325 Add gst_index_add_associationv to the docs
11327 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11332 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11333 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11334 Do some refactoring. Doesn't actually change functionality,
11335 but makes landing the DRAIN event easier later.
11337 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11339 * docs/pwg/advanced-scheduling.xml:
11340 Update from 0.9.x to 0.10 API and make example a bit
11343 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11345 * docs/gst/gstreamer-sections.txt:
11346 Add gst_buffer_(is|make)_metadata_writable methods.
11348 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11350 * docs/design/part-sparsestreams.txt:
11351 Update sparse streams doc, hopefully for greater clarity
11353 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11355 * docs/design/part-events.txt:
11356 Remove mention of FILLER events.
11359 * docs/design/part-sparsestreams.txt:
11360 Write some things about using NEWSEGMENT to keep sparse streams
11363 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11365 * gst/gstbin.c: (gst_bin_dispose):
11366 Guard gst_object_unref call against a NULL object (dispose
11367 can theoretically be called multiple times).
11369 2006-01-18 Wim Taymans <wim@fluendo.com>
11371 * gst/gstbin.c: (gst_bin_element_set_state):
11372 * gst/gstclock.c: (gst_clock_id_wait):
11373 Added some more debug info.
11375 * libs/gst/base/gstadapter.c:
11378 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11379 (gst_base_sink_do_sync), (gst_base_sink_chain):
11380 Added some comments.
11382 2006-01-18 Wim Taymans <wim@fluendo.com>
11384 * tests/check/Makefile.am:
11385 * tests/check/elements/fakesink.c: (chain_async_buffer),
11386 (chain_async), (chain_async_return), (GST_START_TEST),
11387 (fakesink_suite), (main):
11388 Added fakesink test that checks prerolling and clipping
11391 * tests/check/gst/gstutils.c: (GST_START_TEST):
11392 Make check run faster so that buildbots don't timeout.
11394 2006-01-18 Wim Taymans <wim@fluendo.com>
11396 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11397 (gst_base_sink_do_sync):
11399 When the sink finishes blocking on the preroll buffer, it can
11400 immediatly render it instead of rendering when the next buffer
11403 2006-01-18 Wim Taymans <wim@fluendo.com>
11405 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11406 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11407 (gst_base_sink_chain):
11409 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11410 Don't store _last_stop if the buffer is dropped.
11412 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11414 * plugins/elements/gsttypefindelement.c:
11415 (gst_type_find_element_class_init):
11416 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11417 object method handler that sets the caps on the pad and we want
11418 that to happen before we emit the signal (fixes e.g. feeding a
11419 plain text file to decodebin).
11421 2006-01-18 Christian Schaller <Christian@fluendo.com>
11423 * gst/gstplugin.c: Add MPL and Proprietary as license options
11425 2006-01-18 Andy Wingo <wingo@pobox.com>
11427 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11428 symbol was exported before, it appears this was just an oversight.
11430 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11432 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11433 prototype to gint. OK since this prototype was not in the header.
11435 2006-01-17 Andy Wingo <wingo@pobox.com>
11437 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11438 registry while we remove plugins.
11440 * tools/gst-inspect.c (print_element_info): Don't unref the
11441 factory arg, that should be the responsibility of whatever code
11442 received the ref. Fixes a double-free when called from
11443 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11444 (main): Unref the factory if we have one.
11445 (print_element_list): No change -- relies on the
11446 plugin_feature_list_free to free the list of features.
11448 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11450 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11451 (gst_buffer_make_metadata_writable):
11453 * libs/gst/base/gstbasetransform.c:
11454 (gst_base_transform_prepare_output_buf):
11455 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11456 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11457 Replace gst_buffer_(make|is)_metadata_writable patch now
11458 that the release is out.
11460 2006-01-17 Andy Wingo <wingo@pobox.com>
11462 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11463 in the present tense without reference to versions.
11465 * gst/gstregistry.c (gst_registry_add_plugin)
11466 (gst_registry_remove_plugin, gst_registry_remove_feature)
11467 (gst_registry_find_feature, gst_registry_get_feature_list)
11468 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11469 (gst_registry_lookup, gst_registry_scan_path)
11470 (_gst_registry_remove_cache_plugins)
11471 (gst_registry_get_feature_list_by_plugin): Add argument
11474 === release 0.10.2 ===
11476 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11479 releasing 0.10.2, "If man is five"
11481 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11485 * libs/gst/base/gstbasetransform.c:
11486 (gst_base_transform_prepare_output_buf):
11487 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11488 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11489 Back out patch until after the release.
11491 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11493 * gst/gstminiobject.c:
11494 Spelling fix in docs.
11495 * ChangeLog - remove conflict indicator
11497 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11499 Reviewed By: Andy Wingo
11501 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11502 (gst_buffer_make_metadata_writable):
11504 Add gst_buffer_(is|make)_metadata_writable as analogues of
11505 gst_buffer_(is|make)_writable.
11507 * libs/gst/base/gstbasetransform.c:
11508 (gst_base_transform_prepare_output_buf):
11509 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11510 Use name gst_buffer_(is|make)_metadata_writable functions.
11512 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11513 Test gst_buffer_(is|make)_metadata_writable
11517 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11519 * docs/manual/Makefile.am:
11520 don't do parallel make
11523 * win32/common/config.h.in:
11524 add generations for HOST_CPU and GST_MAJORMINOR
11525 * win32/common/config.h:
11526 commit generated result
11528 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11530 * docs/manual/appendix-integration.xml:
11531 Update GNOME integration section to use gst_init_get_option_group()
11532 instead of the old popt stuff (#322911). Also, GNOME applications
11533 should now use gconf*sink and gconf*src instead of the old gconf
11536 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11539 * docs/gst/gstreamer-docs.sgml:
11540 * docs/gst/gstreamer-sections.txt:
11541 * docs/libs/gstreamer-libs-sections.txt:
11542 add new API entries to the docs
11543 * libs/gst/controller/Makefile.am:
11544 * libs/gst/controller/gstcontroller.c:
11545 * libs/gst/controller/gstcontroller.h:
11546 * libs/gst/controller/gstcontrollerprivate.h:
11547 * libs/gst/controller/gsthelper.c:
11548 * libs/gst/controller/gstinterpolation.c:
11549 move private structs to private header
11551 gstreamer-0.7 -> gstreamer-0.10
11552 * tests/check/libs/struct_i386.h:
11553 remove private structs
11555 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11557 * plugins/indexers/Makefile.am:
11558 Fixes as part of #317048
11560 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11562 * plugins/indexers/Makefile.am:
11563 fix #316086 - compilation when mmap is missing
11565 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11567 * libs/gst/base/gstbasesink.c:
11568 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11569 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11570 * win32/common/config.h:
11571 added some defines GST_MAJORMINOR and HOST_CPU
11572 * win32/common/libgstbase.def:
11573 * win32/common/libgstreamer.def:
11574 added some exported functions.
11576 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11578 * libs/gst/controller/gstcontroller.c:
11579 (gst_controlled_property_set_interpolation_mode),
11580 (gst_controlled_property_new):
11581 * libs/gst/controller/gstcontroller.h:
11582 * libs/gst/controller/gstinterpolation.c:
11583 (interpolate_none_get_string_value_array):
11584 make G_TYPE_STRING controlable
11586 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11589 * tools/gst-feedback.1.in:
11590 * tools/gst-inspect.1.in:
11591 * tools/gst-launch.1.in:
11592 * tools/gst-md5sum.1.in:
11593 * tools/gst-typefind.1.in:
11594 * tools/gst-xmlinspect.1.in:
11595 * tools/gst-xmllaunch.1.in:
11596 cleanup man-pages, remove reference to gst-register, document env-vars
11598 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11600 * gst/gstbuffer.c: (gst_buffer_span):
11601 gst_buffer_span should copy the timestamp of the first buffer
11602 if they were both originally overlapping subbuffers of the
11603 same parent, using the same logic as the 'slow copy' case.
11605 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11607 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11608 Need to awaken ALL the pads when we pop a buffer, otherwise
11609 collectpads only works when there is 2 input streams.
11611 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11613 * docs/random/ensonic/media-device-daemon.txt:
11616 fix doc example, add clarification
11617 * tools/gst-launch.1.in:
11618 add initial info about GST_PLUGIN_PATH, needs more work
11620 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11622 * docs/manual/basics-bins.xml:
11623 * docs/manual/basics-elements.xml:
11624 * docs/manual/intro-basics.xml:
11625 Some more minor docs additions and updates.
11627 2006-01-11 Wim Taymans <wim@fluendo.com>
11629 * docs/manual/basics-bins.xml:
11630 * docs/manual/basics-elements.xml:
11631 Some small fixes as pointed out by Ser-ver on IRC.
11633 2006-01-10 Edward Hervey <edward@fluendo.com>
11635 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11636 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11637 the single-segment mode.
11639 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11641 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11643 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11644 (gst_base_src_perform_seek), (gst_base_src_send_event),
11645 (gst_base_src_set_property), (gst_base_src_get_property),
11646 (gst_base_src_loop), (gst_base_src_start),
11647 (gst_base_src_activate_push):
11648 * libs/gst/base/gstbasesrc.h:
11649 Name (private) union; makes Sun's Forte compiler happy (#324900).
11651 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11654 gst-register is gone.
11656 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11658 * gst/gstvalue.c: (_gst_value_initialize):
11659 make the G_TYPE_DATE instantiation work if debug is disabled
11661 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11663 * gst/gstmessage.c: (gst_message_parse_tag),
11664 (gst_message_parse_error), (gst_message_parse_warning):
11665 Don't crash when return location for error/warning debug
11666 string is NULL; add fact that return locations can be
11667 NULL to docs where appropriate.
11669 2006-01-05 Wim Taymans <wim@fluendo.com>
11671 * gst/gstplugin.c: (gst_plugin_load_file):
11672 Replace strdup by g_strdup.
11674 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11676 * docs/pwg/advanced-types.xml:
11679 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11681 submitted by: Abel Cheung
11685 Added Chinese (traditional) translation
11687 2006-01-04 Wim Taymans <wim@fluendo.com>
11689 * docs/manual/basics-pads.xml:
11690 * docs/plugins/Makefile.am:
11691 * docs/plugins/gstreamer-plugins-docs.sgml:
11692 * docs/plugins/gstreamer-plugins-sections.txt:
11693 * docs/pwg/advanced-clock.xml:
11694 * docs/pwg/advanced-scheduling.xml:
11695 * docs/pwg/advanced-types.xml:
11696 * plugins/elements/gstfdsink.c:
11697 * plugins/elements/gstfdsrc.c:
11698 * plugins/elements/gstfdsrc.h:
11699 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11700 * plugins/elements/gstidentity.h:
11701 * plugins/elements/gstqueue.h:
11702 * plugins/elements/gsttee.c:
11703 * plugins/elements/gsttee.h:
11704 * plugins/elements/gsttypefindelement.c:
11705 (gst_type_find_element_class_init):
11706 * plugins/elements/gsttypefindelement.h:
11707 Small updates to various docs.
11708 Added core plugins to docs.
11710 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11713 add a suppression for liboil's uninitialized variable
11715 2006-01-02 James Livingston <jrl at ids dot org dot au>
11717 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11720 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11721 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11722 compiler switch is being used (#325429).
11724 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11726 * gst/gstbin.c: (gst_bin_query):
11727 Disable duration query caching in bins until it gets
11728 fixed (see #324807).
11730 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11732 * tools/gst-inspect.c: (print_element_properties_info):
11733 Handle properties of POINTER and BOXED type.
11735 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11737 * gst/gst.c: (init_post):
11738 Init tags stuff and some other things before loading
11739 any static plugins (there may be other static plugins
11740 than just the GStreamer ones, and they may want to
11741 register their own tags or formats or whatever, and
11742 preferably without segfaulting).
11744 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11745 Print at least a warning in the debug logs if we drop a
11746 query just because we don't know how to adjust the value
11747 in the particular format.
11749 2005-12-24 David Schleef <ds@schleef.org>
11751 * tools/gstreamer-completion:
11752 Replacement for gst-complete written in sh and sed. Only
11753 completes names of features, but that's 90% of what I want
11754 it for. Properties are not available in registry.xml. (Maybe
11757 === release 0.10.1 ===
11759 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11762 releasing 0.10.1, "Nollaig chridheil"
11764 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11766 * docs/faq/cvs.xml:
11767 Add missing quote, should be make ERROR_CFLAGS="".
11769 2005-12-20 Wim Taymans <wim@fluendo.com>
11771 * docs/design/part-trickmodes.txt:
11772 More documentation on trickmodes.
11774 2005-12-20 Edward Hervey <edward@fluendo.com>
11776 * gst/gstcaps.c: (gst_static_caps_get_type):
11778 API addition: GST_TYPE_STATIC_CAPS
11779 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11780 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11781 * gst/gstpadtemplate.h:
11782 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11783 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11786 2005-12-18 Wim Taymans <wim@fluendo.com>
11788 * libs/gst/base/gstadapter.c:
11789 * libs/gst/base/gstadapter.h:
11790 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11791 (gst_base_sink_get_position):
11792 * libs/gst/base/gstbasesink.h:
11793 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11794 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11795 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11796 (gst_base_src_send_event), (gst_base_src_update_length),
11797 (gst_base_src_get_range), (gst_base_src_loop),
11798 (gst_base_src_start):
11799 * libs/gst/base/gstbasesrc.h:
11800 * libs/gst/base/gstbasetransform.h:
11801 * libs/gst/base/gstcollectpads.h:
11802 * libs/gst/base/gstpushsrc.c:
11803 * libs/gst/base/gstpushsrc.h:
11804 * libs/gst/dataprotocol/dataprotocol.c:
11805 * libs/gst/dataprotocol/dataprotocol.h:
11806 * libs/gst/net/gstnetclientclock.h:
11807 * libs/gst/net/gstnettimeprovider.h:
11808 Documentation updates.
11810 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11812 * docs/manual/basics-helloworld.xml:
11813 Remove superfluous closing bracket in helloworld example.
11815 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11817 * tools/gst-launch.1.in:
11818 Update gst-launch man page; add a section with useful
11819 environment variables. Fixes #323882.
11821 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11824 * gst/gst_private.h:
11825 change some char* into char[]
11827 2005-12-16 Wim Taymans <wim@fluendo.com>
11829 * gst/gstregistryxml.c: (load_feature):
11831 Don't use g_object_unref on GstObjects so that we avoid
11832 leaks on unsafe glibs.
11834 2005-12-16 Wim Taymans <wim@fluendo.com>
11836 * gst/gstbin.c: (gst_bin_recalc_state):
11839 2005-12-16 Wim Taymans <wim@fluendo.com>
11841 * common/check.mak:
11842 Added make forever target for check.
11844 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11846 * gst/gst.c: (init_post):
11847 make the registry cache file HOST_CPU-dependent
11849 2005-12-16 Andy Wingo <wingo@pobox.com>
11851 * plugins/elements/gstbufferstore.c
11852 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11855 * tests/check/gst/gstobject.c
11856 (test_fake_object_name_threaded_unique): Pay attention to
11857 g_list_sort return value.
11859 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11861 * tools/gst-feedback-m.m:
11862 Update for 0.9/0.10 (fixes #323870).
11864 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11866 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11867 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11869 * tests/check/gst/gstminiobject.c: (my_foo_init),
11870 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11871 (test_value_collection), (gst_mini_object_suite):
11872 Add test to ensure refcounts end up as expected when passing
11873 GstMiniObjects through g_object_get() and g_object_set().
11875 2005-12-14 Julien MOUTTE <julien@moutte.net>
11877 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11878 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11879 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11880 of collectpads. This version removes a lot of races without
11881 touching API/ABI. Yay !
11883 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11885 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11886 Don't allow activation of a srcpad in pull_range if it has no
11888 Change some debug statements to be a little clearer
11890 * plugins/elements/gsttypefindelement.c:
11891 (gst_type_find_handle_src_query):
11892 Check that we have a peer before executing queries thereupon.
11894 * tests/examples/metadata/read-metadata.c: (message_loop):
11895 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11896 immediately return us any available message with 0 timeout.
11898 2005-12-12 Michael Smith <msmith@fluendo.com>
11900 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11901 Don't unref factories after calling them.
11902 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11903 * plugins/elements/gsttypefindelement.c:
11904 (gst_type_find_element_chain):
11905 Free lists of factories after using them. Fixing typefinding memory
11908 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11910 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11911 (gst_plugin_feature_load):
11912 more meaningful debug output
11914 * tests/Makefile.am:
11915 * tests/old/examples/Makefile.am:
11916 make make distcheck happy again
11918 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11920 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11921 Catch the special case where we are operating chain-based,
11922 but the downstream peer pad has no chain function. Emit a
11923 custom error message in this case instead of letting the
11924 core generate one implying that this is some sort of core
11925 bug. It's not, it just means that whatever got plugged
11926 into the pipeline downstream when we announced the type
11927 can only operate pull-based, while our source can only
11928 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11929 Error string has not been marked for translation yet, as
11930 it probably needs some more work first.
11932 (gst_type_find_element_get_best_possibility):
11933 Add helper function to find the best of all available
11934 found possibilities that qualify given the min. threshold.
11936 (gst_type_find_element_handle_event):
11937 Fix the case where we get an EOS while still in TYPEFIND
11938 mode (we want to chose the best of all possible types,
11939 not just the first type that happens to be in our unsorted
11940 list of possible types).
11942 (gst_type_find_element_chain):
11943 Make sure we return GST_FLOW_ERROR when we errored out
11944 in stop_typefinding(); also, don't just find the best of
11945 all found type entries and then use the last examined
11946 type entry, but actually use the best entry.
11948 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11950 * tests/examples/typefind/typefind.c: (type_found):
11951 * tests/examples/xml/runxml.c: (xml_loaded):
11952 More gcc4 fixes and a mem leak fix.
11954 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11956 * tests/examples/xml/createxml.c: (object_saved):
11959 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11961 * tests/Makefile.am:
11962 enable the examples even more
11964 2005-12-12 Andy Wingo <wingo@pobox.com>
11966 * libs/gst/net/gstnettimeprovider.c
11967 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11968 (gst_net_time_provider_set_property)
11969 (gst_net_time_provider_get_property):
11970 API addition: Export "active" as a GObject property.
11971 (gst_net_time_provider_thread): Only respond to time queries if
11972 the time provider is active.
11974 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11975 NetTimeProvider, preserving binary compat.
11977 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11979 * tests/examples/controller/audio-example.c: (main):
11980 * tests/examples/launch/Makefile.am:
11981 convert comments again
11983 2005-12-12 Wim Taymans <wim@fluendo.com>
11985 * libs/gst/base/gstpushsrc.c:
11988 2005-12-12 Wim Taymans <wim@fluendo.com>
11990 * docs/libs/gstreamer-libs-sections.txt:
11991 Added new symbol to docs.
11993 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11994 (gst_base_src_init), (gst_base_src_set_format),
11995 (gst_base_src_default_query), (gst_base_src_query),
11996 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11997 (gst_base_src_perform_seek), (gst_base_src_send_event),
11998 (gst_base_src_default_event), (gst_base_src_event_handler),
11999 (gst_base_src_set_property), (gst_base_src_get_property),
12000 (gst_base_src_wait), (gst_base_src_do_sync),
12001 (gst_base_src_update_length), (gst_base_src_get_range),
12002 (gst_base_src_check_get_range), (gst_base_src_loop),
12003 (gst_base_src_default_negotiate), (gst_base_src_start),
12004 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12005 (gst_base_src_change_state):
12006 * libs/gst/base/gstbasesrc.h:
12007 Implement seeking to other formats than _BYTES.
12008 Implement more seeking methods correctly.
12010 Added query vmethod.
12011 Added do_seek vmethod to make life easier for subclasses
12013 API addition: gst_base_src_set_format()
12015 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12017 * tests/examples/Makefile.am:
12020 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12023 * docs/random/ensonic/media-device-daemon.txt:
12024 * tests/examples/controller/.cvsignore:
12025 * tests/examples/controller/Makefile.am:
12026 * tests/examples/controller/audio-example.c: (main):
12027 * tests/examples/helloworld/.cvsignore:
12028 * tests/examples/helloworld/Makefile.am:
12029 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12030 * tests/examples/launch/.cvsignore:
12031 * tests/examples/launch/Makefile.am:
12032 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12033 * tests/examples/metadata/.cvsignore:
12034 * tests/examples/metadata/Makefile.am:
12035 * tests/examples/metadata/read-metadata.c: (message_loop),
12036 (make_pipeline), (print_tag), (main):
12037 * tests/examples/queue/.cvsignore:
12038 * tests/examples/queue/Makefile.am:
12039 * tests/examples/queue/queue.c: (event_loop), (main):
12040 * tests/examples/typefind/.cvsignore:
12041 * tests/examples/typefind/Makefile.am:
12042 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12044 * tests/examples/xml/.cvsignore:
12045 * tests/examples/xml/Makefile.am:
12046 * tests/examples/xml/createxml.c: (object_saved), (main):
12047 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12048 * tests/old/examples/Makefile.am:
12049 * tests/old/examples/TODO:
12050 * tests/old/examples/controller/.cvsignore:
12051 * tests/old/examples/controller/Makefile.am:
12052 * tests/old/examples/controller/audio-example.c:
12053 * tests/old/examples/helloworld/.cvsignore:
12054 * tests/old/examples/helloworld/Makefile.am:
12055 * tests/old/examples/helloworld/helloworld.c:
12056 * tests/old/examples/launch/.cvsignore:
12057 * tests/old/examples/launch/Makefile.am:
12058 * tests/old/examples/launch/mp3parselaunch.c:
12059 * tests/old/examples/launch/mp3play:
12060 * tests/old/examples/manual/Makefile.am:
12061 * tests/old/examples/metadata/Makefile.am:
12062 * tests/old/examples/metadata/read-metadata.c:
12063 * tests/old/examples/queue/.cvsignore:
12064 * tests/old/examples/queue/Makefile.am:
12065 * tests/old/examples/queue/queue.c:
12066 * tests/old/examples/typefind/.cvsignore:
12067 * tests/old/examples/typefind/Makefile.am:
12068 * tests/old/examples/typefind/typefind.c:
12069 * tests/old/examples/xml/.cvsignore:
12070 * tests/old/examples/xml/Makefile.am:
12071 * tests/old/examples/xml/createxml.c:
12072 * tests/old/examples/xml/runxml.c:
12073 applied some simple fixing to some examples
12074 re-enabled the working examples
12076 2005-12-12 Wim Taymans <wim@fluendo.com>
12078 * gst/gstsegment.c: (gst_segment_init),
12079 (gst_segment_set_last_stop), (gst_segment_set_seek),
12080 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12081 (gst_segment_to_running_time):
12082 Added more documentation.
12083 Make sure the last_pos value is updated properly.
12084 Make sure to_stream_time and to_running_time don't
12085 operate on wrong values.
12087 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12090 2005-12-12 Michael Smith <msmith@fluendo.com>
12092 * plugins/elements/gsttypefindelement.c: (free_entry),
12093 (gst_type_find_element_chain):
12094 Now that we're not leaking factories, make sure we keep references
12095 to them while we need them.
12097 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12099 * tests/check/gst/struct_i386.h:
12100 ifdef out the XML structs
12102 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12104 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12105 floor is not needed, F is always positive; this obviates the
12106 need for adding -lm when building without libxml
12108 2005-12-12 Wim Taymans <wim@fluendo.com>
12110 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12111 Take current playback rate into account when reporting
12114 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12116 * docs/manual/mime-world.fig:
12117 Let's try this again, this time with a file that is
12118 actually in XFig format.
12120 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12122 * docs/manual/mime-world.fig:
12123 Add audioconvert element to diagram so that it
12124 matches the text and the code (fixes #319526).
12126 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12128 * docs/pwg/building-chainfn.xml:
12129 * docs/pwg/building-pads.xml:
12130 * docs/pwg/building-state.xml:
12131 * docs/pwg/other-source.xml:
12132 Update state change stuff for 0.10 (fixes #322969).
12134 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12136 * docs/manual/advanced-dataaccess.xml:
12137 * docs/manual/appendix-checklist.xml:
12138 * docs/manual/appendix-programs.xml:
12139 * docs/manual/basics-pads.xml:
12140 * docs/manual/highlevel-components.xml:
12141 * docs/manual/manual.xml:
12142 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12143 add converters in front of pipelines; remove curly
12144 brackets for threads stuff, they no longer exist; use
12145 GST_TYPE_FRACTION for framerates; update some pieces of
12146 code to 0.10, but there's plenty more to do.
12148 * docs/manual/appendix-porting.xml:
12149 Expand on asynchroneous state changes; s/0.9/0.10/;
12150 mention disappearance of gst_init_get_popt_table()
12153 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12155 * docs/faq/using.xml:
12156 Spider no longer exists, and neither does gst-launch-ext.
12157 Update examples to use decodebin and playbin and put
12158 converters in front of sinks (fixes #323726).
12160 2005-12-09 Michael Smith <msmith@fluendo.com>
12162 * plugins/elements/gsttypefindelement.c: (find_peek),
12163 (gst_type_find_element_chain):
12164 Fix leaking element factories in typefinding.
12165 Fix problem where we forgot about a probable type on non-seekable
12166 files, and thus later mis-typefound it.
12168 2005-12-09 Michael Smith <msmith@fluendo.com>
12170 * common/m4/gst-makecontext.m4:
12171 * common/m4/gst-mcsc.m4:
12173 * win32/common/config.h:
12174 * win32/common/config.h.in:
12175 Remove makecontext stuff; not used in 0.10 and causes problems on
12176 HPUX according to bug #322441
12178 2005-12-07 Wim Taymans <wim@fluendo.com>
12180 * tests/check/Makefile.am:
12181 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12183 * tests/check/libs/struct_i386.h:
12184 Added ABI check for libs
12186 2005-12-07 Wim Taymans <wim@fluendo.com>
12188 * tests/check/Makefile.am:
12189 And add the struct_i386.h to dist.
12191 2005-12-07 Wim Taymans <wim@fluendo.com>
12193 * tests/check/Makefile.am:
12194 * tests/check/gst/.cvsignore:
12195 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12197 * tests/check/gst/struct_i386.h:
12198 Added check for ABI compatibility.
12200 2005-12-07 Wim Taymans <wim@fluendo.com>
12202 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12203 (gst_fake_src_get_times), (gst_fake_src_create):
12204 Fix broken sync option, fixes #323259
12206 2005-12-07 Wim Taymans <wim@fluendo.com>
12211 * gst/gstcaps.c: (gst_caps_is_equal):
12212 Don't assert on NULL <--> X. Fixes #323260
12214 * gst/gstminiobject.c: (gst_mini_object_replace):
12215 If we're doing atomic operations, we might just as well use
12216 the proper way to get an atomic pointer.
12218 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12219 Clean up debugging.
12221 2005-12-07 Michael Smith <msmith@fluendo.com>
12223 * gst/parse/grammar.y:
12224 Remove handling of { } for threads.
12226 2005-12-06 David Schleef <ds@schleef.org>
12228 * libs/gst/base/gstbasetransform.c: speling fix.
12230 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12232 * docs/libs/tmpl/gstdataprotocol.sgml:
12233 * docs/random/omega/testing/gstobject.c:
12236 * gst/gstelement.c:
12237 * gst/gstelementfactory.c:
12240 * gst/gstghostpad.c:
12242 * gst/gstpadtemplate.c:
12243 * gst/gstregistryxml.c:
12244 * gst/gsttaglist.c:
12245 * gst/gsttagsetter.c:
12246 * gst/gsttypefind.c:
12248 * libs/gst/base/gstbasesrc.c:
12249 * libs/gst/net/gstnetclientclock.c:
12250 * libs/gst/net/gstnettimeprovider.c:
12251 * plugins/elements/gstfakesrc.c:
12252 * plugins/elements/gstfdsrc.c:
12253 * plugins/elements/gstfilesrc.c:
12254 * plugins/elements/gstidentity.c:
12255 * plugins/elements/gstqueue.c:
12256 * plugins/elements/gsttypefindelement.c:
12257 * plugins/indexers/gstfileindex.c:
12258 * plugins/indexers/gstmemindex.c:
12259 * tests/check/gst/gsttag.c:
12260 * tests/old/examples/cutter/cutter.c:
12261 * tests/old/examples/mixer/mixer.c:
12262 * tests/old/examples/xml/runxml.c: (main):
12263 * tests/old/testsuite/caps/normalisation.c:
12264 * tests/old/testsuite/debug/global.c:
12265 * tests/old/testsuite/parse/parse1.c:
12266 * tools/gst-xmlinspect.c:
12267 * win32/common/dirent.c:
12270 === release 0.10.0 ===
12272 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12275 releasing 0.10.0, "Maroilles"
12277 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12279 submitted by: Funda Wang <fundawang@linux.net.cn>
12283 added Chinese (Traditional) translation
12285 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * docs/gst/gstreamer-sections.txt:
12288 * docs/libs/tmpl/gstdataprotocol.sgml:
12289 * docs/random/thomasvs/TODO:
12294 2005-12-05 Andy Wingo <wingo@pobox.com>
12296 patch by: Wim Taymans <wim@fluendo.com>
12298 * libs/gst/base/gstbasetransform.c
12299 (gst_base_transform_prepare_output_buf)
12300 (gst_base_transform_buffer_alloc):
12301 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12302 alloc_buffer_and_set_caps.
12304 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12305 set_caps on the source pad.
12306 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12307 alloc_buffer used to do. Fixes #322874.
12309 * docs/gst/gstreamer-sections.txt:
12310 * docs/design/part-negotiation.txt:
12311 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12314 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12316 patch by: Sebastien Moutte
12319 * win32/common/config.h.in:
12320 * win32/vs6/libgstcontroller.dsp:
12323 2005-12-05 Wim Taymans <wim@fluendo.com>
12325 * gst/gstcaps.c: (gst_caps_is_equal):
12326 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12327 (gst_fake_src_create):
12328 Back out previous code changes, leave doc updates, file bugs
12331 2005-12-05 Wim Taymans <wim@fluendo.com>
12333 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12334 (gst_fake_src_get_times), (gst_fake_src_create):
12335 * plugins/elements/gstfakesrc.h:
12336 Fix broken sync code.
12338 2005-12-05 Wim Taymans <wim@fluendo.com>
12340 * gst/gstcaps.c: (gst_caps_is_equal):
12341 Comparing NULL against !NULL yields different caps, not a
12344 2005-12-05 Wim Taymans <wim@fluendo.com>
12346 * gst/gstpipeline.c:
12347 Fix small typo in docs.
12349 2005-12-05 Andy Wingo <wingo@pobox.com>
12351 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12353 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12354 registries/plugins with a MAJORMINOR one.
12355 (plugin_desc): Rename library from gstcoreleements to
12356 staticelements. Fixes #323222.
12358 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12360 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12361 Change debug category to 'collectpads' from 'collect_pads'
12364 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12366 patch by: Sebastien Moutte
12368 * libs/gst/controller/gstinterpolation.c:
12369 use convert function for uint64/double
12370 * win32/vs6/libgstcontroller.dsp:
12373 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12375 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12376 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12378 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12379 add tests that seem to show that the guint64/gdouble conversions
12382 2005-12-02 Wim Taymans <wim@fluendo.com>
12384 * gst/gstregistry.c: (gst_registry_add_path):
12385 * gst/gstregistry.h:
12386 * gst/gstregistryxml.c:
12389 2005-12-02 Wim Taymans <wim@fluendo.com>
12391 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12392 (gst_util_uint64_scale_int):
12395 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12396 Add debug log line.
12398 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12401 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12404 * win32/common/config.h:
12405 * win32/vs6/gstreamer.dsw:
12406 * win32/vs6/libgstcoreelements.dsp:
12407 * win32/vs6/libgstelements.dsp:
12408 renamed core elements plugin
12410 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12412 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12414 do piece-wise major/minor comparison so 0.9 < 0.10
12415 also allow .exe extensions for tools
12417 2005-12-02 Michael Smith <msmith@fluendo.com>
12420 Escape a % to make gtkdoc happier; bug 322958.
12422 === release 0.9.7 ===
12424 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12427 releasing 0.9.7, "My Dog Has No Nose"
12429 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12431 * common/gst-xmlinspect.py:
12433 * docs/libs/tmpl/gstdataprotocol.sgml:
12434 * docs/random/release:
12453 * win32/common/config.h:
12454 * win32/common/config.h.in:
12455 * win32/vs6/gst_inspect.dsp:
12456 * win32/vs6/gst_launch.dsp:
12457 * win32/vs6/libgstbase.dsp:
12458 * win32/vs6/libgstelements.dsp:
12459 * win32/vs6/libgstreamer.dsp:
12460 * win32/vs7/GStreamer.vcproj:
12461 * win32/vs7/gst-inspect.vcproj:
12462 * win32/vs7/gst-launch.vcproj:
12463 * win32/vs7/libgstbase.vcproj:
12464 bump GST_MAJORMINOR to 0.10
12465 reset libtool version
12467 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12471 Added Bulgarian translation by (Alexander Shopov)
12473 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12475 * tests/check/gst/gstplugin.c:
12478 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12480 * common/gst-xmlinspect.py:
12481 * common/gtk-doc-plugins.mak:
12483 * docs/Makefile.am:
12484 * docs/gst/Makefile.am:
12485 * docs/gst/gstreamer-docs.sgml:
12486 * docs/gst/gstreamer-sections.txt:
12487 * docs/gst/gstreamer.types:
12488 * docs/gst/gstreamer.types.in:
12489 * docs/plugins/Makefile.am:
12490 * docs/plugins/gstreamer-plugins-docs.sgml:
12491 * docs/plugins/gstreamer-plugins-sections.txt:
12492 * docs/plugins/gstreamer-plugins.types:
12493 * docs/plugins/inspect.stamp:
12494 * docs/plugins/inspect/plugin-coreelements.xml:
12495 * docs/plugins/inspect/plugin-coreindexers.xml:
12496 * docs/plugins/scanobj-build.stamp:
12497 * gstreamer.spec.in:
12498 * plugins/elements/Makefile.am:
12499 * plugins/elements/gstelements.c:
12500 * plugins/elements/gstfakesink.c:
12501 * plugins/elements/gstfakesrc.c:
12502 * plugins/elements/gstfilesink.c:
12503 * plugins/elements/gstfilesrc.c:
12504 * plugins/elements/gstqueue.c:
12505 * plugins/indexers/Makefile.am:
12506 * plugins/indexers/gstindexers.c:
12507 document core plugins in a separate document just like all the
12509 rename these plugins to something starting with core
12511 2005-12-01 Andy Wingo <wingo@pobox.com>
12513 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12514 padding here before, but it missed the commit.
12516 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12518 * libs/gst/controller/gstinterpolation.c:
12519 whitespace prices have crashed, we should feel free to use some now
12520 use gst_guint64_to_gdouble
12522 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12524 * libs/gst/controller/gstcontroller.c:
12525 * libs/gst/controller/gsthelper.c:
12526 * libs/gst/controller/gstinterpolation.c:
12527 * libs/gst/controller/lib.c:
12528 wrap config.h include
12530 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12532 * docs/gst/gstreamer-sections.txt:
12535 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12537 * plugins/elements/gstelements.c:
12538 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12539 (gst_fd_sink__class_init), (gst_fd_sink__init),
12540 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12541 (gst_fd_sink__get_property):
12542 * plugins/elements/gstfdsink.h:
12543 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12544 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12545 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12546 (gst_fd_src_unlock), (gst_fd_src_set_property),
12547 (gst_fd_src_get_property), (gst_fd_src_create),
12548 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12549 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12550 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12551 (gst_fd_src_uri_handler_init):
12552 * plugins/elements/gstfdsrc.h:
12553 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12556 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12558 * docs/gst/Makefile.am:
12559 * docs/gst/gstreamer.types.in:
12563 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12569 * gst/gstregistry.h:
12570 * tests/benchmarks/complexity.c:
12571 * tests/benchmarks/mass-elements.c:
12572 * tests/check/Makefile.am:
12573 * tools/Makefile.am:
12574 * tools/gst-inspect.c:
12575 * tools/gst-xmlinspect.c:
12576 various fixes to make
12577 --disable-nls --disable-registry --disable-loadsave
12578 --disable-parse --disable-gst-debug
12579 work and get the core .so down to 360444 bytes after stripping
12581 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12586 * docs/random/thomasvs/TODO:
12587 * tests/Makefile.am:
12591 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12593 * win32/GStreamer.vcproj:
12596 * win32/Makefile.inspect:
12597 * win32/Makefile.launch:
12598 * win32/Makefile.register:
12599 * win32/README.txt:
12600 * win32/gst-inspect.vcproj:
12601 * win32/gst-launch.vcproj:
12602 * win32/gst-register.vcproj:
12603 * win32/gstelements.vcproj:
12604 * win32/gstgetbits.def:
12605 * win32/gstgetbits.vcproj:
12606 * win32/gstreamer-dbg.def:
12607 * win32/gstreamer.def:
12608 * win32/libgstbase.def:
12609 * win32/libgstbase.vcproj:
12610 * win32/link_oldruntime.c:
12614 * win32/msvc71.sln:
12615 move even more stuff, win32/ is nice and clean now
12617 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12619 * libs/gst/control/.cvsignore:
12624 * win32/gstbytestream.def:
12625 * win32/gstbytestream.vcproj:
12626 * win32/gstconfig.h:
12627 * win32/gstenumtypes.c:
12628 * win32/gstenumtypes.h:
12629 * win32/gstoptimalscheduler.vcproj:
12630 * win32/gstversion.h:
12632 * win32/testsuite/bins.vcproj:
12633 * win32/testsuite/bytestream.vcproj:
12634 * win32/testsuite/caps.vcproj:
12635 * win32/testsuite/cleanup.vcproj:
12636 * win32/testsuite/clock.vcproj:
12637 * win32/testsuite/debug.vcproj:
12638 * win32/testsuite/dlopen.vcproj:
12639 * win32/testsuite/dynparams.vcproj:
12640 * win32/testsuite/elements.vcproj:
12641 * win32/testsuite/ghostpads.vcproj:
12642 * win32/testsuite/indexers.vcproj:
12643 * win32/testsuite/negotiation.vcproj:
12644 * win32/testsuite/parse.vcproj:
12645 * win32/testsuite/plugin.vcproj:
12646 * win32/testsuite/refcounting.vcproj:
12647 * win32/testsuite/schedulers.vcproj:
12648 * win32/testsuite/states.vcproj:
12649 * win32/testsuite/tags.vcproj:
12650 * win32/testsuite/threads.vcproj:
12651 remove old win32 stuff that isn't maintained and should be
12654 2005-11-30 Andy Wingo <wingo@pobox.com>
12656 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12657 loading the gst.interfaces python module bork.
12659 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12660 available since GLib 2.2. Fixes #318031.
12662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12665 * check/.cvsignore:
12666 * check/Makefile.am:
12667 * check/elements/.cvsignore:
12668 * check/elements/fakesrc.c:
12669 * check/elements/fdsrc.c:
12670 * check/elements/identity.c:
12671 * check/generic/.cvsignore:
12672 * check/generic/states.c:
12673 * check/gst-libs/.cvsignore:
12674 * check/gst-libs/controller.c:
12675 * check/gst-libs/gdp.c:
12676 * check/gst/.cvsignore:
12677 * check/gst/capslist.h:
12679 * check/gst/gstbin.c:
12680 * check/gst/gstbuffer.c:
12681 * check/gst/gstbus.c:
12682 * check/gst/gstcaps.c:
12683 * check/gst/gstelement.c:
12684 * check/gst/gstevent.c:
12685 * check/gst/gstghostpad.c:
12686 * check/gst/gstiterator.c:
12687 * check/gst/gstmessage.c:
12688 * check/gst/gstminiobject.c:
12689 * check/gst/gstobject.c:
12690 * check/gst/gstpad.c:
12691 * check/gst/gstpipeline.c:
12692 * check/gst/gstplugin.c:
12693 * check/gst/gstsegment.c:
12694 * check/gst/gststructure.c:
12695 * check/gst/gstsystemclock.c:
12696 * check/gst/gsttag.c:
12697 * check/gst/gstutils.c:
12698 * check/gst/gstvalue.c:
12699 * check/net/.cvsignore:
12700 * check/net/gstnetclientclock.c:
12701 * check/net/gstnettimeprovider.c:
12702 * check/pipelines/.cvsignore:
12703 * check/pipelines/cleanup.c:
12704 * check/pipelines/simple_launch_lines.c:
12705 * check/pipelines/stress.c:
12706 * check/states/.cvsignore:
12707 * check/states/sinks.c:
12709 * examples/Makefile.am:
12710 * examples/appreader/.cvsignore:
12711 * examples/appreader/Makefile.am:
12712 * examples/appreader/appreader.c:
12713 * examples/controller/.cvsignore:
12714 * examples/controller/Makefile.am:
12715 * examples/controller/audio-example.c:
12716 * examples/cutter/.cvsignore:
12717 * examples/cutter/Makefile.am:
12718 * examples/cutter/cutter.c:
12719 * examples/cutter/cutter.h:
12720 * examples/events/Makefile.am:
12721 * examples/events/seek.c:
12722 * examples/helloworld/.cvsignore:
12723 * examples/helloworld/Makefile.am:
12724 * examples/helloworld/helloworld.c:
12725 * examples/helloworld2/.cvsignore:
12726 * examples/helloworld2/Makefile.am:
12727 * examples/helloworld2/helloworld2.c:
12728 * examples/launch/.cvsignore:
12729 * examples/launch/Makefile.am:
12730 * examples/launch/mp3parselaunch.c:
12731 * examples/launch/mp3play:
12732 * examples/manual/.cvsignore:
12733 * examples/manual/Makefile.am:
12734 * examples/manual/extract.pl:
12735 * examples/metadata/Makefile.am:
12736 * examples/metadata/read-metadata.c:
12737 * examples/mixer/.cvsignore:
12738 * examples/mixer/Makefile.am:
12739 * examples/mixer/mixer.c:
12740 * examples/mixer/mixer.h:
12741 * examples/pingpong/.cvsignore:
12742 * examples/pingpong/Makefile.am:
12743 * examples/pingpong/pingpong.c:
12744 * examples/plugins/.cvsignore:
12745 * examples/plugins/Makefile.am:
12746 * examples/plugins/example.c:
12747 * examples/plugins/example.h:
12748 * examples/pwg/.cvsignore:
12749 * examples/pwg/Makefile.am:
12750 * examples/pwg/extract.pl:
12751 * examples/queue/.cvsignore:
12752 * examples/queue/Makefile.am:
12753 * examples/queue/queue.c:
12754 * examples/queue2/.cvsignore:
12755 * examples/queue2/Makefile.am:
12756 * examples/queue2/queue2.c:
12757 * examples/queue3/.cvsignore:
12758 * examples/queue3/Makefile.am:
12759 * examples/queue3/queue3.c:
12760 * examples/queue4/.cvsignore:
12761 * examples/queue4/Makefile.am:
12762 * examples/queue4/queue4.c:
12763 * examples/retag/.cvsignore:
12764 * examples/retag/Makefile.am:
12765 * examples/retag/retag.c:
12766 * examples/retag/transcode.c:
12767 * examples/thread/.cvsignore:
12768 * examples/thread/Makefile.am:
12769 * examples/thread/thread.c:
12770 * examples/typefind/.cvsignore:
12771 * examples/typefind/Makefile.am:
12772 * examples/typefind/typefind.c:
12773 * examples/xml/.cvsignore:
12774 * examples/xml/Makefile.am:
12775 * examples/xml/createxml.c:
12776 * examples/xml/runxml.c:
12777 * tests/Makefile.am:
12778 * tests/check/Makefile.am:
12779 * testsuite/.cvsignore:
12780 * testsuite/Makefile.am:
12782 * testsuite/caps/.cvsignore:
12783 * testsuite/caps/Makefile.am:
12784 * testsuite/caps/app_fixate.c:
12785 * testsuite/caps/audioscale.c:
12786 * testsuite/caps/caps.c:
12787 * testsuite/caps/caps.h:
12788 * testsuite/caps/caps_strings:
12789 * testsuite/caps/compatibility.c:
12790 * testsuite/caps/deserialize.c:
12791 * testsuite/caps/enumcaps.c:
12792 * testsuite/caps/eratosthenes.c:
12793 * testsuite/caps/filtercaps.c:
12794 * testsuite/caps/fixed.c:
12795 * testsuite/caps/fraction-convert.c:
12796 * testsuite/caps/fraction-multiply-and-zero.c:
12797 * testsuite/caps/intersect2.c:
12798 * testsuite/caps/intersection.c:
12799 * testsuite/caps/normalisation.c:
12800 * testsuite/caps/random.c:
12801 * testsuite/caps/renegotiate.c:
12802 * testsuite/caps/sets.c:
12803 * testsuite/caps/simplify.c:
12804 * testsuite/caps/string-conversions.c:
12805 * testsuite/caps/structure.c:
12806 * testsuite/caps/subtract.c:
12807 * testsuite/caps/union.c:
12808 * testsuite/debug/.cvsignore:
12809 * testsuite/debug/Makefile.am:
12810 * testsuite/debug/category.c:
12811 * testsuite/debug/commandline.c:
12812 * testsuite/debug/global.c:
12813 * testsuite/debug/output.c:
12814 * testsuite/debug/printf_extension.c:
12815 * testsuite/dlopen/.cvsignore:
12816 * testsuite/dlopen/Makefile.am:
12817 * testsuite/dlopen/dlopen_gst.c:
12818 * testsuite/dlopen/loadgst.c:
12819 * testsuite/elements/.cvsignore:
12820 * testsuite/elements/Makefile.am:
12821 * testsuite/elements/gst-inspect-check.in:
12822 * testsuite/elements/struct_i386.h:
12823 * testsuite/elements/struct_size.c:
12824 * testsuite/indexers/.cvsignore:
12825 * testsuite/indexers/Makefile.am:
12826 * testsuite/indexers/cache1.c:
12827 * testsuite/indexers/indexdump.c:
12828 * testsuite/parse/.cvsignore:
12829 * testsuite/parse/Makefile.am:
12830 * testsuite/parse/parse1.c:
12831 * testsuite/parse/parse2.c:
12832 * testsuite/plugin/.cvsignore:
12833 * testsuite/plugin/Makefile.am:
12834 * testsuite/plugin/README:
12835 * testsuite/plugin/dynamic.c:
12836 * testsuite/plugin/linked.c:
12837 * testsuite/plugin/loading.c:
12838 * testsuite/plugin/registry.c:
12839 * testsuite/plugin/static.c:
12840 * testsuite/plugin/static2.c:
12841 * testsuite/plugin/testplugin.c:
12842 * testsuite/plugin/testplugin2.c:
12843 * testsuite/plugin/testplugin2_s.c:
12844 * testsuite/plugin/testplugin_s.c:
12845 * testsuite/refcounting/.cvsignore:
12846 * testsuite/refcounting/Makefile.am:
12847 * testsuite/refcounting/bin.c:
12848 * testsuite/refcounting/element.c:
12849 * testsuite/refcounting/element_pad.c:
12850 * testsuite/refcounting/mainloop.c:
12851 * testsuite/refcounting/mem.c:
12852 * testsuite/refcounting/mem.h:
12853 * testsuite/refcounting/object.c:
12854 * testsuite/refcounting/pad.c:
12855 * testsuite/refcounting/sched.c:
12856 * testsuite/refcounting/thread.c:
12857 * testsuite/states/.cvsignore:
12858 * testsuite/states/Makefile.am:
12859 * testsuite/states/bin.c:
12860 * testsuite/states/locked.c:
12861 * testsuite/states/parent.c:
12862 * testsuite/threads/.cvsignore:
12863 * testsuite/threads/159566.c:
12864 * testsuite/threads/159852.c:
12865 * testsuite/threads/Makefile.am:
12866 * testsuite/threads/queue.c:
12867 * testsuite/threads/signals.c:
12868 * testsuite/threads/staticrec.c:
12869 * testsuite/threads/thread.c:
12870 * testsuite/threads/threadb.c:
12871 * testsuite/threads/threadc.c:
12872 * testsuite/threads/threadd.c:
12873 * testsuite/threads/threade.c:
12874 * testsuite/threads/threadf.c:
12875 * testsuite/threads/threadg.c:
12876 * testsuite/threads/threadh.c:
12877 * testsuite/threads/threadi.c:
12878 move all of these under tests
12880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12883 * tests/Makefile.am:
12886 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12888 * docs/gst/gstreamer-sections.txt:
12889 * tests/sched/.cvsignore:
12890 * tests/sched/Makefile.am:
12891 * tests/sched/cases/(fs-fs).xml:
12892 * tests/sched/cases/(fs-i-fs).xml:
12893 * tests/sched/cases/(fs-i-i-fs).xml:
12894 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12895 * tests/sched/dynamic-pipeline.c:
12896 * tests/sched/interrupt1.c:
12897 * tests/sched/interrupt2.c:
12898 * tests/sched/interrupt3.c:
12899 * tests/sched/runtestcases:
12900 * tests/sched/runxml.c:
12901 * tests/sched/sched-stress.c:
12902 * tests/sched/sort.c:
12903 * tests/sched/testcases:
12904 * tests/sched/testcases1.tc:
12905 * tests/seeking/.cvsignore:
12906 * tests/seeking/Makefile.am:
12907 * tests/seeking/seeking1.c:
12908 * tests/threadstate/.cvsignore:
12909 * tests/threadstate/Makefile.am:
12910 * tests/threadstate/test1.c:
12911 * tests/threadstate/test2.c:
12912 * tests/threadstate/threadstate1.c:
12913 * tests/threadstate/threadstate2.c:
12914 * tests/threadstate/threadstate3.c:
12915 * tests/threadstate/threadstate4.c:
12916 * tests/threadstate/threadstate5.c:
12917 remove obsolete tests
12919 * tests/bench-complexity.scm:
12920 * tests/bench-mass_elements.scm:
12921 * tests/complexity.c:
12922 * tests/complexity.gnuplot:
12923 * tests/instantiate/.cvsignore:
12924 * tests/instantiate/Makefile.am:
12925 * tests/instantiate/caps.c:
12926 * tests/mass_elements.c:
12927 * tests/network-clock-utils.scm:
12928 * tests/network-clock.scm:
12930 First pass at cleaning up tests/ dir before moving the rest
12931 Combined with CVS surgery
12933 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12936 queue has moved, update
12938 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12940 * docs/gst/gstreamer-sections.txt:
12941 remove double entries from the docs
12942 * gst/gst_private.h:
12943 * gst/gstinfo.c: (_gst_debug_init):
12944 remove the THREAD debug category
12948 * docs/gst/gstreamer.types:
12949 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12950 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12951 completely move queue and fix up debugging categories
12953 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12955 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12956 make initialization portable, using LL is not
12958 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12960 * win32/common/gstconfig.h:
12963 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12965 * win32/common/libgstreamer.def:
12966 rename symbols; sort base section
12968 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12970 * gst/gstclock.c: (do_linear_regression):
12971 remove crack non-portable handrolled DEBUG macro
12973 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12975 * docs/random/release:
12977 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12978 (gst_object_flags_get_type), (register_gst_bin_flags),
12979 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12980 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12981 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12982 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12983 (gst_caps_flags_get_type), (register_gst_clock_return),
12984 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12985 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12986 (gst_clock_flags_get_type), (register_gst_state),
12987 (gst_state_get_type), (register_gst_state_change_return),
12988 (gst_state_change_return_get_type), (register_gst_state_change),
12989 (gst_state_change_get_type), (register_gst_element_flags),
12990 (gst_element_flags_get_type), (register_gst_core_error),
12991 (gst_core_error_get_type), (register_gst_library_error),
12992 (gst_library_error_get_type), (register_gst_resource_error),
12993 (gst_resource_error_get_type), (register_gst_stream_error),
12994 (gst_stream_error_get_type), (register_gst_event_type_flags),
12995 (gst_event_type_flags_get_type), (register_gst_event_type),
12996 (gst_event_type_get_type), (register_gst_seek_type),
12997 (gst_seek_type_get_type), (register_gst_seek_flags),
12998 (gst_seek_flags_get_type), (register_gst_format),
12999 (gst_format_get_type), (register_gst_index_certainty),
13000 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13001 (gst_index_entry_type_get_type),
13002 (register_gst_index_lookup_method),
13003 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13004 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13005 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13006 (gst_index_flags_get_type), (register_gst_debug_level),
13007 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13008 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13009 (gst_iterator_result_get_type), (register_gst_iterator_item),
13010 (gst_iterator_item_get_type), (register_gst_message_type),
13011 (gst_message_type_get_type), (register_gst_mini_object_flags),
13012 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13013 (gst_pad_link_return_get_type), (register_gst_flow_return),
13014 (gst_flow_return_get_type), (register_gst_activate_mode),
13015 (gst_activate_mode_get_type), (register_gst_pad_direction),
13016 (gst_pad_direction_get_type), (register_gst_pad_flags),
13017 (gst_pad_flags_get_type), (register_gst_pad_presence),
13018 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13019 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13020 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13021 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13022 (gst_plugin_flags_get_type), (register_gst_rank),
13023 (gst_rank_get_type), (register_gst_query_type),
13024 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13025 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13026 (gst_tag_flag_get_type), (register_gst_task_state),
13027 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13028 (gst_alloc_trace_flags_get_type),
13029 (register_gst_type_find_probability),
13030 (gst_type_find_probability_get_type), (register_gst_uri_type),
13031 (gst_uri_type_get_type), (register_gst_parse_error),
13032 (gst_parse_error_get_type):
13033 * win32/common/gstenumtypes.h:
13034 * win32/common/gstversion.h:
13035 update visual studio generated files
13037 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13039 * win32/vs6/libgstbase.dsp:
13040 * win32/vs6/libgstelements.dsp:
13041 update project files for new locations
13043 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13048 reinstate and update
13053 * docs/random/LICENSE:
13056 2005-11-30 Edward Hervey <edward@fluendo.com>
13058 * gst/gsttypefind.c: (gst_type_find_register):
13059 * gst/gsttypefind.h:
13060 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13061 (gst_type_find_factory_dispose):
13062 * gst/gsttypefindfactory.h:
13063 Fix memory leak in GstTypeFindFactory.
13065 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13068 * plugins/elements/Makefile.am:
13069 * plugins/elements/gstelements.c:
13070 * plugins/elements/gstqueue.c:
13071 move queue from core to the elements plugin
13073 2005-11-29 Andy Wingo <wingo@pobox.com>
13075 * libs/gst/base/gstbasetransform.h:
13076 * libs/gst/base/gstbasesrc.h:
13077 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13079 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13080 of pointers by which to pad very extensible base classes (like the
13081 ones in libs/gst/base).
13083 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13085 * docs/gst/gstreamer-docs.sgml:
13086 * docs/gst/gstreamer-sections.txt:
13087 * docs/libs/gstreamer-libs-docs.sgml:
13088 * docs/libs/gstreamer-libs-sections.txt:
13089 moving documentation from core to lib
13091 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13093 * check/Makefile.am:
13095 * docs/gst/Makefile.am:
13097 * gst/base/.cvsignore:
13098 * gst/base/Makefile.am:
13100 * gst/base/gstadapter.c:
13101 * gst/base/gstadapter.h:
13102 * gst/base/gstbasesink.c:
13103 * gst/base/gstbasesink.h:
13104 * gst/base/gstbasesrc.c:
13105 * gst/base/gstbasesrc.h:
13106 * gst/base/gstbasetransform.c:
13107 * gst/base/gstbasetransform.h:
13108 * gst/base/gstcollectpads.c:
13109 * gst/base/gstcollectpads.h:
13110 * gst/base/gstpushsrc.c:
13111 * gst/base/gstpushsrc.h:
13112 * gst/base/gsttypefindhelper.c:
13113 * gst/base/gsttypefindhelper.h:
13114 * gst/check/Makefile.am:
13115 * gst/check/gstcheck.c:
13116 * gst/check/gstcheck.h:
13117 * gst/net/Makefile.am:
13118 * gst/net/gstnet.h:
13119 * gst/net/gstnetclientclock.c:
13120 * gst/net/gstnetclientclock.h:
13121 * gst/net/gstnettimepacket.c:
13122 * gst/net/gstnettimepacket.h:
13123 * gst/net/gstnettimeprovider.c:
13124 * gst/net/gstnettimeprovider.h:
13125 * libs/gst/Makefile.am:
13126 * libs/gst/base/Makefile.am:
13127 * libs/gst/base/gstbasetransform.c:
13128 * libs/gst/check/Makefile.am:
13129 * plugins/elements/Makefile.am:
13131 CVS surgery + support to move base, check, and net out of gst
13134 2005-11-29 Andy Wingo <wingo@pobox.com>
13136 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13138 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13141 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13143 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13145 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13147 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13148 padding; reduces object size by about 30%. We don't expect
13149 anything else to go into gstobject.
13151 * gst/gstminiobject.h (struct _GstMiniObject)
13152 (struct _GstMiniObjectClass): Only one pointer of padding; the
13153 payload is only a pointer and two ints anyway. For the class there
13154 are only two methods as well.
13156 * gst/gstelement.h (struct _GstElementClass): Removed
13157 the state_changed signal callback, it is not used.
13159 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13161 * docs/gst/gstreamer.types:
13162 fix includes, though they are a little dinky
13164 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13166 * check/Makefile.am:
13167 look in the right place for elements, a lot more chance of
13170 remove indexers and elements subdirs
13171 * plugins/Makefile.am:
13172 make indexers conditional
13174 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13178 * plugins/elements/Makefile.am:
13179 * plugins/elements/gstcapsfilter.c:
13180 * plugins/elements/gstfilesink.c:
13181 * plugins/elements/gstfilesrc.c:
13182 * plugins/elements/gstidentity.c:
13183 * plugins/indexers/Makefile.am:
13184 do CVS surgery and related build fixery to move elements
13185 and indexers in a new gstreamer/plugins directory, out of the
13188 2005-11-29 Andy Wingo <wingo@pobox.com>
13190 * check/Makefile.am:
13191 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13192 * pkgconfig/gstreamer-net.pc.in:
13193 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13196 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13198 * tools/Makefile.am:
13199 * tools/gst-complete.1.in:
13200 * tools/gst-complete.c:
13201 * tools/gst-compprep.1.in:
13202 * tools/gst-compprep.c:
13203 removing -compprep and -complete
13205 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13207 * gst/gstevent.c: (gst_event_new_new_segment),
13208 (gst_event_parse_new_segment):
13210 fix #320529 - clean up new_segment API and structure.
13211 Let's hope everyone was using the methods, and not the structure.
13213 2005-11-29 Edward Hervey <edward@fluendo.com>
13215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13216 (gst_base_sink_event), (gst_base_sink_do_sync),
13217 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13218 Properly handle non GST_FORMAT_TIME segment
13219 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13220 Properly handle non GST_FORMAT_TIME segment
13221 * gst/gstsegment.c:
13222 This function is valid if the accumulator is 0 and the format
13223 is different from the requested format.
13225 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13227 * docs/gst/gstreamer-sections.txt:
13228 Add gst_query_new_seeking and gst_query_parse_seeking to the
13231 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13233 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13234 Treat a pad alloc with new caps the same as if we were not
13235 negotiated, in order to allow a changing upstream output
13236 to produce a new format of data.
13238 2005-11-29 Edward Hervey <edward@fluendo.com>
13240 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13241 (gst_base_transform_event), (gst_base_transform_eventfunc):
13242 The event virtual method is now properly implemented, with a default
13244 Sub classes should call the parent_class event method. They should
13245 return FALSE if they had a problem handling the given event, or don't
13246 want GstBaseTransform to send that even downstream
13247 * gst/elements/gstidentity.c: (gst_identity_class_init),
13248 (gst_identity_init), (gst_identity_event),
13249 (gst_identity_transform_ip), (gst_identity_set_property),
13250 (gst_identity_get_property):
13251 * gst/elements/gstidentity.h:
13252 Added the single-segment boolean property.
13253 If set to TRUE, it will output a single segment of data, starting from
13254 0, will eat up all incoming newsegment, and modify the timestamp of the
13255 buffers accordingly
13257 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13259 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13260 Don't ref NULL target pad (#322751). Improve docs.
13262 2005-11-29 Michael Smith <msmith@fluendo.com>
13264 * gst/gstregistryxml.c: (load_plugin):
13265 Don't crash if we failed to load a feature from a plugin.
13267 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13269 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13271 use more check API and less GLib API
13273 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13276 don't run checks if we don't have check
13277 * common/check.mak:
13278 remove the registry when running make torture
13279 * docs/gst/gstreamer-sections.txt:
13280 remove second multiply
13281 * gst/gstqueue.c: (gst_queue_loop):
13282 fix a compile warning when disabling debug
13284 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13287 Hey! Let's print the pad name if the pointer != NULL instead
13288 of when it == NULL :-)
13290 2005-11-28 Wim Taymans <wim@fluendo.com>
13292 * check/gst/gstutils.c: (GST_START_TEST):
13293 Updated check, add some scaling accuracy checking code.
13295 * gst/gstutils.c: (gst_util_div128_64),
13296 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13297 (gst_util_uint64_scale_int):
13298 Fix 6 times faster division code. Optimize for common
13299 1/1 and less common X/1 cases.
13301 2005-11-28 Wim Taymans <wim@fluendo.com>
13303 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13306 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13307 (do_linear_regression), (gst_clock_add_observation):
13309 Release lock when the clock cannot be slaved.
13310 Catch the case where the regression returned an invalid denominator.
13312 * gst/gstutils.c: (gst_util_div128_64_iterate),
13313 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13314 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13315 Add protentially more performant non-iterative 128/64 divide function
13316 that unfortunatly does not work yet.
13317 Shortcut the trivial 0/X = 0 case.
13318 Remove the warnings on overflow.
13320 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13322 * gst/gstplugin.c: (gst_plugin_register_func):
13323 everything causing a plugin not to load should be at least a WARNING
13325 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13327 * docs/random/ensonic/dparams.txt:
13328 some TODOs for the next dev cycle
13329 * libs/gst/controller/gstcontroller.c:
13330 (gst_controlled_property_set_interpolation_mode),
13331 (gst_controlled_property_new):
13332 * libs/gst/controller/gstcontroller.h:
13333 use base type to assign acccessor functions
13335 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13337 * check/Makefile.am:
13338 Oops, that should have been top_srcdir
13340 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13342 * check/Makefile.am:
13343 * check/elements/fdsrc.c: (GST_START_TEST):
13344 Use a cmdline define to specify the location of a file to use for
13345 testing, to avoid breaking distcheck.
13347 2005-11-28 Andy Wingo <wingo@pobox.com>
13349 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13351 2005-11-28 Edward Hervey <edward@fluendo.com>
13353 * tools/gst-launch.c: (main):
13354 Clarify the output strings, makes it easier to translate.
13357 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13360 don't try and build net if we don't even have <sys/socket.h>
13362 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13364 * check/Makefile.am:
13365 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13366 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13367 Add tests for fdsrc seekability
13369 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13370 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13371 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13372 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13373 * gst/elements/gstfdsrc.h:
13374 fdsrc should not be a 'live' source.
13375 Implement seeking on seekable fd's.
13377 * gst/gstquery.c: (gst_query_new_seeking),
13378 (gst_query_parse_seeking):
13380 Implement SEEKING query functions:
13381 *_new_seeking and *_parse_seeking
13383 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13385 * gst/gstelement.c: (gst_element_dispose):
13388 * gst/gstiterator.c:
13389 * gst/gststructure.c:
13392 * libs/gst/controller/gstcontroller.c:
13393 (gst_controlled_property_set_interpolation_mode):
13394 * libs/gst/controller/gstcontroller.h:
13395 * libs/gst/controller/gstinterpolation.c:
13396 (interpolate_none_get_enum_value_array):
13397 support controlling enums
13399 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13402 Improve documentation for gst_value_union().
13405 Change return value for union, intersect and subtract functions
13406 from gint to gboolean.
13408 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13410 * gst/gstvalue.c: (gst_value_serialize_any_list),
13411 (gst_value_transform_any_list_string),
13412 (gst_value_deserialize_list), (gst_value_deserialize_array),
13413 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13414 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13415 (gst_value_set_fraction_range_full),
13416 (gst_value_deserialize_fraction_range),
13417 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13418 (gst_value_deserialize_boolean),
13419 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13420 (gst_value_serialize_float), (gst_value_deserialize_float),
13421 (gst_string_wrap), (gst_value_deserialize_string),
13422 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13423 (gst_value_union_int_range_int_range),
13424 (gst_value_intersect_int_range_int_range),
13425 (gst_value_intersect_double_range_double_range),
13426 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13427 (gst_value_subtract_int_range_int_range),
13428 (gst_value_subtract_double_double_range),
13429 (gst_value_subtract_double_range_double_range),
13430 (gst_value_deserialize_fraction):
13432 Use gint, gdouble and gchar in our API instead of int, double and
13433 char (and make usage in gstvalue.c more consistent).
13435 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13437 * check/Makefile.am:
13438 * libs/gst/controller/Makefile.am:
13439 * libs/gst/dataprotocol/Makefile.am:
13440 fix up Makefile.am and remove GST_ENABLE_NEW
13442 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13446 * gst/base/Makefile.am:
13447 * gst/check/Makefile.am:
13448 * gst/elements/Makefile.am:
13449 * gst/net/Makefile.am:
13450 update LDFLAGS use some more
13452 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13454 * common/m4/gst-doc.m4:
13457 2005-11-26 Edward Hervey <edward@fluendo.com>
13459 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13460 This shouldn't issue a g_warning since it returns NULL if it
13461 couldn't find the plugin, and all functions using this behave
13462 properly on a NULL return. Switching to a GST_WARNING.
13464 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13466 * gst/gstbin.c: (gst_bin_handle_message_func):
13467 Don't leak clock messages.
13469 2005-11-25 Wim Taymans <wim@fluendo.com>
13471 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13472 (gst_util_uint64_scale_int):
13473 Optimisations, remove unneeded vars.
13475 2005-11-25 Wim Taymans <wim@fluendo.com>
13477 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13478 Added more checks for the high precision uint64 cases.
13480 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13481 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13482 Implement high precision (guint64 * guint64) / guint64.
13484 2005-11-24 Wim Taymans <wim@fluendo.com>
13486 * gst/base/gstbasesrc.c: (gst_base_src_query):
13487 Fix wrong percentage query.
13489 * gst/gstutils.c: (gst_util_uint64_scale),
13490 (gst_util_uint64_scale_int):
13491 Add some more common cases that can be handled
13492 efficiently to _scale.
13494 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13496 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13497 (gst_mini_object_suite):
13498 don't use check calls from threads; check probably isn't
13499 threadsafe and using a lock to make it threadsafe would
13500 defeat the purpose of this check
13501 * gst/check/gstcheck.c:
13502 * gst/check/gstcheck.h:
13503 use GST_DEBUG some more
13505 2005-11-24 Wim Taymans <wim@fluendo.com>
13507 * gst/gstutils.c: (gst_util_uint64_scale),
13508 (gst_util_uint64_scale_int):
13509 Chain trivial case to _scale_int.
13511 2005-11-24 Wim Taymans <wim@fluendo.com>
13513 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13514 Added test for scaling.
13519 * gst/gstutils.c: (gst_util_uint64_scale_int):
13520 Implemented high precision scaling code.
13522 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13525 do not crash on pad==NULL
13527 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13529 Patch by: Stefan Kost
13531 * common/gtk-doc.mak:
13532 * docs/gst/Makefile.am:
13533 * docs/libs/Makefile.am:
13534 Fix distcheck issues for the libraries docs build
13537 2005-11-24 Michael Smith <msmith@fluendo.com>
13539 * docs/manual/basics-helloworld.xml:
13540 Fix bug #315027: memory leak in example code in docs.
13542 2005-11-24 Michael Smith <msmith@fluendo.com>
13544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13545 Unlock the PREROLL_LOCK in a failure case.
13547 2005-11-24 Wim Taymans <wim@fluendo.com>
13549 * docs/gst/gstreamer-sections.txt:
13550 * gst/base/gstadapter.h:
13551 * gst/base/gstbasesink.h:
13552 * gst/base/gstbasesrc.h:
13553 * gst/base/gstbasetransform.h:
13554 * gst/base/gstpushsrc.h:
13555 * gst/elements/gstfakesink.h:
13556 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13557 * gst/elements/gstfakesrc.h:
13558 * gst/elements/gstfilesink.h:
13559 * gst/elements/gstfilesrc.h:
13562 * gst/gstbuffer.c: (_gst_buffer_copy):
13565 * gst/gstchildproxy.c:
13567 * gst/gstelement.c:
13568 * gst/gstelementfactory.c:
13569 * gst/gstelementfactory.h:
13571 * gst/gstghostpad.h:
13573 * gst/gstinterface.h:
13574 * gst/gstminiobject.c:
13575 * gst/gstminiobject.h:
13578 * gst/gstpadtemplate.h:
13579 * gst/gstpipeline.h:
13580 * gst/gstpluginfeature.h:
13583 * gst/gsttaglist.c:
13584 * gst/gsttaglist.h:
13585 * gst/gsttagsetter.c:
13586 * gst/gsttagsetter.h:
13589 * gst/gsttypefind.h:
13592 * gst/net/gstnetclientclock.c:
13593 * gst/net/gstnetclientclock.h:
13594 * gst/net/gstnettimepacket.c:
13595 * gst/net/gstnettimeprovider.c:
13596 * gst/net/gstnettimeprovider.h:
13599 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13601 * configure.ac: back to HEAD
13603 === release 0.9.6 ===
13605 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13608 releasing 0.9.6, "Always On Time"
13610 2005-11-23 Wim Taymans <wim@fluendo.com>
13612 * docs/gst/gstreamer-sections.txt:
13613 * gst/glib-compat.c:
13614 * gst/gsttagsetter.c:
13616 * gst/net/gstnetclientclock.c:
13617 * gst/net/gstnettimepacket.h:
13620 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13622 * docs/faq/using.xml:
13623 * docs/libs/tmpl/gstcontrol.sgml:
13624 * docs/manual/advanced-dparams.xml:
13625 * docs/manual/appendix-checklist.xml:
13626 * docs/manual/basics-elements.xml:
13627 * docs/pwg/other-source.xml:
13628 * docs/random/moving-plugins:
13630 * tools/gst-launch.1.in:
13631 remove mentions of sinesrc
13633 2005-11-23 Michael Smith <msmith@fluendo.com>
13635 * docs/gst/gstreamer-sections.txt:
13636 Update for new API and API changes.
13638 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13640 Documentation typo fix.
13641 * gst/net/gstnettimepacket.c:
13642 Documentation fixes for arguments.
13644 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13646 * gst/gststructure.c: (gst_structure_get_fraction),
13647 (gst_structure_parse_value),
13648 (gst_structure_fixate_field_nearest_fraction):
13649 * gst/gststructure.h:
13650 * gst/gstutils.c: (gst_util_uint64_scale_int):
13652 * scripts/update-funcnames:
13654 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13655 Make gst_structure_fixate_field_nearest_fraction take a numerator
13656 and denominator argument instead of a GValue
13657 add gst_structure_get_fraction helper function.
13659 2005-11-23 Wim Taymans <wim@fluendo.com>
13661 * docs/design/part-TODO.txt:
13664 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13665 * gst/net/gstnetclientclock.h:
13666 Use parent fields for timeout and window_size.
13668 2005-11-23 Andy Wingo <wingo@pobox.com>
13670 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13671 rate_num/rate_denom change.
13673 * gst/net/gstnetclientclock.c
13674 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13675 OBJECT_LOCK. Don't call add_observation with the lock.
13677 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13679 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13681 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13682 deal with rate as a fraction whose numerator and denominator are
13683 GstClockTime values.
13684 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13685 master; the other fields are protected by the SLAVE_LOCK.
13686 (do_linear_regression): Note that this must be called with the
13688 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13689 OBJECT_LOCK. Call set_calibration instead of touching the
13690 variables directly.
13691 (gst_clock_set_property, gst_clock_get_property): Protect
13692 master/slave parameters with the SLAVE_LOCK.
13694 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13695 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13696 note that all of the instance variables that add_observation and
13697 the set_master functions use are protected by that lock and not
13699 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13701 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13702 the caller to take the object lock.
13704 2005-11-23 Wim Taymans <wim@fluendo.com>
13706 * gst/gsterror.c: (_gst_core_errors_init):
13708 Add error for clock stuff.
13710 * gst/gstpipeline.c: (gst_pipeline_change_state),
13711 (gst_pipeline_set_clock):
13712 Post clock error when clock cannot be used in a pipeline.
13714 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13716 * docs/gst/gstreamer-sections.txt:
13717 make two symbols from gstinfo private for the docs
13718 * gst/base/gstcollectpads.h:
13720 fix doc typos, update docs
13722 2005-11-22 Wim Taymans <wim@fluendo.com>
13724 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13725 (gst_base_sink_wait), (gst_base_sink_do_sync),
13726 (gst_base_sink_handle_event):
13727 * gst/base/gstbasesink.h:
13728 No need to store the clock, the parent element class already
13731 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13732 Updates for clock_set returning a gboolean
13734 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13735 (gst_clock_id_wait_async), (gst_clock_class_init),
13736 (gst_clock_init), (gst_clock_finalize),
13737 (gst_clock_get_internal_time), (gst_clock_get_time),
13738 (gst_clock_slave_callback), (gst_clock_set_master),
13739 (gst_clock_get_master), (do_linear_regression),
13740 (gst_clock_add_observation), (gst_clock_set_property),
13741 (gst_clock_get_property):
13743 Implement master/slave. When setting a clock as a slave, a
13744 periodic timeout is scheduled to sample master and slave times.
13745 Then the slave clock is recalibrated to match offset and rate
13746 of the master clock.
13747 Update logging a bit.
13748 Add flag so that a clock can state that is cannot be slaved to
13751 * gst/gstelement.c: (gst_element_set_clock):
13752 * gst/gstelement.h:
13753 The set clock returns a gboolean for when an element cannot
13754 deal with the selected clock in the pipeline.
13756 * gst/gstpipeline.c: (gst_pipeline_change_state),
13757 (gst_pipeline_set_clock):
13758 * gst/gstpipeline.h:
13759 Handle the case where the selected clock cannot be set on
13762 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13763 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13764 (gst_net_client_clock_set_property),
13765 (gst_net_client_clock_get_property),
13766 (gst_net_client_clock_observe_times):
13767 * gst/net/gstnetclientclock.h:
13768 Use regression code in GstClock parent, remove duplicated
13771 2005-11-22 Michael Smith <msmith@fluendo.com>
13773 * gst/gstutils.c: (gst_util_clock_time_scale):
13775 * docs/gst/gstreamer-sections.txt:
13776 Rename method to have extra underscore.
13778 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13780 * gst/elements/Makefile.am:
13781 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13782 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13783 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13784 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13785 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13786 * gst/elements/gstfakesrc.h:
13787 * gst/gstqueue.c: (queue_leaky_get_type):
13788 correctly fix GEnumValues so that nick is the short lowercase
13790 * tools/gst-inspect.c: (print_element_properties_info):
13791 also show the nick, since it's useful to use from parse_launch
13795 2005-11-22 Michael Smith <msmith@fluendo.com>
13797 * gst/gstutils.c: (gst_util_clocktime_scale):
13799 * docs/gst/gstreamer-sections.txt:
13800 Add util method for scaling a clocktime by a fraction. Useful
13801 implementation is left as an exercise for the reader.
13803 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13805 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13806 If needed, allocate storage in the destination value during
13809 2005-11-22 Edward Hervey <edward@fluendo.com>
13811 * docs/gst/gstreamer-sections.txt:
13814 * gst/gsturitype.c:
13815 * gst/gsturitype.h:
13816 * gst/gstutils.c: (gst_util_set_object_arg):
13817 * tools/gst-compprep.c: (main):
13818 * tools/gst-inspect.c: (print_element_properties_info):
13819 Removed GstURI, closes bug #321061
13821 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13823 * check/gst/gststructure.c: (GST_START_TEST):
13824 * gst/gststructure.c: (gst_structure_parse_value):
13825 Oops, broke automatic string type parsing.
13826 Add a test to catch it in future.
13828 2005-11-22 Andy Wingo <wingo@pobox.com>
13830 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13831 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13832 Actually rename the function implementations. Grr.
13834 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13836 * check/gst/capslist.h:
13838 * check/gst/gststructure.c: (GST_START_TEST),
13839 (gst_structure_suite):
13840 Test automatic value type detection in gst_structure_from_string.
13841 * gst/gststructure.c: (gst_structure_parse_value):
13842 Add fraction as a type we try and guess automatically in
13843 caps/structure strings.
13845 2005-11-22 Andy Wingo <wingo@pobox.com>
13847 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13849 * gst/gsttagsetter.h:
13850 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13851 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13852 (gst_tag_setter_add_tag_valist)
13853 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13854 _add_values, _add_valist, and _add_valist_values. Since this is an
13855 interface the function suffixes should be more explicit so
13856 language binding don't end up with element.add_valist ->
13857 gst_tag_setter_add_valist, for example. Fixes #322069.
13859 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13861 * check/gst/gstcaps.c: (GST_START_TEST):
13862 Extend caps string tests to check that a caps to string
13863 conversion is reversible and produces the same caps.
13865 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13866 Output "fraction" as the generic type fraction range, so caps
13867 serialisation and deserialisation works.
13868 * check/gst/capslist.h:
13869 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13870 Support 'MIN' and 'MAX' for deserialising fractions.
13872 2005-11-22 Andy Wingo <wingo@pobox.com>
13874 * gst/gstevent.h (gst_event_new_new_segment)
13875 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13876 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13877 Renamed from *_newsegment, *_buffersize, *_notarget.
13879 * scripts/update-funcnames: New script, performs the changes
13882 2005-11-22 Wim Taymans <wim@fluendo.com>
13884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13885 Make sure the GstFlowReturn is returned.
13887 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13888 (gst_bus_add_signal_watch):
13890 add gst_bus_add_signal_watch_full.
13892 * gst/gstplugin.c: (gst_plugin_load_file):
13893 Small style cleanup.
13895 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13897 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13898 Block the fakesrc srcpad when we send an event, to avoid
13899 contention on the stream_lock causing random test failures.
13901 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13903 * check/gst/gstvalue.c: (GST_START_TEST):
13904 * gst/gstvalue.c: (gst_value_fraction_subtract):
13907 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13910 include "gstchildproxy.h"
13911 * gst/gstchildproxy.h:
13912 * libs/gst/controller/gstcontroller.h:
13913 use G_GNUC_NULL_TERMINATED
13915 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13917 * check/gst/capslist.h:
13918 * check/gst/gstcaps.c: (GST_START_TEST):
13919 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13920 * gst/gststructure.c: (gst_structure_parse_range),
13921 (gst_structure_fixate_field_nearest_fraction):
13922 * gst/gststructure.h:
13923 * gst/gstvalue.c: (gst_value_init_fraction_range),
13924 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13925 (gst_value_collect_fraction_range),
13926 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13927 (gst_value_set_fraction_range_full),
13928 (gst_value_get_fraction_range_min),
13929 (gst_value_get_fraction_range_max),
13930 (gst_value_serialize_fraction_range),
13931 (gst_value_transform_fraction_range_string),
13932 (gst_value_compare_fraction_range),
13933 (gst_value_deserialize_fraction_range),
13934 (gst_value_intersect_fraction_fraction_range),
13935 (gst_value_intersect_fraction_range_fraction_range),
13936 (gst_value_subtract_fraction_fraction_range),
13937 (gst_value_subtract_fraction_range_fraction),
13938 (gst_value_subtract_fraction_range_fraction_range),
13939 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13940 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13941 (gst_value_transform_string_fraction), (_gst_value_initialize):
13943 Implement fraction ranges and extend GstFraction to support
13944 arithmetic subtraction, as well as deserialization from integer
13945 strings such as "100"
13946 Add a testsuite as for int and double range set operations
13948 2005-11-21 Andy Wingo <wingo@pobox.com>
13950 * gst/gsttaglist.h:
13952 * gst/gststructure.h: Add glib-compat.h.
13954 2005-11-21 Wim Taymans <wim@fluendo.com>
13956 * gst/gstbin.c: (gst_bin_change_state_func):
13959 2005-11-21 Wim Taymans <wim@fluendo.com>
13961 * gst/gstsegment.h:
13962 And add a nice define too.
13964 2005-11-21 Wim Taymans <wim@fluendo.com>
13966 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13967 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13968 (gst_segment_set_duration), (gst_segment_set_last_stop),
13969 (gst_segment_set_seek), (gst_segment_set_newsegment),
13970 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13971 (gst_segment_clip):
13972 * gst/gstsegment.h:
13973 Make binding friendly.
13975 2005-11-21 Andy Wingo <wingo@pobox.com>
13977 * gst/gsttagsetter.h:
13978 * gst/gsttaglist.h:
13979 * gst/gststructure.h:
13981 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13984 * gst/gsterror.c (_gst_core_errors_init):
13985 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13988 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13989 (noinst_HEADERS): noinst the -private.
13991 2005-11-21 Michael Smith <msmith@fluendo.com>
13994 * gst/gstregistry.h:
13995 Remove unimplemented declarations for which we can see no sensible
13998 2005-11-21 Andy Wingo <wingo@pobox.com>
14000 * gst/gst.h: Include glib-compat.h.
14002 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14004 * gst/glib-compat.c: Include the public and the private header.
14006 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14010 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14012 * check/gst/gstevent.c (create_custom_events): Check that
14013 FLUSH_STOP is serialized.
14015 * check/elements/identity.c (event_func):
14016 * check/elements/fakesrc.c (event_func): No stream lock, the core
14019 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14020 stream lock taking, yay.
14022 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14023 ensure that core takes the stream lock.
14025 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14028 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14029 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14030 it already. For the flush start we do take it though so we get the
14031 right preroll state change messages.
14033 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14034 the stream lock here, the core does it for us.
14036 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14037 GST_STREAM_GET_LOCK.
14038 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14039 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14040 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14041 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14042 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14043 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14045 * gst/gstpad.c: Update for stream lock name change.
14047 * gst/base/gstbasesink.c: Update for preroll lock name change.
14049 2005-11-21 Wim Taymans <wim@fluendo.com>
14051 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14052 (gst_clock_get_master):
14054 * gst/gstsystemclock.c: (gst_system_clock_init):
14055 Convert Clock flags to object flags.
14056 Added methods to manage master/slave clocks.
14058 2005-11-21 Wim Taymans <wim@fluendo.com>
14060 * check/gst/gstsegment.c: (GST_START_TEST):
14061 * docs/design/part-TODO.txt:
14062 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14063 (gst_base_sink_event), (gst_base_sink_do_sync),
14064 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14065 (gst_base_sink_query), (gst_base_sink_change_state):
14066 * gst/base/gstbasesink.h:
14067 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14068 (gst_base_src_default_newsegment),
14069 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14070 (gst_base_src_get_range), (gst_base_src_loop),
14071 (gst_base_src_change_state):
14072 * gst/base/gstbasesrc.h:
14073 * gst/base/gstbasetransform.c:
14074 (gst_base_transform_prepare_output_buf),
14075 (gst_base_transform_event), (gst_base_transform_change_state):
14076 * gst/base/gstbasetransform.h:
14077 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14078 (gst_collect_pads_event):
14079 * gst/base/gstcollectpads.h:
14080 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14081 (gst_fake_src_create):
14082 * gst/elements/gstfakesrc.h:
14083 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14084 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14085 (gst_segment_set_last_stop), (gst_segment_set_seek),
14086 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14087 (gst_segment_to_running_time), (gst_segment_clip):
14088 * gst/gstsegment.h:
14089 More segment updates, replace code in plugins with segment
14092 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14094 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14095 Don't ignore sscanf results
14097 2005-11-21 Andy Wingo <wingo@pobox.com>
14099 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14102 * *.c: Ran scripts/update-macros. Oh yes.
14104 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14105 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14108 * scripts/update-macros: New script. Run it on your files to
14109 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14112 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14114 * docs/gst/Makefile.am:
14115 * docs/gst/gstreamer-docs.sgml:
14116 * docs/gst/gstreamer-sections.txt:
14117 * docs/gst/gstreamer.types:
14119 more docs fixes, add new api to the docs
14121 2005-11-21 Andy Wingo <wingo@pobox.com>
14123 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14124 state_broadcast call.
14126 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14128 2005-11-21 Julien MOUTTE <julien@moutte.net>
14130 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14131 function calls for arrays.
14133 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14135 * docs/random/ensonic/media-device-daemon.txt:
14136 wild idea, can this be done?
14137 * docs/gst/gstreamer-sections.txt:
14142 * gst/gstpluginfeature.c:
14146 doc fixes and additions
14148 2005-11-21 Andy Wingo <wingo@pobox.com>
14150 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14151 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14152 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14153 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14154 private to the basesrc implementation.
14156 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14157 behalf of event function if necessary. It should no longer be
14158 necessary to take the stream lock in pad's event functions. Fixes
14161 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14162 * docs/gst/gstreamer-sections.txt:
14163 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14164 (gst_structure_fixate_field_nearest_double),
14165 (gst_structure_fixate_field_boolean):
14166 * gst/gststructure.h:
14167 * win32/common/libgstreamer.def:
14168 * win32/gstreamer.def:
14170 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14173 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14175 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14176 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14177 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14178 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14179 (gst_fdsrc_uri_handler_init):
14180 * gst/elements/gstfdsrc.h:
14181 Port fd:// URI handler from 0.8 to fdsrc
14183 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14185 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14186 (gst_value_serialize_fourcc):
14188 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14189 consistent with our other format defines (#320324).
14191 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14193 * gst/gstvalue.c: (gst_value_is_fixed):
14194 Revert previous commit. Value lists are by definition
14195 not fixed, as they are a list of possible values.
14197 2005-11-21 Andy Wingo <wingo@pobox.com>
14199 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14200 during the stable series if we need it. Fixes #319178.
14202 * gst/gstevent.c (gst_event_new_filler): Removed.
14204 * check/gst/gstevent.c: Update comment about filler events.
14206 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14208 * gst/gstvalue.c: (gst_value_is_fixed):
14209 Should handle both value arrays and value lists.
14211 2005-11-21 Andy Wingo <wingo@pobox.com>
14213 patch by: Alessandro Dessina <alessandro nnva org>
14215 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14216 functions to access arrays. Fixes #321962.
14218 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14220 * docs/gst/gstreamer.types:
14221 gst_collectpads_get_type => gst_collect_pads_get_type.
14223 * gst/base/gstbasetransform.c:
14224 Remove unused SIGNAL_HANDOFF enum.
14226 2005-11-21 Andy Wingo <wingo@pobox.com>
14228 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14229 the event type (upstream, downstream, serialized). Renamed
14230 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14231 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14232 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14234 * gst/gstevent.c: Update for new CUSTOM event names.
14236 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14239 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14242 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14244 * docs/gst/gstreamer-sections.txt:
14245 * win32/common/libgstbase.def:
14246 * win32/libgstbase.def:
14247 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14248 (gst_collect_pads_class_init), (gst_collect_pads_init),
14249 (gst_collect_pads_finalize), (gst_collect_pads_new),
14250 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14251 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14252 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14253 (gst_collect_pads_start), (gst_collect_pads_stop),
14254 (gst_collect_pads_peek), (gst_collect_pads_pop),
14255 (gst_collect_pads_available), (gst_collect_pads_read),
14256 (gst_collect_pads_flush), (gst_collect_pads_event),
14257 (gst_collect_pads_chain):
14258 * gst/base/gstcollectpads.h:
14259 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14260 unimplemented functions as unimplemented. Add padding to
14261 GstCollectData. (#320766, #320423)
14263 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14265 * gst/gstmessage.c:
14266 Improve docs for DURATION message (usage of duration parameter)
14269 2005-11-20 Wim Taymans <wim@fluendo.com>
14271 * check/Makefile.am:
14272 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14276 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14277 (gst_segment_set_seek), (gst_segment_set_newsegment),
14278 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14279 (gst_segment_clip):
14280 * gst/gstsegment.h:
14281 Added segment helper structure and methods. Not fully implemented
14283 Added segment check.
14285 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14287 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14288 Add a deserialisation test for fractions
14289 * examples/metadata/read-metadata.c: (message_loop),
14290 (make_pipeline), (main):
14291 Fix up metadata reading sample.
14292 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14294 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14295 Don't try and fixate empty caps
14296 * gst/gst_private.h:
14297 Wrap in G_BEGIN_DECLS/G_END_DECLS
14298 * gst/gstvalue.c: (gst_value_collect_fraction),
14299 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14300 (gst_value_transform_string_fraction),
14301 (gst_value_compare_fraction):
14302 Add some extra guards to ensure that we don't end up
14303 with an invalid denominator of 0 in a gstfraction and
14304 that fractions always get reduced.
14306 2005-11-20 Wim Taymans <wim@fluendo.com>
14308 * docs/gst/gstreamer-sections.txt:
14310 * gst/gstelement.c:
14319 2005-11-20 Wim Taymans <wim@fluendo.com>
14321 * docs/design/part-TODO.txt:
14323 Make a proper enum of the flag.
14325 2005-11-19 Wim Taymans <wim@fluendo.com>
14327 * docs/design/part-TODO.txt:
14328 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14329 (gst_format_to_quark), (gst_format_register):
14331 * gst/gstquery.c: (_gst_query_initialize),
14332 (gst_query_type_get_name), (gst_query_type_to_quark),
14333 (gst_query_type_register):
14335 Add type to quark and type to string conversions.
14337 2005-11-19 Andy Wingo <wingo@pobox.com>
14339 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14342 2005-11-19 Wim Taymans <wim@fluendo.com>
14344 * docs/design/part-TODO.txt:
14345 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14346 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14347 (gst_bin_handle_message_func):
14349 Make message handling overridable.
14351 2005-11-19 Andy Wingo <wingo@pobox.com>
14353 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14356 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14358 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14359 is a GstClockTime. Fixes #321710.
14361 * gst/gstclock.h (GstClock): Remove offset property. Add
14362 internal_calibration and external_calibration. Fix padding. Pad
14363 also by GstClockTime so we don't run into problems.
14365 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14366 (gst_clock_get_rate_offset): Remove.
14367 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14370 * gst/gstutils.c (g_static_rec_cond_wait)
14371 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14373 * gst/gstbin.c: Remove terrible continue_state prototype.
14375 * gst/gstelement.h (gst_element_continue_state): Make public.
14377 * gst/gstelement.h:
14378 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14379 by continue_state. Fixes #319389.
14381 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14382 Really fixes #168438. However I don't see anywhere where the
14383 filter function is called... stupid GStreamer...
14385 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14386 don't have a dispose function, so it won't get called when the
14387 object is unreffed, but oh well!
14389 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14390 allows a destroy function to be set so user_data can be freed.
14392 (gst_index_set_filter): Call gst_index_set_filter_full.
14394 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14396 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14397 string should produce an error, given the lack of a way to
14398 represent NULL strings. Fixes #165650.
14401 * gst/gstvalue.c (gst_value_array_append_value)
14402 (gst_value_array_prepend_value, gst_value_array_get_size)
14403 (gst_value_array_get_value): New API, copied from
14404 gst_value_list_*, only operates on arrays.
14405 (gst_value_list_append_value, gst_value_list_prepend_value)
14406 (gst_value_list_concat, gst_value_list_get_size)
14407 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14409 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14410 init_list, because it works on both.
14411 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14412 (gst_value_copy_list_or_array): Renamed from copy_list.
14413 (gst_value_free_list_or_array): Renamed from free_list.
14414 (gst_value_collect_list_or_array): Renamed from collect_list.
14415 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14416 (gst_value_list_or_array_peek_pointer): Renamed from
14418 (_gst_value_array_value_table, _gst_value_list_value_table):
14419 Update value table functions.
14420 (gst_value_compare_list_or_array): Renamed from compare_list.
14422 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14425 * gst/gsttaglist.c:
14426 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14427 GstTagList*. Fixes #143472.
14429 * gst/gststructure.h: Clarify what the foreach/map functions can
14430 or can't do to their arguments.
14432 2005-11-18 Wim Taymans <wim@fluendo.com>
14434 * gst/gstclock.c: (gst_clock_set_calibration),
14435 (gst_clock_get_calibration):
14437 Calibration can be set with internal time equal to current
14440 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14446 2005-11-18 Andy Wingo <wingo@pobox.com>
14449 * pkgconfig/gstreamer-net.pc.in:
14450 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14451 * pkgconfig/Makefile.am: Add net pkgconfig files.
14453 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14456 * gst/gstghostpad.c:
14462 2005-11-18 Andy Wingo <wingo@pobox.com>
14464 * gst/net/gstnetclientclock.c: Turn off debugging.
14466 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14467 times connverge somewhat. Can't make a real test.
14469 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14470 integer arithmetic. Return the minimum of the domain, which can be
14471 set as "internal" for gst_clock_set_calibration.
14472 (gst_net_client_clock_observe_times): Call _set_calibration.
14473 (gst_net_client_clock_new): Call _set_calibration instead of
14476 * check/net/gstnetclientclock.c (test_functioning): Use the right
14480 * gst/gstclock.c (gst_clock_get_calibration)
14481 (gst_clock_set_calibration): New functions, obsolete the ones I
14482 added yesterday. Doh. Precision issues mean we have to extrapolate
14483 from a point in the more recent past than 1970.
14484 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14486 (gst_clock_adjust_unlocked): Use the right calibration data.
14488 2005-11-18 Edward Hervey <edward@fluendo.com>
14490 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14491 Also reset the ->current_* values in READY->PAUSED
14493 2005-11-18 Andy Wingo <wingo@pobox.com>
14495 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14496 Whoops, check the right fd. Also add some debugging.
14497 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14498 (do_linear_regression): Add a crapload of debugging. Subtract off
14499 the minimum values from the input series to discard unneeded bits.
14500 Use only int arithmetic. There is still double arithmetic when
14501 calculating the intercept that needs fixing. Return boolean to
14502 indicate success; FALSE would mean the domain or range is too
14503 great. Still needs fixes.
14505 2005-11-18 Wim Taymans <wim@fluendo.com>
14507 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14508 For the current position in stream time, we need to subtract
14511 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14512 Release lock before calling the callback function of async
14515 2005-11-18 Andy Wingo <wingo@pobox.com>
14517 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14518 Port goes all the way to MAXUINT16.
14520 * gst/net/gstnettimeprovider.c: Make the port range the same as
14521 for the kernel: 0 assigns, otherwise ports are less than
14524 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14527 * check/net/gstnetclientclock.c (test_functioning): Add the start
14530 2005-11-18 Wim Taymans <wim@fluendo.com>
14532 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14533 (gst_bin_remove_func), (bin_bus_handler):
14535 Removing a clock provider from a bin, triggers a clock lost message
14536 so that a new clock will be selected.
14537 Adding a clock to a bin triggers a clock provider message.
14538 Make sure we reselect a clock when we received a clock lost message.
14539 Keep a reference to the element that provided the clock.
14541 2005-11-18 Andy Wingo <wingo@pobox.com>
14543 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14544 the clock initially so it produces values around the base time.
14545 (gst_net_client_clock_class_init): Typo fix.
14546 (gst_net_client_clock_thread): Add note on when the socket gets
14549 2005-11-17 Wim Taymans <wim@fluendo.com>
14551 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14552 Free remote and local time arrays.
14554 2005-11-17 Wim Taymans <wim@fluendo.com>
14556 * gst/net/gstnetclientclock.c: (do_linear_regression),
14557 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14558 Fix compilation, uninitialized vars and a forgotten continue.
14560 2005-11-17 Andy Wingo <wingo@pobox.com>
14562 * check/Makefile.am (check_PROGRAMS):
14563 * check/net/gstnetclientclock.c: Add a most minimal test for the
14564 net client clock. More to come later.
14566 * gst/net/gstnet.h:
14567 * gst/net/Makefile.am: Add netclientclock.
14569 * gst/net/gstnetclientclock.h:
14570 * gst/net/gstnetclientclock.c: New files, implement an untested
14571 GstClock that takes its time from a network time provider.
14572 Implements the algorithm in network-clock.scm.
14574 * tests/network-clock.scm (*window-size*): Rename from
14576 * tests/network-clock.scm (network-time):
14577 * tests/network-clock-utils.scm (q-push): Update callers.
14579 2005-11-17 Wim Taymans <wim@fluendo.com>
14581 * gst/gstbin.c: (gst_bin_provide_clock_func),
14582 (gst_bin_sort_iterator_new):
14583 And unref the child too..
14585 2005-11-17 Wim Taymans <wim@fluendo.com>
14587 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14588 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14589 Refactor the sort iterator so it can be used while holding the
14591 Make clock selection select a clock closest to the source.
14593 2005-11-17 Michael Smith <msmith@fluendo.com>
14595 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14596 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14598 Anonymous structs are a gcc (and some other compilers) extension, so
14599 don't use them. Since this is only for ABI-compatibility, and our
14600 API/ABI freeze is over in a few days, this whole thing will only
14601 last a few days, so don't bother trying to think up a meaningful
14602 name for the struct.
14604 2005-11-17 Andy Wingo <wingo@pobox.com>
14606 * gst/gstclock.h (GstClock): Add rate and offset properties,
14607 preserving ABI stability. Add rate/offset accessors. Will file bug
14608 for the freeze break.
14610 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14611 and offset, trying to keep precision and avoiding
14612 underflow/overflow.
14613 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14614 functions. Make gst_clock_set_time_adjust obsolete.
14615 (gst_clock_set_time_adjust): Note that this function is obsolete.
14616 Will file bug soon.
14618 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14619 greppable by using GST_PADDING-1+1.
14621 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14623 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14625 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14626 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14628 * gst/gstpadtemplate.h:
14629 * gst/gstpluginfeature.h:
14630 Don't use c++ style comments in headers (#321638).
14632 2005-11-16 Andy Wingo <wingo@pobox.com>
14634 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14637 * check/net/gstnettimeprovider.c: Check to see that the time
14638 provider actually provides times. Works, yo!
14640 2005-11-16 Wim Taymans <wim@fluendo.com>
14642 * check/Makefile.am:
14645 * check/elements/fakesrc.c: (GST_START_TEST):
14646 Set element to NULL before disposing it.
14648 2005-11-16 Andy Wingo <wingo@pobox.com>
14650 * gst/net/Makefile.am:
14651 * gst/net/gstnet.h:
14652 * gst/net/gstnettimeprovider.c:
14653 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14654 provider, include it from gstnet.h, and add it to the build.
14656 * gst/net/gstnettimepacket.h:
14657 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14658 sending and receiving.
14660 2005-11-16 Wim Taymans <wim@fluendo.com>
14662 * check/Makefile.am:
14663 Enable valgrind check.
14665 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14666 (gst_fake_src_alloc_buffer):
14669 2005-11-16 Wim Taymans <wim@fluendo.com>
14671 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14672 Call parent finalize too.
14674 2005-11-16 Wim Taymans <wim@fluendo.com>
14676 * check/Makefile.am:
14677 Enable valgrind check that should work fine now.
14679 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14680 * gst/gstqueue.c: (gst_queue_init):
14681 Fix memleaks in pad allocation.
14683 2005-11-16 Andy Wingo <wingo@pobox.com>
14685 * gst/net/Makefile.am:
14686 * gst/net/gstnet.h: New part of core to hold network elements and
14687 objects. Put in core because it exposes API that applications want
14688 to use. The library is named libgstnet-tempname right now because
14689 of the existing libgstnet in gst-plugins-base. Solution is
14690 probably to rename the one in plugins-base; will file a bug for
14693 * gst/net/gstnettimeprovider.c:
14694 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14695 get_time call over the network.
14698 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14700 * check/Makefile.am:
14701 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14702 get additions shortly.
14704 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14706 * gst/gstpad.c: (gst_pad_new_from_static_template):
14708 add gst_pad_new_from_static_template functions
14709 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14710 (gst_check_setup_sink_pad):
14711 * gst/elements/gsttee.c: (gst_tee_init):
14714 2005-11-16 Wim Taymans <wim@fluendo.com>
14716 * gst/gstpad.c: (gst_pad_pause_task):
14717 Removed warning, it's not really an error either.
14719 2005-11-16 Wim Taymans <wim@fluendo.com>
14721 * gst/base/gstbasetransform.c:
14722 (gst_base_transform_prepare_output_buf),
14723 (gst_base_transform_event):
14724 Check if the caps are NULL, this can happen if the element
14725 is shutting down and the pad caps are set to NULL.
14727 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14729 * gst/elements/gsttee.c: (gst_tee_init):
14730 fix pad template leak in tee
14732 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14734 * gst/glib-compat.c: (g_value_dup_gst_object):
14735 * gst/glib-compat.h:
14736 * gst/gstpad.c: (gst_pad_set_property):
14737 use gst_object_ref when setting the pad template; this will
14738 trigger the pad template leaks on GLib 2.6 and the slaves
14740 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14742 * gst/glib-compat.c: (gst_flags_get_first_value):
14743 * gst/glib-compat.h:
14744 * gst/gstregistryxml.c:
14745 remove functions copied from GLib 2.6
14747 2005-11-16 Michael Smith <msmith@fluendo.com>
14750 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14751 do, but only breaks with newer valgrind versions. We're not a
14752 valgrind tool, we have no link-time dependencies on libcoregrind.
14754 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14756 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14758 * gst/gstmessage.h:
14761 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14763 * gst/base/gstbasesrc.c: (gst_base_src_init):
14764 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14765 * gst/gstqueue.c: (gst_queue_init):
14766 * gst/gstregistryxml.c: (load_feature):
14767 Revert all these unrefs, they don't even pass make check !
14769 2005-11-15 Johan Dahlin <johan@gnome.org>
14771 * gst/base/gstbasesrc.c: (gst_base_src_init):
14772 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14773 * gst/gstqueue.c: (gst_queue_init):
14774 Free pad templates, fixes a couple of leaks.
14776 2005-11-15 Daniel Fischer <dan at f3c dot com>
14778 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14780 * gst/gstpad.c: (gst_pad_get_property):
14781 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14782 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14785 2005-11-15 Wim Taymans <wim@fluendo.com>
14790 2005-11-15 Andy Wingo <wingo@pobox.com>
14792 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14794 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14795 using GST_CLOCK_TIME_NONE to disable base time management.
14796 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14797 time if it was NONE before.
14798 (gst_pipeline_change_state): Only munge the base time if
14799 stream_time != GST_CLOCK_TIME_NONE.
14801 * check/gst/gstpipeline.c (test_base_time): Punt around the
14802 problem of the probe not being called, because that's not the
14803 issue I'm looking at. Add a check that setting stream_time to NONE
14804 disables base time management.
14806 2005-11-15 Wim Taymans <wim@fluendo.com>
14808 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14809 segment_stop == -1 at startup.
14811 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14812 (gst_base_transform_change_state):
14813 Init segment values at start.
14815 2005-11-15 Wim Taymans <wim@fluendo.com>
14817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14818 0 segment values are 0 in any format.
14820 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14821 * gst/base/gstbasetransform.h:
14822 Parse newsegment correctly in basetransform
14824 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14825 Sync to clock using updated segment values.
14827 2005-11-15 Andy Wingo <wingo@pobox.com>
14829 * check/gst/gstpipeline.c (test_base_time): Add check that the
14830 base time and stream time are reset correctly.
14832 2005-11-15 Wim Taymans <wim@fluendo.com>
14834 * docs/design/part-TODO.txt:
14835 Some more TODO items.
14837 2005-11-15 Andy Wingo <wingo@pobox.com>
14839 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14840 error if the user selected "no clock" as the clocking method.
14842 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14843 timestamps with live capture.
14845 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14846 is 0 but we are a live source, timestamp the buffers using the
14849 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14851 * docs/gst/gstreamer-sections.txt:
14853 * gst/gstghostpad.c:
14858 2005-11-14 Wim Taymans <wim@fluendo.com>
14861 add suppressions from Wim's Debian machine
14863 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14866 add suppressions from Andy's AMD64 Ubuntu machine
14868 2005-11-14 Andy Wingo <wingo@pobox.com>
14870 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14871 STATE_LOCK not necessary. Fixes #311489.
14873 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14876 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14877 this function is not implemented.
14879 2005-11-14 Julien MOUTTE <julien@moutte.net>
14881 * gst/base/gstbasetransform.c:
14882 (gst_base_transform_prepare_output_buf):
14883 Ref the source pad caps while we need them.
14886 2005-11-11 Wim Taymans <wim@fluendo.com>
14888 * docs/gst/gstreamer-sections.txt:
14889 Added some docs for GstCollectData.
14891 * gst/base/gstadapter.c:
14892 Some small code example fix.
14894 * gst/base/gstcollectpads.c:
14895 * gst/base/gstcollectpads.h:
14896 Document some more.
14898 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14900 * configure.ac: back to HEAD
14902 === release 0.9.5 ===
14904 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14907 releasing 0.9.5, "Bike Lunch Day"
14909 2005-11-11 Wim Taymans <wim@fluendo.com>
14911 * gst/gstbuffer.c: (_gst_buffer_copy):
14914 * gst/gstcaps.c: (gst_caps_is_equal):
14916 Make _is_equal fast in the trivial cases.
14918 * gst/gstminiobject.c:
14919 * gst/gstminiobject.h:
14920 More docs. Spifify .h file.
14925 2005-11-11 Wim Taymans <wim@fluendo.com>
14927 * gst/base/gstbasetransform.c:
14928 (gst_base_transform_prepare_output_buf),
14929 (gst_base_transform_handle_buffer):
14931 If we're processing a buffer and need to allocate an output
14932 buffer, we cannot accept a format change. If we did get a
14933 format change, we have to alloc a buffer ourselves of the
14936 2005-11-11 Wim Taymans <wim@fluendo.com>
14938 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14939 While checking the flag for reentrancy in the gstcaps function
14940 is nice to detect recursive invocations, it also makes it
14941 impossible to call getcaps from multiple threads, which must be
14942 possible. So, checking for recursive calls has to go.
14944 2005-11-11 Michael Smith <msmith@fluendo.com>
14946 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14947 Don't sync on buffers that fall partially outside our current
14948 segment. Prevents an assertion failure/abort playing some files.
14950 2005-11-10 Andy Wingo <wingo@pobox.com>
14952 * check/gst/gstbin.c (test_message_state_changed_children): Style
14955 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14956 gst_bus_poll with the signal watch. Ensures that poll and a signal
14957 watch see the same messages.
14959 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14960 a poll and a watch at the same time get the same messages.
14962 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14964 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14965 * gst/gstcaps.c: (gst_caps_intersect):
14966 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14967 and it's not needed.
14969 2005-11-10 Wim Taymans <wim@fluendo.com>
14971 * docs/design/part-TODO.txt:
14974 2005-11-10 Wim Taymans <wim@fluendo.com>
14976 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14977 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14978 (gst_base_src_do_sync), (gst_base_src_get_range):
14979 Implement clock sync in base class.
14981 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14983 patch by: Tim-Philipp Müller <tim at centricular dot net>
14985 * gst/gststructure.c: (gst_structure_parse_field),
14986 (gst_structure_from_string):
14987 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14988 so that gst_parse_launch() can deal with spaces in filtered link
14989 caps (fixes #164479)
14990 * check/gst/capslist.h:
14991 * check/gst/gststructure.c: (GST_START_TEST):
14992 add unit tests for this change
14994 2005-11-10 Wim Taymans <wim@fluendo.com>
14996 * docs/gst/gstreamer-sections.txt:
14997 * gst/gstelement.c:
14998 * gst/gstelement.h:
14999 Fix docs, move some STATE macros to private.
15001 2005-11-10 Wim Taymans <wim@fluendo.com>
15003 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15004 Added check for bug #317341
15008 Some more spiffifying.
15010 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15011 Call peer linkfunction if we are a source pad. Totally fixes
15015 Update docs, source pads should call the peer linkfunction
15016 so they can atomically perform the pad link.
15018 2005-11-09 Wim Taymans <wim@fluendo.com>
15022 Uber-spiffy-spiffify some more.
15024 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15026 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15027 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15028 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15029 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15030 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15031 * gst/gstpad.c: (gst_pad_init):
15032 Use GST_DEBUG_FUNCPTR() more extensively.
15034 2005-11-09 Wim Taymans <wim@fluendo.com>
15036 * gst/gstobject.c: (gst_object_class_init):
15038 Documentation fixes.
15040 2005-11-09 Edward Hervey <edward@fluendo.com>
15042 * gst/gsttypefindfactory.c:
15045 2005-11-09 Edward Hervey <edward@fluendo.com>
15047 * gst/base/gsttypefindhelper.c:
15048 * gst/gsttypefind.c:
15049 * gst/gsttypefind.h:
15052 2005-11-09 Wim Taymans <wim@fluendo.com>
15054 * gst/gstiterator.c:
15061 2005-11-09 Wim Taymans <wim@fluendo.com>
15067 2005-11-09 Wim Taymans <wim@fluendo.com>
15069 * docs/gst/gstreamer-sections.txt:
15070 Moved the message async delivery private lock and cond
15071 to the private section.
15073 * gst/gstmessage.c:
15074 * gst/gstmessage.h:
15077 2005-11-09 Edward Hervey <edward@fluendo.com>
15079 * docs/gst/gstreamer-sections.txt:
15082 Document GstURIHandler
15084 2005-11-09 Wim Taymans <wim@fluendo.com>
15086 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15087 (gst_iterator_find_custom):
15088 * gst/gstiterator.h:
15091 2005-11-09 Wim Taymans <wim@fluendo.com>
15094 Document another field.
15096 * gst/gststructure.c:
15097 * gst/gststructure.h:
15100 2005-11-09 Wim Taymans <wim@fluendo.com>
15103 Documented structs.
15105 2005-11-09 Wim Taymans <wim@fluendo.com>
15107 * docs/gst/gstreamer-sections.txt:
15108 Added some new macros.
15115 2005-11-09 Wim Taymans <wim@fluendo.com>
15117 * docs/design/part-TODO.txt:
15118 Some more items for the TODO
15124 2005-11-09 Andy Wingo <wingo@pobox.com>
15126 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15127 to work on something else now tho...
15129 * gst/base/gstadapter.c: More adapter docs.
15131 * gst/elements/gstfilesink.c (gst_file_sink_start)
15132 (gst_file_sink_stop): New functions, replace the state change
15134 (gst_file_sink_class_init): Hook up the start and stop functions.
15135 (gst_file_sink_base_init): Don't set the state change handler any
15136 more. It was a bit ugly too, being set from here...
15137 (gst_file_sink_get_property, gst_file_sink_set_property):
15139 (gst_file_sink_set_location): More robust check that doesn't call
15140 GST_STATE. Ugggggg.
15142 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15144 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15145 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15147 2005-11-08 Wim Taymans <wim@fluendo.com>
15149 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15150 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15151 (gst_base_sink_chain), (gst_base_sink_change_state):
15152 * gst/base/gstbasesink.h:
15153 * gst/base/gstbasesrc.h:
15154 * gst/gstelement.h:
15156 Avoid excessive typechecking in macros.
15158 * gst/gstminiobject.c: (gst_mini_object_get_type),
15159 (gst_mini_object_init), (gst_mini_object_new),
15160 (gst_mini_object_free):
15161 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15162 (gst_object_finalize):
15163 Remove cruft code, optimize alloc_trace.
15165 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15167 * docs/faq/gst-uninstalled:
15168 fix up PS1 for systems that try to reset it
15170 2005-11-07 Wim Taymans <wim@fluendo.com>
15172 * gst/base/gstbasesrc.c: (gst_base_src_init),
15173 (gst_base_src_get_range):
15174 Set the segment_end to -1 initially. Fixed typefind.
15176 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15178 * gst/base/gstadapter.c:
15179 Debug category should be 'adapter', not 'GstAdapter'.
15181 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15182 (gst_collectpads_class_init), (gst_collectpads_init),
15183 (gst_collectpads_peek), (gst_collectpads_pop),
15184 (gst_collectpads_event), (gst_collectpads_chain):
15185 Add debug category and some debugging output. Use boilerplate
15186 macros. Remove some extraneous words from docs.
15188 2005-11-05 Andy Wingo <wingo@pobox.com>
15190 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15193 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15195 * docs/gst/gstreamer-sections.txt:
15198 * gst/gstminiobject.h:
15203 2005-11-04 Wim Taymans <wim@fluendo.com>
15205 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15206 Small update to stop at the configured segment_end
15209 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15211 * gst/gstregistry.c:
15212 * gst/gstregistry.h:
15215 2005-11-04 Edward Hervey <edward@fluendo.com>
15217 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15218 Check if we are doing a segment seek and have arrived at the
15219 end of that segment.
15221 2005-11-04 Wim Taymans <wim@fluendo.com>
15223 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15224 Don't leak a mutex unlock in case of an error.
15229 2005-11-04 Wim Taymans <wim@fluendo.com>
15231 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15233 Get the context to wake up only once.
15235 2005-11-03 Wim Taymans <wim@fluendo.com>
15237 * check/states/sinks.c: (GST_START_TEST):
15238 Uncomment fixed check.
15240 * docs/design/part-TODO.txt:
15243 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15244 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15245 (gst_base_sink_get_position):
15246 If we are going to PLAYING, post the right pending state
15247 when we post the intermediate paused message.
15249 * gst/gstelement.c: (gst_element_continue_state),
15250 (gst_element_set_state_func), (gst_element_change_state):
15251 Don't post state changes that were between the same state
15252 and were not ASYNC.
15254 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15256 * docs/gst/gstreamer-sections.txt:
15259 * gst/gstminiobject.h:
15262 more docs and doc style fixes
15264 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15266 * docs/gst/gstreamer-sections.txt:
15267 * gst/gstelement.c:
15268 * gst/gstminiobject.c:
15271 2005-11-03 Andy Wingo <wingo@pobox.com>
15273 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15274 state-changed messages actually have the right order and the right
15277 2005-11-03 Wim Taymans <wim@fluendo.com>
15279 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15280 Added some more checks. Specifically the case where NO_PREROLL
15281 elements are in the pipeline.
15283 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15284 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15285 (gst_base_sink_get_position):
15286 Post READY->PAUSED state change messages too.
15287 Fix bug where VOID was posted as pending state...
15289 * gst/gstbin.c: (gst_bin_recalc_state):
15290 use _element_continue_state() to continue the state change.
15292 * gst/gstelement.c: (gst_element_continue_state),
15293 (gst_element_commit_state), (gst_element_set_state_func),
15294 (gst_element_change_state), (gst_element_change_state_func):
15295 Lots of state change cleanups, assign the STATE_RETURN in
15296 a new continue_state() function that also propagates the
15297 last return value from a state change to the app.
15298 Update some debug statements with proper category.
15300 2005-11-03 Wim Taymans <wim@fluendo.com>
15302 * docs/design/part-events.txt:
15303 * docs/design/part-gstpipeline.txt:
15304 * docs/design/part-messages.txt:
15305 * docs/design/part-overview.txt:
15306 * docs/design/part-seeking.txt:
15307 * docs/design/part-states.txt:
15308 * docs/design/part-trickmodes.txt:
15309 * docs/manual/advanced-position.xml:
15310 Small docs updates.
15313 People think !! is ugly, this looks better.
15315 * gst/gstpad.c: (gst_pad_set_blocked_async):
15316 Remove !! since it's fixed elsewhere now.
15318 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15320 * gst/gstminiobject.h:
15322 Add !! to _FLAG_IS_SET macros to make the result boolean.
15324 2005-11-03 Edward Hervey <edward@fluendo.com>
15326 * gst/gstpad.c: (gst_pad_set_blocked_async):
15327 comparing a flag and a gboolean rarely returns coherent results...
15328 Added two characters (!!) to make that work correctly.
15330 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15332 * gst/gstbus.c: (gst_bus_class_init):
15335 * gst/gstqueue.c: (gst_queue_loop):
15336 Don't assume a miniobject that isn't a buffer is an
15337 event (it could be that there is a refcounting
15338 problem somewhere and the pointer is stale and
15339 refers to an already destroyed miniobject).
15341 2005-11-03 Julien MOUTTE <julien@moutte.net>
15343 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15345 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15347 * docs/manual/advanced-position.xml:
15348 Update seek example and explanations to current 0.9 API.
15350 * gst/elements/gsttypefindelement.c:
15351 (gst_type_find_element_activate):
15352 Remove FIXME comment now that the found caps
15355 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15357 * gst/gstregistryxml.c: (load_feature):
15358 Add another GST_STR_NULL instance
15360 2005-11-02 Edward Hervey <edward@fluendo.com>
15362 * gst/gstpad.c: (handle_pad_block):
15363 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15365 2005-11-02 Wim Taymans <wim@fluendo.com>
15370 * gst/gstelement.c: (gst_element_commit_state):
15371 Remove unused value.
15373 * gst/gstiterator.c:
15374 Mention that the returned element is reffed in the docs.
15376 2005-11-02 Wim Taymans <wim@fluendo.com>
15378 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15379 (gst_pad_push), (gst_pad_push_event):
15380 Unlock blocked pads when they are flushed.
15382 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15385 * docs/gst/gstreamer-sections.txt:
15388 * gst/gstregistry.c: (gst_registry_scan_path_level):
15389 fix for a nasty little missed situation where an installed plug-in
15390 which was in the cache did not get overridden by an uninstalled one
15391 which was earlier in the plugin path because the newly created plugin
15392 for the uninstalled one (not in the registry) didn't get its
15393 ->registered set to TRUE
15395 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15397 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15398 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15399 (gst_collectpads_is_active), (gst_collectpads_collect),
15400 (gst_collectpads_collect_range), (gst_collectpads_start),
15401 (gst_collectpads_stop), (gst_collectpads_peek),
15402 (gst_collectpads_pop), (gst_collectpads_available),
15403 (gst_collectpads_read), (gst_collectpads_flush):
15404 Guard public API with assertions.
15407 Fix docs for gst_pad_set_link_function().
15409 2005-11-02 Johan Dahlin <johan@gnome.org>
15411 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15412 Unref found_caps after we used it.
15414 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15416 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15417 Don't try to ref NULL.
15419 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15421 * win32/common/config.h.in:
15422 provide a GST_FUNCTION that just gives a string for now
15424 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15426 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15427 (gst_object_flags_get_type), (register_gst_bin_flags),
15428 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15429 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15430 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15431 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15432 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15433 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15434 (gst_clock_flags_get_type), (register_gst_state),
15435 (gst_state_get_type), (register_gst_state_change_return),
15436 (gst_state_change_return_get_type), (register_gst_state_change),
15437 (gst_state_change_get_type), (register_gst_element_flags),
15438 (gst_element_flags_get_type), (register_gst_core_error),
15439 (gst_core_error_get_type), (register_gst_library_error),
15440 (gst_library_error_get_type), (register_gst_resource_error),
15441 (gst_resource_error_get_type), (register_gst_stream_error),
15442 (gst_stream_error_get_type), (register_gst_event_type),
15443 (gst_event_type_get_type), (register_gst_seek_type),
15444 (gst_seek_type_get_type), (register_gst_seek_flags),
15445 (gst_seek_flags_get_type), (register_gst_format),
15446 (gst_format_get_type), (register_gst_index_certainty),
15447 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15448 (gst_index_entry_type_get_type),
15449 (register_gst_index_lookup_method),
15450 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15451 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15452 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15453 (gst_index_flags_get_type), (register_gst_debug_level),
15454 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15455 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15456 (gst_iterator_result_get_type), (register_gst_iterator_item),
15457 (gst_iterator_item_get_type), (register_gst_message_type),
15458 (gst_message_type_get_type), (register_gst_mini_object_flags),
15459 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15460 (gst_pad_link_return_get_type), (register_gst_flow_return),
15461 (gst_flow_return_get_type), (register_gst_activate_mode),
15462 (gst_activate_mode_get_type), (register_gst_pad_direction),
15463 (gst_pad_direction_get_type), (register_gst_pad_flags),
15464 (gst_pad_flags_get_type), (register_gst_pad_presence),
15465 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15466 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15467 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15468 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15469 (gst_plugin_flags_get_type), (register_gst_rank),
15470 (gst_rank_get_type), (register_gst_query_type),
15471 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15472 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15473 (gst_tag_flag_get_type), (register_gst_task_state),
15474 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15475 (gst_alloc_trace_flags_get_type),
15476 (register_gst_type_find_probability),
15477 (gst_type_find_probability_get_type), (register_gst_uri_type),
15478 (gst_uri_type_get_type), (register_gst_parse_error),
15479 (gst_parse_error_get_type):
15480 * win32/common/gstversion.h:
15481 update win32 copies
15483 2005-11-01 Luca Ognibene <luogni@tin.it>
15486 fix docs. popt is dead, long live GOption.
15488 2005-10-31 Wim Taymans <wim@fluendo.com>
15493 2005-10-31 Andy Wingo <wingo@pobox.com>
15497 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15499 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15500 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15501 the possibility of deadlocks here if code calling notify() or
15502 set() has a lock that can be taken in another notify handler (ABBA
15503 with class lock and e.g. python GIL state lock).
15505 2005-10-28 Julien MOUTTE <julien@moutte.net>
15507 * gst/gstbus.c: Doc updates.
15509 2005-10-28 Wim Taymans <wim@fluendo.com>
15511 * docs/design/part-TODO.txt:
15512 * gst/gstiterator.c:
15513 * gst/gstsystemclock.c:
15514 * gst/gstsystemclock.h:
15517 2005-10-28 Edward Hervey <edward@fluendo.com>
15519 * docs/gst/gstreamer-docs.sgml:
15520 * docs/gst/gstreamer-sections.txt:
15521 the GstURIType documentation page is private, it only defines GstURIType
15522 which should be defined in the GstURIHandler page
15524 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15526 * gst/gstbin.c: (gst_bin_class_init):
15529 Documentation updates.
15531 2005-10-28 Wim Taymans <wim@fluendo.com>
15533 * docs/gst/gstreamer-sections.txt:
15536 Documented the clocks.
15538 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15540 * docs/gst/gstreamer-sections.txt:
15541 move some macros to private sections
15542 * gst/gstminiobject.c:
15543 * gst/gstminiobject.h:
15544 add descriptions provided by ds and some more
15546 mark macro as to be removed
15548 2005-10-28 Wim Taymans <wim@fluendo.com>
15550 * docs/design/part-TODO.txt:
15551 Add an item to TODO.
15553 * gst/gstiterator.c: (gst_iterator_fold),
15554 (gst_iterator_find_custom):
15555 * gst/gstiterator.h:
15558 2005-10-28 Wim Taymans <wim@fluendo.com>
15560 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15561 (gst_base_transform_init):
15564 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15565 An EOS event marks the queue as completely filled.
15567 2005-10-27 Wim Taymans <wim@fluendo.com>
15569 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15570 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15571 Some more debugging.
15573 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15574 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15575 (gst_base_transform_event), (gst_base_transform_getrange),
15576 (gst_base_transform_chain):
15577 * gst/base/gstbasetransform.h:
15579 Protect transform and concurrent buffer alloc with a new lock.
15580 Try not to break ABI/API.
15582 2005-10-27 Wim Taymans <wim@fluendo.com>
15584 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15585 (gst_base_src_init), (gst_base_src_query),
15586 (gst_base_src_default_newsegment),
15587 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15588 (gst_base_src_send_event), (gst_base_src_event_handler),
15589 (gst_base_src_pad_get_range), (gst_base_src_loop),
15590 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15591 (gst_base_src_start), (gst_base_src_deactivate),
15592 (gst_base_src_activate_push), (gst_base_src_change_state):
15593 Move some stuff around and cleanup things.
15595 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15597 * gst/base/gstbasesrc.c: (gst_base_src_query):
15598 Add missing break statements.
15600 2005-10-27 Wim Taymans <wim@fluendo.com>
15602 * check/gst/gstbin.c: (GST_START_TEST):
15603 An extra refcount is taken in basesrc.
15605 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15606 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15607 (gst_base_src_loop):
15608 Small cleanups, check for flushing after being unlocked from the
15609 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15610 Don't send out EOS when going to READY.
15612 2005-10-27 Wim Taymans <wim@fluendo.com>
15614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15615 (gst_base_sink_get_position):
15618 * gst/gstbin.c: (message_check), (bin_replace_message),
15619 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15620 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15621 (bin_query_duration_init), (bin_query_duration_fold),
15622 (bin_query_duration_done), (bin_query_generic_fold),
15624 * tools/gst-launch.c: (main):
15627 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15629 * examples/controller/audio-example.c: (main):
15630 * examples/queue/queue.c: (event_loop):
15631 * gst/base/gstbasetransform.h:
15632 * gst/gstelement.c: (gst_element_send_event):
15634 * gst/gstpad.c: (gst_pad_send_event):
15637 changing log priority in error situations
15639 2005-10-25 Wim Taymans <wim@fluendo.com>
15641 * gst/gstbin.c: (message_check), (bin_replace_message),
15642 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15643 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15644 (bin_query_duration_init), (bin_query_duration_fold),
15645 (bin_query_duration_done), (bin_query_generic_fold),
15647 Some doc and debug updates.
15648 Cache previously requested query DURATION for speed. invalidate
15649 cached duration if element posts a DURATION message.
15651 2005-10-25 Wim Taymans <wim@fluendo.com>
15653 * docs/design/part-TODO.txt:
15656 * gst/gstbin.c: (message_check), (bin_replace_message),
15657 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15658 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15659 (bin_query_duration_init), (bin_query_duration_fold),
15660 (bin_query_duration_done), (bin_query_generic_fold),
15662 Handle SEGMENT_START/DONE messages correctly.
15663 More evolved query algorithm that handles duration queries
15666 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15667 (gst_element_get_state_func), (gst_element_abort_state),
15668 (gst_element_commit_state), (gst_element_lost_state):
15669 Some more debugging.
15671 * gst/gstmessage.h:
15674 2005-10-25 Wim Taymans <wim@fluendo.com>
15676 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15677 Don't use invalid stream_time.
15679 * gst/gstevent.c: (gst_event_new_newsegment):
15680 stream_time in newsegment cannot be undefined.
15682 2005-10-24 Wim Taymans <wim@fluendo.com>
15687 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15689 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15691 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15693 * docs/libs/tmpl/gstdparam.sgml:
15694 * docs/libs/tmpl/gstdplinint.sgml:
15695 * docs/libs/tmpl/gstdpman.sgml:
15696 * docs/libs/tmpl/gstdpsmooth.sgml:
15697 * docs/libs/tmpl/gstunitconvert.sgml:
15700 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15705 === release 0.9.4 ===
15707 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15710 releasing 0.9.4, "Tyrannosaurus Rex"
15712 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15714 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15715 (gst_file_sink_get_current_offset):
15716 Use fseeko() and ftello() if available. When falling back on
15717 lseek() to get the current offset, fflush() first to make sure
15718 everything is up-to-date and we get the right offset.
15720 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15723 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15724 * gst/gsterror.c: (_gst_stream_errors_init):
15726 * gst/gstqueue.c: (gst_queue_loop):
15728 remove prematurely added error category and clean up the instances
15730 2005-10-21 Wim Taymans <wim@fluendo.com>
15732 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15733 (gst_base_sink_get_position), (gst_base_sink_query),
15734 (gst_base_sink_change_state):
15735 Simply set the right flag when going to playing, that's all
15736 we need to do instead of calling a function inside the object
15737 lock (that could take the lock as well and deadlock)
15739 2005-10-21 Wim Taymans <wim@fluendo.com>
15741 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15742 (gst_base_src_loop):
15743 Don't warn, the peer element knows what to do best when
15744 the seek failed, it might try something else.
15746 2005-10-21 Wim Taymans <wim@fluendo.com>
15748 * gst/base/gstbasesrc.c: (gst_base_src_init),
15749 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15752 2005-10-21 Wim Taymans <wim@fluendo.com>
15754 * docs/design/part-segments.txt:
15757 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15758 Correctly set caps, even on the subbufer.
15760 2005-10-21 Wim Taymans <wim@fluendo.com>
15762 * docs/gst/gstreamer-docs.sgml:
15763 * docs/gst/gstreamer-sections.txt:
15764 * gst/gstelement.h:
15767 * gst/gstmessage.h:
15770 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15774 And 2% more doc coverage.
15776 2005-10-21 Andy Wingo <wingo@pobox.com>
15778 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15779 position reporting.
15781 2005-10-20 Wim Taymans <wim@fluendo.com>
15783 * gst/gsterror.c: (gst_error_get_message):
15786 * gst/gststructure.c:
15791 2005-10-20 Wim Taymans <wim@fluendo.com>
15796 Another 1% more coverage.
15798 2005-10-20 Wim Taymans <wim@fluendo.com>
15800 * docs/gst/gstreamer-sections.txt:
15801 * gst/gstelement.c: (gst_element_get_state_func),
15802 (gst_element_abort_state), (gst_element_commit_state),
15803 (gst_element_lost_state):
15805 * gst/gstquery.c: (gst_query_set_position),
15806 (gst_query_parse_position), (gst_query_set_duration),
15807 (gst_query_parse_duration), (gst_query_new_convert):
15809 Yay! 1% more docs coverage.
15811 2005-10-20 Wim Taymans <wim@fluendo.com>
15814 * gst/gstquery.c: (gst_query_set_position),
15815 (gst_query_parse_position), (gst_query_set_duration),
15816 (gst_query_parse_duration), (gst_query_new_convert):
15818 * gst/gstutils.c: (gst_element_query_convert):
15820 Docs and consistency fixes.
15822 2005-10-20 Wim Taymans <wim@fluendo.com>
15828 2005-10-20 Wim Taymans <wim@fluendo.com>
15830 * gst/gstbin.c: (message_check), (bin_replace_message),
15831 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15832 (update_degree), (gst_bin_sort_iterator_next),
15833 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15834 Reworked the message handling a bit, cache the messages instead of
15835 only the senders. alows us to do more in the future.
15837 2005-10-20 Wim Taymans <wim@fluendo.com>
15839 * docs/design/part-TODO.txt:
15842 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15843 (gst_base_sink_query):
15844 Don't use clock time to report position when in EOS.
15846 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15848 * tools/gst-inspect.c: (print_interfaces),
15849 (print_element_properties_info), (print_element_info):
15850 Fix interface output with gst-inspect -a; don't print
15851 newlines after double/float properties.
15853 2005-10-20 Wim Taymans <wim@fluendo.com>
15855 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15856 (gst_base_sink_query):
15857 Speed up current position calculation.
15859 * gst/base/gstbasesrc.c: (gst_base_src_query),
15860 (gst_base_src_default_newsegment):
15861 Correctly set stream position in newsegment.
15863 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15864 (update_degree), (gst_bin_sort_iterator_next),
15865 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15866 * gst/gstmessage.c: (gst_message_new_custom):
15867 Clean up debugging info
15869 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15870 (gst_queue_loop), (gst_queue_handle_src_query):
15873 2005-10-19 Wim Taymans <wim@fluendo.com>
15875 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15876 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15877 Fix query handling again.
15879 2005-10-19 Wim Taymans <wim@fluendo.com>
15881 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15882 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15883 * gst/base/gstbasesrc.c: (gst_base_src_query):
15884 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15885 * gst/elements/gsttypefindelement.c:
15886 (gst_type_find_handle_src_query), (find_element_get_length),
15887 (gst_type_find_element_activate):
15890 * gst/gstquery.c: (gst_query_new_position),
15891 (gst_query_set_position), (gst_query_parse_position),
15892 (gst_query_new_duration), (gst_query_set_duration),
15893 (gst_query_parse_duration), (gst_query_set_segment),
15894 (gst_query_parse_segment):
15896 Bundling query position/duration is not a good idea since duration
15897 does not change much and we don't want to recalculate it for every
15898 position query, so they are separated again..
15899 Base value in segment query is not needed.
15901 * gst/gstqueue.c: (gst_queue_handle_src_query):
15902 * gst/gstutils.c: (gst_element_query_position),
15903 (gst_element_query_duration), (gst_pad_query_position),
15904 (gst_pad_query_duration):
15906 Updates for query API change.
15907 Added some docs here and there.
15909 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15911 * check/gst/gstbin.c: (GST_START_TEST):
15912 * check/gst/gstghostpad.c: (GST_START_TEST):
15913 * check/pipelines/cleanup.c: (GST_START_TEST):
15914 wait on thread to die so we can check refcount correctly
15916 2005-10-18 Wim Taymans <wim@fluendo.com>
15918 * check/pipelines/stress.c: (GST_START_TEST):
15919 Make check a little more time consuming.
15921 2005-10-18 Wim Taymans <wim@fluendo.com>
15923 * check/Makefile.am:
15924 * check/pipelines/stress.c: (GST_START_TEST),
15925 (simple_launch_lines_suite), (main):
15926 Small state change torture test.
15928 * docs/design/part-states.txt:
15929 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15930 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15931 (gst_base_sink_change_state):
15932 Never take state lock from streaming thread, clean up ugly
15933 hacks. Unfortunatly core does not yet support nice ways to
15934 async commit state.
15936 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15938 Start state recalc if a STATE_DIRTY message is posted, but only
15939 on the toplevel bin.
15941 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15942 (gst_element_get_state_func), (gst_element_abort_state),
15943 (gst_element_commit_state), (gst_element_lost_state),
15944 (gst_element_set_state_func), (gst_element_change_state):
15945 * gst/gstelement.h:
15946 State variables are now protected with the LOCK, the state
15947 lock is only used to serialize _set_state().
15949 2005-10-18 Wim Taymans <wim@fluendo.com>
15951 * check/gst/gstbin.c: (GST_START_TEST):
15952 * check/gst/gstmessage.c: (GST_START_TEST):
15953 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15954 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15956 * gst/gstelement.c: (gst_element_abort_state),
15957 (gst_element_commit_state), (gst_element_lost_state):
15958 * gst/gstmessage.c: (gst_message_new_state_changed),
15959 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15960 (gst_message_new_segment_done), (gst_message_new_duration),
15961 (gst_message_parse_state_changed),
15962 (gst_message_parse_segment_start),
15963 (gst_message_parse_segment_done), (gst_message_parse_duration):
15964 * gst/gstmessage.h:
15965 * tools/gst-launch.c: (event_loop):
15966 Seriously, this is better than a previous commit as we only need
15967 to notify the fact that an element changed state in a streaming
15968 thread, marking the state of the parents dirty, hence the
15969 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15972 2005-10-18 Wim Taymans <wim@fluendo.com>
15974 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15975 (gst_bin_recalc_func):
15976 * gst/gstelement.c: (gst_element_set_clock),
15977 (gst_element_abort_state), (gst_element_lost_state):
15978 Cleanups, prepare for state change fixes.
15980 2005-10-18 Wim Taymans <wim@fluendo.com>
15983 * gst/gstelement.c: (gst_element_class_init),
15984 (gst_element_set_state), (gst_element_set_state_func):
15985 * gst/gstelement.h:
15986 Pending ABI changes.
15987 GThreadPool in GstBinClass to monitor async state changes.
15988 state_cookie in GstElement to detect concurrent gst/set state.
15989 set_state is now virtual too in case a very complicated element
15990 has to be constructed.
15992 2005-10-18 Wim Taymans <wim@fluendo.com>
15994 * check/gst/gstbin.c: (GST_START_TEST):
15995 * check/gst/gstmessage.c: (GST_START_TEST):
15996 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15997 * gst/gstbin.c: (bin_bus_handler):
15998 * gst/gstelement.c: (gst_element_commit_state),
15999 (gst_element_lost_state):
16000 * gst/gstmessage.c: (gst_message_new_state_changed),
16001 (gst_message_new_segment_start), (gst_message_new_segment_done),
16002 (gst_message_new_duration), (gst_message_parse_state_changed),
16003 (gst_message_parse_segment_start),
16004 (gst_message_parse_segment_done), (gst_message_parse_duration):
16005 * gst/gstmessage.h:
16006 * tools/gst-launch.c: (event_loop):
16007 Make messages future proof.
16008 state-change gets a flag if it was a message comming from the
16010 segment-start/stop can also be specified in other formats.
16011 A message to notify an app that a pipeline changed playback
16013 Also fix a GstMessage leak in -launch
16015 2005-10-18 Andy Wingo <wingo@pobox.com>
16017 * gst/gstelement.c (gst_element_dispose): More helpful message.
16019 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16021 reviewed by: <delete if not using a buddy>
16023 * common/gtk-doc.mak:
16025 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16027 * gst/gstregistry.c: (gst_registry_scan_path_level):
16028 unref a plug-in we get that was already initialized
16030 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16032 * docs/gst/gstreamer-sections.txt:
16033 * docs/libs/gstreamer-libs-sections.txt:
16034 * gst/gstelement.h:
16035 add new api entries
16036 hide internal macro
16038 2005-10-17 Andy Wingo <wingo@pobox.com>
16040 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16043 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16045 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16047 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16048 (gst_element_get_state_func): Better debug message.
16049 (gst_element_commit_state): s/INFO/DEBUG/.
16050 (gst_element_lost_state, gst_element_change_state):
16052 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16053 (gst_message_new_custom): s/INFO/LOG/.
16055 2005-10-17 Michael Smith <msmith@fluendo.com>
16057 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16058 Check if end time is valid using end time, not start time.
16060 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16062 * check/gst-libs/controller.c: (GST_START_TEST),
16063 (gst_controller_suite):
16064 * libs/gst/controller/gstcontroller.c:
16065 (gst_controlled_property_set_interpolation_mode):
16066 * libs/gst/controller/gstcontroller.h:
16067 * libs/gst/controller/gstinterpolation.c:
16068 * testsuite/controller/.cvsignore:
16069 * testsuite/controller/Makefile.am:
16070 * testsuite/controller/interpolator.c:
16071 merge controller testsuites
16073 remove mem-chunk from docs
16075 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16077 * gst/gstmemchunk.c:
16078 * gst/gstmemchunk.h:
16079 * gst/gsttrashstack.c:
16080 * gst/gsttrashstack.h:
16081 out. get out. you're fired. to the Attic !
16083 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16085 * gst/gstcaps.c: (gst_caps_intersect):
16086 fix signedness issues in a (hopefully) correct way
16087 * gst/gstelement.c: (gst_element_pads_activate):
16089 * gst/gstobject.c: (gst_object_set_parent):
16092 2005-10-17 Julien MOUTTE <julien@moutte.net>
16094 * gst/gstvalue.h: Fix prototypes.
16096 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16098 * docs/gst/gstreamer-sections.txt:
16099 * gst/gst.c: (gst_version_string):
16101 * gst/gstversion.h.in:
16102 * win32/common/libgstreamer.def:
16103 add gst_version_string ()
16105 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16109 * gst/gst.c: (init_post):
16110 * win32/common/config.h.in:
16112 * gst/gstcaps.c: (gst_caps_intersect):
16113 use gint64, the range could be bigger than a guint
16115 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16118 document potential problem in 2038
16120 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16122 * gst/gstcaps.c: (gst_caps_intersect):
16123 Fix guint j diving under 0
16125 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16128 * win32/common/config.h:
16129 * win32/common/config.h.in:
16130 check for process.h, declares getpid() on Windows
16132 include process.h if we have it
16133 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16134 * gst/gstmemchunk.h:
16135 fix signedness issues
16136 * win32/common/libgstreamer.def:
16139 2005-10-16 Julien MOUTTE <julien@moutte.net>
16141 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16142 fix. Because of unsigned ints, caps intersection was going nuts and
16143 trying to access structures with G_MAXUINT index. That fixes
16144 videotestsrc ! ffmpegcolorspace ! fakesink
16145 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16148 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16151 use the gettext macro
16152 * gst/elements/gstelements.c:
16154 * gst/indexers/gstindexers.c:
16155 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16156 * win32/common/config.h:
16158 * win32/common/config.h.in:
16159 add the template to generate config.h
16160 * win32/common/gstenumtypes.c:
16161 * win32/common/gstversion.h:
16164 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16166 * gst/gst.c: (gst_version):
16167 * gst/gstversion.h.in:
16170 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16173 Oops, add missing closing bracket.
16175 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16178 use common m4's for argument checking
16180 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16182 * docs/gst/gstreamer-sections.txt:
16184 Add GST_EVENT_TYPE_NAME() macro.
16186 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16189 * gst/gstpluginfeature.c:
16191 privatize more symbols
16193 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16196 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16197 everything that uses GStreamer API should have the includes
16199 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16201 * docs/gst/gstreamer-sections.txt:
16202 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16204 give each value a _get_type, removes the DATA exports
16206 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16210 remove _gst_registry_auto_load, not used anymore
16211 * gst/gstbin.c: (gst_bin_get_type):
16213 * gst/gstelement.c: (gst_element_get_type):
16214 * gst/gstelement.h:
16215 * gst/gstobject.c: (gst_object_get_type):
16217 * gst/gstpad.c: (gst_pad_get_type):
16219 make _get_type functions similar, fixes data export from library
16221 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16224 correctly make conditionals
16225 * gst/elements/Makefile.am:
16226 * gst/elements/gstelements.c:
16227 fix typo causing fdsrc not to build
16229 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16231 * testsuite/Makefile.am:
16232 * testsuite/bytestream/.cvsignore:
16233 * testsuite/bytestream/Makefile.am:
16234 * testsuite/bytestream/filepadsink.c:
16235 * testsuite/bytestream/gstbstest.c:
16236 * testsuite/bytestream/test1.c:
16237 * testsuite/bytestream/testfile1:
16238 * testsuite/caps/normalisation.c:
16239 * testsuite/caps/random.c: (main):
16240 * testsuite/cleanup/.cvsignore:
16241 * testsuite/cleanup/Makefile.am:
16242 * testsuite/cleanup/cleanup1.c:
16243 * testsuite/cleanup/cleanup2.c:
16244 * testsuite/cleanup/cleanup3.c:
16245 * testsuite/cleanup/cleanup4.c:
16246 * testsuite/cleanup/cleanup5.c:
16247 * testsuite/controller/interpolator.c:
16248 * testsuite/debug/printf_extension.c: (main):
16249 * testsuite/elements/tee.c:
16250 * testsuite/negotiation/.cvsignore:
16251 * testsuite/negotiation/Makefile.am:
16252 * testsuite/negotiation/pad_link.c:
16253 * testsuite/pad/Makefile.am:
16254 * testsuite/pad/chainnopull.c:
16255 * testsuite/pad/getnopush.c:
16256 * testsuite/pad/link.c:
16257 * testsuite/refcounting/sched.c: (create_pipeline):
16258 * testsuite/registry/Makefile.am:
16259 * testsuite/registry/gst-print-formats.c:
16260 * testsuite/schedulers/.cvsignore:
16261 * testsuite/schedulers/142183-2.c:
16262 * testsuite/schedulers/142183.c:
16263 * testsuite/schedulers/143777-2.c:
16264 * testsuite/schedulers/143777.c:
16265 * testsuite/schedulers/147713.c:
16266 * testsuite/schedulers/147819.c:
16267 * testsuite/schedulers/147894-2.c:
16268 * testsuite/schedulers/147894.c:
16269 * testsuite/schedulers/Makefile.am:
16270 * testsuite/schedulers/group_link.c:
16271 * testsuite/schedulers/queue_link.c:
16272 * testsuite/schedulers/relink.c:
16273 * testsuite/schedulers/unlink.c:
16274 * testsuite/schedulers/unref.c:
16275 * testsuite/schedulers/useless_iteration.c:
16276 * testsuite/states/bin.c:
16277 clean out/remove some stuff from the testsuite directories
16279 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16282 check for some headers
16283 * gst/elements/Makefile.am:
16284 * gst/elements/gstelements.c:
16285 don't compile fdsrc without sys/socket.h
16286 * gst/indexers/Makefile.am:
16287 * gst/indexers/gstindexers.c: (plugin_init):
16288 don't compile fileindex without mmap
16290 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16297 * check/Makefile.am:
16298 * docs/gst/Makefile.am:
16299 * examples/helloworld/Makefile.am:
16301 * gst/base/Makefile.am:
16302 * gst/check/Makefile.am:
16303 * gst/elements/Makefile.am:
16304 * gst/indexers/Makefile.am:
16305 * gst/parse/Makefile.am:
16306 * libs/gst/controller/Makefile.am:
16307 * libs/gst/dataprotocol/Makefile.am:
16308 * examples/helloworld/helloworld.c: (event_loop):
16309 compile fixes, though it's not being compiled currently
16311 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16313 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16314 Add some simple tests for the new taglist date API.
16316 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16318 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16319 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16320 Beautify 'last-message' output: print 'none' for buffer timestamps
16321 and durations if none is set; improve alignment with next messages.
16323 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16325 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16326 * gst/gstpluginfeature.h:
16327 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16328 * gst/gstregistry.h:
16329 * docs/gst/gstreamer-sections.txt:
16330 Add new API to check plugin feature version requirements.
16332 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16333 Some basic tests for the above.
16335 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16337 * gst/gststructure.c: (gst_structure_to_string):
16338 guard against NULL printf - happens when for example
16339 a message structure with GstClock gets serialized
16341 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16343 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16344 Fix presumable copy'n'pasto.
16346 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16348 * gst/elements/gstfakesrc.h:
16349 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16350 * gst/elements/gsttypefindelement.c:
16351 fix some signedness
16352 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16353 I wonder if this could actually write +2GB files before
16355 2005-10-13 Andy Wingo <wingo@pobox.com>
16357 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16358 Fix Timmeke Waymans bug.
16359 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16360 string of the proper length to gst_caps_from_string. There's a
16361 potential for, before this fix, that this could cause someone
16362 connecting over the network to cause a segfault if the payload is
16363 not NUL-terminated.
16365 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16367 * docs/design/draft-push-pull.txt:
16368 * docs/design/part-overview.txt:
16369 * docs/random/TODO-pre-0.9:
16370 * docs/random/old/ChangeLog.gstreamer:
16371 * gst/base/gstpushsrc.c:
16375 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16377 * gst/glib-compat.c: (gst_flags_get_first_value):
16378 * gst/glib-compat.h:
16379 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16380 (gst_value_compare_double), (gst_value_serialize_flags):
16381 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16384 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16387 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16389 * tools/gst-launch.c: (event_loop):
16390 print out clock nicely
16392 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16394 * docs/gst/gstreamer-sections.txt:
16395 * gst/gsttaglist.h:
16396 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16397 (gst_tag_list_get_date_index):
16398 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16399 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16401 2005-10-13 Julien MOUTTE <julien@moutte.net>
16403 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16404 (gst_collectpads_chain):
16405 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16408 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16410 * docs/gst/gstreamer-sections.txt:
16413 * tools/gst-inspect.c: (main):
16414 * tools/gst-launch.c: (main):
16415 * tools/gst-run.c: (main):
16416 * tools/gst-xmlinspect.c: (main):
16417 fix GOption context leaks
16420 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16424 * win32/common/config.h:
16426 * win32/vs6/grammar.dsp:
16427 * win32/vs6/libgstelements.dsp:
16428 * win32/vs6/libgstreamer.dsp:
16431 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16433 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16434 * gst/base/gstbasesrc.c: (gst_base_src_query):
16435 fix more guint64<->gdouble conversions
16437 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16440 add win32-update target
16441 * win32/common/gstconfig.h:
16442 * win32/common/gstenumtypes.c:
16443 * win32/common/gstenumtypes.h:
16444 * win32/common/gstversion.h:
16445 add files that visual studio can't generate
16447 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16450 add a win32-update target
16453 2005-10-12 Wim Taymans <wim@fluendo.com>
16455 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16456 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16457 * gst/gstelement.c: (gst_element_commit_state),
16458 (gst_element_set_state):
16459 Protect flags with proper lock.
16460 unref provided cached clock in dispose.
16462 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16465 * gst/gstminiobject.h:
16467 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16468 removed unused flags from miniobject
16471 2005-10-12 Wim Taymans <wim@fluendo.com>
16473 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16474 (gst_file_sink_event), (gst_file_sink_render):
16475 Flush before seeking.
16477 2005-10-12 Andy Wingo <wingo@pobox.com>
16479 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16480 always been the case.
16482 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16484 * check/gst/gstbin.c: (GST_START_TEST):
16485 * docs/gst/gstreamer-sections.txt:
16486 * gst/base/gstbasesink.c: (gst_base_sink_init):
16487 * gst/base/gstbasesrc.c: (gst_base_src_init),
16488 (gst_base_src_get_range), (gst_base_src_check_get_range),
16489 (gst_base_src_start), (gst_base_src_stop):
16490 * gst/base/gstbasesrc.h:
16491 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16492 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16493 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16497 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16499 * gst/gstelement.c: (gst_element_is_locked_state),
16500 (gst_element_set_locked_state), (gst_element_commit_state),
16501 (gst_element_set_state):
16502 * gst/gstelement.h:
16503 * gst/gstindex.c: (gst_index_init):
16505 * gst/gstminiobject.h:
16506 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16507 (gst_object_set_parent):
16509 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16510 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16512 * gst/gstpadtemplate.h:
16513 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16514 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16515 * gst/gstpipeline.h:
16516 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16517 (gst_file_index_commit):
16518 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16519 * testsuite/pad/link.c: (gst_test_src_init),
16520 (gst_test_filter_init), (gst_test_sink_init):
16521 * testsuite/states/locked.c: (main):
16522 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16523 moved bitshift from macro to enum definition
16525 2005-10-12 Wim Taymans <wim@fluendo.com>
16527 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16528 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16529 (gst_file_sink_render):
16530 Some more debugging info.
16532 2005-10-12 Wim Taymans <wim@fluendo.com>
16534 * docs/design/part-states.txt:
16535 * tools/gst-launch.c: (main):
16537 Revert non-intentional change.
16539 2005-10-12 Wim Taymans <wim@fluendo.com>
16541 * check/gst/gstbin.c: (GST_START_TEST):
16542 * check/gst/gstelement.c: (GST_START_TEST):
16543 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16544 * check/gst/gstghostpad.c: (GST_START_TEST):
16545 * check/gst/gstpipeline.c: (GST_START_TEST):
16546 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16547 * check/states/sinks.c: (GST_START_TEST):
16548 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16549 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16550 (gst_bin_remove_func), (gst_bin_get_state_func),
16551 (gst_bin_recalc_state), (gst_bin_change_state_func),
16553 * gst/gstelement.c: (gst_element_get_state_func),
16554 (gst_element_get_state), (gst_element_abort_state),
16555 (gst_element_commit_state), (gst_element_set_state),
16556 (gst_element_change_state), (gst_element_change_state_func):
16557 * gst/gstelement.h:
16558 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16559 (gst_pipeline_provide_clock_func):
16560 * gst/gstutils.c: (gst_element_link_pads_filtered):
16561 * tools/gst-launch.c: (main):
16562 * tools/gst-typefind.c: (main):
16563 Use GstClockTime in _get_state() instead of GTimeVal.
16564 Remove old code in gstutils.c
16566 2005-10-12 Andy Wingo <wingo@pobox.com>
16568 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16571 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16572 there is no task. Shouldn't affect any code, as nothing in our
16573 plugins checks this return value.
16574 (gst_pad_stop_task): Also take the stream lock if the pad has no
16575 task. Docs updated.
16577 2005-10-12 Wim Taymans <wim@fluendo.com>
16579 * gst/gstpad.c: (pre_activate), (post_activate),
16580 (gst_pad_activate_pull), (gst_pad_activate_push):
16581 Cleanup activation code. Reset old state if
16584 2005-10-12 Wim Taymans <wim@fluendo.com>
16586 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16587 (gst_base_sink_change_state):
16588 No need to prerol after receiving EOS.
16590 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16591 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16592 * gst/elements/gstidentity.c: (gst_identity_event):
16593 Print events more verbosely.
16595 2005-10-12 Wim Taymans <wim@fluendo.com>
16597 * check/Makefile.am:
16598 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16599 * check/states/sinks2.c:
16600 Moved sinks2 testcode in sinks check.
16602 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16603 (gst_bin_remove_func), (gst_bin_recalc_state),
16604 (gst_bin_change_state_func), (bin_bus_handler):
16605 Fix potential race condition when _get_state() iterated over an
16606 ASYNC element right before it posted a state completion.
16609 Do proper cast here.
16611 * gst/gstevent.c: (gst_event_new_newsegment),
16612 (gst_event_parse_newsegment):
16613 A playback rate of 0.0 is not allowed.
16615 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16617 * win32/common/config.h:
16618 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16619 (_trewinddir), (_ttelldir), (_tseekdir):
16620 * win32/common/dirent.h:
16621 * win32/common/gtchar.h:
16622 * win32/common/libgstbase.def:
16623 * win32/common/libgstreamer.def:
16624 * win32/vs6/grammar.dsp:
16625 * win32/vs6/gst_inspect.dsp:
16626 * win32/vs6/gst_launch.dsp:
16627 * win32/vs6/gstreamer.dsw:
16628 * win32/vs6/libgstbase.dsp:
16629 * win32/vs6/libgstelements.dsp:
16630 * win32/vs6/libgstreamer.dsp:
16631 Visual Studio 6 project files, and a new common directory.
16634 2005-10-11 Wim Taymans <wim@fluendo.com>
16636 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16637 (gst_base_sink_do_sync), (gst_base_sink_query),
16638 (gst_base_sink_change_state):
16639 * gst/base/gstbasesink.h:
16640 Correctly parse newsegment info.
16642 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16644 * gst/gst.c: (init_post):
16645 split plugin paths correctly
16647 2005-10-11 Wim Taymans <wim@fluendo.com>
16649 * check/gst/gstevent.c: (GST_START_TEST):
16650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16651 (gst_base_sink_change_state):
16652 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16653 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16654 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16655 * gst/gstevent.c: (gst_event_new_newsegment),
16656 (gst_event_parse_newsegment):
16658 Added extra flag to newsegment for future API freeze.
16659 Updated check and base elements.
16661 2005-10-11 Julien MOUTTE <julien@moutte.net>
16663 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16664 (gst_collectpads_add_pad), (gst_collectpads_pop),
16665 (gst_collectpads_event), (gst_collectpads_chain):
16666 * gst/base/gstcollectpads.h: Handle EOS correctly.
16668 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16670 * tools/gst-launch.c: (main):
16671 more null protecting
16673 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16675 * gst/gst-i18n-lib.h:
16676 check for ENABLE_NLS, not GETTEXT_PACKAGE
16677 * gst/gstregistry.c: (gst_registry_add_plugin),
16678 (gst_registry_scan_path_level),
16679 (_gst_registry_remove_cache_plugins):
16680 protect possibly NULL strings
16681 * gst/parse/types.h:
16682 config.h already included before
16683 * tools/gst-inspect.c: (main):
16684 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16685 check for ENABLE_NLS, not GETTEXT_PACKAGE
16686 * tools/gst-launch.c: (main):
16687 check for ENABLE_NLS, not GETTEXT_PACKAGE
16689 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16692 if we don't have glib, fail before testing 2.8
16693 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16694 fix a leak, should fix plugins-base testsuite
16696 2005-10-11 Andy Wingo <wingo@pobox.com>
16698 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16699 take the mode we're going to as an arg. Go head and set the mode
16700 and flushing flags now, so that if the activate function starts a
16701 thread all the flags will be in the right state.
16702 (post_activate): Renamed also. Just handle making sure streaming
16703 finishes for the deactivation case, and setting the deactivated
16705 (gst_pad_set_active): Complain loudly if deactivation fails.
16706 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16707 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16708 remove the terrible hack.
16710 2005-10-11 Wim Taymans <wim@fluendo.com>
16712 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16713 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16714 (gst_bin_recalc_state), (gst_bin_change_state_func),
16715 (gst_bin_dispose), (bin_bus_handler):
16717 Prepare to make current EOS message queue more generic.
16720 * gst/gstevent.c: (gst_event_new_newsegment),
16721 (gst_event_parse_newsegment):
16723 Rename base to stream_time.
16725 * gst/gstmessage.h:
16728 2005-10-11 Wim Taymans <wim@fluendo.com>
16730 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16731 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16732 (gst_bin_change_state_func), (bin_bus_handler):
16734 Work on proper clock selection.
16736 2005-10-11 Edward Hervey <edward@fluendo.com>
16738 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16739 * libs/gst/controller/gstcontroller.h:
16740 Added GList* version of _remove_properties() in order to be able to wrap
16743 2005-10-11 Wim Taymans <wim@fluendo.com>
16745 * docs/design/part-states.txt:
16748 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16749 (gst_bin_change_state_func), (bin_bus_handler):
16750 Doc updates. Don't distribute the same clock over and over again.
16756 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16757 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16758 (gst_pad_send_event):
16760 Make probe emission threadsafe again.
16761 Register quarks and move _get_name() from utils.
16764 * gst/gstpipeline.c: (gst_pipeline_class_init),
16765 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16766 Only redistribute the clock of it changed.
16768 * gst/gstsystemclock.h:
16773 Moved the _flow_get_name() to GstPad.
16775 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16777 * check/gst-libs/gdp.c: (GST_START_TEST):
16778 * check/gst/gstcaps.c: (GST_START_TEST):
16779 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16780 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16781 (gst_dp_packet_from_caps):
16782 fix more valgrind warnings before turning up the heat
16784 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16786 * gst/parse/grammar.y:
16787 some cleanup before the hacking
16789 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16791 * gst/base/gstbasesrc.c: (gst_base_src_query):
16793 * gst/gstutils.c: (gst_guint64_to_gdouble),
16794 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16796 externalize, basesrc uses it
16797 obviously the implementation needs testing
16799 2005-10-10 Wim Taymans <wim@fluendo.com>
16801 * tests/sched/Makefile.am:
16802 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16803 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16805 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16807 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16808 apparently converting from guint64 to double is not implemented
16811 2005-10-10 Wim Taymans <wim@fluendo.com>
16813 * check/Makefile.am:
16814 * check/generic/states.c: (GST_START_TEST):
16815 * check/gst/gstbin.c: (GST_START_TEST):
16816 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16817 * check/states/sinks.c: (GST_START_TEST):
16818 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16820 Check fixes, use API as stated in design docs, remove hacks.
16822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16823 (gst_base_sink_change_state):
16824 Catch stopping our task while we're shutting down.
16826 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16827 (gst_bin_remove_func), (gst_bin_get_state_func),
16828 (gst_bin_recalc_state), (gst_bin_change_state_func),
16831 * gst/gstelement.c: (gst_element_init),
16832 (gst_element_get_state_func), (gst_element_abort_state),
16833 (gst_element_commit_state), (gst_element_lost_state),
16834 (gst_element_set_state), (gst_element_change_state),
16835 (gst_element_change_state_func):
16836 * gst/gstelement.h:
16837 New state change algorithm (see #318116)
16839 * gst/gstpipeline.c: (gst_pipeline_class_init),
16840 (gst_pipeline_init), (gst_pipeline_set_property),
16841 (gst_pipeline_get_property), (do_pipeline_seek),
16842 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16843 * gst/gstpipeline.h:
16844 Remove crude state change hacks.
16847 Remove crude hacks.
16849 * tools/gst-launch.c: (main):
16850 Fixes for state change. Needs some more work to fully use the
16853 2005-10-10 Andy Wingo <wingo@pobox.com>
16855 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16857 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16858 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16861 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16863 * gst/gstiterator.c: (gst_iterator_new):
16864 Fix my previous commit: GTypes passed to gst_iterator_new()
16865 can be fundamental types.
16867 2005-10-10 Wim Taymans <wim@fluendo.com>
16869 * gst/gstelement.c: (gst_element_iterate_pad_list),
16870 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16871 (gst_element_iterate_sink_pads):
16872 Use src/sink pads lists for the respective iterators instead
16875 2005-10-10 Andy Wingo <wingo@pobox.com>
16877 Merged in popt removal + GOption addition patch from Ronald, bug
16880 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16881 GstElement macros around, remove popt-related symbols, add goption
16884 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16886 * docs/gst/Makefile.am:
16887 * docs/libs/Makefile.am: No POPT_CFLAGS.
16889 * examples/manual/Makefile.am:
16890 * docs/manual/basics-init.xml: Doc updates with an example.
16892 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16893 (gst_init), (parse_one_option), (parse_goption_arg):
16894 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16895 bit of hand merging and debugging to get the GOption stuff working
16898 * tests/Makefile.am:
16899 * tools/Makefile.am:
16900 * tools/gst-inspect.c: (main):
16901 * tools/gst-launch.c: (main):
16902 * tools/gst-run.c: (main):
16903 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16905 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16907 * gst/gstiterator.c: (gst_iterator_new):
16908 Add assertions to make sure passed GType is likely to really
16909 be a GType (as the compiler won't catch it if the size and
16910 GType arguments get mixed up, see #318447).
16912 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16914 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16916 * gst/gstbin.c: (gst_bin_iterate_sorted):
16917 Pass GType and size arguments to gst_iterator_new() in the right
16918 order (maybe we should make _new() take the GType as first argument
16919 just like _new_list()?) (#318447).
16922 2005-10-10 Wim Taymans <wim@fluendo.com>
16924 * gst/gstelement.c: (gst_element_finalize):
16925 And free the GStaticRecMutex too
16927 2005-10-10 Andy Wingo <wingo@pobox.com>
16929 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16930 Allocate and free the mutex properly.
16932 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16934 (GstElement): The state_lock is now recursive. Rebuild your
16935 plugins, suckers. Old macros adapted.
16937 * docs/gst/gstreamer-sections.txt: Doc updates.
16940 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16941 (g_static_rec_cond_wait): Ported from state changes patch, while
16942 we wait on bug #317802 to be solved in a well-distributed GLib.
16944 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16945 gst_element_change_state, variable name changes.
16946 (gst_element_change_state): Split out of gst_element_set_state in
16947 preparation for the state change merge. Doesn't pay attention to
16948 the 'transition' argument.
16949 (gst_element_set_state): Updates, hopefully purely cosmetic.
16950 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16951 state change patch.
16952 (gst_element_get_state_func): Renamed from get_state, cosmetic
16955 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16957 * gst/elements/gstelements.c:
16958 * win32/GStreamer.vcproj:
16960 * win32/dirent.c: (_tseekdir):
16961 * win32/gst-inspect.vcproj:
16962 * win32/gst-launch.vcproj:
16963 * win32/gstconfig.h:
16964 * win32/gstelements.vcproj:
16965 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16966 * win32/gstreamer.def:
16967 * win32/msvc71.sln:
16968 updates for the win32 build (patch from Sebastien Moutte)
16970 2005-10-10 Andy Wingo <wingo@pobox.com>
16972 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16973 gst_bin_get_state, cleaned up (but no logic changes).
16974 (bin_element_is_sink): Comment updates.
16975 (sink_iterator_filter): Remove needless cast.
16976 (gst_bin_iterate_sinks): Doc update.
16977 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16978 cleaned up (but no logic changes).
16980 * check/states/sinks.c (test_src_sink): Cleanups from the state
16982 (test_livesrc_sink): Sync on the state.
16984 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16985 the state change patch.
16987 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16990 * check/gst/gstbin.c: Merge in some style fixes and additional
16991 checks from Wim's state change patch.
16993 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16995 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16996 (gst_type_find_helper):
16997 Check whether we have the requested data already in our list of
16998 cached buffers before pulling a new buffer; also make the buffer
16999 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17001 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17006 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17007 don't use long long, it's not portable. Replacing with
17008 gint64 seems to work; let's hope no skeletons fall out of the closet.
17010 2005-10-10 Andy Wingo <wingo@pobox.com>
17012 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17014 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17016 * docs/gst/gstreamer-sections.txt:
17021 * gst/gstmessage.c: (gst_message_parse_state_changed):
17024 more docs, fix compilation
17026 2005-10-09 Philippe Khalaf <burger@speedy.org>
17027 * gst/gstmessage.c:
17028 Fixed a few forgotten variables on previous commit
17030 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17032 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17033 Fix evil typefind crasher: getrange() might return a short
17034 buffer at the end of a file, but gst_type_find_peek() must
17035 either return the full data as requested or NULL, but
17036 never a short buffer.
17038 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17040 * gst/gstmessage.c: (gst_message_new_state_changed),
17041 (gst_message_parse_state_changed):
17042 * gst/gstmessage.h:
17043 don't use "new", it's a C++ keyword
17045 2005-10-08 Wim Taymans <wim@fluendo.com>
17047 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17048 * gst/gstelement.c: (gst_element_post_message):
17049 * gst/gstpipeline.c: (gst_pipeline_change_state):
17050 Small docs and debug updates.
17052 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17054 * docs/gst/gstreamer-sections.txt:
17055 * gst/gstelementfactory.c:
17057 * gst/gsttaglist.c:
17060 2005-10-08 Wim Taymans <wim@fluendo.com>
17062 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17063 (gst_bin_dispose), (bin_bus_handler):
17064 Fix typos, add comments.
17065 Clear EOS list when going to PAUSED from any direction and do it
17066 in a threadsafe way.
17067 Get base time in a threadsafe way too.
17068 Fix confusing debug in the change_state function.
17069 Various other small cleanups.
17071 * gst/gstelement.c: (gst_element_post_message):
17072 Fix very verbose bus posting code.
17074 * gst/gstpipeline.c: (gst_pipeline_class_init),
17075 (gst_pipeline_set_property), (gst_pipeline_get_property),
17076 (gst_pipeline_change_state):
17077 Small ARG_ -> PROP_ cleanup
17079 2005-10-08 Wim Taymans <wim@fluendo.com>
17081 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17082 Do a less CPU demanding EOS check because we can.
17084 2005-10-08 Wim Taymans <wim@fluendo.com>
17086 * libs/gst/dataprotocol/dataprotocol.c:
17087 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17088 (gst_dp_packet_from_event):
17089 * libs/gst/dataprotocol/dataprotocol.h:
17090 * libs/gst/dataprotocol/dp-private.h:
17091 It's about time we bump the version number.
17092 Since event types don't fit in the guint8 anymore describing
17093 the payload type, make payload type 16 bits wide.
17095 2005-10-08 Wim Taymans <wim@fluendo.com>
17097 * docs/design/part-TODO.txt:
17098 * docs/design/part-clocks.txt:
17099 * docs/design/part-events.txt:
17100 * docs/design/part-gstbin.txt:
17101 * docs/design/part-gstelement.txt:
17102 * docs/design/part-gstpipeline.txt:
17103 * docs/design/part-live-source.txt:
17104 * docs/design/part-messages.txt:
17105 * docs/design/part-overview.txt:
17106 * docs/design/part-states.txt:
17109 2005-10-08 Wim Taymans <wim@fluendo.com>
17113 Fix event quark registration.
17114 Add some space between events so we can insert them in the
17117 2005-10-08 Wim Taymans <wim@fluendo.com>
17119 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17120 (gst_base_sink_handle_buffer):
17121 Better log message.
17124 * gst/gstelement.h:
17127 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17128 (gst_queue_set_property), (gst_queue_get_property):
17130 Remove old unused properties.
17132 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17133 * docs/gst/gstreamer-sections.txt:
17134 * gst/gstmessage.c:
17135 * gst/gstmessage.h:
17136 * gst/gstminiobject.c:
17137 * gst/gstminiobject.h:
17141 lots of new docs and doc fixes
17143 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17145 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17147 * gst/gstregistry.c: (gst_registry_lookup_locked),
17148 (gst_registry_scan_path_level):
17149 * gst/gstregistryxml.c: (load_plugin):
17150 Only ever load one plugin for a given plugin basename.
17151 This ensures correct overriding of GST_PLUGIN_PATH over
17152 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17153 system installed plugins.
17155 2005-10-08 Wim Taymans <wim@fluendo.com>
17157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17158 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17159 Prepare for doing QOS.
17161 2005-10-08 Wim Taymans <wim@fluendo.com>
17163 * check/gst/gstbin.c: (GST_START_TEST):
17164 * check/pipelines/cleanup.c: (GST_START_TEST):
17165 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17166 Allow new clock message too.
17168 2005-10-08 Wim Taymans <wim@fluendo.com>
17170 * gst/gstmessage.c: (gst_message_new_error),
17171 (gst_message_new_warning), (gst_message_new_tag),
17172 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17173 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17174 (gst_message_new_segment_start), (gst_message_new_segment_done),
17175 (gst_message_parse_state_changed),
17176 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17177 (gst_message_parse_new_clock):
17178 * gst/gstmessage.h:
17179 Also carry the clock in question.
17181 2005-10-08 Wim Taymans <wim@fluendo.com>
17183 * gst/gstmessage.c: (gst_message_new_custom),
17184 (gst_message_new_eos), (gst_message_new_error),
17185 (gst_message_new_warning), (gst_message_new_tag),
17186 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17187 (gst_message_new_new_clock), (gst_message_new_segment_start),
17188 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17189 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17190 * gst/gstmessage.h:
17192 Added clock related messages.
17194 * gst/gstpipeline.c: (gst_pipeline_change_state):
17195 Post message when the clock changed.
17197 * tools/gst-launch.c: (event_loop):
17200 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17202 * tools/gst-inspect.c: (print_element_properties_info):
17203 Can't pass NULL strings to g_print() on windows.
17205 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17207 * docs/Makefile.am:
17208 * docs/gst/Makefile.am:
17209 * docs/gst/gstreamer-docs.sgml:
17210 * docs/gst/running.xml:
17211 * docs/version.entities.in:
17212 add a chapter on running GStreamer.
17213 document GST_DEBUG and GST_PLUGIN* env vars
17215 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17220 remove PLUGINS_BUILDDIR stuff
17221 * gst/gst.c: (init_post):
17222 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17224 remove, it was condescending and not needed
17226 2005-10-08 Wim Taymans <wim@fluendo.com>
17228 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17229 (gst_base_sink_handle_object), (gst_base_sink_event),
17230 (gst_base_sink_wait), (gst_base_sink_handle_event),
17231 (gst_base_sink_change_state):
17232 * gst/base/gstbasesink.h:
17233 Repost EOS message while going to PLAYING if still EOS.
17234 Make sure that when receiving a FLUSH_START we don't attempt
17235 to sync on the clock anymore.
17237 2005-10-08 Wim Taymans <wim@fluendo.com>
17239 * tools/gst-launch.c: (event_loop):
17240 Better message printout.
17242 2005-10-08 Wim Taymans <wim@fluendo.com>
17244 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17245 (gst_bin_child_proxy_get_children_count):
17246 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17247 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17248 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17249 (gst_child_proxy_set_valist):
17250 * gst/parse/grammar.y:
17251 Make ChildProxy threadsafe and fix mem leaks.
17253 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17255 * gst/gst.c: (init_post):
17256 debug the GST_PLUGIN_ env vars
17258 2005-10-08 Wim Taymans <wim@fluendo.com>
17260 * check/gst/gstbin.c: (GST_START_TEST):
17261 * check/gst/gstmessage.c: (GST_START_TEST):
17262 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17263 * gst/gstelement.c: (gst_element_commit_state),
17264 (gst_element_lost_state):
17265 * gst/gstmessage.c: (gst_message_new_state_changed),
17266 (gst_message_parse_state_changed):
17267 * gst/gstmessage.h:
17268 * tools/gst-launch.c: (event_loop):
17269 Added extra field to STATE_CHANGE message with the pending
17270 state, which will be different from the new state soon.
17272 2005-10-08 Wim Taymans <wim@fluendo.com>
17274 * gst/gstbus.c: (gst_bus_pop):
17276 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17277 Small cleanups and doc updates.
17279 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17281 * gst/gst.c: (init_pre):
17282 * gst/gstbin.c: (gst_bin_add_func):
17283 log distributing clocks and base time
17284 * gst/gstregistry.c: (gst_registry_add_plugin),
17285 (gst_registry_scan_path_level), (gst_registry_scan_path):
17286 clean up the debugging output a little
17287 * gst/gstutils.c: (gst_element_state_get_name):
17288 warn about a memleak (I've actually seen this be used, though
17289 it was probably a bug)
17291 2005-10-07 Wim Taymans <wim@fluendo.com>
17293 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17294 (gst_base_src_init), (gst_base_src_default_newsegment),
17295 (gst_base_src_newsegment), (gst_base_src_do_seek),
17296 (gst_base_src_loop), (gst_base_src_start):
17297 * gst/base/gstbasesrc.h:
17298 Make the newsegment event customizable by subclasses.
17300 2005-10-07 Wim Taymans <wim@fluendo.com>
17302 * gst/gstevent.c: (gst_event_new_buffersize),
17303 (gst_event_parse_buffersize):
17305 New event for future idea.
17307 2005-10-07 Andy Wingo <wingo@pobox.com>
17309 * gst/gstelement.c (gst_element_post_message): Doc update.
17311 * docs/gst/gstreamer-sections.txt: Update.
17313 * gst/gstmessage.c (gst_message_new_application): Made into a
17314 function like honest API calls.
17315 (gst_message_new_element): New message type.
17317 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17319 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17320 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17323 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17324 NO_PREROLL from gst_element_change_state to fall through.
17326 2005-10-07 Wim Taymans <wim@fluendo.com>
17328 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17329 (gst_ghost_pad_do_activate_push):
17330 Activating a ghostpad with no internal pad in push mode
17333 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17336 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17337 Fixes compilation on Windows.
17339 2005-10-07 Michael Smith <msmith@fluendo.com>
17341 * tools/gst-inspect.c:
17342 Print out feature and plugin count at the end when printing out
17345 2005-10-04 Michael Smith <msmith@fluendo.com>
17347 * gst/gsterror.c: (_gst_stream_errors_init):
17348 Add another error string used in a few existing plugins.
17351 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17352 * tools/gst-inspect.c: (print_element_info):
17353 When a feature disappears from a plugin (and the feature exists in
17354 the cached registry file), things went horribly wrong. This isn't a
17355 complete fix, we should actually be removing the 'missing' features
17356 from the features list when we load the actual plugin. That's not
17359 2005-10-04 Johan Dahlin <johan@gnome.org>
17361 * check/gst/gstiterator.c: (GST_START_TEST):
17362 * gst/gstbin.c: (gst_bin_iterate_elements),
17363 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17364 * gst/gstelement.c: (gst_element_iterate_pads):
17365 * gst/gstformat.c: (gst_format_iterate_definitions):
17366 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17367 (gst_iterator_new_list), (gst_iterator_filter):
17368 * gst/gstiterator.h:
17369 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17370 Add a GType to GstIterator, update callsites and tests.
17372 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17374 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17375 give events a chance to be handled by event probes when the pad
17378 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17380 * gst/gstevent.c: (gst_event_type_get_name),
17381 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17383 add string representations for event types
17385 2005-10-06 Wim Taymans <wim@fluendo.com>
17387 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17388 Don't use NULL pointers.
17390 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17392 * gst/gst_private.h:
17394 * gst/gstelement.c:
17396 * gst/gstpluginfeature.c:
17397 widen the debug category in output to fit the biggest one we have
17398 add a bus category and use it
17399 play with the colors
17400 fix up some categories
17402 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17404 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17405 add push activation of sink ghost pads.
17406 Andye, please verify
17408 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17410 * gst/gstutils.c: (gst_element_link_pads):
17411 fix a bug in the case where neither element has a pad
17412 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17413 add a test for that case
17415 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17417 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17418 emit have-data before checking for peers. This allows
17419 for probe handlers to connect elements. This helps autopluggers.
17420 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17422 add six checks, linked/unlinked with no/true/false probe
17424 2005-10-04 Wim Taymans <wim@fluendo.com>
17426 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17427 (gst_fake_sink_event), (gst_fake_sink_preroll),
17428 (gst_fake_sink_render), (gst_fake_sink_change_state):
17429 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17430 (gst_fake_src_get_property), (gst_fake_src_create),
17431 (gst_fake_src_stop):
17432 * gst/elements/gstidentity.c: (gst_identity_stop):
17433 Protect last_message with lock.
17435 2005-10-04 Edward Hervey <edward@fluendo.com>
17438 Added precision in the comments for GST_FORMAT_DEFAULT
17440 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17442 * tools/gst-launch.c: (main):
17443 Don't try to run erroneous pipelines.
17445 2005-10-04 Julien MOUTTE <julien@moutte.net>
17447 * gst/gstbus.c: We don't need this header.
17449 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17452 back to development
17454 === release 0.9.3 ===
17456 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17460 Releasing 0.9.3, "Unregistered"
17462 2005-10-03 Andy Wingo <wingo@pobox.com>
17464 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17465 whereby calling a pad's activatepush() function can start a thread
17466 that starts to push or pull before the pad gets the FLUSHING flag
17467 unset. Hack around it by holding the stream lock until the flag is
17468 set. Need to replace this with a proper solution. Together with
17469 the ghost pad fixes, this fixes mp3 playing/tagreading.
17471 * docs/design/part-gstghostpad.txt: Add a note about activation of
17472 proxy pads outside of ghost pads.
17474 * gst/gstghostpad.c: Implement the ghost pad activation design.
17476 2005-10-02 Andy Wingo <wingo@pobox.com>
17478 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17479 It is volatile, after all.
17481 * docs/design/part-gstghostpad.txt: Flesh out activation with
17484 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17487 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17490 Fix (unused) AM_CONDITIONAL tests.
17492 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17494 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17496 * gst/gstutils.c: (gst_pad_query_convert):
17497 Add assertion that makes sure src_val is >=0, just like
17498 gst_query_new_convert() has. (#315895)
17500 2005-09-30 Edward Hervey <edward@fluendo.com>
17502 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17503 Let's not iterate pads we're not interested in, it avoids getting
17504 sky-high refcounts on sinkpad.
17506 2005-09-30 Wim Taymans <wim@fluendo.com>
17508 * gst/gstelement.c: (gst_element_set_state),
17509 (gst_element_change_state):
17510 Small tweak, element in ASYNC remains ASYNC.
17512 2005-09-30 Wim Taymans <wim@fluendo.com>
17514 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17515 Only error is an error.
17517 * gst/gstbin.c: (gst_bin_change_state):
17520 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17521 Also call pad_block in pad alloc.
17523 * gst/gstutils.c: (gst_flow_get_name):
17526 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17528 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17529 (gst_base_src_get_range):
17530 Fix documentation typos. Add some more debug info.
17532 2005-09-29 David Schleef <ds@schleef.org>
17534 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17535 more end-user friendly.
17536 * tools/gst-inspect.c: (main): Check if command-line argument is
17537 a file and attempt to load that file as a plugin.
17539 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17541 * check/gst/gstbin.c:
17542 * check/states/sinks.c:
17543 fix tests for the new warning
17544 * check/gst/gstpipeline.c:
17545 add a test for pipeline and bus interaction
17546 * gst/gstelement.c:
17547 elements should be NULL if they get disposed; add a warning if not
17549 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17552 for 2.6 refcounting, make debug log more correct by printing
17553 the actual refcounts at the time of swap (Wim)
17555 2005-09-29 Andy Wingo <wingo@pobox.com>
17557 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17558 removes signal watches previously added via
17559 gst_bus_add_signal_watch.
17560 (gst_bus_add_signal_watch): Don't return the source id, just store
17561 it on the bus if there wasn't an id already.
17563 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17564 add_signal_watch and remove_signal_watch.
17566 2005-09-29 Edward Hervey <edward@fluendo.com>
17568 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17569 Better if we actually iterate the list :)
17571 2005-09-29 Wim Taymans <wim@fluendo.com>
17573 * check/gst/gstbin.c: (GST_START_TEST):
17574 Change for new bus API.
17576 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17577 (send_messages), (GST_START_TEST), (gstbus_suite):
17578 Change for new bus signal API.
17580 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17581 (gst_bus_source_prepare), (gst_bus_source_check),
17582 (gst_bus_create_watch), (gst_bus_add_watch_full),
17583 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17584 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17586 Remove support for multiple GSources operating on different
17587 message types as it is too complex and unneeded when using
17589 Added support for receiving signals from the bus.
17591 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17593 * docs/libs/tmpl/gstdataprotocol.sgml:
17594 * docs/manual/advanced-dataaccess.xml:
17595 * gst/elements/gstcapsfilter.c:
17597 rename filter-caps to caps property
17599 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17601 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17602 More robust fraction string parsing.
17604 * docs/pwg/appendix-porting.xml:
17605 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17607 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17609 * gst/gstcaps.c: (gst_caps_do_simplify):
17610 Thou shalt not free a structure and then continue using it
17611 in the next loop iteration.
17613 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17615 Add test case for caps simplification.
17617 2005-09-29 Wim Taymans <wim@fluendo.com>
17619 * check/gst/gstbin.c: (GST_START_TEST):
17622 2005-09-29 Wim Taymans <wim@fluendo.com>
17624 * check/gst/gstbin.c: (GST_START_TEST):
17627 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17628 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17629 (find_element), (gst_bin_sort_iterator_next),
17630 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17631 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17632 (gst_bin_change_state), (gst_bin_dispose):
17633 A bin does not have a bus, it gets the bus from the parent.
17635 * gst/gstelement.c: (gst_element_requires_clock),
17636 (gst_element_provides_clock), (gst_element_is_indexable),
17637 (gst_element_is_locked_state), (gst_element_change_state),
17638 (gst_element_set_bus_func):
17641 * gst/gstpipeline.c: (gst_pipeline_class_init),
17642 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17643 The pipeline provides a bus.
17645 2005-09-28 Johan Dahlin <johan@gnome.org>
17647 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17648 gst_structure_get_enum instead of gst_structure_get_int
17650 * gst/gststructure.c (gst_structure_get_enum): Impl.
17652 * gst/gststructure.h (gst_structure_get_enum): Add
17654 * docs/gst/gstreamer-sections.txt: Ditto
17656 * gst/gstmessage.c (gst_message_new_state_changed): Use
17657 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17658 which does introspection.
17659 Reviewed by Christian Schaller
17661 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17663 * gst/gstinfo.c: (gst_debug_log_default):
17664 don't do dummy g_strdup()s
17665 * libs/gst/controller/gstcontroller.c:
17666 (on_object_controlled_property_changed),
17667 (gst_controlled_property_new), (gst_controller_new_valist),
17668 (gst_controller_new_list),
17669 (gst_controller_remove_properties_valist), (gst_controller_set),
17670 (gst_controller_get), (gst_controller_sync_values),
17671 (gst_controller_get_value_array), (_gst_controller_class_init),
17672 (gst_controller_get_type):
17673 * libs/gst/controller/gstcontroller.h:
17674 * libs/gst/controller/gstinterpolation.c:
17675 (gst_controlled_property_find_timed_value_node):
17676 convert // to /**/ comments
17678 2005-09-28 Wim Taymans <wim@fluendo.com>
17680 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17681 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17682 (gst_bus_sync_signal_handler):
17684 Added async-message and sync-message signals to the bus.
17685 Added helper BusFunc to emit signals for all posted messages.
17687 * gst/gstmessage.c: (gst_message_type_get_name),
17688 (gst_message_type_to_quark), (gst_message_get_type):
17689 * gst/gstmessage.h:
17690 Register quarks for message names.
17692 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17694 * docs/libs/gstreamer-libs-sections.txt:
17695 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17696 (gst_controller_new_list):
17697 * libs/gst/controller/gstcontroller.h:
17698 added another constructor for language bindings
17700 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17702 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17706 * gst/gstinfo.c: (_gst_debug_init):
17707 slightly more readable color for refcount debugging
17709 2005-09-28 Wim Taymans <wim@fluendo.com>
17711 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17712 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17713 (find_element), (gst_bin_sort_iterator_next),
17714 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17715 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17716 (gst_bin_change_state), (gst_bin_dispose):
17717 Small doc fixes. get_clock -> provide_clock.
17719 * gst/gstelement.c: (gst_element_class_init),
17720 (gst_element_provides_clock), (gst_element_provide_clock),
17721 (gst_element_get_clock), (gst_element_commit_state),
17722 (gst_element_lost_state):
17723 * gst/gstelement.h:
17724 Make get/set_clock() symetric. Add provide_clock vmethod since
17725 that is actually what this function does.
17727 * gst/gstpipeline.c: (gst_pipeline_class_init),
17728 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17729 (gst_pipeline_get_clock):
17730 get_clock -> provide_clock.
17732 2005-09-28 Andy Wingo <wingo@pobox.com>
17734 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17735 lieu of real docs...
17737 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17739 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17741 * gst/elements/gstcapsfilter.c:
17742 * gst/elements/gstfakesink.c:
17743 * gst/elements/gstfakesrc.c:
17744 * gst/elements/gstfdsink.c:
17745 * gst/elements/gstfdsrc.c:
17746 * gst/elements/gstfilesink.c:
17747 * gst/elements/gstfilesrc.c:
17748 * gst/elements/gstidentity.c:
17749 * gst/elements/gsttee.c:
17750 * gst/elements/gsttypefindelement.c:
17751 Make element details static.
17753 2005-09-28 Wim Taymans <wim@fluendo.com>
17755 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17756 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17757 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17758 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17759 (gst_bin_change_state), (gst_bin_dispose):
17760 Some documentation updates.
17761 Clean up dispose handlers.
17763 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17764 * gst/gstpad.c: (gst_pad_dispose):
17765 Clean up dispose handler.
17767 * gst/gstpipeline.c: (gst_pipeline_change_state):
17768 Removed spurious UNLOCK.
17770 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17772 * docs/gst/gstreamer-sections.txt:
17773 * gst/base/gstbasesrc.h:
17774 * gst/gstelement.h:
17778 * gst/gstpipeline.c:
17779 * gst/gstpipeline.h:
17782 added two new functions to the docs
17783 documents all undocumented GstXXXFlags
17784 completed some incomplete docs
17786 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17788 * gst/gstbin.c: (gst_bin_dispose):
17789 * gst/gstelement.c: (gst_element_dispose):
17790 remove now useless and leaky resurrection code in dispose
17791 * gst/base/gstbasesrc.c: (gst_base_src_init):
17792 * gst/gstelementfactory.c: (gst_element_factory_create):
17793 * gst/gstobject.c: (gst_object_set_parent):
17796 2005-09-27 Wim Taymans <wim@fluendo.com>
17798 * docs/design/part-TODO.txt:
17801 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17802 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17803 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17804 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17805 (gst_bin_change_state):
17806 * gst/gstelement.h:
17807 Remove element variable, we keep element info in the iterator now.
17809 2005-09-27 Andy Wingo <wingo@pobox.com>
17811 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17814 2005-09-27 Wim Taymans <wim@fluendo.com>
17816 * check/gst/gstbin.c: (GST_START_TEST):
17817 Enable check that works now.
17819 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17820 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17821 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17822 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17823 (gst_bin_change_state):
17825 Redid the state change algorithm using a topological sort algo.
17826 Handles all cases correctly.
17827 Exposed iterator for state change order.
17829 * gst/gstelement.h:
17830 Temp storage for state changes. Need to get rid of this soon.
17832 2005-09-27 Wim Taymans <wim@fluendo.com>
17834 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17835 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17836 (link_fold_func), (gst_pad_proxy_setcaps):
17837 Leak fixes, the fold functions need to unref the passed object and
17838 _get_parent_*() returns ref to parent.
17840 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17842 * check/gst/gstbuffer.c: (test_make_writable):
17843 Plug leak in test case and fix 'make check-valgrind'
17845 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17847 * gst/gstbuffer.c: (gst_subbuffer_init):
17848 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17849 works correctly in all circumstances (we could have just copied
17850 the parent buffer's readonly flag, but conceptually it seems
17851 cleaner to mark all subbuffers as read-only). (based on patch
17852 by Alessandro Decina, #314710).
17854 * check/gst/gstbuffer.c: (create_read_only_buffer),
17855 (test_make_writable), (test_subbuffer_make_writable),
17857 Add some tests for gst_buffer_make_writable().
17859 2005-09-27 Wim Taymans <wim@fluendo.com>
17861 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17862 use gst_object_has_ancestor().
17864 * gst/gstobject.c: (gst_object_has_ancestor):
17866 gst_object_has_ancestor() copied from gstbin.c as it is a
17869 * tests/instantiate/create.c: (create_all_elements):
17870 * tests/lat.c: (handoff_src), (handoff_sink):
17871 * tests/sched/runxml.c: (main):
17872 * tests/seeking/seeking1.c: (main):
17873 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17875 Fix compilation of some tests.
17877 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17880 Remove comment. GST_TYPE_G_ERROR is here to stay,
17881 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17882 (#316961, #300610).
17884 2005-09-26 Wim Taymans <wim@fluendo.com>
17886 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17887 Added check that shows error in state change order.
17889 2005-09-26 Wim Taymans <wim@fluendo.com>
17891 * gst/gstbin.c: (gst_bin_change_state):
17892 Make state change function use 3 queues again, we were
17893 adding elements in the wrong order.
17895 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17898 * gst/gstpad.c: (gst_pad_dispose):
17899 Added some debug info first.
17901 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17903 * docs/design/draft-push-pull.txt:
17904 * docs/design/part-events.txt:
17905 * docs/design/part-overview.txt:
17906 * docs/design/part-scheduling.txt:
17907 Replace all _pull_region() with _pull_range()
17909 2005-09-26 Andy Wingo <wingo@pobox.com>
17911 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17913 * check/gst-libs/controller.c: Update for controller api change.
17916 * tests/Makefile.am:
17917 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17918 over by GLib bug 118439.
17920 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17921 routines to a function.
17923 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17925 * libs/gst/controller/gsthelper.c:
17926 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17927 (gst_object_sync_values): Renamed from sink_values. Ugh.
17929 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17931 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17932 Renamed from controller_key, as it is exported.
17934 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17936 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17941 * gst/gstpadtemplate.h:
17944 * gst/gstqueryutils.c:
17945 * gst/gstqueryutils.h:
17946 remove queryutils headers after moving the two used functions
17947 to gstquery. also fixes build problem for gstsiddec
17949 2005-09-26 Michael Smith <msmith@fluendo.com>
17951 * tools/gst-launch.1.in:
17952 Correct documentation in manpage of debug syntax
17954 2005-09-26 Wim Taymans <wim@fluendo.com>
17956 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17957 (gst_base_src_is_seekable), (gst_base_src_change_state):
17958 Some more debugging info.
17960 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17962 * docs/gst/gstreamer-sections.txt:
17963 * gst/base/gstbasetransform.h:
17967 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17969 * docs/gst/.cvsignore:
17970 * docs/gst/tmpl/.cvsignore:
17971 * docs/gst/tmpl/gstpipeline.sgml:
17972 * docs/gst/tmpl/gstplugin.sgml:
17973 * gst/gstpipeline.c:
17976 inlined the last two docs files
17977 removed the tmpl directory from cvs (no more conflicts here!)
17979 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17981 * docs/gst/gstreamer-sections.txt:
17982 * docs/gst/tmpl/.cvsignore:
17983 * docs/gst/tmpl/gstpad.sgml:
17984 * docs/gst/tmpl/gstpadtemplate.sgml:
17986 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17987 (gst_pad_finalize), (gst_pad_set_pad_template):
17989 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17990 (gst_pad_template_class_init), (gst_pad_template_init),
17991 (gst_pad_template_dispose), (name_is_valid),
17992 (gst_static_pad_template_get), (gst_pad_template_new),
17993 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17994 (gst_pad_template_pad_created):
17995 * gst/gstpadtemplate.h:
17996 inlined two more docs
17997 factored gstpadtemplate out of gstpad
17999 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18001 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18002 (test_children_state_change_order_semi_sink):
18003 Fix test case: we can't rely on a fixed state change order when
18004 going from READY => PAUSED because the sink might commit its
18005 new state first when the first buffer created by the source
18006 reaches the sink before the source has finished its change state.
18007 (Test case still fails at times, see #316856, comment 5 onwards)
18009 2005-09-24 Wim Taymans <wim@fluendo.com>
18011 * docs/design/part-events.txt:
18012 * docs/design/part-gstbus.txt:
18013 * docs/design/part-gstpipeline.txt:
18014 * docs/design/part-messages.txt:
18015 * docs/design/part-overview.txt:
18016 * docs/design/part-segments.txt:
18020 * gst/gstelement.c:
18023 * gst/gstiterator.c:
18024 Various documentation updates.
18026 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18029 Well, that's embarassing. Luckily we weren't using
18030 GST_CLOCK_DIFF anywhere.
18032 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18034 * common/gtk-doc.mak:
18035 don't fail on building XML, FC4 slave shows a bunch of doc
18036 missing bits that I don't get
18038 * gst/gstpipeline.c:
18039 * gst/gststructure.c:
18042 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18044 * docs/design/part-gstbin.txt:
18045 * docs/design/part-gstbus.txt:
18047 Add blurb about how the bus goes into flushing mode and
18048 drops all messages when its bin goes from READY into NULL
18051 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18053 * docs/gst/gstreamer-sections.txt:
18054 * gst/gststructure.c: (gst_structure_get_clock_time):
18055 * gst/gststructure.h:
18056 add a method to get a GstClockTime out of a structure
18058 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18060 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18061 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18062 Added test to check state change order in bins (can still be made
18063 to fail here under heavy disk load; bails out with 'Push on pad
18064 fakesink:sink0, but it was not activated in push mode').
18066 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18067 Fix state change order when there is only a semi sink (#316856)
18069 * gst/gstbus.c: (gst_bus_class_init):
18070 Use _class_peek_parent(), not _class_ref(); fix docs to say
18071 'default main context' instead of 'mainloop' where that is
18074 * gst/gstelement.c: (gst_element_commit_state),
18075 (gst_element_set_state):
18076 Fix typos in debug messages
18078 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18081 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18082 * gst/gstpluginfeature.c:
18084 various doc updates
18085 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18086 change an assert into an error until it gets fixed properly
18088 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18090 * docs/gst/gstreamer-sections.txt:
18091 * docs/gst/tmpl/.cvsignore:
18092 * docs/gst/tmpl/gstelement.sgml:
18093 * docs/gst/tmpl/gstinfo.sgml:
18094 * docs/gst/tmpl/gstobject.sgml:
18095 * gst/gstelement.c:
18096 * gst/gstelement.h:
18099 * gst/gstobject.c: (gst_object_class_init):
18101 inlined 3 more biiiig doc files and added some missing docs on the fly
18103 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18105 * check/gst/.cvsignore:
18106 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18107 * gst/gstregistryxml.c: (load_plugin),
18108 (gst_registry_xml_save_plugin):
18109 put back source in registry. add checks for find_plugin.
18110 * testsuite/states/bin.c: (assert_state), (empty_bin),
18111 (test_adding_one_element), (main):
18112 * testsuite/states/locked.c: (main):
18113 some compile/run fixes
18115 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18117 * check/gst/gstvalue.c: (GST_START_TEST):
18118 fix leaks in the test itself
18120 2005-09-22 Wim Taymans <wim@fluendo.com>
18122 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18123 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18124 (gst_base_sink_query):
18125 Prepare for more accurate position reporting and query
18128 * gst/gstelement.c: (gst_element_send_event),
18129 (gst_element_set_state):
18132 2005-09-22 Wim Taymans <wim@fluendo.com>
18134 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18135 (gst_query_parse_segment):
18137 More documentation.
18138 Add segment query for future use.
18140 2005-09-22 Wim Taymans <wim@fluendo.com>
18142 * gst/gstbin.c: (gst_bin_add_func):
18143 Some more debug info.
18145 * gst/gstelement.c: (gst_element_send_event):
18146 Simplify send_event
18148 * gst/gstelement.h:
18149 Don't know how flags got broken.
18154 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18156 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18157 Add simplistic test suite for GST_TYPE_DATE serialisation and
18160 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18162 * docs/gst/gstreamer-sections.txt:
18163 * gst/gststructure.c: (gst_structure_set_valist),
18164 (gst_structure_get_date):
18165 * gst/gststructure.h:
18166 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18167 (gst_date_copy), (gst_value_compare_date),
18168 (gst_value_serialize_date), (gst_value_deserialize_date),
18169 (gst_value_transform_date_string),
18170 (gst_value_transform_string_date), (_gst_value_initialize):
18172 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18173 bunch of utility functions along with a hack that checks that
18174 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18175 is required. Part of the grand scheme in #170777.
18177 2005-09-22 Andy Wingo <wingo@pobox.com>
18179 * gst/gstconfig.h.in: Psych out gtk-doc.
18181 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18183 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18185 * tools/gst-inspect.c (print_element_list): Plug some
18186 inconsequential leaks.
18188 * gst/gstregistry.c (gst_registry_get_default): Doc.
18190 * check/gst/gstplugin.c:
18191 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18192 * gst/gstelementfactory.c (gst_element_factory_create):
18193 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18196 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18197 (gst_plugin_feature_load): Doc, don't eat refs.
18199 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18200 (gst_plugin_list_free): Doc.
18201 (gst_plugin_load_file): Doc updates.
18203 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18204 accessors returning refcounted objects, return a ref.
18206 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18207 accessor for caps. IDEMPOTENCE. Oh yes.
18209 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18211 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18213 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18214 (_gst_debug_register_funcptr):
18215 Add mutex to serialise access to the hash table with
18216 the function pointer => function name string mapping;
18217 make that hash table static scope (#316809).
18219 * gst/registries/.cvsignore:
18220 Remove left-over file.
18222 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18224 * docs/pwg/appendix-porting.xml:
18225 And something about newsegment events and caps-on-buffers to
18226 the porting guide (feel free to improve).
18228 2005-09-21 Andy Wingo <wingo@pobox.com>
18230 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18231 data and event probes on the same pad.
18232 (test_buffer_probe_once): Test that removing probes from within
18233 the probe functions works.
18235 2005-09-21 Andy Wingo <wingo@pobox.com>
18237 * check/gst/gstutils.c: New file.
18238 (test_buffer_probe_n_times): A simple buffer probe test. More to
18241 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18242 have-data::buffer, not have-data.
18243 (gst_pad_add_event_probe): Likewise for have-data::event.
18244 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18245 peer' isn't quite right yet though.
18246 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18247 (gst_pad_remove_data_probe): Change to take the guint handler_id
18248 as their arg, not the function+data, which is more glib-like.
18250 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18251 the signal emission to indicate if the data is a buffer or an
18253 (gst_pad_get_type): Initialize buffer and event quarks.
18254 (gst_pad_class_init): have-data is now a detailed signal, yes it
18257 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18259 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18260 * gst/gstutils.c: (gst_util_set_value_from_string),
18261 (gst_util_set_object_arg):
18262 Don't put functional code in g_return_if_fail() or
18263 g_return_val_if_fail() statements, otherwise things will
18264 break when G_DISABLE_CHECKS is defined during compilation.
18266 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18268 * docs/gst/tmpl/.cvsignore:
18269 * docs/gst/tmpl/gstvalue.sgml:
18272 inlied another one and added some obvious docs
18274 2005-09-21 Wim Taymans <wim@fluendo.com>
18276 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18277 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18278 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18279 (gst_fdsrc_get_property), (gst_fdsrc_create):
18280 * gst/elements/gstfdsrc.h:
18281 Properly implement fdsrc. Removed signal and timeout,
18282 better implemented somewhere else.
18284 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18286 * docs/gst/tmpl/.cvsignore:
18287 * docs/gst/tmpl/gstimplementsinterface.sgml:
18288 * gst/gstinterface.c:
18291 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18293 * docs/gst/gstreamer-sections.txt:
18294 * docs/gst/tmpl/.cvsignore:
18295 * docs/gst/tmpl/gstenumtypes.sgml:
18296 remove obsolete doc file
18298 2005-09-21 David Schleef <ds@schleef.org>
18300 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18301 little beer, fix a little leak.
18303 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18305 * docs/gst/gstreamer-docs.sgml:
18306 * docs/gst/gstreamer-sections.txt:
18307 * docs/gst/tmpl/.cvsignore:
18311 * gst/gstelement.h:
18312 * gst/gstindex.c: (gst_index_class_init):
18314 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18315 (gst_index_factory_class_init), (gst_index_factory_init),
18316 (gst_index_factory_finalize), (gst_index_factory_new),
18317 (gst_index_factory_destroy), (gst_index_factory_find),
18318 (gst_index_factory_create), (gst_index_factory_make):
18319 * gst/gstindexfactory.h:
18320 * gst/gstpluginfeature.c:
18321 * gst/gstpluginfeature.h:
18322 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18323 more docs inlined, splitted gstindex.{c,h}
18325 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18327 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18330 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18332 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18333 Set sync to FALSE by default.
18335 2005-09-20 Wim Taymans <wim@fluendo.com>
18337 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18338 (gst_base_sink_init):
18339 Make sync property settable from subclass.
18341 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18342 (gst_fake_sink_change_state):
18343 Set sync to FALSE by default.
18345 2005-09-20 Wim Taymans <wim@fluendo.com>
18347 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18348 * tools/gst-launch.c: (main):
18349 The timeout handler should have lower priority than the source
18350 so we don't timeout before popping a message with 0 timeout.
18351 Dump error messages after failed state change.
18353 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18355 * tools/gst-inspect.c: (print_element_properties_info):
18358 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18360 * check/gst/gstevent.c:
18361 * gst/elements/gstfakesink.c:
18362 * gst/elements/gstfakesink.h:
18363 remove the sync property from fakesink.
18364 has the side effect of setting sync TRUE
18365 for fakesink, which is a change. Anyone who knows how
18366 to fix this nicely in a GObject-y way, feel free.
18368 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18370 * docs/gst/gstreamer-docs.sgml:
18371 remove probe refsection
18373 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18375 * check/Makefile.am:
18376 disable valgrinding the controller test again
18377 * docs/gst/gstreamer-sections.txt:
18378 update for api-changes
18380 2005-09-20 Wim Taymans <wim@fluendo.com>
18382 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18383 (gst_base_sink_set_property), (gst_base_sink_get_property),
18384 (gst_base_sink_do_sync):
18385 * gst/base/gstbasesink.h:
18386 Added sync property to basesink to disable clock sync.
18388 2005-09-20 Andy Wingo <wingo@pobox.com>
18390 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18391 eating the caller's refcount.
18393 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18394 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18397 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18398 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18399 of GLib 2.8 public, so we can know which refcount to check in
18402 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18403 (gst_object_init): Only set the gst refcount if we're going ahead
18404 with the refcount hack.
18406 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18408 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18409 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18410 more leaks plumbed, added more debug-logging
18414 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18416 * gst/gstmessage.c:
18417 remove include of gstmemchunk.h
18419 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18421 * gst/gstclock.c: (_gst_clock_id_free):
18422 Commit from the Political Party For More Atomic CVS Commits,
18423 so that people don't waste too much of their day fishing
18424 out obvious leaks out of massive commits.
18425 Oh, and fix a pretty damn obvious leak in the memchunk
18428 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18430 * check/Makefile.am:
18431 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18432 plug mem-leak, re-add to valgrindable tests
18434 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18437 unbreak the build for those who have chronic arthritis
18438 and typing "make check" is just too taxing on the hands
18440 2005-09-20 Andy Wingo <wingo@pobox.com>
18442 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18443 really want it out, you should fix plugins at the same time.
18445 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18448 * docs/gst/gstreamer-sections.txt:
18450 added missing symbols to api docs
18451 disable ref-count hack if we have glib >= 2.8
18453 2005-09-19 David Schleef <ds@schleef.org>
18455 * docs/gst/Makefile.am: Ignore a few more internal headers
18456 * docs/gst/gstreamer-docs.sgml: Remove old sections
18457 * docs/gst/gstreamer-sections.txt: Remove old sections
18458 * docs/gst/tmpl/gstobject.sgml: update
18459 * docs/gst/tmpl/gstplugin.sgml: update
18460 * docs/gst/tmpl/gstpluginfeature.sgml: update
18461 * docs/random/ds/0.9-suggested-changes: update.
18462 * gst/Makefile.am: remove memchunk and trashstack, since they're
18464 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18465 * gst/gst.h: don't include some headers
18466 * gst/gstchildproxy.c: add gstmarshal.h
18467 * gst/gstclock.c: Don't use memchunks
18468 * gst/gstminiobject.c: Add some docs
18469 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18470 * gst/gstobject.h: same
18471 * gst/gstplugin.c: include gstmacros.h
18472 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18473 * gst/gstquery.c: don't use memchunks
18474 * gst/gstregistry.c: rename gst_registry_deinit()
18475 * gst/gstregistry.h: same
18477 2005-09-19 David Schleef <ds@schleef.org>
18479 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18480 * docs/libs/gstreamer-libs-sections.txt:
18481 * docs/libs/tmpl/gstgetbits.sgml:
18482 * docs/libs/tmpl/gstputbits.sgml:
18484 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18486 * win32/gstenumtypes.c:
18487 * win32/gstenumtypes.h:
18490 2005-09-19 Wim Taymans <wim@fluendo.com>
18492 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18493 Automatically PAUSE and RESUME a pipeline when a flushing seek
18496 2005-09-19 Andy Wingo <wingo@pobox.com>
18498 * gst/gstregistry.h: Spacing fixen.
18500 2005-09-19 Wim Taymans <wim@fluendo.com>
18502 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18503 Handle state change failure more correctly.
18505 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18507 * check/Makefile.am:
18508 * check/pipelines/cleanup.c: (run_pipeline):
18509 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18511 enable cleanup again after fixing the leak
18513 some more info on docs
18515 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18517 * check/Makefile.am:
18518 re-enable tests now that leaks are plugged
18520 * check/gst/gstbin.c:
18521 * check/gst/gstpipeline.c:
18522 add some more tests while fixing leaks
18523 * common/check.mak:
18524 make sure binaries are uptodate when valgrinding/gdbing
18526 * gst/gstelementfactory.c:
18527 remove a ref too many, and add a FIXME for when we get
18528 round to disposing of classes
18530 fix the refcounting when loading a plugin from a file and
18531 the code pretends that the pointer is the same even though
18532 of course it can change
18533 * gst/gstpluginfeature.c:
18534 unref plugins marked cached (a bit confusing as a name)
18535 as the docs state should be done
18536 various doc additions to explain refcounting
18537 * gst/gstregistry.c:
18538 * gst/gstregistryxml.c:
18541 2005-09-19 Wim Taymans <wim@fluendo.com>
18543 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18544 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18545 (send_messages), (GST_START_TEST), (gstbus_suite):
18546 * check/gst/gstpipeline.c: (GST_START_TEST):
18547 * check/pipelines/cleanup.c: (run_pipeline):
18548 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18550 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18551 (gst_bus_source_check), (gst_bus_source_dispatch),
18552 (gst_bus_create_watch), (gst_bus_add_watch_full),
18553 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18555 * tools/gst-launch.c: (event_loop):
18556 * tools/gst-md5sum.c: (event_loop):
18557 GstBusHandler -> GstBusFunc, return value has the same meaning as
18558 any other GSource (FALSE == remove source).
18559 _add_watch() and _add_watch_full() now take a MessageType mask to
18560 only handle specific types of messages.
18561 _poll() returns the GstMessage instead of the message type to avoid
18563 _have_pending() takes a MessageType mask now too.
18564 Added testsuite for multiple bus watches.
18565 Fix testsuites and applications for new bus API.
18567 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18569 * check/Makefile.am:
18570 mark a bunch of the tests as to fix until we fix them
18572 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18574 * common/check.mak:
18575 use GST_PLUGIN settings for valgrind tests as well, so we're
18576 valgrinding the correct thing
18577 * gst/gst.c: (init_post):
18580 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18582 * gst/gst.c: (init_post), (gst_deinit):
18583 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18584 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18585 * gst/gstindex.c: (gst_index_factory_class_init),
18586 (gst_index_factory_finalize):
18587 * gst/gstobject.c: (gst_object_dispose):
18588 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18589 (gst_plugin_load_file), (gst_plugin_desc_free):
18590 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18591 (gst_plugin_feature_finalize):
18592 * gst/gstregistry.c: (gst_registry_class_init),
18593 (gst_registry_init), (gst_registry_finalize),
18594 (gst_registry_get_default), (gst_registry_deinit):
18595 * gst/gstregistry.h:
18596 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18597 various cleanups and memleak plugging. make valgrind is happy now.
18599 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18601 * common/check.mak:
18602 add a check-valgrind target
18604 2005-09-18 David Schleef <ds@schleef.org>
18606 * tools/gst-inspect.c: Revert the GOption code.
18608 2005-09-17 David Schleef <ds@schleef.org>
18610 * check/Makefile.am: Fix environment variables.
18611 * check/gst/gstplugin.c: Fix for API changes.
18612 * tools/gst-inspect.c: Fix for API changes.
18613 * tools/gst-xmlinspect.c: Fix for API changes.
18614 * gst/gstelementfactory.c:
18617 * gst/gstpluginfeature.c:
18618 * gst/gstpluginfeature.h:
18619 * gst/gstregistry.c:
18620 * gst/gstregistry.h:
18621 * gst/gstregistryxml.c:
18622 * gst/gsttypefind.c:
18623 * gst/gsttypefindfactory.c:
18624 * gst/indexers/gstfileindex.c:
18625 * gst/indexers/gstmemindex.c:
18626 * gst/schedulers/Makefile.am:
18627 Change registry to keep track of both plugins and features,
18628 removing the feature tracking from plugins themselves.
18630 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18632 * check/Makefile.am:
18633 * tools/gst-register.1.in:
18634 remove gst-register
18636 2005-09-15 David Schleef <ds@schleef.org>
18638 * check/gst/gstplugin.c:
18639 * gst/gstelementfactory.c:
18641 * gst/gstpluginfeature.c:
18642 * gst/gstregistry.c:
18643 Getting tired of debugging. Disabled all the unreffing of
18644 plugins and features, which fixes the segfaults, but of
18645 course leaks like crazy. At least playbin works.
18647 2005-09-15 David Schleef <ds@schleef.org>
18649 * check/gst/gstplugin.c: (register_check_elements),
18650 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18652 * gst/elements/gsttypefindelement.c: Fix refcounting.
18653 * gst/gsttypefind.c:
18654 * gst/gsttypefindfactory.c:
18655 * gst/gsttypefindfactory.h:
18657 2005-09-15 David Schleef <ds@schleef.org>
18659 * gst/gstindex.c: get refcounting correct.
18660 * gst/gstregistry.c: Handle the case where a feature/plugin is
18663 2005-09-15 David Schleef <ds@schleef.org>
18665 * check/Makefile.am:
18666 * check/gst/gstplugin.c: Add test
18667 * gst/gstplugin.c: Fix problems noticed by testsuite
18669 * gst/gstregistry.c:
18670 * gst/gstregistry.h:
18672 2005-09-15 David Schleef <ds@schleef.org>
18674 * gst/gstplugin.c: Implement semi-decent recounting and locking
18675 in plugins and plugin features.
18677 * gst/gstpluginfeature.c:
18678 * gst/gstpluginfeature.h:
18679 * gst/gstregistry.c:
18681 2005-09-15 Michael Smith <msmith@fluendo.com>
18683 * gst/gstregistry.c: (gst_registry_get_feature_list):
18684 Implement this. Makes oggdemux work; decodebin still broken.
18686 2005-09-14 David Schleef <ds@schleef.org>
18688 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18690 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18691 * gst/check/Makefile.am:
18692 * libs/gst/controller/Makefile.am:
18693 * libs/gst/dataprotocol/Makefile.am:
18695 2005-09-14 David Schleef <ds@schleef.org>
18697 * configure.ac: Remove getbits library. Nothing uses it, and
18698 it should be in something like liboil if someone did want
18700 * libs/gst/Makefile.am:
18701 * libs/gst/getbits/Makefile.am:
18702 * libs/gst/getbits/gbtest.c:
18703 * libs/gst/getbits/getbits.c:
18704 * libs/gst/getbits/getbits.h:
18705 * libs/gst/getbits/gstgetbits_generic.c:
18706 * libs/gst/getbits/gstgetbits_i386.s:
18707 * libs/gst/getbits/gstgetbits_inl.h:
18709 2005-09-14 David Schleef <ds@schleef.org>
18711 * gst/Makefile.am: Dist glib-compat.h
18713 2005-09-14 David Schleef <ds@schleef.org>
18715 * configure.ac: Remove gst/registries, since it's no longer used.
18716 * gst/registries/Makefile.am:
18717 * gst/registries/gstlibxmlregistry.c:
18718 * gst/registries/gstlibxmlregistry.h:
18719 * gst/registries/gstxmlregistry.c:
18720 * gst/registries/gstxmlregistry.h:
18721 * gst/registries/registrytest.c:
18723 2005-09-14 David Schleef <ds@schleef.org>
18725 * gst/glib-compat.h:
18726 * gst/gstregistryxml.c:
18727 Convergence is near. Seriously.
18729 2005-09-14 David Schleef <ds@schleef.org>
18731 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18732 * gst/glib-compat.h:
18733 Attempt #4 to appease the buildbots.
18735 2005-09-14 David Schleef <ds@schleef.org>
18737 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18740 2005-09-14 David Schleef <ds@schleef.org>
18742 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18745 2005-09-14 David Schleef <ds@schleef.org>
18747 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18750 2005-09-14 David Schleef <ds@schleef.org>
18752 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18753 * gst/glib-compat.h: Add some functions that are in newer versions
18754 of glib than we care to require.
18755 * gst/gstregistryxml.c: Use them.
18757 2005-09-14 David Schleef <ds@schleef.org>
18759 * po/POTFILES.in: remove gst-register.c
18761 2005-09-14 David Schleef <ds@schleef.org>
18763 * docs/gst/gstreamer-docs.sgml:
18764 * docs/gst/gstreamer-sections.txt:
18765 * docs/gst/gstreamer.types:
18766 * docs/gst/tmpl/gstelement.sgml:
18767 * docs/gst/tmpl/gstplugin.sgml:
18768 * docs/gst/tmpl/gstpluginfeature.sgml:
18769 Documentation updates for registry changes.
18771 2005-09-14 David Schleef <ds@schleef.org>
18773 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18774 because we don't require glib-2.8.
18776 2005-09-14 David Schleef <ds@schleef.org>
18778 * gst/gstregistryxml.c: Added. Essentially moved out of the
18779 registries directory.
18781 2005-09-14 David Schleef <ds@schleef.org>
18783 * check/Makefile.am:
18784 * check/generic/states.c:
18788 * gst/gst_private.h:
18789 * gst/gstelementfactory.c:
18794 * gst/gstpluginfeature.c:
18795 * gst/gstpluginfeature.h:
18796 * gst/gstregistry.c:
18797 * gst/gstregistry.h:
18798 * gst/gstregistrypool.c: remove
18799 * gst/gstregistrypool.h: remove
18800 * gst/gsttypefind.c:
18801 * gst/gsttypefindfactory.c:
18803 * tools/Makefile.am:
18804 * tools/gst-compprep.c:
18805 * tools/gst-inspect.c:
18806 * tools/gst-register.c: remove
18807 * tools/gst-xmlinspect.c:
18808 Registry rewrite. Changes registry from being a file created
18809 by a tool into a simple cache file created automatically by
18810 libgstreamer. Removed gst-register (because it's no longer
18811 needed). Remove registry pools, because we only have one
18812 registry implementation (XML). Fix up other subsystems as
18815 2005-09-13 Michael Smith <msmith@fluendo.com>
18817 * gst/gstconfig.h.in:
18818 Don't Use windows linking attributes for MinGW. Fixes #316157
18820 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18822 * gst/gstutils.c: (set_state_async_thread_func),
18823 (gst_element_set_state_async):
18824 Apparently people think it's better if this function doesn't
18825 try to set the state to whatever state was asked for on the first
18826 call to this function for any object. Seriously.
18828 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18830 * check/gst/gstpipeline.c: (GST_START_TEST):
18831 * docs/gst/gstreamer-sections.txt:
18832 * gst/gstutils.c: (set_state_async_thread_func),
18833 (gst_element_set_state_async):
18835 add a "gst_element_set_state_async" method that
18836 sets the state and starts a thread to make sure the state
18837 change completes as best as it can
18839 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18841 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18842 codify design+behaviour in testsuite after discussion
18844 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18846 * docs/gst/tmpl/gstelement.sgml:
18847 * docs/manual/appendix-quotes.xml:
18849 * gst/gstelement.c: (gst_element_set_state):
18852 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18854 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18855 (gst_base_transform_prepare_output_buf),
18856 (gst_base_transform_handle_buffer):
18857 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18858 (gst_capsfilter_prepare_buf):
18859 Remove the requirement for sub-classes to call the parent
18860 implementation of prepare_output_buffer with a wrapper function.
18862 * gst/gsttaglist.h:
18863 * gst/gsttagsetter.h:
18864 Fix #define wrapper
18866 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18868 * docs/gst/gstreamer-sections.txt:
18871 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18873 * docs/gst/gstreamer-sections.txt:
18874 * docs/gst/tmpl/gstelement.sgml:
18875 * docs/gst/tmpl/gstplugin.sgml:
18876 * gst/gstminiobject.c:
18878 docs now stop throwing warnings
18880 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18882 * docs/gst/gstreamer-sections.txt:
18883 * docs/gst/gstreamer.types:
18884 * docs/gst/tmpl/gstpad.sgml:
18885 * docs/gst/tmpl/gsttypes.sgml:
18886 * gst/base/gstadapter.h:
18887 * gst/base/gstbasesink.h:
18888 * gst/base/gstbasesrc.h:
18894 * gst/gstelement.h:
18896 * gst/gstmessage.h:
18898 * gst/gststructure.c:
18899 * gst/registries/gstlibxmlregistry.h:
18900 various documentation fixes
18902 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18904 * docs/gst/gstreamer-sections.txt:
18905 * docs/gst/tmpl/gstvalue.sgml:
18906 rearrange gstvalue section
18907 * gst/gstutils.c: (gst_element_state_get_name):
18909 * gst/gstvalue.c: (_gst_value_initialize):
18913 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18915 * check/gst-libs/controller.c:
18916 Header include fix.
18917 * gst/base/gstbasetransform.c:
18918 (gst_base_transform_default_prepare_buf),
18919 (gst_base_transform_handle_buffer):
18920 * gst/base/gstbasetransform.h:
18921 Some more basetransform changes and fixes to enable sub-classes
18922 that modify buffer metadata only.
18923 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18924 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18925 (gst_capsfilter_prepare_buf):
18926 If the output pad has fixed allowed caps and input buffers
18927 don't have any, set the fixed caps on outgoing buffers.
18929 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18930 * check/elements/identity.c: (GST_START_TEST):
18931 Make the error a little clearer when the test fails because
18932 identity made a copy of the buffer.
18933 * docs/gst/gstreamer-sections.txt:
18934 New symbols in gstbasetransform.h
18935 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18936 (gst_base_transform_init), (gst_base_transform_transform_size),
18937 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18938 (gst_base_transform_default_prepare_buf),
18939 (gst_base_transform_get_unit_size),
18940 (gst_base_transform_buffer_alloc),
18941 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18942 (gst_base_transform_change_state),
18943 (gst_base_transform_set_passthrough),
18944 (gst_base_transform_set_in_place),
18945 (gst_base_transform_is_in_place):
18946 * gst/base/gstbasetransform.h:
18947 Change BaseTransform to separate in_place operate from same_caps
18948 output. in_place implies that the element can perform the transform
18949 on incoming buffers in-place, even if the caps on the output are
18951 Sub-class elements can now implement special buffer allocation
18952 methods for outgoing buffers if they wish to.
18953 Big documentation addition.
18954 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18955 * gst/elements/gstelements.c:
18956 Changes for basetransform modifications.
18957 * gst/elements/Makefile.am:
18958 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18959 Compile fix. Extra debug output.
18961 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18963 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18965 add tests for valid pad naming
18966 * gst/check/gstcheck.c: (gst_check_log_message_func),
18967 (gst_check_log_critical_func):
18969 remove printing of code, it is fragile when the code contains
18970 % and the line number is enough info
18971 * gst/check/gstcheck.h:
18972 * gst/gstpad.c: (gst_pad_template_new):
18975 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18978 say what CHECK flags we use
18979 * docs/libs/gstreamer-libs.types:
18980 * libs/gst/controller/Makefile.am:
18981 * libs/gst/controller/gst-controller.c:
18982 * libs/gst/controller/gst-controller.h:
18983 * libs/gst/controller/gst-helper.c:
18984 * libs/gst/controller/gst-interpolation.c:
18985 * libs/gst/controller/gstcontroller.c:
18986 * libs/gst/controller/gsthelper.c:
18987 * libs/gst/controller/gstinterpolation.c:
18988 * tools/gst-inspect.c: (print_plugin_info):
18989 we don't use dashes in header names
18991 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18993 * check/Makefile.am:
18994 * check/gst/.cvsignore:
18995 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18996 (gst_pipeline_suite), (main):
18997 adding a test for pipelines and state changes
18998 * gst/gstutils.c: (get_state_func):
19000 * gstreamer.spec.in:
19003 2005-09-08 Michael Smith <msmith@fluendo.com>
19005 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19006 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19007 (gst_file_src_is_seekable), (gst_file_src_get_size),
19008 (gst_file_src_start):
19009 * gst/elements/gstfilesrc.h:
19010 Various fixes for unseekable, unmmapable, and non-normal files, so
19011 that fallback to read() rather than mmap() works.
19012 * gst/gstevent.c: (gst_event_new_newsegment):
19013 Allow newsegment events with segment_start == segment_end, as will
19014 correctly happen if you use filesrc on a zero-size file, for
19017 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19019 * gst/gstplugin.c: (gst_plugin_load_file):
19020 Call g_module_close when we don't load the module
19022 * gst/registries/gstlibxmlregistry.c:
19023 (gst_xml_registry_get_property):
19024 Port leak fix from 0.8
19026 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19028 * docs/gst/gstreamer-docs.sgml:
19029 * docs/gst/tmpl/.cvsignore:
19030 * docs/gst/tmpl/gsttrace.sgml:
19031 * docs/gst/tmpl/gsttrashstack.sgml:
19034 * gst/gstelement.h:
19036 * gst/gstmessage.c:
19037 * gst/gstmessage.h:
19040 * gst/gsttaginterface.c:
19041 * gst/gsttaginterface.h:
19042 * gst/gsttaglist.c:
19043 * gst/gsttaglist.h:
19044 * gst/gsttagsetter.c:
19045 * gst/gsttagsetter.h:
19048 * gst/gsttrashstack.c:
19049 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19050 inlined docs for gsttrace, gsttrashstack
19052 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19055 * gst/elements/gstbufferstore.h:
19056 * gst/elements/gsttypefindelement.c:
19057 * gst/elements/gsttypefindelement.h:
19059 * gst/gsttypefind.c:
19060 * gst/gsttypefind.h:
19061 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19062 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19063 (gst_type_find_factory_dispose),
19064 (gst_type_find_factory_unload_thyself),
19065 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19066 (gst_type_find_factory_get_caps),
19067 (gst_type_find_factory_get_extensions),
19068 (gst_type_find_factory_call_function):
19069 * gst/gsttypefindfactory.h:
19070 * gst/registries/gstlibxmlregistry.c:
19071 * gst/registries/gstxmlregistry.c:
19072 splitted gsttypefind into gsttypefind, gsttypefindfactory
19074 2005-09-07 Andy Wingo <wingo@pobox.com>
19076 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19077 condition whereby the pad's task function is entered before the
19078 pad_mode variable was set.
19080 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19082 * gst/gstpad.c: (gst_pad_alloc_buffer):
19083 Catch misbehaving pad_alloc functions that don't
19084 set up caps and do it for them.
19086 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19088 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19089 test for pipe!=NULL
19090 * docs/gst/tmpl/.cvsignore:
19091 * docs/gst/tmpl/gstmemchunk.sgml:
19092 * docs/gst/tmpl/gstparse.sgml:
19093 * docs/gst/tmpl/gsttaglist.sgml:
19094 * docs/gst/tmpl/gsttagsetter.sgml:
19095 * docs/gst/tmpl/gsttypefind.sgml:
19096 * docs/gst/tmpl/gsttypefindfactory.sgml:
19097 * gst/gstmemchunk.c:
19100 * gst/gsttaginterface.c:
19101 * gst/gsttypefind.c:
19102 * gst/gsttypefind.h:
19105 === release 0.9.2 ===
19107 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19112 releasing 0.9.2, "South"
19114 2005-09-05 Andy Wingo <wingo@pobox.com>
19116 * gst/registries/gstxmlregistry.h:
19117 * gst/registries/gstxmlregistry.c: Um... resurrect...
19119 * gst/registries/gstxmlregistry.h:
19120 * gst/registries/gstxmlregistry.c: and update to newer API.
19121 Incidentally they should be a bit faster now that they don't have
19124 2005-09-05 Andy Wingo <wingo@pobox.com>
19126 * gst/registries/gstxmlregistry.h:
19127 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19128 replaced by the libxml registry a while back
19130 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19132 * docs/gst/tmpl/gstplugin.sgml:
19133 * gst/elements/gstelements.c:
19135 * gst/gstplugin.c: (gst_plugin_register_func),
19136 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19137 (gst_plugin_get_source):
19139 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19140 (gst_xml_registry_save_plugin):
19141 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19142 (gst_xml_registry_save_plugin):
19143 * tools/gst-inspect.c: (print_plugin_info):
19144 add a "source" plugin description field, to represent the source
19145 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19146 will set it to PACKAGE, which is automake's idea of the name of
19147 the source project.
19149 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19154 * docs/Makefile.am:
19155 * docs/faq/Makefile.am:
19156 * docs/gst/tmpl/gstelement.sgml:
19157 * docs/gst/tmpl/gsttypes.sgml:
19158 * docs/htmlinstall.mak:
19159 * docs/manual/Makefile.am:
19160 * docs/pwg/Makefile.am:
19161 reorganize doc build a little
19162 split out docbook and gtk-doc stuff
19163 have two separate --enable's and enable them through autogen
19164 but disable by default in configure (to be similar to other
19166 * gstreamer.spec.in:
19167 clean up docs install
19185 translation updates
19187 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19189 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19192 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19193 (gst_fake_sink_change_state):
19194 Make state change function thread-safe.
19196 * gst/gstpad.c: (gst_pad_alloc_buffer):
19197 Set offset on generic buffer allocated by fallback.
19199 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19201 * docs/gst/gstreamer-sections.txt:
19202 * docs/gst/tmpl/gstelement.sgml:
19204 * libs/gst/controller/gst-controller.c:
19205 (gst_controlled_property_set_interpolation_mode),
19206 (gst_controlled_property_new),
19207 (gst_controller_find_controlled_property):
19208 run the wingo-magic script against the docs
19210 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19212 * docs/gst/gstreamer-docs.sgml:
19213 * docs/gst/gstreamer-sections.txt:
19214 * docs/gst/tmpl/.cvsignore:
19215 * docs/gst/tmpl/gstelementdetails.sgml:
19216 * docs/gst/tmpl/gstelementfactory.sgml:
19219 * gst/gstelementfactory.c:
19220 * gst/gstelementfactory.h:
19221 merged elementdetails docs into elementfactory docs
19224 2005-09-02 Andy Wingo <wingo@pobox.com>
19226 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19227 consider this enum an enum and not a flags.
19229 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19231 * docs/gst/gstreamer-docs.sgml:
19232 * docs/gst/tmpl/.cvsignore:
19233 * docs/gst/tmpl/gstghostpad.sgml:
19234 * docs/gst/tmpl/gstiterator.sgml:
19235 * docs/gst/tmpl/gstmacros.sgml:
19236 * docs/gst/tmpl/gstrealpad.sgml:
19237 * docs/gst/tmpl/gstregistry.sgml:
19238 * docs/gst/tmpl/gstregistrypool.sgml:
19239 * docs/gst/tmpl/gststructure.sgml:
19240 * docs/gst/tmpl/gstsystemclock.sgml:
19241 * docs/gst/tmpl/gsttrace.sgml:
19242 * gst/gstghostpad.c:
19244 * gst/gstmemchunk.c:
19245 * gst/gstmemchunk.h:
19247 * gst/gstregistry.c:
19248 * gst/gstregistrypool.c:
19249 * gst/gststructure.c:
19250 * gst/gstsystemclock.c:
19253 2005-09-02 Andy Wingo <wingo@pobox.com>
19255 * gst/gstelement.h (GstState): Renamed from GstElementState,
19256 changed to be a normal enum instead of flags.
19257 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19258 munged to be GST_STATE_CHANGE_*.
19259 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19260 work with the new state representation.
19261 (GstStateChange): New enumeration of possible state transitions.
19262 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19263 (GstElementClass::change_state): Pass the GstStateChange along as
19264 an argument. Helps language bindings, so they don't have to use
19265 tricky lock-needing macros like GST_STATE_CHANGE ().
19267 * scripts/update-states (file): New script. Run it on a file to
19268 update it for state naming and API changes. Updates files in
19271 * All files updated for the new API.
19273 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19275 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19276 * gst/gstutils.c: (gst_util_set_value_from_string),
19277 (gst_util_set_object_arg):
19278 fix a bunch of unchecked return values
19279 * tools/gst-complete.c: (main):
19280 * gstreamer.spec.in:
19283 2005-09-01 Wim Taymans <wim@fluendo.com>
19285 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19286 (gst_base_sink_event), (gst_base_sink_do_sync),
19287 (gst_base_sink_handle_event):
19288 * gst/base/gstbasesink.h:
19289 Handle newsegments more correctly.
19294 * gst/gstevent.c: (gst_event_new_newsegment):
19295 A newsegment cannot have a start_time of -1
19297 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19299 * win32/gstenumtypes.c:
19300 * win32/gstenumtypes.h:
19303 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19305 * libs/gst/controller/gst-controller.c:
19306 (gst_controlled_property_set_interpolation_mode),
19307 (gst_controlled_property_new):
19308 fixed boolean again
19310 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19312 * docs/faq/gst-uninstalled:
19317 * gst/gstutils.c: (gst_element_link_filtered):
19319 add gst_element_link_filtered
19321 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19323 * docs/gst/gstreamer-docs.sgml:
19324 * docs/gst/gstreamer-sections.txt:
19325 * docs/gst/tmpl/.cvsignore:
19326 * docs/gst/tmpl/gsterror.sgml:
19327 * docs/gst/tmpl/gstfilter.sgml:
19328 * docs/gst/tmpl/gsturihandler.sgml:
19329 * docs/gst/tmpl/gsturitype.sgml:
19330 * docs/gst/tmpl/gstutils.sgml:
19331 * docs/gst/tmpl/gstxml.sgml:
19336 * gst/gsturitype.c:
19339 inlined more docs, fixed double id-ref
19341 2005-08-31 Wim Taymans <wim@fluendo.com>
19343 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19344 (gst_base_transform_handle_buffer):
19345 Passthrough elements don't need the caps as they don't care.
19347 2005-08-31 Wim Taymans <wim@fluendo.com>
19349 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19350 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19351 Don't leak refcounts on buffers.
19353 2005-08-31 Wim Taymans <wim@fluendo.com>
19355 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19356 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19357 (gst_base_transform_chain), (gst_base_transform_change_state):
19358 * gst/base/gstbasetransform.h:
19359 Handle the case where we are not negotiated more gracefully.
19361 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19363 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19364 (gst_file_src_map_region):
19365 Set READONLY flag on mmap'ed buffers, otherwise
19366 gst_buffer_make_writable() won't work properly (#314708).
19368 2005-08-31 Wim Taymans <wim@fluendo.com>
19370 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19371 passthrough elements can even do inplace on non writable
19372 buffers (as they don't touch them).
19374 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19376 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19377 (gst_test_mono_source_set_property),
19378 (gst_test_mono_source_class_init), (GST_START_TEST),
19379 (gst_controller_suite):
19380 more tests (hehe I have the most)
19382 describe popping messages whenusing mulltiple sources
19383 * libs/gst/controller/gst-controller.c:
19384 (gst_controlled_property_set_interpolation_mode),
19385 (gst_controlled_property_new):
19386 * libs/gst/controller/gst-controller.h:
19387 * libs/gst/controller/gst-interpolation.c:
19388 implement boolean properties
19390 2005-08-31 Wim Taymans <wim@fluendo.com>
19392 * gst/gstminiobject.c: (gst_mini_object_ref):
19393 Cannot assert that the refcount has to be positive
19394 since a disposed object can be resurrected.
19396 2005-08-31 Wim Taymans <wim@fluendo.com>
19398 * gst/gstpad.c: (gst_pad_init):
19399 Revert change, need to first fix badly behaving
19402 2005-08-30 Wim Taymans <wim@fluendo.com>
19404 * check/elements/fakesrc.c: (setup_fakesrc):
19405 * check/elements/identity.c: (setup_identity):
19406 Activate pads before using them.
19408 2005-08-30 Wim Taymans <wim@fluendo.com>
19410 * gst/base/gstadapter.c: (gst_adapter_flush):
19411 Flushing out 0 bytes is ok for this function.
19413 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19414 no newsegment gives a warning and sets the start/stop to
19417 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19418 (gst_base_transform_set_passthrough):
19421 * gst/gstminiobject.c: (gst_mini_object_ref):
19422 Check refcount here too.
19424 * gst/gstpad.c: (gst_pad_init):
19425 Pads are initially flushing and refusing data.
19427 * gst/gstutils.c: (gst_element_link_pads_filtered):
19428 When adding a capsfilter element make sure it has the
19429 same state as the parent bin.
19431 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19433 * docs/gst/tmpl/.cvsignore:
19434 * docs/gst/tmpl/gstformat.sgml:
19435 * docs/gst/tmpl/gstversion.sgml:
19439 * gst/gstversion.h.in:
19440 more docs and two more inlined
19442 2005-08-30 Wim Taymans <wim@fluendo.com>
19444 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19445 Don't sync to clock.
19447 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19449 * docs/gst/gstreamer-sections.txt:
19450 ultral33t func10ns deserve to appear in the docs actually
19451 * docs/gst/tmpl/.cvsignore:
19452 * docs/gst/tmpl/gstcompat.sgml:
19453 * docs/gst/tmpl/gstconfig.sgml:
19454 * gst/check/gstcheck.c:
19456 * gst/gstconfig.h.in:
19459 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19461 * docs/gst/tmpl/.cvsignore:
19462 * docs/gst/tmpl/gstquery.sgml:
19463 * docs/gst/tmpl/gstutils.sgml:
19466 inlined and extended docs
19468 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19470 * check/gst-libs/controller.c: (GST_START_TEST),
19471 (gst_controller_suite):
19473 * docs/gst/tmpl/gstutils.sgml:
19474 * docs/libs/gstreamer-libs-sections.txt:
19475 * docs/libs/tmpl/gstdataprotocol.sgml:
19477 * examples/controller/audio-example.c: (main):
19478 controller example works now
19481 * tools/gst-inspect.c: (print_element_properties_info):
19482 show param spec flags
19484 2005-08-29 Andy Wingo <wingo@pobox.com>
19486 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19488 2005-08-28 Andy Wingo <wingo@pobox.com>
19490 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19491 as having two arguments instead of just one. Allows superclasses
19492 to access information on subclasses -- see the terrible for() loop
19493 in gtype.c:g_type_create_instance for the reason why. All callers
19496 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19498 * docs/design/part-messages.txt:
19500 * docs/gst/tmpl/.cvsignore:
19501 * docs/gst/tmpl/gstcaps.sgml:
19502 * docs/gst/tmpl/gstclock.sgml:
19508 * gst/gstmessage.c:
19509 added descriptions for bus and message
19510 inline caps and clock docs
19512 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19514 * gst/gstmessage.c:
19515 * gst/gstmessage.h:
19518 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19520 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19523 2005-08-26 Andy Wingo <wingo@pobox.com>
19525 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19526 element_set_state's return val.
19527 (test_2_elements): Add test that's been disabled for months.
19529 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19530 can-activate-pull properties.
19532 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19533 can-activate-pull properties. Implement is_seekable so fakesrc can
19534 operate in pull mode.
19536 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19538 (gst_base_sink_activate, gst_base_sink_activate_pull)
19539 (gst_base_sink_activate_push): Make activation mode choosing work.
19541 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19542 is right. Make pull mode work. Post an eos before pausing in pull
19544 (gst_base_sink_change_state): Pay attention to the core's
19545 change_state() return val.
19547 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19548 has-getrange properties. Cleanups.
19550 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19551 has_getrange and replace with can_activate_pull and
19554 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19555 locking comments. Remove has_loop, has_chain and replace with
19556 can_activate_pull and can_activate_push.
19558 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19561 * examples/Makefile.am:
19562 * examples/metadata/Makefile.am:
19563 * examples/metadata/read-metadata.c: (message_loop),
19564 (have_pad_handler), (make_pipeline), (print_tag), (main):
19565 Add metadata reading example that loops over a list of filenames,
19566 dumping any tags found.
19568 * gst/gstbus.c: (gst_bus_dispose):
19569 * gst/gstelement.c: (gst_element_dispose):
19570 Release a few potentially-held references in dispose.
19572 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19574 * docs/gst/tmpl/gstminiobject.sgml:
19575 do *not* add tmpl/*.sgml files to CVS!
19577 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19579 * libs/gst/bytestream/.cvsignore:
19580 * libs/gst/bytestream/Makefile.am:
19581 * libs/gst/bytestream/adapter.c:
19582 * libs/gst/bytestream/adapter.h:
19583 * libs/gst/bytestream/bytestream.c:
19584 * libs/gst/bytestream/bytestream.h:
19585 * libs/gst/bytestream/filepad.c:
19586 * libs/gst/bytestream/filepad.h:
19587 removing obsolete files
19589 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19591 * docs/gst/gstreamer-docs.sgml:
19592 * docs/libs/gstreamer-libs-docs.sgml:
19593 disabed additional index entries again, as this makes docs-gen just
19594 slow and they aren't useful yet
19595 * docs/libs/gstreamer-libs-sections.txt:
19596 little -section.txt cleanup for libs
19598 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19601 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19602 fix up some debugging
19603 (gst_base_transform_get_unit_size),
19604 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19605 (gst_base_transform_handle_buffer):
19606 * gst/base/gstbasetransform.h:
19607 handle and store timed NEWSEGMENT events so that subclasses that
19608 calculate time by counting samples have a segment_start time they
19609 need to add to their timestamps - see audioresample
19611 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19614 removed ';' from the end of macro defs
19615 * docs/gst/gstreamer-docs.sgml:
19616 * docs/gst/gstreamer-sections.txt:
19617 * docs/gst/tmpl/.cvsignore:
19619 * gst/gstelement.c: (gst_element_class_init),
19620 (gst_element_set_state), (activate_pads),
19621 (gst_element_save_thyself):
19622 * gst/gstevent.c: (gst_event_new_newsegment):
19624 * gst/gstiterator.c:
19625 * gst/gstiterator.h:
19628 * gst/gstutils.c: (gst_pad_query_convert):
19630 fixed parameter name mismatches between source, header and docs
19631 added some more docs, resolved the last batch of unused elements in
19632 docs (now someone needs to doc them)
19634 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19636 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19637 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19638 don't walk through the plugins backwards. Where is all this
19639 reversed logic coming from ?
19641 2005-08-25 Wim Taymans <wim@fluendo.com>
19643 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19644 (gst_base_transform_transform_size),
19645 (gst_base_transform_configure_caps),
19646 (gst_base_transform_get_unit_size),
19647 (gst_base_transform_buffer_alloc),
19648 (gst_base_transform_change_state):
19649 * gst/base/gstbasetransform.h:
19650 Cache caps unit_size.
19651 Make sure we cannot negotiate up and downstream at the
19654 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19656 * gst/gst.c: (init_pre), (init_post):
19657 register the installed plugin path after the env var
19658 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19659 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19660 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19661 directories, so the tests can prefer uninstalled over installed
19663 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19665 * gst/base/gstbasetransform.h:
19670 2005-08-25 Wim Taymans <wim@fluendo.com>
19672 * gst/gstbin.c: (bin_bus_handler):
19673 Be a bit more conservative about the posted message.
19675 * gst/gstbus.c: (gst_bus_post):
19676 Some cleanups, warn wrong return values.
19678 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19680 * check/gst/gstbin.c: (GST_START_TEST):
19681 * gst/gstbin.c: (bin_bus_handler):
19682 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19683 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19684 (gst_message_new_warning), (gst_message_new_tag),
19685 (gst_message_new_state_changed), (gst_message_new_segment_start),
19686 (gst_message_new_segment_done), (gst_message_new_custom):
19687 * gst/gstmessage.h:
19688 * tools/gst-launch.c: (event_loop):
19689 * tools/gst-md5sum.c: (event_loop):
19690 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19692 2005-08-25 Wim Taymans <wim@fluendo.com>
19694 * check/generic/states.c: (GST_START_TEST):
19695 Cleanup can be done at the end.
19697 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19698 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19699 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19700 Oh boy.. Thanks for finding this, Thomas.
19702 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19704 * docs/gst/gstreamer.types:
19705 added missing types
19707 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19709 * docs/gst/gstreamer-docs.sgml:
19710 * docs/gst/gstreamer-sections.txt:
19711 * docs/gst/tmpl/.cvsignore:
19713 * gst/gstiterator.c:
19715 * gst/registries/gstxmlregistry.h:
19716 added missing classes and symbols (123 more to go)
19717 removed removed symbols from section file
19718 fixed many doc-comments
19720 2005-08-24 Wim Taymans <wim@fluendo.com>
19722 * check/generic/states.c: (GST_START_TEST):
19723 Make sure all tasks are stopped.
19725 * check/gst/gstbin.c: (GST_START_TEST):
19726 Unref after usage for proper valgrinding.
19728 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19729 Really wait for the task to stop before destroying the
19732 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19733 (gst_queue_src_activate_push):
19734 Small cleanups. Don't stop the task when we did not start
19737 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19738 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19739 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19742 Protect the stream lock with the object lock.
19743 Disallow setting the stream lock when running.
19744 Add cleanup_all to wait for the threadpool to finish.
19745 Remove code to autoallocate a mutex if none was provided.
19746 Add _join() to wait for a task to stop.
19747 Protect the thread pool with a global lock.
19749 2005-08-24 Wim Taymans <wim@fluendo.com>
19751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19752 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19753 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19754 * gst/base/gstbasesink.h:
19755 Handle newsegment events correctly.
19756 Drop buffers out of the segment range.
19758 2005-08-22 Andy Wingo <wingo@pobox.com>
19760 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19761 macro, implements an interface and gstimplementsinterface for a
19764 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19766 * check/Makefile.am:
19767 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19768 add a test that does a bunch of state changes on elements
19769 needs some fixing for valgrind
19770 * check/states/sinks.c: (gst_object_suite):
19773 add prototype for gst_caps_is_equal_fixed
19775 * gst/gstregistrypool.c:
19778 2005-08-24 Andy Wingo <wingo@pobox.com>
19780 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19781 convert a negative value. Doesn't make much sense. Mostly this is
19782 here to force callers to ensure -1 maps to -1.
19784 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19786 * docs/pwg/advanced-types.xml:
19787 Well done to Michael for catching my deliberate introduction
19788 of this spelling mistake.
19789 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19790 * gst/gstelement.h:
19791 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19792 unlink pads before removing the element from the bin.
19794 2005-08-24 Andy Wingo <wingo@pobox.com>
19796 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19797 the same thing as GST_DEBUG=*:4.
19798 (parse_debug_level, parse_debug_category): New helper parsers.
19800 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19802 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19803 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19804 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19805 (gst_base_transform_buffer_alloc),
19806 (gst_base_transform_handle_buffer):
19807 use gboolean return values and pointers to size so we can use the
19808 full GST_BUFFER_SIZE range (guint) for buffer sizes
19809 use GstPadDirection for transform_caps
19810 * gst/base/gstbasetransform.h:
19811 rename get_size to get_unit_size since that's what it is
19812 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19813 use GstPadDirection for transform_caps
19814 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19816 cleanup and debugging
19818 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19820 * gst/gstelement.c: (gst_element_class_init),
19821 (gst_element_set_state), (activate_pads),
19822 (gst_element_save_thyself):
19823 * tools/gst-compprep.c: (main):
19824 * tools/gst-inspect.c: (print_element_properties_info):
19825 * tools/gst-xmlinspect.c: (print_element_properties):
19826 Fixed long standing mem-leak
19828 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19830 * check/gst/gstbin.c: (GST_START_TEST):
19831 * gst/gstbin.c: (bin_bus_handler):
19832 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19833 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19834 (gst_message_new_warning), (gst_message_new_tag),
19835 (gst_message_new_state_changed), (gst_message_new_segment_start),
19836 (gst_message_new_segment_done), (gst_message_new_custom):
19837 * gst/gstmessage.h:
19838 * tools/gst-launch.c: (event_loop):
19839 * tools/gst-md5sum.c: (event_loop):
19840 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19841 that applications can sensibly post custom messages with references
19842 to their own objects.
19844 2005-08-24 Andy Wingo <wingo@pobox.com>
19846 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19849 2005-08-24 Wim Taymans <wim@fluendo.com>
19851 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19852 (gst_base_transform_transform_caps),
19853 (gst_base_transform_transform_size),
19854 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19855 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19856 (gst_base_transform_handle_buffer):
19857 * gst/base/gstbasetransform.h:
19858 Many fixes and new features added by Thomas. Can now also do
19859 transforms with variable sizes and a custom fixate_caps function.
19861 2005-08-24 Wim Taymans <wim@fluendo.com>
19863 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19867 Cast to ClockTime before formatting to time.
19872 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19874 * check/gst-libs/controller.c: (GST_START_TEST),
19875 (gst_controller_suite):
19876 * docs/gst/tmpl/gstcaps.sgml:
19877 * docs/gst/tmpl/gstghostpad.sgml:
19878 * docs/gst/tmpl/gstquery.sgml:
19879 * docs/gst/tmpl/gstutils.sgml:
19880 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19881 (gst_object_sink_values), (gst_object_get_value_arrays),
19882 (gst_object_get_value_array):
19883 gracefully handle helper method calls to objects that are not beeing
19884 controlled, added test case for that
19886 2005-08-23 Wim Taymans <wim@fluendo.com>
19888 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19889 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19890 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19891 (gst_event_parse_qos), (gst_event_new_seek),
19892 (gst_event_parse_seek):
19894 Some more debugging output and doc cleanups.
19896 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19897 Fix possible deadlock.
19899 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19901 * docs/gst/gstreamer-docs.sgml:
19902 * docs/gst/gstreamer-sections.txt:
19903 * docs/gst/gstreamer.types:
19904 * docs/gst/tmpl/.cvsignore:
19907 * gst/gstelement.c:
19909 added 100 symbols from gstreamer-unused.txt to the right sections
19910 fixed more broken comments
19911 added GstBus to docs
19913 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19915 * docs/gst/gstreamer-sections.txt:
19916 * docs/gst/tmpl/.cvsignore:
19917 * docs/gst/tmpl/gstbin.sgml:
19918 * docs/gst/tmpl/gstbuffer.sgml:
19919 * gst/base/gstbasesrc.c:
19920 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19923 * tools/gst-launch.1.in:
19924 inlined more doc comments, added missing comments and fixed comments
19927 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19929 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19933 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19935 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19936 * gst/gststructure.h:
19937 add a fixate function for booleans; add a FIXME that these func
19938 names should probably be gst_structure_fixate_*
19940 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19942 * docs/gst/gstreamer-docs.sgml:
19943 * docs/gst/gstreamer-sections.txt:
19945 * gst/gstbin.c: (gst_bin_get_type),
19946 (gst_bin_child_proxy_get_child_by_index),
19947 (gst_bin_child_proxy_get_children_count),
19948 (gst_bin_child_proxy_init):
19949 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19950 (gst_child_proxy_get_child_by_index),
19951 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19952 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19953 (gst_child_proxy_get), (gst_child_proxy_set_property),
19954 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19955 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19956 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19957 * gst/gstchildproxy.h:
19958 * gst/parse/grammar.y:
19959 * tools/gst-inspect.c: (print_interfaces),
19960 (print_element_properties_info), (print_element_info):
19961 ported gstchildproxy over from 0.8
19962 ported gst-inspect fixes and enhancements over from 0.8
19964 2005-08-22 Wim Taymans <wim@fluendo.com>
19966 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19967 (gst_base_transform_handle_buffer):
19968 Also call the transform function if we have ANY caps.
19970 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19973 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19975 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19976 Don't pretend to handle seek events if the source is not seekable
19978 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19981 Remove extra parameter to debug output
19983 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19984 (gst_base_src_do_seek), (gst_base_src_activate_push):
19985 Fix seek event handling.
19987 * gst/gstpipeline.c: (gst_pipeline_change_state):
19988 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19989 (gst_queue_src_activate_push):
19990 Don't start the src pad task on FLUSH_STOP if the pad
19994 2005-08-22 Wim Taymans <wim@fluendo.com>
19996 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19997 Added check for gst_static_caps_get() refcounting.
19999 2005-08-22 Wim Taymans <wim@fluendo.com>
20001 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20002 Make _static_caps_get() refcounting sane.
20004 * gst/gstelement.c: (gst_element_set_state):
20005 Add g_return_val_if_fail() to protect against segfaults.
20007 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20009 * docs/gst/tmpl/gstevent.sgml:
20012 inlined remaining docs, added missing doc comments
20014 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20016 * check/gst/gstbin.c: (GST_START_TEST):
20017 since we don't know when preroll is done, use refcount range
20019 * gst/check/gstcheck.h:
20020 add macro for checking refcount range
20022 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20024 * check/Makefile.am:
20025 clean up environment for when registry gets built versus
20026 when actual tests are run; valgrind seems to not report
20027 leaks if GST_PLUGIN_PATH is set to some specific values
20028 * check/gst/gstbin.c: (GST_START_TEST):
20029 add more refcounting checks; maybe this exposes a
20031 * common/check.mak:
20032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20033 * gst/check/gstcheck.h:
20034 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20035 (gst_bin_change_state):
20036 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20037 add/fix debugging/whitespace
20039 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20041 * check/gst/gstevent.c: (event_probe), (test_event),
20043 Er, don't call gst_bin_watch_for_state_change you idiot.
20045 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20047 * check/Makefile.am:
20048 Use CHECK_CFLAGS and CHECK_LIBS
20049 * check/gst/gstevent.c: (event_probe), (test_event),
20052 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20053 (gst_base_src_start), (gst_base_src_stop),
20054 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20055 (gst_base_src_change_state):
20056 Sprinkle gst_base_src_stop liberally around error paths to fix
20057 problems reusing a source after failed state changes.
20058 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20059 (helper_find_suggest), (gst_type_find_helper):
20060 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20062 * docs/gst/tmpl/gstevent.sgml:
20063 Migrate part of the docs from the SGML file. Wait for ensonic to
20064 tell me how I did it wrong ;)
20065 * tools/gst-typefind.c: (main):
20066 Extra robustness to state changes between files.
20068 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20070 * check/Makefile.am:
20071 don't valgrind the controller test - it's leaking - Stefan, HELP
20072 * gst/check/gstcheck.c: (gst_check_message_error),
20073 (gst_check_chain_func), (gst_check_setup_element),
20074 (gst_check_teardown_element), (gst_check_setup_src_pad),
20075 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20076 (gst_check_teardown_sink_pad):
20077 * gst/check/gstcheck.h:
20078 add a bunch of methods to set up elements, and src and sink pads
20079 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20080 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20083 * gst/gstmessage.c:
20085 whitespace/doc fixes
20087 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20089 * gst/gstelement.h:
20090 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20091 be handled by the application and not always printed as well
20093 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20095 * check/Makefile.am:
20097 * gst/check/gstcheck.c: (gst_check_message_error):
20098 * gst/check/gstcheck.h:
20099 add a fail_unless_equals_int
20100 add fail_unless for error messages
20102 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20104 * check/Makefile.am:
20106 * common/Makefile.am:
20107 * common/check.mak:
20109 factor out some of the common stuff so we can use it
20111 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20113 * check/Makefile.am:
20114 * check/gst/gstiterator.c: (GST_START_TEST):
20115 * check/gst/gstsystemclock.c: (GST_START_TEST),
20116 (gst_systemclock_suite):
20117 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20119 valgrind more tests
20121 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20123 * check/elements/.cvsignore:
20124 * check/elements/gstfakesrc.c:
20125 rename to name of element
20126 * check/elements/identity.c: (chain_func), (event_func),
20127 (setup_identity), (cleanup_identity), (GST_START_TEST),
20128 (identity_suite), (main):
20129 add a test for identity
20130 * check/Makefile.am:
20131 * pkgconfig/Makefile.am:
20132 * pkgconfig/gstreamer-check.pc.in:
20133 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20137 move the check stuff to a library that gets installed
20138 * check/gst-libs/controller.c: (GST_START_TEST):
20139 * check/gst-libs/gdp.c:
20140 * check/gst/gst.c: (GST_START_TEST):
20141 * check/gst/gstbin.c:
20142 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20143 * check/gst/gstbus.c:
20144 * check/gst/gstcaps.c: (GST_START_TEST):
20145 * check/gst/gstelement.c:
20146 * check/gst/gstghostpad.c:
20147 * check/gst/gstiterator.c:
20148 * check/gst/gstmessage.c:
20149 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20150 * check/gst/gstobject.c:
20151 * check/gst/gstpad.c: (GST_START_TEST):
20152 * check/gst/gststructure.c: (GST_START_TEST):
20153 * check/gst/gstsystemclock.c: (GST_START_TEST),
20154 (gst_systemclock_suite):
20155 * check/gst/gsttag.c: (gst_tag_suite):
20156 * check/gst/gstvalue.c:
20157 * check/pipelines/cleanup.c:
20158 * check/pipelines/simple_launch_lines.c:
20159 * check/states/sinks.c:
20160 change include statement
20162 * docs/gst/gstreamer-sections.txt:
20163 * docs/gst/tmpl/gstpad.sgml:
20164 document more pad stuff
20165 * gst/gstminiobject.c: (gst_mini_object_ref),
20166 (gst_mini_object_unref):
20169 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20171 * docs/gst/tmpl/gst.sgml:
20173 eliminate another tmpl file, fix spelling in the long-description
20175 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20177 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20178 (test_event), (timediff), (gstevents_suite):
20179 Should fix build on 64-bit arch's
20181 2005-08-18 Andy Wingo <wingo@pobox.com>
20183 Make sure that when a pipeline goes to PLAYING, that data has
20184 actually hit the sink.
20186 * check/states/sinks.c (test_sink): A sink that doesn't get any
20187 data shouldn't return SUCCESS for going to either PLAYING or
20188 PAUSED. Test also the return values on the way back down.
20190 * gst/gstelement.c (gst_element_set_state): When changing the
20191 state of an element currently changing state asynchronously, go to
20192 lost-state after commiting the pending state. Makes future calls
20193 to get_state continue to return ASYNC.
20195 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20196 ASYNC when going to PLAYING if we still don't have preroll, as can
20197 happen with live sources.
20199 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20201 * docs/pwg/advanced-types.xml:
20202 Hack long paragraph into 2 chunks as a workaround for buggy
20203 jadetex version in sid and breezy that loops infinitely and
20206 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20208 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20209 (test_event), (timediff), (gstevents_suite):
20210 Provide more error margin in clock measurements to allow for
20211 g_get_current_time inaccuracies.
20213 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20215 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20216 (test_event), (timediff), (gstevents_suite):
20217 Fix error message output so I might be able to tell why the
20218 test works here but fails on the build farm.
20220 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20222 * check/Makefile.am:
20223 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20224 (test_event), (timediff), (gstevents_suite), (main):
20227 * docs/design/part-seeking.txt:
20228 Spelling correction
20230 * docs/gst/tmpl/gstevent.sgml:
20231 * docs/gst/tmpl/gstfakesrc.sgml:
20234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20235 Treat a buffer-without-newsegment the same as a receiving
20236 a newsegment not in time format, and disable syncing to the clock
20239 * gst/gstbus.c: (gst_bus_set_sync_handler):
20240 Assert if anyone tries to replace the existing sync_handler for bus,
20241 as only the owner should be setting it.
20244 Have a fixed set of custom event enums with events identified by
20245 their structure name (as in 0.8), rather than a free-for-all
20246 allowing collisions between enum values from different plugins.
20248 * gst/gstpad.c: (gst_pad_class_init):
20251 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20252 Handle out-of-band downstream events from the sending thread.
20254 2005-08-17 Andy Wingo <wingo@pobox.com>
20256 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20257 play-timeout==0 to mean no timeout at all. In that case, don't
20258 bother with a get_state or a warning, just return directly, even
20261 * gst/base/gstbasetransform.c: Debug changes.
20264 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20265 ensure bins post state change messages. A bit of a hack but I can't
20266 think of a way to avoid it.
20268 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20270 2005-08-16 Andy Wingo <wingo@pobox.com>
20272 * gst/base/gstadapter.h:
20273 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20274 peek() but you own the data. Not terribly efficient atm.
20276 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20278 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20279 (gst_element_found_tags):
20281 Add two utility functions for tag handling.
20283 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20285 * docs/manual/advanced-dataaccess.xml:
20286 * docs/manual/basics-helloworld.xml:
20287 Fix docs to use _bin_add() before _link(), which fixes the examples
20288 with recent core versions (reported by Madhan Raj M
20289 <raj_madan@rediffmail.com>, #313199).
20291 2005-08-16 Wim Taymans <wim@fluendo.com>
20293 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20294 Added subtract checks.
20296 * docs/design/part-events.txt:
20297 Some more docs about newsegment
20299 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20302 * gst/gstcaps.c: (gst_caps_to_string):
20303 Add comments, cleanups.
20305 * gst/gstelement.c: (gst_element_save_thyself):
20308 * gst/gstvalue.c: (gst_value_collect_int_range),
20309 (gst_string_unwrap), (gst_value_union_int_int_range),
20310 (gst_value_union_int_range_int_range),
20311 (gst_value_intersect_int_int_range),
20312 (gst_value_intersect_int_range_int_range),
20313 (gst_value_intersect_double_double_range),
20314 (gst_value_intersect_double_range_double_range),
20315 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20316 (gst_value_subtract_int_range_int),
20317 (gst_value_subtract_double_range_double),
20318 (gst_value_subtract_double_range_double_range),
20319 (gst_value_subtract_from_list), (gst_value_subtract_list),
20320 (gst_value_can_compare), (gst_value_compare_fraction):
20321 Cleanups, add comments, remove unneeded asserts.
20323 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20325 * tools/gst-launch.c: (event_loop):
20326 don't convert NULL structures to strings
20328 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20330 * docs/gst/gstreamer-sections.txt:
20331 made some defines private
20332 * docs/gst/tmpl/gstconfig.sgml:
20333 * docs/gst/tmpl/gstqueue.sgml:
20334 * docs/gst/tmpl/gsttaglist.sgml:
20335 * docs/gst/tmpl/gsttypes.sgml:
20336 * docs/gst/tmpl/gstutils.sgml:
20337 * docs/pwg/appendix-porting.xml:
20338 * gst/base/gstbasesink.h:
20339 * gst/base/gstbasesrc.c:
20340 * gst/base/gstbasesrc.h:
20341 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20342 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20343 * gst/gstelement.c: (gst_element_class_init):
20344 * gst/gstpad.c: (gst_pad_class_init):
20345 * gst/gstqueue.c: (gst_queue_class_init):
20346 * gst/gstxml.c: (gst_xml_class_init):
20347 documented all undocumented signal inline
20348 * libs/gst/controller/gst-controller.h:
20351 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20353 * docs/pwg/appendix-porting.xml:
20354 Document _set_link_function -> _set_setcaps_function.
20356 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20358 * check/Makefile.am:
20359 add a .check target for running the check
20360 * check/gst-libs/controller.c: (GST_START_TEST):
20362 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20363 complete checks for gstbuffer; would be nice if I could get the
20364 gcov stuff to work so I can see if I actually completed gstbuffer.c
20365 * check/gstcheck.h:
20366 add ASSERT_BUFFER_REFCOUNT
20368 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20370 * docs/gst/gstreamer-sections.txt:
20371 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20373 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20374 spew out a warning if a tag that is already registered
20375 is re-registered, unless it is re-registered with a
20376 different type (#308438).
20378 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20380 * docs/pwg/appendix-porting.xml:
20381 * docs/pwg/building-state.xml:
20382 Add some paragraphs about state changes in 0.9 to the PWG
20383 and the porting guide, in particular about the new meaning
20384 of GST_STATE_PAUSED and how to write state change functions
20385 with concurrent access by multiple threads in mind.
20387 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20389 * docs/gst/gstreamer-docs.sgml:
20390 * docs/libs/gstreamer-libs-docs.sgml:
20391 added deprecation and since indexes
20392 * libs/gst/controller/gst-controller.c:
20393 * libs/gst/controller/gst-helper.c:
20397 2005-08-11 Wim Taymans <wim@fluendo.com>
20399 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20400 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20401 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20402 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20403 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20404 (gst_ghost_pad_set_target):
20405 Actually implement (re)setting the target on a ghostpad
20406 as described in the docs.
20408 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20410 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20411 Check whether GST_DEBUG_NO_COLOR environment variable is
20412 set and disable coloured debug output if that is the case.
20414 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20416 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20417 (gst_type_find_helper):
20418 The memory returned by gst_type_find_peek() needs to
20419 stay valid until the end of a typefind function, and
20420 typefind functions may keep results from different
20421 offsets around, so we can't just unref the buffer from
20422 the previous _peek(), but have to save all buffers
20423 returned by _peek() until typefinding is done and only
20426 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20428 * docs/gst/gstreamer-sections.txt:
20430 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20432 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20434 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20435 Fix a pretty good memleak.
20437 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20439 * gst/gstiterator.h:
20440 Fix wrong include and 'make distcheck'.
20442 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20444 * gst/gstbin.c: (bin_bus_handler):
20445 Use gst_element_post_message() instead.
20447 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20449 * gst/base/gstadapter.h:
20450 * gst/base/gstbasesink.h:
20451 * gst/base/gstbasesrc.h:
20452 * gst/base/gstbasetransform.h:
20453 * gst/base/gstcollectpads.h:
20454 * gst/base/gstpushsrc.h:
20455 * gst/gstiterator.h:
20456 Add padding to our base elements' class and instance structs and
20457 to GstIterator (you will need to rebuild all plugins and apps!)
20459 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20461 * gst/gstbin.c: (bin_bus_handler):
20462 Make default message forwarding from child->bus to bin->bus
20463 threadsafe and make it not emit warnings if the parent has no bus.
20465 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20467 * gst/gstelement.c: (activate_pads):
20468 On paused->ready, set pad->caps to NULL, as is the documented
20469 behaviour in this state change. Fixes playback of series of
20470 media files when visualization is enabled in Totem.
20472 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20474 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20475 Allow NULL as filter-caps (which means "any").
20477 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20479 * docs/libs/gstreamer-libs-sections.txt:
20480 * libs/gst/controller/gst-controller.c:
20481 * libs/gst/controller/gst-controller.h:
20482 * libs/gst/controller/gst-helper.c:
20483 adding more entries to the docs and fix small doc-bugs
20485 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20487 * docs/gst/gstreamer-docs.sgml:
20488 * docs/gst/gstreamer-sections.txt:
20489 * docs/gst/gstreamer.types:
20490 * docs/gst/tmpl/gstbasesink.sgml:
20491 * docs/gst/tmpl/gstbasesrc.sgml:
20492 * docs/gst/tmpl/gstbasetransform.sgml:
20493 * docs/gst/tmpl/gstfakesrc.sgml:
20494 * gst/base/gstcollectpads.c:
20495 * gst/base/gstcollectpads.h:
20496 * libs/gst/controller/gst-controller.c:
20497 * libs/gst/controller/gst-controller.h:
20498 * libs/gst/controller/gst-helper.c:
20499 * libs/gst/controller/gst-interpolation.c:
20500 * libs/gst/controller/lib.c:
20501 added long/short desc for controller docs
20502 added collectpads base class docs
20503 added correct includes to base-class docs
20505 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20507 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20508 (gst_test_mono_source_set_property),
20509 (gst_test_mono_source_class_init), (GST_START_TEST),
20510 (gst_controller_suite):
20511 * docs/gst/gstreamer-docs.sgml:
20512 * docs/gst/gstreamer-sections.txt:
20513 * docs/gst/gstreamer.types:
20514 * docs/libs/gstreamer-libs-docs.sgml:
20515 * docs/libs/gstreamer-libs-sections.txt:
20516 * gst/base/gstadapter.c:
20517 * libs/gst/controller/gst-controller.c:
20518 (gst_controlled_property_new), (gst_controlled_property_free),
20519 (gst_controller_new_valist),
20520 (gst_controller_remove_properties_valist),
20521 (gst_controller_sink_values), (_gst_controller_finalize):
20522 * libs/gst/controller/gst-controller.h:
20523 * libs/gst/controller/gst-helper.c:
20524 (gst_object_control_properties), (gst_object_uncontrol_properties),
20525 (gst_object_get_controller), (gst_object_set_controller),
20526 (gst_object_sink_values), (gst_object_get_value_arrays),
20527 (gst_object_get_value_array):
20528 more tests (and fixes) for the controller
20529 more docs for the controller
20530 integrated companies docs for the adapter
20532 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20534 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20535 (GST_START_TEST), (fakesrc_suite):
20536 add tests for sizetype
20538 2005-08-04 Andy Wingo <wingo@pobox.com>
20540 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20541 fixes buffer_alloc proxying among other things.
20543 * gst/base/gstbasetransform.c:
20544 * gst/base/gstbasetransform.h:
20545 Revert patch to gstbasetransform from 7-28 removing
20548 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20549 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20550 Semantics changed, should return not the size of the output buffer
20551 but the byte size of a buffer with a given caps.
20553 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20555 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20556 out) are not the pad caps until setcaps finishes.
20557 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20558 not-in-place case as well. Deal with changing from in-place to
20559 not-in-place within calling pad_alloc_buffer. Still a bit
20560 concerned about the overhead here...
20562 2005-08-03 Andy Wingo <wingo@pobox.com>
20564 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20565 fixating is an error.
20567 2005-08-04 Edward Hervey <edward@fluendo.com>
20569 * gst/base/gstadapter.h:
20570 Added gst_adapter_get_type() to the header
20572 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20574 * check/Makefile.am:
20575 * check/gst-libs/controller.c:
20576 * libs/gst/controller/gst-controller.c:
20577 (gst_controller_new_valist):
20578 added check test suite for the controller
20579 * gst/base/gstpushsrc.c:
20582 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20584 * docs/gst/Makefile.am:
20585 * docs/gst/gstreamer-docs.sgml:
20586 * docs/gst/gstreamer-sections.txt:
20587 * docs/gst/gstreamer.types:
20588 * docs/gst/tmpl/gstfakesrc.sgml:
20590 * gst/base/gstbasesink.c:
20591 * gst/base/gstbasesink.h:
20592 * gst/base/gstbasesrc.c:
20593 * gst/base/gstbasesrc.h:
20594 * gst/base/gstbasetransform.c:
20595 * gst/base/gstpushsrc.c:
20596 * gst/base/gstpushsrc.h:
20597 add short/long description docs to base classes
20598 add pushsrc to the docs
20599 remove consolidated doc fragments
20601 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20604 * docs/libs/Makefile.am:
20605 * docs/libs/gstreamer-libs-docs.sgml:
20606 * docs/libs/gstreamer-libs-sections.txt:
20607 * docs/libs/gstreamer-libs.types:
20608 * examples/Makefile.am:
20609 * examples/controller/.cvsignore:
20610 * examples/controller/Makefile.am:
20611 * examples/controller/audio-example.c: (main):
20612 * libs/gst/Makefile.am:
20613 * libs/gst/controller/.cvsignore:
20614 * libs/gst/controller/Makefile.am:
20615 * libs/gst/controller/gst-controller.c:
20616 (on_object_controlled_property_changed), (gst_timed_value_compare),
20617 (gst_timed_value_find),
20618 (gst_controlled_property_set_interpolation_mode),
20619 (gst_controlled_property_new), (gst_controlled_property_free),
20620 (gst_controller_find_controlled_property),
20621 (gst_controller_new_valist), (gst_controller_new),
20622 (gst_controller_remove_properties_valist),
20623 (gst_controller_remove_properties), (gst_controller_set),
20624 (gst_controller_set_from_list), (gst_controller_unset),
20625 (gst_controller_get), (gst_controller_get_all),
20626 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20627 (gst_controller_get_value_array),
20628 (gst_controller_set_interpolation_mode),
20629 (_gst_controller_finalize), (_gst_controller_init),
20630 (_gst_controller_class_init), (gst_controller_get_type):
20631 * libs/gst/controller/gst-controller.h:
20632 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20633 (g_object_uncontrol_properties), (g_object_get_controller),
20634 (g_object_set_controller), (g_object_sink_values),
20635 (g_object_get_value_arrays), (g_object_get_value_array):
20636 * libs/gst/controller/gst-interpolation.c:
20637 (gst_controlled_property_find_timed_value_node),
20638 (interpolate_none_get), (interpolate_trigger_get),
20639 (interpolate_trigger_get_value_array):
20640 * libs/gst/controller/lib.c: (gst_controller_init):
20641 * pkgconfig/Makefile.am:
20642 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20643 * pkgconfig/gstreamer-control.pc.in:
20644 * testsuite/Makefile.am:
20645 * testsuite/controller/.cvsignore:
20646 * testsuite/controller/Makefile.am:
20647 * testsuite/controller/interpolator.c: (main):
20648 added controller code
20649 removed dparam pc files
20651 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20652 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20653 (gst_collectpads_stop):
20654 Broadcast the condition when shutting down, to make sure we wake all
20655 threads up. Shut down pads on finalize, for safety.
20657 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20658 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20659 (gst_base_transform_handle_buffer),
20660 (gst_base_transform_change_state):
20661 Handle PAUSED->READY->PAUSED transition after negotiation
20663 * gst/gstmessage.c: (gst_message_init):
20664 Extra piece of debug for new messages.
20666 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20669 * docs/gst/tmpl/gstbasesrc.sgml:
20670 * docs/gst/tmpl/gstelement.sgml:
20671 * docs/gst/tmpl/gstevent.sgml:
20672 * docs/gst/tmpl/gstfakesrc.sgml:
20673 * docs/gst/tmpl/gstformat.sgml:
20674 * docs/gst/tmpl/gstghostpad.sgml:
20675 * docs/gst/tmpl/gstpad.sgml:
20676 * docs/gst/tmpl/gstquery.sgml:
20677 * docs/gst/tmpl/gststructure.sgml:
20678 * docs/gst/tmpl/gsttaglist.sgml:
20679 * docs/gst/tmpl/gstvalue.sgml:
20680 * docs/libs/gstreamer-libs-docs.sgml:
20681 * docs/libs/gstreamer-libs-sections.txt:
20682 * docs/libs/gstreamer-libs.types:
20683 * libs/gst/Makefile.am:
20684 * libs/gst/control/.cvsignore:
20685 * libs/gst/control/Makefile.am:
20686 * libs/gst/control/control.c:
20687 * libs/gst/control/control.h:
20688 * libs/gst/control/dparam.c:
20689 * libs/gst/control/dparam.h:
20690 * libs/gst/control/dparam_smooth.c:
20691 * libs/gst/control/dparam_smooth.h:
20692 * libs/gst/control/dparamcommon.h:
20693 * libs/gst/control/dparammanager.c:
20694 * libs/gst/control/dparammanager.h:
20695 * libs/gst/control/dplinearinterp.c:
20696 * libs/gst/control/dplinearinterp.h:
20697 * libs/gst/control/unitconvert.c:
20698 * libs/gst/control/unitconvert.h:
20699 * testsuite/Makefile.am:
20700 * testsuite/dynparams/.cvsignore:
20701 * testsuite/dynparams/Makefile.am:
20702 * testsuite/dynparams/dparamstest.c:
20703 * tools/Makefile.am:
20704 * tools/gst-inspect.c: (print_element_info), (main):
20705 * tools/gst-xmlinspect.c: (print_element_info), (main):
20706 deactivate and remove dparams (libgstcontrol)
20708 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20710 * gst/elements/gsttypefindelement.c:
20711 (gst_type_find_element_have_type), (gst_type_find_element_init),
20712 (stop_typefinding), (gst_type_find_element_handle_event),
20713 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20714 * gst/elements/gsttypefindelement.h:
20715 Set caps on all outgoing buffers, not just the first one.
20717 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20719 * gst/elements/gsttypefindelement.c:
20720 (gst_type_find_element_have_type),
20721 (gst_type_find_element_check_set_buffer_caps),
20722 (gst_type_find_element_init), (stop_typefinding),
20723 (gst_type_find_element_handle_event),
20724 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20725 * gst/elements/gsttypefindelement.h:
20726 Set caps on first outgoing buffer when we've found the type.
20728 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20730 * docs/gst/gstreamer-docs.sgml:
20731 * docs/gst/gstreamer-sections.txt:
20732 * docs/gst/tmpl/gstscheduler.sgml:
20733 * docs/gst/tmpl/gstschedulerfactory.sgml:
20734 Remove some old cruft from docs.
20736 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20739 Fix inline docs for GstPadLinkReturn.
20741 * gst/gststructure.c: (gst_structure_has_name):
20742 * gst/gststructure.h:
20743 * docs/gst/gstreamer-sections.txt:
20744 New API: gst_structure_has_name().
20746 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20749 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20750 and _LARGEFILE_SOURCE in config.h as required. Do not
20751 export those flags in our .pc files any longer (#142209).
20753 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20755 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20756 (gst_file_sink_do_seek), (gst_file_sink_event),
20757 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20758 Redo seek/tell calls with large file support in mind; add some
20759 debugging messages; add log message that tells us when large
20760 file support is unavailable or not enabled for some reason.
20762 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20763 Add log message that tells us when large file support
20764 is unavailable or not enabled for some reason.
20766 2005-07-29 Wim Taymans <wim@fluendo.com>
20768 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20769 Added test for removing an element with ghostpad from a bin.
20770 Fixed test as current implementation does the right thing.
20772 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20773 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20774 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20775 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20776 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20777 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20778 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20779 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20780 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20781 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20782 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20783 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20784 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20785 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20786 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20787 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20788 * gst/gstghostpad.h:
20789 Clean up ghostpads, remove properties for internal stuff.
20792 Prepare for switching targets, not all use cases work yet.
20794 2005-07-29 Wim Taymans <wim@fluendo.com>
20796 * docs/design/part-gstghostpad.txt:
20799 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20800 (gst_bin_remove_func):
20801 Unlinking pads while holding the bin LOCK is not a good
20804 * gst/gstpad.c: (gst_pad_class_init),
20805 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20806 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20807 No prob setting template after creating the pad.
20809 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20811 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20812 (gst_bus_peek), (gst_bus_source_dispatch),
20813 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20814 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20815 gst_bus_poll may be called from other threads. Handle
20816 this nicely by not making poll_data disappear off the
20817 stack once gst_bus_poll returns.
20818 gst_bus_peek now increments the refcount on the returned
20821 2005-07-29 Wim Taymans <wim@fluendo.com>
20823 * docs/design/part-gstghostpad.txt:
20824 Overview of current GhostPad datastructures and use
20825 cases for changing the target.
20827 2005-07-28 Wim Taymans <wim@fluendo.com>
20829 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20830 Added checks for hierarchy consistency whan adding linked
20833 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20834 Added check to test element scheduling without bin/pipeline.
20836 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20837 First add elements to bin, then link.
20839 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20840 (gst_bin_remove_func):
20841 Unlink pads from elements added/removed from bin to maintain
20842 hierarchy consistency.
20844 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20846 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20847 (gst_base_transform_handle_buffer):
20848 * gst/base/gstbasetransform.h:
20849 Remove broken delay_configure (fixes renegotiation of software
20850 scaling pipelines); remove some leftover printf()s.
20852 2005-07-28 Wim Taymans <wim@fluendo.com>
20854 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20855 Added some more tests for wrong hierarchy
20857 * docs/design/part-overview.txt:
20860 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20863 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20864 (gst_element_dispose):
20865 Some more cleanups.
20867 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20868 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20869 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20870 (gst_pad_set_caps), (gst_pad_send_event):
20871 Check for correct hierarchy when linking pads. Moving to
20872 strict requirement for ghostpads when linking elements in
20876 Clean ups. Added WRONG_HIERARCHY return value.
20878 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20880 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20881 Better debug if no transform is possible.
20883 2005-07-27 Wim Taymans <wim@fluendo.com>
20885 * docs/random/wtay/network-transp:
20886 Some old doc I had.
20888 2005-07-27 Wim Taymans <wim@fluendo.com>
20890 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20891 (gst_dp_event_from_packet):
20892 Fix serialization of seek events.
20894 2005-07-27 Wim Taymans <wim@fluendo.com>
20896 * check/gst-libs/gdp.c: (GST_START_TEST):
20897 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20898 Fix compilation and fix event serialization.
20900 2005-07-27 Wim Taymans <wim@fluendo.com>
20903 * docs/design/part-TODO.txt:
20904 * docs/design/part-events.txt:
20907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20908 (gst_base_sink_event), (gst_base_sink_do_sync),
20909 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20910 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20911 (gst_base_src_do_seek), (gst_base_src_event_handler),
20912 (gst_base_src_loop):
20913 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20914 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20915 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20916 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20917 (gst_base_transform_set_passthrough),
20918 (gst_base_transform_is_passthrough):
20919 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20920 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20926 * gst/gstelement.c: (gst_element_seek):
20927 * gst/gstelement.h:
20928 Update gst_element_seek.
20930 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20931 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20932 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20933 (gst_event_new_eos), (gst_event_new_newsegment),
20934 (gst_event_parse_newsegment), (gst_event_new_tag),
20935 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20936 (gst_event_parse_qos), (gst_event_new_seek),
20937 (gst_event_parse_seek), (gst_event_new_navigation):
20939 Make GstEvent use GstStructure. Add parsing code, make sure the
20940 API is sufficiently generic.
20941 Mark possible directions of events and serialization.
20943 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20944 (_gst_message_copy), (gst_message_new_segment_start),
20945 (gst_message_new_segment_done), (gst_message_new_custom),
20946 (gst_message_parse_segment_start),
20947 (gst_message_parse_segment_done):
20950 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20951 (gst_pad_set_caps), (gst_pad_send_event):
20952 Update for new events.
20953 Catch events sent in wrong directions.
20955 * gst/gstqueue.c: (gst_queue_link_src),
20956 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20957 (gst_queue_handle_src_query):
20962 Remove event code from this file.
20964 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20965 (gst_dp_event_from_packet):
20968 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20970 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20971 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20972 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20973 Make debugging actually useful.
20975 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20977 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20978 (gst_pad_fixate_caps):
20979 Implement default fixation once again, so that gst_pad_fixate()
20980 actually does anything at all. This probably needs to be some
20981 sort of a last resort, and use profile-based fixation first, but
20982 since that doesn't exist yet, this is the best we have. Fixes
20983 visualization in Totem.
20985 2005-07-22 Wim Taymans <wim@fluendo.com>
20987 * docs/design/part-events.txt:
20990 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20991 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20992 (gst_base_sink_activate_pull):
20993 Some more comments.
20995 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20996 (gst_fake_src_create):
20997 Fix handoff marshall.
20999 * gst/elements/gstidentity.c: (gst_identity_class_init),
21000 (gst_identity_transform_ip):
21001 We're a real inplace element.
21003 * gst/gstbus.c: (gst_bus_post):
21004 Added some comments.
21006 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21007 * tests/muxing/case1.c: (main):
21008 * tests/sched/dynamic-pipeline.c: (main):
21009 * tests/sched/interrupt1.c: (main):
21010 * tests/sched/interrupt2.c: (main):
21011 * tests/sched/interrupt3.c: (main):
21012 * tests/sched/runxml.c: (main):
21013 * tests/sched/sched-stress.c: (main):
21014 * tests/seeking/seeking1.c: (event_received), (main):
21015 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21017 * tests/threadstate/threadstate3.c: (main):
21018 * tests/threadstate/threadstate4.c: (main):
21019 * tests/threadstate/threadstate5.c: (main):
21022 2005-07-21 Wim Taymans <wim@fluendo.com>
21024 * docs/design/part-seeking.txt:
21025 Some small additions.
21027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21028 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21029 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21030 * gst/base/gstbasesink.h:
21031 discont values are gint64, handle the math correctly.
21033 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21034 Make the basesrc report error if the source pad is not linked.
21036 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21037 (gst_queue_loop), (gst_queue_handle_src_query),
21038 (gst_queue_src_activate_push):
21039 Make queue collect data even if the srcpad is not linked.
21040 Start pushing out data as soon as it is linked.
21042 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21044 Added gst_flow_get_name() to ease error reporting.
21046 2005-07-20 Wim Taymans <wim@fluendo.com>
21048 * gst/gstmessage.c: (gst_message_new_segment_start),
21049 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21050 (gst_message_parse_segment_done):
21051 * gst/gstmessage.h:
21052 Added a bunch of messages for advanced seeking.
21054 * gst/parse/grammar.y:
21055 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21056 (gst_dpman_state_changed):
21057 Fix some new-pad -> pad-added signals
21059 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21061 * docs/manual/appendix-porting.xml:
21062 * docs/pwg/appendix-porting.xml:
21063 Document new-pad/state-change signal renames and the FixedList
21066 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21068 * docs/manual/advanced-autoplugging.xml:
21069 * docs/manual/basics-helloworld.xml:
21070 * docs/manual/basics-pads.xml:
21071 * docs/random/ds/0.9-suggested-changes:
21072 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21073 * gst/gstelement.h:
21077 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21078 (gst_structure_parse_array), (gst_structure_parse_value):
21079 * gst/gstvalue.c: (gst_type_is_fixed),
21080 (gst_value_list_prepend_value), (gst_value_list_append_value),
21081 (gst_value_list_get_size), (gst_value_list_get_value),
21082 (gst_value_transform_array_string), (gst_value_serialize_array),
21083 (gst_value_deserialize_array), (gst_value_intersect_array),
21084 (gst_value_is_fixed), (_gst_value_initialize):
21086 GstElement::new-pad -> pad-added, GstElement::state-change ->
21087 state-changed, GstValueFixedList -> GstValueArray, add format and
21088 flags as their own arguments in gst_element_seek() (should improve
21089 "bindeability"), remove function generators since they don't work
21090 under a whole bunch of compilers (they were deprecated already
21093 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21095 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21096 (_gst_debug_register_funcptr):
21098 Fix illegal cast on some platforms (#309253).
21100 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21102 * gst/gstmessage.c: (gst_message_new_custom):
21103 * gst/gstmessage.h:
21104 Add _new_custom, make _new_application a macro to _new_custom.
21106 2005-07-20 Wim Taymans <wim@fluendo.com>
21108 * gst/base/gstbasesrc.c: (gst_base_src_init),
21109 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21110 * gst/base/gstbasesrc.h:
21111 Add a gboolean to decide when to push out a discont.
21113 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21114 (gst_queue_loop), (gst_queue_handle_src_query),
21115 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21116 (gst_queue_set_property), (gst_queue_get_property):
21119 * tests/threadstate/threadstate1.c: (main):
21120 Make a thread test compile and run... very silly..
21123 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21125 * docs/manual/appendix-porting.xml:
21126 Mention removal of libgstgconf-0.9.la and existence of gconf
21129 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21131 * docs/pwg/advanced-clock.xml:
21132 * docs/pwg/appendix-porting.xml:
21133 * docs/pwg/intro-preface.xml:
21134 * docs/pwg/other-base.xml:
21135 * docs/pwg/other-manager.xml:
21136 * docs/pwg/other-nton.xml:
21137 * docs/pwg/other-ntoone.xml:
21138 * docs/pwg/other-oneton.xml:
21139 * docs/pwg/pwg.xml:
21140 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21141 demuxer), remove n-to-n (was never written), fix some code examples
21142 and links and update the porting section to include all this.
21144 2005-07-19 Wim Taymans <wim@fluendo.com>
21146 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21147 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21148 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21149 (gst_queue_src_activate_push), (gst_queue_change_state),
21150 (gst_queue_get_property):
21152 Propagate GstFlowReturn more intelligently upstream and output
21153 an ERROR/EOS when streaming stopped due to fatal error.
21155 2005-07-19 Wim Taymans <wim@fluendo.com>
21157 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21158 Don't block forever for the state change to complete, the
21159 pipeline already did with a sensible timeout.
21161 2005-07-19 Wim Taymans <wim@fluendo.com>
21163 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21164 Make sure we never call the create function is we
21167 2005-07-19 Andy Wingo <wingo@pobox.com>
21169 * gst/parse/parse.l: Attempt to solve bug #172815.
21171 2005-07-19 Wim Taymans <wim@fluendo.com>
21173 * docs/design/part-clocks.txt:
21174 * docs/design/part-events.txt:
21175 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21176 Small docs updates.
21177 Only update the seeking values when we are not
21180 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21182 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21183 Oops, ignore the result of gst_pad_push_event here.
21185 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21187 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21188 (gst_base_src_activate_push):
21189 Send discont event from the loop function, as pads
21190 aren't activated yet in the activate_push handler.
21192 * gst/gstbin.c: (bin_bus_handler):
21193 Don't leak element name.
21195 2005-07-18 Andy Wingo <wingo@pobox.com>
21197 * configure.ac: Use AS_LIBTOOL_TAGS.
21199 2005-07-18 Wim Taymans <wim@fluendo.com>
21201 * docs/gst/gstreamer.types:
21202 Remove deleted types.
21204 2005-07-18 Wim Taymans <wim@fluendo.com>
21206 * check/elements/gstfakesrc.c: (GST_START_TEST):
21209 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21210 (init_popt_callback):
21212 * gst/gst_private.h:
21213 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21214 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21217 * gst/gstconfig.h.in:
21218 * gst/gstelement.c: (gst_element_class_init),
21219 (gst_element_set_base_time), (gst_element_get_base_time),
21220 (iterator_fold_with_resync), (gst_element_change_state),
21221 (gst_element_dispose), (gst_element_get_bus):
21222 * gst/gstelement.h:
21223 * gst/gstelementfactory.h:
21224 * gst/gsterror.c: (_gst_core_errors_init):
21227 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21229 * gst/gstinfo.c: (_gst_debug_init):
21230 * gst/gstmessage.c: (_gst_message_copy):
21231 * gst/gstmessage.h:
21232 * gst/gstminiobject.h:
21235 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21236 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21239 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21240 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21241 (gst_pipeline_get_last_stream_time):
21242 * gst/gstpipeline.h:
21243 * gst/gstpluginfeature.h:
21245 * gst/gstscheduler.c:
21246 * gst/gstscheduler.h:
21247 * gst/gststructure.h:
21248 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21249 (gst_task_finalize), (gst_task_func), (gst_task_create),
21250 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21251 (gst_task_stop), (gst_task_pause):
21253 * gst/gsttypefind.h:
21255 * gst/registries/gstlibxmlregistry.c: (load_feature),
21256 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21257 * gst/registries/gstxmlregistry.c:
21258 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21259 * gst/schedulers/threadscheduler.c:
21260 * libs/gst/control/dparammanager.h:
21261 * tools/gst-inspect.c: (print_element_list),
21262 (print_plugin_features), (print_element_features):
21263 * tools/gst-xmlinspect.c: (print_element_list),
21264 (print_plugin_info), (main):
21265 Removed plugable schedulers.
21266 Removed Scheduler/Manager from elements.
21267 Removed gsttypes.h, rearranged includes.
21268 Removed dependency pad<->element, element<>pipeline, and
21269 various others, fix includes.
21270 implement gst_pad_get_parent() with gst_object_get_parent()
21271 Make GstTask sefcontained.
21272 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21274 Fix endless loop in iterator_fold_with_resync.
21277 2005-07-18 Wim Taymans <wim@fluendo.com>
21283 2005-07-18 Wim Taymans <wim@fluendo.com>
21286 No more cothreads.h
21288 2005-07-18 Wim Taymans <wim@fluendo.com>
21292 Let's remove these.
21294 2005-07-18 Wim Taymans <wim@fluendo.com>
21296 * docs/design/part-dynamic.txt:
21297 * docs/design/part-events.txt:
21298 * docs/design/part-seeking.txt:
21299 Some more docs in the works.
21301 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21302 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21303 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21304 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21305 (gst_base_transform_handle_buffer),
21306 (gst_base_transform_sink_activate_push),
21307 (gst_base_transform_src_activate_pull),
21308 (gst_base_transform_set_passthrough),
21309 (gst_base_transform_is_passthrough):
21312 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21315 * gst/gstevent.c: (gst_event_finalize):
21318 * gst/gstutils.c: (gst_element_unlink),
21319 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21320 (gst_pad_proxy_setcaps):
21322 Add _get_parent_element() to get a pads parent as an element.
21324 2005-07-18 Wim Taymans <wim@fluendo.com>
21326 * check/gst/gstbin.c: (GST_START_TEST):
21329 2005-07-18 Wim Taymans <wim@fluendo.com>
21331 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21332 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21333 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21334 (gst_base_sink_event), (gst_base_sink_do_sync),
21335 (gst_base_sink_chain), (gst_base_sink_loop),
21336 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21337 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21339 Fix logic for returning ASYNC when not prerolled.
21341 2005-07-18 Wim Taymans <wim@fluendo.com>
21343 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21344 Fix nasty refcount bug.
21346 2005-07-16 Philippe Khalaf <burger@speedy.org>
21348 * gst/elements/gstfdsrc.c:
21349 * gst/elements/gstfdsrc.h:
21350 * gst/elements/gstelements.c:
21351 * gst/elements/Makefile.am:
21352 Ported fdsrc to 0.9.
21354 2005-07-16 Wim Taymans <wim@fluendo.com>
21356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21357 (gst_base_sink_do_sync):
21360 2005-07-16 Wim Taymans <wim@fluendo.com>
21362 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21363 (gst_base_sink_event), (gst_base_sink_get_times),
21364 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21365 * gst/base/gstbasesink.h:
21366 Store and use discont values when syncing buffers as described
21369 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21370 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21371 (gst_base_src_activate_push):
21372 Push discont event when starting.
21374 * gst/elements/gstidentity.c: (gst_identity_transform):
21377 * gst/gstbin.c: (gst_bin_change_state):
21378 Small cleanups in base_time distribution.
21380 * gst/gstelement.c: (gst_element_set_base_time),
21381 (gst_element_get_base_time), (gst_element_change_state):
21382 * gst/gstelement.h:
21383 Added methods for the base_time of the element.
21386 * gst/gstpipeline.c: (gst_pipeline_send_event),
21387 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21388 (gst_pipeline_get_last_stream_time):
21389 * gst/gstpipeline.h:
21391 Handle seeking as described in design doc, remove stream_time
21393 Cleanups clock and stream_time selection code. Added accessors
21394 for the stream_time.
21397 2005-07-16 Andy Wingo <wingo@pobox.com>
21399 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21402 2005-07-16 Wim Taymans <wim@fluendo.com>
21404 * check/gst/gstbin.c: (GST_START_TEST):
21405 Make elements silent as the deep_notify refs the
21406 parent, which might make the test fail.
21408 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21409 Don't hold the lock for too long.
21411 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21413 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21414 Don't unref the caps we passed to gst_caps_make_writable() after
21415 passing them. gst_caps_make_writable() will do that for us.
21417 2005-07-15 Andy Wingo <wingo@pobox.com>
21419 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21422 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21423 own marshalling function for the handoff signal. Properly type the
21424 buffer as a buffer. Fixes some warnings. Should do a more general
21426 (gst_identity_class_init): Plug into the right marshaller.
21428 2005-07-15 Wim Taymans <wim@fluendo.com>
21430 * docs/design/part-TODO.txt:
21431 * docs/design/part-clocks.txt:
21432 * docs/design/part-element-sink.txt:
21433 * docs/design/part-events.txt:
21434 * docs/design/part-gstpipeline.txt:
21435 Updated docs, mostly DISCONT related.
21437 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21439 * docs/pwg/building-pads.xml:
21440 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21442 2005-07-15 Andy Wingo <wingo@pobox.com>
21444 * tools/gst-typefind.c: Update, add copyright block.
21446 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21447 Normalize and truncate caps before fixation.
21450 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21451 discards all but the first structure from its argument.
21453 2005-07-15 Wim Taymans <wim@fluendo.com>
21455 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21456 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21457 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21458 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21459 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21460 (gst_base_transform_chain), (gst_base_transform_change_state),
21461 (gst_base_transform_set_passthrough),
21462 (gst_base_transform_is_passthrough):
21463 * gst/base/gstbasetransform.h:
21464 Make passthrough work using the bufferpools.
21465 Changed API a bit, subclasses have to write into a buffer
21466 provided by the base class.
21467 More debug info in nego functions.
21469 * gst/elements/gstidentity.c: (gst_identity_init),
21470 (gst_identity_transform):
21471 Port to new base class.
21473 2005-07-15 Wim Taymans <wim@fluendo.com>
21475 * gst/gstmessage.c: (gst_message_new_state_changed):
21476 * tools/gst-launch.c: (event_loop), (main):
21477 Totally dump messages in -launch with the -m option.
21478 Fix message name for State messages,
21480 2005-07-14 Wim Taymans <wim@fluendo.com>
21482 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21483 Post error messages on errors.
21485 2005-07-14 Wim Taymans <wim@fluendo.com>
21487 * gst/gstcaps.c: (gst_caps_do_simplify):
21491 Define error for stream stopped.
21493 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21494 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21495 Do proper return values.
21497 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21498 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21499 (gst_pad_get_range):
21500 Better return values.
21503 Reorganise return values, add macro to check for fatal errors.
21505 * gst/gstqueue.c: (gst_queue_chain):
21506 Return proper GstFlowReturn values,
21508 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21510 * docs/gst/gstreamer-sections.txt:
21511 * docs/gst/gstreamer.types:
21512 * docs/gst/tmpl/gst.sgml:
21513 * docs/gst/tmpl/gstbasesink.sgml:
21514 * docs/gst/tmpl/gstbasesrc.sgml:
21515 * docs/gst/tmpl/gstbasetransform.sgml:
21516 * docs/gst/tmpl/gstbin.sgml:
21517 * docs/gst/tmpl/gstbuffer.sgml:
21518 * docs/gst/tmpl/gstcaps.sgml:
21519 * docs/gst/tmpl/gstclock.sgml:
21520 * docs/gst/tmpl/gstcompat.sgml:
21521 * docs/gst/tmpl/gstconfig.sgml:
21522 * docs/gst/tmpl/gstelement.sgml:
21523 * docs/gst/tmpl/gstelementdetails.sgml:
21524 * docs/gst/tmpl/gstelementfactory.sgml:
21525 * docs/gst/tmpl/gstenumtypes.sgml:
21526 * docs/gst/tmpl/gsterror.sgml:
21527 * docs/gst/tmpl/gstevent.sgml:
21528 * docs/gst/tmpl/gstfakesink.sgml:
21529 * docs/gst/tmpl/gstfakesrc.sgml:
21530 * docs/gst/tmpl/gstfilesink.sgml:
21531 * docs/gst/tmpl/gstfilesrc.sgml:
21532 * docs/gst/tmpl/gstfilter.sgml:
21533 * docs/gst/tmpl/gstformat.sgml:
21534 * docs/gst/tmpl/gstghostpad.sgml:
21535 * docs/gst/tmpl/gstimplementsinterface.sgml:
21536 * docs/gst/tmpl/gstindex.sgml:
21537 * docs/gst/tmpl/gstindexfactory.sgml:
21538 * docs/gst/tmpl/gstinfo.sgml:
21539 * docs/gst/tmpl/gstiterator.sgml:
21540 * docs/gst/tmpl/gstmacros.sgml:
21541 * docs/gst/tmpl/gstmemchunk.sgml:
21542 * docs/gst/tmpl/gstminiobject.sgml:
21543 * docs/gst/tmpl/gstobject.sgml:
21544 * docs/gst/tmpl/gstpad.sgml:
21545 * docs/gst/tmpl/gstpadtemplate.sgml:
21546 * docs/gst/tmpl/gstparse.sgml:
21547 * docs/gst/tmpl/gstpipeline.sgml:
21548 * docs/gst/tmpl/gstplugin.sgml:
21549 * docs/gst/tmpl/gstpluginfeature.sgml:
21550 * docs/gst/tmpl/gstquery.sgml:
21551 * docs/gst/tmpl/gstqueue.sgml:
21552 * docs/gst/tmpl/gstregistry.sgml:
21553 * docs/gst/tmpl/gstregistrypool.sgml:
21554 * docs/gst/tmpl/gstscheduler.sgml:
21555 * docs/gst/tmpl/gstschedulerfactory.sgml:
21556 * docs/gst/tmpl/gststructure.sgml:
21557 * docs/gst/tmpl/gstsystemclock.sgml:
21558 * docs/gst/tmpl/gsttaglist.sgml:
21559 * docs/gst/tmpl/gsttagsetter.sgml:
21560 * docs/gst/tmpl/gsttrace.sgml:
21561 * docs/gst/tmpl/gsttrashstack.sgml:
21562 * docs/gst/tmpl/gsttypefind.sgml:
21563 * docs/gst/tmpl/gsttypefindfactory.sgml:
21564 * docs/gst/tmpl/gsttypes.sgml:
21565 * docs/gst/tmpl/gsturihandler.sgml:
21566 * docs/gst/tmpl/gsturitype.sgml:
21567 * docs/gst/tmpl/gstutils.sgml:
21568 * docs/gst/tmpl/gstvalue.sgml:
21569 * docs/gst/tmpl/gstversion.sgml:
21570 * docs/gst/tmpl/gstxml.sgml:
21571 * docs/libs/tmpl/gstcontrol.sgml:
21572 * docs/libs/tmpl/gstdataprotocol.sgml:
21573 * docs/libs/tmpl/gstdparam.sgml:
21574 * docs/libs/tmpl/gstdplinint.sgml:
21575 * docs/libs/tmpl/gstdpman.sgml:
21576 * docs/libs/tmpl/gstdpsmooth.sgml:
21577 * docs/libs/tmpl/gstgetbits.sgml:
21578 * docs/libs/tmpl/gstunitconvert.sgml:
21579 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21580 (gst_push_src_base_init), (gst_push_src_class_init),
21581 (gst_push_src_init), (gst_push_src_create):
21582 * gst/base/gstpushsrc.h:
21583 * gst/elements/gstelements.c:
21584 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21585 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21586 (gst_fake_sink_init), (gst_fake_sink_set_property),
21587 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21588 (gst_fake_sink_event), (gst_fake_sink_preroll),
21589 (gst_fake_sink_render), (gst_fake_sink_change_state):
21590 * gst/elements/gstfakesink.h:
21591 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21592 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21593 (gst_fake_src_base_init), (gst_fake_src_class_init),
21594 (gst_fake_src_init), (gst_fake_src_event_handler),
21595 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21596 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21597 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21598 (gst_fake_src_create_buffer), (gst_fake_src_create),
21599 (gst_fake_src_start), (gst_fake_src_stop):
21600 * gst/elements/gstfakesrc.h:
21601 * gst/elements/gstfilesink.c: (_do_init),
21602 (gst_file_sink_base_init), (gst_file_sink_class_init),
21603 (gst_file_sink_init), (gst_file_sink_dispose),
21604 (gst_file_sink_set_location), (gst_file_sink_set_property),
21605 (gst_file_sink_get_property), (gst_file_sink_open_file),
21606 (gst_file_sink_close_file), (gst_file_sink_query),
21607 (gst_file_sink_event), (gst_file_sink_render),
21608 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21609 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21610 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21611 * gst/elements/gstfilesink.h:
21612 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21613 (gst_file_src_class_init), (gst_file_src_init),
21614 (gst_file_src_finalize), (gst_file_src_set_location),
21615 (gst_file_src_set_property), (gst_file_src_get_property),
21616 (gst_file_src_map_region), (gst_file_src_map_small_region),
21617 (gst_file_src_create_mmap), (gst_file_src_create_read),
21618 (gst_file_src_create), (gst_file_src_is_seekable),
21619 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21620 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21621 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21622 (gst_file_src_uri_handler_init):
21623 * gst/elements/gstfilesrc.h:
21624 more autistic cleanliness in functions/names/defines
21626 2005-07-13 Andy Wingo <wingo@pobox.com>
21628 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21629 source couldn't negotiate.
21631 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21635 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21636 function. I am channeling Hades. Put your boots on suckers!!!
21638 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21640 * testsuite/caps/Makefile.am:
21641 * testsuite/caps/value_compare.c:
21642 * testsuite/caps/value_intersect.c:
21643 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21644 move two testsuite apps over to the check dir
21646 2005-07-12 Wim Taymans <wim@fluendo.com>
21648 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21649 Added more debug info in the negotiate process.
21651 * gst/gstmessage.h:
21652 Prepare for segment playback.
21654 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21660 * tools/gst-launch.c: (main):
21661 NULL pipeline on errors.
21663 2005-07-12 Andy Wingo <wingo@pobox.com>
21665 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21666 not it comes from a malloc region. Make sure our copy gets freed.
21668 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21670 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21671 * check/gst/gstmessage.c: (GST_START_TEST):
21672 * check/gst/gststructure.c: (GST_START_TEST),
21673 (gst_structure_suite), (main):
21675 * gst/gstelement.c: (gst_element_message_full):
21676 clean up GError and debug string now that they get copied
21677 * gst/gstmessage.c: (gst_message_new_error),
21678 (gst_message_new_warning), (gst_message_parse_error),
21679 (gst_message_parse_warning):
21680 use GST_TYPE_G_ERROR for structure_new, and take copies of
21681 arguments, so that we don't mess up refcounting
21683 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21685 * check/Makefile.am:
21686 add per-test valgrind targets
21687 * check/gst-libs/gdp.c: (GST_START_TEST),
21688 (gst_data_protocol_suite), (main):
21691 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21693 * check/Makefile.am:
21694 instate more valgrindable tests
21695 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21696 (GST_START_TEST), (fakesrc_suite):
21697 * check/gst/gstpad.c: (GST_START_TEST):
21698 * check/gst/gststructure.c: (GST_START_TEST):
21700 * docs/gst/tmpl/gstminiobject.sgml:
21701 * gst/gstpad.c: (gst_pad_finalize):
21702 fix the static mutex leak
21704 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21706 * check/Makefile.am:
21707 add two more tests for valgrinding
21708 * check/gst/gstvalue.c: (GST_START_TEST):
21709 test refcount of deserialized buffer, found a leak
21710 * docs/gst/gstreamer-docs.sgml:
21711 * docs/gst/gstreamer-sections.txt:
21712 * docs/gst/gstreamer.types:
21713 * docs/gst/tmpl/gstminiobject.sgml:
21714 add miniobject to docs
21715 * gst/gstminiobject.c:
21717 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21718 (gst_string_unwrap):
21719 fix a hard-to-find invalid write for one of the tests
21720 fix a leak for deserialized buffers
21722 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21724 * docs/pwg/advanced-events.xml:
21725 * docs/pwg/advanced-request.xml:
21726 * docs/pwg/advanced-scheduling.xml:
21727 * docs/pwg/appendix-porting.xml:
21728 * docs/pwg/building-boiler.xml:
21729 * docs/pwg/intro-preface.xml:
21730 * docs/pwg/other-ntoone.xml:
21731 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21732 of example code and explanation for pad activation, loop() and
21733 getrange() functions and a bit more. Remove old comments pointing
21735 * examples/pwg/Makefile.am:
21736 Add loop/getrange examples.
21738 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21741 check for valgrind binary + some fixes
21743 valgrind suppressions for the tests
21744 * check/Makefile.am:
21745 add a valgrind: target that valgrinds the unit tests
21746 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21747 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21748 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21749 * check/gst/gstghostpad.c:
21751 * check/gst/gstdata.c:
21753 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21754 (thread_unref), (gst_mini_object_suite), (main):
21756 * gst/gst.c: (gst_deinit):
21758 add a method to clean up.
21759 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21760 (gst_system_clock_obtain):
21761 allow for disposing the system clock.
21762 * tools/gst-launch.c: (main):
21765 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21767 * docs/gst/tmpl/gstbasesrc.sgml:
21768 * docs/gst/tmpl/gstfakesrc.sgml:
21769 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21770 (gst_base_src_init), (gst_base_src_set_property),
21771 (gst_base_src_get_property), (gst_base_src_get_range),
21772 (gst_base_src_start):
21773 * gst/base/gstbasesrc.h:
21774 add num-buffers property
21775 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21776 (gst_fakesrc_init), (gst_fakesrc_set_property),
21777 (gst_fakesrc_get_property), (gst_fakesrc_create),
21778 (gst_fakesrc_start):
21779 remove num-buffers property
21781 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21783 * docs/gst/gstreamer-sections.txt:
21784 * docs/gst/tmpl/gstbasesink.sgml:
21785 * docs/gst/tmpl/gstbasesrc.sgml:
21786 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21787 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21788 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21789 (gst_base_sink_set_property), (gst_base_sink_get_property),
21790 (gst_base_sink_handle_object), (gst_base_sink_event),
21791 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21792 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21793 (gst_base_sink_loop), (gst_base_sink_deactivate),
21794 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21795 (gst_base_sink_change_state):
21796 * gst/base/gstbasesink.h:
21797 * gst/base/gstbasesrc.h:
21798 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21799 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21800 (gst_filesink_init):
21801 more macro splitting
21803 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21805 * gst/gstelement.c: (gst_element_get_bus):
21807 * tools/gst-launch.c: (check_intr), (event_loop):
21810 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21812 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21815 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21817 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21818 (gst_base_src_finalize):
21819 add finalize method and clean up properly
21820 * gst/gstpipeline.c: (gst_pipeline_dispose):
21823 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21825 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21827 add more things to check
21828 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21829 * gst/gstelement.c:
21832 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21834 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21835 (GST_START_TEST), (fakesrc_suite):
21836 * check/gst-libs/gdp.c: (GST_START_TEST):
21837 * check/gst/gst.c: (GST_START_TEST):
21838 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21839 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21840 * check/gst/gstbus.c: (GST_START_TEST):
21841 * check/gst/gstcaps.c: (GST_START_TEST):
21842 * check/gst/gstdata.c: (GST_START_TEST):
21843 * check/gst/gstelement.c: (GST_START_TEST):
21844 * check/gst/gstghostpad.c: (GST_START_TEST):
21845 * check/gst/gstiterator.c: (GST_START_TEST):
21846 * check/gst/gstmessage.c: (GST_START_TEST):
21847 * check/gst/gstobject.c: (GST_START_TEST):
21848 * check/gst/gstpad.c: (GST_START_TEST):
21849 * check/gst/gststructure.c: (GST_START_TEST):
21850 * check/gst/gstsystemclock.c: (GST_START_TEST),
21851 (gst_systemclock_suite):
21852 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21853 * check/gst/gstvalue.c: (GST_START_TEST):
21854 * check/pipelines/cleanup.c: (GST_START_TEST):
21855 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21856 * check/states/sinks.c: (GST_START_TEST):
21857 * check/gstcheck.c: (gst_check_init):
21858 * check/gstcheck.h:
21859 add debugging category
21860 use GST_START_TEST now, so we add a debug line
21862 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21864 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21865 add test for state change message on a bin
21866 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21868 * gst/gstbin.c: (gst_bin_init):
21869 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21870 * gst/gstelement.c: (gst_element_post_message),
21871 (gst_element_set_state):
21872 * gst/gstelementfactory.c: (gst_element_factory_create):
21873 * gst/gstmessage.c: (gst_message_new):
21874 * gst/gstscheduler.c:
21875 various debugging additions and cleanups
21877 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21879 * check/Makefile.am:
21880 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21882 adding tests for elements
21883 * gst/gstelement.c: (gst_element_dispose):
21885 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21887 * gst/registries/gstlibxmlregistry.c: (load_feature):
21888 plug more leaks. A simple gst_init() now is leakfree, yay.
21890 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21892 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21893 (gst_xml_registry_load):
21894 plug another memleak
21896 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21899 use GST_SET_ERROR_CFLAGS
21900 * docs/faq/cvs.xml:
21901 change to ERROR_CFLAGS
21903 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21906 make GST_ERROR_CFLAGS overridable and re-enable Werror
21907 * docs/faq/cvs.xml:
21908 add a note about error CFLAGS
21909 * docs/gst/tmpl/gstfakesrc.sgml:
21910 * gst/elements/gstfakesrc.c:
21911 comment out some unused code
21912 * gst/gst.c: (split_and_iterate):
21913 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21917 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21919 * common/Makefile.am:
21920 * common/gtk-doc.mak:
21921 * docs/gst/Makefile.am:
21922 factor out gtk-doc.mak
21924 2005-07-07 Wim Taymans <wim@fluendo.com>
21926 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21927 (gst_thread_scheduler_dispose):
21928 Unlock the STREAM_LOCK completely.
21930 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21932 * check/Makefile.am:
21933 * check/elements/.cvsignore:
21934 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21935 (START_TEST), (fakesrc_suite), (main):
21936 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21937 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21938 (gst_fakesrc_create), (gst_fakesrc_start):
21939 * gst/elements/gstfakesrc.h:
21940 adding a first element test
21942 2005-07-07 Andy Wingo <wingo@pobox.com>
21944 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21947 2005-07-07 Wim Taymans <wim@fluendo.com>
21953 2005-07-07 Wim Taymans <wim@fluendo.com>
21955 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21956 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21957 Allow subclasses to implement their own negotiation.
21959 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21961 * docs/design/part-gstbin.txt:
21962 * docs/design/part-gstpipeline.txt:
21963 Update design notes to reflect the movement of
21964 responsibility for bus handling from GstPipeline to
21967 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21970 Remove unnecessary queue2/3/4 examples.
21972 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21974 * examples/Makefile.am:
21975 * examples/helloworld/helloworld.c: (event_loop), (main):
21976 * examples/queue/queue.c: (event_loop), (main):
21977 * examples/queue2/queue2.c: (main):
21978 Update a couple of the examples to work again.
21980 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21981 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21982 Spelling corrections and extra debug.
21984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21985 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21986 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21988 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21989 (gst_pipeline_change_state):
21990 * gst/gstpipeline.h:
21991 Move the bus handler for children to the GstBin, and create a
21992 separate bus for receiving messages from children to the one the
21993 bus sends 'upwards' on.
21995 2005-07-06 Wim Taymans <wim@fluendo.com>
21998 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21999 (gst_base_sink_handle_object), (gst_base_sink_loop),
22000 (gst_base_sink_change_state):
22001 * gst/base/gstbasesink.h:
22002 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22003 (gst_base_src_init), (gst_base_src_setcaps),
22004 (gst_base_src_getcaps), (gst_base_src_loop),
22005 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22006 (gst_base_src_start), (gst_base_src_change_state):
22007 * gst/base/gstbasesrc.h:
22008 Make basesrc negotiate.
22009 Handle the case where preroll fails in basesink.
22012 2005-07-06 Wim Taymans <wim@fluendo.com>
22014 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22015 Implement the fixate function.
22016 Clean up acceptcaps.
22018 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22020 * docs/pwg/building-filterfactory.xml:
22021 * docs/pwg/pwg.xml:
22022 Remove never-written filter-factory chapter; I'll add the various
22023 base classes to part 4 ("other element types") later on.
22025 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22027 * docs/pwg/advanced-negotiation.xml:
22028 * docs/pwg/building-boiler.xml:
22029 * docs/pwg/building-pads.xml:
22030 * docs/pwg/pwg.xml:
22031 * examples/pwg/Makefile.am:
22032 Add a chapter on caps negotiation, simplify the original code
22033 samples a bit w.r.t. caps negotiation, add link to the advanced
22034 section. Add a bunch of examples showing different use cases of
22035 different types of caps negotiation. Upstream renegotiation isn't
22036 fully documented yet since nobody knows how that works.
22038 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22040 * check/gst/gstpad.c:
22041 * check/gstcheck.c:
22042 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22043 if pad has no parent, return NULL as list of internal links
22045 2005-07-05 Andy Wingo <wingo@pobox.com>
22047 * gst/elements/gstfilesrc.c:
22048 * gst/elements/gstfakesrc.c:
22049 * gst/base/gstpushsrc.c:
22050 * gst/base/gstbasesrc.h:
22051 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22053 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22056 better report generation target (lcov needs a patch)
22058 2005-07-05 Andy Wingo <wingo@pobox.com>
22060 * gst/elements, testsuite: Null if we got it...
22062 2005-07-05 Wim Taymans <wim@fluendo.com>
22065 * libs/gst/dataprotocol/Makefile.am:
22066 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22067 * libs/gst/dataprotocol/dataprotocol.h:
22068 * pkgconfig/Makefile.am:
22069 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22070 * pkgconfig/gstreamer-dataprotocol.pc.in:
22071 Ported dataprotol to 0.9.
22072 Added pkgconfig files.
22074 2005-07-05 Andy Wingo <wingo@pobox.com>
22076 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22077 Default to returning TRUE for the case when tranform_caps returns
22078 a fixed caps, like for identity or volume.
22080 * check/gst/gstbus.c (pound_bus_with_messages):
22081 * check/gst/gstmessage.c (START_TEST):
22082 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22083 message API change.
22085 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22086 logic weaks here: always run transform_caps, trying passthrough
22087 operation only if the original caps intersects with the transform.
22089 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22090 source and sink caps.
22092 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22093 Intersect the peer caps with the pad template before going into
22095 (gst_base_transform_transform_caps): More debugging.
22097 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22100 2005-07-04 Edward Hervey <edward@fluendo.com>
22104 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22107 2005-07-04 Andy Wingo <wingo@pobox.com>
22109 * check/gst/gstpad.c: Only set explicit caps on pads.
22111 2005-07-01 Andy Wingo <wingo@pobox.com>
22113 * tests/network-clock.scm: Commentary update.
22115 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22116 Didn't really make sense, not implementable with basetransform,
22118 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22119 attempt at implementing the sync property, needs an unlock method.
22121 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22122 New func, by default returns the same caps (the identity
22124 (gst_base_transform_getcaps): Uses transform_caps to return
22125 something sensible.
22126 (gst_base_transform_setcaps): Complicated logic to get caps on
22127 both pads, even if they are different, and to call set_caps once
22128 for every time both pads get their caps set.
22129 (gst_base_transform_handle_buffer): Give the ref to the transform
22130 function. Allows in-place modification of the buffer.
22132 * gst/base/gstbasetransform.h (transform_caps): New class method.
22133 Given caps on one side, what can I do on the other.
22134 (set_caps): Take two caps, one for each side of the element.
22137 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22138 caps in place. This is safe because we can check the mutability of
22139 the caps, and a good idea because fixate functions are just called
22140 as a matter of last resort. (Not actually implemented.)
22141 (gst_pad_set_caps): If the caps we're setting is actually the same
22142 as the existing pad caps, just update the pointer without calling
22143 setcaps. Assert that caps is either NULL or fixed, as per the
22146 * gst/gstghostpad.c: Update for fixate changes.
22148 2005-07-02 Andy Wingo <wingo@pobox.com>
22151 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22152 two refcounts makes it immutable, which is enough. Doc more.
22154 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22156 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22157 Put the mini_object into GValue as a mini_object,
22158 not a gpointer, since that's how we declared
22161 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22163 * examples/pwg/Makefile.am:
22164 Fix buildbot again.
22166 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22168 * docs/pwg/building-testapp.xml:
22170 * examples/pwg/Makefile.am:
22173 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22176 * examples/Makefile.am:
22177 * examples/pwg/Makefile.am:
22178 * examples/pwg/extract.pl:
22179 Enable building the PWG examples.
22180 * docs/pwg/advanced-interfaces.xml:
22181 Add URI interface stub.
22182 * docs/pwg/advanced-types.xml:
22183 * docs/pwg/other-autoplugger.xml:
22184 * docs/pwg/appendix-porting.xml:
22185 * docs/pwg/pwg.xml:
22186 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22187 * docs/pwg/building-boiler.xml:
22188 * docs/pwg/building-chainfn.xml:
22189 * docs/pwg/building-pads.xml:
22190 * docs/pwg/building-props.xml:
22191 * docs/pwg/building-state.xml:
22192 * docs/pwg/building-testapp.xml:
22193 Update the building-*.xml parts for 0.9 changes. All examples
22194 code blocks compile in examples/pwg/*.
22196 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22198 * docs/manual/advanced-autoplugging.xml:
22199 * docs/manual/appendix-checklist.xml:
22200 * docs/manual/appendix-integration.xml:
22201 * docs/manual/highlevel-components.xml:
22202 Fix playbin/decodebin examples, update docs a bit, mention bus
22203 instead of signals in various places, mention kmplayer and
22204 kaffeine since they have a working GStreamer backend in the KDE
22207 2005-06-30 Wim Taymans <wim@fluendo.com>
22210 * docs/design/draft-ghostpads.txt:
22211 * docs/design/draft-push-pull.txt:
22212 * docs/design/draft-query.txt:
22213 * docs/design/part-TODO.txt:
22214 * docs/design/part-query.txt:
22215 Added CHANGES-0.9 doc, updated status of other docs.
22220 2005-06-30 Wim Taymans <wim@fluendo.com>
22222 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22223 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22224 (gst_base_sink_change_state):
22225 * gst/base/gstbasesink.h:
22226 Some tweaks, only EOS and a buffer complete a preroll.
22228 2005-06-30 Andy Wingo <wingo@pobox.com>
22230 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22231 activate_push down to the internal pad as well.
22233 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22235 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22237 * gst/gsttaginterface.c:
22238 Some documentation fixes (#307394 and #307397).
22240 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22242 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22244 * gst/gstvalue.c: (gst_value_intersect_list):
22245 Fix memleak (#309125).
22247 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22249 * docs/manual/advanced-dataaccess.xml:
22250 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22251 * docs/manual/basics-pads.xml:
22252 Add reference for filtered caps to above chapter.
22254 2005-06-30 Wim Taymans <wim@fluendo.com>
22256 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22257 (gst_bin_change_state):
22259 Lame attempt at making the state change function a bit
22262 2005-06-30 Wim Taymans <wim@fluendo.com>
22264 * docs/design/part-clocks.txt:
22265 * docs/design/part-element-sink.txt:
22266 * docs/design/part-events.txt:
22267 * docs/design/part-preroll.txt:
22268 * docs/design/part-states.txt:
22269 Some more tweeks and additions to the docs.
22271 2005-06-30 Wim Taymans <wim@fluendo.com>
22273 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22274 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22275 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22276 (gst_pad_check_pull_range), (gst_pad_get_range),
22277 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22279 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22280 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22281 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22282 (gst_pad_remove_buffer_probe):
22283 Removed atomic operations, use existing LOCK.
22284 Move exception handling out of main code path.
22286 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22288 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22289 (silly_return_true_function), (gst_pad_class_init),
22290 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22291 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22292 (gst_pad_send_event):
22293 Fix accumulator, add default value by using _emitv() instead
22294 of _emit() for signal emission.
22296 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22298 * docs/manual/advanced-dataaccess.xml:
22299 * examples/manual/Makefile.am:
22301 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22304 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22306 * gst/elements/gstfilesink.c: (gst_filesink_render):
22307 Simplify code so that we don't have to handle short
22308 writes and return GST_FLOW_ERROR if an error occured.
22310 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22312 * docs/gst/gstreamer-docs.sgml:
22313 Remove probes more.
22315 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22317 * docs/gst/gstreamer-sections.txt:
22318 * docs/gst/tmpl/gstpad.sgml:
22319 * docs/gst/tmpl/gstprobe.sgml:
22321 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22322 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22323 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22324 (gst_pad_push_event), (gst_pad_send_event):
22326 * gst/gstutils.c: (gst_pad_add_data_probe),
22327 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22328 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22329 (gst_pad_remove_buffer_probe):
22331 Remove old probes, add new g-signal-based probes and some utility
22334 2005-06-29 Edward Hervey <edward@fluendo.com>
22336 * gst/gstelementfactory.c:
22339 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22340 the definition to the header file.
22342 2005-06-29 Andy Wingo <wingo@pobox.com>
22344 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22345 plugins from the source directory.
22347 2005-06-29 Wim Taymans <wim@fluendo.com>
22349 * docs/gst/tmpl/gstbuffer.sgml:
22350 * docs/gst/tmpl/gstclock.sgml:
22351 Some fixings for blantently wrong text.
22353 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22355 * check/Makefile.am:
22356 * gst/gst.c: (add_path_func), (init_pre):
22357 * gst/gstregistry.c: (gst_registry_add_path):
22358 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22359 only scan the GST_PLUGIN_PATH locations, and not add
22362 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22364 * docs/gst/gstreamer-sections.txt:
22365 * docs/gst/tmpl/gstbasesrc.sgml:
22366 * gst/gstelement.c:
22367 * gst/gstelement.h:
22372 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22374 * docs/manual/advanced-autoplugging.xml:
22375 Fix autoplugging example.
22377 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22379 * docs/manual/advanced-autoplugging.xml:
22380 * docs/manual/mime-world.fig:
22381 Try to get autoplugging working, fix type detection. Fix text
22382 in hello-world image.
22384 2005-06-29 Wim Taymans <wim@fluendo.com>
22386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22387 (gst_base_sink_change_state):
22391 map SIGNAL and BROADCAST to the right function.
22394 Remove redundant braces.
22396 * gst/gstpad.c: (gst_pad_set_caps):
22397 Don't call setcaps function when reseting caps to NULL.
22399 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22400 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22401 (gst_system_clock_id_unschedule):
22402 Use BROADCAST as this is what we do.
22404 2005-06-29 Wim Taymans <wim@fluendo.com>
22406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22407 We are actually prerolling before commiting the state
22410 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22412 * docs/manual/advanced-clocks.xml:
22413 * docs/manual/advanced-interfaces.xml:
22414 * docs/manual/advanced-metadata.xml:
22415 * docs/manual/advanced-position.xml:
22416 * docs/manual/advanced-schedulers.xml:
22417 * docs/manual/advanced-threads.xml:
22418 * docs/manual/appendix-porting.xml:
22419 * docs/manual/basics-bins.xml:
22420 * docs/manual/basics-bus.xml:
22421 * docs/manual/basics-elements.xml:
22422 * docs/manual/basics-helloworld.xml:
22423 * docs/manual/basics-pads.xml:
22424 * docs/manual/highlevel-components.xml:
22425 * docs/manual/manual.xml:
22426 * docs/manual/thread.fig:
22427 Update (until threads/scheduling) Application Development Manual;
22428 remove GstThread, add GstBus, add simple porting checklist, add
22429 documentation for tag writing, clocks, make all examples until this
22430 part compile and run.
22431 * examples/manual/Makefile.am:
22432 Update from changes to Application Development Manual; add bus
22433 example, remove thread example.
22435 2005-06-28 Wim Taymans <wim@fluendo.com>
22437 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22438 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22439 (gst_bus_source_dispatch):
22440 Add debugging messages.
22441 Make internal methods static.
22442 Handle the case where the bus is flushed in the handler.
22444 * gst/gstelement.c: (gst_element_get_bus):
22445 Fix refcount in _get_bus();
22447 * gst/gstpipeline.c: (gst_pipeline_change_state),
22448 (gst_pipeline_get_clock_func):
22449 Clock refcounting fixes.
22450 Handle the case where preroll timed out more gracefully.
22452 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22453 Clean up the internal thread in dispose. This is needed
22454 for subclasses that actually get disposed.
22456 * gst/schedulers/threadscheduler.c:
22457 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22458 (gst_thread_scheduler_dispose):
22459 Free thread pool in dispose.
22461 2005-06-28 Andy Wingo <wingo@pobox.com>
22463 * tests/network-clock-utils.scm (debug, print-event): New utils.
22465 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22466 (*packet-loss*): Unified loss probability.
22467 (network-time): Report out-of-band events.
22469 * tests/plot-data: Add support for out-of-band events. Hack it
22470 into this script instead of passing it down the pipe; should fix
22473 2005-06-28 Wim Taymans <wim@fluendo.com>
22475 * docs/gst/gstreamer.types:
22476 * docs/gst/tmpl/gstbasesrc.sgml:
22477 * docs/gst/tmpl/gstpad.sgml:
22480 2005-06-28 Wim Taymans <wim@fluendo.com>
22482 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22483 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22484 (gst_proxy_pad_do_fixatecaps):
22485 Correctly proxy the check_pull_range function.
22487 2005-06-28 Andy Wingo <wingo@pobox.com>
22489 * tests/network-clock.scm: Removed need for slib.
22491 2005-06-28 Wim Taymans <wim@fluendo.com>
22493 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22494 (gst_basesink_preroll_queue_flush):
22495 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22496 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22497 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22498 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22499 (gst_proxy_pad_set_property):
22502 * gst/gstqueue.c: (gst_queue_init):
22503 The deprecated pad loop function is removed now.
22505 2005-06-28 Andy Wingo <wingo@pobox.com>
22507 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22508 New parameters, simulate network packet loss.
22510 * tests/network-clock-utils.scm: Initialize the RNG.
22512 2005-06-28 Wim Taymans <wim@fluendo.com>
22514 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22515 (gst_basesink_event), (gst_basesink_deactivate):
22516 Flushing the preroll queue always needs to unlock the waiters.
22518 2005-06-28 Edward Hervey <edward@fluendo.com>
22520 * gst/gstpipeline.c: (gst_pipeline_send_event):
22521 Wheen a seek was successful on a pipeline, set the stream_time to the
22522 seek offset in order to have a synchronized stream_time.
22524 2005-06-28 Wim Taymans <wim@fluendo.com>
22526 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22527 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22528 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22529 (gst_proxy_pad_do_fixatecaps):
22530 Call wrapper function instead of just calling the function
22531 pointers. This takes care of any locking and whatmore.
22533 2005-06-28 Wim Taymans <wim@fluendo.com>
22535 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22536 (gst_pad_pull_range):
22538 CONNECTED -> LINKED.
22540 2005-06-28 Andy Wingo <wingo@pobox.com>
22542 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22543 source-munging commit!!!
22545 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22546 (gst_object_sink): Take gpointer arguments, not GstObject --
22547 avoids casts. Like GLib.
22549 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22552 2005-06-27 Andy Wingo <wingo@pobox.com>
22554 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22557 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22558 returns a sorted copy of the trace list.
22559 (gst_alloc_trace_print_live): New API, only prints traces with
22560 live objects. Sort the list.
22561 (gst_alloc_trace_print_all): Sort the list.
22562 (gst_alloc_trace_print): Align columns.
22564 * gst/elements/gstttypefindelement.c:
22565 * gst/elements/gsttee.c:
22566 * gst/base/gstbasesrc.c:
22567 * gst/base/gstbasesink.c:
22568 * gst/base/gstbasetransform.c:
22569 * gst/gstqueue.c: Adapt for pad activation changes.
22571 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22573 (gst_pipeline_dispose): Drop ref on sched.
22575 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22576 (gst_pad_activate_default): Push mode by default.
22577 (pre_activate_switch, post_activate_switch): New stubs, things to
22578 do before and after switching activation modes on pads.
22579 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22580 the pad's activate function to choose which mode to activate.
22581 Shortcut on deactivation and call the right function directly.
22582 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22584 (gst_pad_activate_push): New API, same for push mode.
22585 (gst_pad_set_activate_function)
22586 (gst_pad_set_activatepull_function)
22587 (gst_pad_set_activatepush_function): Setters for new API.
22589 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22590 Trace all miniobjects.
22591 (gst_mini_object_make_writable): Unref the arg if we copy, like
22592 gst_caps_make_writable.
22594 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22596 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22597 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22598 Adapt for new pad API.
22600 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22602 * gst/gstelement.h:
22603 * gst/gstelement.c (gst_element_iterate_src_pads)
22604 (gst_element_iterate_sink_pads): New API functions.
22606 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22607 should fold into gstiterator.c in some form.
22608 (gst_element_pads_activate): Simplified via use of fold and
22609 delegation of decisions to gstpad->activate.
22611 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22614 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22615 class once in init, like gstmessage. Didn't run into this issue
22616 but it seems correct. Don't initialize a trace, gstminiobject does
22619 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22620 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22622 (assert_live_count): New util function, uses alloc traces to check
22625 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22626 To be modified when unlink drops the internal pad.
22628 2005-06-27 Wim Taymans <wim@fluendo.com>
22630 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22631 (gst_bin_change_state):
22632 Cleanup the get_state() function a little, make sure it
22633 iterates the same set of elements.
22634 Added stub iterate_state_order().
22636 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22638 * docs/gst/gstreamer-docs.sgml:
22639 * docs/gst/gstreamer-sections.txt:
22640 * docs/gst/gstreamer.types:
22641 * docs/gst/tmpl/gstbasesink.sgml:
22642 * docs/gst/tmpl/gstbasesrc.sgml:
22643 * docs/gst/tmpl/gstbasetransform.sgml:
22644 * docs/gst/tmpl/gstelement.sgml:
22645 * docs/gst/tmpl/gstiterator.sgml:
22646 * gst/base/gstbasesrc.c:
22647 * gst/base/gstbasesrc.h:
22648 * gst/base/gstbasetransform.h:
22649 * gst/gstelement.c:
22650 * gst/gstiterator.h:
22651 adding basetransform and iterator docs
22653 2005-06-27 Andy Wingo <wingo@pobox.com>
22655 * docs/design/part-activation.txt: Notes on how activation should
22656 work -- not quite implemented yet.
22658 2005-06-25 Wim Taymans <wim@fluendo.com>
22660 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22661 At least get the chain function correct, needs more
22664 2005-06-25 Wim Taymans <wim@fluendo.com>
22666 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22667 (gst_basesink_handle_object), (gst_basesink_event),
22668 (gst_basesink_do_sync), (gst_basesink_handle_event),
22669 (gst_basesink_change_state):
22671 Right, two problems here: ghostpads don't take locks and
22672 glib _rec_mutex_lock_full() with depth==0 still locks.
22673 Catch illegal locking and g_warn them.
22675 2005-06-25 Wim Taymans <wim@fluendo.com>
22677 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22678 Have to check for completion now...
22680 2005-06-25 Wim Taymans <wim@fluendo.com>
22682 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22683 (gst_basesink_handle_object), (gst_basesink_event),
22684 (gst_basesink_do_sync), (gst_basesink_handle_event),
22685 (gst_basesink_change_state):
22687 Unlock STREAM_LOCK whatever the recursion was.
22689 2005-06-25 Wim Taymans <wim@fluendo.com>
22691 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22692 (gst_basesink_preroll_queue_empty),
22693 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22694 (gst_basesink_event), (gst_basesink_do_sync),
22695 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22696 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22697 (gst_basesink_change_state):
22698 Reworked the base sink, handle event and buffer serialisation
22699 correctly and removed possible deadlock.
22700 Handle EOS correctly.
22702 2005-06-25 Wim Taymans <wim@fluendo.com>
22704 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22705 (gst_pipeline_change_state):
22706 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22707 Allow elements to post EOS in the state change function.
22708 Fix up -launch, make it exit the poll loop when the
22709 pipeline actually changed state.
22710 Fix up warning parsing in -launch.
22712 2005-06-25 Wim Taymans <wim@fluendo.com>
22714 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22715 (gst_tee_sink_activate):
22716 Core takes STREAM_LOCK for us now.
22718 2005-06-25 Wim Taymans <wim@fluendo.com>
22720 * gst/gstelement.c: (gst_element_get_state_func),
22721 (gst_element_set_state):
22722 * gst/gstelement.h:
22723 * gst/gstmessage.c: (gst_message_parse_error),
22724 (gst_message_parse_warning):
22725 Keep track of current target state while performing a state
22726 change so that subclasses can do something interesting.
22727 Fix parsing of warning/error messages when GError is NULL.
22729 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22731 * docs/gst/Makefile.am:
22732 * docs/gst/gstreamer-docs.sgml:
22733 * docs/gst/gstreamer-sections.txt:
22734 * docs/gst/gstreamer.types:
22735 * docs/gst/tmpl/gstbasesink.sgml:
22736 * docs/gst/tmpl/gstbasesrc.sgml:
22737 * docs/gst/tmpl/gstbin.sgml:
22738 * docs/gst/tmpl/gstcompat.sgml:
22739 * docs/gst/tmpl/gstfakesink.sgml:
22740 * docs/gst/tmpl/gstfakesrc.sgml:
22741 * docs/gst/tmpl/gstfilesink.sgml:
22742 * docs/gst/tmpl/gstfilesrc.sgml:
22743 * docs/gst/tmpl/gstindex.sgml:
22744 * docs/manual/appendix-quotes.xml:
22745 * gst/base/gstbasesrc.h:
22746 * gst/elements/gstfakesrc.h:
22747 * gst/gstmessage.h:
22748 start pulling in base classes and elements in our docs
22750 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22752 * docs/gst/Makefile.am:
22753 * docs/libs/Makefile.am:
22754 fixed make distcheck with gtk-doc 1.3
22756 2005-06-23 Wim Taymans <wim@fluendo.com>
22758 * gst/gstelement.c: (gst_element_get_state_func),
22759 (gst_element_set_state), (gst_element_change_state):
22760 When the state did not change, also report NO_PREROLL
22763 2005-06-23 Wim Taymans <wim@fluendo.com>
22765 * gst/gstpad.c: (gst_pad_event_default):
22766 * gst/gstqueue.c: (gst_queue_loop):
22767 No unsafe task pausing please.
22769 2005-06-23 Wim Taymans <wim@fluendo.com>
22771 * gst/schedulers/threadscheduler.c:
22772 (gst_thread_scheduler_task_start),
22773 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22774 Ref the task before pushing it on the threadpool. This
22775 makes sure that we have a ref when the threadfunction is
22778 2005-06-23 Andy Wingo <wingo@pobox.com>
22780 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22781 offset is greater than the file's size.
22783 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22784 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22785 * gst/gstobject.c (gst_object_class_init): Make the class lock
22786 recursive. Wim won't let me drop deep_notify. Decodebin works
22787 again, whoopdy doo.
22789 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22790 internal pad, and hacks accordingly. Doesn't do it on the target
22791 pad because we change its caps. Probably catches all cases of
22793 (gst_ghost_pad_set_property): Connect to notify::caps as
22796 * tests/network-clock.scm (plot-simulation): Pipe data to the
22797 elite python skript.
22799 * tests/network-clock-utils.scm (define-parameter): New macro,
22800 defines a parameter that can be set via the command line.
22801 (set-parameter!, parse-parameter-arguments): Command line args
22804 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22807 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22809 * gst/elements/gsttypefindelement.c:
22810 (gst_type_find_element_handle_event):
22811 Don't restart typefinding on a discont.
22812 * gst/gstelement.c: (gst_element_set_state):
22813 Debug spelling fix.
22814 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22815 Allow changing mode of an active pad.
22816 Debug output fixes.
22817 * gst/registries/gstlibxmlregistry.c: (load_feature):
22818 Don't cast a static pad template to a normal pad template.
22820 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22822 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22823 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22824 remove gst_strtoll completely, since it didn't actually do
22825 anything more than what g_ascii_strtoull already does.
22826 check for range errors when deserializing
22827 do a cast for the unsigned cases; but further fixing needs
22828 a decision on what the interpretation of "(int)" and
22829 deserialization should be for values that fall outside the
22830 type's boundaries (ie, refuse, or interpret as casting)
22832 2005-06-23 Wim Taymans <wim@fluendo.com>
22834 * check/Makefile.am:
22835 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22836 * docs/design/part-live-source.txt:
22837 * docs/design/part-states.txt:
22838 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22839 (gst_basesrc_set_live), (gst_basesrc_is_live),
22840 (gst_basesrc_get_range), (gst_basesrc_activate),
22841 (gst_basesrc_change_state):
22842 * gst/base/gstbasesrc.h:
22843 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22844 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22845 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22846 * gst/gstelement.c: (gst_element_get_state_func),
22847 (gst_element_set_state):
22848 * gst/gstelement.h:
22850 * tools/gst-launch.c: (event_loop), (main):
22851 Added support for live sources and other elements that
22853 Updated design docs, added live-source design doc.
22854 Implemented live source functionality in basesrc
22855 Fix error condition in _bin_get_state()
22856 Implement live source handling in -launch.
22857 Added check for live sources.
22858 Fixed case in GstBin where elements were changed state
22862 2005-06-23 Andy Wingo <wingo@pobox.com>
22864 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22865 borken refcounting.
22867 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22868 gst_caps_replace takes care of this for us.
22870 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22871 gst_pad_set_caps on the target, not just its setcaps() function.
22873 * tests/network-clock.scm:
22874 * tests/network-clock-utils.scm: A network clock simulator.
22875 Something of an algorithmic testbed before doing something in C.
22877 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22879 * check/Makefile.am:
22880 * check/gst/capslist.h:
22881 copy over from 0.8, and add two with bitmasks specified with
22883 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22884 add test to parse everything from capslist.h
22885 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22887 add test for structure deserialization
22888 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22889 add tests for deserialization of strings to int types
22890 * gst/gststructure.c: (gst_structure_nth_field_name):
22891 * gst/gststructure.h:
22892 add a way to get the name of a field referenced by index
22893 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22894 instead of checking if the resulting long long lies between
22895 min and max, we check if the long long would fit into
22896 a number of bytes for the final type.
22897 This fixes cases where a string represents 2^32 - 1, which
22898 when cast to int would be the (valid) -1, but is bigger than
22901 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22903 * gst/parse/grammar.y:
22904 add a log line for type deserialization
22906 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22908 * check/gst/gstvalue.c: (START_TEST):
22909 * gst/gstvalue.c: (gst_value_deserialize):
22910 return long long, not int, so gint64 deserialization actually
22911 works. Is there any flag that makes the compiler check this ?
22914 2005-06-22 Wim Taymans <wim@fluendo.com>
22917 Added convenience macros for setting buffers in GValue.
22919 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22921 * check/gst/.cvsignore:
22922 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22923 add a test deserializing int64, and comment part out because
22926 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22928 * check/Makefile.am:
22929 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22930 * testsuite/Makefile.am:
22931 * testsuite/caps/Makefile.am:
22932 * testsuite/caps/value_serialize.c:
22933 * testsuite/test_gst_init.c:
22934 move a value_serialize test over
22936 2005-06-20 Wim Taymans <wim@fluendo.com>
22941 * gst/gstvalue.c: (gst_value_compare_buffer),
22942 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22943 (gst_value_compare_flags), (gst_value_serialize_flags),
22944 (gst_value_deserialize_flags), (_gst_value_initialize):
22945 Fix serialisation of buffers, they are not boxed types anymore
22947 2005-06-20 Wim Taymans <wim@fluendo.com>
22949 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22950 Testcase to show error in buffer-on-caps serialisation.
22952 2005-06-20 Andy Wingo <wingo@pobox.com>
22954 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22955 will be adding to later.
22957 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22958 if its socks fill with rocks.
22959 (gst_system_clock_obtain): Set the name on object construction.
22960 Avoid double-checked locking.
22962 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22964 * gst/gsturi.c: (gst_element_make_from_uri):
22965 Fix potential endless loop.
22967 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22969 * check/Makefile.am:
22971 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22973 move over from testsuite dir and clean up
22976 * testsuite/Makefile.am:
22977 * testsuite/tags/.cvsignore:
22978 * testsuite/tags/Makefile.am:
22979 * testsuite/tags/merge.c:
22980 remove testsuite/tags
22982 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22984 * docs/gst/gstreamer-sections.txt:
22985 * docs/gst/tmpl/gstenumtypes.sgml:
22986 * win32/gstenumtypes.c:
22987 clean up documentation build a little
22989 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22991 * check/gstcheck.h:
22992 add macros for checking refcounts on objects and caps
22993 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22994 add some more unit tests
22995 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22996 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22997 fix leaked refcounts (I hope :)) so unittest works
23001 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23003 * configure.ac: back to HEAD
23005 === release 0.9.1 ===
23007 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23013 2005-06-17 Andy Wingo <wingo@pobox.com>
23015 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23016 assert; it's always possible that the pad gets deactivated in
23017 between the checks in gstpad.c and the implementation. Rely on
23018 finish_preroll() to return a FLUSHING or similar instead of on the
23021 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23022 clock and post an EOS message if we come out of finish_preroll in
23025 2005-06-16 David Schleef <ds@schleef.org>
23027 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23028 (gst_capsfilter_set_property): Allow NULL as possible value
23029 for filter_caps property, indicating GST_CAPS_ANY.
23031 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23033 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23035 * gst/schedulers/Makefile.am:
23037 * gstreamer.spec.in:
23040 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23042 * gstreamer.spec.in:
23045 2005-06-08 Andy Wingo <wingo@pobox.com>
23047 * gst/gstutils.c: RPAD fixes all around.
23048 (gst_element_link_pads): Refcounting fixes.
23050 * tools/gst-inspect.c:
23051 * tools/gst-xmlinspect.c:
23053 * gst/base/gsttypefindhelper.c:
23054 * gst/base/gstbasesink.c:
23055 * gst/gstqueue.c: RPAD fixes.
23057 * gst/gstghostpad.h:
23058 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23059 pads. The tricky thing is they provide both source and sink
23060 interfaces, since they proxy the internal pad for the external
23061 pad, and vice versa. Implement with lower-level ProxyPad objects,
23062 with the interior proxy pad as a child of the exterior ghost pad.
23063 Should write a doc on this.
23065 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23066 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23069 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23070 pads are real pads. No ghost pads in this file. Not documenting
23071 the myriad s/RPAD/PAD/ and REALIZE fixes.
23072 (gst_pad_class_init): Add properties for "direction" and
23073 "template". Both are construct-only, so they can't change during
23074 the life of the pad. Fixes properly deriving from GstPad.
23075 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23076 derived objects, just set properties when creating the objects via
23078 (gst_pad_get_parent): Implement as a function, return NULL if the
23079 parent is not an element.
23080 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23081 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23083 * gst/gstobject.c (gst_object_class_init): Make name a construct
23084 property. Don't set it in the object init.
23086 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23087 with UNKNOWN direction.
23088 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23089 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23090 (gst_element_remove_pad): Remove ghost-pad special cases.
23091 (gst_element_pads_activate): Remove rpad cruft.
23093 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23094 catch the pad's-parent-not-an-element case.
23096 * gst/gst.h: Include gstghostpad.h.
23098 * gst/gst.c (init_post): No more real, ghost pads.
23100 * gst/Makefile.am: Add gstghostpad.[ch].
23102 * check/Makefile.am:
23103 * check/gst/gstbin.c:
23104 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23105 into a bin creates ghost pads, and that the refcounts are right.
23106 Partly moved from gstbin.c.
23108 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23110 * check/gst-libs/.cvsignore:
23111 * check/gst/.cvsignore:
23112 * check/pipelines/.cvsignore:
23114 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23115 (START_TEST), (cleanup_suite), (main):
23116 add some tests related to cleanup after running pipelines
23118 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23120 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23121 add a testsuite for GstBuffer
23123 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23125 * gst/gstminiobject.h:
23126 add defines for accessing the refcount
23128 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23130 * Makefile.am: added support for html unit test coverage reports
23132 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23134 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23135 Free existing caps if the capsfilter changes. Add a FIXME about
23136 setting those caps on the pads.
23138 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23139 Before adding a ghost pad to a parent bin, check that there isn't
23140 already one for the element on the bin. Prevents infinite recursion
23141 when using decodebin in parse pipelines. Andy says he'll rewrite the
23142 way this works anyway, so ignore the hack.
23144 2005-06-02 Andy Wingo <wingo@pobox.com>
23146 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23147 file size, pass it on to the type find helper.
23149 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23150 segment_start and segment_end properly according to the seek
23151 method. Segment_end is still a bit flaky because offset can be
23152 negative for CUR and END cases, but it takes -1 as an "unset"
23155 2005-06-02 Wim Taymans <wim@fluendo.com>
23157 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23158 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23159 (gst_basesink_activate):
23160 * gst/base/gstbasesink.h:
23161 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23162 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23163 (gst_pad_query), (gst_pad_start_task):
23165 * gst/gstqueue.c: (gst_queue_bufferalloc),
23166 (gst_queue_handle_sink_event), (gst_queue_chain):
23167 Bufferalloc: return GstFlowReturn to more accuratly report
23168 why allocation failed.
23170 2005-06-02 Wim Taymans <wim@fluendo.com>
23172 * gst/gstpipeline.c: (gst_pipeline_send_event):
23173 Take snapshot of state without blocking.
23175 2005-06-02 Wim Taymans <wim@fluendo.com>
23177 * docs/design/part-TODO.txt:
23178 * docs/design/part-caps.txt:
23179 * docs/design/part-clocks.txt:
23180 * docs/design/part-negotiation.txt:
23181 * docs/design/part-preroll.txt:
23184 2005-05-30 Wim Taymans <wim@fluendo.com>
23186 * gst/elements/gstidentity.c: (gst_identity_event),
23187 (gst_identity_transform), (gst_identity_get_property):
23188 Protect last_message property as it is accessed from
23191 2005-05-30 Wim Taymans <wim@fluendo.com>
23193 * gst/gstelement.c: (gst_element_init),
23194 (gst_element_pads_activate), (gst_element_change_state):
23195 Slicker pad activation code.
23197 2005-05-30 Wim Taymans <wim@fluendo.com>
23200 * gst/gstelement.h:
23201 * gst/gstelementfactory.h:
23203 Move elementfactory methods to separate .h file.
23205 2005-05-30 Wim Taymans <wim@fluendo.com>
23207 * docs/design/part-overview.txt:
23208 * gst/gstsystemclock.h:
23209 Small typo fixes, doc updates.
23211 2005-05-30 Wim Taymans <wim@fluendo.com>
23213 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23214 (init_popt_callback):
23215 Remove cpu-opt flag.
23217 2005-05-30 Wim Taymans <wim@fluendo.com>
23219 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23220 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23222 Avoid typechecking in places where not needed.
23223 Added accessor for malloc_data.
23225 2005-05-30 Wim Taymans <wim@fluendo.com>
23227 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23228 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23229 (gst_pad_configure_sink), (gst_pad_configure_src),
23230 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23231 (gst_pad_start_task):
23232 Propagate errors from _set_caps() in configure_src/sink
23233 functions instead of returning TRUE.
23234 FLUSH events can travel up and downstream
23237 2005-05-30 Wim Taymans <wim@fluendo.com>
23239 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23240 (gst_basesink_activate):
23241 Handle EOS in preroll.
23243 2005-05-30 Wim Taymans <wim@fluendo.com>
23245 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23246 (gst_queue_loop), (gst_queue_handle_src_event):
23247 Remove old pieces of code
23248 Flushing the queue in an upstream event is a very bad idea.
23250 2005-05-26 Andy Wingo <wingo@pobox.com>
23252 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23253 gst_value_set_mini_object so as to add a ref on the object (which
23254 will be removed when the value is unset).
23256 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23257 arg type in ::handoff.
23259 * gst/gstelement.c (gst_element_change_state): Also deactivate
23260 pads in READY->NULL, just in case the element didn't make it to
23261 PAUSED. Wingo tested, Wim approved.
23263 2005-05-26 Wim Taymans <wim@fluendo.com>
23265 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23266 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23267 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23268 A flushing pad cannot be used to alloc_buffer from.
23270 2005-05-26 Wim Taymans <wim@fluendo.com>
23272 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23273 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23274 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23275 (gst_bus_create_watch), (gst_bus_add_watch_full):
23277 Implement a real GSource and use g_main_context_wakeup() to
23278 signal new messages instead of the socketpair.
23280 2005-05-25 Wim Taymans <wim@fluendo.com>
23282 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23283 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23284 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23285 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23286 (gst_pad_send_event), (gst_pad_start_task):
23287 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23288 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23289 (gst_queue_sink_activate), (gst_queue_src_activate),
23290 (gst_queue_change_state):
23292 Fix state changes for non sinks. We now change sinks, then elements
23293 with unconnected srcpads, then the rest.
23294 More efficient queue unlocking in flush and state changes.
23295 Set the pad activate mode even if it does not have an activate
23298 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23300 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23301 Don't go in pull mode for non-seekable sources.
23302 * gst/elements/gsttypefindelement.h:
23303 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23304 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23305 (free_entry), (stop_typefinding),
23306 (gst_type_find_element_handle_event), (find_peek),
23307 (gst_type_find_element_chain), (do_pull_typefind),
23308 (gst_type_find_element_change_state):
23309 Allow typefinding (w/o seeking) in push-mode, simplified version
23310 of what was in 0.8.
23311 * gst/gstutils.c: (gst_buffer_join):
23313 gst_buffer_join() from 0.8.
23315 2005-05-25 Wim Taymans <wim@fluendo.com>
23317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23318 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23319 (gst_pad_send_event), (gst_pad_start_task):
23320 Disable attempt at mode switching until it is figured out.
23322 2005-05-25 Wim Taymans <wim@fluendo.com>
23324 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23325 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23326 (gst_basesink_finish_preroll), (gst_basesink_chain),
23327 (gst_basesink_loop), (gst_basesink_activate),
23328 (gst_basesink_change_state):
23329 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23330 (gst_basesrc_get_range), (gst_basesrc_loop),
23331 (gst_basesrc_activate):
23332 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23333 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23334 (gst_real_pad_init), (gst_real_pad_set_property),
23335 (gst_real_pad_get_property), (gst_pad_set_active),
23336 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23337 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23338 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23339 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23340 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23341 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23342 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23343 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23344 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23345 (gst_pad_stop_task):
23347 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23348 (gst_queue_loop), (gst_queue_src_activate):
23349 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23350 (gst_task_get_state):
23352 * gst/schedulers/threadscheduler.c:
23353 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23354 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23356 Remove ACTIVE pad flag, use FLUSHING everywhere
23357 Added _pad_chain(), _pad_get_range() to call chain/getrange
23359 Add locks around IS_FLUSHING when reading.
23360 Take STREAM lock in chain(), get_range() functions so plugins
23361 don't need to take it anymore.
23365 2005-05-25 Wim Taymans <wim@fluendo.com>
23367 * tools/gst-launch.c: (event_loop):
23368 Unref message after using its contents instead of
23371 2005-05-24 Wim Taymans <wim@fluendo.com>
23373 * docs/design/draft-ghostpads.txt:
23374 * docs/design/draft-push-pull.txt:
23375 * docs/design/draft-query.txt:
23376 * docs/design/part-overview.txt:
23377 Docs updates, added general overview doc.
23379 2005-05-21 David Schleef <ds@schleef.org>
23381 * docs/gst/tmpl/old/GstBin.sgml:
23382 * docs/gst/tmpl/old/GstBuffer.sgml:
23383 * docs/gst/tmpl/old/GstCaps.sgml:
23384 * docs/gst/tmpl/old/GstClock.sgml:
23385 * docs/gst/tmpl/old/GstCompat.sgml:
23386 * docs/gst/tmpl/old/GstData.sgml:
23387 * docs/gst/tmpl/old/GstElement.sgml:
23388 * docs/gst/tmpl/old/GstEvent.sgml:
23389 * docs/gst/tmpl/old/GstIndex.sgml:
23390 * docs/gst/tmpl/old/GstStructure.sgml:
23391 * docs/gst/tmpl/old/GstTag.sgml:
23392 * docs/gst/tmpl/old/cothreads.sgml:
23393 * docs/gst/tmpl/old/cothreads_compat.sgml:
23394 * docs/gst/tmpl/old/gettext.sgml:
23395 * docs/gst/tmpl/old/gobject2gtk.sgml:
23396 * docs/gst/tmpl/old/grammar.tab.sgml:
23397 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23398 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23399 * docs/gst/tmpl/old/gst_private.sgml:
23400 * docs/gst/tmpl/old/gstaggregator.sgml:
23401 * docs/gst/tmpl/old/gstarch.sgml:
23402 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23403 * docs/gst/tmpl/old/gstbufferstore.sgml:
23404 * docs/gst/tmpl/old/gstdata_private.sgml:
23405 * docs/gst/tmpl/old/gstdisksink.sgml:
23406 * docs/gst/tmpl/old/gstdisksrc.sgml:
23407 * docs/gst/tmpl/old/gstelementfactory.sgml:
23408 * docs/gst/tmpl/old/gstextratypes.sgml:
23409 * docs/gst/tmpl/old/gstfakesink.sgml:
23410 * docs/gst/tmpl/old/gstfakesrc.sgml:
23411 * docs/gst/tmpl/old/gstfdsink.sgml:
23412 * docs/gst/tmpl/old/gstfdsrc.sgml:
23413 * docs/gst/tmpl/old/gstfilesink.sgml:
23414 * docs/gst/tmpl/old/gstfilesrc.sgml:
23415 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23416 * docs/gst/tmpl/old/gstidentity.sgml:
23417 * docs/gst/tmpl/old/gstindexfactory.sgml:
23418 * docs/gst/tmpl/old/gstmarshal.sgml:
23419 * docs/gst/tmpl/old/gstmd5sink.sgml:
23420 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23421 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23422 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23423 * docs/gst/tmpl/old/gstpipefilter.sgml:
23424 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23425 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23426 * docs/gst/tmpl/old/gstshaper.sgml:
23427 * docs/gst/tmpl/old/gstspider.sgml:
23428 * docs/gst/tmpl/old/gstspideridentity.sgml:
23429 * docs/gst/tmpl/old/gststatistics.sgml:
23430 * docs/gst/tmpl/old/gsttee.sgml:
23431 * docs/gst/tmpl/old/gsttimecache.sgml:
23432 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23433 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23434 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23435 * docs/gst/tmpl/old/types.sgml:
23436 I didn't intend to add these or check them in.
23438 2005-05-19 David Schleef <ds@schleef.org>
23440 * configure.ac: Use -no-common everywhere. In a sane world, it
23441 would be the default in libtool, because without it, you can't
23442 build DLLs on Windows.
23443 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23444 * docs/gst/gstreamer-sections.txt:
23445 * docs/gst/tmpl/gstcpu.sgml:
23446 * docs/gst/tmpl/gstdata.sgml:
23447 * docs/gst/tmpl/gstthread.sgml:
23449 2005-05-19 David Schleef <ds@schleef.org>
23451 * gst/gstminiobject.c: (gst_value_set_mini_object),
23452 (gst_value_take_mini_object), (gst_value_get_mini_object):
23453 * gst/gstminiobject.h: Add GValue set/get functions.
23455 2005-05-19 Wim Taymans <wim@fluendo.com>
23457 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23458 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23459 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23461 * gst/gstbus.c: (gst_bus_post):
23462 * gst/gstelement.c: (gst_element_get_random_pad):
23463 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23464 Make subbufer unref the parent in finalize.
23465 some more debugging info.
23468 2005-05-19 Wim Taymans <wim@fluendo.com>
23470 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23471 (gst_basesink_init), (gst_basesink_finalize),
23472 (gst_basesink_activate), (gst_basesink_change_state):
23473 Don't free preroll queue too early.
23475 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23479 Hi, I'm outdated. Please shoot me.
23481 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23483 * gst/gstpipeline.c: (gst_pipeline_send_event):
23484 Do not access variables after they have been deleted.
23486 2005-05-19 Wim Taymans <wim@fluendo.com>
23488 * tools/gst-inspect.c: (print_plugin_features):
23489 A plugin feature does unfortunatly not use the
23492 2005-05-18 Wim Taymans <wim@fluendo.com>
23494 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23495 Port _span() functions to new subbuffers.
23497 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23499 * gst/gstbin.c: (gst_bin_add_func):
23500 Fix clock settery in bins when adding kids after the clock has
23503 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23505 * gst/elements/gstidentity.c: (gst_identity_class_init):
23506 Workaround until signals support GstMiniObject.
23508 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23511 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23513 2005-05-18 Wim Taymans <wim@fluendo.com>
23515 * gst/base/Makefile.am:
23516 * gst/base/gstadapter.c: (gst_adapter_base_init),
23517 (gst_adapter_class_init), (gst_adapter_init),
23518 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23519 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23520 (gst_adapter_flush), (gst_adapter_available),
23521 (gst_adapter_available_fast):
23522 * gst/base/gstadapter.h:
23523 Ported and added adapter to the base classes.
23525 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23528 * gst/gstmessage.c:
23529 Make sure the class is reffed/unreffed once before threads can be
23530 used. Fixes #304551.
23532 2005-05-17 Wim Taymans <wim@fluendo.com>
23534 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23535 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23536 * gst/gstminiobject.c: (gst_mini_object_get_type),
23537 (gst_mini_object_free):
23538 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23539 (gst_pad_push), (gst_pad_push_event):
23540 * gst/gstqueue.c: (gst_queue_change_state):
23541 Don't queue buffers in basesink when we are flushing.
23542 Unref buffer when flushing in basesink.
23543 Flush queue when going to READY
23544 Unref buffer when _push() returns an error.
23545 Don't free MiniObject instance when refcount is incremented
23546 in _finalize() so that we can recover objects.
23548 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23550 * docs/manual/advanced-schedulers.xml:
23551 * docs/manual/appendix-checklist.xml:
23552 * docs/pwg/advanced-clock.xml:
23553 * docs/pwg/advanced-interfaces.xml:
23554 * docs/pwg/advanced-request.xml:
23555 * docs/pwg/advanced-types.xml:
23556 * docs/pwg/intro-preface.xml:
23557 * examples/plugins/example.c: (gst_example_get_type),
23558 (gst_example_class_init), (gst_example_chain),
23559 (gst_example_set_property), (gst_example_get_property),
23560 (gst_example_change_state), (plugin_init):
23561 * examples/plugins/example.h:
23564 2005-05-17 Wim Taymans <wim@fluendo.com>
23566 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23567 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23568 * gst/gstqueue.c: (gst_queue_change_state):
23569 Clear queue when going to READY.
23570 Remove IN_SETCAPS flag too.
23572 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23574 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23575 Remove implicit cast from gboolean to GstElementStateReturn;
23576 make sure we still return failure in paused => ready case if
23577 the parent class fails to change state and our own stop
23580 2005-05-17 Wim Taymans <wim@fluendo.com>
23582 * tools/gst-launch.c: (event_loop):
23583 Message was unreffed too soon.
23585 2005-05-16 Andy Wingo <wingo@pobox.com>
23587 * gst/gstbin.c (sink_iterator_filter): Err... um...
23589 * check/gst/gstbin.c (test_ghost_pads): New test for the
23590 ghosting-if-elements-not-in-same-bin behavior.
23592 2005-05-16 David Schleef <ds@schleef.org>
23594 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23595 accessing refcount directly.
23597 2005-05-15 David Schleef <ds@schleef.org>
23599 * check/Makefile.am: remove GstData checks
23600 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23601 * gst/Makefile.am: add miniobject, remove data
23602 * gst/gst.h: add miniobject, remove data
23603 * gst/gstdata.c: remove
23604 * gst/gstdata.h: remove
23605 * gst/gstdata_private.h: remove
23606 * gst/gsttypes.h: remove GstEvent and GstMessage
23607 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23608 * gst/gstmarshal.list: change BOXED -> OBJECT
23610 Implement GstMiniObject.
23611 * gst/gstminiobject.c:
23612 * gst/gstminiobject.h:
23614 Modify to be subclasses of GstMiniObject.
23615 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23616 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23617 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23618 (gst_subbuffer_get_type), (gst_subbuffer_init),
23619 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23622 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23623 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23624 (_gst_event_copy), (gst_event_new):
23626 * gst/gstmessage.c: (_gst_message_initialize),
23627 (gst_message_get_type), (gst_message_class_init),
23628 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23629 (gst_message_new), (gst_message_new_error),
23630 (gst_message_new_warning), (gst_message_new_tag),
23631 (gst_message_new_state_changed), (gst_message_new_application):
23632 * gst/gstmessage.h:
23633 * gst/gstprobe.c: (gst_probe_perform),
23634 (gst_probe_dispatcher_dispatch):
23636 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23637 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23638 (_gst_query_copy), (gst_query_new):
23640 Update elements for GstData -> GstMiniObject changes
23642 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23643 (gst_queue_chain), (gst_queue_loop):
23644 * gst/elements/gstbufferstore.c:
23645 (gst_buffer_store_add_buffer_func),
23646 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23647 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23648 (gst_fakesink_render):
23649 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23650 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23651 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23652 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23653 (gst_filesrc_create_read):
23654 * gst/elements/gstidentity.c: (gst_identity_class_init):
23655 * gst/elements/gsttypefindelement.c:
23656 (gst_type_find_element_src_event), (free_entry_buffers),
23657 (gst_type_find_element_handle_event):
23658 * libs/gst/dataprotocol/dataprotocol.c:
23659 (gst_dp_header_from_buffer):
23660 * libs/gst/dataprotocol/dataprotocol.h:
23661 * libs/gst/dataprotocol/dp-private.h:
23663 2005-05-15 David Schleef <ds@schleef.org>
23665 * gst/elements/gstelements.c: Don't include headers that were
23668 2005-05-15 David Schleef <ds@schleef.org>
23670 * gst/elements/Makefile.am: Remove some elements that don't
23671 need to be in the core (or even exist at all).
23672 * gst/elements/gstaggregator.c:
23673 * gst/elements/gstaggregator.h:
23674 * gst/elements/gstmd5sink.c:
23675 * gst/elements/gstmd5sink.h:
23676 * gst/elements/gstmultifilesrc.c:
23677 * gst/elements/gstmultifilesrc.h:
23678 * gst/elements/gstpipefilter.c:
23679 * gst/elements/gstpipefilter.h:
23680 * gst/elements/gstshaper.c:
23681 * gst/elements/gstshaper.h:
23682 * gst/elements/gststatistics.c:
23683 * gst/elements/gststatistics.h:
23684 * po/POTFILES.in: Remove above files.
23686 2005-05-14 Andy Wingo <wingo@pobox.com>
23688 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23689 so as to get the refs right.
23690 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23691 unreffing objects that don't pass the filter.
23693 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23694 gst_element_set_bus.
23695 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23696 normal cases, this will destroy the bus.
23698 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23701 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23704 2005-05-13 Andy Wingo <wingo@pobox.com>
23706 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23707 gst_pad_link, call pad_link_maybe_ghosting,
23708 (pad_link_maybe_ghosting): Links pads, making sure that the
23709 elements being linked are in the same bin.
23710 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23711 Helpers for pad_link_maybe_ghosting.
23713 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23716 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23718 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23720 * docs/design/part-element-source.txt:
23723 2005-05-12 Wim Taymans <wim@fluendo.com>
23725 * gst/base/gstbasesink.c: (gst_basesink_init),
23726 (gst_basesink_activate):
23727 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23728 (gst_basesrc_is_seekable):
23729 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23730 (bin_element_is_sink), (gst_bin_change_state):
23731 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23732 * gst/gstelement.h:
23733 Identify sinks by their flag to avoid overly complicated
23735 Do state changes even for elements not reachable from the
23737 BaseSink is a sink now :)
23738 Some more debugging info in the basesrc.
23741 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23743 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23744 Implement _query on a bin, similar to _send_event.
23746 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23748 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23749 Discont event offset format should be GST_FORMAT_BYTES,
23750 not GST_FORMAT_TIME.
23752 2005-05-12 Wim Taymans <wim@fluendo.com>
23754 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23755 Same fix as Ronald's but without the signal.
23757 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23759 * gst/gstutils.c: (gst_element_query_position):
23760 No, an element is not a pad.
23762 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23764 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23765 (gst_bin_get_state):
23766 If a child is removed from a bin while we remove the child from
23767 the bin and while we're retrieving its state, signal this to the
23768 get_state function so we abort the wait (instead of waiting for
23769 a timeout) and can immediately re-iterate over all other elements.
23771 2005-05-12 Wim Taymans <wim@fluendo.com>
23773 * gst/base/Makefile.am:
23774 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23775 (gst_basesrc_start):
23776 * gst/base/gstbasesrc.h:
23777 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23778 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23779 (gst_pushsrc_init), (gst_pushsrc_create):
23780 * gst/base/gstpushsrc.h:
23781 Added is_seekable to BaseSrc
23782 Added simple PushSrc.
23784 2005-05-11 Wim Taymans <wim@fluendo.com>
23786 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23787 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23788 (gst_element_link_pads), (gst_element_query_position),
23789 (gst_element_query_convert), (intersect_caps_func),
23790 (gst_pad_query_position), (gst_pad_query_convert):
23791 Fix refcounting in utils function.
23792 No point in trying to activate a pad when it's added, it could
23793 be added from the state change function and then we deadlock, the
23794 element has to decide what to do.
23796 2005-05-10 Andy Wingo <wingo@pobox.com>
23798 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23799 *all* the arguments.
23801 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23802 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23803 lock (according to the docs -- if this is wrong change the docs).
23805 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23806 flush messages in the NULL state.
23808 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23809 message immediately and return.
23810 (gst_bus_set_flushing): New function. If a bus is flushing, it
23811 flushes out any queued messages and immediately unrefs new
23812 messages. This is so when an element goes to NULL, all of the
23813 unhandled messages coming from it can be freed, and their
23814 references to the element dropped. In other words: message source
23815 ref considered harmful :P
23817 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23818 we're finished with it.
23820 * gst/gstmessage.c (gst_message_new_state_changed):
23822 2005-05-10 Wim Taymans <wim@fluendo.com>
23824 * gst/gstvalue.c: (gst_value_compare_flags),
23825 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23826 (_gst_value_initialize):
23827 Added flags serialize/deserialize/compare code.
23829 2005-05-09 Andy Wingo <wingo@pobox.com>
23831 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23832 Intersect the peer's caps with our caps.
23834 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23836 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23837 * gst/elements/gsttypefindelement.c: (find_peek):
23838 Handle negative offsets better. Fixes decodebin.
23840 2005-05-09 Wim Taymans <wim@fluendo.com>
23842 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23843 (gst_base_transform_event):
23844 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23845 Implement accept_caps.
23846 Fix silly lock/unlock mismatch in base class.
23848 2005-05-09 Wim Taymans <wim@fluendo.com>
23850 * docs/design/draft-push-pull.txt:
23851 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23852 * gst/elements/gstfilesink.c: (gst_filesink_init),
23853 (gst_filesink_query):
23854 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23855 (gst_type_find_handle_src_query), (find_element_get_length):
23856 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23857 * gst/gstelement.h:
23858 * gst/gstmessage.c:
23859 * gst/gstmessage.h:
23860 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23861 (gst_real_pad_get_caps_unlocked),
23862 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23863 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23864 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23865 (gst_real_pad_dispose), (gst_real_pad_finalize),
23866 (gst_pad_load_and_link), (gst_pad_save_thyself),
23867 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23868 (gst_pad_check_pull_range), (gst_pad_pull_range),
23869 (gst_pad_template_get_type), (gst_pad_template_class_init),
23870 (gst_pad_template_init), (gst_pad_template_dispose),
23871 (name_is_valid), (gst_static_pad_template_get),
23872 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23873 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23874 (gst_pad_get_element_private), (gst_pad_start_task),
23875 (gst_pad_pause_task), (gst_pad_stop_task),
23876 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23877 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23878 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23879 (gst_ghost_pad_new):
23881 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23882 (gst_query_new_position), (gst_query_set_position),
23883 (gst_query_parse_position), (gst_query_new_convert),
23884 (gst_query_set_convert), (gst_query_parse_convert):
23886 * gst/gstqueryutils.c:
23887 * gst/gstqueryutils.h:
23888 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23889 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23890 (gst_queue_handle_src_query):
23891 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23892 (gst_element_query_position), (gst_element_query_convert),
23893 (intersect_caps_func), (gst_pad_query_position),
23894 (gst_pad_query_convert):
23896 * tools/gst-inspect.c: (print_pad_info):
23897 * tools/gst-xmlinspect.c: (print_element_info):
23898 Remove old query functions. Ported old code.
23899 Added position/convert helper functions to gstutils.
23900 Reordered gstpad.c code, grouping relevant things.
23901 Remove gst_message_new(), always need to speficy a specific
23905 2005-05-09 Andy Wingo <wingo@pobox.com>
23907 * gst/gstiterator.h: Add some includes.
23909 * gst/gstqueryutils.h: Include more headers.
23912 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23913 some uses of gst_pad_query.
23915 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23916 NULL out parameters.
23917 (gst_query_new_position): New proc, allocates a new position
23920 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23921 gstqueryutils.c to the build.
23923 * gst/gststructure.c (gst_structure_set_valist): Implement with
23924 the generic G_VALUE_COLLECT.
23926 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23928 * gst/Makefile.am: (gst_headers):
23929 Added gstqueryutils.h to the list of headers to install, that was
23930 a 'nachty' move wingo :)
23932 2005-05-06 Andy Wingo <wingo@pobox.com>
23935 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23936 GstData, init a memchunk.
23937 (standard_definitions): Add a few query types, deprecate a few.
23938 (gst_query_get_type): New proc.
23939 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23941 (gst_query_new_application, gst_query_get_structure): New public
23944 * docs/design/draft-query.txt: Removed LINKS from the query types,
23945 because all the rest can be dispatched to other pads -- seemed
23946 ugly to have a query that couldn't be dispatched. internal_links
23947 is fine as a pad method.
23949 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23950 in gstpad.c, but maintain binary compatibility for the moment.
23951 Will fix before 0.9 is out.
23953 * gst/gstqueryutils.c:
23954 * gst/gstqueryutils.h: New files, implement 3 methods for each
23955 query type: parse_query, parse_response, and set. Probably need an
23958 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23960 * gst/elements/gstfilesink.c (gst_filesink_query2):
23961 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23962 query_types, and formats methods.
23964 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23965 (gst_pad_set_query2_function): New functions.
23966 (gst_real_pad_init): Set query2_default as the default query2
23967 function. Basically just dispatches to internally linked pads.
23971 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23972 without using the atomic operations. Only one thread can possibly
23973 be accessing the data at this point. Changed so as to avoid
23974 gst_atomic operations.
23976 2005-05-06 Wim Taymans <wim@fluendo.com>
23978 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23979 Also set caps if we use the fallback buffer alloc.
23981 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23983 * docs/gst/Makefile.am:
23984 * docs/gst/gstreamer-docs.sgml:
23985 * docs/gst/gstreamer-sections.txt:
23986 * docs/gst/tmpl/gstatomic.sgml:
23987 * docs/gst/tmpl/gstmemchunk.sgml:
23988 * testsuite/elements/struct_i386.h:
23989 * win32/GStreamer.vcproj:
23991 Purge GstAtomic stuff from docs and win32 makefiles as well
23993 2005-05-06 Wim Taymans <wim@fluendo.com>
23995 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23996 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23997 * gst/gstpad.c: (gst_pad_peer_get_caps):
23998 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23999 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24000 (gst_queue_src_activate), (gst_queue_change_state):
24002 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24003 (intersect_caps_func):
24004 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24005 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24006 Some fixes for the peer_get_caps() change.
24008 2005-05-06 Wim Taymans <wim@fluendo.com>
24010 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24011 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24012 (gst_basesink_activate):
24013 Actually do something with error codes returned from the push
24016 2005-05-06 Wim Taymans <wim@fluendo.com>
24018 * docs/design/part-element-sink.txt:
24019 * docs/design/part-element-source.txt:
24020 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24021 (gst_basesink_event), (gst_basesink_activate):
24022 * gst/base/gstbasesink.h:
24023 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24024 (gst_basesrc_activate):
24025 * gst/base/gstbasesrc.h:
24026 * gst/gstelement.c: (gst_element_pads_activate):
24027 Some more documentation.
24028 Fixed scheduling decision in _pads_activate().
24030 2005-05-05 Andy Wingo <wingo@pobox.com>
24032 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24035 2005-05-05 Wim Taymans <wim@fluendo.com>
24037 * gst/base/Makefile.am:
24038 * gst/base/gstbasesink.h:
24039 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24040 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24041 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24042 (gst_collectpads_class_init), (gst_collectpads_init),
24043 (gst_collectpads_finalize), (gst_collectpads_new),
24044 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24045 (find_pad), (gst_collectpads_remove_pad),
24046 (gst_collectpads_is_active), (gst_collectpads_collect),
24047 (gst_collectpads_collect_range), (gst_collectpads_start),
24048 (gst_collectpads_stop), (gst_collectpads_peek),
24049 (gst_collectpads_pop), (gst_collectpads_available),
24050 (gst_collectpads_read), (gst_collectpads_flush),
24051 (gst_collectpads_chain):
24052 * gst/base/gstcollectpads.h:
24053 * gst/elements/Makefile.am:
24054 * gst/elements/gstelements.c:
24055 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24056 (gst_fakesink_get_times), (gst_fakesink_event),
24057 (gst_fakesink_preroll), (gst_fakesink_render):
24058 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24059 (gst_filesink_init), (gst_filesink_set_location),
24060 (gst_filesink_open_file), (gst_filesink_close_file),
24061 (gst_filesink_pad_query), (gst_filesink_event),
24062 (gst_filesink_render), (gst_filesink_change_state):
24063 * gst/elements/gstfilesink.h:
24064 Added object to help in making collect pad based elements.
24066 Make event function in sink baseclass return gboolean.
24068 2005-05-05 Wim Taymans <wim@fluendo.com>
24070 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24071 (gst_bin_get_by_name):
24073 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24074 (gst_clock_finalize):
24075 * gst/gstdata.c: (gst_data_replace):
24077 * gst/gstelement.c: (gst_element_request_pad),
24078 (gst_element_pads_activate):
24079 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24080 (gst_object_unref):
24081 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24082 (gst_pad_set_checkgetrange_function),
24083 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24084 (gst_pad_check_pull_range), (gst_pad_pull_range),
24085 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24086 (gst_pad_pause_task), (gst_pad_stop_task):
24087 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24088 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24089 Fix name lookup in GstBin.
24090 Added _data_replace() function and _buffer_replace()
24091 Use finalize method to clean up clock.
24092 Fix refcounting on request pads.
24093 Fix pad schedule mode error.
24094 Some more object refcounting debug info,
24097 2005-05-04 Andy Wingo <wingo@pobox.com>
24099 * check/Makefile.am:
24100 * docs/gst/tmpl/gstatomic.sgml:
24101 * docs/gst/tmpl/gstplugin.sgml:
24102 * gst/base/gstbasesink.c: (gst_basesink_activate):
24103 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24104 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24105 (gst_basesrc_query), (gst_basesrc_set_property),
24106 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24107 (gst_basesrc_activate):
24108 * gst/base/gstbasesrc.h:
24109 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24110 (gst_base_transform_src_activate):
24111 * gst/elements/gstelements.c:
24112 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24113 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24114 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24115 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24116 (gst_type_find_element_checkgetrange),
24117 (gst_type_find_element_activate):
24118 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24119 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24120 (gst_caps_load_thyself):
24121 * gst/gstelement.c: (gst_element_pads_activate),
24122 (gst_element_save_thyself), (gst_element_restore_thyself):
24123 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24124 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24126 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24127 (gst_xml_parse_file), (gst_xml_parse_memory),
24128 (gst_xml_get_element), (gst_xml_make_element):
24129 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24130 (_file_index_id_save_xml), (gst_file_index_commit):
24131 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24132 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24134 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24135 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24136 * tools/gst-complete.c: (main):
24137 * tools/gst-compprep.c: (main):
24138 * tools/gst-inspect.c: (print_element_properties_info):
24139 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24140 * tools/gst-xmlinspect.c: (print_element_properties):
24143 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24145 * gst/gstplugin.c: (gst_plugin_check_module),
24146 (gst_plugin_check_file), (gst_plugin_load_file):
24147 apply patch from #172526 to make register work on MacOSX
24149 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24151 * docs/gst/tmpl/gstconfig.sgml:
24152 * gst/gstconfig.h.in:
24153 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24154 * testsuite/debug/printf_extension.c: (main):
24155 Do not use GST_PTR_FORMAT on pointers to types with
24156 sizeof < sizeof(gpointer). Fixes test on 64-bit
24157 * testsuite/elements/property.h:
24158 use correct printf format
24160 2005-05-02 Wim Taymans <wim@fluendo.com>
24162 * docs/design/draft-push-pull.txt:
24163 * docs/design/draft-query.txt:
24164 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24165 (gst_basesrc_start):
24166 Added draft for new query API.
24167 Added draft for better selecting scheduling methods.
24168 Make basesrc ignore length if the subclass does not support
24171 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24174 possible fixes for automake-1.5 - _LIBADD is reserved
24176 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24178 * docs/faq/Makefile.am:
24179 * docs/manual/Makefile.am:
24180 * docs/manuals.mak:
24181 * docs/pwg/Makefile.am:
24183 possible fixes for automake-1.5
24185 2005-04-28 Wim Taymans <wim@fluendo.com>
24187 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24188 (gst_basesink_pad_getcaps), (gst_basesink_init),
24189 (gst_basesink_do_sync):
24190 * gst/gstclock.c: (gst_clock_entry_new):
24191 * gst/gstevent.c: (gst_event_discont_get_value):
24192 * gst/gstpipeline.c: (pipeline_bus_handler),
24193 (gst_pipeline_change_state):
24194 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24195 Better debugging of clocking info.
24196 Allow NULL values when getting discont values.
24198 2005-04-27 Wim Taymans <wim@fluendo.com>
24200 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24201 * check/gst/gstpad.c: (gst_pad_suite):
24202 Increase timeout for checks.
24204 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24206 * check/Makefile.am:
24207 fix the broken rule for cleanup. Apparently this rule is
24208 only needed on FC2, so maybe this warrants further autotool
24211 2005-04-26 Wim Taymans <wim@fluendo.com>
24213 * gst/gsttrashstack.h:
24214 Ooohh. a nasty one! After having a failed pop() from the stack,
24215 it's possible that the stack is empty. In that case, don't
24216 follow the NULL pointer.
24218 2005-04-25 Wim Taymans <wim@fluendo.com>
24220 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24221 (gst_pad_set_checkgetrange_function),
24222 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24223 (gst_pad_check_pull_range), (gst_pad_pull_range),
24224 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24225 (gst_pad_pause_task), (gst_pad_stop_task):
24226 * gst/gstplugin.c: (gst_plugin_load):
24228 Remove gst_library_load as it does more harm than good with
24229 the new g_module flags.
24230 Revert bogus caps template check in pad linking, pad caps
24231 are important when linking not the template, which is more
24232 general than the current caps.
24234 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24236 * gst/autoplug/.cvsignore:
24237 * gst/autoplug/Makefile.am:
24238 * gst/autoplug/gstsearchfuncs.c:
24239 * gst/autoplug/gstsearchfuncs.h:
24240 * gst/autoplug/gstspider.c:
24241 * gst/autoplug/gstspider.h:
24242 * gst/autoplug/gstspideridentity.c:
24243 * gst/autoplug/gstspideridentity.h:
24244 * gst/autoplug/spidertest.c:
24247 2005-04-25 Wim Taymans <wim@fluendo.com>
24249 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24250 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24251 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24252 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24254 Added stubs for unimplemented functions.
24256 2005-04-24 David Schleef <ds@schleef.org>
24258 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24261 2005-04-24 David Schleef <ds@schleef.org>
24263 Convert everything from GstAtomicInt to g_atomic_int_*, and
24268 * gst/gstatomic_impl.h:
24276 * gst/gstdata_private.h:
24280 * gst/gstmessage.c:
24283 * gst/gststructure.c:
24284 * gst/gststructure.h:
24285 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24288 2005-04-24 David Schleef <ds@schleef.org>
24290 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24291 make the regressions tests work. Remove some code that is no
24293 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24294 Disable warning for pads without templates.
24296 2005-04-24 David Schleef <ds@schleef.org>
24298 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24299 functions that handle filtered links.
24300 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24302 * gst/gstutils.c: Fix/remove utility functions that handle
24305 * gst/gstvalue.c: Add serialization/deserialization of caps
24306 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24307 requires fixing so that the filter caps notation creates
24308 a capsfilter element and sets the filter_caps property. I
24309 think everyone probably wants to keep the shorthand notation.
24310 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24311 * docs/gst/tmpl/gstpad.sgml:
24313 * gst/elements/gstelements.c: Register capsfilter element.
24314 * gst/Makefile.am: fix spacing
24315 * docs/random/ds/0.9-suggested-changes: random
24317 2005-04-23 David Schleef <ds@schleef.org>
24319 * gst/elements/Makefile.am:
24320 * gst/elements/gstcapsfilter.c: New element that acts like an
24321 identity, but filters caps. Will eventually replace filtered
24322 caps in pad linking.
24323 * gst/gstutils.c: (gst_element_create_all_pads): New function
24324 to create all the ALWAYS pads that are registered with an
24325 element class. This functionality should eventually be
24326 merged in with GstElement initialization.
24328 * testsuite/trigger/README: part of trigger test code that should
24329 have been checked in a long time ago.
24331 2005-04-23 David Schleef <ds@schleef.org>
24333 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24334 needed with new versions of libtool (nobody will confirm this),
24335 and hard to carry around.
24336 * gst/autoplug/Makefile.am:
24337 * gst/base/Makefile.am:
24338 * gst/elements/Makefile.am:
24339 * gst/indexers/Makefile.am:
24340 * gst/schedulers/Makefile.am:
24341 * libs/gst/bytestream/Makefile.am:
24342 * libs/gst/control/Makefile.am:
24343 * libs/gst/dataprotocol/Makefile.am:
24344 * libs/gst/getbits/Makefile.am:
24346 2005-04-21 Wim Taymans <wim@fluendo.com>
24348 * docs/design/draft-push-pull.txt:
24349 * docs/design/part-MT-refcounting.txt:
24350 * docs/design/part-TODO.txt:
24351 * docs/design/part-caps.txt:
24352 * docs/design/part-events.txt:
24353 * docs/design/part-gstbus.txt:
24354 * docs/design/part-gstpipeline.txt:
24355 * docs/design/part-messages.txt:
24356 * docs/design/part-push-pull.txt:
24357 * docs/design/part-query.txt:
24360 2005-04-21 Wim Taymans <wim@fluendo.com>
24362 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24363 (gst_message_new), (gst_message_new_error),
24364 (gst_message_new_warning), (gst_message_new_tag),
24365 (gst_message_new_state_changed), (gst_message_new_application),
24366 (gst_message_get_structure):
24367 * gst/gstmessage.h:
24368 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24369 (gst_structure_copy_conditional):
24370 Use parent refcount in GstMessage to ensure GstStructure
24372 Cleaned up headers a bit.
24375 2005-04-20 Wim Taymans <wim@fluendo.com>
24377 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24378 (gst_basesink_pad_getcaps), (gst_basesink_init),
24379 (gst_basesink_chain_unlocked):
24380 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24381 (gst_type_find_helper):
24382 * gst/elements/gsttypefindelement.c:
24383 (gst_type_find_element_have_type), (gst_type_find_element_init),
24384 (stop_typefinding), (gst_type_find_element_handle_event),
24385 (find_suggest), (gst_type_find_element_chain),
24386 (gst_type_find_element_checkgetrange),
24387 (gst_type_find_element_getrange), (do_typefind),
24388 (gst_type_find_element_activate):
24389 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24390 (gst_buffer_default_free), (gst_buffer_default_copy),
24391 (gst_buffer_set_caps):
24392 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24393 (gst_caps_replace):
24394 * gst/gstmessage.c: (gst_message_new),
24395 (gst_message_new_state_changed):
24396 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24397 (gst_pad_set_checkgetrange_function),
24398 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24399 (gst_pad_set_caps), (gst_pad_check_pull_range),
24400 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24402 * gst/gsttypefind.c: (gst_type_find_register):
24403 Make gst_caps_replace() work like other _replace() functions.
24404 Use _caps_replace() where possible.
24405 Make sure _message_new() initialises its field.
24406 Add gst_static_pad_template_get_caps()
24409 2005-04-18 Andy Wingo <wingo@pobox.com>
24411 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24412 on the peer, not the pad. I think that was a typo. Pass an extra
24413 arg to see if random access is possible. Activate the pads as
24414 PULL_RANGE if possible.
24416 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24418 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24419 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24422 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24424 * docs/faq/using.xml:
24425 Add note on gstreamer-properties (#154996).
24427 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24429 * docs/random/bbb/optional-properties:
24430 Some analysis on optional properties.
24432 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24434 * docs/gst/tmpl/gstelementfactory.sgml:
24435 * gst/gstelement.h:
24436 * gst/gstelementfactory.c: (gst_element_factory_init),
24437 (gst_element_factory_cleanup), (gst_element_register),
24438 (__gst_element_factory_add_static_pad_template),
24439 (gst_element_factory_get_static_pad_templates),
24440 (gst_element_factory_can_src_caps),
24441 (gst_element_factory_can_sink_caps):
24442 * gst/registries/Makefile.am:
24443 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24444 (gst_xml_registry_class_init), (gst_xml_registry_init),
24445 (gst_xml_registry_new), (gst_xml_registry_set_property),
24446 (gst_xml_registry_get_property), (get_time), (make_dir),
24447 (gst_xml_registry_get_perms_func),
24448 (plugin_times_older_than_recurse), (plugin_times_older_than),
24449 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24450 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24451 (add_to_char_array), (read_string), (read_uint), (read_enum),
24452 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24453 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24454 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24455 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24456 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24457 (gst_xml_registry_rebuild):
24458 * gst/registries/gstlibxmlregistry.h:
24459 * tools/gst-compprep.c: (main):
24460 * tools/gst-inspect.c: (print_pad_templates_info):
24461 * tools/gst-xmlinspect.c: (print_element_info):
24462 Use libxml2 for registry parsing, use staticpadtemplates in
24463 elementfactories. Makes gst_init() +/- 10x faster.
24465 2005-04-12 Wim Taymans <wim@fluendo.com>
24467 * gst/base/Makefile.am:
24468 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24469 (gst_basesink_pad_getcaps), (gst_basesink_init),
24470 (gst_basesink_event), (gst_basesink_change_state):
24471 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24472 (gst_basesrc_init), (gst_basesrc_query),
24473 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24474 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24475 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24476 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24477 (gst_basesrc_stop), (gst_basesrc_activate),
24478 (gst_basesrc_change_state):
24479 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24480 (helper_find_suggest), (gst_type_find_helper):
24481 * gst/base/gsttypefindhelper.h:
24482 * gst/elements/Makefile.am:
24483 * gst/elements/gstelements.c:
24484 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24485 (gst_fakesink_get_times), (gst_fakesink_event),
24486 (gst_fakesink_preroll), (gst_fakesink_render):
24487 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24488 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24489 (gst_fakesrc_get_property), (gst_fakesrc_create),
24490 (gst_fakesrc_start), (gst_fakesrc_stop):
24491 * gst/elements/gstfakesrc.h:
24492 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24493 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24494 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24495 (gst_filesrc_create_read), (gst_filesrc_create),
24496 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24497 (gst_filesrc_start):
24498 * gst/elements/gsttypefindelement.c:
24499 (gst_type_find_element_have_type), (gst_type_find_element_init),
24500 (start_typefinding), (stop_typefinding), (push_buffer_store),
24501 (gst_type_find_element_handle_event),
24502 (gst_type_find_element_chain),
24503 (gst_type_find_element_checkgetrange),
24504 (gst_type_find_element_getrange), (do_typefind),
24505 (gst_type_find_element_activate),
24506 (gst_type_find_element_change_state):
24507 * gst/elements/gsttypefindelement.h:
24508 * gst/gstpipeline.c: (pipeline_bus_handler):
24509 Added typefind helper.
24510 Small preroll fix in the base sink.
24511 Disable typefind code in basesrc.
24512 Crude port of typefindelement.
24516 2005-04-11 Wim Taymans <wim@fluendo.com>
24518 * check/gst/gstbus.c: (gstbus_suite):
24519 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24520 * check/gstcheck.h:
24521 Fix up the timeout so that the test does not fail.
24523 2005-04-06 Wim Taymans <wim@fluendo.com>
24526 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24527 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24528 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24529 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24530 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24531 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24532 (gst_basesrc_stop), (gst_basesrc_activate),
24533 (gst_basesrc_change_state), (basesrc_find_peek),
24534 (basesrc_find_suggest), (gst_basesrc_type_find):
24535 * gst/base/gstbasesrc.h:
24536 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24537 (gst_filesrc_class_init), (gst_filesrc_init),
24538 (gst_filesrc_finalize), (gst_filesrc_set_location),
24539 (gst_filesrc_set_property), (gst_filesrc_get_property),
24540 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24541 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24542 (gst_filesrc_create_read), (gst_filesrc_create),
24543 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24544 * gst/elements/gstfilesrc.h:
24545 * gst/gstelement.c: (gst_element_get_state_func),
24546 (gst_element_lost_state), (gst_element_pads_activate):
24547 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24548 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24549 (gst_pad_pull_range):
24551 More work on the generic source base class, implement seeking,
24553 Make filesrc extend the base source class.
24554 Added gst_pad_set_checkgetrange_function to GstPad.
24556 2005-04-06 Andy Wingo <wingo@pobox.com>
24558 * pkgconfig/gstreamer-base.pc.in:
24559 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24561 * pkgconfig/Makefile.am:
24562 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24564 2005-04-04 Wim Taymans <wim@fluendo.com>
24566 * gst/base/Makefile.am:
24568 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24569 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24570 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24571 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24572 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24573 (gst_basesrc_base_init), (gst_basesrc_class_init),
24574 (gst_basesrc_init), (gst_basesrc_get_formats),
24575 (gst_basesrc_get_query_types), (gst_basesrc_query),
24576 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24577 (gst_basesrc_set_property), (gst_basesrc_get_property),
24578 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24579 (gst_basesrc_loop), (gst_basesrc_activate),
24580 (gst_basesrc_change_state):
24581 * gst/base/gstbasesrc.h:
24582 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24583 (gst_fakesrc_class_init), (gst_fakesrc_init),
24584 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24585 (gst_fakesrc_get_property), (gst_fakesrc_create):
24586 * gst/elements/gstfakesrc.h:
24587 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24588 (gst_filesrc_open_file), (gst_filesrc_loop),
24589 (gst_filesrc_activate), (filesrc_find_peek),
24590 (gst_filesrc_type_find):
24591 Made base source class, make fakesrc extend it.
24592 Add comments to basesink class.
24593 Some filesrc cleanup.
24595 2005-03-31 David Schleef <ds@schleef.org>
24597 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24598 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24599 expected to link against libgstreamer.
24600 * gst/base/Makefile.am: link against libgstreamer
24601 * gst/elements/Makefile.am: same
24603 2005-03-31 Andy Wingo <wingo@pobox.com>
24605 * tests/instantiate/Makefile.am:
24606 * tests/instantiate/caps.c: Add test to test speed of caps copy
24609 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24610 GMemChunk to be fair.
24612 * gst/gsttrashstack.h: Remove warning about using the fallback
24613 trash stack implementation, it's still faster than malloc.
24615 2005-03-30 Andy Wingo <wingo@pobox.com>
24617 * tests/complexity.c: Add a copyright.
24619 2005-03-31 Wim Taymans <wim@fluendo.com>
24621 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24622 (gst_base_transform_class_init), (gst_base_transform_init),
24623 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24624 (gst_base_transform_get_property),
24625 (gst_base_transform_sink_activate),
24626 (gst_base_transform_src_activate),
24627 (gst_base_transform_change_state):
24628 * gst/base/gstbasetransform.h:
24629 * gst/elements/gstidentity.c: (gst_identity_class_init),
24630 (gst_identity_event), (gst_identity_check_perfect),
24631 (gst_identity_transform), (gst_identity_start),
24632 (gst_identity_stop):
24633 Added start/stop methods to transform base class so subclasses
24634 don't need to deal with state changes even.
24636 2005-03-31 Wim Taymans <wim@fluendo.com>
24638 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24639 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24641 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24642 (gst_pad_pull_range):
24643 Added rate to the discont event to prepare for variable speed
24644 and reverse playback.
24646 2005-03-29 David Schleef <ds@schleef.org>
24649 * testsuite/trigger/Makefile.am:
24650 * testsuite/trigger/trigger.c: A little example program to show
24651 how trigger-based elements can work.
24653 2005-03-29 Wim Taymans <wim@fluendo.com>
24655 * gst/base/Makefile.am:
24657 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24658 (gst_basesink_base_init), (gst_basesink_class_init),
24659 (gst_basesink_pad_getcaps), (gst_basesink_init),
24660 (gst_basesink_activate), (gst_basesink_change_state):
24661 * gst/base/gstbasesink.h:
24662 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24663 (gst_base_transform_base_init), (gst_base_transform_finalize),
24664 (gst_base_transform_class_init), (gst_base_transform_init),
24665 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24666 (gst_base_transform_event), (gst_base_transform_getrange),
24667 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24668 (gst_base_transform_set_property),
24669 (gst_base_transform_get_property),
24670 (gst_base_transform_sink_activate),
24671 (gst_base_transform_src_activate),
24672 (gst_base_transform_change_state):
24673 * gst/base/gstbasetransform.h:
24674 * gst/elements/gstidentity.c: (gst_identity_finalize),
24675 (gst_identity_class_init), (gst_identity_init),
24676 (gst_identity_event), (gst_identity_check_perfect),
24677 (gst_identity_transform), (gst_identity_set_property),
24678 (gst_identity_get_property), (gst_identity_change_state):
24679 * gst/elements/gstidentity.h:
24680 * gst/gstelement.c: (gst_element_get_state_func),
24681 (gst_element_lost_state), (gst_element_pads_activate):
24682 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24683 (gst_pad_check_pull_range), (gst_pad_pull_range):
24685 Simplify pad activation.
24686 Added function to check if pull_range can be performed.
24687 Error out when pulling inactive or flushing pads.
24688 Removed const from refcounted types as it does not make sense.
24689 Simplify pad templates in basesink
24690 Added base class for simple 1-to-1 transforms.
24691 Make identity subclass the base transform.
24693 2005-03-29 Andy Wingo <wingo@pobox.com>
24695 * docs/libs/gstreamer-libs-overrides.txt:
24696 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24697 really don't understand what's going on, but like whatever. I want
24700 * docs/gst/Makefile.am:
24701 * docs/libs/Makefile.am: Dist the overrides files.
24703 * check/Makefile.am (clean-local): Remove .libs directories.
24705 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24706 elements to EXTRA_DIST, so po/ files are happy.
24708 * po/POTFILES.in: Er, remove it here.
24710 * po/POTFILES: Remove gstspider.c.
24712 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24714 * docs/libs/gstreamer-libs-docs.sgml:
24715 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24718 * tests/complexity.c (main): Set the length of the preroll queue
24719 on the sinks to prevent a lockup.
24721 * libs/gst/dataprotocol/Makefile.am:
24722 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24723 the same as the one in check/gst-libs/gdp.c.
24725 * po/, docs/gst/: Commit automatic changes to docs and po files.
24727 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24728 the versioned libgstbase.
24730 * check/Makefile.am: Depend on an unversioned gst-register, seems
24731 to make autoconf happier.
24733 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24735 2005-03-28 Wim Taymans <wim@fluendo.com>
24738 * docs/design/part-gstelement.txt:
24739 * docs/design/part-negotiation.txt:
24740 * docs/design/part-preroll.txt:
24741 * docs/design/part-scheduling.txt:
24742 * docs/design/part-states.txt:
24744 * gst/base/Makefile.am:
24746 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24747 (gst_basesink_base_init), (gst_basesink_class_init),
24748 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24749 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24750 (gst_basesink_set_pad_functions),
24751 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24752 (gst_basesink_set_property), (gst_basesink_get_property),
24753 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24754 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24755 (gst_basesink_preroll_queue_push),
24756 (gst_basesink_preroll_queue_empty),
24757 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24758 (gst_basesink_event), (gst_basesink_get_times),
24759 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24760 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24761 (gst_basesink_loop), (gst_basesink_activate),
24762 (gst_basesink_change_state):
24763 * gst/base/gstbasesink.h:
24764 * gst/elements/Makefile.am:
24765 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24766 (gst_fakesink_class_init), (gst_fakesink_init),
24767 (gst_fakesink_set_property), (gst_fakesink_get_property),
24768 (gst_fakesink_get_times), (gst_fakesink_event),
24769 (gst_fakesink_preroll), (gst_fakesink_render),
24770 (gst_fakesink_change_state):
24771 * gst/elements/gstfakesink.h:
24772 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24773 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24774 * gst/gstelement.c: (gst_element_add_pad),
24775 (gst_element_get_state_func), (gst_element_abort_state),
24776 (gst_element_commit_state), (gst_element_lost_state),
24777 (gst_element_set_state), (gst_element_pads_activate):
24778 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24779 * gst/gstpipeline.c: (gst_pipeline_send_event),
24780 (gst_pipeline_change_state):
24781 Added state change code.
24782 Added/updated docs.
24783 Added sink base class, make fakesink extend the base class.
24784 Small cleanups in GstPipeline.
24786 2005-03-26 David Schleef <ds@schleef.org>
24788 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24789 is broken and should be implemented in a different library.
24790 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24791 * gst/gst.h: remove gstcpu.h
24792 * gst/gstcpu.c: remove
24793 * gst/gstcpu.h: remove
24794 * gst/Makefile.am.future: Remove this file. It's ancient.
24796 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24798 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24799 (gst_bin_send_event):
24800 Add default event/set_manager handlers. The set_manager handler
24801 takes care that the manager is distributed over kids that were
24802 already in the bin before the manager was set. The event handler
24803 is a utility virtual function that sends the event over all sinks,
24804 so that gst_element_send_event (bin, event); has the expected
24806 * gst/gstpad.c: (gst_pad_event_default):
24807 Re-install default event handling for discontinuities, so that
24808 seeking works without requiring hacks in applications or extra
24810 * gst/gstpipeline.c: (gst_pipeline_class_init),
24811 (gst_pipeline_send_event):
24812 Half hack, half utility: set a pipeline to PAUSED for seek events,
24813 since that is the only way we can guarantee a/v sync. Means that
24814 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24815 and it "just works".
24817 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24819 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24820 Lock/unlock mismatch.
24822 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24824 * docs/faq/gst-uninstalled:
24825 add gst-plugins-base
24826 * docs/gst/Makefile.am:
24827 don't error out until docs are fixed
24828 * docs/gst/gstreamer.types:
24831 2005-03-22 Wim Taymans <wim@fluendo.com>
24833 * check/Makefile.am:
24834 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24835 * gst/gststructure.c: (gst_structure_set_valist),
24836 (gst_structure_copy_conditional):
24837 Activated more tests.
24838 Added message test.
24839 Added G_TYPE_POINTER to GstStructure.
24842 2005-03-22 Wim Taymans <wim@fluendo.com>
24844 * docs/design/part-TODO.txt:
24845 * docs/design/part-events.txt:
24846 * docs/design/part-gstbin.txt:
24847 * docs/design/part-gstbus.txt:
24848 * docs/design/part-gstpipeline.txt:
24849 * docs/design/part-messages.txt:
24851 * gst/gstmessage.c:
24854 2005-03-21 Wim Taymans <wim@fluendo.com>
24856 * gst/gstbus.c: (gst_bus_post):
24857 Fix copy-and-paste error.
24859 2005-03-21 Wim Taymans <wim@fluendo.com>
24861 * check/Makefile.am:
24863 * gst/elements/Makefile.am:
24864 * gst/elements/gstelements.c:
24865 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24866 (gst_fakesink_event), (gst_fakesink_chain):
24867 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24868 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24869 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24870 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24871 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24872 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24873 (gst_fakesrc_loop), (gst_fakesrc_activate),
24874 (gst_fakesrc_change_state):
24875 * gst/elements/gstfakesrc.h:
24876 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24877 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24878 (gst_filesrc_open_file), (gst_filesrc_loop),
24879 (gst_filesrc_activate), (gst_filesrc_change_state),
24880 (filesrc_find_peek), (filesrc_find_suggest),
24881 (gst_filesrc_type_find):
24882 * gst/elements/gstidentity.c: (gst_identity_finalize),
24883 (gst_identity_class_init), (gst_identity_init),
24884 (gst_identity_proxy_getcaps), (identity_queue_push),
24885 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24886 (gst_identity_getrange), (gst_identity_chain),
24887 (gst_identity_sink_loop), (gst_identity_src_loop),
24888 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24889 (gst_identity_set_property), (gst_identity_get_property),
24890 (gst_identity_change_state):
24891 * gst/elements/gstidentity.h:
24892 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24893 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24894 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24895 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24896 (gst_tee_sink_activate):
24897 * gst/elements/gsttee.h:
24898 * gst/gst.c: (gst_register_core_elements), (init_post):
24900 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24901 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24902 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24903 (gst_bin_change_state):
24905 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24906 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24907 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24908 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24909 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24910 (bus_watch_callback), (bus_watch_destroy),
24911 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24912 (poll_timeout), (gst_bus_poll):
24916 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24917 (gst_element_post_message), (gst_element_message_full),
24918 (gst_element_get_state_func), (gst_element_get_state),
24919 (gst_element_abort_state), (gst_element_commit_state),
24920 (gst_element_lost_state), (gst_element_set_state),
24921 (gst_element_pads_activate), (gst_element_change_state),
24922 (gst_element_dispose), (gst_element_set_manager_func),
24923 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24924 (gst_element_set_manager), (gst_element_get_manager),
24925 (gst_element_set_bus), (gst_element_get_bus),
24926 (gst_element_set_scheduler), (gst_element_get_scheduler):
24927 * gst/gstelement.h:
24928 * gst/gstevent.c: (gst_event_new_segment_seek),
24929 (gst_event_new_flush):
24931 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24932 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24933 (gst_message_new_eos), (gst_message_new_error),
24934 (gst_message_new_warning), (gst_message_new_tag),
24935 (gst_message_new_state_changed), (gst_message_new_application),
24936 (gst_message_get_structure), (gst_message_parse_tag),
24937 (gst_message_parse_state_changed), (gst_message_parse_error),
24938 (gst_message_parse_warning):
24939 * gst/gstmessage.h:
24940 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24941 (gst_real_pad_set_property), (gst_pad_set_active),
24942 (gst_pad_is_active), (gst_pad_set_blocked_async),
24943 (gst_pad_set_blocked), (gst_pad_is_blocked),
24944 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24945 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24946 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24947 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24948 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24949 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24950 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24951 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24952 (gst_pad_set_caps), (gst_pad_configure_sink),
24953 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24954 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24955 (gst_real_pad_dispose), (gst_real_pad_finalize),
24956 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24957 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24958 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24960 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24961 (pipeline_bus_handler), (gst_pipeline_change_state),
24962 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24963 * gst/gstpipeline.h:
24965 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24966 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24967 (gst_queue_link_src), (gst_queue_bufferalloc),
24968 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24969 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24970 (gst_queue_loop), (gst_queue_handle_src_event),
24971 (gst_queue_handle_src_query), (gst_queue_src_activate),
24972 (gst_queue_change_state):
24974 * gst/gstscheduler.c: (gst_scheduler_init),
24975 (gst_scheduler_dispose), (gst_scheduler_create_task),
24976 (gst_scheduler_factory_create):
24977 * gst/gstscheduler.h:
24978 * gst/gststructure.c: (gst_structure_get_type),
24979 (gst_structure_copy_conditional):
24980 * gst/gststructure.h:
24981 * gst/gsttaginterface.h:
24982 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24983 (gst_task_init), (gst_task_dispose), (gst_task_create),
24984 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24990 * gst/schedulers/Makefile.am:
24991 * gst/schedulers/cothreads_compat.h:
24992 * gst/schedulers/entryscheduler.c:
24993 * gst/schedulers/faircothreads.c:
24994 * gst/schedulers/faircothreads.h:
24995 * gst/schedulers/fairscheduler.c:
24996 * gst/schedulers/gstbasicscheduler.c:
24997 * gst/schedulers/gstoptimalscheduler.c:
24998 * gst/schedulers/gthread-cothreads.h:
24999 * gst/schedulers/threadscheduler.c:
25000 (gst_thread_scheduler_task_get_type),
25001 (gst_thread_scheduler_task_class_init),
25002 (gst_thread_scheduler_task_init),
25003 (gst_thread_scheduler_task_start),
25004 (gst_thread_scheduler_task_stop),
25005 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25006 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25007 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25008 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25010 * libs/gst/Makefile.am:
25011 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25012 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25013 (gst_file_pad_parent_set):
25014 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25015 (gst_dp_event_from_packet):
25016 * tests/complexity.c: (main):
25017 * tests/mass_elements.c: (main):
25018 * testsuite/states/locked.c: (message_received), (main):
25019 * testsuite/states/parent.c: (main):
25020 * tools/gst-inspect.c: (print_element_flag_info),
25021 (print_implementation_info), (print_pad_info):
25022 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25024 * tools/gst-md5sum.c: (event_loop), (main):
25025 * tools/gst-typefind.c: (main):
25026 * tools/gst-xmlinspect.c: (print_element_info):
25028 Added GstBus for mainloop integration.
25029 Added GstMessage for sending notifications on the bus.
25030 Added GstTask as an abstraction for pipeline entry points.
25032 Removed Schedulers.
25033 Simplified GstQueue for multithreaded core.
25034 Made _link threadsafe, removed old capsnego.
25035 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25036 Added pad blocking functions.
25037 Reworked scheduling functions in GstPad to prepare for
25038 scheduling updates soon.
25039 Moved events out of data stream.
25040 Simplified GstEvent types.
25041 Added return values to push/pull.
25042 Removed clocking from GstElement.
25043 Added prototypes for state change function for next merge.
25044 Removed iterate from bins and state change management.
25045 Fixed some elements, disabled others for now.
25046 Fixed -inspect and -launch.
25047 Added check for GstBus.
25049 2005-03-10 Wim Taymans <wim@fluendo.com>
25051 * docs/design/part-MT-refcounting.txt:
25052 * docs/design/part-clocks.txt:
25053 * docs/design/part-gstelement.txt:
25054 * docs/design/part-gstobject.txt:
25055 * docs/design/part-standards.txt:
25056 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25057 (gst_bin_remove_func), (gst_bin_remove):
25061 * testsuite/clock/clock1.c: (main):
25062 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25064 * testsuite/dlopen/loadgst.c: (do_test):
25065 * testsuite/refcounting/bin.c: (add_remove_test1),
25066 (add_remove_test2), (main):
25067 * testsuite/refcounting/element.c: (main):
25068 * testsuite/refcounting/element_pad.c: (main):
25069 * testsuite/refcounting/pad.c: (main):
25070 * tools/gst-launch.c: (sigint_handler_sighandler):
25071 * tools/gst-typefind.c: (main):
25073 Added doc about clock.
25074 removed gst_bin_iterate_recurse_up(), marked methods
25076 Fix more testsuites.
25078 2005-03-09 Wim Taymans <wim@fluendo.com>
25080 * gst/gstpad.c: (gst_pad_get_direction),
25081 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25082 (gst_pad_collect_valist):
25083 * testsuite/bins/interface.c: (main):
25084 * testsuite/caps/audioscale.c: (test_caps):
25085 * testsuite/caps/caps.c: (test1), (test2), (test3):
25086 * testsuite/caps/deserialize.c: (main):
25087 * testsuite/caps/enumcaps.c: (main):
25088 * testsuite/caps/filtercaps.c: (main):
25089 * testsuite/caps/intersect2.c: (main):
25090 * testsuite/caps/random.c: (main):
25091 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25092 * testsuite/caps/sets.c: (check_caps):
25093 * testsuite/caps/simplify.c: (check_caps), (main):
25094 * testsuite/caps/subtract.c: (check_caps):
25095 Fix _pad_get_direction wrt ghostpads.
25096 Fix caps testsuite.
25098 2005-03-09 Wim Taymans <wim@fluendo.com>
25100 * check/Makefile.am:
25101 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25102 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25103 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25104 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25105 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25106 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25107 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25108 (bin_element_is_sink), (gst_bin_iterate_sinks),
25109 (gst_bin_iterate_all_by_interface):
25111 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25112 (gst_element_change_state), (gst_element_dispose),
25113 (gst_element_finalize), (gst_element_set_loop_function):
25114 * gst/gstelement.h:
25115 * gst/gstiterator.c: (find_custom_fold_func):
25116 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25117 (gst_pad_collectv), (gst_pad_collect_valist),
25118 (gst_pad_template_new):
25119 * gst/gstpipeline.c: (gst_pipeline_class_init),
25120 (gst_pipeline_dispose), (gst_pipeline_set_property),
25121 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25122 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25123 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25125 * gst/schedulers/entryscheduler.c:
25126 * gst/schedulers/gstbasicscheduler.c:
25127 (gst_basic_scheduler_cothreaded_chain),
25128 (gst_basic_scheduler_chain_add_element):
25129 * testsuite/bins/interface.c: (main):
25131 Added GstSystemClock test.
25132 Implemented clock distribution code in GstBin.
25133 Implemented iterate sinks method for future use.
25134 Rearranged gstelement.h
25135 Fix GstIterator comparison bug.
25136 Moved some code to GstPipeline, mostly clocking related.
25138 2005-03-09 Wim Taymans <wim@fluendo.com>
25141 * gst/gst_private.h:
25142 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25143 (gst_bin_remove_func), (gst_bin_remove),
25144 (gst_bin_get_by_name_recurse_up):
25145 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25146 (gst_clock_id_compare_func), (gst_clock_id_wait),
25147 (gst_clock_id_wait_async), (gst_clock_init),
25148 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25149 * gst/gstelement.h:
25150 * gst/gstinfo.c: (_gst_debug_init):
25152 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25153 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25155 Bump version number, we're now 0.9.0
25156 Add future debugging category.
25157 Fix NULL _unref() in _get_by_name_recurse_up
25158 Rearrange gstpad.h.
25161 2005-03-08 Wim Taymans <wim@fluendo.com>
25163 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25164 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25165 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25166 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25167 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25168 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25169 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25170 * gst/elements/gstidentity.c: (gst_identity_class_init):
25171 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25172 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25173 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25174 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25175 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25177 * gst/gstelement.c: (gst_element_class_init),
25178 (gst_element_base_class_init), (gst_element_init),
25179 (gst_element_get_random_pad), (gst_element_wait_state_change),
25180 (gst_element_change_state), (gst_element_dispose),
25181 (gst_element_finalize), (gst_element_set_loop_function):
25182 * gst/gstelement.h:
25183 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25184 * gst/gstthread.c: (gst_thread_class_init),
25185 (gst_thread_release_children_locks), (gst_thread_change_state):
25186 * gst/schedulers/gstbasicscheduler.c:
25187 (gst_basic_scheduler_loopfunc_wrapper),
25188 (gst_basic_scheduler_chain_wrapper),
25189 (gst_basic_scheduler_src_wrapper),
25190 (gst_basic_scheduler_remove_element):
25191 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25192 Remove threadsafe properties. Fix elements because GObject
25193 complains when installing a property before declaring a
25194 set/get_property handler.
25195 Rearrange gstelement.h file, use STATE macros for state locks.
25196 Free mutexes in the finalize method instead of dispose.
25198 2005-03-08 Wim Taymans <wim@fluendo.com>
25200 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25201 * gst/gstthread.c: (gst_thread_release_children_locks):
25202 Added parentage check.
25203 Fix build og GstThread again.
25205 2005-03-08 Wim Taymans <wim@fluendo.com>
25207 * docs/design/part-MT-refcounting.txt:
25208 * docs/design/part-conventions.txt:
25209 * docs/design/part-gstobject.txt:
25210 * docs/design/part-relations.txt:
25211 * docs/design/part-standards.txt:
25212 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25213 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25214 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25215 (gst_bin_iterate_all_by_interface):
25218 * gst/gstelement.c: (gst_element_class_init),
25219 (gst_element_change_state), (gst_element_set_loop_function):
25220 * gst/gstelement.h:
25221 * gst/gstiterator.c:
25222 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25223 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25224 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25225 (gst_object_set_parent), (gst_object_unparent),
25226 (gst_object_check_uniqueness):
25228 Docs updates, clean up some headers.
25230 2005-03-07 Wim Taymans <wim@fluendo.com>
25232 * check/.cvsignore:
25233 * check/Makefile.am:
25234 * check/gst-libs/.cvsignore:
25235 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25236 * check/gst/.cvsignore:
25237 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25238 (START_TEST), (gstbus_suite), (main):
25239 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25240 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25241 (gst_data_suite), (main):
25242 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25243 (add_fold_func), (gstiterator_suite), (main):
25244 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25245 (thread_name_object), (thread_name_object_default),
25246 (gst_object_name_compare), (gst_object_suite), (main):
25247 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25248 (gst_pad_suite), (main):
25249 * check/gstcheck.c: (gst_check_log_message_func),
25250 (gst_check_log_critical_func), (gst_check_init):
25251 * check/gstcheck.h:
25252 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25253 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25256 2005-03-07 Wim Taymans <wim@fluendo.com>
25258 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25259 (gst_list_iterator_next), (gst_list_iterator_resync),
25260 (gst_list_iterator_free), (gst_iterator_new_list),
25261 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25262 (gst_iterator_free), (gst_iterator_push), (filter_next),
25263 (filter_resync), (filter_uninit), (filter_free),
25264 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25265 (gst_iterator_foreach), (find_custom_fold_func),
25266 (gst_iterator_find_custom):
25267 * gst/gstiterator.h:
25268 Added missing files.
25270 2005-03-07 Wim Taymans <wim@fluendo.com>
25274 * docs/design/part-MT-refcounting.txt:
25275 * docs/design/part-conventions.txt:
25276 * docs/design/part-gstobject.txt:
25277 * docs/design/part-relations.txt:
25278 * examples/mixer/mixer.c: (main):
25279 * examples/thread/thread.c: (eos), (main):
25281 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25282 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25283 (gst_spider_plug_from_srcpad):
25284 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25285 (gst_spider_identity_change_state),
25286 (gst_spider_identity_sink_loop_type_finding):
25287 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25288 * gst/elements/gstidentity.c: (gst_identity_init):
25289 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25290 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25291 * gst/elements/gsttypefindelement.c: (free_entry):
25294 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25295 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25296 (gst_bin_set_index), (gst_bin_set_element_sched),
25297 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25298 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25299 (gst_bin_iterate_elements), (iterate_child_recurse),
25300 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25301 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25302 (compare_interface), (gst_bin_get_by_interface),
25303 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25305 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25306 (gst_buffer_default_free), (gst_buffer_default_copy),
25307 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25308 (gst_buffer_create_sub):
25310 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25311 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25312 (gst_caps_unref), (gst_static_caps_get),
25313 (gst_caps_remove_and_get_structure), (gst_caps_append),
25314 (gst_caps_append_structure), (gst_caps_remove_structure),
25315 (gst_caps_copy_nth), (gst_caps_set_simple),
25316 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25317 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25318 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25319 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25320 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25321 (gst_caps_structure_figure_out_union),
25322 (gst_caps_switch_structures), (gst_caps_do_simplify),
25323 (gst_caps_replace), (gst_caps_from_string),
25324 (gst_caps_copy_conditional):
25326 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25327 (_gst_clock_id_free), (gst_clock_id_unref),
25328 (gst_clock_id_compare_func), (gst_clock_id_wait),
25329 (gst_clock_id_wait_async), (gst_clock_class_init),
25330 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25331 (gst_clock_get_time), (gst_clock_set_time_adjust),
25332 (gst_clock_set_property), (gst_clock_get_property):
25335 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25336 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25338 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25339 (gst_element_requires_clock), (gst_element_provides_clock),
25340 (gst_element_set_clock), (gst_element_clock_wait),
25341 (gst_element_wait), (gst_element_set_time_delay),
25342 (gst_element_is_indexable), (gst_element_add_pad),
25343 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25344 (pad_compare_name), (gst_element_get_static_pad),
25345 (gst_element_request_pad), (gst_element_get_request_pad),
25346 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25347 (gst_element_class_get_pad_template_list),
25348 (gst_element_class_get_pad_template), (gst_element_error_func),
25349 (gst_element_get_random_pad), (gst_element_get_event_masks),
25350 (gst_element_send_event), (gst_element_seek),
25351 (gst_element_get_query_types), (gst_element_query),
25352 (gst_element_get_formats), (gst_element_convert),
25353 (gst_element_is_locked_state), (gst_element_set_locked_state),
25354 (gst_element_sync_state_with_parent), (gst_element_change_state),
25355 (gst_element_finalize), (gst_element_yield),
25356 (gst_element_interrupt), (gst_element_set_scheduler),
25357 (gst_element_get_scheduler), (gst_element_set_loop_function):
25358 * gst/gstelement.h:
25360 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25361 (gst_format_get_by_nick), (gst_format_get_details),
25362 (gst_format_iterate_definitions):
25364 * gst/gstindex.c: (gst_index_gtype_resolver):
25367 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25368 (gst_mem_chunk_free):
25369 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25370 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25371 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25372 (gst_object_dispatch_properties_changed),
25373 (gst_object_set_name_default), (gst_object_set_name),
25374 (gst_object_get_name), (gst_object_set_name_prefix),
25375 (gst_object_get_name_prefix), (gst_object_set_parent),
25376 (gst_object_get_parent), (gst_object_unparent),
25377 (gst_object_check_uniqueness), (gst_object_save_thyself),
25378 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25379 (gst_object_set_property), (gst_object_get_property),
25380 (gst_object_get_path_string):
25382 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25383 (gst_real_pad_init), (gst_real_pad_get_property),
25384 (gst_pad_custom_new), (gst_pad_get_direction),
25385 (gst_pad_set_active), (gst_pad_is_active),
25386 (gst_pad_set_event_function), (gst_pad_is_linked),
25387 (gst_pad_link_free), (gst_pad_link_intersect),
25388 (gst_pad_link_fixate), (gst_pad_set_caps),
25389 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25390 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25391 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25392 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25393 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25394 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25395 (gst_pad_realize), (gst_pad_get_allowed_caps),
25396 (gst_real_pad_dispose), (gst_real_pad_finalize),
25397 (gst_pad_collectv), (gst_pad_collect_valist),
25398 (gst_pad_template_dispose), (gst_pad_template_new),
25399 (gst_pad_get_internal_links):
25401 * gst/gstpipeline.c: (gst_pipeline_dispose),
25402 (gst_pipeline_change_state):
25403 * gst/gstpipeline.h:
25405 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25406 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25407 * gst/gstpluginfeature.h:
25408 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25409 * gst/gstquery.c: (_gst_query_type_initialize),
25410 (gst_query_type_register), (gst_query_type_get_by_nick),
25411 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25413 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25414 * gst/gstscheduler.c: (gst_scheduler_add_element),
25415 (gst_scheduler_factory_create):
25416 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25417 (gst_structure_free), (gst_structure_set_name),
25418 (gst_structure_id_set_value), (gst_structure_set_value),
25419 (gst_structure_set_valist), (gst_structure_remove_field),
25420 (gst_structure_remove_fields),
25421 (gst_structure_remove_fields_valist),
25422 (gst_structure_remove_all_fields), (gst_structure_foreach),
25423 (gst_structure_map_in_place),
25424 (gst_caps_structure_fixate_field_nearest_int),
25425 (gst_caps_structure_fixate_field_nearest_double):
25426 * gst/gststructure.h:
25427 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25428 (gst_system_clock_init), (gst_system_clock_dispose),
25429 (gst_system_clock_async_thread),
25430 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25431 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25432 * gst/gstsystemclock.h:
25433 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25434 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25435 * gst/gsttaginterface.c:
25436 * gst/gstthread.c: (gst_thread_dispose),
25437 (gst_thread_release_children_locks), (gst_thread_change_state),
25438 (gst_thread_main_loop):
25439 * gst/gsttrashstack.h:
25440 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25442 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25443 (gst_element_request_pad), (gst_element_get_pad_from_template),
25444 (gst_element_request_compatible_pad),
25445 (gst_element_get_compatible_pad_filtered),
25446 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25447 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25448 (gst_element_link_many), (gst_element_link),
25449 (gst_element_link_pads), (gst_element_unlink_pads),
25450 (gst_element_unlink_many), (gst_element_unlink),
25451 (gst_pad_can_link_filtered), (gst_pad_can_link),
25452 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25453 (gst_object_default_error), (gst_bin_add_many),
25454 (gst_bin_remove_many), (gst_element_populate_std_props),
25455 (gst_element_class_install_std_props), (gst_buffer_merge),
25456 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25457 (link_fold_func), (gst_pad_proxy_setcaps):
25459 * gst/gstvalue.c: (gst_value_deserialize_string):
25460 * gst/parse/grammar.y:
25461 * gst/schedulers/gstbasicscheduler.c:
25462 (gst_basic_scheduler_cothreaded_chain),
25463 (gst_basic_scheduler_chain_recursive_add),
25464 (gst_basic_scheduler_pad_link):
25465 * gst/schedulers/gstoptimalscheduler.c:
25466 (get_group_schedule_function),
25467 (gst_opt_scheduler_state_transition),
25468 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25469 * libs/gst/bytestream/bytestream.c:
25470 * libs/gst/dataprotocol/dataprotocol.c:
25471 (gst_dp_header_from_buffer):
25474 * tests/threadstate/threadstate2.c: (eos):
25475 * tools/gst-compprep.c: (main):
25476 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25477 (print_pad_info), (print_children_info):
25478 * tools/gst-launch.c: (idle_func), (main):
25479 * tools/gst-md5sum.c: (idle_func), (main):
25480 * tools/gst-xmlinspect.c: (print_element_info):
25481 First THREADED backport attempt, focusing on adding locks and
25482 making sure the API is threadsafe. Needs more work. More docs
25485 2005-02-24 Andy Wingo <wingo@pobox.com>
25487 * tests/bench-complexity.scm:
25488 * tests/complexity.gnuplot: New files, good for running complexity
25491 * tests/Makefile.am:
25492 * tests/complexity.c: New test, sets up N elements, at each level
25493 teeing into M streams per element. Eeeenteresting.
25495 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25496 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25497 running bench-mass_elements.scm.
25499 * tests/bench-mass_elements.scm: New script, runs mass_elements
25500 for various numbers of identities, outputting the results to a
25501 file. Requires guile 1.6. Just for testing.
25503 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25505 * gst/schedulers/fairscheduler.c:
25506 compile with debug disabled
25508 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25511 hunting season on 0.9 is now OPEN