1 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/gst/gstreamer-sections.txt:
6 API: add gst_bus_pop_filtered
7 API: add gst_bus_timed_pop_filtered
8 Two new functions for waiting for specific message types on the
9 bus for a specified amount of time without iterating any main
10 loops or main contexts.
12 * tests/check/gst/gstbus.c:
13 Some tests for the new functions.
15 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
17 * docs/libs/gstreamer-libs-sections.txt:
18 Make gtk-doc ignore stuff it should ignore.
20 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
22 * libs/gst/check/gstcheck.c:
23 * libs/gst/check/gstcheck.h:
24 Allow runtime selection of unit tests to run via the GST_CHECKS
25 environment variable (test case function names, comma-separated).
27 2007-10-16 Stefan Kost <ensonic@users.sf.net>
30 * tests/check/gst/gststructure.c:
31 Revert serialisation change and constrain structure-names after
32 consensus on irc. Update api documentation to reflect the change.
34 2007-10-16 Stefan Kost <ensonic@users.sf.net>
37 Improve serialization and fix tests.
39 * tests/check/gst/gststructure.c:
40 Add another test that covers why I actually did the previous structure
43 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
45 * tools/gst-inspect.c: (print_element_info):
46 Don't crash when inspecting an element.
48 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
50 * tests/check/gst/gststructure.c:
51 Add unit test for escaping of structure name when serialising
52 and deserialising to/from strings.
54 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
56 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
57 (gst_single_queue_new):
58 * plugins/elements/gstqueue.c: (gst_queue_init),
60 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
61 upstream is tricked into thinking it can suggest a format downstream
62 while downstream does not support that format. The real problem is that
63 core calls acceptcaps when pushing a buffer with new caps, for which we
64 do a little workaround by setting the caps on the srcpad ourselves
65 before pushing the buffer (until this is figured out). Fixes #486758.
67 2007-10-15 Stefan Kost <ensonic@users.sf.net>
71 Add some more comments and debug output. Quote structure name to fix
72 deserialisation of some strings.
74 2007-10-15 Stefan Kost <ensonic@users.sf.net>
77 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
78 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
80 2007-10-15 Stefan Kost <ensonic@users.sf.net>
82 * tools/gst-inspect.c:
83 Save approx. 400 1 byte allocs when printing. Use API to acces element
89 * tools/gst-xmlinspect.c:
90 Use API to acces element details.
92 2007-10-15 Stefan Kost <ensonic@users.sf.net>
95 Fix some spelling errors.
97 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
99 * gst/gstbin.c: (bin_handle_async_done):
100 Correctly set the next state if all of our async children commited their
101 state. This makes sure we can actually cancel the state change in
102 progress. Fixes a regression in Rhythmbox when seeking.
104 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
107 Don't shadow local variable.
110 Don't shadow global function name.
112 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
114 * gst/gstelementfactory.c:
115 * gst/gstpluginfeature.c:
116 * gst/gstpluginfeature.h:
117 * gst/gstregistrybinary.c:
118 * gst/gstregistryxml.c:
120 Use already-interned string for the private GstPluginFeature
123 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
125 * docs/libs/gstreamer-libs-sections.txt:
126 Add new API to docs; fixes the build.
128 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
130 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
132 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
133 (gst_base_sink_event):
134 * libs/gst/base/gstbasesink.h:
135 Add function to wait for EOS, subclasses can use this to correctly wait
136 for devices to drain before performing the EOS logic. Fixes #485343.
137 API: gst_base_sink_wait_eos()
139 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
142 Cast description string constants in GST_PLUGIN_DEFINE macros
143 to a (gchar*) to make C++ code using these macros compile
144 without warning with g++-4.2 (see #462737). Even if slightly
145 ugly, this seems preferable to putting the description strings
146 into the GLib quark table or making the structure member a
147 const gchar * and doing casts in core code that allocs and
148 frees these strings, or requiring a cast in the C++ code.
150 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
153 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
154 to print the entire class/function signature into the log
155 file for C++ code. This only affects C++ code, for C code
156 everything remains the same.
158 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
160 * gst/gstbin.c: (remove_from_queue):
161 Work around a problem with pipelines containing (semi)loops until a
162 proper, more complicated solution is ready. See #475455.
164 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
168 * gst/gstregistrybinary.c:
169 * gst/gstregistryxml.c:
170 Put more strings into the GLib quark table. No need to keep
171 a hundred-something copies of identical version strings,
172 license strings, package name strings and package origin
175 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
177 * docs/manual/advanced-dataaccess.xml:
178 Don't imply that it's okay to unconditionally change
179 buffer data or buffer metadata in a pad probe callback,
180 and a bunch of other comments. Fixes #430031.
182 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
184 * win32/common/gstenumtypes.c:
185 * win32/common/gstenumtypes.h:
186 * win32/common/gstversion.h:
187 Update generated files.
189 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
191 * docs/manual/advanced-autoplugging.xml:
192 Prefix section with broken code with a warning (see #342432).
194 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
196 * docs/manual/appendix-integration.xml:
197 * docs/manual/basics-init.xml:
198 Call g_thread_init() before g_option_context_new() to
199 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
201 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
203 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
204 (gst_base_sink_queue_object_unlocked),
205 (gst_base_sink_queue_object), (gst_base_sink_event),
206 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
207 When we received EOS and are waiting for when to post the EOS message,
208 our state is prerolled and we should not return ASYNC.
209 Reorganize some code paths to implement this behavior.
211 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
213 Add unit test to verify above EOS fix.
215 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
217 * plugins/elements/gsttypefindelement.c:
218 (gst_type_find_element_have_type), (gst_type_find_element_init),
219 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
220 Move detecting the input caps of the sinkpad to the setcaps function.
221 This allows us to update the output caps when we receive new input caps
222 instead of always using the first detected caps.
224 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
226 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
227 (gst_base_sink_get_position):
228 Don't try to preroll non-async elements after a flush.
229 Subtract latency form clock times when reporting position.
231 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
233 * gst/gstpad.c: (gst_pad_pause_task):
235 Small comment and documentation update.
237 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
239 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
240 (gst_base_src_set_live), (gst_base_src_is_live),
241 (gst_base_src_query_latency), (gst_base_src_perform_seek),
242 (gst_base_src_default_event), (gst_base_src_wait),
243 (gst_base_src_do_sync), (gst_base_src_get_range),
244 (gst_base_src_pad_get_range), (gst_base_src_loop),
245 (gst_base_src_unlock), (gst_base_src_unlock_stop),
246 (gst_base_src_set_flushing), (gst_base_src_set_playing),
247 (gst_base_src_activate_push), (gst_base_src_activate_pull),
248 (gst_base_src_change_state):
249 Rework the locking of basesrc in a similar fashion to basesink. We
250 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
251 us to handle live sources and semi live ones much better.
253 Fix unlocking when seeking, shutting down and pausing in live sources.
255 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
257 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
258 Fix compilation again.
260 2007-10-03 Stefan Kost <ensonic@users.sf.net>
263 Use meaningful categories for the logs to clean the default one.
265 2007-10-03 Stefan Kost <ensonic@users.sf.net>
267 * tests/check/pipelines/cleanup.c:
268 Print message name and not just number.
270 2007-10-03 Stefan Kost <ensonic@users.sf.net>
272 * docs/design/draft-tagreading.txt:
273 Add some more thoughts.
275 2007-10-03 Stefan Kost <ensonic@users.sf.net>
277 * tests/check/pipelines/simple-launch-lines.c:
278 Print message name and not just number.
280 2007-10-03 Stefan Kost <ensonic@users.sf.net>
282 * libs/gst/base/gsttypefindhelper.c:
283 Speedup typefinding. This is work in progress (see #459862).
285 2007-10-03 Stefan Kost <ensonic@users.sf.net>
288 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
289 Spotted by Josep Torra Valles <josep@fluendo.com>.
291 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
294 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
295 field has moved to GstObject.
297 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
299 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
300 (gst_base_src_get_range), (gst_base_src_change_state):
301 Call unlock for live sources so that they can't get stuck in _create and
302 produce a buffer before they are set back to PLAYING.
304 2007-10-02 Edward Hervey <bilboed@bilboed.com>
306 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
307 (gst_queue_locked_dequeue):
308 Comment the segment-related code... in the PROPER function.
309 See #482147 and my commit from yesterday.
311 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
313 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
314 Also initialize the counter that calculates the first timestamp on a
315 buffer correctly for non-live sources.
317 2007-10-01 Edward Hervey <bilboed@bilboed.com>
319 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
320 Disable code that's breaking the current-time-level reporting.
323 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
325 * docs/gst/gstreamer-sections.txt:
326 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
327 as they shouldn't show up. Fixes the docs build.
329 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
332 Add an explicit variable importation needed on VS6 (only for MSC_VER)
333 Define M_PI which is used in files which are including gstinfo.h.
334 VS6 includes doesn't define it.
335 * win32/common/libgstbase.def:
336 * win32/common/libgstcontroller.def:
337 * win32/common/libgstreamer.def:
338 Add new exported functions and variables.
339 * win32/vs6/libgstcontroller.dsp:
340 * win32/vs6/libgstreamer.dsp:
341 Update the list of files to build.
343 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
345 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
347 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
348 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
349 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
350 Improve debugging. Fixes #480858.
352 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
354 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
356 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
357 First patch of code cleanups, use the macros and right arguments in the
358 macros to signal and lock the queue. See #480858.
360 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
362 * gst/gstbus.c: (poll_func):
363 Improve debugging when dealing with _poll().
365 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
367 * gst/gstregistryxml.c:
368 Fix memory leak I introduced a few days ago.
370 2007-09-26 Michael Smith <msmith@fluendo.com>
372 * gst/gstbuffer.c: (gst_buffer_finalize):
373 Make it once again possible to free GstBuffers in the default
375 The poisoning scribbles on parts of the miniobject we need in
379 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
381 * docs/gst/gstreamer-sections.txt:
384 API: add GST_TAG_COMPOSER, fixes #459809.
386 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
390 Add the 3-clause BSD license and the MIT/X11 license to the license
393 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
395 * docs/faq/getting.xml:
396 Add Q+A about different GStreamer versions (#364056).
398 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
400 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
401 (gst_base_sink_event), (gst_base_sink_change_state):
402 Return correct gboolean from query function.
404 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
406 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
407 (gst_base_sink_event), (gst_base_sink_query),
408 (gst_base_sink_change_state):
409 Simplify latency query.
410 When not synchronizing, we can report latency without querying the peer
413 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
417 Fix small typos in the docs.
419 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
421 * docs/design/draft-latency.txt:
422 * docs/design/draft-push-pull.txt:
423 * docs/design/draft-tagreading.txt:
424 * docs/design/part-MT-refcounting.txt:
425 * docs/design/part-activation.txt:
426 * docs/design/part-block.txt:
427 * docs/design/part-element-source.txt:
428 * docs/design/part-events.txt:
429 * docs/design/part-gstbin.txt:
430 * docs/design/part-gstelement.txt:
431 * docs/design/part-gstobject.txt:
432 * docs/design/part-gstpipeline.txt:
433 * docs/design/part-messages.txt:
434 * docs/design/part-preroll.txt:
435 * docs/design/part-push-pull.txt:
436 * docs/design/part-qos.txt:
437 * docs/design/part-query.txt:
438 * docs/design/part-scheduling.txt:
439 * docs/design/part-seeking.txt:
440 * docs/design/part-segments.txt:
441 * docs/design/part-states.txt:
442 Documentation updates and typo fixes.
444 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
446 * plugins/elements/gstfakesink.c:
447 Add some debug text to error message to indicate that
448 we errored out on request.
450 * tools/gst-launch.c:
451 When the state change to PLAYING fails, check for an
452 error message on the bus and print it.
454 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
456 translated by: Jorge González González <aloriel@gmail.com>
460 Added Spanish translation.
462 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
464 * plugins/elements/gstqueue.c: (gst_queue_push_one):
465 Fix printf arguments.
467 2007-09-20 Stefan Kost <ensonic@users.sf.net>
469 * tests/check/generic/states.c:
470 Improved state change unit test.
472 2007-09-20 Stefan Kost <ensonic@users.sf.net>
475 Move priv to the right place.
477 * gst/gstsystemclock.c:
478 Add FIXME: and improve log.
480 * tests/check/Makefile.am:
481 * tests/examples/manual/Makefile.am:
482 Work with all types of registries.
484 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
486 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
487 Don't unref the event after pushing it. Fixes #478401.
489 2007-09-19 Stefan Kost <ensonic@users.sf.net>
492 * tests/examples/manual/.cvsignore:
493 Ignore registries in any format.
495 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
497 * gst/glib-compat-private.h:
498 Add compatibility macro for g_intern_string() for
499 GLib-2.8 (any reason we can't just bump the
500 requirement to at least 2.10?)
502 * gst/gstpadtemplate.h:
503 * gst/gstelementfactory.c:
504 * gst/gstregistryxml.c:
505 * gst/gstregistrybinary.c:
506 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
507 up the internal code accordingly. This shouldn't be a problem, since
508 there is no reason external code could ever assume the string in such
509 a structure is dynamically allocated unless it did that itself; the
510 use of g_strdup() is private to element factories. The new code also
511 saves some memory by putting pad template name strings into the GLib
512 quark table instead of allocating them dynamically.
513 Declaring this field constant fixes warnings with g++-4.2 when using
514 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
516 2007-09-19 Stefan Kost <ensonic@users.sf.net>
518 * gst/gstelementfactory.c:
519 Release static caps. Fixes #475723.
521 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
525 Make some internal API take const gchar * instead of just
526 gchar * to avoid compiler warnings with g++-4.2.2 when
527 passing string constants (partially fixes #478092).
529 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
531 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
532 A latency query fails when one of the sinks fail.
534 * gst/gstelement.c: (gst_element_set_base_time):
537 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
539 * gst/gstbin.c: (gst_bin_continue_func):
540 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
541 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
542 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
544 Fix minor compilation warnings shown with Forte.
546 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
548 * plugins/elements/gstqueue.c: (apply_buffer),
549 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
550 Measure queue level based on the diff between head and tail timestamps
551 even when pushing the first buffer.
553 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
555 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
556 (gst_base_sink_event), (gst_base_sink_change_state):
557 Sinks that don't preroll can always be queried for the latency.
558 Don't post ASYNC start when we are not async.
560 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
562 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
563 (gst_queue_handle_sink_event), (gst_queue_chain),
564 (gst_queue_push_one), (gst_queue_handle_src_query),
565 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
566 * plugins/elements/gstqueue.h:
567 When downstream returns UNEXPECTED from pushing a buffer, don't try to
568 push more buffers but allow pushing of EOS and NEWSEGMENT.
569 Add some more debug info here and there. Fixes #476514.
571 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
573 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
574 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
575 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
576 (gst_base_sink_set_flushing), (gst_base_sink_query),
577 (gst_base_sink_change_state):
578 Latency query is allowed after we are prerolled. Introduce a new flag
579 for this and stop abusing other variables.
581 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
583 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
584 Push OOB events downstream when we get them in send_event. This allows
585 the application to insert events in the pipeline.
586 Add some more comments.
588 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
590 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
591 (do_bin_latency), (gst_bin_change_state_func):
592 * gst/gstpipeline.c: (gst_pipeline_change_state):
593 Move latency query from GstPipeline to GstBin so that we can also
594 use it when async-handling is enabled on bins.
596 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
598 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
599 (gst_base_src_do_sync), (gst_base_src_change_state):
601 Clean up the timestamping and syncing code for pseudo live sources.
603 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
605 Patch by: Steve Fink <sphink gmail com>
607 * docs/manual/appendix-checklist.xml:
608 Mention less -R switch in the section about debug output (#474055).
610 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
612 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
613 Queue can latency to the pipeline up to the configured max size in time.
614 Report this fact in the latency query.
616 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
618 Patch by: Sebastien Moutte <sebastien at moutte dot net>
620 * libs/gst/controller/gstinterpolation.c:
621 * libs/gst/controller/gstlfocontrolsource.c:
622 Use gst_guint64_to_gdouble() when converting from a uint64 or
623 GstClockTime to double to fix the build on win32. Fixes #474371.
625 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
627 * gst/gstbuffer.c: (gst_buffer_finalize):
628 Implement poisoning for GstBuffer if --enable-poisoning is specified.
629 When finalizing a buffer the complete struct is filled with 0xff,
630 thus making a use of the buffer after the final unref impossible.
632 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
634 * tests/check/libs/controller.c: (GST_START_TEST):
635 Use fail_unless_equals_int(a, b) instead of
636 fail_unless_equals (a == b) to get better output on failures.
638 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
640 * tests/check/gst/gsturi.c:
641 Also check for the other file URI variant on win32.
643 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
645 * gst/gsturi.c: (gst_uri_get_location):
646 If there's no hostname, we want to return 'c:/foo/bar.txt'
647 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
649 * tests/check/gst/gsturi.c:
650 Unit test for the above and a few more things.
652 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
654 * docs/design/part-live-source.txt:
655 Add docs on how live sources should timestamp.
657 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
658 Add some more debug info.
659 For subclasses that are live and like to sync, add aditional startup
660 latency to sync time and timestamps so that we timstamp according to the
663 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
666 Also do a g_type_class_ref() for the subbuffer type in
669 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
671 * docs/gst/gstreamer-sections.txt:
672 * gst/gstpad.c: (gst_pad_peer_query):
674 Add function to perform a query on the peer of a pad.
675 API: gst_pad_peer_query()
677 2007-09-11 Stefan Kost <ensonic@users.sf.net>
679 * tests/check/gst/gstsystemclock.c:
680 Cleanup the test a little (use gst-logging and not g_message). Improve
681 test to check if a wait reached the target.
683 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
685 * docs/libs/gstreamer-libs-sections.txt:
686 Add new API to docs and fix the build.
688 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
690 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
691 (gst_base_src_init), (gst_base_src_set_do_timestamp),
692 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
693 (gst_base_src_get_property), (gst_base_src_do_sync):
694 * libs/gst/base/gstbasesrc.h:
695 Add property to make the basesrc timestamp buffers based on the current
697 API: GstBaseSrc::do-timestamp
698 API: gst_base_src_set_do_timestamp()
699 API: gst_base_src_get_do_timestamp()
701 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
703 * docs/random/release:
704 Really make sure translations are up-to-date before
707 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
709 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
710 Always destroy the timer, also in error cases.
712 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
714 * docs/manual/highlevel-xml.xml:
715 Fix XML example code. Fixes #472714.
717 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
719 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
720 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
721 (gst_base_sink_query):
722 Protect eos and have_preroll with the OBJECT lock so we don't need to
723 take the PREROLL lock when querying the latency. Fixes #473846.
725 2007-09-05 Stefan Kost <ensonic@users.sf.net>
728 Give some log-messages a category.
730 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
732 * gst/gststructure.c:
733 (gst_structure_fixate_field_nearest_fraction):
734 Fix fraction list fixation code. Take the fraction with the smallest
735 difference with the target instead of the first one in the list.
737 * tests/check/gst/gststructure.c: (GST_START_TEST),
738 (gst_structure_suite):
739 Added test to verify correct fraction list fixation behaviour.
741 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
743 * win32/common/libgstreamer.def:
744 Export gst_bus_add_signal_watch too.
746 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
748 * docs/libs/gstreamer-libs-sections.txt:
749 Add new methods to docs.
751 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
752 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
753 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
754 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
755 * libs/gst/base/gstbasesink.h:
756 Add ts-offset property to fine-tune the synchronisation.
757 API: GstBaseSink::ts-offset property
758 API: gst_base_sink_set_ts_offset()
759 API: gst_base_sink_get_ts_offset()
761 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
763 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
764 (gst_base_sink_init), (gst_base_sink_set_sync),
765 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
766 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
767 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
768 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
769 (gst_base_sink_get_property), (gst_base_sink_change_state):
770 * libs/gst/base/gstbasesink.h:
771 Add async property to instruct the sink never to inform the parent about
772 ASYNC state changes, update docs.
773 Check argument with g_return_* for the public functions.
774 API: GstBaseSink::async property
775 API: gst_base_sink_set_async_enabled()
776 API: gst_base_sink_is_async_enabled()
778 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
780 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
783 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
784 (gst_base_src_default_query), (gst_base_src_wait),
785 (gst_base_src_do_sync), (gst_base_src_change_state):
786 Rearrange some code so that we can add support for measuring the
789 2007-08-27 Stefan Kost <ensonic@users.sf.net>
791 * docs/random/ensonic/dynlink.txt:
792 More thoughs on this.
794 * plugins/elements/gstcapsfilter.c:
795 Add bugzilla ticket number to FIXME comment.
797 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
799 * docs/design/part-TODO.txt:
800 * docs/design/part-block.txt:
803 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
806 Revert patch which uses $(gst_headers) instead of $^ because it
809 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
811 * tests/check/gst/gstbin.c: (GST_START_TEST):
812 Fix leaks in the new unit test.
814 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
817 Don't use GST_INFO before the debug system is actually initialised
818 (shouldn't do any harm, but won't print anything either, so we can
819 just as well remove it).
822 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
823 compilers that don't support variadic macros (such as MSVC), should
824 check for debug_level <= __gst_debug_min as well, since that's the
825 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
826 inline helper functions. Should improve performance a bit, but also
827 makes sure uses of GST_INFO et.al are ignored if the debugging
828 system isn't initialised yet (instead of printing an assertion
831 2007-08-23 Stefan Kost <ensonic@users.sf.net>
833 patch by: David Nečas <yeti@physics.muni.cz>
836 Replace some non portable makefile constructs.
838 2007-08-21 Stefan Kost <ensonic@users.sf.net>
840 * common/gtk-doc-plugins.mak:
841 Grrrrr. Don't remove the types file on make clean.
843 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
845 * tools/gst-launch.1.in:
846 Add colorspace to example pipeline. Fixes #458274.
848 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
850 * docs/random/release:
851 The release manager should run 'make download-po' before making a
852 release to make sure translations are up-to-date.
858 Add some new translations.
860 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
862 * tools/gst-launch.c: (event_loop), (main):
863 Don´t try to do any state management when a live pipeline posts
865 Also make the buffering string translatable.
867 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
869 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
870 (bin_handle_async_start), (gst_bin_handle_message_func):
872 When adding elements, insert messages into the bus of the newly added
873 element and make sure the element is the source of the message. This
874 allows the parent bin to intercept the message and do the
875 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
876 messages to the app (which is not allowed).
879 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
880 Fix testsuite so that is does not work around messages that should not
881 have been posted in the first place.
883 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
885 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
886 (update_degree), (gst_bin_sort_iterator_next):
887 Fix annoying bug in the sorted iterator where a sink that is not really
888 a sink (when it has downstream links) screwed up the iterator.
890 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
891 Unit test to verify the fix.
893 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
896 Add some more docs for the messages.
898 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
899 (gst_base_sink_query):
900 Add some more debugging.
902 * tools/gst-launch.c: (event_loop):
903 When interrupting, don't try to set pipeline to PAUSED twice.
905 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
908 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
909 (bin_handle_async_start), (gst_bin_handle_message_func):
910 Move ASYNC_START message posting to where it belongs, similar to
912 Don't post ASYNC_START when we are in error.
913 Post ASYNC_START when we added an async element to a bin.
915 2007-08-14 Julien MOUTTE <julien@moutte.net>
917 * gst/gstindex.c: (gst_index_add_association): Fix index entry
918 generation from vargs. Fixes #466595.
920 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
922 * gst/gstbin.c: (gst_bin_element_set_state):
923 Always change the state of a NO_PREROLL element even if it has ASYNC
924 elements inside (in case of a bin).
926 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
927 Unit test for this case.
929 2007-08-13 Stefan Kost <ensonic@users.sf.net>
931 * libs/gst/check/gstbufferstraw.c:
932 * libs/gst/check/gstcheck.h:
933 * libs/gst/controller/gstcontroller.c:
934 * libs/gst/controller/gstcontrolsource.h:
935 * libs/gst/controller/gstlfocontrolsource.h:
936 * plugins/elements/gstcapsfilter.h:
937 * plugins/elements/gstfdsink.h:
938 * plugins/elements/gstfdsrc.h:
939 Add more missing docs.
941 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
943 * gst/gststructure.c:
944 Add Since tag to docs.
946 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
948 * docs/gst/gstreamer-sections.txt:
949 * gst/gststructure.c: (gst_structure_get_uint):
950 * gst/gststructure.h:
951 Add function to get uint from a structure.
952 API: gst_structure_get_uint()
954 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
956 * gst/gstcaps.c: (gst_caps_set_simple_valist),
957 (gst_caps_intersect):
958 Fix proper check for simple caps.
960 2007-08-10 Stefan Kost <ensonic@users.sf.net>
962 * docs/gst/Makefile.am:
963 * docs/libs/Makefile.am:
964 Remove cruft and do some cleanups.
966 * docs/gst/gstreamer-docs.sgml:
967 * docs/libs/gstreamer-libs-docs.sgml:
968 Prepare for comming gtkdoc features (rebase against online docs).
970 2007-08-10 Michael Smith <msmith@fluendo.com>
972 * docs/gst/gstreamer-sections.txt:
973 Add gst_registry_add_path to docs.
975 2007-08-10 Michael Smith <msmith@fluendo.com>
978 Add gst_registry_add_path, which was missing from this header.
980 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
982 * libs/gst/controller/gstlfocontrolsource.c:
985 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
987 * libs/gst/base/gstbasesink.c:
988 Don't send an async_start message during downwards state change if
989 target state is less than READY
991 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
993 translated by: Gabor Kelemen <kelemeng@gnome.hu>
997 Added Hungarian translation.
999 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1006 Updated translations.
1008 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1010 * libs/gst/controller/Makefile.am:
1011 Dist gstlfocontrolsourceprivate.h
1013 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1015 * docs/libs/gstreamer-libs.types:
1016 Don't register the enum type gst_lfo_waveform_get_type() in the
1017 .types file - only GObject derived types belong.
1019 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1021 Patch by: <arenevier at fdn dot fr>
1024 Remove comma from last element in enum to avoid compile errors when
1025 using -pendantic. Fixes #464366.
1027 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1029 * docs/design/part-TODO.txt:
1030 Add some more TODO items
1032 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1035 * gst/gstcaps.c: (gst_caps_intersect):
1036 Optimize trivial intersection case between identical caps pointers.
1038 * gst/gstelement.c: (gst_element_continue_state),
1039 (gst_element_set_state_func):
1041 Fix spelling and grammar mistakes.
1043 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1047 Update POTFILES. Fixes #461599.
1049 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1052 Fix confusing typo in debug output.
1054 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1056 reviewed by: Stefan Kost <ensonic@users.sf.net>
1058 * libs/gst/controller/Makefile.am:
1059 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1060 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1061 (gst_lfo_control_source_new),
1062 (gst_lfo_control_source_set_waveform),
1063 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1064 (gst_lfo_control_source_finalize),
1065 (gst_lfo_control_source_dispose),
1066 (gst_lfo_control_source_set_property),
1067 (gst_lfo_control_source_get_property),
1068 (gst_lfo_control_source_class_init):
1069 * libs/gst/controller/gstlfocontrolsource.h:
1070 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1071 API: Add GstLFOControlSource, a control source that gives values
1072 for specific timestamps based on several periodic waveforms.
1075 * tests/check/libs/controller.c: (GST_START_TEST),
1076 (gst_controller_suite):
1077 * docs/libs/gstreamer-libs-docs.sgml:
1078 * docs/libs/gstreamer-libs-sections.txt:
1079 * docs/libs/gstreamer-libs.types:
1080 Add documentation and unit tests for GstLFOControlSource.
1082 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1087 === release 0.10.14 ===
1089 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1092 releasing 0.10.14, "Breathing Vacuum"
1094 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1096 * gst/gstelement.c: (gst_element_class_set_details_simple):
1098 Make strings passed to gst_element_class_set_details_simple()
1099 constant, as they should be (#462752).
1101 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1103 * gst/gstbin.c: (gst_bin_change_state_func),
1104 (bin_handle_async_done), (gst_bin_handle_message_func):
1105 Don't forget about the fact that some element went ASYNC even after a
1106 resync. This makes us post the ASYNC_DONE message correctly.
1109 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1111 * gst/gstregistry.c: (gst_registry_add_feature):
1112 When replacing an existing feature in the registry, make sure to
1113 continue holding a reference until we've replaced the name string
1114 within our feature hash table. Make sure to use g_hash_table_replace
1115 instead of g_hash_table_insert to ensure the new name string is used
1116 as a key instead of the old one that we're about to free.
1119 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1121 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1122 (gst_plugin_feature_set_name):
1123 Revert patch from #459466 until after the release and we can work
1124 out exactly what the problem is (if any).
1126 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1128 * docs/gst/gstreamer-sections.txt:
1131 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1133 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1135 * docs/libs/Makefile.am:
1136 Include our build-prefix libs and includes before the generic ones to
1137 avoid linking against the installed libs when we want the build-tree
1140 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1142 Patch by: Steve Fink <sphink gmail com>
1144 * docs/pwg/building-testapp.xml:
1145 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1146 if people try to build or install the example from the plugin
1147 template against a GStreamer from package using the configure
1150 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1152 Patch by: Steve Fink <sphink gmail com>
1154 * tools/gst-inspect.1.in:
1155 Document --print-all and --print-plugin-auto-install-info command
1156 line options in man page.
1158 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1160 * docs/gst/gstreamer-sections.txt:
1161 Add docs for new api function.
1163 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1165 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1166 * gst/gstelementfactory.h:
1167 API: gst_element_factory_has_interface()
1168 Added method to check if an element factory implements a named
1171 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1174 * docs/gst/gstreamer.types.in:
1175 Another conditional doc check.
1178 * gst/gstparamspecs.h:
1179 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1184 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1186 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1187 (gst_registry_binary_load_feature),
1188 (gst_registry_binary_load_plugin),
1189 (gst_registry_binary_read_cache):
1190 Print error just once and with additional info.
1192 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1194 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1195 (helper_find_suggest), (helper_find_get_length),
1196 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1197 (gst_type_find_helper_for_buffer):
1198 Cleanup the typefindhelper code and add private doc comments.
1200 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1202 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1203 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1204 Fix capsfilter for cases where the caps set on capsfilter will provide
1205 additional information.
1208 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1210 * gst/gsttypefindfactory.c:
1211 Fix docs that recommened wrong function to use.
1213 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1215 * tools/gst-inspect.c: (print_plugin_features):
1216 Also give media-type for typefinders in element output.
1218 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1220 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1221 (gst_registry_remove_features_for_plugin_unlocked),
1222 (gst_registry_add_feature), (gst_registry_remove_feature),
1223 (gst_registry_lookup_feature_locked):
1224 * gst/gstregistry.h:
1225 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1228 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1230 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1231 (gst_plugin_feature_set_name):
1232 Avoid double memory usage for pluginfeature names. Fixes #459466.
1234 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1237 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1238 driving the pipeline may need to explicitly check for NOT_LINKED as
1239 well, since IS_FATAL doesn't cover that.
1241 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1243 * docs/pwg/advanced-types.xml:
1244 Fix typo and duplicate entry in video formats list.
1246 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1248 * libs/gst/controller/gstinterpolation.c:
1249 Also round to the nearest int when using cubic interpolation.
1251 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1253 * libs/gst/controller/gstinterpolation.c:
1254 When linearly interpolating integer types, round to the nearest int
1255 by adding 0.5. Don't do it for float/double types.
1256 Fixes the failing controller test on my machine, which is somehow
1257 rounding differently than on the buildbots.
1259 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1261 * tools/gst-plot-timeline.py:
1262 Better log parsing (categories can have -). Adjust text vs. lines, so
1263 that they span the same y-range.
1265 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1267 * docs/random/ensonic/audiobaseclasses.txt:
1268 * docs/random/ensonic/dynlink.txt:
1269 * docs/random/ensonic/profiling.txt:
1272 * docs/random/moving-plugins:
1273 Add note to use g_assert type macros.
1275 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1278 * libs/gst/check/Makefile.am:
1279 Add libm check as we use in for plugins.
1281 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1283 * gst/gstbin.c: (gst_bin_continue_func):
1284 Check that the state_cookie hasn't changed since the continue_func
1285 was scheduled. Avoids problems where the state changes back to
1286 something it shouldn't be because it was changed in the meantime.
1288 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1290 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1291 (gst_registry_binary_save_string),
1292 (gst_registry_binary_save_pad_template),
1293 (gst_registry_binary_save_feature),
1294 (gst_registry_binary_save_plugin),
1295 (gst_registry_binary_load_feature),
1296 (gst_registry_binary_load_plugin),
1297 (gst_registry_binary_read_cache):
1298 Fix memory leak. Be less verbose in the log.
1300 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1302 * tests/check/elements/.cvsignore:
1303 Add file to cvsignore as commanded.
1305 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1307 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1308 (mq_dummypad_event), (run_output_order_test):
1309 Use a GStaticMutex to protect all cases where libcheck
1310 fail_if/fail_unless macros might be called from multiple threads
1311 simultaneously to avoid errors like:
1312 "check_pack.c:107: :-1081725400:Bad message type arg"
1314 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1316 * tests/check/pipelines/stress.c: (GST_START_TEST):
1317 Make sure we set the pipeline back to the NULL state before
1318 dropping our final reference.
1320 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1322 * tests/check/elements/tee.c: (GST_START_TEST):
1323 Make the tee stress-test a little less stressful so it doesn't just
1324 time out on slow-machines, and remove a small race when it's starting
1325 up by adding a get_state() call.
1327 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1330 Avoid reading registry twice on startup. Fixes #457322.
1332 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1334 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1335 * pkgconfig/gstreamer-check.pc.in:
1336 Substitute the CFLAGS for libcheck into our .pc file too so that
1337 dependent modules will pick it up properly if libcheck is installed
1338 into some other prefix.
1340 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1343 Revert the pkg-config check for libcheck, since it pulls in the
1344 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1345 a proper solution, either from the check project, or something else.
1347 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1350 Use pkg-config to locate check.
1352 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1359 Add deprecation guards.
1361 * libs/gst/base/gstcollectpads.h:
1362 Don't document object (this is implicitly private).
1364 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1366 * gst/gststructure.c: (gst_structure_parse_value):
1367 When deserialising foo=bar without a type cast, check if it's a
1368 boolean before falling back to a string type, otherwise things like
1369 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1370 because the filtercaps end up having a signed=(string)true field,
1371 which causes problems later when intersection caps.
1373 * tests/check/gst/gststructure.c: (GST_START_TEST):
1374 Add a unit test for this.
1376 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1378 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1380 * libs/gst/controller/Makefile.am:
1381 * libs/gst/controller/gstcontroller.c:
1382 (gst_controlled_property_add_interpolation_control_source),
1383 (gst_controlled_property_new), (gst_controlled_property_free),
1384 (gst_controller_find_controlled_property),
1385 (gst_controller_new_valist), (gst_controller_new_list),
1386 (gst_controller_new), (gst_controller_remove_properties_valist),
1387 (gst_controller_remove_properties_list),
1388 (gst_controller_remove_properties),
1389 (gst_controller_set_property_disabled),
1390 (gst_controller_set_disabled), (gst_controller_set_control_source),
1391 (gst_controller_get_control_source), (gst_controller_get),
1392 (gst_controller_sync_values), (gst_controller_get_value_array),
1393 (_gst_controller_dispose), (gst_controller_get_type),
1394 (gst_controlled_property_set_interpolation_mode),
1395 (gst_controller_set), (gst_controller_set_from_list),
1396 (gst_controller_unset), (gst_controller_unset_all),
1397 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1398 * libs/gst/controller/gstcontroller.h:
1399 * libs/gst/controller/gstcontrollerprivate.h:
1400 * libs/gst/controller/gstcontrolsource.c:
1401 (gst_control_source_class_init), (gst_control_source_init),
1402 (gst_control_source_get_value),
1403 (gst_control_source_get_value_array), (gst_control_source_bind):
1404 * libs/gst/controller/gstcontrolsource.h:
1405 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1406 (gst_object_get_control_source):
1407 * libs/gst/controller/gstinterpolation.c:
1408 (gst_interpolation_control_source_find_control_point_node),
1409 (gst_interpolation_control_source_get_first_value),
1410 (_interpolate_none_get), (interpolate_none_get),
1411 (interpolate_none_get_boolean_value_array),
1412 (interpolate_none_get_enum_value_array),
1413 (interpolate_none_get_string_value_array),
1414 (_interpolate_trigger_get), (interpolate_trigger_get),
1415 (interpolate_trigger_get_boolean_value_array),
1416 (interpolate_trigger_get_enum_value_array),
1417 (interpolate_trigger_get_string_value_array):
1418 * libs/gst/controller/gstinterpolationcontrolsource.c:
1419 (gst_control_point_free), (gst_interpolation_control_source_reset),
1420 (gst_interpolation_control_source_new),
1421 (gst_interpolation_control_source_set_interpolation_mode),
1422 (gst_interpolation_control_source_bind),
1423 (gst_control_point_compare), (gst_control_point_find),
1424 (gst_interpolation_control_source_set_internal),
1425 (gst_interpolation_control_source_set),
1426 (gst_interpolation_control_source_set_from_list),
1427 (gst_interpolation_control_source_unset),
1428 (gst_interpolation_control_source_unset_all),
1429 (gst_interpolation_control_source_get_all),
1430 (gst_interpolation_control_source_get_count),
1431 (gst_interpolation_control_source_init),
1432 (gst_interpolation_control_source_finalize),
1433 (gst_interpolation_control_source_dispose),
1434 (gst_interpolation_control_source_class_init):
1435 * libs/gst/controller/gstinterpolationcontrolsource.h:
1436 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1437 API: Refactor GstController into the core controller which can take
1438 a GstControlSource for providing actual values for timestamps.
1439 Implement a interpolation control source and use this for backward
1440 compatibility, deprecate a bunch of functions that are now handled
1441 by GstControlSource or GstInterpolationControlSource.
1442 Make it possible to disable the controller completely or only for
1443 specific properties. Fixes #450711.
1444 * docs/libs/gstreamer-libs-docs.sgml:
1445 * docs/libs/gstreamer-libs-sections.txt:
1446 * docs/libs/gstreamer-libs.types:
1447 Add new functions and classes to the docs.
1448 * tests/check/libs/controller.c: (GST_START_TEST),
1449 (gst_controller_suite):
1450 * tests/examples/controller/audio-example.c: (main):
1451 Port unit test and example to the new API and add some new
1454 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1456 Patch by: Mark Nauwelaerts <manauw at skynet be>
1458 * plugins/elements/gstmultiqueue.c:
1459 (gst_multi_queue_get_internal_links), (apply_buffer),
1460 (single_queue_overrun_cb), (gst_single_queue_new):
1461 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1462 the pipeline layout can be tracked correctly. Fixes #453732.
1464 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1466 * docs/gst/Makefile.am:
1467 * docs/libs/Makefile.am:
1468 * docs/plugins/Makefile.am:
1469 Simplify --extra-dir as gtkdoc scans recursively.
1471 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1473 * tools/gst-launch.c: (main):
1474 When we got an error, there is no point in waiting for preroll when
1477 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1479 * plugins/elements/gsttee.c: (gst_tee_base_init),
1480 (gst_tee_request_new_pad), (gst_tee_release_pad),
1481 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1482 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1484 Be a lot smarter when deciding what srcpad to use for proxying
1485 the buffer_alloc. Also handle pad added/removed when doing so.
1487 Keep track of what pads we already pushed on in case we have pads
1488 added/removed while pushing. Fixes #374639
1490 * tests/check/Makefile.am:
1491 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1493 Added unit test for pad resync.
1495 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1499 Updated translations.
1501 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1503 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1507 Added new Finnish translation.
1509 2007-06-28 Wim Taymans <wim@fluendo.com>
1511 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1512 (single_queue_overrun_cb):
1513 When figuring out when a queue is filled, use our internal time estimate
1514 based on segments, just like check_full does.
1516 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1518 * gst/gstminiobject.c: (gst_mini_object_get_type):
1519 Remove 3 do-nothing methods.
1521 2007-06-27 Wim Taymans <wim@fluendo.com>
1523 Patch by: Tim Angus <tim at ngus dot net>
1525 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1526 (gst_capsfilter_set_property):
1527 Take a reference instead of a copy when setting "caps".
1528 Fix documentation to clarify this behaviour. Fixes #449414.
1530 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1532 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1533 * gst/gstplugin.c: (gst_plugin_init):
1534 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1535 * gst/gstquery.c: (gst_query_get_type):
1536 * gst/gstregistry.c: (gst_registry_init):
1537 * gst/gsturi.c: (gst_uri_handler_base_init):
1538 Remove empty instance_init() functions to save relocs and lessen the
1539 noise. Remove some of the function prototypes that are doubled by
1542 2007-06-27 Wim Taymans <wim@fluendo.com>
1544 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1546 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1547 Add peer and direction in the XML serialisation of ghostpads.
1550 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1553 Preserve useful information, thanks Tim.
1555 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1557 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1558 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1559 (gst_single_queue_push_one), (gst_multi_queue_loop),
1560 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1561 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1562 (compute_high_id), (gst_single_queue_new):
1563 * plugins/elements/gstmultiqueue.h:
1564 Take the multiqueue lock when updating the fill level so we don't get
1567 After applying a buffer or event on the src pad segment, make sure to
1568 call gst_data_queue_limits_changed() to get the data queue to unblock
1569 and check the filled state again.
1571 Rework the not-linked pad handling so the logic is that not-linked
1572 pads can push as fast as they like, but only so they never get
1573 ahead of any linked pads.
1575 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1576 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1577 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1579 Add a test to check that not-linked pads always stay behind
1584 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1586 * docs/random/release:
1587 Some updates to the release procedure.
1589 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1591 * gst/gstelementfactory.c: (__gst_element_details_clear):
1592 Microoptimization that saves stunning 80 bytes.
1594 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1596 * docs/plugins/gstreamer-plugins.args:
1597 * docs/plugins/inspect/plugin-coreelements.xml:
1598 * docs/plugins/inspect/plugin-coreindexers.xml:
1599 Update docs with caps info.
1601 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1604 Updated Italian translation.
1606 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1610 Update Vietnamese translations.
1612 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1614 * libs/gst/base/gstbasesink.c:
1615 Remove unused signal enum.
1617 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1619 * docs/gst/gstreamer-sections.txt:
1621 * gst/gstutils.c: (gst_type_register_static_full):
1622 Beef up and include the docs for gst_type_register_static_full and
1623 gst_element_class_set_details_simple and add the API keyword
1626 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1628 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1629 (update_time_level), (gst_single_queue_push_one),
1630 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1631 (single_queue_overrun_cb), (single_queue_underrun_cb),
1632 (single_queue_check_full):
1633 Fix setting max-* properties after adding queues.
1634 Use IS_FILLED for checking visible items.
1635 Signal overrun if multiple queues overrun.
1636 Add extra debug output.
1637 Patch by: Wim Taymans <wim@fluendo.com>
1639 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1641 * gst/gstelement.c: (gst_element_class_set_details_simple):
1643 * gst/gstutils.c: (gst_type_register_static_full):
1645 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1646 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1647 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1648 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1649 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1650 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1651 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1652 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1653 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1654 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1655 (apply_buffer), (gst_queue_chain):
1656 * plugins/elements/gsttee.c: (gst_tee_base_init):
1657 * plugins/elements/gsttypefindelement.c:
1658 (gst_type_find_element_base_init),
1659 (gst_type_find_element_class_init):
1660 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1661 API: add gst_type_register_static_full
1662 API: add gst_element_class_set_details_simple
1664 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1666 * docs/pwg/advanced-types.xml:
1667 Fix typo in iana.org URI.
1669 2007-06-19 Andy Wingo <wingo@pobox.com>
1671 * tests/check/pipelines/simple-launch-lines.c
1672 (test_state_change_returns): Enable pull-mode tests now that
1673 basesink has been fixed.
1675 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1676 Changed from gst_base_sink_is_prerolled, reversing the sense of
1677 the return value. Returns FALSE also if the sink is in pull mode,
1678 in which case it needs no preroll.
1679 (gst_base_sink_query, gst_base_sink_change_state): Update for
1680 needs_preroll change.
1681 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1682 chaining up, in which we return SUCCESS directly if we activated
1683 in pull mode instead of ASYNC. Involves countering an async_start
1684 message sent before chaining up; not sure if this is correct, in
1685 an ideal world we only send async-start when activating in push
1688 * tests/check/pipelines/simple-launch-lines.c
1689 (test_state_change_returns): New test, partially disabled until
1692 2007-06-19 Wim Taymans <wim@fluendo.com>
1694 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1695 (gst_multi_queue_sink_event):
1698 2007-06-19 Wim Taymans <wim@fluendo.com>
1700 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1701 (gst_bin_change_state_func), (bin_push_state_continue),
1702 (bin_handle_async_start), (bin_handle_async_done),
1703 (gst_bin_handle_message_func):
1704 Move the common code for posting state-change messages into
1706 Broadcast the state signal after we posted the messages.
1707 Mark the bin as busy when it's doing a state-change.
1708 Make sure async-start/done messages don't interfere with the bin's
1709 state when it's busy.
1710 After the state change, let the bin check which elements completed the
1711 state change while it was busy so that it can update its state.
1713 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1715 * docs/random/release:
1716 Add a note about updating the doap file to the release checklist
1718 2007-06-18 Wim Taymans <wim@fluendo.com>
1720 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1721 (gst_single_queue_push_one), (gst_multi_queue_chain),
1722 (gst_multi_queue_sink_event):
1723 Make sure we don't reference the buffer/event after we have given away
1724 ownership in the queue.
1726 2007-06-18 Wim Taymans <wim@fluendo.com>
1728 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1729 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1730 Update queue state _after_ adding the item in the queue because else we
1731 could end up being full without the element added yet.
1733 2007-06-18 Wim Taymans <wim@fluendo.com>
1735 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1736 (gst_bin_remove_func), (gst_bin_get_state_func),
1737 (gst_bin_element_set_state), (gst_bin_continue_func),
1738 (bin_push_state_continue), (bin_handle_async_start),
1739 (bin_handle_async_done), (gst_bin_handle_message_func):
1741 Immediatly commit the toplevel bin state when receiving an async-done
1742 message. This enables us to avoid spawning a thread to commit the state
1743 in some common cases and it also avoids some races.
1744 Avoid spawning a state thread when adding/removing async elements to a
1745 toplevel bin. Instead we immediatly update the bin state.
1746 Get rid of iterating all the children when getting the state in the bin
1747 because it is now always up-to-date.
1748 Fix bug where locked elements would always return _SUCCESS even it they
1749 returned NO_PREROLL before being locked.
1750 Fix the order of the state_change, async-start/done messages that was
1751 sometimes incorrect.
1752 Mark the state_dirty field as deprecated, we don't need it anymore as we
1753 are always up-to-date.
1755 * gst/gstelement.c: (gst_element_get_state_func),
1756 (gst_element_continue_state):
1757 Small debug inprovements.
1758 Return the previous element state return when nothing is pending instead
1759 of blindly returning SUCCESS.
1761 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1763 Add a whole bunch of new testcases.
1765 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1769 Update translations.
1771 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1774 Fix typo in the docs.
1776 2007-06-15 Wim Taymans <wim@fluendo.com>
1778 * docs/libs/gstreamer-libs-sections.txt:
1779 Add docs for new methods.
1781 2007-06-15 Wim Taymans <wim@fluendo.com>
1783 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1784 (gst_multi_queue_item_new):
1785 Don't use GSlice because we don't depend on >= 2.10 yet.
1787 2007-06-15 Wim Taymans <wim@fluendo.com>
1789 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1790 (update_time_level), (apply_segment), (apply_buffer),
1791 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1792 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1793 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1794 (single_queue_underrun_cb), (single_queue_check_full):
1795 Remove debug printf.
1797 2007-06-15 Wim Taymans <wim@fluendo.com>
1799 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1800 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1801 (gst_data_queue_set_flushing), (gst_data_queue_push),
1802 (gst_data_queue_pop), (gst_data_queue_drop_head),
1803 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1804 * libs/gst/base/gstdataqueue.h:
1806 Added methods to get the current levels and to inform the queue that the
1807 'full' limits changed.
1809 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1810 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1811 (gst_single_queue_flush), (update_time_level), (apply_segment),
1812 (apply_buffer), (gst_single_queue_push_one),
1813 (gst_multi_queue_item_steal_object),
1814 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1815 (gst_multi_queue_loop), (gst_multi_queue_chain),
1816 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1817 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1818 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1819 (single_queue_underrun_cb), (single_queue_check_full),
1820 (gst_single_queue_new):
1821 Keep track of time in the queue by measuring the difference between
1822 running_time on input and output. This gives more accurate results and
1823 can compensate for segments correctly.
1824 Make a queue by default only 5 buffers deep. We will now increase the
1825 buffer size depending on the filledness of the other queues.
1826 Factor out commong flush code.
1827 Make sure we don't add additional refcounts to buffers when we can avoid
1829 Propagate GstFlowReturn differently.
1830 Use GSlice for intermediate GstMultiQueueItems.
1832 Resize queues on over and underruns based on filled level of other
1834 When checking if the queue is filled, prefer to measure in time if we
1835 can and fall back to bytes when no time is known.
1837 * plugins/elements/gstqueue.c:
1840 2007-06-15 Wim Taymans <wim@fluendo.com>
1842 * libs/gst/base/gstbasetransform.c:
1843 (gst_base_transform_sink_event):
1844 Work around the brokenness of the event vmethod in basetransform. Prefer
1845 to return TRUE when the subclass returned FALSE (meaning don't forward
1848 * libs/gst/base/gstbasetransform.h:
1851 2007-06-15 Wim Taymans <wim@fluendo.com>
1853 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1854 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1855 (gst_base_src_default_query), (gst_base_src_get_range),
1856 (gst_base_src_start):
1857 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1860 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1862 * docs/pwg/advanced-types.xml:
1863 Added more formats to caps table.
1865 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1867 * tools/gst-launch.c: (main):
1868 Remove crufy code. GOption does not need this workaround.
1870 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1872 * libs/gst/controller/gstcontroller.c:
1873 (gst_controlled_property_set_interpolation_mode):
1874 Fix wrong getter for enums in controller.
1876 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1878 * libs/gst/check/gstcheck.c: (gst_check_init):
1879 Intercept criticals and warnings in the Gst-Phonon log domain, so
1880 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1883 2007-06-14 Edward Hervey <edward@fluendo.com>
1885 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1886 Since this file doesn't include "gst.h" it will not go through the
1887 macros that disable GST_LOG if debugging was disabled.
1889 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1891 * libs/gst/check/Makefile.am:
1892 * libs/gst/check/gstcheck.h:
1893 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1894 * pkgconfig/gstreamer-check.pc.in:
1895 Ugly 'fix' for the controller unit test on the p5 bot: in
1896 fail_unless_equals_float() check whether the values are 'almost
1897 equal' by allowing a small absolute error, which should be good
1898 enough for our use cases (normal numbers and values close to 0).
1899 Proper fixage left to floating point arithmetic aficionados.
1901 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1903 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1904 (gst_base_sink_render_object), (gst_base_sink_get_position):
1905 Add two breaks thats where missing.
1907 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1909 * docs/libs/gstreamer-libs-sections.txt:
1910 * libs/gst/check/gstcheck.h:
1911 API: add fail_unless_equals_float() and assert_equals_float().
1912 Add documentation for some of the macros.
1914 * tests/check/libs/controller.c: (GST_START_TEST):
1915 Use newly-added asserts.
1917 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1919 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1920 Show the caps change in the log to help spotting the case of not
1921 exactly matching caps.
1923 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1925 * docs/pwg/building-boiler.xml:
1926 Fix typos, spotted by Thijs Vermeir (#447190).
1928 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1930 * docs/plugins/tmpl/.cvsignore:
1931 Ignore file to keep the buildbots happy
1933 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1935 * docs/plugins/Makefile.am:
1936 * docs/plugins/gstreamer-plugins-docs.sgml:
1937 * docs/plugins/gstreamer-plugins-sections.txt:
1938 Pull fdsink into the docs too.
1940 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1942 * libs/gst/controller/gstinterpolation.c:
1943 Actually use the new functions with min/max checks for the trigger and
1944 none interpolation modes for get() and get_value_array() instead of
1947 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1949 * libs/gst/controller/gstcontroller.c:
1950 (gst_controlled_property_free):
1951 Unset the minimum and maximum GValues when freeing the corresponding
1952 GstControllerProperty struct.
1954 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1956 * libs/gst/controller/gstcontroller.c:
1957 (gst_controlled_property_new):
1958 * libs/gst/controller/gstcontrollerprivate.h:
1959 * libs/gst/controller/gstinterpolation.c:
1960 (gst_controlled_property_find_control_point_node),
1961 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1962 (interpolate_none_get_string_value_array),
1963 (interpolate_trigger_get),
1964 (interpolate_trigger_get_enum_value_array),
1965 (interpolate_trigger_get_string_value_array):
1966 Protect against values larger or smaller than the minimum or maximum
1967 allowed value for the property when using values that can be compared.
1969 Optimize trigger interpolator a bit by taking the last requested value
1970 into account instead of always looping through the complete list.
1972 Fix coding style a bit, everywhere else we use "return foo" instead
1975 * tests/check/libs/controller.c: (GST_START_TEST),
1976 (gst_controller_suite):
1977 Add unit test for the protection against too large or too small
1980 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1982 * docs/random/slomo/controller.txt:
1983 Add some thoughts about the future of the controller.
1985 2007-06-08 Wim Taymans <wim@fluendo.com>
1987 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1988 Don't overflow in retimestamping code.
1990 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1992 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1993 Use gst_util_guint64_to_gdouble for conversions.
1994 * win32/common/libgstreamer.def:
1995 Add new exported functions.
1997 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2000 Small docs addition.
2002 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2005 Remove that test line again.
2007 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2010 Test commit mail sending.
2012 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2015 Fix typo and test commit mail sending.
2017 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2019 * tests/examples/controller/audio-example.c:
2020 Improve comment and test commit mail sending.
2022 2007-06-07 Wim Taymans <wim@fluendo.com>
2024 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2025 (gst_bin_remove_func), (gst_bin_element_set_state),
2026 (bin_handle_async_start), (bin_handle_async_done),
2027 (gst_bin_handle_message_func):
2028 Add helper function to find messages.
2029 Generate the async-done messages together with the state change
2031 Small cleanups in handling toplevel bins.
2033 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2035 * libs/gst/base/gstdataqueue.c:
2036 * libs/gst/base/gstdataqueue.h:
2037 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2038 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2039 (gst_multi_queue_sink_event):
2040 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2041 Fix multiqueue leaking buffers and events when downstream or the
2042 queue are flushing. Make refcounting assumptions explicit and
2043 document them (shouldn't break existing code that uses it other than
2044 maybe leak miniobjects, but that already happens anyway). Add unit
2045 test for the most common flushing case. Fixes #423700.
2047 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2049 * libs/gst/controller/gstcontroller.c:
2050 Clarify docs: The get_all, get_value_array(s) functions
2051 don't modify the GObject properties.
2053 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2055 * libs/gst/controller/gstcontroller.c:
2056 (gst_controlled_property_set_interpolation_mode),
2057 (gst_controlled_property_prepend_default),
2058 (gst_controlled_property_new), (gst_controller_set_unlocked),
2059 (gst_controller_set), (gst_controller_set_from_list),
2060 (gst_controller_unset), (gst_controller_unset_all):
2061 * libs/gst/controller/gstcontrollerprivate.h:
2062 * libs/gst/controller/gstinterpolation.c:
2063 Factor out the 'set' logic into gst_controller_set_unlocked for the
2064 gst_controller_set and gst_controller_set_from_list functions.
2066 To make life of the interpolators easier always add a control point
2067 at timestamp zero with the default value.
2069 In the linear interpolator make things more obvious by better variable
2072 Implement cubic interpolation mode (by using a natural cubic spline)
2073 and map the quadratic interpolation mode to this too (as quadratic
2074 doesn't make much sense, see discussion on the list).
2076 * tests/check/libs/controller.c: (GST_START_TEST),
2077 (gst_controller_suite):
2078 Add unit test for the cubic interpolation mode and check everywhere
2079 if the interpolation mode could be set as expected.
2081 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2083 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2084 Don't use GLib-2.10 functions, we still depend on
2085 GLib-how-old-is-it-again-2.8.
2087 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2089 * docs/gst/gstreamer-sections.txt:
2093 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2094 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2095 (_gst_param_fraction_values_cmp),
2096 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2097 * gst/gstparamspecs.h:
2099 * tests/check/Makefile.am:
2100 * tests/check/gst/.cvsignore:
2101 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2102 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2103 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2104 (GST_START_TEST), (gst_param_spec_suite):
2105 API: add GstParamSpecFraction, so elements can have fraction
2106 properties without lots of painful string parsing (#444648).
2108 2007-06-05 Wim Taymans <wim@fluendo.com>
2110 * gst/gstobject.c: (gst_object_class_init):
2111 Fix signal signature.
2114 Add small clarification in the api docs.
2116 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2117 States are protected with object lock.
2119 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2122 I should probably be listed as an author by now.
2124 * docs/random/release:
2125 Update the release doc
2127 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2130 Make docs for gst_value_compare() mention return enums that
2133 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2138 === release 0.10.13 ===
2140 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2143 releasing 0.10.13, "With or without you"
2145 2007-05-25 Wim Taymans <wim@fluendo.com>
2147 * gst/gstbin.c: (bin_handle_async_done):
2148 Make sure that the child bin stops after completing the async state
2149 change so that the parent can continue the state change to PLAYING.
2152 2007-05-25 Wim Taymans <wim@fluendo.com>
2154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2155 (unref_data), (gst_collect_pads_remove_pad),
2156 (gst_collect_pads_check_pads):
2157 Use additional refcounting to avoid crashes when dynamically adding and
2158 removing pads. Fixes #420206.
2160 2007-05-24 Wim Taymans <wim@fluendo.com>
2162 * tools/gst-launch.c: (event_loop):
2163 When buffering goes from a two digit to a single digit number, make sure
2164 to remove the old second digit by writing a blank over it.
2166 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2168 * libs/gst/base/gstdataqueue.c:
2169 Eliminate tabs and trailing comma in enum list; fix some typos.
2171 2007-05-24 Wim Taymans <wim@fluendo.com>
2173 * tests/check/gst/gstbin.c: (GST_START_TEST):
2174 Allow refcount of 3 and 4 because some state thread might still be busy
2177 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2179 * plugins/elements/Makefile.am:
2180 * plugins/elements/gstmultiqueue.h:
2181 * plugins/elements/gstqueue.h:
2182 These are not installed headers, no need for padding.
2184 2007-05-24 Wim Taymans <wim@fluendo.com>
2186 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2187 (gst_bin_continue_func):
2188 Enable latency for next release.
2189 Restore STATE_LOCK around recalc_state that was left out during the
2190 rewrite and could result in racy behaviour when _get_state and
2191 recalc_state are run concurrently. See #440463.
2193 2007-05-23 Wim Taymans <wim@fluendo.com>
2195 * tests/check/gst/gstsystemclock.c: (store_callback),
2197 Improve test_async_order to also work when both timers are already
2198 expired when we get scheduled to check it.
2200 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2202 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2203 (gst_bin_set_property), (gst_bin_get_property),
2204 (gst_bin_remove_func), (gst_bin_handle_message_func):
2206 'private' is a c++ keyword, let's not use that in header files,
2207 otherwise c++ compilers will throw a tantrum.
2209 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2211 * plugins/elements/gstelements.c:
2212 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2213 (gst_file_sink_get_current_offset):
2214 * plugins/indexers/gstindexers.c: (plugin_init):
2215 Use #ifdef for HAVE_XYZ for consistency.
2217 * tests/check/Makefile.am:
2218 * tests/check/elements/.cvsignore:
2219 * tests/check/elements/filesink.c: (setup_filesink),
2220 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2221 Add some unit tests for filesink.
2223 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2225 Patch by: Mark Nauwelaerts <manauw at skynet be>
2227 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2228 (gst_file_sink_query), (gst_file_sink_do_seek),
2229 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2230 * plugins/elements/gstfilesink.h:
2231 Fix position reporting; rename data_written member to current_pos to
2232 reflect its real meaning (fixes #412648).
2234 2007-05-22 Edward Hervey <edward@fluendo.com>
2236 * docs/gst/gstreamer-sections.txt:
2237 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2238 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2239 (gst_bin_remove_func), (gst_bin_handle_message_func):
2241 Add a property for bins that handle the state change of their childs.
2244 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2246 * libs/gst/controller/gstinterpolation.c:
2247 Use an array of the correct type when using _get_value_array with
2248 linear interpolation.
2250 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2252 * gst/gstelement.c (gst_element_requires_clock,
2253 gst_element_provides_clock, gst_element_request_pad,
2254 gst_element_class_set_details, gst_element_class_set_details_simple,
2255 gst_element_default_send_event, gst_element_abort_state,
2256 gst_element_continue_state, gst_element_set_state,
2257 gst_element_set_state_func, iterator_activate_fold_with_resync):
2258 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2259 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2260 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2261 gst_pad_get_range, gst_pad_pull_range):
2262 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2263 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2264 GstPadActivateModeFunction, GstPadChainFunction,
2265 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2266 GstPadFixateCapsFunction, GstPadTemplate):
2267 * gst/gstpipeline.c (gst_pipeline_change_state,
2268 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2269 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2270 gst_pipeline_get_delay):
2271 Whitespace and docs fixes.
2273 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2275 * libs/gst/controller/gstinterpolation.c:
2276 (interpolate_trigger_get_enum_value_array),
2277 (interpolate_trigger_get_string_value_array):
2278 Add support for retrieving value arrays when using the trigger
2281 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2283 * libs/gst/controller/gstcontroller.c:
2284 (gst_controller_get_value_array):
2285 * libs/gst/controller/gstcontroller.h:
2286 Clarify the docs of gst_controller_get_value_array(): The array where
2287 the values should be written to must be allocated as there seems to be
2288 no way to get the size of a random GType. This doesn't change any
2289 behaviour. Also fix some typos all over the place and remove an unused,
2290 commented function that is not necessary as g_object_set() could be
2292 * tests/check/libs/controller.c: (GST_START_TEST),
2293 (gst_controller_suite):
2294 Add unit test for gst_controller_get_value_array().
2296 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2298 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2300 Disable part of the gst_buffer_try_new_and_alloc test, because
2301 it can happily succeed on 64-bit systems where there's more address
2304 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2306 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2307 Add unit test for the improved caps checking from bug #421543.
2309 2007-05-21 Wim Taymans <wim@fluendo.com>
2311 * docs/design/part-synchronisation.txt:
2314 * gst/gstbin.c: (gst_bin_query):
2315 * plugins/elements/gstqueue.c: (apply_segment):
2321 2007-05-21 Wim Taymans <wim@fluendo.com>
2323 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2324 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2325 (gst_pad_configure_src):
2326 Added simple version of improved caps checking. It was previously
2327 assumed that a setcaps function would check the validity of the caps but
2328 people prefer us to check caps against the template automatically.
2331 2007-05-21 Wim Taymans <wim@fluendo.com>
2333 * libs/gst/base/gstbasetransform.h:
2334 Fix macro for locking/unlocking the transform lock.
2336 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2338 * docs/plugins/tmpl/.cvsignore:
2341 2007-05-18 Edward Hervey <edward@fluendo.com>
2343 * plugins/elements/gstqueue.c: (gst_queue_loop):
2344 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2345 for the subtle art of warning a potentially blocking thread that it
2346 should check the source pad return value, and relay the information
2349 2007-05-18 Edward Hervey <edward@fluendo.com>
2351 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2352 Release the queue lock !
2354 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2356 * docs/libs/gstreamer-libs-sections.txt:
2357 Add the two new controller functions to the appropiate places.
2359 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2361 reviewed by: Stefan Kost <ensonic@users.sf.net>
2363 * libs/gst/controller/gstcontroller.c:
2364 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2365 (_gst_controller_get_property), (_gst_controller_set_property),
2366 (_gst_controller_init), (_gst_controller_class_init):
2367 * libs/gst/controller/gstcontroller.h:
2368 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2369 (gst_object_get_control_rate), (gst_object_set_control_rate):
2370 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2371 Add API that provides sync suggestion timestamps for elements that
2372 call gst_object_sync_values() from which those elements can subdivide
2373 their processing loop to get the best results for the controlled
2374 properties. For now it just suggests last_sync + control_rate as
2375 new timestamp but this will be improved in the future.
2377 While doing that change the control-rate property to a GstClockTime
2378 from guint and change it's meaning from samples to nanoseconds as
2379 the GstController doesn't know anything about sampling rate. Strictly
2380 speaking this breaks ABI but as the control-rate property didn't do
2381 anything in the past and as such couldn't be used this should be no
2384 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2386 reviewed by: Stefan Kost <ensonic@users.sf.net>
2388 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2389 (gst_controller_unset_all):
2390 * libs/gst/controller/gstcontrollerprivate.h:
2391 * libs/gst/controller/gstinterpolation.c:
2392 (gst_controlled_property_find_control_point_node):
2393 Save last synced value from the list to continue searching from there
2394 in future syncs. This speeds everything up a bit.
2396 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2398 reviewed by: Stefan Kost <ensonic@users.sf.net>
2400 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2401 (gst_control_point_find), (gst_controlled_property_new),
2402 (gst_control_point_free), (gst_controlled_property_free),
2403 (gst_controller_set), (gst_controller_set_from_list),
2404 (gst_controller_unset), (gst_controller_unset_all),
2405 (gst_controller_sync_values):
2406 * libs/gst/controller/gstcontroller.h:
2407 * libs/gst/controller/gstcontrollerprivate.h:
2408 * libs/gst/controller/gstinterpolation.c:
2409 (gst_controlled_property_find_control_point_node),
2410 (interpolate_none_get), (interpolate_trigger_get):
2411 Add a new private GstControlPoint struct which "inherits" from
2412 GstTimedValue to allow different interpolators to store internal
2413 values next to each control point. From the outside everything is
2414 still a GstControlPoint so we don't loose binary compatibility.
2415 Also fixup all the GValue handling to not leak GValues or list nodes.
2416 * tests/check/libs/controller.c: (GST_START_TEST):
2417 Free the list nodes and GValues in the controller_misc test.
2419 2007-05-17 Edward Hervey <edward@fluendo.com>
2424 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2426 * gst/gstplugin.c: (gst_plugin_load_file):
2427 If we fail to load a plugin because of unresolved symbols or missing
2428 libraries and spew a warning to stderr, we may just as well mention
2429 which plugin it was that failed to load.
2431 2007-05-13 David Schleef <ds@schleef.org>
2433 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2434 handles the case when ENABLE_GTK_DOC is false, and installs
2435 the prebuilt documentation. So gtk-doc subdirs are
2436 unconditionally enabled. Fixes: #349099.
2438 2007-05-13 David Schleef <ds@schleef.org>
2440 * gst/gstutils.h: Reword some documentation.
2442 2007-05-12 David Schleef <ds@schleef.org>
2444 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2445 do anything with the passed "module" parameter, so remove it.
2446 Allows removal of additional vestigal code.
2448 2007-05-12 David Schleef <ds@schleef.org>
2451 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2452 Switch to using g_stat() because it's more portable.
2454 2007-05-12 David Schleef <ds@schleef.org>
2457 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2458 parsing for embedded systems.
2459 * gst/gstelementfactory.c:
2460 Allow gst_element_register() to be called with plugin==NULL.
2461 Did nobody notice that static elements were broken?
2463 2007-05-12 Wim Taymans <wim@fluendo.com>
2465 * tools/gst-launch.c: (event_loop):
2466 Give more interesting info when buffering starts and stops.
2467 Fix case where buffering starts but we fail to update the buffering flag
2468 because the target state is not PLAYING.
2470 2007-05-12 Wim Taymans <wim@fluendo.com>
2472 * plugins/elements/gstqueue.c: (gst_queue_init),
2473 (gst_queue_finalize), (update_time_level), (apply_segment),
2474 (apply_buffer), (gst_queue_locked_flush),
2475 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2476 (gst_queue_handle_sink_event), (gst_queue_chain),
2477 (gst_queue_push_one), (gst_queue_loop):
2478 * plugins/elements/gstqueue.h:
2479 Refactor an cleanup queue a bit.
2480 Do better time level calculations that also work when the srcpad is not
2482 Remove some unneeded debug lines.
2484 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2485 Added testcase for time level measurement.
2486 Try to make some stuff more racefree.
2488 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2490 * gst/gsturi.c: (gst_element_make_from_uri):
2491 Don't leak plugin feature.
2493 * tests/check/Makefile.am:
2494 * tests/check/gst/.cvsignore:
2495 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2496 Add brain-dead unit test.
2498 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2500 Patch by: Jeroen Wouters <woutersj at gmail com>
2502 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2503 Treat protocol strings in a case-insensitive way (#437563).
2505 2007-05-11 Michael Smith <msmith@fluendo.com>
2507 * gst/gstplugin.c: (gst_plugin_load_file):
2508 * gst/gstregistry.c: (gst_registry_scan_path_level):
2509 Don't print a g_warning for any failure to load a shared object.
2510 Instead, push this down into gstplugin.c, and warn _only_ if we
2511 failed to open the module (i.e. failure to link).
2512 Avoids warnings on normal, working, non-plugin .so files.
2514 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2516 * gst/gstplugin.c (gst_plugin_load_file):
2517 * gst/gstregistry.c (GST_CAT_DEFAULT,
2518 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2519 Print a g_warning if there was an error when loading a plugins during
2520 registry scan. The shuld help beginners starting with gst-plugin
2523 2007-05-10 Wim Taymans <wim@fluendo.com>
2525 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2526 (update_time_level), (gst_queue_locked_flush),
2527 (gst_queue_handle_sink_event), (gst_queue_chain),
2528 (gst_queue_push_one), (gst_queue_loop):
2529 * plugins/elements/gstqueue.h:
2530 Be smarter when calculating the current amount of data in the queue by
2531 measuring the difference between start and end timestamps (in running
2532 time) inside the queue. Fixes #432876.
2533 API: GstQueue::pushing to notify elements that we are pushing data again
2534 since the running signal is rather broken for this purpose.
2536 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2538 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2539 gst_queue_base_init, gst_queue_init):
2542 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2544 * win32/common/libgstreamer.def:
2545 Add new exported functions.
2546 * win32/vs6/grammar.dsp:
2547 Use grammar pre-generated files.
2549 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2551 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2554 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2556 * gst/gstutils.c: (gst_parse_bin_from_description):
2558 Maintain API and ABI when --disable-parse is used. Now that
2559 we have an appropriate error code, we can just return NULL and the
2560 appropriate error when gst_parse_launch() is used despite it having
2561 been disabled (#342564).
2563 * tests/check/Makefile.am:
2564 * tests/check/pipelines/.cvsignore:
2565 * tests/check/pipelines/parse-disabled.c:
2566 Make sure these functions exist and return NULL plus a GError when
2567 --disable-parse is used.
2569 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2571 * tests/benchmarks/complexity.c: (main):
2572 * tests/benchmarks/mass-elements.c: (main):
2573 Set a good example and don't leak messages.
2575 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2577 * docs/gst/Makefile.am:
2578 * docs/libs/Makefile.am:
2579 Correct fixxrefs options.
2581 * docs/plugins/Makefile.am:
2582 * docs/plugins/gstreamer-plugins-docs.sgml:
2583 * docs/plugins/gstreamer-plugins-sections.txt:
2584 * plugins/elements/Makefile.am:
2585 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2586 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2587 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2588 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2589 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2590 _GstCapsFilterClass, trans_class):
2591 * plugins/elements/gstelements.c (name, rank, type, _elements):
2592 * plugins/elements/gstidentity.c
2593 (gst_identity_check_imperfect_timestamp,
2594 gst_identity_check_imperfect_offset):
2595 Document capsfilter and add doc-blurb to identity.
2597 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2599 * libs/gst/controller/gstcontroller.c:
2600 (gst_controlled_property_set_interpolation_mode):
2601 * libs/gst/controller/gstinterpolation.c:
2602 Don't crash if someone tries to set an interpolation mode that
2603 is invalid or that isn't supported yet. Fixes #422295.
2605 * tests/check/libs/controller.c: (GST_START_TEST),
2606 (gst_controller_suite):
2607 Add a test case for the above.
2609 2007-05-03 Edward Hervey <edward@fluendo.com>
2611 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2612 Properly set the last_stop position on GstSegment. This will only happen
2613 if there is a buffer to push out.
2615 2007-05-03 Wim Taymans <wim@fluendo.com>
2617 * libs/gst/base/gstbasetransform.c:
2618 (gst_base_transform_buffer_alloc):
2619 always_in_place does not mean that the sink and source caps are the
2620 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2622 2007-05-03 Wim Taymans <wim@fluendo.com>
2624 * docs/libs/gstreamer-libs-sections.txt:
2625 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2626 (gst_base_src_default_query), (gst_base_src_get_range):
2627 * libs/gst/base/gstbasesrc.h:
2628 API: gst_base_src_query_latency(). Added method so that subclasses can
2629 easily get the latency values of the base source class.
2631 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2633 * tools/gst-inspect.c (print_implementation_info):
2636 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2638 * tools/Makefile.am:
2639 * tools/gst-launch.1.in:
2640 Don't create a customised man page based on the host architecture,
2641 describe the default registry path generically. That way the man
2642 page is the same for all architectures and packagers have one
2643 multilib issue less to deal with. Fixes #434926.
2645 2007-05-02 Wim Taymans <wim@fluendo.com>
2648 Fix documentation as spotted by rg on IRC.
2650 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2653 Improve docs for gst_element_{link,unlink}.
2655 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2657 * docs/design/part-events.txt:
2658 * docs/design/part-overview.txt:
2662 * libs/gst/base/gstbasesink.c:
2663 Typo fixes; minor docs addition.
2665 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2667 * docs/gst/gstreamer-sections.txt:
2668 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2669 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2671 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2672 or src that supports a given URI protocol exists.
2674 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2676 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2677 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2678 Set the location to NULL if "file://" is set as URI. Otherwise
2679 some random previous URI would still be set if "file://" is
2680 set on an already used filesink/filesrc.
2682 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2684 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2685 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2686 Special case the "file://" URI as as this is used by some
2687 applications to test with gst_element_make_from_uri if there's
2688 an element that supports the URI protocol.
2689 Also move the g_path_is_absolute() check for the location part
2690 of the URI to also check this for "file://localhost/bla" URIs.
2692 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2694 * docs/gst/gstreamer-sections.txt:
2695 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2697 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2699 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2701 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2703 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2704 (gst_registry_binary_load_pad_template),
2705 (gst_registry_binary_load_plugin),
2706 (gst_registry_binary_read_cache):
2707 * gst/gstregistrybinary.h:
2708 Implement no-mmap alternative for registry reading. Do code cleanups.
2709 Add more comments about avoiding strdups for all text data. Comments
2712 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2714 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2715 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2716 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2717 Comment structs and reformat to fix the build (that stuff should go
2718 into a priv. header).
2720 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2722 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2723 (gst_registry_binary_load_feature):
2724 * gst/gstregistrybinary.h:
2725 Refactor so that we can implement multiple features. Add support for
2726 TypeFindFactory features.
2728 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2730 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2733 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2735 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2737 * gst/gstbin.c: (gst_bin_element_set_state),
2738 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2739 (bin_handle_async_done), (gst_bin_handle_message_func):
2740 Fix build with --gst-disable-gst-debug
2742 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2744 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2745 Make sure streaming has finished before calling the ::stop() vfunc,
2746 since that vfunc might clear state which is being used in the
2747 streaming thread. This fixes a race that caused crashes in
2748 audioresample when shutting down a pipeline (#420106).
2750 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2752 * docs/gst/gstreamer-sections.txt:
2753 That was one byte missing.
2755 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2758 * docs/gst/gstreamer-sections.txt:
2760 * gst/gstconfig.h.in:
2761 * gst/gstobject.c: (gst_object_class_init),
2762 (gst_signal_object_class_init):
2764 2nd attempt to have a xml-less build as a joined effort of #413123
2767 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2769 * docs/design/draft-tagreading.txt:
2770 Added open issues/thoughts to draft.
2772 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2774 * gst/parse/grammar.tab.pre.c:
2775 * gst/parse/grammar.tab.pre.h:
2776 * gst/parse/lex._gst_parse_yy.pre.c:
2777 Update the prebuild parser sources.
2779 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2781 * gst/parse/Makefile.am:
2782 And now fix the building of the flex sources. Now everything should
2785 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2787 * gst/parse/Makefile.am:
2788 Now hopefully fix the build failures by setting proper rule
2789 dependencies and moving instead of copying.
2791 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2793 * tests/benchmarks/complexity.gnuplot:
2794 * tests/benchmarks/complexity.scm:
2795 * tests/benchmarks/mass-elements.gnuplot:
2796 * tests/benchmarks/mass-elements.scm:
2797 Total licensification.
2799 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2801 * gst/parse/Makefile.am:
2802 Fix the build by correcting the rule that gave wrong files to flex.
2804 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2806 * tests/benchmarks/complexity.c:
2807 * tests/benchmarks/mass-elements.c:
2808 Change licence to LGPL as granted by Benjamin and Andy.
2810 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2812 * gst/parse/Makefile.am:
2813 Add correct grammar.tab.h dependency if compiling without new enough
2814 flex. Fixes #431150.
2816 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2818 * gst/parse/Makefile.am:
2819 Fix typo and use outdated sources if the flex/bison sources are newer
2820 than the pregenerated ones but flex is too old. Print a warning in
2821 that case. This should fix the build on the build bot.
2823 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2825 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2826 * gst/parse/Makefile.am:
2827 * gst/parse/grammar.y:
2828 * gst/parse/parse.l:
2829 Make the parser reentrant and recursively callable. This requires flex
2830 >= 2.5.31, for older versions pregenerated sources are used as we
2831 can't bump the build dependency. Finally fixes #349180.
2833 * gst/gstparse.c: (gst_parse_launch):
2834 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2837 * docs/gst/Makefile.am:
2838 * docs/gst/Makefile.am:
2839 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2840 (__gst_parse_strfree), (__gst_parse_link_new),
2841 (__gst_parse_link_free), (__gst_parse_chain_new),
2842 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2843 (gst_parse_element_set), (gst_parse_free_link),
2844 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2845 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2846 (_gst_parse_launch):
2847 * gst/parse/grammar.tab.pre.h:
2848 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2849 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2850 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2851 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2852 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2853 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2854 (_gst_parse_yypop_buffer_state),
2855 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2856 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2857 (yy_fatal_error), (_gst_parse_yyget_extra),
2858 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2859 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2860 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2861 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2862 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2863 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2864 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2865 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2866 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2867 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2868 (_gst_parse_yyfree):
2869 If the installed flex version is too old use pre-generated parser
2870 sources. These pre-generated parser sources are always updated when
2871 the actual flex/bison sources change but require everybody who wants
2872 to change something in the parser to have flex >= 2.5.31 installed.
2874 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2876 * common/m4/gst-gettext.m4:
2877 * gst/gst-i18n-lib.h:
2878 Make --disable-nls to work
2880 2007-04-17 Wim Taymans <wim@fluendo.com>
2882 * gst/gstconfig.h.in:
2883 Revert previous change that broke the build.
2885 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2889 * gst/gstconfig.h.in:
2890 Drop libxml2 dependency when building with
2891 --enable-binary-registry --disable-loadsave
2893 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2895 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2896 (gst_registry_binary_read_cache):
2897 * gst/gstregistrybinary.h:
2898 Remove unnecessary <sys/mman.h> include which broke the win32 build
2899 with MingW; move includes from header file to .c file, even if the
2900 header file isn't installed; use g_strerror() where UTF-8 strings
2901 are expected, such as in GST_DEBUG messages.
2903 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2905 * docs/libs/gstreamer-libs-sections.txt:
2906 Remove bogus addition for API I didn't end up keeping.
2908 * libs/gst/base/gstbasesrc.h:
2909 Mention Since: 0.10.13 in the documentation.
2911 Add the API keyword to the previous ChangeLog entry.
2913 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2915 * docs/libs/gstreamer-libs-sections.txt:
2916 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2917 (gst_base_src_default_prepare_seek_segment),
2918 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2919 * libs/gst/base/gstbasesrc.h:
2920 Allow basesrc derived classes to execute seeks in other formats
2921 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2922 to prepare the GstSegment in any format that their perform_seek method
2923 will be able to understand. The default implementation provides the
2924 old behaviour of attempting to convert the seek offsets to the
2925 configured native format.
2927 API: basesrc::prepare_seek_segment vmethod.
2929 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2931 * gst/gstelement.c: (gst_element_get_state_func):
2932 Don't output the same debug statement twice.
2934 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2935 (gst_adapter_peek), (gst_adapter_take_buffer):
2936 Optimise the case where we have buffers at the head of the queue that
2937 can be joined quickly (because they're contiguous sub-buffers) by
2938 merging them together rather than copying data out into new memory.
2940 * gst/parse/grammar.y:
2941 * tests/check/pipelines/parse-launch.c:
2942 Fix a leak in an error path for parse_launch, and add a check
2943 for it to the testsuite.
2945 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2947 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2948 Don't deadlock when releasing a pad - gst_pad_set_active may try
2949 and take the multiqueue lock too.
2951 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2953 * gst/gsterror.c: (_gst_core_errors_init):
2955 API: add GST_CORE_ERROR_DISABLED (#392804).
2957 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2959 * docs/faq/gst-uninstalled:
2960 don't get empty paths on the PATH variables
2961 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2962 Don't format for the uncommon terminal width of 84 characters.
2964 2007-04-06 Wim Taymans <wim@fluendo.com>
2966 * gst/gstpipeline.c: (reset_stream_time),
2967 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2968 Only try to select a different pipeline clock when we went back to
2969 PAUSED and not when we merely got flushed.
2971 2007-04-05 Michael Smith <msmith@fluendo.com>
2973 * tools/gst-launch.1.in:
2974 fractions are better supported in gstreamer than ractions, so
2975 suggest using those.
2977 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2979 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2983 Added Danish translation.
2985 2007-04-05 Wim Taymans <wim@fluendo.com>
2987 * libs/gst/base/gstbasesink.c:
2988 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2989 Fix leak caused when refusing newsegment after EOS.
2991 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2992 (gst_fake_sink_init), (gst_fake_sink_set_property),
2993 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2994 (gst_fake_sink_render), (gst_fake_sink_change_state):
2995 * plugins/elements/gstfakesink.h:
2996 Add num-buffers property to make the element generate EOS after a
2997 configurable amount of buffers.
2998 API: fakesink::num-buffers property.
3000 * tests/check/elements/fakesink.c: (GST_START_TEST),
3002 Fix GstBus leak in test.
3003 Test for fakesink num-buffers.
3005 2007-04-05 Wim Taymans <wim@fluendo.com>
3007 * libs/gst/base/gstbasesink.c:
3008 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3009 (gst_base_sink_change_state):
3010 Don't accept anything after an EOS, return UNEXPECTED instead.
3012 * tests/check/elements/fakesink.c: (GST_START_TEST),
3014 Unit test for new EOS behaviour.
3016 2007-04-05 Wim Taymans <wim@fluendo.com>
3018 * gst/gstelement.c: (gst_element_get_request_pad):
3019 Make padtemplates also work when they don't contain %s or %d.
3021 2007-04-05 Wim Taymans <wim@fluendo.com>
3023 * docs/gst/gstreamer-sections.txt:
3024 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3025 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3027 Improve _adjust_unlocked() so that it overflows less.
3028 Add gst_clock_unadjust_unlocked to convert from external time to
3029 internal time based on calibration.
3030 Add some more debug.
3031 API: GstClock::gst_clock_unadjust_unlocked()
3033 2007-04-03 Wim Taymans <wim@fluendo.com>
3035 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3037 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3038 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3039 when releasing sink pad. Fixes #425400.
3041 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3043 * docs/random/ensonic/dynlink.txt:
3044 More work on proposal for new core api.
3046 * docs/libs/gstreamer-libs-sections.txt:
3047 * libs/gst/base/gstbasetransform.h:
3048 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3050 * libs/gst/controller/gstcontroller.c:
3051 (on_object_controlled_property_changed),
3052 (gst_controller_sync_values),
3053 (gst_controller_set_interpolation_mode):
3054 * libs/gst/controller/gstcontroller.h:
3055 Less verbose logging add docs for unimplemented parts and correctly
3056 return when using unavailable parts.
3058 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3060 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3061 Move all the debug to the CLOCK category, and associate it with
3064 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3066 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3067 Make take_buffer a bit quicker by removing redundant checks
3068 caused by calling gst_adapter_take.
3070 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3072 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3075 * tests/check/Makefile.am:
3076 * tests/check/elements/.cvsignore:
3077 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3078 (GST_START_TEST), (multiqueue_suite):
3079 Add some dead simple unit tests for the 'multiqueue' element
3080 (some bits don't work yet and are disabled for now).
3082 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3084 * gst/gstelement.c: (gst_element_get_request_pad),
3085 (gst_element_class_get_request_pad_template):
3086 Make gst_element_get_request_pad() create request pads only for
3087 request pad templates and not for, say, sometimes pad templates.
3089 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3091 * docs/design/draft-klass.txt:
3092 Add example that needs more thinking.
3094 * docs/design/draft-missing-plugins.txt:
3095 More thoughts about wrapper plugins.
3097 * docs/random/ensonic/embedded.txt:
3098 * docs/random/ensonic/profiling.txt:
3101 2007-03-25 Wim Taymans <wim@fluendo.com>
3103 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3104 (gst_base_src_loop):
3105 Only push the segment events in the PLAYING state for live sources.
3107 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3109 * gst/gstpipeline.c: (gst_pipeline_change_state):
3110 Modify the clock distribution path in PAUSED->PLAYING so that we
3111 never attempt to choose a new clock unless we're actually leaving
3112 the PAUSED state for the first time. This prevents choosing a
3113 different clock when the state_change gets called for a 2nd time due
3114 to some element doing an async state change.
3116 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3118 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3119 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3120 (gst_pad_chain_unchecked), (gst_pad_push):
3121 Revert last commit. This needs some more thoughts.
3123 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3125 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3126 (gst_pad_chain_unchecked), (gst_pad_push):
3127 Check in set_caps if the caps are compatible with the pad and remove
3128 two functions that are redundant now. Fixes #421543.
3130 2007-03-22 Wim Taymans <wim@fluendo.com>
3132 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3133 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3134 Unref some more to make valgrind happy.
3136 2007-03-22 Wim Taymans <wim@fluendo.com>
3138 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3139 (gst_system_clock_id_wait_jitter),
3140 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3141 Fix anoying regression that survived a few releases. When adding an
3142 async entry while blocking on a sync entry, the sync entry will unblock
3143 but still be busy, so it should continue to wait instead of returning
3145 Add some comments here and there.
3147 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3148 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3149 Add testcase for this.
3151 2007-03-22 Wim Taymans <wim@fluendo.com>
3153 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3154 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3155 WRONG_STATE and can silently pause the task. All other cases should
3158 2007-03-22 Wim Taymans <wim@fluendo.com>
3160 Patch by: Ville Syrjala <syrjala at sci dot fi>
3162 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3163 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3166 2007-03-21 Michael Smith <msmith@fluendo.com>
3168 * docs/pwg/advanced-types.xml:
3169 Fix some errors in the typefinding docs pointed out on irc.
3171 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3173 * libs/gst/base/gstbasesrc.c:
3174 Clarify FIXME comment in the face of having added unlock_stop()
3176 2007-03-21 Wim Taymans <wim@fluendo.com>
3178 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3179 Prepare for release where we warn against possible app breakage in the
3180 case of live pipelines along with an env var to enable/disable live
3181 preroll mode (GST_COMPAT=[no-]live-preroll).
3183 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3185 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3186 So we should use correct constants for checking for None offset.
3188 2007-03-20 Wim Taymans <wim@fluendo.com>
3190 * docs/design/part-block.txt:
3191 Mention the fact that the newly switched element should be set to at
3194 2007-03-20 Wim Taymans <wim@fluendo.com>
3197 Fix compilation with registry disabled as spotted by Saur.
3199 2007-03-20 Wim Taymans <wim@fluendo.com>
3201 Patch by: Olivier Crete <tester at tester dot ca>
3203 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3204 Look at the pending state too when syncing the element state to the
3205 parent. Fixes #420133.
3207 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3209 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3210 (gst_base_sink_change_state):
3211 * libs/gst/base/gstbasesink.h:
3212 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3213 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3214 (gst_base_src_deactivate):
3215 * libs/gst/base/gstbasesrc.h:
3216 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3217 for sub-classes to correctly clear any state they set trying to
3218 unlock, such as clearing out unlock commands from a command fd.
3219 API: basesrc::unlock_stop
3220 API: basesink::unlock_stop
3222 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3223 (gst_fd_sink_render), (gst_fd_sink_unlock),
3224 (gst_fd_sink_unlock_stop):
3225 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3226 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3227 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3229 Implement unlock_stop in fdsrc and fdsink.
3230 Implement seeking in fdsrc when a seekable fd is passed, as in
3231 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3233 2007-03-19 Wim Taymans <wim@fluendo.com>
3235 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3237 * gst/gstelement.c: (gst_element_class_init):
3238 Fix pad-added and pad-removed signal signatures so that the pad type is
3239 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3241 2007-03-19 Wim Taymans <wim@fluendo.com>
3243 * docs/gst/gstreamer-sections.txt:
3244 Add new element field and method.
3246 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3247 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3248 (gst_bin_recalc_state), (gst_bin_get_state_func),
3249 (gst_bin_element_set_state), (gst_bin_change_state_func),
3250 (gst_bin_continue_func), (bin_bus_handler),
3251 (bin_push_state_continue), (bin_handle_async_start),
3252 (bin_handle_async_done), (gst_bin_handle_message_func):
3253 Make async state changes a bit smarter by using new ASYNC_START and
3254 ASYNC_DONE messages. This reduces the number of times we run the state
3255 recalculation thread.
3256 Don't change state of element with a pending ASYNC_START message.
3257 Deprecate STATE_DIRTY messages.
3259 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3260 (gst_element_get_state_func), (gst_element_continue_state),
3261 (gst_element_lost_state), (gst_element_set_state_func),
3262 (gst_element_change_state):
3264 Keep the state that was last set by the app in a new element field.
3265 Don't allow state changes when handling an element event.
3266 Post ASYNC_START and ASYNC_DONE messages.
3267 Change lost_state so that we go to PAUSED and wait for the parent to set
3268 us to PLAYING again (so latency calculation can be performed)
3269 Export gst_element_change_state() method so that subclasses can use it.
3270 API: gst_element_change_state()
3271 API: GST_STATE_TARGET
3273 * gst/gstpipeline.c: (gst_pipeline_class_init),
3274 (reset_stream_time), (gst_pipeline_change_state),
3275 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3276 Using the new ASYNC_START message we can reset the base_time when
3277 needed. This can then be used to implement base_time redistribution in
3278 flushing seeks so that we can remove the explicit seek handling.
3279 Perform latency query and configuration when going to PLAYING.
3281 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3282 (gst_base_sink_query), (gst_base_sink_change_state):
3283 Post new ASYNC_START/ASYNC_DONE messages.
3285 * tests/check/generic/sinks.c: (GST_START_TEST):
3286 Fix test because the bin will not set the async element to PLAYING right
3289 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3290 Make the message check a little stronger.
3291 Handle ASYNC messages.
3293 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3294 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3295 Expect ASYNC_DONE messages.
3297 2007-03-19 Wim Taymans <wim@fluendo.com>
3299 * docs/gst/gstreamer-sections.txt:
3300 * gst/gstmessage.c: (gst_message_new_async_start),
3301 (gst_message_new_async_done), (gst_message_parse_info),
3302 (gst_message_parse_async_start):
3304 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3307 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3309 * tools/gst-inspect.c:
3310 (print_plugin_automatic_install_info_codecs):
3311 Now that we don't check for the 'Codec' keyword any longer in the
3312 klass, we shouldn't spew a warning if the klass isn't a decoder or
3313 encoder (since it might be a Source/Network, for example).
3315 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3317 * tools/gst-inspect.c:
3318 (print_plugin_automatic_install_info_codecs):
3319 Don't require decoder/demuxer/depayloader elements or
3320 encoder/muxer/paylader elements to have 'Codec' as part of their
3321 factory class string when introspecting a plugin's capabilities.
3322 draft-klass.txt mentions that it might be removed in future, and
3323 flump3dec doesn't have it as part of its class string, so chances
3324 are others might also not have it.
3326 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3348 Update translations from translation project
3350 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3352 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3353 (gst_child_proxy_set_property):
3354 Invert precondition check to be alike the ones in the mimiced gobject
3357 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3359 * docs/design/draft-tagreading.txt:
3360 * docs/random/ensonic/audiobaseclasses.txt:
3361 Do some Architect work.
3363 * gst/gstobject.c: (gst_object_set_name):
3367 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3369 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3371 * gst/gstsystemclock.c: (gst_system_clock_init),
3372 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3373 Defer starting the async system clock thread until the first async
3374 wait is scheduled. Fixes #414986.
3376 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3378 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3379 (gst_single_queue_free):
3380 Fix small leak (free GstSingleQueue structure too, not only contents).
3382 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3384 * gst/gstbin.c:(gst_bin_add):
3385 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3386 * win32/common/libgstbase.def:
3387 * win32/common/libgstreamer.def:
3388 Add new exported functions.
3390 2007-03-09 Wim Taymans <wim@fluendo.com>
3392 * docs/plugins/gstreamer-plugins-sections.txt:
3395 2007-03-09 Wim Taymans <wim@fluendo.com>
3397 * docs/gst/gstreamer-sections.txt:
3398 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3400 Add metadata copy functions. Fixes #393099.
3401 API: gst_buffer_copy_metadata()
3403 * gst/gstutils.c: (gst_buffer_stamp):
3404 * libs/gst/base/gstbasetransform.c:
3405 (gst_base_transform_prepare_output_buffer):
3406 Use new metadata copy functions.
3408 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3410 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3411 (gst_identity_init), (gst_identity_check_perfect),
3412 (gst_identity_check_imperfect_timestamp),
3413 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3414 (gst_identity_set_property), (gst_identity_get_property):
3415 * plugins/elements/gstidentity.h:
3416 Separate out check-imperfect-timestamp and check-imperfect-offset.
3417 Put back check-perfect as it was to keep compatibility.
3419 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3421 * gst/gstelement.c: (gst_element_dispose):
3422 There's no need to warn if VOID_PENDING is not NONE here, as
3423 long as the state is NULL it's ok, and that's checked immediately
3426 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3428 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3429 Fix check for perfect stream to ignore buffers with -1
3430 offsets/offset ends when checking data contiguity.
3432 2007-03-08 Wim Taymans <wim@fluendo.com>
3434 * tools/gst-launch.c: (event_loop):
3435 Print INFO messages.
3437 2007-03-08 Wim Taymans <wim@fluendo.com>
3439 * libs/gst/base/gstbasetransform.c:
3440 (gst_base_transform_sink_eventfunc),
3441 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3442 (gst_base_transform_activate):
3443 * libs/gst/base/gstbasetransform.h:
3444 Add support for dropping buffers with custom GstFlowReturn.
3445 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3446 buffers or dropped buffers.
3448 * docs/libs/gstreamer-libs-sections.txt:
3449 docs for new custom return code.
3451 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3452 Use drop support in base class to implement drop-probability.
3454 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3456 * gst/gst.c: (load_plugin_func):
3457 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3458 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3459 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3460 Remove newlines at end of debug log strings.
3462 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3464 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3465 Only post bus message at max, once per buffer received.
3467 2007-03-07 Wim Taymans <wim@fluendo.com>
3469 * docs/design/Makefile.am:
3470 * docs/design/part-synchronisation.txt:
3471 Add doc about synchronisation
3473 * docs/design/draft-latency.txt:
3474 * docs/design/part-TODO.txt:
3475 * docs/design/part-clocks.txt:
3476 * docs/design/part-events.txt:
3477 * docs/design/part-gstbus.txt:
3478 * docs/design/part-gstpipeline.txt:
3479 * docs/design/part-live-source.txt:
3480 * docs/design/part-messages.txt:
3481 * docs/design/part-overview.txt:
3482 * docs/design/part-streams.txt:
3483 * docs/design/part-trickmodes.txt:
3484 Documentation updates.
3486 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3489 Update the doap file.
3491 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3493 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3494 Rename non-perfect to imperfect for Mike and for the sanctity of the
3496 Also make sure bus message gets emitted for data-incontiguities.
3498 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3500 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3501 (gst_identity_start):
3502 * plugins/elements/gstidentity.h:
3503 Emit bus message if check-perfect is true and we encounter a
3504 non-perfect stream between 2 consecutive buffers.
3507 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3512 === release 0.10.12 ===
3514 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3517 releasing 0.10.12, "Inevitable Demise"
3519 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3522 Version 0.10.11.2 (0.10.12 pre-release)
3523 Bump libtool versioning.
3525 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3527 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3528 Log flow-names and not numbers.
3530 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3533 Convert to new AG_GST style.
3535 2007-02-28 Wim Taymans <wim@fluendo.com>
3537 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3538 Don't unref query twice.
3540 2007-02-28 Wim Taymans <wim@fluendo.com>
3542 * gst/gstvalue.c: (gst_value_transform_object_string),
3543 (_gst_value_initialize):
3544 Implement GstObject -> string transform so we print object names
3545 when serializing GValues containing GstObjects.
3547 2007-02-28 Wim Taymans <wim@fluendo.com>
3549 * docs/gst/gstreamer-sections.txt:
3550 Add new stuff to docs.
3552 2007-02-28 Wim Taymans <wim@fluendo.com>
3554 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3555 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3556 (gst_base_sink_change_state):
3557 Improve latency query code.
3558 Don't leak latency events.
3560 * tests/check/gst/gstbin.c: (GST_START_TEST):
3563 2007-02-28 Wim Taymans <wim@fluendo.com>
3565 * gst/gstelement.c: (gst_element_message_full),
3566 (gst_element_get_state_func):
3568 Improve docs a little. Added Since: for new macro.
3570 * gst/gstobject.c: (gst_object_sink):
3571 * gst/gstpipeline.c: (gst_pipeline_change_state),
3572 (gst_pipeline_set_new_stream_time):
3573 * gst/gstpipeline.h:
3574 Improve debugging and docs.
3576 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3579 2007-02-28 Wim Taymans <wim@fluendo.com>
3581 * gst/gstelement.c: (gst_element_message_full),
3582 (gst_element_set_locked_state), (gst_element_get_state_func),
3583 (gst_element_change_state):
3584 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3585 Documentation updates.
3586 Small code cleanups.
3588 * gst/gstmessage.c: (gst_message_new_info),
3589 (gst_message_parse_info):
3591 API: gst_message_new_info()
3592 API: gst_message_parse_info()
3593 Add INFO message create and parse code.
3595 2007-02-28 Wim Taymans <wim@fluendo.com>
3597 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3598 (bin_query_latency_done):
3599 Also report the live parameter of a latency query.
3601 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3603 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3604 Copy the current generic/states example from -base and adapt so
3605 we can use the exact same code everywhere.
3606 Check a STATES_IGNORE_ELEMENTS env var which can be used
3607 to ignore certain element factories for this test, which is
3608 what is being done in -base
3609 * tests/check/Makefile.am:
3610 Mention this environment variable.
3612 2007-02-27 Wim Taymans <wim@fluendo.com>
3614 * docs/gst/gstreamer-sections.txt:
3615 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3616 (gst_bus_timed_pop), (gst_bus_pop):
3618 API: gst_bus_timed_pop()
3619 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3620 message to arrive on the bus.
3622 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3624 Two unit tests for new _timed_pop() function.
3626 2007-02-23 Wim Taymans <wim@fluendo.com>
3628 * gst/gstpipeline.c: (gst_pipeline_change_state),
3629 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3630 Don't ref a NULL clock in _provide_clock_func().
3631 Don't allow an INVALID delay.
3632 Don't try to calculate base_time with an invalid start_time.
3633 Also distribute and notify a NULL clock when it was selected.
3635 * tools/gst-launch.c: (event_loop):
3636 Don't crash when a NULL clock was selected in the pipeline.
3638 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3640 * docs/design/Makefile.am:
3641 * docs/design/draft-missing-plugins.txt:
3642 * docs/random/draft-missing-plugins.txt:
3643 Some small updates: update plugin system identifier prefix
3644 ('gstreamer.net' to 'gstreamer'), mention our new install
3645 API in libgstbaseutils rather than libgimme-codec, add
3646 reference to the online docs.
3648 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3650 * win32/common/config.h:
3651 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3652 use moap cl ci to only check in what is mentioned in the ChangeLog.
3654 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3656 * docs/gst/gstreamer-sections.txt:
3658 Fix up documentation to link to the correct GstGError section.
3659 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3661 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3663 * tools/gst-launch.c: (event_loop):
3664 Make sure that we actually show the important message part of a
3666 No need to check if the gerror is not NULL to free; first of all
3667 g_free accepts NULL; and second the default error handler would
3668 segfault if gerror was NULL.
3670 2007-02-21 Wim Taymans <wim@fluendo.com>
3672 * docs/gst/gstreamer-sections.txt:
3673 Removed docs as well.
3675 2007-02-21 Wim Taymans <wim@fluendo.com>
3677 * gst/gstmessage.c: (gst_message_parse_duration):
3679 Remove new messages for release.
3681 2007-02-20 Wim Taymans <wim@fluendo.com>
3683 * docs/design/part-gstghostpad.txt:
3684 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3685 (gst_ghost_pad_new_full):
3686 Make the ghostpad a parent of the internal pad again for better backward
3687 compatibility. Don't write code that relies on this however.
3689 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3690 (gst_pad_link_check_hierarchy):
3691 Require that parents should be GstElements in the hierarchy check.
3693 2007-02-20 Wim Taymans <wim@fluendo.com>
3695 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3696 (gst_bin_change_state_func), (bin_query_min_max_init),
3697 (bin_query_latency_fold), (bin_query_latency_done),
3700 Implement latency query.
3702 2007-02-20 Wim Taymans <wim@fluendo.com>
3704 * docs/design/part-gstghostpad.txt:
3705 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3706 (gst_ghost_pad_internal_do_activate_push),
3707 (gst_ghost_pad_internal_do_activate_pull),
3708 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3709 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3710 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3711 Do not set the internal pad as a parent anymore so we can avoid
3712 hierarchy linking errors when the ghostpad has no parent yet. This also
3713 fixes failed activation because of unlinked internal pads, which in
3714 turn fixes the impossible case where you have to activate a pad before
3715 you can add it to a running element.
3718 * gst/gstpad.c: (pre_activate), (post_activate),
3719 (gst_pad_set_active), (gst_pad_activate_pull),
3720 (gst_pad_activate_push), (gst_pad_check_pull_range):
3721 Add some more debug info.
3722 Mark activation mode in pre_activate so that we don't try to activate in
3723 endless loops. Fixes #385084.
3725 2007-02-19 Wim Taymans <wim@fluendo.com>
3727 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3728 (gst_base_transform_check_get_range):
3729 Implement a checkgetrange function instead of relying on the default
3730 core behaviour that assumes we can operate in pull mode if we have a
3731 getrange function. First step at fixing #385084.
3733 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3735 * gst/gstchildproxy.h:
3736 * libs/gst/base/gstbasesink.h:
3737 * libs/gst/base/gstbasesrc.h:
3738 * libs/gst/base/gstbasetransform.h:
3739 More docs coverage and some ChangeLog surgery (add missing names)
3741 2007-02-15 Wim Taymans <wim@fluendo.com>
3743 * docs/design/part-TODO.txt:
3744 * docs/design/part-activation.txt:
3745 * docs/design/part-block.txt:
3746 * docs/design/part-buffering.txt:
3747 * docs/design/part-clocks.txt:
3748 * docs/design/part-element-source.txt:
3749 * docs/design/part-events.txt:
3750 * docs/design/part-gstbin.txt:
3751 * docs/design/part-gstbus.txt:
3752 * docs/design/part-gstpipeline.txt:
3753 * docs/design/part-live-source.txt:
3754 * docs/design/part-messages.txt:
3755 * docs/design/part-overview.txt:
3756 * docs/design/part-qos.txt:
3757 * docs/design/part-query.txt:
3758 * docs/design/part-states.txt:
3759 * docs/design/part-trickmodes.txt:
3760 Some doc updates. Start renaming from stream_time to running_time where
3761 it was used wrongly.
3763 2007-02-15 Wim Taymans <wim@fluendo.com>
3765 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3766 Answer LATENCY query.
3768 2007-02-15 Wim Taymans <wim@fluendo.com>
3770 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3774 2007-02-15 Wim Taymans <wim@fluendo.com>
3776 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3777 (gst_pad_dispatcher):
3778 Improve debugging of default pad dispatcher and query functions.
3780 2007-02-15 Wim Taymans <wim@fluendo.com>
3782 * docs/gst/gstreamer-sections.txt:
3783 Remove old unused method.
3785 2007-02-13 Wim Taymans <wim@fluendo.com>
3787 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3790 2007-02-13 Wim Taymans <wim@fluendo.com>
3792 * docs/design/part-seeking.txt:
3795 * gst/gstsegment.c: (gst_segment_set_seek):
3796 Revert old bogus change that should make seeking work again.
3798 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3800 * docs/random/ensonic/dynlink.txt:
3801 * docs/random/ensonic/interfaces.txt:
3802 * docs/random/ensonic/receipies.txt:
3803 Possible dynamic reconnection api, plus some type fixes the other two
3806 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3808 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3809 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3810 Also check for an absolute path following file:// in the filesrc
3811 element. Remove redundant check and call g_path_is_absolute() on the
3814 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3816 * docs/design/draft-klass.txt:
3817 Add existing category analysis.
3820 Fix doc example, framerate is a fraction.
3822 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3825 * docs/gst/Makefile.am:
3826 * docs/gst/gstreamer-sections.txt:
3827 * docs/libs/Makefile.am:
3828 Erm, forgot a bunch of --extra-dir.
3830 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3833 * docs/gst/Makefile.am:
3834 * docs/libs/Makefile.am:
3835 * docs/plugins/Makefile.am:
3836 Add crossreferences to glib/gobject docs.
3838 2007-02-12 Wim Taymans <wim@fluendo.com>
3840 * docs/design/draft-latency.txt:
3843 * docs/libs/gstreamer-libs-sections.txt:
3844 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3845 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3846 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3847 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3848 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3849 (gst_base_sink_get_position), (gst_base_sink_query),
3850 (gst_base_sink_change_state):
3851 * libs/gst/base/gstbasesink.h:
3852 API: gst_base_sink_query_latency() to let subclasses query the upstream
3854 API: gst_base_sink_get_latency() to let subclasses query the configured
3855 latency in the sink.
3856 Implement query and set latency.
3858 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3859 don't continue preroll when we are flushing. Fixes #405284.
3861 * tests/check/pipelines/stress.c: (change_state_timeout),
3862 (quit_timeout), (GST_START_TEST), (stress_suite):
3865 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3867 Patch by: René Stadler <mail at renestadler de>
3869 * docs/gst/gstreamer-sections.txt:
3870 * gst/gsttaglist.c: (_gst_tag_initialize):
3872 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3874 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3876 * docs/libs/Makefile.am:
3877 Fix path to core docs.
3879 * gst/gstbin.c: (gst_bin_get_by_interface),
3880 (gst_bin_iterate_all_by_interface):
3881 Refix docs by also renaming 'interface' to 'iface' in implementation.
3883 * docs/gst/gstreamer-sections.txt:
3885 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3886 * gst/gstchildproxy.h:
3887 * gst/gstelementfactory.c:
3888 * gst/gstpadtemplate.h:
3889 * libs/gst/controller/gstcontroller.c:
3890 (gst_controlled_property_new):
3893 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3895 * gst/gstbin.h:(gst_bin_get_by_interface),
3896 (gst_bin_iterate_all_by_interface):
3897 Replace interface parameter name by iface as interface is
3898 a reserved keyword in Visual Studio for C++ projects so it removes
3899 a build error for application developpers using VS.
3900 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3901 Fix a bug on Windows in uri format check. Now the prefix checked
3902 is file:// and next we check if the path after file:// is absolute.
3903 * win32/common/libgstbase.def:
3904 * win32/common/libgstdataprotocol.def:
3905 * win32/common/libgstgstreamer.def:
3906 Add new exported functions.
3908 2007-02-09 Andy Wingo <wingo@pobox.com>
3910 * tests/check/pipelines/simple-launch-lines.c
3911 (simple_launch_lines_suite, test_tee): Disable tee test until I
3912 have time to fix it :-(
3914 * tests/check/Makefile.am (noinst_HEADERS):
3915 * tests/check/libs/libsabi.c:
3916 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3917 * tests/check/gst/gstabi.c:
3918 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3920 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3921 tests for push and pull tee behavior.
3923 * plugins/elements/gsttee.h:
3924 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3925 mark as deprecated as well as unimplemented. It was a crack idea.
3926 Add support for tee operating in pull mode, off by default.
3928 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3929 normal-case logs down to LOG, raise errors to WARNING.
3930 (gst_registry_xml_read_cache): Don't log before calling a function
3933 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3934 exit (registry finalize).
3935 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3936 DEBUG log when we emit signals that people don't even have the
3937 chance to connect to.
3938 (gst_registry_scan_path_level): Less logging in the normal case.
3940 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3942 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3944 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3945 Correctly generate EOS for non-seekable files. We don't have a total
3946 length for them and would get an unexpected end of file if we only
3947 special-cased for regular files. (Fixes: #404569)
3949 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3951 * tests/check/elements/filesrc.c: (GST_START_TEST),
3953 Add unit test for the GstURIHandler interface in filesrc. This also
3954 tests the newly added file://localhost/foo/bar support.
3956 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3958 * gst/gstelementfactory.h:
3959 The klass string is not a hierarchy. Add reference to the design doc
3960 for more information and common types.
3962 2007-02-02 Wim Taymans <wim@fluendo.com>
3964 * gst/gstquery.c: (gst_query_new_latency):
3965 Remove old structure field.
3967 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3969 * tools/gst-launch.1.in:
3970 Give example for network streaming (#351998)
3972 2007-02-02 Wim Taymans <wim@fluendo.com>
3974 * docs/gst/gstreamer-sections.txt:
3975 Add docs for new methods.
3977 * gst/gstevent.c: (gst_event_new_latency),
3978 (gst_event_parse_latency):
3980 Add new LATENCY event to configure latency in a pipeline.
3981 API: gst_event_new_latency
3982 API: gst_event_parse_latency
3984 * gst/gstmessage.c: (gst_message_new_buffering),
3985 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3986 (gst_message_new_latency), (gst_message_parse_buffering),
3987 (gst_message_parse_lost_preroll):
3989 Added messages used in draft-latency.
3990 API: gst_message_new_lost_preroll
3991 API: gst_message_parse_lost_preroll
3992 API: gst_message_new_prerolled
3993 API: gst_message_new_latency
3995 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3996 (gst_query_parse_latency):
3998 Implemented new latency query as in design doc.
3999 API: gst_query_new_latency
4000 API: gst_query_set_latency
4001 API: gst_query_parse_latency
4003 2007-02-02 Wim Taymans <wim@fluendo.com>
4005 * docs/design/draft-latency.txt:
4006 Slight redesign to allow for dynamic latency adjustments.
4008 * docs/design/part-negotiation.txt:
4011 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4013 reviewed by: Wim Taymans <wim@fluendo.com>
4015 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4016 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4017 Allow file://localhost/foo/bar URLs and correctly fail for every other
4018 hostname that one sets. This was gnomevfssrc is linked for those if
4019 installed as it can handle it (#403172)
4021 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4023 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4025 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4026 (unref_data), (gst_collect_pads_add_pad_full):
4027 * libs/gst/base/gstcollectpads.h:
4028 Don't put the previously added destroy notify in the GstCollectData
4029 struct as all it's padding is already used and we don't want to break
4030 ABI. Instead put in the pad's GObject data for now. This should be
4031 cleaned up for 0.11 (#402393).
4033 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4035 reviewed by: Wim Taymans <wim@fluendo.com>
4037 * docs/libs/gstreamer-libs-sections.txt:
4038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4039 (unref_data), (gst_collect_pads_add_pad),
4040 (gst_collect_pads_add_pad_full):
4041 * libs/gst/base/gstcollectpads.h:
4042 API: Add function to specify a destroy notification for custom
4043 GstCollectData when adding new pads in GstCollectPads (#402393).
4045 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4048 Update Swedish translation (#378255).
4050 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4052 * docs/design/draft-klass.txt:
4053 Fix the previous change, this is a list of categories and not a hierarchy.
4055 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4057 * docs/design/draft-klass.txt:
4058 Add info about how to get a list of used classes.
4060 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4062 * plugins/elements/gsttypefindelement.c:
4063 (gst_type_find_element_chain_do_typefinding),
4064 (gst_type_find_element_change_state):
4065 Don't leak found caps in chain function (no idea why that never
4066 showed up as a leak anywhere).
4068 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4071 Fix and expand GstPluginDesc API docs.
4073 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4076 * gst/gstelementfactory.c:
4077 * gst/gstpadtemplate.h:
4080 * libs/gst/controller/gstcontroller.c:
4081 (gst_controlled_property_new):
4082 * tests/examples/controller/audio-example.c:
4085 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4088 comment about refining the xml deps
4091 comments about moving away from jade for docs
4094 recommit the ifdefs to use the binary registry
4096 * gst/gstbin.c: (gst_bin_change_state_func):
4097 this break is obsolete
4099 * gst/gstelementfactory.h:
4100 better GST_ELEMENT_DETAILS docs, add comment about translation
4105 * gst/gstobject.c: (gst_signal_object_get_type):
4106 add G_UNLIKELY as usual
4108 * gst/gstpad.c: (gst_pad_event_default):
4109 add fall trhu comment
4111 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4112 (gst_registry_binary_initialize_magic),
4113 (gst_registry_binary_save_string),
4114 (gst_registry_binary_save_pad_template),
4115 (gst_registry_binary_save_feature),
4116 (gst_registry_binary_save_plugin),
4117 (gst_registry_binary_write_cache),
4118 (gst_registry_binary_check_magic),
4119 (gst_registry_binary_load_pad_template),
4120 (gst_registry_binary_load_feature),
4121 (gst_registry_binary_load_plugin),
4122 (gst_registry_binary_read_cache):
4123 comment typo and formatting
4125 * gst/gstutils.c: (gst_element_state_get_name),
4126 (gst_element_state_change_return_get_name):
4127 remove obsolete breaks
4129 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4130 add FIXME 0.11 and remove cpp comment
4132 2007-01-29 Edward Hervey <edward@fluendo.com>
4134 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4135 Fix print statement in an even more portable way.
4137 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4139 * docs/gst/gstreamer-sections.txt:
4141 API: add GST_ROUND_DOWN_* macros (#401781).
4143 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4145 * docs/gst/gstreamer.types.in:
4146 * gst/gstregistry.c: (gst_registry_class_init):
4147 Document registry signals and make gtk-doc pick them up (#401381).
4149 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4151 * docs/pwg/building-testapp.xml:
4152 Add some audioconverts and audioresample to the pipeline, and some
4153 more comments and error handling.
4155 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4157 * docs/manual/manual.xml:
4161 2007-01-26 Wim Taymans <wim@fluendo.com>
4163 * gst/gstcaps.c: (gst_static_caps_get):
4164 Init caps flags too.
4166 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4168 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4170 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4171 If not using mmap'ed files try to seek to the end instead of the
4172 start to determine whether we can seek at all. This fixes the case
4173 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4174 seeks for everything afterwards fail. Fixes #400656
4176 2007-01-25 Wim Taymans <wim@fluendo.com>
4178 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4179 Add some refcount debugging.
4180 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4181 in multiple streaming threads.
4183 2007-01-25 Wim Taymans <wim@fluendo.com>
4185 Patch by: David Schleef <ds at schleef dot org>
4187 * docs/libs/gstreamer-libs-sections.txt:
4188 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4189 * libs/gst/base/gstadapter.h:
4190 API: gst_adapter_copy() that can reduce the amount of memcpy when
4191 getting data from the adapter. Fixes #388201.
4193 2007-01-25 Edward Hervey <edward@fluendo.com>
4195 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4196 In print statements, "%x" is for guint. Fixes build on macosx.
4198 2007-01-24 Edward Hervey <edward@fluendo.com>
4200 * plugins/elements/gstmultiqueue.c:
4201 (gst_multi_queue_loop):
4203 (single_queue_overrun_cb), (single_queue_underrun_cb),
4204 (single_queue_check_full), (gst_single_queue_new):
4205 Implement single queue growth system.
4206 This uses the extra-size properties, and will grow single queues by
4207 that much if one goes full whereas there are others empty. This is
4208 called extra-mode in the code.
4209 When a single queue's levels go back below the initial max-size
4210 limits, it is no longer in extra-mode. This is to ensure we don't
4211 consume too much memory.
4214 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4216 * gst/gst.c: (gst_init_get_option_group):
4217 Make warning about late g_thread_init() calls a bit more explicit,
4218 so that it's more obvious to application developers what they need
4219 to do if a user files a bug against their application.
4221 2007-01-22 Edward Hervey <edward@fluendo.com>
4223 * plugins/elements/gstmultiqueue.c:
4224 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4225 Remove previous hack of unsetting the flushing flag for the source pad
4226 instead of activating it. Instead, fix the source pad activate function
4227 so that it no longer depends on having a parent set or not.
4229 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4231 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4233 * docs/manual/basics-bus.xml:
4234 Fix example code, gst_element_unref() doesn't exist any longer.
4236 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4238 Patch by: Mark Nauwelaerts <manauw at skynet be>
4241 Fix two docs typoes (#399094).
4243 2007-01-19 Edward Hervey <edward@fluendo.com>
4245 * docs/faq/gst-uninstalled:
4246 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4247 depending on libgstbaseutils can work in uninstalled environment.
4249 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4252 * gst/gsttagsetter.c:
4253 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4254 statement for new tag.
4256 2007-01-17 Edward Hervey <edward@fluendo.com>
4258 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4259 When dynamically creating single queues, activate sinkpad before adding
4261 We should be doing the same thing for the source pad, but we can't
4262 since it would call a method which needs the parent to be set in order
4263 to work propertly. Instead of activating the source pad, we just unset
4264 the flushing flag, which is the minimal requirement for adding a pad
4265 to an element in a state greater than READY.
4267 2007-01-17 Edward Hervey <edward@fluendo.com>
4269 * docs/faq/gst-uninstalled:
4270 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4273 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4275 * tests/check/gst/gstabi.c:
4276 * tests/check/gst/struct_hppa.h:
4277 * tests/check/libs/libsabi.c:
4278 * tests/check/libs/struct_hppa.h:
4279 Add ABI structs for HPPA (see #393796).
4281 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4283 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4284 Actually write ABI structs to the file specified in the GST_ABI
4285 environment variable, as the message we print claims we would.
4287 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4289 * tests/check/gst/gsttask.c:
4292 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4294 * gst/gsttaglist.c: (_gst_tag_initialize):
4295 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4296 previous two entries.
4298 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4300 * docs/gst/gstreamer-sections.txt:
4301 * gst/gsttaglist.c: (_gst_tag_initialize):
4303 Add tag support for beat-per-minute.
4305 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4307 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4308 (gst_registry_binary_initialize_magic),
4309 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4310 (gst_registry_binary_save_pad_template),
4311 (gst_registry_binary_save_feature),
4312 (gst_registry_binary_save_plugin),
4313 (gst_registry_binary_write_cache),
4314 (gst_registry_binary_check_magic),
4315 (gst_registry_binary_load_pad_template),
4316 (gst_registry_binary_load_feature),
4317 (gst_registry_binary_load_plugin),
4318 (gst_registry_binary_read_cache):
4319 * gst/gstregistrybinary.h:
4320 Use glib types, cleanup comments, impement interfaces and uri-types.
4322 2007-01-13 Andy Wingo <wingo@pobox.com>
4324 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4325 getrange() to return buffers with other caps, while we fix
4326 demuxers and typefind, or otherwise change part-negotiation.txt.
4328 2007-01-12 Andy Wingo <wingo@pobox.com>
4330 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4331 Factor start/stop into this private function instead of partially
4332 in activate functions and partially in the change_state function.
4333 Fixes setup before the element has changed from READY->PAUSED, as
4334 is the case in pull-mode pipelines.
4335 (gst_base_transform_sink_activate_push)
4336 (gst_base_transform_src_activate_pull): Refactor to use
4337 gst_base_transform_activate().
4338 (gst_base_transform_change_state): Removed, not needed any more.
4340 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4341 Truncate before fixating.
4343 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4344 Don't set_caps() if the result of fixating is ANY, as it's not
4345 supported, and not necessary in the case of a link with no
4346 template caps on either side. Fixes tests/check/libs/basesrc in
4347 some pull-mode tests.
4349 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4350 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4351 (gst_base_transform_src_activate_pull):
4352 Track the activation mode.
4353 (gst_base_transform_setcaps): In pull mode, when activating the
4354 src pad, after activating the sink pad, activate the sink pad's
4355 peer, as discussed in part-negotiation.txt.
4357 * libs/gst/base/gstbasesrc.h:
4358 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4359 vmethod, as in basesink.
4361 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4363 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4364 mode, first proxy the setcaps to the peer pad.
4365 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4367 (gst_base_sink_default_activate_pull): Rename from
4368 gst_base_sink_activate_pull.
4369 (gst_base_sink_negotiate_pull): New function, performs negotiation
4370 in pull mode before calling ::activate_pull().
4371 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4372 vmethod instead of the default implementation. I have no idea how
4373 this worked before. Negotiate before calling activate_pull.
4375 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4376 sink pads in pull mode. In addition to being correct, fixes
4377 filesrc ! decodebin ! identity ! fakesink.
4378 (gst_pad_get_range, gst_pad_pull_range): Don't call
4379 gst_pad_set_caps() if the caps changes; instead error out with
4380 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4382 2007-01-12 Andy Wingo <wingo@pobox.com>
4384 * docs/design/part-negotiation.txt: Update with more policy.
4386 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4388 * libs/gst/check/gstbufferstraw.h:
4389 * libs/gst/check/gstcheck.h:
4390 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4393 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4395 * tests/check/Makefile.am:
4396 * tests/check/gst/.cvsignore:
4397 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4398 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4399 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4400 (GST_START_TEST), (gst_tag_setter_suite):
4401 Add minimal unit test for beforementioned GstTagSetter bug.
4403 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4405 Patch by: René Stadler <mail at renestadler dot de>
4407 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4408 gst_tag_list_merge() returns a new list, so it's not the best idea
4409 to ingore its return value. Effectively meant that tags could only
4410 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4411 Also add function guard to require a non-NULL taglist as input (has
4412 always been so due to gst_tag_list_copy(), just making it explicit).
4414 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4416 * docs/random/draft-missing-plugins.txt:
4417 Some additions: mention new API that is supposed to be used at the
4418 various stages; short blob about new gst-inspect introspection
4419 option; mention potential future problem with plugins that have
4420 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4422 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4424 * tools/gst-inspect.c:
4425 (print_plugin_automatic_install_info_codecs),
4426 (print_plugin_automatic_install_info_protocols),
4427 (print_plugin_automatic_install_info), (main):
4428 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4429 introspect plugin files and get machine-parsable output that corresponds
4430 to the last bit of the missing-plugin installer string (small gotcha:
4431 doesn't take into account ranks).
4433 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4436 * docs/gst/gstreamer-sections.txt:
4438 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4439 (gst_registry_lookup_locked):
4440 * gst/gstregistry.h:
4441 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4442 (gst_registry_binary_initialize_magic),
4443 (gst_registry_binary_save_string),
4444 (gst_registry_binary_save_pad_template),
4445 (gst_registry_binary_save_feature),
4446 (gst_registry_binary_save_plugin),
4447 (gst_registry_binary_write_cache),
4448 (gst_registry_binary_check_magic),
4449 (gst_registry_binary_load_pad_template),
4450 (gst_registry_binary_load_feature),
4451 (gst_registry_binary_load_plugin),
4452 (gst_registry_binary_read_cache):
4453 * gst/gstregistrybinary.h:
4454 * gst/gstregistryxml.c: (load_feature),
4455 (gst_registry_xml_read_cache):
4456 commit binary registry (disabled by default, see #359653)
4458 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4460 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4461 Fix 'make check' too.
4463 2007-01-10 Andy Wingo <wingo@pobox.com>
4465 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4468 * docs/design/part-negotiation.txt: Update with, um, one way that
4469 pull-mode negotiation might work?
4472 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4473 that the pad must be a src pad; makes sense to call it the other
4474 way in pull mode, and the logic is symmetric anyway.
4476 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4478 * plugins/elements/gstfilesink.c:
4479 Include <stdio.h> for fseeko().
4481 2007-01-10 Wim Taymans <wim@fluendo.com>
4485 Reserve LATENCY event.
4487 2007-01-09 Wim Taymans <wim@fluendo.com>
4489 * docs/design/draft-latency.txt:
4492 2007-01-09 Wim Taymans <wim@fluendo.com>
4494 * docs/design/draft-latency.txt:
4498 * gst/gststructure.c:
4502 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4504 * tests/check/.cvsignore:
4505 Ignore test-registry.xml as well.
4507 2007-01-09 Wim Taymans <wim@fluendo.com>
4509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4510 unref data at the end when we are done with the pad.
4512 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4514 * docs/gst/gstreamer-sections.txt:
4515 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4516 (init_post), (gst_deinit), (gst_update_registry):
4518 API: add gst_update_registry() (#391296).
4520 * tests/check/Makefile.am:
4521 * tests/check/gst/gstregistry.c:
4522 * tests/check/gst/.cvsignore:
4523 Simple unit test for the above.
4525 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4527 * gst/gstregistry.c: (gst_registry_scan_path_level):
4528 Plugin extension on HP-UX is .sl, add that to the list of approved
4529 plugin extensions (see #393796).
4531 * tests/check/gst/gstpad.c: (GST_START_TEST):
4532 ulong => gulong. Fixes compilation with HP-UX compiler.
4534 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4535 Fix compilation if valgrind headers are not available.
4537 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4539 * win32/common/libgstreamer.def:
4540 Add new exported function.
4541 * win32/vs6/libgstbase.dsp:
4542 Add gstdataqueue.c to the build.
4543 * win32/vs6/libgstcoreelements.dsp:
4544 Add gstmultiqueue.c to the build.
4546 2007-01-06 Andy Wingo <wingo@pobox.com>
4548 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4549 activate_pull(), providing for a way to specialize the process of
4550 spawning a thread to pull on the sink pad. There is a default
4553 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4554 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4555 (gst_base_sink_init): Renamed pad activation functions (inserting
4556 "_pad" in their names). Refactor to use the new activate_pull
4557 vmethod, as appropriate.
4558 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4559 default activate_pull function to start a task pulling from the
4560 sink pad, as before.
4562 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4563 on the pads if necessary, as in push()/chain(). Update docs.
4564 Shouldn't affect existing pull() usage as it is currently only
4565 being used on buffers without caps.
4567 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4569 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4571 Call g_thread_init() first thing in gst_init() / gst_check_init().
4572 When initialisation is done via gst_init_get_option_group() and
4573 GOption parsing, issue a warning if the GLib thread system has not
4574 been initialised yet by the time gst_init_get_option_group() is
4575 called, as it's quite likely other GLib functions such as
4576 g_option_context_new() have been called already then, and
4577 g_thread_init() must be called before any other GLib function. The
4578 application in question must be fixed in that case, since memory
4579 corruption might happen otherwise.
4580 We issue the warning because even if the GLib folks decide to work
4581 around the problem on their end in future, this is still an issue
4582 with all GLib versions >= 2.10.0, so we should warn until we depend
4583 on a GLib version we know to be safe.
4584 Update documentation as well.
4587 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4589 * tools/gst-inspect.c: (main):
4590 * tools/gst-launch.c: (main):
4591 * tools/gst-typefind.c: (main):
4592 * tools/gst-xmlinspect.c: (main):
4593 Call g_thread_init() really really early, before any other GLib
4594 function (see #342564 and recent discussion on gtk-devel-list).
4596 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4598 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4600 * gst/gst_private.h:
4601 * gst/gstconfig.h.in:
4603 On win32, all the __declspec stuff for symbol exporting is
4604 apparently only needed with MSVC, but doesn't work with MingW.
4605 Fixes compilation with MingW and #391909.
4607 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4609 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4610 Change some GST_ERROR_OBJECT that aren't really errors to
4611 GST_WARNING_OBJECT in order to reduce terminal spam.
4613 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4615 * tests/check/Makefile.am:
4616 disable test again, as there seem to be still race problems
4618 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4620 * tests/check/Makefile.am:
4621 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4622 (GST_START_TEST), (queue_suite):
4623 enable queue test again, add tests for the leaky behaviour
4625 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4628 * tests/examples/Makefile.am:
4629 Compile adapter test/example only if the required headers are
4630 available (fixes #391915).
4632 2007-01-01 David Schleef <ds@schleef.org>
4635 Restore the previous signal handler for SIGSEGV instead of
4636 setting to default, since we may have stolen it away from
4637 someone. (i.e., Mono)
4639 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4641 * docs/random/draft-missing-plugins.txt:
4642 Some small additions and clarifications.
4644 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4646 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4647 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4648 since that can lead to random memory corruptions and crashes
4649 (may or may not be related to #383244, #386711, and #386711).
4651 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4653 * tests/check/.cvsignore:
4654 * tests/check/Makefile.am:
4655 sync .cvsignome and CLEANFILES
4657 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4659 * tests/check/Makefile.am:
4662 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4664 * docs/design/part-states.txt:
4665 two tiny additional comments
4667 * gst/gststructure.c:
4670 * tests/check/Makefile.am:
4671 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4673 disable test for now, unless it gets fixed
4675 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4677 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4679 fix race in underrun test
4681 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4683 * tests/check/elements/.cvsignore:
4686 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4688 try to narrow test failure
4690 2006-12-21 David Schleef <ds@schleef.org>
4692 * plugins/elements/gstfakesrc.c:
4693 Use g_random_int_range(), since it produces better random
4694 numbers in a range than almost-correct floating point code.
4696 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4698 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4699 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4700 (gst_check_teardown_sink_pad):
4701 do not automatically (de)activate pads
4703 * tests/check/Makefile.am:
4704 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4705 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4706 add new, yet simple tests for queue
4708 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4709 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4710 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4712 * tests/check/elements/identity.c: (cleanup_identity):
4713 consistent pad (de)activation
4715 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4717 Patch by: Sebastian Dröge <slomo ubuntu com>
4719 * libs/gst/base/gstcollectpads.c:
4720 Fix two doc typos (#387866).
4722 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4724 * docs/manual/advanced-dparams.xml:
4725 Fix typo (g_object_control_properties() doesn't exist).
4727 2006-12-19 Edward Hervey <edward@fluendo.com>
4729 * gst/gstsegment.c: (gst_segment_set_seek):
4730 Fine tune the cases where the segment start/stop values are really
4732 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4733 Add tests for the return values of gst_segment_set_seek().
4735 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4740 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4742 Fix incorrect documentation and flesh it out a bit more.
4743 Set default values for the max properties on the GParamSpec as well,
4744 so it shows up correctly in gst-inspect.
4746 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4748 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4749 Correct docs of queue, add more detail and crosslink it more.
4751 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4753 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4754 Print additional debug info when the stream isn't perfectly
4755 timestamped; don't try to use invalid durations.
4757 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4759 * docs/design/Makefile.am:
4760 Dist new design docs.
4762 2006-12-16 Wim Taymans <wim@fluendo.com>
4764 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4766 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4767 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4768 (gst_collect_pads_stop), (gst_collect_pads_event),
4769 (gst_collect_pads_chain):
4770 * libs/gst/base/gstcollectpads.h:
4771 Add refcounting to the collectpads data so we can track when it's safe
4772 to free the data. Fixes #383382.
4774 2006-12-15 Wim Taymans <wim@fluendo.com>
4776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4777 (gst_collect_pads_remove_pad):
4778 Automatically activate/deactivate pads when they are added to a
4779 started/stoped collectpads.
4781 2006-12-15 Wim Taymans <wim@fluendo.com>
4783 * gst/gstelement.c: (gst_element_add_pad):
4784 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4785 * gst/gstpad.c: (gst_pad_init):
4786 Set pads to FLUSHING when they are created. Check, warn and fix when a
4787 demuxer adds an inactive pad to itself when running. Fixes #339326.
4789 2006-12-15 Wim Taymans <wim@fluendo.com>
4791 * gst/gstelement.c: (gst_element_class_init),
4792 (gst_element_default_send_event), (gst_element_send_event),
4793 (gst_element_default_query), (gst_element_query):
4794 Expose default element send_event and query handling as vmethods that
4795 subclasses can chain up to.
4797 2006-12-15 Wim Taymans <wim@fluendo.com>
4799 * gst/gstelement.c: (gst_element_set_state_func):
4800 Small documentation fixes.
4802 2006-12-15 Wim Taymans <wim@fluendo.com>
4804 * docs/design/draft-latency.txt:
4805 Checked in draft for handling latency in pipelines.
4807 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4811 * gstreamer.spec.in:
4814 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4816 * gst/gst.c: (init_pre), (init_post):
4817 init_pre() and init_post() might be called via our GOptionGroup or
4818 from gst_init(), and we should skip both of them if we've already
4819 been initialised, otherwise we will init some things twice or add
4820 two default log functions.
4822 2006-12-13 Edward Hervey <edward@fluendo.com>
4824 * docs/manual/basics-bus.xml:
4825 No, gst_main_loop does not exist. Its g_main_loop.
4826 Discovered by somebody who abused the copy-paste technique of coding :)
4828 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4830 * gst/gstghostpad.c:
4831 Log ghostpad debug stuff to the GST_PADS category as well rather
4832 than just to the default category.
4834 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4837 * gst/gst.c: (init_pre):
4838 Add some basic system details such as OS and architecture
4839 to the debug output if possible, courtesy of uname().
4841 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4843 * docs/gst/running.xml:
4844 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4845 environment variables.
4847 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4849 * tests/check/gst/gstbin.c: (GST_START_TEST):
4850 It is acceptable to have a refcount of 2 or 3 at this point in the
4851 test, because the pipeline might be just posting its state_change
4852 message. The next line then waits for that message to appear using
4853 bus_poll, so that should be fine too.
4855 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4857 * gst/gst.c: (ensure_current_registry_forking):
4858 Ignore EINTR when reading from the child registry pipe.
4859 Explicitly ignore the return value from close, since it makes no
4862 * gst/gstminiobject.c: (gst_mini_object_ref),
4863 (gst_mini_object_unref):
4864 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4866 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4867 When removing cached plugins, remove their features too, so they're
4868 not visible after they've disappeared.
4870 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4871 In the unlikely case that we are linking pads with no parents, don't
4872 crash trying to get the non-existent parent bin.
4874 * gst/parse/grammar.y:
4875 Output debug in the PIPELINE category
4877 2005-03-08 Wim Taymans <wim@fluendo.com>
4879 Patch by: René Stadler <mail at renestadler dot de>
4881 * gst/gstclock.c: (gst_clock_new_periodic_id):
4882 Reject invalid clock times for interval of periodic ids.
4885 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4887 * gst/gstelementfactory.c: (gst_element_factory_create):
4888 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4889 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4890 * tools/gst-inspect.c: (print_element_info):
4891 Fix refcounting of gst_plugin_feature_load to match the docs.
4894 2006-12-07 Wim Taymans <wim@fluendo.com>
4896 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4897 (gst_base_sink_get_position):
4898 Improve debugging of events.
4900 2006-12-07 Wim Taymans <wim@fluendo.com>
4902 Patch by: René Stadler <mail at renestadler dot de>
4904 * gst/gstclock.c: (gst_clock_id_wait):
4905 Make period ids add the interval to the origial requested time instead
4906 of the possibly updated time which can be wrong when there are multiple
4907 waiters for the same id. Fixes #382592.
4909 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4910 (gst_system_clock_id_wait_jitter_unlocked),
4911 (gst_system_clock_id_wait_jitter):
4912 Fix restart in the async notify thread when an async entry is added to
4913 the front of the list. Fixes #381492.
4915 * tests/check/gst/gstsystemclock.c: (store_callback),
4916 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4917 Added test for multiple async waits.
4918 Added test for async wait order.
4920 2006-12-07 Wim Taymans <wim@fluendo.com>
4922 * gst/gstbin.c: (gst_bin_query):
4923 Add some more docs about the POSITION query.
4925 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4928 Bump version nano - back to CVS.
4930 === release 0.10.11 ===
4932 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4935 releasing 0.10.11, "Love never runs on time"
4937 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4939 * win32/common/libgstbase.def:
4940 * win32/common/libgstreamer.def:
4941 * win32/vs8/libgstbase.vcproj:
4942 * win32/vs8/libgstcoreelements.vcproj:
4943 * win32/vs8/libgstreamer.vcproj:
4944 Fix compilation on win32 under VS8
4945 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4946 Partially fixes #381175
4948 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4950 * gst/gstvalue.c: (gst_value_compare_fraction):
4951 If someone is foolish enough to compare 2 fractions with denominator =
4952 0, return UNORDERED rather than aborting.
4954 2006-11-28 Edward Hervey <edward@fluendo.com>
4956 * libs/gst/base/Makefile.am:
4957 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4958 (gst_data_queue_base_init), (gst_data_queue_class_init),
4959 (gst_data_queue_init), (gst_data_queue_new),
4960 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4961 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4962 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4963 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4964 (gst_data_queue_set_flushing), (gst_data_queue_push),
4965 (gst_data_queue_pop), (gst_data_queue_drop_head),
4966 (gst_data_queue_set_property), (gst_data_queue_get_property):
4967 * libs/gst/base/gstdataqueue.h:
4968 New GstDataQueue object for threadsafe queueing. Most useful for
4969 elements that need some queueing functionnality.
4970 * docs/libs/gstreamer-libs-docs.sgml:
4971 * docs/libs/gstreamer-libs-sections.txt:
4972 Insert documentation for GstDataQueue
4973 * plugins/elements/Makefile.am:
4974 * plugins/elements/gstelements.c:
4975 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4976 (gst_multi_queue_class_init), (gst_multi_queue_init),
4977 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4978 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4979 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4980 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4981 (gst_multi_queue_loop), (gst_multi_queue_chain),
4982 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4983 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4984 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4985 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4986 (wake_up_next_non_linked), (compute_next_non_linked),
4987 (single_queue_overrun_cb), (single_queue_underrun_cb),
4988 (single_queue_check_full), (gst_single_queue_new):
4989 * plugins/elements/gstmultiqueue.h:
4990 New multiqueue element, using GstDataQueue. Used for queuing multiple
4992 Closes #344639 and #347785
4994 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4996 * docs/pwg/advanced-types.xml:
4997 add more missing type details
4999 * tools/gst-run.c: (main):
5000 remove unused variable
5002 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5004 * docs/libs/Makefile.am:
5005 * docs/libs/gstreamer-libs.types:
5006 add types of base classes to enable gobject specific stuff in the docs
5008 * docs/random/ensonic/embedded.txt:
5009 more ideas about isolating platform specific things
5011 2006-11-20 Wim Taymans <wim@fluendo.com>
5013 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5015 * libs/gst/check/gstcheck.h:
5016 Fix compilation and running against 0.9.4. Fixes #377332.
5018 2006-11-20 Wim Taymans <wim@fluendo.com>
5020 * gst/gstsegment.c: (gst_segment_set_seek),
5021 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5022 (gst_segment_to_running_time):
5023 Fix boundary checking in to_running_time() and to_stream_time().
5026 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5027 stream and running time can now be calculated for the complete
5030 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5032 * gst/gstpad.c: (gst_pad_push_event):
5033 Can't access event structure after giving away ownership of
5036 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5038 * docs/random/ensonic/embedded.txt:
5039 * docs/random/ensonic/profiling.txt:
5040 * docs/random/ensonic/receipies.txt:
5043 2006-11-13 Wim Taymans <wim@fluendo.com>
5045 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5048 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5050 2006-11-13 Wim Taymans <wim@fluendo.com>
5052 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5054 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5055 Store new length in segment duration so we don't keep on calling the
5056 potentially expensize get_size() call. Fixes #370865.
5058 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5060 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5062 * win32/common/libgstreamer.def:
5063 Add two missing symbols (#366492).
5065 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5067 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5068 (gst_adapter_take_buffer):
5069 Fix format string to use all its arguments.
5070 Remove useless >= check on a guint
5072 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5074 * tests/examples/adapter/.cvsignore:
5075 Ignore build file as commanded by the build-bot
5077 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5079 * tests/examples/adapter/Makefile.am:
5080 * tests/examples/adapter/adapter_test.c: (run_test_take),
5081 (run_test_take_buffer), (run_tests), (main):
5083 Add new files from the previous commit
5085 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5089 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5090 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5091 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5092 * libs/gst/base/gstadapter.h:
5093 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5094 (GST_START_TEST), (gst_adapter_suite):
5095 * tests/examples/Makefile.am:
5096 Do some optimisation work in GstAdapter to avoid copies in more cases.
5097 It could still do slightly better by merging buffers when
5098 gst_buffer_is_span_fast is true, but is already faster.
5100 Also, avoid traversing a single-linked list to append each incoming
5101 buffer inside the adapter.
5103 Add simple test app that times the adapter behaviour in different
5104 situations, and extend the unit test to check that bytes enter and
5105 exit the adapter in their original order.
5107 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5109 * docs/random/draft-missing-plugins.txt:
5110 Update: use element message instead of adding a new message
5111 type to the core; don't provide GStreamer API to initiate the
5112 plugin download, just provide API to compose the strings needed
5113 and let an external libgimmestuff handle the rest.
5115 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5117 * tools/gst-inspect.c: (print_element_properties_info):
5118 Print a string instead of 'unknown type' for GValueArray properties
5120 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5122 * docs/random/draft-missing-plugins.txt:
5125 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5127 * tests/examples/typefind/typefind.c: (type_found), (main):
5128 Make typefind element example work again (#371894); add a
5131 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5133 * docs/random/draft-missing-plugins.txt:
5134 Commit initial draft about how to deal with missing plugins,
5135 needs work (API too).
5137 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5139 * docs/pwg/advanced-types.xml:
5140 documents the new caps elements (see #363118)
5142 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5144 * gst/gstplugin.c: (gst_plugin_load_file):
5145 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5146 (gst_file_src_map_region), (gst_file_src_start):
5147 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5148 (gst_file_index_commit):
5149 Use g_strerror() instead of strerror() - we want UTF-8.
5151 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5153 Patch by: Peter Kjellerstedt <pkj at axis com>
5155 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5156 Another printf fix (#371493).
5158 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5160 * tests/check/gst/gsttag.c:
5161 relicence (okay with author=company)
5163 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5165 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5166 (gst_pad_push_event):
5167 Enhance debug and improve docs
5172 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5174 * docs/random/ensonic/distributed.txt:
5175 * docs/random/ensonic/profiling.txt:
5178 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5180 * docs/gst/gstreamer-sections.txt:
5181 add new API and fix the build
5183 * gst/gstbin.c: (gst_bin_recalc_state):
5184 * gst/gstelement.c: (gst_element_message_full),
5185 (gst_element_get_state_func), (gst_element_set_state_func):
5186 use new API and improve logging
5188 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5190 API: add function to get StateChangereturn names to improve logs
5192 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5194 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5195 I'm considering shooting the next person to put strerror stuff
5196 in the translateable part of the message.
5198 2006-11-03 Wim Taymans <wim@fluendo.com>
5200 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5201 Get the type and printf conversion specifiers right.
5203 2006-11-03 Wim Taymans <wim@fluendo.com>
5205 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5207 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5208 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5209 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5210 Some small cleanups. Improve debugging.
5212 Signal all waiting threads with a broadcast instead of just one.
5215 2006-11-03 Wim Taymans <wim@fluendo.com>
5217 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5218 (gst_fd_src_create):
5220 Only update fd when it's different from the old.
5222 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5224 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5225 Printf fixes for PPC/OSX, take two (#369366).
5227 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5229 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5231 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5232 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5233 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5234 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5235 don't cast to long long for portability reasons, but use
5236 GLib's types instead.
5238 2006-10-30 Michael Smith <msmith@fluendo.com>
5240 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5241 Get the arguments to lseek() the right way around.
5244 2006-10-30 Wim Taymans <wim@fluendo.com>
5246 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5249 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5251 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5253 Patch by: Kjartan Maraas <kmaraas at gnome org>
5255 * docs/design/part-MT-refcounting.txt:
5256 * docs/random/wtay/capsnego2-docs:
5259 Typo fixes (#366212).
5261 2006-10-28 Wim Taymans <wim@fluendo.com>
5263 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5266 * win32/common/libgstbase.def:
5267 * win32/common/libgstreamer.def:
5268 * win32/vs8/libgstbase.vcproj:
5269 * win32/vs8/libgstcontroller.vcproj:
5270 Add needed entries in .def files.
5272 Rearrange def files in vs8 solutions. Fixes #366286.
5274 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5276 * win32/common/gstconfig.h:
5277 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5278 hand-made win32 gstconfig.h. Fixes #366321.
5280 2006-10-27 Wim Taymans <wim@fluendo.com>
5282 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5283 (gst_ghost_pad_new_full):
5284 Make acceptcaps return TRUE when we don't have a target, just like
5287 2006-10-27 Wim Taymans <wim@fluendo.com>
5289 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5290 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5292 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5294 * gst/gststructure.c: (gst_structure_id_set_value):
5295 If someone tries to set a non-UTF8 string field on a structure,
5296 don't just print a warning, but also ignore the request and do
5297 not change/add that field to the structure.
5299 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5302 2006-10-25 David Schleef <ds@schleef.org>
5305 g_hash_table_insert() needs a cast to a non-const pointer duh.
5307 2006-10-25 David Schleef <ds@schleef.org>
5311 Change name parameter of _gst_debug_register_funcptr to const
5312 to reflect the constness of its use in the function as well
5313 as to quiet a gcc warning.
5315 2006-10-25 Edward Hervey <edward@fluendo.com>
5317 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5318 Don't push the buffer if it's empty.
5321 2006-10-24 Wim Taymans <wim@fluendo.com>
5326 * libs/gst/base/gstbasetransform.c:
5327 (gst_base_transform_sink_eventfunc):
5328 Debug segment values *after* updating them as this is more
5331 2006-10-23 Wim Taymans <wim@fluendo.com>
5333 * docs/design/part-events.txt:
5336 * docs/design/part-block.txt:
5337 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5338 (gst_pad_push_event):
5339 Revert BLOCKING patch, it tries to be smart without really having a
5340 clear idea what or how. So, now we discard all FLUSHING events again on
5341 a blocking pad. Should fix gnonlin again.
5343 2006-10-23 Wim Taymans <wim@fluendo.com>
5345 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5347 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5348 (gst_base_src_start), (gst_base_src_activate_push):
5349 Make sure size is always initialized. Fixes #364388.
5351 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5353 * docs/random/ensonic/distributed.txt:
5354 add some ideas about doing distributed processing
5356 * docs/random/ensonic/profiling.txt:
5357 get_rusage look promising
5359 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5361 * docs/manual/basics-helloworld.xml:
5362 Add a cast in example to fix compile warning
5364 2006-10-18 Wim Taymans <wim@fluendo.com>
5366 * gst/gstsegment.c: (gst_segment_set_last_stop),
5367 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5368 Relax arg checking again, -1 is allowed.
5370 2006-10-18 Wim Taymans <wim@fluendo.com>
5372 * gst/gstsegment.c: (gst_segment_set_last_stop),
5373 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5374 _set_last_stop() must be with a value != -1
5375 A _TYPE_SET to -1 means seek to 0.
5376 Calc last_stop correctly for negative rates.
5377 Make sure we work with positive durations when updating a segment.
5379 2006-10-18 Wim Taymans <wim@fluendo.com>
5381 * docs/design/part-live-source.txt:
5385 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5388 Add an explicit cast to GstBuffer** to keep old code that added an
5389 explicit cast to GstMiniObject** for gst_mini_object_replace()
5390 compiling without warning.
5392 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5394 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5395 check for validity of dates
5397 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5399 * docs/gst/gstreamer-sections.txt:
5400 Forgot this one, makes gtk-doc shut up.
5402 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5404 Patch by: Peter Kjellerstedt <pkj at axis com>
5407 Don't define xmlNodePtr to gpointer if the core was built with
5408 --disable-loadsave and --disable-registry, this will break
5409 applications that want to use libxml2 but are buildling against a
5410 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5411 instead so we don't have to mess with the libxml2 namespace
5414 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5417 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5418 type-punned pointer warnings.
5420 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5423 Add casts to the correct return type to state <=> state transition
5426 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5428 * docs/design/part-live-source.txt:
5429 describe howto handle latency
5431 * docs/random/ensonic/profiling.txt:
5434 * tools/gst-plot-timeline.py:
5435 fix log parsing for solaris, remove unused function
5437 2006-10-16 Wim Taymans <wim@fluendo.com>
5439 * docs/design/part-trickmodes.txt:
5441 Update some docs regarding reverse playback.
5443 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5445 Patch by: Marcus Granado <mrc dot gran at gmail com>
5447 * win32/vs8/grammar.vcproj:
5448 Error out with a warning if glib-genmarshal.exe is not in path,
5449 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5451 2006-10-13 Wim Taymans <wim@fluendo.com>
5453 * gst/gstsegment.c: (gst_segment_set_seek):
5454 When seeking to stop -1, set last_stop (current position) to the
5455 duration of the segment.
5457 2006-10-13 Wim Taymans <wim@fluendo.com>
5460 Clarify _NO_PREROLL a bit more.
5465 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5466 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5467 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5468 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5469 due to wrong locking order. Fixes #361769.
5470 Remove some redundant/misplaced checks in pad_block.
5472 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5473 For negative rates, count backwards from the duration.
5475 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5477 * gst/gsterror.c: (_gst_library_errors_init):
5478 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5479 up with something better).
5481 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5483 * win32/vs6/libgstreamer.dsp:
5484 * win32/vs7/libgstreamer.vcproj:
5485 * win32/vs8/libgstreamer.vcproj:
5486 Don't reference glib-compat.c which is currently not used and not
5487 disted; add gstquark.c which was recently added. Fixes #361730.
5489 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5491 * win32/common/libgstbase.def:
5492 * win32/common/libgstcontroller.def:
5493 * win32/common/libgstreamer.def:
5494 Add gst_caps_merge() and a bunch of other recently-added functions.
5497 2006-10-11 Wim Taymans <wim@fluendo.com>
5499 * docs/plugins/gstreamer-plugins.args:
5500 * docs/plugins/inspect/plugin-coreelements.xml:
5501 * docs/plugins/inspect/plugin-coreindexers.xml:
5502 Update element args.
5504 * gst/gstsystemclock.c:
5505 Small comment update.
5507 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5508 (gst_tee_request_new_pad), (gst_tee_release_pad),
5509 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5510 (gst_tee_sink_activate_pull):
5511 * plugins/elements/gsttee.h:
5513 Add default property defines.
5514 Implement release pad function.
5515 Give properties better blubs etc.
5516 Activate pads before adding them to a running tee.
5517 Do simple buffer_alloc on the first requested pad.
5518 Post error when activation fails.
5520 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5522 * gst/gst.c: (ensure_current_registry_forking):
5523 Check return value of write() to make compiler happy.
5525 2006-10-11 Wim Taymans <wim@fluendo.com>
5527 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5529 * plugins/elements/gstqueue.c: (gst_queue_chain):
5530 Recheck queue filledness after signalling the overrun when we're about
5531 to leak downstream because we released the lock when emitting the signal
5532 and the queue could be empty again. Fixes #352345.
5534 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5536 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5537 Fix refcounting here too, just like we did for _new_valist() a few
5538 days ago (#357180) (thanks to René Stadler). Also remove all those
5539 'Since: 0.9' from the gtk-doc blobs.
5541 * tests/check/libs/controller.c: (controller_refcount_new_list),
5542 (gst_controller_suite):
5543 Unit test for the above.
5545 2006-10-10 Wim Taymans <wim@fluendo.com>
5547 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5549 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5550 (gst_pad_save_thyself):
5552 Write pad direction in XML output. Fixes #345496.
5554 2006-10-10 Wim Taymans <wim@fluendo.com>
5556 Patch by: René Stadler <mail at renestadler dot de>
5558 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5559 (gst_controller_new_list), (_gst_controller_dispose),
5560 (_gst_controller_finalize), (_gst_controller_class_init):
5561 Take ref to controlled object so that it cannot disappear.
5564 2006-10-10 Wim Taymans <wim@fluendo.com>
5566 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5567 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5568 (gst_check_teardown_sink_pad):
5569 Activate/deactivate pads in setup/teardown respectively.
5571 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5573 Patch by: Josep Torre Valles <josep@fluendo.com>
5576 Cast values when making gstenumtypes.h. This pacifies Forte
5577 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5580 2006-10-09 Wim Taymans <wim@fluendo.com>
5582 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5583 Rename some more @cur to @start to fix docs.
5585 * gst/gstsegment.c: (gst_segment_set_seek):
5587 time and start must always stay in sync as defined in design doc.
5589 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5590 Rename param to fix docs.
5592 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5593 Check that start and time are in sync.
5595 * tests/check/pipelines/parse-launch.c:
5596 (gst_parse_test_element_change_state):
5597 Activate pad before adding to the element.
5599 2006-10-09 Wim Taymans <wim@fluendo.com>
5601 * docs/design/part-qos.txt:
5606 Update seek event docs regarding negative rates.
5607 Rename @cur to @start.
5609 * gst/gstsegment.c: (gst_segment_set_seek):
5611 Update set_seek docs regarding negative rates.
5612 Correctly update last_stop to @stop when dealing with negative
5614 Rename @cur to @start.
5616 * tests/check/gst/gstpad.c: (GST_START_TEST):
5617 Activate pads before trying to use them.
5619 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5620 (gst_segment_suite):
5621 Add simple check for segments and negative rates.
5623 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5625 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5627 * docs/gst/gstreamer-sections.txt:
5628 API: add gst_tag_list_is_empty() (#360467).
5630 * tests/check/gst/gsttag.c: (GST_START_TEST):
5633 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5636 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5637 a value that doesn't fit on enumeration.
5639 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5641 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5642 Remove local debugging system and use Gstreamer's instead.
5644 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5646 Patch by: Josep Torre Valles <josep@fluendo.com>
5648 * common/m4/gst-error.m4:
5649 Disable warning of statement not reached on Forte.
5651 Fix warning on Forte (value doesn't fit on enumeration).
5652 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5653 Fix warning on Forte (value doesn't fit on enumeration).
5654 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5655 DEBUG macro says it takes minimum of 2 args and so Forte
5656 complains about the use with just 1 arg.
5657 * plugins/elements/gstfdsink.c:
5658 * plugins/elements/gstfdsrc.c:
5659 * plugins/elements/gstfilesink.c:
5660 * plugins/elements/gstfilesrc.c:
5661 Use correct return type for the uri handler implementations.
5663 All these fix warnings in Forte. Fixes bug #360860.
5665 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5668 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5669 format string, so don't use G_GNUC_PRINTF for those versions.
5671 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5673 * gst/gsttaglist.c: (gst_is_tag_list):
5675 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5677 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5678 Small test for the above.
5680 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5683 Less tabs, more spaces.
5685 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5688 Those two function declarations do actually belong there, revert
5689 commit from yesterday that turned them intro macros.
5691 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5693 Patch by: Josep Torre Valles <josep@fluendo.com>
5695 * gst/gst.c: (gst_init_get_option_group):
5696 Fix empty declaration and type mismatch.
5697 * gst/gstbin.c: (gst_bin_change_state_func):
5699 * gst/gstelement.c: (gst_element_continue_state),
5700 (gst_element_set_state_func), (gst_element_change_state),
5701 (gst_element_change_state_func):
5702 Fix type mismatches.
5703 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5704 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5705 Cast as appropriate.
5706 * gst/gstobject.c: (gst_class_signal_connect):
5707 Cast as appropriate. The function pointer parameter really
5708 has the wrong type but would break API if we change it.
5710 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5711 order of including string.h.
5712 * gst/gstutils.c: (gst_element_state_get_name):
5713 Remove unreachable line.
5714 * gst/gstxml.c: (gst_xml_parse_doc):
5716 All these caught by Forte.
5718 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5720 Patch by: Josep Torre Valles <josep@fluendo.com>
5722 * common/m4/gst-error.m4:
5724 We need to disable warnings on Forte for empty declarations
5725 due to gst-indent adding ;s to lines that just use macros
5726 where the macro actually doesn't need a ; at end to end
5729 2006-10-06 Wim Taymans <wim@fluendo.com>
5731 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5732 (gst_file_sink_close_file), (gst_file_sink_event),
5733 (gst_file_sink_render):
5734 Add some FIXME for the NEWSEGMENT handling.
5736 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5738 * gst/parse/grammar.y:
5739 Remove static function gst_parse_element_lock as all it does
5740 is return. Looks like cruft from 0.8.
5742 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5744 Patch by: Josep Torre Valles <josep@fluendo.com>
5746 * common/m4/gst-error.m4:
5748 * libs/gst/net/Makefile.am:
5749 Fix a compilation issue with Forte on Solaris. inet_aton is in
5752 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5754 * gst/gstpad.c: (pre_activate):
5755 * gst/gstregistry.c: (gst_registry_scan_path_level):
5756 * gst/gstregistryxml.c: (load_plugin):
5757 * libs/gst/controller/gstcontroller.c:
5758 (gst_controlled_property_set_interpolation_mode):
5759 * libs/gst/dataprotocol/dataprotocol.c:
5760 (gst_dp_packet_from_event_1_0):
5761 * libs/gst/net/gstnetclientclock.c:
5762 (gst_net_client_clock_observe_times):
5763 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5766 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5769 * docs/gst/gstreamer-sections.txt:
5770 * gst/gstconfig.h.in:
5773 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5774 whether we can use G_GNUC_PRINTF in other header files and at
5775 least check the printf format/arguments of debug messages and
5776 GST_ELEMENT_ERROR messages when the printf extension is not
5778 Replace more tabs with spaces in gstinfo.h and remove two spurious
5779 function declarations in GST_DISABLE_DEBUG part with macros.
5781 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5783 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5784 More docs for the sync-message signal (mention that it is not
5785 emitted by default); log message structures of messages posted on
5788 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5790 * gst/gst.c: (ensure_current_registry_forking):
5791 Use a pipe pair to receive status results from the forked child, and
5792 ignore the result from waitpid. Fixes #355499
5794 2006-10-02 Wim Taymans <wim@fluendo.com>
5796 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5797 (gst_ghost_pad_suite):
5800 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5803 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5805 2006-10-02 Edward Hervey <edward@fluendo.com>
5807 * docs/design/part-block.txt:
5808 Further explain the use of flushing on blocked pads.
5809 * docs/gst/gstreamer-sections.txt:
5810 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5811 (gst_pad_push_event):
5813 Added new GstPadFlag : GST_PAD_BLOCKING.
5814 Adds the notion of pads really blocking, which enables to properly
5815 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5817 API: gst_pad_is_blocking()
5818 API: GST_PAD_IS_BLOCKING() macro
5819 API: GST_PAD_BLOCKING GstPadFlag
5821 2006-10-02 Wim Taymans <wim@fluendo.com>
5823 Patch by: mrcgran <mrc.gran at gmail dot com>
5825 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5826 Filter the proxied caps against the padtemplate if we have one.
5828 * gst/gstquery.c: (gst_query_new_segment):
5829 Add include for gstinfo.h so that compilation with
5830 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5832 2006-10-02 Wim Taymans <wim@fluendo.com>
5834 Patch by: Alessandro Decina <alessandro at nnva org>
5836 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5837 (gst_file_sink_set_location), (gst_file_sink_open_file),
5838 (gst_file_sink_close_file), (gst_file_sink_event),
5839 (gst_file_sink_render):
5840 Set file to NULL when closing filesink so that we can set a new filename
5841 in READY. Fixes #358613.
5843 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5845 Patch by: Alessandro Decina <alessandro at nnva org>
5847 * gst/gstevent.c: (_gst_event_copy):
5848 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5849 with event structures by setting the parent refcount address of the
5850 copied structure to the address of the refcount member of the newly
5851 copied event rather than the address of the refcount member of the
5852 original event. Fixes #358737.
5854 * tests/check/gst/gstevent.c: (GST_START_TEST):
5855 Unit test for the above.
5857 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5859 * docs/design/Makefile.am:
5860 Dist some more files.
5862 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5864 * tests/check/libs/controller.c: (GST_START_TEST),
5865 (gst_controller_suite):
5866 Add test for the previous fix; add some more tests
5867 for correct refcounting behaviour; fix a few leaks
5868 in test cases; call gst_controller_init() at start
5871 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5873 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5874 (gst_controller_set_from_list):
5875 Don't g_return_val_if_fail() on timed values with invalid timestamps
5876 inside a critical section without unlocking the mutex. Spotted by
5877 René Stadler. (#357617)
5878 Also, fix up refcounting properly: when returning an existing
5879 controller, we should increase the reference only once and not
5880 once per property and when trying to control a property again
5881 we should also increase the refcount.
5883 2006-09-29 Wim Taymans <wim@fluendo.com>
5885 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5886 * libs/gst/net/gstnettimeprovider.c:
5887 (gst_net_time_provider_thread):
5888 Stop reading commands when EOF as well.
5890 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5891 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5892 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5893 Unify description of the dump property.
5895 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5897 * tests/examples/manual/.cvsignore:
5898 OK, so it's actually cvsignore that needs changing. Stop laughing.
5900 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5902 * tests/examples/manual/Makefile.am:
5903 Gah, declare vars *before* using them
5905 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5907 * gst/gst.c: (init_pre), (scan_and_update_registry),
5908 (ensure_current_registry_nonforking),
5909 (ensure_current_registry_forking), (ensure_current_registry),
5910 (init_post), (gst_debug_help), (gst_deinit):
5911 * gst/gst_private.h:
5912 * gst/gstregistry.c: (gst_registry_finalize),
5913 (gst_registry_remove_features_for_plugin_unlocked),
5914 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5915 (gst_registry_scan_path),
5916 (_priv_gst_registry_remove_cache_plugins),
5917 (_priv_gst_registry_cleanup):
5918 * gst/gstregistry.h:
5919 Re-commit the registry changes, along with an extra fix:
5920 When a cached plugin is encountered at a different file path,
5921 update the stored path in the registry cache so that the parent
5922 process knows where it actually is now when it re-reads the registry
5923 cache. Fixes the thing that broke distcheck with the previous commit.
5925 * tests/check/Makefile.am:
5926 Clean up files named 'core' too when running make clean.
5928 * tests/examples/manual/Makefile.am:
5929 Set up a registry path for running these tests, and clean it properly
5932 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5935 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5936 want gmodule-no-export-2.0.pc instead so that we don't drag in
5937 --export-dynamic on every project that links to GStreamer.
5939 Also, make our export regex only match the start of symbols, rather
5940 than any symbol that contains '_gst' somewhere.
5942 * libs/gst/check/Makefile.am:
5943 The libgstcheck we build does however need export-dynamic, as it
5944 produces some symbols that don't match our _gst... style regex.
5947 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5949 * gst/gst.c: (init_pre), (scan_and_update_registry),
5950 (ensure_current_registry_nonforking),
5951 (ensure_current_registry_forking), (ensure_current_registry),
5952 (init_post), (gst_debug_help), (gst_deinit):
5953 * gst/gst_private.h:
5954 * gst/gstregistry.c: (gst_registry_finalize),
5955 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5956 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5957 (_gst_registry_cleanup):
5958 * gst/gstregistry.h:
5959 Revert previous change until I figure out why it breaks distcheck.
5961 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5963 * gst/gst.c: (init_pre), (scan_and_update_registry),
5964 (ensure_current_registry_nonforking),
5965 (ensure_current_registry_forking), (ensure_current_registry),
5966 (init_post), (gst_debug_help), (gst_deinit):
5968 Make init_pre and init_post take the full complement of GOptionFunc
5969 args so they can return useful GErrors. Make the registry updating
5972 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5973 ensure that the registry we're about to write out doesn't contain
5974 stale information about old-deleted plugin files.
5976 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5977 that deletion of plugin files is considered a registry change.
5979 * gst/gst_private.h:
5980 * gst/gstregistry.c: (gst_registry_finalize),
5981 (gst_registry_remove_features_for_plugin_unlocked),
5982 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5983 (gst_registry_scan_path),
5984 (_priv_gst_registry_remove_cache_plugins),
5985 (_priv_gst_registry_cleanup):
5986 * gst/gstregistry.h:
5987 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5988 by adding _priv prefix, so that they won't appear in the global
5989 symbol table. They still do atm though because of #318031. Move the
5990 prototypes to gst_private.h
5992 When removing a plugin, remove all features for that plugin too.
5995 2006-09-27 Wim Taymans <wim@fluendo.com>
5997 * docs/random/moving-plugins:
5998 Make it clear that the "compiled-in descriptions" really mean
5999 the element details.
6001 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6002 (gst_base_sink_wait_preroll):
6005 * docs/libs/gstreamer-libs-sections.txt:
6006 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6007 (gst_base_src_get_range), (gst_base_src_activate_push):
6008 * libs/gst/base/gstbasesrc.h:
6009 Added function to block while waiting for PLAYING, this function
6010 is used by live sources that block on the clock.
6011 API: gst_base_src_wait_playing()
6013 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6015 Patch by: Peter Kjellerstedt <pkj at axis com>
6018 gst-element-check.m4 is generated and should therefore be
6019 copied from the build dir rather than the source dir (#357593).
6020 'make distcheck' hasn't noticed this because we were disting
6021 the file as well, so stop doing that.
6023 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6025 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6026 Add some tests for gst_caps_intersect().
6028 * tools/gst-launch.c: (event_loop):
6029 Print all buffering percentages we get, even the 100% one.
6031 2006-09-26 Wim Taymans <wim@fluendo.com>
6033 * tools/gst-inspect.c: (print_element_properties_info),
6034 (print_signal_info):
6035 Fix printing of flags to match the look of enums.
6037 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6039 * gst/gstelementfactory.c:
6040 Fix typo in docs blurb.
6042 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6044 * gst/gsturi.c: (search_by_entry):
6045 Don't assert/crash here if a uri handler doesn't return any
6046 supported protocols. The list of protocols could be generated
6047 dynamically at runtime or at plugin registration, and an error
6048 in the underlying library shouldn't be fatal (#353301).
6050 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6053 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6054 (spotted by Peter Kjellerstedt).
6056 2006-09-23 Wim Taymans <wim@fluendo.com>
6058 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6060 * libs/gst/base/gstbasesrc.c:
6061 (gst_base_src_default_check_get_range), (gst_base_src_start),
6062 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6063 (gst_base_src_change_state):
6064 Match _start/_stop calls in the activate functions. Remove redundant
6065 _stop call from the state change function. Fixes #356910.
6066 Turn failure DEBUG into ERROR.
6068 2006-09-22 Wim Taymans <wim@fluendo.com>
6070 * docs/design/part-buffering.txt:
6071 * gst/gstmessage.c: (gst_message_new_buffering),
6072 (gst_message_parse_buffering):
6073 Update docs about buffering.
6075 * docs/design/part-trickmodes.txt:
6078 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6080 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6081 (gst_controller_new_list):
6082 Ref instances when returning them again (fixes #357180)
6084 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6086 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6087 Don't forget to release proxy lock when there's an error.
6089 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6092 Add extra initialisers for Caps things, to fix some plugin warnings
6095 2006-09-18 Wim Taymans <wim@fluendo.com>
6097 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6098 Also set template on the internal pad so that a getcaps from the
6099 target pad returns the template caps.
6101 2006-09-18 Wim Taymans <wim@fluendo.com>
6103 * gst/gstelement.c: (gst_element_post_message),
6104 (gst_element_dispose):
6105 Use _DEBUG_OBJECT some more.
6107 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6110 * tools/gst-launch.c: (main):
6111 If the toplevel element is not a GstPipeline, it must be put in a
6112 pipeline so that a bus and clock is selected.
6114 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6116 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6117 JITTER, RATE, and LATENCY query should be handled by the
6118 default case and not by the CONVERT query code.
6120 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6122 * gst/gstformat.c: (gst_format_register):
6123 Fix locking order (must take lock before using n_values).
6125 * gst/gstvalue.c: (gst_value_serialize_enum),
6126 (gst_value_deserialize_enum_iter_cmp),
6127 (gst_value_deserialize_enum):
6128 Fix serialisation/deserialisation of custom registered GstFormats.
6130 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6131 Unit test for custom format serialisation/deserialisation.
6133 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6135 * docs/pwg/building-boiler.xml:
6136 * plugins/elements/gstcapsfilter.c:
6137 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6140 2006-09-16 Edward Hervey <edward@fluendo.com>
6142 * libs/gst/base/gstbasetransform.c:
6143 (gst_base_transform_buffer_alloc):
6144 Check if requested caps are the same as the sinks caps IF
6145 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6147 This fixes the renegotiation issues stated in #352827.
6149 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6152 * docs/manual/advanced-autoplugging.xml:
6153 * tests/examples/Makefile.am:
6154 * tests/examples/manual/.cvsignore:
6155 * tests/examples/manual/Makefile.am:
6156 * tests/examples/manual/extract.pl:
6157 Extract the manual examples again like we used to do.
6160 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6162 * win32/common/config.h:
6165 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6168 Documents how to receive errors.
6170 2006-09-15 Wim Taymans <wim@fluendo.com>
6172 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6173 (event_loop), (main):
6174 Added some comments here and there.
6175 Post an application message when an interrupt is caught instead of doing
6176 an uncontrolled state change.
6177 Clean up the event loop.
6178 Handle buffering messages, pause/resume the pipeline.
6179 Make shutdown because of an interrupt more reliable.
6181 2006-09-15 Wim Taymans <wim@fluendo.com>
6183 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6184 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6185 (gst_base_sink_preroll_object):
6186 Make sure that our internal state is correct when we commit our state
6187 asynchronously. This solves a race where a state change to PLAYING
6188 could cause the sink to remain blocked in preroll in some situations.
6190 2006-09-15 Wim Taymans <wim@fluendo.com>
6192 * tools/gst-inspect.c: (print_element_properties_info),
6193 (print_signal_info):
6194 List flags as hex so it's easier to deal with.
6196 2006-09-15 Wim Taymans <wim@fluendo.com>
6198 * docs/libs/gstreamer-libs-sections.txt:
6199 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6200 (gst_base_sink_do_sync):
6201 * libs/gst/base/gstbasesink.h:
6202 Expose logic to wait for preroll so that subclasses such as audiosink
6203 can also use this method.
6204 API: gst_base_sink_wait_preroll()
6206 2006-09-15 Wim Taymans <wim@fluendo.com>
6208 * gst/gstobject.c: (gst_object_set_parent):
6209 * gst/gstpipeline.c: (do_pipeline_seek):
6210 Small cleanups in docs and code.
6212 * gst/gstsegment.c: (gst_segment_clip):
6213 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6214 if stop == start and start is in the segment, no clipping should be
6215 done. Also add a test for this.
6217 2006-09-15 Wim Taymans <wim@fluendo.com>
6219 * docs/design/part-buffering.txt:
6220 * docs/gst/gstreamer-sections.txt:
6221 * gst/gstmessage.c: (gst_message_new_buffering),
6222 (gst_message_parse_buffering):
6224 Added methods to create and parse BUFFERING messages.
6225 Added preliminary docs about buffering.
6226 API: gst_message_new_buffering
6227 API: gst_message_parse_buffering
6229 2006-09-06 Wim Taymans <wim@fluendo.com>
6232 Update documentation.
6234 * gst/gstelement.c: (gst_element_class_init),
6235 (gst_element_release_request_pad), (gst_element_set_clock),
6236 (gst_element_get_index), (gst_element_add_pad),
6237 (gst_element_remove_pad), (gst_element_get_random_pad),
6238 (gst_element_send_event), (gst_element_get_query_types),
6239 (gst_element_query), (gst_element_post_message),
6240 (gst_element_message_full), (gst_element_continue_state),
6241 (gst_element_lost_state), (gst_element_save_thyself),
6242 (gst_element_restore_thyself):
6243 Documentation updates.
6244 Rename last bit of the new-pad -> pad-added signal rename.
6245 Fix the case where an element query would only work if the source
6247 Avoid some useless type checking in message handling.
6252 Documentation updates.
6254 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6256 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6257 add an INFO line for when we actually update the fd
6259 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6264 === release 0.10.10 ===
6266 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6269 releasing 0.10.10, "Pais"
6271 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6273 * docs/manual/advanced-position.xml:
6274 Fix typo in sample code.
6276 2006-09-05 Wim Taymans <wim@fluendo.com>
6278 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6279 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6280 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6281 * libs/gst/net/gstnetclientclock.h:
6282 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6283 * libs/gst/net/gstnettimepacket.h:
6284 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6285 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6286 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6287 * libs/gst/net/gstnettimeprovider.h:
6288 Make stuff compile on windows. Fixes #345295.
6290 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6292 * gst/gst.c: (ensure_current_registry_forking):
6293 Print better details when child was terminated by signal.
6295 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6297 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6298 Print a warning rather than g_assert() if a plugin feature
6299 is a URI handler but returns no protocols (#353976).
6301 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6303 * docs/random/moving-plugins:
6306 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6308 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6309 Fix locking order, handle NULL function values properly.
6314 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6315 Initialise variable before using it and fix debug statement to
6316 print the address of the function rather than the address of the
6317 variable on the stack holding the address of the function.
6319 2006-09-01 Wim Taymans <wim@fluendo.com>
6321 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6322 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6323 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6324 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6325 (gst_ghost_pad_parent_unset),
6326 (gst_ghost_pad_internal_do_activate_push),
6327 (gst_ghost_pad_internal_do_activate_pull),
6328 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6329 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6330 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6331 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6332 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6333 (gst_ghost_pad_new_no_target_from_template),
6334 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6336 Avoid needless typechecking in macros.
6337 Since the internal pad is always present and never changes, there is
6338 no need to locking or ref when retrieving it.
6339 Improve debugging a bit.
6340 Handle link errors when setting the target. Fixes #341029.
6342 2006-09-01 Wim Taymans <wim@fluendo.com>
6344 * docs/libs/gstreamer-libs-sections.txt:
6345 * docs/plugins/gstreamer-plugins-sections.txt:
6348 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6349 (gst_collect_pads_event):
6350 * libs/gst/base/gstcollectpads.h:
6351 Documentation updates.
6352 Free queued buffer when removing a pad.
6354 2006-08-31 Michael Smith <msmith@fluendo.com>
6356 * gst/gstutils.c: (gst_element_link_pads),
6357 (gst_element_link_pads_filtered):
6358 Ensure that we set a capsfilter to NULL if we failed to link it
6359 when doing filtered linking, to avoid criticals.
6361 No need to check for unreffing srcpad, which is explicly NULLed
6362 above (a trivial code cleanup).
6364 2006-08-31 Wim Taymans <wim@fluendo.com>
6366 * docs/design/part-gstghostpad.txt:
6367 Update ascii art in documentation.
6369 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6370 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6371 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6372 (gst_ghost_pad_internal_do_activate_push),
6373 (gst_ghost_pad_internal_do_activate_pull),
6374 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6375 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6376 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6377 (gst_ghost_pad_set_target):
6378 Small cleanups and leak fixes.
6379 Remove some checks now that the internal pad is never NULL.
6380 Fix the case where linking pads without a target would create nasty
6381 criticals. Fixes #341029.
6382 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6383 value of _set_target().
6385 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6386 (gst_ghost_pad_suite):
6387 Some more tests for creating and linking untargeted ghostpads.
6389 2006-08-31 Edward Hervey <edward@fluendo.com>
6391 * docs/gst/gstreamer-sections.txt:
6392 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6393 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6394 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6395 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6396 (gst_ghost_pad_new_from_template),
6397 (gst_ghost_pad_new_no_target_from_template):
6398 * gst/gstghostpad.h:
6399 Refactored *_new() functions.
6400 Templates are now used as a g_object_new() parameter.
6401 Use template in _do_getcaps() if we don't have a target.
6402 Small documentation cleanups.
6403 Added two new constructors:
6404 gst_ghost_pad_new_from_template()
6405 gst_ghost_pad_new_no_target_from_template()
6406 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6407 (gst_ghost_pad_suite):
6408 Added tests for new ghostpad instanciation functions.
6410 API additions: gst_ghost_pad_new_from_template,
6411 gst_ghost_pad_new_no_target_from_template
6413 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6415 * docs/random/ensonic/profiling.txt:
6416 Ideas about qos profiling.
6418 2006-08-29 Wim Taymans <wim@fluendo.com>
6420 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6424 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6427 Improve and detypofy docs.
6429 * tests/check/Makefile.am:
6430 * tests/check/gst/.cvsignore:
6431 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6432 Add a basic test suite for GstXML.
6434 2006-08-29 Wim Taymans <wim@fluendo.com>
6436 * gst/gstelement.c: (activate_pads), (clear_caps),
6437 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6438 Clear the pad caps when the element shut down all of the pads and
6439 is not streaming data that could modify the caps.
6442 2006-08-28 Michael Smith <msmith@fluendo.com>
6444 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6445 Revert previous change; I misunderstood single-segment mode.
6447 2006-08-28 Michael Smith <msmith@fluendo.com>
6449 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6450 Unset DISCONT on buffers when using single-segment mode.
6452 2006-08-28 Wim Taymans <wim@fluendo.com>
6454 * gst/gstcaps.c: (gst_caps_merge_structure):
6456 Fix docs and indentation again.
6458 * tests/check/gst/gstquery.c: (GST_START_TEST):
6459 Fix leak in tests and add some more tests.
6461 2006-08-28 Edward Hervey <edward@fluendo.com>
6463 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6464 Inform GstSegment of the last stop position in order for the current
6465 segment to have a proper duration if it doesn't have a specific stop
6466 position from which a duration could be calculated.
6467 This bug was noticeable when a non-flushing, non-update new segment was
6468 followed by another segment (all buffers from the new segment were being
6471 2006-08-28 Wim Taymans <wim@fluendo.com>
6473 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6474 Small comment update.
6476 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6477 (gst_identity_transform_ip):
6478 Drop-probability is broken, mention this in the code with a
6479 FIXME and also in the property description.
6480 Make silent also be silent about the drop messages.
6482 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6484 * docs/manual/appendix-win32.xml:
6485 Remove mention of popt, we don't depend on that any
6486 longer (#353136). Add some comments pointing out that
6487 this section is slightly outdated.
6489 2006-08-28 Wim Taymans <wim@fluendo.com>
6491 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6493 * gst/gstquery.c: (gst_query_new_segment):
6494 * tests/check/gst/gstquery.c: (GST_START_TEST):
6495 Initialize variables when creating a new segment query.
6498 2006-08-28 Wim Taymans <wim@fluendo.com>
6500 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6502 * gst/gstelement.c: (gst_element_get_bus):
6503 * tests/check/gst/gstelement.c: (GST_START_TEST):
6504 Check for NULL before _reffing the bus. Fixes #353122.
6506 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6508 * docs/manual/basics-bus.xml:
6509 Docs update: fix wrong callback return value explanation; add
6510 some lines about the implicit relationship between main loop
6511 and main context; remove duplicate main loop variable declaration.
6513 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6515 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6516 Don't leak caps in unit test; add a few more simple
6519 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6521 * docs/gst/gstreamer-sections.txt:
6522 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6523 (gst_caps_structure_is_subset), (gst_caps_merge),
6524 (gst_caps_merge_structure):
6526 * libs/gst/base/gstbasetransform.c:
6527 (gst_base_transform_transform_caps):
6528 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6529 implement caps merging (fixes #352580)
6531 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6533 * tools/Makefile.am:
6534 * tools/gst-plot-timeline.py:
6535 add debug-log plotting developer tool (#340674)
6537 2006-08-23 Wim Taymans <wim@fluendo.com>
6539 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6540 (gst_pad_stop_task):
6541 Improve debugging for task functions.
6543 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6544 (gst_task_start), (gst_task_pause), (gst_task_join):
6545 Make sure that the task function started and finished after a
6547 Don't try to push the task function on the threadpool multiple
6549 Improve the g_warning message with some useful suggestions
6550 about how to fix the problem.
6552 2006-08-23 Wim Taymans <wim@fluendo.com>
6554 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6555 Handle RESYNC correctly in _proxy_getcaps.
6557 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6559 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6560 (gst_xml_parse_memory), (gst_xml_get_element):
6561 Chain up to parent class in dispose function and also
6562 unref the elements in the toplevel_elements GList.
6563 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6564 Always return a reference in gst_xml_get_element() rather
6565 than only sometimes.
6567 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6568 Don't leak GstXml object.
6570 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6572 * docs/gst/gstreamer-sections.txt:
6573 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6576 * libs/gst/base/gstbasetransform.c:
6577 (gst_base_transform_transform_caps):
6578 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6581 2006-08-21 Edward Hervey <edward@fluendo.com>
6583 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6584 Implement GObject::dispose virtual method in GstXML so we can free the
6587 2006-08-21 Wim Taymans <wim@fluendo.com>
6589 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6590 (gst_buffer_create_sub):
6591 Copy duration/offset_end/caps when creating a subbuffer of the
6593 Make the subbuffer read-only when we make the metadata writable for
6596 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6597 Added check for metadata copy when creating subbuffers.
6599 2006-08-21 Edward Hervey <edward@fluendo.com>
6601 * libs/gst/base/gstbasetransform.c:
6602 (gst_base_transform_buffer_alloc):
6603 Only call downstream buffer_alloc if transform element is passthrough
6604 or always_in_place. Closes #350449.
6606 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6609 ChangeLog surgery to add comments to previous changes
6611 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6616 * gst/gstpad.c: (gst_pad_set_active):
6617 Be more verbose in the log
6619 * libs/gst/base/gstbasetransform.c:
6620 (gst_base_transform_transform_caps):
6621 Simplify caps to get rid of duplicates, fixes #345444
6623 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6627 Use these optimizations only internally.
6629 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6631 * gst/gstvalue.c: (gst_value_compare_list),
6632 (gst_value_compare_fraction_range),
6633 (gst_value_intersect_fraction_fraction_range),
6634 (gst_value_intersect_fraction_range_fraction_range),
6635 (gst_value_subtract_fraction_fraction_range),
6636 (gst_value_subtract_fraction_range_fraction_range),
6637 (gst_value_get_compare_func), (gst_value_compare),
6638 (gst_value_compare_with_func):
6640 Saves the expensive lookup of the compare function in many cases
6643 2006-08-18 Edward Hervey <edward@fluendo.com>
6645 * tests/check/gst/gstinfo.c: (gst_info_suite):
6646 Disable test that require gstdebug if it wasn't built in core.
6648 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6650 * docs/random/ensonic/logging.txt:
6653 * gst/gstinfo.c: (gst_debug_log_default):
6654 reorder fields, save some columns, add optional color codes for log
6657 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6659 * docs/random/ensonic/logging.txt:
6660 add ideas about making the logs a bit more useful
6662 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6664 * docs/pwg/advanced-events.xml:
6665 * docs/pwg/titlepage.xml:
6666 Update for 0.10 API (#340627). Add myself
6669 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6671 * docs/libs/gstreamer-libs-docs.sgml:
6672 * docs/libs/gstreamer-libs-sections.txt:
6673 * libs/gst/check/gstbufferstraw.c:
6674 Make gstcheck stuff show up in docs (still needs to
6675 be documented properly though).
6677 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6679 * docs/gst/gstreamer-sections.txt:
6681 * gst/gst.c: (init_post):
6682 * gst/gst_private.h:
6683 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6685 * gst/gstquery.c: (gst_query_new_position),
6686 (gst_query_set_position), (gst_query_parse_position),
6687 (gst_query_new_duration), (gst_query_set_duration),
6688 (gst_query_parse_duration), (gst_query_new_convert),
6689 (gst_query_set_convert), (gst_query_parse_convert),
6690 (gst_query_new_segment), (gst_query_set_segment),
6691 (gst_query_parse_segment), (gst_query_new_seeking),
6692 (gst_query_set_seeking), (gst_query_parse_seeking):
6693 Add internal helpers for pre-registering quarks from static strings
6694 and using the quark values directly instead of looking them up when
6695 creating and parsing queries. Can be used for event construction too.
6698 2006-08-16 Wim Taymans <wim@fluendo.com>
6703 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6705 * gst/gstutils.c: (gst_util_set_value_from_string):
6706 Fix memleak (#351502).
6708 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6709 Add unit test for most of gst_util_set_value_from_string()
6710 (not that one would want to encourage use of this function).
6712 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6714 * libs/gst/check/gstcheck.h:
6715 Use const gchar * variables in fail_unless_equals_string
6716 macro to avoid compiler warnings (and don't use tabs for
6719 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6721 * tools/gst-launch.c: (print_tag):
6722 More space on the left for the tag names, to cater
6723 for the 'extended comment' tag (not touching the
6724 string for the first line since it's translated).
6726 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6728 * libs/gst/check/gstcheck.h:
6729 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6730 print something when they fail.
6732 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6734 * docs/gst/gstreamer-sections.txt:
6735 * gst/gsttaglist.c: (_gst_tag_initialize):
6737 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6738 Also change merge function for GST_TAG_COMMENT to
6741 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6743 * gst/gstinfo.c: (gst_debug_print_object):
6744 Make GST_PTR_FORMAT print messages as well.
6746 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6747 (GST_START_TEST), (gst_info_suite):
6750 2006-08-14 Edward Hervey <edward@fluendo.com>
6752 * gst/gstelementfactory.c: (gst_element_register):
6753 If the GstElementClass doesn't have a GstElementDetails with all fields
6754 filled up correctly (longname, description AND author), then error out
6755 nicely instead of crashing.
6757 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6759 * gst/gststructure.c:
6760 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6763 Expand on the difference between arrays and lists as we use them.
6765 2006-08-14 Wim Taymans <wim@fluendo.com>
6767 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6768 If the parent state change function failed, don't assume we can safely
6769 stop the source, this will be done when the pads are deactivated.
6771 2006-08-14 Wim Taymans <wim@fluendo.com>
6774 * gst/gsttask.c: (gst_task_join):
6777 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6778 (gst_pad_stop_task):
6779 When pad (de)activation failed for some reason, restore the old
6780 activation mode and set the pad to flushing instead of assuming the
6782 If the _task_join() failed, reinstall the task on the pad so that it can
6783 be stopped later and return an error.
6785 2006-08-11 Andy Wingo <wingo@pobox.com>
6788 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6789 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6790 is only for users of API that don't want to see deprecated
6791 functions in the headers; people that want to compile out
6792 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6793 CFLAGS. Fixes the build of multifdsink, or will soon..
6795 2006-08-11 Wim Taymans <wim@fluendo.com>
6797 * docs/gst/gstreamer-sections.txt:
6798 Add GstClockClass vmethod docs.
6801 Mark #endif with comment for associated #if
6803 * gst/gstclock.c: (gst_clock_id_wait):
6805 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6806 most clock implementations.
6808 Flesh out docs about resolution methods.
6809 API: GstClockClass::wait_jitter
6811 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6812 (gst_system_clock_async_thread),
6813 (gst_system_clock_id_wait_jitter_unlocked),
6814 (gst_system_clock_id_wait_jitter):
6815 Use base class wait_jitter variant for improved performance
6816 due to less clock polling.
6818 2006-08-11 Edward Hervey <edward@fluendo.com>
6820 * gst/gst.c: (gst_init_check), (init_post):
6821 Set gst as being initialized before scanning/updating the registry,
6822 since there might be my python plugin loader that calls gst_init() and
6823 we don't want to loop back in.
6826 2006-08-11 Wim Taymans <wim@fluendo.com>
6828 * docs/design/part-qos.txt:
6829 Bring docs in line with the code. Mostly the sign of the jitter was
6830 wrong in the docs. Fixes #349943.
6833 Fix the docs for the jitter.
6835 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6836 (gst_event_parse_tag), (gst_event_new_buffer_size),
6837 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6838 (gst_event_new_seek), (gst_event_parse_seek),
6839 (gst_event_new_navigation):
6840 Make sure the GstStructure has no parent when creating custom
6842 Add some more argument checking so that we avoid 0.0 rates.
6843 Flesh out the docs for the QoS event some more.
6845 2006-08-11 Wim Taymans <wim@fluendo.com>
6847 * docs/gst/gstreamer-sections.txt:
6848 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6849 (ensure_current_registry_forking), (ensure_current_registry),
6850 (parse_one_option), (parse_goption_arg), (gst_deinit),
6851 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6854 Added API and command line option to disable registry forking in
6855 addition to the environment variable.
6856 Constify some static arrays.
6857 Added some more debug.
6859 API: gst_registry_fork_is_enabled()
6860 API: gst_registry_fork_set_enabled()
6861 API: --gst-disable-registry-fork command line option
6864 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6866 * gst/gst.c: (gst_init):
6867 Fix typo in error message.
6869 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6871 * libs/gst/controller/gstcontroller.h:
6872 fix ABI size-correction
6874 * tests/check/libs/gdp.c: (gst_dp_suite):
6875 make tests that use deprecated API conditional
6877 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6879 * docs/libs/gstreamer-libs-sections.txt:
6880 * libs/gst/controller/gstcontroller.c:
6881 (_gst_controller_get_property), (_gst_controller_set_property),
6882 (_gst_controller_init), (_gst_controller_class_init):
6883 * libs/gst/controller/gstcontroller.h:
6884 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6885 (gst_object_set_control_rate):
6886 API: add gst_object_{s,g}et_control_rate(), add private data section,
6889 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6890 * libs/gst/dataprotocol/dataprotocol.h:
6891 add deprecation guards to make gtk-doc happy and allow disabling cruft
6893 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6895 * tests/check/Makefile.am:
6896 * tests/check/gst/.cvsignore:
6897 Let's enable the new unit test as well.
6899 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6902 * docs/gst/gstreamer-sections.txt:
6903 * gst/gstconfig.h.in:
6904 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6905 (_gst_info_printf_extension_ptr),
6906 (_gst_info_printf_extension_segment):
6907 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6908 register that lets us easily dump GstSegments into debug
6911 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6912 (info_segment_format_printf_extension), (gst_info_suite):
6913 Add simple unit test that logs a bunch of different segments (not
6914 valgrinded at the moment because of leaks in
6915 gst_debug_add_log_function).
6917 2006-08-09 Edward Hervey <edward@fluendo.com>
6919 * libs/gst/base/gstbasetransform.c:
6920 (gst_base_transform_buffer_alloc):
6921 Even if we can't figure out the proper format to request downstream,
6922 call buffer_alloc() downstream with the input parameters without setting
6923 the caps on the srcpad. This will force negotiation in the chain
6927 2006-08-08 Edward Hervey <edward@fluendo.com>
6929 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6930 Unlinking from a pad without a target is now a perfectly valid case
6931 which should NOT raise an assertion.
6932 This case would happen if a linked ghostpad its target set to NULL after
6933 it was previously linked.
6935 2006-08-08 Edward Hervey <edward@fluendo.com>
6937 * tests/check/libs/gdp.c:
6938 Also comment out the test (see below).
6940 2006-08-08 Edward Hervey <edward@fluendo.com>
6942 * tests/check/libs/gdp.c: (gst_dp_suite):
6943 Use the architecture information from config.h and not gcc macros
6944 in order to properly disable a test that fails on PPC64.
6946 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6948 * gst/gstelement.c: (gst_element_remove_pad):
6949 Don't crash printing the warning if the pad has no parent.
6951 2006-08-02 Wim Taymans <wim@fluendo.com>
6953 * libs/gst/dataprotocol/dataprotocol.c:
6954 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6955 (gst_dp_crc), (gst_dp_header_payload_length),
6956 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6957 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6958 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6959 (gst_dp_event_from_packet), (gst_dp_validate_header),
6960 (gst_dp_validate_payload):
6961 Make debug category static
6962 Constify the crc table.
6963 Do some more arg checking in public functions.
6964 Fix some docs and do some small cleanups.
6966 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6967 Add some more checks to see if GDP deals with bogus input.
6969 2006-07-31 Wim Taymans <wim@fluendo.com>
6971 * gst/gstvalue.c: (gst_value_compare_list):
6972 Fix GstValueList comparison code. Fixes #347293.
6974 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6975 Check to test GstValueList comparison.
6977 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6979 * gst/gstelementfactory.c: (gst_element_factory_create):
6980 Remove unnecessary ref/unref pair
6982 * gst/parse/grammar.y:
6983 Make sure to free the parse buffer on all code paths.
6984 Move a g_free up to the error handler where it's easier to see.
6986 * tests/check/gst/gstevent.c: (test_event):
6987 Extending timeout for downstream travelling events to 10 seconds to
6988 hopefully avoid intermittent failure on the buildbots.
6990 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6991 Don't manually set the state of the src element - it will happen as a
6992 natural consequence of the pipeline changing state, and that way it
6993 will do it in the right order too.
6995 2006-07-31 Wim Taymans <wim@fluendo.com>
6997 * libs/gst/base/gstbasetransform.c:
6998 (gst_base_transform_buffer_alloc):
6999 Use OBJECT_LOCK and refcounting to get the pad caps in the
7000 buffer_alloc function because the caps could change while we are
7001 busy with them. Fixes #349105
7003 2006-07-31 Wim Taymans <wim@fluendo.com>
7005 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7006 Protect _PAD_CAPS with OBJECT_LOCK.
7008 2006-07-31 Wim Taymans <wim@fluendo.com>
7010 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7011 (gst_pad_get_property), (gst_pad_activate_pull),
7012 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7013 (gst_pad_set_activate_function),
7014 (gst_pad_set_activatepull_function),
7015 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7016 (gst_pad_set_getrange_function),
7017 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7018 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7019 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7020 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7021 (gst_pad_set_acceptcaps_function),
7022 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7023 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7024 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7025 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7026 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7027 (gst_pad_configure_sink), (gst_pad_configure_src),
7028 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7029 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7030 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7031 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7032 (gst_pad_send_event):
7033 Use _DEBUG_OBJECT when it makes sense.
7034 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7035 Small cleanups and code reflows.
7036 Avoid caps refcounting in _accept_caps.
7037 Refactor alloc_buffer so that the code performed on the peer is in a
7038 separate function. Also if the pad does not implement a buffer alloc
7039 function, we should still check if the pad is flushing before falling
7040 back to the default allocator.
7042 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7044 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7045 Make all uses of identity and fakesink have silent=true to avoid
7046 serialising every passing data structure, which is breaking tests
7047 on FC4 for some unknown reason.
7049 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7051 * gst/parse/Makefile.am:
7052 * gst/parse/grammar.y:
7053 * gst/parse/parse.l:
7054 Reverted previous patch as it required to bump the flex dependency to
7055 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7057 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7059 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7061 * gst/parse/Makefile.am:
7062 * gst/parse/grammar.y:
7063 * gst/parse/parse.l:
7064 push & pop the state of the lexer for reentrant use case
7067 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7069 * libs/gst/base/gstbasesrc.h:
7070 Note in the docs that the ::newsegment vfunc is not actually used by
7073 2006-07-28 Wim Taymans <wim@fluendo.com>
7075 * libs/gst/base/gstcollectpads.c:
7076 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7077 (gst_collect_pads_clear), (gst_collect_pads_flush),
7078 (gst_collect_pads_event), (gst_collect_pads_chain):
7079 When flushing a pad, also clear the queued buffer so that we don't
7080 accidentally use it when we shouldn't.
7081 Fix leaks by inreffing incomming buffer.
7082 Flush out queued buffers in case of errors.
7085 2006-07-28 Wim Taymans <wim@fluendo.com>
7087 * docs/random/phonon-gst:
7088 Random notes about a Phonon backend.
7090 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7092 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7094 * tests/check/libs/gdp.c: (gst_dp_suite):
7095 Take a whack at fixing the ppc compile using a different define to
7096 disable the broken test.
7098 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7099 Remove excess g_print()
7101 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7103 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7104 Oops, meant to uncomment this line too to dampen the noise a bit.
7106 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7108 * gst/parse/grammar.y:
7109 * gst/parse/parse.l:
7110 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7111 (GST_START_TEST), (parse_suite):
7112 Fix some of the leaks exposed by extending the parse-launch testsuite,
7113 and move the 3 I can't figure out into a separate test that won't run
7114 the pipelines unless the appropriate line is uncommented.
7116 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7118 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7119 Requesting 0 bytes before the end of the file should result in
7120 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7123 2006-07-27 Wim Taymans <wim@fluendo.com>
7125 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7126 Fix useless assert, a uint is always positive.
7128 * gst/gststructure.c: (gst_structure_nth_field_name),
7129 (gst_structure_foreach), (gst_structure_map_in_place):
7130 Check input arguments for public functions to avoid obvious crashes.
7132 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7133 * plugins/elements/gstfakesink.h:
7134 Do less useless typechecking.
7136 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7138 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7139 Do not use mmap() by default since there are a number of error
7140 conditions that we would like to handle in a non-fatal way that
7141 will result in a SIGBUS if we use mmap(). Examples: external
7142 devices (USB harddrive, portable music player) being unplugged
7143 while in use; file on mounted CD/DVD that can't be read because
7144 the medium is partly damaged. Fixes #348455 and #348475.
7146 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7149 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7152 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7154 * gst/gstregistry.c:
7155 Move big documentation comment into class section header, so that it
7156 appears in the API docs.
7158 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7160 * docs/gst/gstreamer-sections.txt:
7161 Oops. Commit the docs additions too for new API.
7162 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7164 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7166 * gst/gststructure.c: (gst_structure_id_set),
7167 (gst_structure_id_set_valist):
7168 * gst/gststructure.h:
7169 Add API for setting values into structures without performing
7170 a quark lookup, if the appropriate quark is already known.
7172 API: gst_structure_id_set
7173 API: gst_structure_id_set_valist
7175 * gst/parse/grammar.y:
7176 * gst/parse/parse.l:
7177 Remove some dead code shown by the coverage information.
7178 Don't throw a critical g_warning when encountering a syntax error,
7179 just warn and let the normal error path handle it.
7181 * plugins/elements/gstelements.c:
7182 Bump the rank of filesink up to PRIMARY so that it is preferred over
7183 gnomevfssink for file:// sink uri's
7185 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7186 (GST_START_TEST), (run_delayed_test),
7187 (gst_parse_test_element_base_init),
7188 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7189 (gst_parse_test_element_change_state),
7190 (gst_register_parse_element), (parse_suite):
7191 Beef up the tests for parse syntax to check that more error cases
7192 fail as they are supposed to. Increases the test coverage a bit.
7194 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7196 * docs/manual/basics-elements.xml:
7197 Fix gst_element_link() example.
7200 Mention in API docs that one should usually gst_bin_add()
7201 elements to a bin or pipeline before doing the linking.
7203 2006-07-26 Wim Taymans <wim@fluendo.com>
7205 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7206 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7207 Avoid function call for known types by keeping the buffer and
7208 subbuffer GType global.
7210 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7211 Random silly optimisations in read() path.
7213 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7215 * tools/gst-launch.c: (main):
7216 If the top-level of the parse is a normal bin, it doesn't do the
7217 right logic to run as a top-level element, so place it inside a
7220 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7222 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7223 Remove superfluous g_object_notify() calls, GObject does
7224 that for us automatically.
7226 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7229 on Win32, use dllspec to export the debug category symbols
7231 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7233 * gst/gsttaglist.c: (_gst_tag_initialize):
7234 Allow more than one GST_TAG_IMAGE per taglist.
7236 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7238 * gst/gstminiobject.c:
7240 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7241 (gst_fd_src_create):
7242 log recurring events at LOG level
7243 add more debug for when the fd gets set
7245 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7247 * gst/gstparse.c: (gst_parse_launch):
7248 Also remove reentrance checks if flex is MT safe (#348179)
7249 Fix my empty ChangeLog entry below
7251 2006-07-21 Andy Wingo <wingo@pobox.com>
7253 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7255 * libs/gst/check/Makefile.am
7256 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7257 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7258 * libs/gst/check/gstbufferstraw.h:
7259 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7260 functions, thus proving I am still a GStreamer haxor. OK I wrote
7261 them a long time ago, but anyways.
7263 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7266 * gst/gstparse.c: (gst_parse_launch):
7267 Check for flex version and omit mutex if we have a MT save flex
7270 2006-07-21 Wim Taymans <wim@fluendo.com>
7272 * gst/gstparse.c: (gst_parse_launch):
7273 Protect recursive calls to _parse with a recursive mutex
7276 2006-07-21 Wim Taymans <wim@fluendo.com>
7278 * tests/check/gst/gstpad.c: (GST_START_TEST):
7281 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7283 * gst/gstparse.c: (gst_parse_launch):
7284 Do not hang on recursive usage of gst_parse_launch()
7286 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7289 Add some more docs, comments and FIXME 0.11s here and there
7290 and also fix some typos.
7292 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7295 Convert tabs to spaces for better readability.
7297 2006-07-20 Edward Hervey <edward@fluendo.com>
7299 * tests/check/libs/gdp.c: (gst_dp_suite):
7300 the test_buffer test fails at line 140 on ppc64 at the following
7302 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7303 GST_BUFFER_FLAG_IN_CAPS),
7304 "GST_BUFFER_IN_CAPS flag should have been copied !");
7305 See bug #348114 for more details.
7307 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7309 * docs/pwg/advanced-scheduling.xml:
7311 Fix typos (#348000).
7313 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7315 * docs/pwg/intro-basics.xml:
7316 Fix wrong links (#347927).
7318 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7320 * gst/gstregistry.h:
7321 * gst/gstregistryxml.c: (load_feature),
7322 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7323 * win32/common/config.h:
7324 make --disable-index work (#342564)
7326 2006-07-18 Wim Taymans <wim@fluendo.com>
7328 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7332 The attached patch adds two missing defines to gsttrace.h when tracing
7333 is disabled. It also corrects one existing define.
7336 2006-07-17 Wim Taymans <wim@fluendo.com>
7338 * docs/gst/gstreamer-sections.txt:
7339 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7341 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7342 Add two functions to check and change the SIGSEGV behaviour
7343 when loading plugins.
7344 Don't mess with the SIGSEGV handler when we were told not to.
7346 API: gst_segtrap_is_enabled
7347 API: gst_segtrap_set_enabled
7349 2006-07-14 Wim Taymans <wim@fluendo.com>
7351 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7352 * tests/check/elements/filesrc.c: (GST_START_TEST):
7353 Revert fix for regression in #347408 after release.
7355 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7357 Patch by: Antoine Tremblay <hexa00 at gmail com>
7359 * gst/gstutils.c: (gst_element_unlink):
7360 Free iterator when done (#347311).
7362 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7363 And add a test case for this.
7365 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7368 Bump nano back to CVS
7370 === release 0.10.9 ===
7372 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7375 releasing 0.10.9, "On the road again"
7377 2006-07-13 Wim Taymans <wim@fluendo.com>
7379 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7380 * tests/check/elements/filesrc.c: (GST_START_TEST):
7381 Revert pull-0 fix for release. Disable check. Fixes #347408.
7383 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * libs/gst/dataprotocol/dataprotocol.c:
7386 (gst_dp_event_from_packet_1_0):
7387 Fixes #347337: failure to deserialize event packets with
7388 empty payload (only event type)
7390 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7393 do not install a .c file in the header directory
7395 2006-07-13 Edward Hervey <edward@fluendo.com>
7397 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7398 GhostPad no longer implicitely use the padtemplates of the targets.
7401 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7403 * gst/gstvalue.c: (gst_value_compare_list),
7404 (gst_value_compare_array), (_gst_value_initialize):
7405 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7406 Make GstValueArray comparison be order dependent as designed.
7407 Add checks for value lists and value array comparisons.
7410 2006-07-11 Edward Hervey <edward@fluendo.com>
7412 * gst/gstbin.c: (activate_pads),
7413 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7414 (gst_bin_change_state_func):
7415 (de)activate src pads before calling state_change on the childs.
7416 This is to avoid the case where a src ghostpad is blocked (holding the
7417 stream lock), which would block the deactivation of the ghostpad's
7419 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7420 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7421 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7422 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7423 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7424 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7425 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7426 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7427 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7428 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7429 (gst_ghost_pad_class_init),
7430 (gst_ghost_pad_internal_do_activate_push),
7431 (gst_ghost_pad_internal_do_activate_pull),
7432 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7433 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7434 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7435 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7436 GhostPads now create their internal GstProxyPad at creation (and not
7437 when they're linked, as it was being done previously).
7438 The internal and target pads are linked straight away.
7439 The data will also travel through the other pad in order to make
7440 pad blocking and probes non-hackish (the probe/block now really happens
7441 on the GhostPad and not on the target).
7442 * gst/gstpad.c: (gst_pad_set_blocked_async),
7443 (gst_pad_link_prepare), (gst_pad_push_event):
7444 Remove previous ghostpad cruft.
7445 * gst/gstutils.c: (gst_pad_add_data_probe),
7446 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7447 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7448 (gst_pad_remove_buffer_probe):
7449 Remove previous ghost pad cruft.
7450 Added more detailed debug statements.
7451 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7452 Fix the testsuite for refcounting changes.
7453 The comments about who has references were correct, but the refcount
7454 being checked wasn't the same (!?!).
7458 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7460 * docs/gst/gstreamer-sections.txt:
7461 * gst/gstconfig.h.in:
7462 More docs for configuration options, add docs to gtk-doc.
7464 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7467 * gst/gstconfig.h.in:
7468 * win32/common/config.h:
7469 Fix build when disabling tracing (fixes #344016). Also start to document
7470 the defines that disable the sub-systems.
7472 2006-07-10 Edward Hervey <edward@fluendo.com>
7474 * gst/gst.c: (ensure_current_registry_forking):
7475 let's make valgrind happy...
7477 2006-07-09 Wim Taymans <wim@fluendo.com>
7479 * gst/gstelement.c: (activate_pads),
7480 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7481 Better pad activation code: Reset the collect value too on resync.
7484 2006-07-09 Wim Taymans <wim@fluendo.com>
7486 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7487 (gst_pad_activate_push):
7488 Use some more macros where it makes sense.
7489 Allow pad mode switching instead of asserting. When a pad
7490 is activated in one mode and we activate it in another,
7491 deactivate it first before activating it in a different mode.
7494 2006-07-08 Andy Wingo <wingo@pobox.com>
7496 * tools/gst-launch.c (main): Handle err == NULL.
7498 * gst/gst.c (init_post, ensure_current_registry)
7499 (ensure_current_registry_forking)
7500 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7501 factoring out the registry scanning into separate functions. Don't
7502 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7503 Better environment var name/interface suggestions accepted.
7505 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7507 * gst/gstobject.c: (gst_object_set_name_default),
7508 (gst_object_set_name):
7509 Random micro-optimisation: don't use a hash table
7510 with strings as keys and the usual strdup/strcmp
7511 involved, but rather just use the GQuark of the
7512 type name as key, since it needs to be looked up
7513 anyway to get the type name string.
7515 * tests/check/gst/gstobject.c: (GST_START_TEST):
7518 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7520 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7521 (gst_bin_iterate_all_by_interface):
7522 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7523 GTypes are gulongs and thus the top 4 bytes might be cut
7524 off on some platforms when doing GPOINTER_TO_INT, leading
7525 to invalid GTypes and bad things happening (see RH bug #179654).
7526 Also add a check to make sure the type passed in is really
7529 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7534 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7538 * gst-element-check.m4:
7539 * gst-element-check.m4.in:
7540 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7541 instead of the unversioned gst-inspect (#324176, #168659).
7543 2006-07-06 Wim Taymans <wim@fluendo.com>
7546 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7549 2006-07-06 Wim Taymans <wim@fluendo.com>
7551 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7552 (gst_base_src_wait), (gst_base_src_update_length),
7553 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7554 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7555 (gst_base_src_loop), (gst_base_src_start),
7556 (gst_base_src_activate_pull):
7558 blocksize == 0 now means the default blocksize when working in push
7560 Remove some pointless asserts in _wait function.
7561 Fix offset/length calculations and EOS handling. We can now pull 0
7562 bytes as well, which is allowed.
7563 use _check_get_range() to decide if we can operate in _pull based
7565 Fix refcounting leak when check_get_range function was not
7567 API GstBaseSrc::blocksize range can be 0 too now (default)
7569 * tests/check/elements/filesrc.c: (GST_START_TEST),
7571 Added check to test _get_range() behaviour.
7573 2006-07-06 Wim Taymans <wim@fluendo.com>
7575 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7576 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7577 (gst_pad_pull_range):
7579 Lots of comments and docs added to the pad functions.
7580 Flesh out the expected behaviour of the get_range() functions.
7582 2006-07-06 Wim Taymans <wim@fluendo.com>
7587 * gst/gstiterator.h:
7591 Remove comma at end of enumerator list.
7593 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7595 * win32/common/libgstbase.def:
7596 * win32/common/libgstdataprotocol.def:
7597 * win32/common/libsgtreamer.def:
7598 Add new exported functions.
7600 2006-07-05 Wim Taymans <wim@fluendo.com>
7602 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7603 Add some more docs here and there.
7605 2006-07-05 Wim Taymans <wim@fluendo.com>
7607 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7608 (gst_base_sink_loop), (gst_base_sink_get_position):
7609 When operating in pull mode update the offset so that we
7612 2006-07-05 Wim Taymans <wim@fluendo.com>
7614 * gst/gstregistryxml.c: (read_string):
7615 Avoid strdup. (will happen in libxml, but hey!)
7620 2006-07-05 Wim Taymans <wim@fluendo.com>
7622 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7623 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7625 No point in checking if the size of the subbuffer > 0, the
7626 code handles it correclty as demonstrated by unit test.
7627 Also add a unit test for the zero sized _new_and_alloc and
7628 _copy. Fixes #346663.
7630 2006-07-05 Wim Taymans <wim@fluendo.com>
7632 * libs/gst/base/gstbasetransform.c:
7633 (gst_base_transform_prepare_output_buffer),
7634 (gst_base_transform_buffer_alloc),
7635 (gst_base_transform_handle_buffer):
7636 Make sure the buffer we pass to transform_ip has a refcount of
7637 1 and thus is writable. Fixes #343196
7639 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7641 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7642 (gst_file_src_init), (gst_file_src_set_property),
7643 (gst_file_src_get_property), (gst_file_src_map_region):
7644 * plugins/elements/gstfilesrc.h:
7645 Add "sequential" property, off by default, to use madvise and hint
7646 to the kernel that sequential access is desired.
7647 Touch all retrieved pages by default to ensure they are pulled
7648 into memory. (Closes #345720)
7650 2006-07-03 Wim Taymans <wim@fluendo.com>
7652 * docs/design/part-block.txt:
7653 * docs/design/part-dynamic.txt:
7656 2006-07-03 Wim Taymans <wim@fluendo.com>
7658 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7659 (gst_caps_unref), (gst_static_caps_get),
7660 (gst_caps_append_structure):
7661 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7662 Use GSlice when the glib we build against is >= 2.10
7664 2006-07-03 Wim Taymans <wim@fluendo.com>
7666 * gst/gstelement.c: (gst_element_pads_activate):
7667 Small cleanup in pad activation code.
7669 2006-07-03 Wim Taymans <wim@fluendo.com>
7671 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7673 * gst/gst-i18n-app.h:
7674 * gst/gst-i18n-lib.h:
7675 * tools/gst-inspect.c: (print_signal_info):
7676 The attached patch will make the inclusion of gettext.h unconditional in
7677 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7678 libintl.h in tools/gst-inspect.c.
7679 This allows use of --disable-nls again and fixes #344642.
7681 2006-07-03 Edward Hervey <edward@fluendo.com>
7683 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7684 Implement pad blocking on events according to part-block.txt.
7685 More comments on behaviour.
7686 * tests/check/gst/gstevent.c: (test_event):
7687 Send event to peer pad of blocked pad (else it will block).
7689 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7691 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7692 (gst_check_run_suite):
7693 if we get the wrong message, give us the types as string
7694 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7696 * tests/check/elements/filesrc.c: (GST_START_TEST):
7697 add a test for trying to open a non-existing file
7699 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7701 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7702 add a test for adding self
7704 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7706 * libs/gst/check/gstcheck.h:
7707 add some assert_ as alias for fail_unless_*
7708 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7709 increase test coverage
7711 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7714 include lcov.mak for lcov coverage generation
7715 * tools/Makefile.am:
7718 2006-07-02 Edward Hervey <edward@fluendo.com>
7720 * tests/check/elements/.cvsignore:
7723 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7726 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7727 * tests/check/Makefile.am:
7730 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7732 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7733 remove gst_caps_simplify; it was not declared and not used
7734 and deprecated in 0.8
7736 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7738 * docs/faq/gst-uninstalled:
7739 don't put empty paths on PYTHONPATH
7740 * docs/gst/gstreamer-sections.txt:
7741 remove some symbols that are not there
7743 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7745 * gst/gstcaps.c: (gst_caps_compare_structures):
7747 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7748 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7751 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7753 * libs/gst/dataprotocol/Makefile.am:
7754 build dataprotocol test by linking to the lib, instead of
7755 compiling the source, so we get coverage
7756 * tests/check/Makefile.am:
7757 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7758 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7759 add a test for filesrc
7761 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7763 * tests/check/gst/gststructure.c: (GST_START_TEST),
7764 (gst_structure_suite):
7765 Push coverage from 59.04% to 70.00%
7767 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7769 * tests/check/Makefile.am:
7770 gst-inspect every element; this makes sure that we also get
7771 coverage on element's get/set functions
7773 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7776 set CFLAGS and friends to -O0 if gcov is being used
7779 * libs/gst/base/Makefile.am:
7780 * libs/gst/check/Makefile.am:
7781 * libs/gst/controller/Makefile.am:
7782 * libs/gst/dataprotocol/Makefile.am:
7783 * libs/gst/net/Makefile.am:
7784 * plugins/elements/Makefile.am:
7785 * plugins/indexers/Makefile.am:
7786 add makefile rules to generate gcov data and clean up
7787 * tests/check/Makefile.am:
7788 add a coverage target that generates an html overview
7791 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7793 * tests/check/elements/fakesink.c:
7794 * tests/check/elements/fakesrc.c:
7795 * tests/check/elements/fdsrc.c:
7796 * tests/check/elements/identity.c:
7797 * tests/check/generic/sinks.c: (gst_sinks_suite):
7798 * tests/check/generic/states.c:
7799 * tests/check/gst/gst.c:
7800 * tests/check/gst/gstabi.c:
7801 * tests/check/gst/gstbin.c:
7802 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7803 * tests/check/gst/gstbus.c: (gst_bus_suite):
7804 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7805 * tests/check/gst/gstelement.c:
7806 * tests/check/gst/gstevent.c: (gst_event_suite):
7807 * tests/check/gst/gstghostpad.c:
7808 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7809 * tests/check/gst/gstmessage.c: (gst_message_suite):
7810 * tests/check/gst/gstminiobject.c:
7811 * tests/check/gst/gstobject.c:
7812 * tests/check/gst/gstpad.c:
7813 * tests/check/gst/gstpipeline.c:
7814 * tests/check/gst/gstplugin.c:
7815 * tests/check/gst/gstquery.c: (gst_query_suite):
7816 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7817 * tests/check/gst/gststructure.c:
7818 * tests/check/gst/gstsystemclock.c:
7819 * tests/check/gst/gsttag.c:
7820 * tests/check/gst/gsttask.c: (gst_task_suite):
7821 * tests/check/gst/gstutils.c:
7822 * tests/check/gst/gstvalue.c:
7823 * tests/check/libs/adapter.c:
7824 * tests/check/libs/basesrc.c:
7825 * tests/check/libs/collectpads.c:
7826 * tests/check/libs/controller.c:
7827 * tests/check/libs/gdp.c: (gst_dp_suite):
7828 * tests/check/libs/gstnetclientclock.c:
7829 * tests/check/libs/gstnettimeprovider.c:
7830 * tests/check/libs/libsabi.c: (libsabi_suite):
7831 * tests/check/libs/typefindhelper.c:
7832 * tests/check/pipelines/cleanup.c:
7833 * tests/check/pipelines/parse-launch.c:
7834 * tests/check/pipelines/simple-launch-lines.c:
7835 * tests/check/pipelines/stress.c: (stress_suite):
7838 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7840 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7841 * libs/gst/check/gstcheck.h:
7842 create a macro and function so that the simple unit test
7843 case can be just one macro to create main()
7845 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7847 * gst/gstbin.c: (gst_bin_restore_thyself):
7848 * gst/gstxml.c: (gst_xml_make_element):
7849 Fix deserialisation from XML. Set parent manually
7850 instead of using gst_bin_add(), since gst_bin_add()
7851 will unlink all pads of the element being added.
7854 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7856 Patch by: Peter Kjellerstedt <pkj at axis com>
7858 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7859 Fix missing g_strdup() and double free when using the
7860 --gst-plugin-load command line option (#346097).
7862 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7865 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7867 * libs/gst/net/gstnetclientclock.c:
7868 * libs/gst/net/gstnettimeprovider.c:
7869 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7871 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7873 * docs/manual/advanced-dataaccess.xml:
7874 Fix buffer probe example compilation in
7877 2006-06-22 Edward Hervey <edward@fluendo.com>
7879 * gst/gstelement.c: (gst_element_pads_activate):
7880 We need to deactivate src pads first and then sink pads.
7881 The reason is the src pads might be blocking while holding the streaming
7882 lock, so we need to deactivate them first so that deactivating the sink
7883 pads doesn't block (since it will require the streaming lock).
7885 2006-06-22 Wim Taymans <wim@fluendo.com>
7887 * libs/gst/base/gstbasetransform.c:
7888 (gst_base_transform_buffer_alloc):
7889 Forgot to remove two unneeded unrefs.
7890 Simplify a check _is_equal allready checks the obvious case.
7892 2006-06-22 Wim Taymans <wim@fluendo.com>
7894 * docs/design/part-block.txt:
7895 Some docs about what pad_block should do.
7897 2006-06-22 Wim Taymans <wim@fluendo.com>
7899 * gst/gstcaps.c: (gst_caps_replace):
7900 Fix crasher when passed NULL. Doc clarification.
7901 Optimize for the trivial case.
7903 * gst/gstpipeline.c: (gst_pipeline_change_state):
7906 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7907 Small documentation cleanup.
7909 * libs/gst/base/gstbasetransform.c:
7910 (gst_base_transform_buffer_alloc):
7911 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7912 is what we need and it avoids a whole lot of redundant
7913 refcount operations.
7915 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7917 Patch by: Philip Jägenstedt <philip at lysator liu se>
7919 * docs/manual/advanced-dataaccess.xml:
7920 Fix 'Embedding static elements' section to use
7921 GST_PLUGIN_DEFINE_STATIC (#345607).
7923 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7925 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7926 Attempt to 'fix' spuriously failing test case: it seems like the
7927 timeout of half a second is simply too small when the system is under
7928 load otherwise, and the timeout doesn't really seem to serve any
7929 particular purpose here. Give the pipeline a few seconds to preroll
7930 first, and then give it another half a second to go from PAUSED to
7931 PLAYING and marshal the message into the main thread.
7933 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7935 * tools/gst-feedback-m.m:
7936 Don't only use unversioned tools, try versioned tools as well
7939 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7941 * gst/gstbus.c: (gst_bus_class_init):
7942 Fix some typos, make docs more explicit.
7944 2006-06-20 Wim Taymans <wim@fluendo.com>
7946 * tests/check/gst/gstghostpad.c: (block_callback),
7947 (GST_START_TEST), (gst_ghost_pad_suite):
7948 Added some more ghostpad tests, mainly blocking
7951 2006-06-16 Wim Taymans <wim@fluendo.com>
7953 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7954 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7955 (gst_file_sink_event), (gst_file_sink_render):
7956 * plugins/elements/gstfilesink.h:
7957 Check if we can seek in the file instead of assuming
7958 we always can. Post an error when we are asked to seek in a
7959 non-seekable file (like a fifo). Fixes #343312.
7962 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7964 * tools/gst-launch.1.in:
7965 Un-garble (fourcc) bit in filtered caps section.
7967 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7969 * docs/manual/advanced-autoplugging.xml:
7970 * docs/manual/basics-helloworld.xml:
7971 * docs/manual/highlevel-components.xml:
7972 Don't leak bus reference in sample code.
7974 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7977 Add default for new --enable-plugin-docs switch.
7980 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7984 Use new ENABLE_PLUGIN_DOCS conditional.
7986 2006-06-14 Wim Taymans <wim@fluendo.com>
7988 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7989 Make it clear with a FIXME and a real define what the #if 0
7990 previously disabled.
7992 2006-06-14 Wim Taymans <wim@fluendo.com>
7994 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7995 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7996 * libs/gst/base/gstbasetransform.c:
7997 (gst_base_transform_sink_eventfunc):
7998 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7999 Don't randomly and silently reset a segment when the format
8000 changes as this is a bug somewhere upstream. Fixes #330379.
8002 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8004 Patch by: Wouter Paesen <wouter at kangaroot net>
8006 * libs/gst/controller/gstcontroller.c:
8007 (gst_controlled_property_new):
8008 Fix controlling of float properties (#344849).
8010 * tests/check/libs/controller.c:
8011 (gst_test_mono_source_get_property),
8012 (gst_test_mono_source_set_property),
8013 (gst_test_mono_source_class_init), (GST_START_TEST):
8014 While we're at it, add some float stuff to unit test.
8016 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8019 * docs/images/gdp-header.svg:
8021 * docs/libs/Makefile.am:
8022 * docs/libs/gdp-header.png:
8023 * libs/gst/dataprotocol/dataprotocol.c:
8024 add it to the API docs
8025 * docs/manual/intro-motivation.xml:
8028 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8030 * gst/gst.c: (scan_and_update_registry), (init_post):
8031 If the fork()'ed child process can't write the updated registry cache
8032 file to disk for some reason, make it exit with a failure exit code,
8033 so that the parent can then re-scan the plugins itself and update the
8034 registry structures in memory and work with that (rather than failing
8035 when creating elements because seemingly no plugins are available).
8036 Refactor registry scanning code into separate function for this and
8037 also separate fork() and non-fork() code paths. Fixes #344748.
8039 2006-06-13 Wim Taymans <wim@fluendo.com>
8041 * docs/manual/advanced-dataaccess.xml:
8042 Fix wrong PluginDesc. Fixes #344755.
8044 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8046 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8047 Fix silly bug that prevented us from creating
8048 ~/.gstreamer-0.10 and writing the registry in one
8049 go (the first call to g_mkstemp() would overwrite the
8050 placeholder in the template string, so the second call
8051 to g_mkstemp() after creating the missing directory
8052 would then error out with 'invalid argument').
8054 2006-06-13 Edward Hervey <edward@fluendo.com>
8056 * gst/gst.c: (init_post):
8059 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8061 * gst/glib-compat-private.h:
8062 * gst/glib-compat.c:
8063 * gst/glib-compat.h:
8064 * gst/gstvalue.c: (gst_value_serialize_flags):
8065 remove GLib 2.6 compatibility code
8067 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8069 * gst/parse/Makefile.am:
8070 Fix build with 'make -j N' even more (#340016).
8072 2006-06-12 Wim Taymans <wim@fluendo.com>
8074 * docs/gst/gstreamer-sections.txt:
8077 2006-06-12 Wim Taymans <wim@fluendo.com>
8079 * gst/gstsegment.c: (gst_segment_set_duration),
8080 (gst_segment_set_last_stop), (gst_segment_set_seek),
8081 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8082 (gst_segment_to_running_time), (gst_segment_clip):
8083 Use G_UNLIKELY to help the compiler a bit.
8085 2006-06-12 Wim Taymans <wim@fluendo.com>
8087 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8089 * gst/gstevent.c: (gst_event_get_type):
8091 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8093 constify quark registration strings. Fixes #344115
8094 Avoid unneeded type checking is _pad_push() by internally
8095 calling gst_pad_chain_unchecked().
8097 2006-06-12 Wim Taymans <wim@fluendo.com>
8099 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8100 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8101 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8102 (gst_buffer_is_span_fast), (gst_buffer_span):
8103 Init _type for consistency.
8104 Use _FLAGS macro to avoid type check.
8105 Avoid unneeded type checks in subbufer code.
8107 2006-06-12 Wim Taymans <wim@fluendo.com>
8109 * gst/gst.c: (gst_debug_help):
8110 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8111 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8112 (gst_plugin_feature_list_free):
8113 * gst/gstregistry.c: (gst_registry_add_plugin),
8114 (gst_registry_add_feature), (gst_registry_plugin_filter),
8115 (gst_registry_feature_filter), (gst_registry_find_plugin),
8116 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8117 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8118 * gst/gstregistryxml.c: (load_feature),
8119 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8120 * gst/gstminiobject.c: (gst_mini_object_unref),
8121 (gst_mini_object_replace), (gst_value_mini_object_free),
8122 (gst_value_mini_object_copy):
8123 Use _CAST macros to avoid unneeded type checking.
8124 Added some more G_UNLIKELY.
8126 2006-06-12 Wim Taymans <wim@fluendo.com>
8129 Avoid unneeded type checking.
8130 API: GST_BUFFER_IS_DISCONT
8132 * gst/gstminiobject.h:
8133 Avoid type check in flag accessor.
8135 * gst/gstelementfactory.h:
8137 * gst/gstpluginfeature.h:
8139 API: GST_ELEMENT_FACTORY_CAST
8140 API: GST_PLUGIN_CAST
8141 API: GST_PLUGIN_FEATURE_CAST
8143 2006-06-12 Wim Taymans <wim@fluendo.com>
8145 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8147 Add G_UNLIKELY in type registration.
8148 Avoid type check in _ref/_unref since that is also
8151 2006-06-12 Wim Taymans <wim@fluendo.com>
8153 * gst/gsterror.c: (gst_g_error_get_type):
8154 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8155 (gst_static_pad_template_get_type):
8156 * gst/gsttaglist.c: (gst_tag_list_get_type):
8157 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8158 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8159 * gst/gsturi.c: (gst_uri_handler_get_type):
8160 * gst/gstvalue.c: (gst_date_get_type):
8161 * gst/gstxml.c: (gst_xml_get_type):
8162 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8163 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8164 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8165 Add G_UNLIKELY in type registration.
8167 2006-06-12 Wim Taymans <wim@fluendo.com>
8169 * tools/gst-inspect.c: (print_signal_info):
8170 Properly print enum values.
8172 2006-06-12 Wim Taymans <wim@fluendo.com>
8174 * gst/gstinfo.c: (gst_debug_set_active),
8175 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8177 Add some G_[UN]LIKELY.
8178 Maintain __gst_debug_min to avoid formatting the arguments of
8179 debug messages that will be dropped anyway to avoid a lot of
8180 overhead from the debugging system.
8182 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8186 add missing files containing translatable strings, tell intltool about
8189 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8191 * tests/check/libs/.cvsignore:
8192 add test-binary to ignore list
8194 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8196 * docs/libs/gstreamer-libs-docs.sgml:
8197 reorder (put dp into a chapter) and indent
8199 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8204 === release 0.10.8 ===
8206 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8209 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8211 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8213 * gst/gst.c: (init_post):
8214 move pid declaration to declaration block
8216 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8218 * gst/gst.c: (init_post):
8219 use _exit() instead of exit() in our forked child; this ensures
8220 that none of the registered exit handlers from whatever is using
8221 GStreamer get executed. This fixes gnome-mixer-applet failing
8222 to load, because ORBit would shut down.
8223 Spotted by: Edward Hervey <edward@fluendo.com>
8224 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8227 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8232 === release 0.10.7 ===
8234 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8237 releasing 0.10.7, "Soepeke, ik zie ou"
8239 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8262 * win32/common/config.h:
8265 2006-06-07 Wim Taymans <wim@fluendo.com>
8267 * gst/gstindex.c: (gst_index_gtype_resolver):
8268 * tools/gst-xmlinspect.c: (print_plugin_info):
8269 Fix leak spotted by coverity checker. Fixes #343827
8270 Fix another other leak found by paolo borelli.
8272 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8274 * libs/gst/dataprotocol/dataprotocol.c:
8275 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8276 (gst_dp_version_get_type), (gst_dp_init),
8277 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8278 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8279 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8280 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8281 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8282 (gst_dp_packetizer_free):
8283 * libs/gst/dataprotocol/dataprotocol.h:
8284 API: add a GstDPPacketizer object, and create/free functions
8285 API: add GstDPVersion enum
8286 Add 1.0 event function that uses the string serialization
8287 Serialize more useful buffer flags
8290 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8292 * tests/check/Makefile.am:
8293 * tests/check/gst/gstabi.c:
8294 * tests/check/gst/struct_ppc64.h:
8295 * tests/check/libs/libsabi.c:
8296 * tests/check/libs/struct_ppc64.h:
8297 add ppc64 structure sizes
8299 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8301 * tests/check/Makefile.am:
8302 * tests/check/gst/gstabi.c:
8303 * tests/check/gst/struct_x86_64.h:
8304 * tests/check/libs/libsabi.c:
8305 * tests/check/libs/struct_x86_64.h:
8306 generate and add structure size lists for x86_64
8308 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8310 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8311 * libs/gst/check/gstcheck.h:
8312 factor out the method from tests that checks size of structures,
8313 and add code to generate the header containing these sizes
8314 * tests/check/gst/gstabi.c: (GST_START_TEST):
8315 * tests/check/gst/struct_i386.h:
8316 * tests/check/libs/libsabi.c: (GST_START_TEST):
8317 * tests/check/libs/struct_i386.h:
8320 2006-06-06 Michael Smith <msmith@fluendo.com>
8323 Don't use c++-style comments, fixes #343929
8325 2006-06-05 Edward Hervey <edward@fluendo.com>
8328 plugin_paths is not used if we build without registry support.
8330 * gst/gstsegment.c: (gst_segment_copy):
8331 _copy() was always returning NULL...
8333 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8335 * libs/gst/dataprotocol/dataprotocol.c:
8336 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8337 (gst_dp_packet_from_event):
8340 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8342 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8343 make sure we unset caps
8345 2006-06-02 Michael Smith <msmith@fluendo.com>
8347 * libs/gst/check/gstcheck.c: (gst_check_init),
8348 (gst_check_chain_func):
8349 * libs/gst/check/gstcheck.h:
8350 Add a cond/mutex to the check support lib, signal this whenever we
8351 add to the buffers list. This will allow tests to not busy-wait on
8354 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8356 * libs/gst/dataprotocol/dataprotocol.c:
8357 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8358 (gst_dp_packet_from_event):
8359 factor out some common header init code
8361 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8363 * docs/libs/gstreamer-libs-sections.txt:
8364 * docs/libs/tmpl/gstdataprotocol.sgml:
8365 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8366 * libs/gst/dataprotocol/dataprotocol.h:
8367 API: make gst_dp_crc() public
8369 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8371 * plugins/indexers/gstindexers.c: (plugin_init):
8372 conditionally register fileindexer (fixes #343598)
8374 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8376 * gst/gsttagsetter.h:
8377 Can't cast ifaces to a class
8379 * libs/gst/net/gstnetclientclock.h:
8380 * libs/gst/net/gstnettimeprovider.h:
8381 * plugins/elements/gstfakesink.h:
8382 * plugins/elements/gstfakesrc.h:
8383 * plugins/elements/gstfdsink.h:
8384 * plugins/elements/gstfdsrc.h:
8385 * plugins/elements/gstfilesink.h:
8386 * plugins/elements/gstfilesrc.h:
8387 * plugins/elements/gstidentity.h:
8388 * plugins/elements/gstqueue.h:
8389 * plugins/elements/gsttee.h:
8390 * plugins/indexers/gstfileindex.c:
8391 * plugins/indexers/gstmemindex.c:
8392 * tests/old/examples/plugins/example.h:
8393 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8395 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8397 * libs/gst/dataprotocol/dataprotocol.c:
8398 (gst_dp_header_from_buffer):
8399 make sure we zero the whole ABI-compatible area
8401 2006-06-01 Wim Taymans <wim@fluendo.com>
8403 Patch by: Alessandro Decina <alessandro at nnva dot org>
8405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8406 Make sure the EOS flag is cleared from pads after a flush
8407 or stop. Fixes #343538.
8409 * tests/check/libs/collectpads.c: (GST_START_TEST),
8410 (gst_collect_pads_suite):
8411 Added test for collectpads reusage after EOS.
8413 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8416 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8417 * win32/common/libgstbase.def:
8418 export gst_collect_pads_set_flushing
8419 * win32/common/libgstreamer.def:
8420 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8421 gst_value_fraction_multiply
8422 * win32/vs6/gst_inspect.dsp:
8423 add a link to intl.lib
8425 2006-05-30 Wim Taymans <wim@fluendo.com>
8427 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8428 (gst_collect_pads_chain):
8429 Handle the case where a pad is removed from the collection
8430 that could cause the other pads to become collectable.
8432 2006-05-30 Wim Taymans <wim@fluendo.com>
8435 Clarify the use of _release_request_pad() and
8436 _get_request_pad() a bit better.
8438 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8439 (gst_adapter_take_buffer):
8440 Fix some doc and comment typos.
8442 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8444 * docs/gst/gstreamer-sections.txt:
8445 * docs/libs/gstreamer-libs-sections.txt:
8446 add declared symbols
8448 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8450 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8451 Add debug that can be enabled using a #define at the top of the file,
8452 for dumping stats about how late/early we were when waking up from
8453 waiting on the clock.
8455 2006-05-30 Wim Taymans <wim@fluendo.com>
8457 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8458 When rebuilding the pad list, don't leak the previous list.
8460 2006-05-30 Wim Taymans <wim@fluendo.com>
8462 Patch by: Lutz Mueller <lutz at topfrose dot de>
8464 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8465 (gst_base_src_get_query_types), (gst_base_src_update_length):
8466 Publish supported query types.
8467 Update last_stop field in get_range mode so the position
8468 query works. Fixes #342321.
8470 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8472 * docs/gst/gstreamer-sections.txt:
8473 * gst/gsttaglist.c: (_gst_tag_initialize):
8475 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8477 2006-05-30 Wim Taymans <wim@fluendo.com>
8479 Patch by: Alessandro Decina <alessandro at nnva dot org>
8481 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8482 Unlock mutex when removing an unknown pad.
8485 * tests/check/Makefile.am:
8486 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8487 (push_event), (setup), (teardown), (GST_START_TEST),
8488 (gst_collect_pads_suite), (main):
8489 Added collecpads check, disabled for now as check crashes for
8492 2006-05-29 Wim Taymans <wim@fluendo.com>
8494 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8495 Don't leak pads lists.
8497 2006-05-29 Wim Taymans <wim@fluendo.com>
8499 * docs/libs/gstreamer-libs-sections.txt:
8500 * libs/gst/base/gstcollectpads.c:
8501 (gst_collect_pads_set_flushing_unlocked),
8502 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8503 (gst_collect_pads_stop):
8504 * libs/gst/base/gstcollectpads.h:
8505 API: gst_collect_pads_set_flushing()
8506 Added api to set the pads to flushing, useful for seeking
8507 code in elements using collectpads.
8508 Clear segment when receiving a flush.
8510 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8512 * gst/gst.c: (add_path_func), (init_post):
8513 Don't scan registry paths passed via --gst-plugin-path immediately
8514 (will crash, because absolutely nothing is set up and no types are
8515 registered etc.); do this later in init_post(). Fixes #343057.
8517 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8519 * gst/gst.c: (init_post):
8520 if we have fork, fork while reading/rebuilding the registry
8521 so the parent doesn't take the hit of having all plugins loaded
8522 in memory. Fixes #342777.
8524 Check if we have fork()
8525 * win32/common/config.h.in:
8528 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8530 * plugins/elements/gstelements.c:
8531 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8532 (gst_file_src_init), (gst_file_src_set_property),
8533 (gst_file_src_get_property), (gst_file_src_start):
8534 * plugins/elements/gstfilesrc.h:
8535 API: GstFileSrc::use-mmap
8537 Add a use-mmap property to enable easier testing of all code paths.
8538 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8539 in the absence of gnomevfssrc. (Closes #340501)
8541 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8543 * tools/gst-inspect.c:
8544 Add missing include, removes warning of ngettext not being defined on
8547 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8549 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8550 Handle NULL input and output pointers silently as a failed conversion,
8551 rather than g_warnings.
8553 2006-05-25 Wim Taymans <wim@fluendo.com>
8555 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8556 Initialize variable before using. Fixes #342820.
8558 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8560 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8561 Fix off-by-one bug that would only allow peeks of N-1 bytes
8562 from the start even if the buffer to typefind on contains
8563 in fact N bytes of data (makes vorbis typefinding from a
8564 vorbis identification header buffer work).
8566 * tests/check/Makefile.am:
8567 * tests/check/libs/.cvsignore:
8568 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8569 (gst_typefindhelper_suite), (main), (foobar_typefind),
8571 Add very basic unit test for gst_type_find_helper_for_buffer()
8572 that checks for the problem fixed above.
8574 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8576 * tools/gst-inspect.c: (print_interfaces),
8577 (print_element_properties_info), (print_element_list), (main):
8578 add more translatable strings
8580 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8582 Patch by: Julien Moutte <julien at moutte net>
8584 * docs/gst/gstreamer-sections.txt:
8585 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8587 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8588 (gst_fake_sink_preroll):
8589 * plugins/elements/gstfakesink.h:
8590 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8592 2006-05-23 Wim Taymans <wim@fluendo.com>
8594 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8596 Added _CUSTOM error and success GstFlowReturn that can be
8597 used be elements internally.
8598 Added macro to check for SUCCESS flowreturns.
8599 API: GST_FLOW_CUSTOM_SUCCESS
8600 API: GST_FLOW_CUSTOM_ERROR
8601 API: GST_FLOW_IS_SUCCESS
8603 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8604 Added check for GstFlowReturn sanity.
8606 2006-05-23 Wim Taymans <wim@fluendo.com>
8608 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8611 (gst_collect_pads_event):
8612 clear/reset segment info in FLUSH_STOP.
8615 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8617 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8618 (gst_collect_pads_check_collected):
8619 Flush queued buffer on _stop(), fixes playing again (#342454)
8621 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8623 * tests/check/gst/gststructure.c: (GST_START_TEST),
8624 (gst_structure_suite):
8625 add a test for a complete structure
8627 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8629 * docs/faq/developing.xml:
8631 * docs/faq/troubleshooting.xml:
8632 * docs/faq/using.xml:
8633 Some minor FAQ updates that won't change the fact that
8634 our FAQ is badly structured, full of information hardly
8635 anyone new to GStreamer needs to know and lacking lots
8636 of information people constantly ask for.
8638 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8640 * gst/gstpad.c: (gst_pad_set_caps):
8641 Short-circuit gst_pad_set_caps if setting the existing
8642 caps pointer again, and avoid printing debug and
8643 reffing/unreffing the caps.
8645 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8646 There's actually no need to set the caps before pushing -
8647 the acceptcaps method will handle it anyway.
8649 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8651 * docs/gst/gstreamer-sections.txt:
8652 * win32/common/libgstreamer.def:
8653 * gst/gstutils.c: (gst_element_seek_simple):
8655 API: add gst_element_seek_simple() (#342238).
8657 2006-05-18 Edward Hervey <edward@fluendo.com>
8659 * gst/gsttypefind.c: (gst_type_find_get_type):
8660 * gst/gsttypefind.h:
8661 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8662 registered for GstTypeFind pointers. This allows wrapping the structure
8663 in bindings (i.e. gst-python).
8665 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8667 * gst/gsttagsetter.c:
8668 Docs additions and fixes (see #339918).
8670 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8672 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8673 The caps intersection algorithm can produce multiple copies of the
8674 caps. Until that is fixed, we need to simplify the result to be
8675 sure whether the allowed caps are fixed or not.
8677 * plugins/elements/gstqueue.c: (gst_queue_init),
8678 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8679 (gst_queue_push_one):
8680 Proxied buffer alloc should not set the caps on the source pad.
8681 When pushing buffers, we always accept the caps change that triggers.
8682 This prevents negotiation errors caused by caps changing mid-stream
8683 and then being refused on our source pad (because upstream is now
8684 refusing those caps).
8686 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8688 * tests/examples/helloworld/helloworld.c: (main):
8689 Must plug audioconvert and audioresample between decoder
8692 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8694 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8695 (load_feature), (load_plugin):
8696 Allow empty strings for some of the plugin fields so we don't
8697 drop valid plugin entries that were written out correctly
8700 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8702 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8703 Use g_remove and g_rename instead of remove and rename that don't
8704 handle utf8 characters. rename was failing for users who had specific
8705 characters in their name then the registry was built at each
8707 * win32/vs6/gst_inspect.dsp:
8708 * win32/vs6/gst_launch.dsp:
8709 * win32/vs6/libgstbase.dsp:
8710 * win32/vs6/libgstcoreelements.dsp:
8711 * win32/vs6/libgstreamer.dsp:
8712 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8713 build of libgstreamer and clean unused libraries in projects link
8716 2006-05-17 Edward Hervey <edward@fluendo.com>
8718 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8719 The queue is not responsible for pushing an EOS when receiving a fatal
8720 flow error. It's up to the real element driving the pipeline to do that.
8722 2006-05-16 Edward Hervey <edward@fluendo.com>
8724 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8725 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8726 buffer returned a fatal error. It should just send an EOS and stop
8728 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8729 when pushing buffers on the queue and will be able to handle the event.
8731 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8733 * docs/manual/basics-bins.xml:
8734 * docs/manual/basics-init.xml:
8735 Fix typos and minor errors in sample code (#341856).
8737 2006-05-16 Wim Taymans <wim@fluendo.com>
8739 * docs/design/part-qos.txt:
8740 Fix indexes in formulas to make more sense.
8742 2006-05-15 Wim Taymans <wim@fluendo.com>
8744 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8745 Don't report POSITION based on clock time if sync is
8748 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8751 Add cast to make compiler happy - refcount variable was a gint
8752 in GstObject but is a guint in GObject and g_atomic_int_get()
8755 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8757 * gst/parse/Makefile.am:
8758 chain commands using &&, which also makes parallel make work
8760 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8762 * docs/gst/gstreamer-sections.txt:
8768 === release 0.10.6 ===
8770 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8773 releasing 0.10.6, "Take the cannoli"
8775 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8777 * tools/gst-launch.c: (print_tag):
8778 Fix use of uninitialized variable in the hypothetical
8779 case that some broken plugin creates a GST_TAG_IMAGE
8780 tag containing a NULL buffer (#341667).
8782 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8784 * tools/gst-launch.c: (print_tag):
8785 Print something more intelligible for image tags when
8786 using the -t switch (#341556).
8788 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8793 define GST_MAJORMINOR so we have it available in win32/common/config.h
8794 Possibly remove it from our Makefile.am files later
8795 * win32/common/config.h:
8796 * win32/common/config.h.in:
8797 added GST_MAJORMINOR
8798 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8799 * win32/common/gstversion.h:
8802 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8805 Update win32 files listing.
8806 * win32/common/gstversion.h:
8807 Add GST_MAJORMINOR definition.
8808 * win32/common/libgstreamer.def:
8809 Add new exported functions.
8811 2006-05-12 Michael Smith <msmith@fluendo.com>
8813 * gst/gstplugin.c: (gst_plugin_load_file):
8814 If an so file has no plugin entry point, unload the module.
8816 2006-05-11 Wim Taymans <wim@fluendo.com>
8818 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8819 (gst_queue_set_property):
8820 Don't forget to signal the _chain or _loop function
8821 when the queue size or thresholds change since that might
8822 cause them to make progres again.
8824 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8826 * gst/gstclock.c: (gst_clock_class_init):
8827 * gst/gstindex.c: (gst_index_class_init):
8828 * gst/gstobject.c: (gst_object_class_init):
8829 * gst/gstpad.c: (gst_pad_class_init):
8830 * gst/gstpipeline.c: (gst_pipeline_class_init):
8831 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8832 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8833 * libs/gst/base/gstbasetransform.c:
8834 (gst_base_transform_class_init):
8835 * libs/gst/net/gstnetclientclock.c:
8836 (gst_net_client_clock_class_init):
8837 * libs/gst/net/gstnettimeprovider.c:
8838 (gst_net_time_provider_class_init):
8839 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8840 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8841 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8842 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8843 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8844 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8845 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8846 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8847 * plugins/elements/gsttee.c: (gst_tee_class_init):
8848 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8849 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8850 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8852 2006-05-11 Wim Taymans <wim@fluendo.com>
8854 * gst/gstbuffer.c: (_gst_buffer_initialize):
8855 Register subbufer along with the buffer type so that
8856 it does not accidentally gets registered from N
8857 different streaming threads in a non threadsafe way.
8859 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8864 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8865 gst_event_ref() and gst_message_ref() functions again
8866 (ugly hack, please do fix if there's a better way besides
8867 overrides.txt, which doesn't seem to work).
8869 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8871 * libs/gst/check/gstcheck.h:
8872 add an assert for setting state to avoid lots of repetitive code
8875 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8877 * gst/gstvalue.c: (gst_value_serialize_flags):
8878 fix a leak if no flags are set
8879 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8882 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8884 * docs/manual/basics-pads.xml:
8885 Expand a bit on caps and filtered links and update
8886 examples that were still using the no longer existing
8887 gst_pad_link_filtered() (#338206).
8889 2006-05-10 Wim Taymans <wim@fluendo.com>
8891 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8892 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8893 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8894 (gst_collect_pads_stop):
8895 * libs/gst/base/gstcollectpads.h:
8896 No need to call _stop in _finalize.
8897 Iterate the main pad list in _finalize.
8898 Added some more debug.
8899 Free lists and data in the right order.
8900 Also free data whem doing _remove_pad when stopped for
8901 backward compatibility protect ::started with PAD_LOCK as
8904 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8906 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8907 (gst_structure_parse_value):
8909 rename a method so that it actually says what it does better
8911 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8913 * gst/gstevent.c: (_gst_event_initialize):
8914 * gst/gstformat.c: (_gst_format_initialize):
8915 make sure some essential types used by events are registered
8916 as part of gst_init()
8917 * gst/gstvalue.c: (gst_value_serialize_flags):
8918 if no flags are set, serialize them to a value that represents NONE
8919 so that deserializing them works
8920 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8921 add tests for serialization and deserialization of flags
8923 2006-05-10 Wim Taymans <wim@fluendo.com>
8925 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8926 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8927 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8928 (gst_collect_pads_event), (gst_collect_pads_chain):
8931 Catch and return errors from the collect function
8932 Refuse data on eos pads.
8934 2006-05-10 Edward Hervey <edward@fluendo.com>
8936 * gst/gstinterface.h:
8937 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8938 GInterface type checking.
8939 They were previously using non-defined macros.
8941 2006-05-09 Wim Taymans <wim@fluendo.com>
8943 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8944 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8945 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8946 (gst_collect_pads_start), (gst_collect_pads_stop),
8947 (gst_collect_pads_peek), (gst_collect_pads_pop),
8948 (gst_collect_pads_available), (gst_collect_pads_read),
8949 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8950 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8951 (gst_collect_pads_chain):
8952 * libs/gst/base/gstcollectpads.h:
8953 Clean up the mess that is collectpads, add comments and
8954 FIXMEs where needed.
8955 Maintain a separate pad list so we can add pads while
8956 collecting the other ones. For this we need a new separate
8958 Fix memory leak in finalize.
8959 Refactor some weird code to set/unset pad flushing flags, mark
8961 Don't crash in _available, _read, _flush when we're EOS.
8963 * tests/check/libs/.cvsignore:
8964 Ignore adapter check binary.
8966 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8968 * gst/gstindex.c: (gst_index_resolver_get_type):
8969 * plugins/elements/gstfakesink.c:
8970 (gst_fake_sink_state_error_get_type):
8971 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8972 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8973 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8974 Const-ify GEnumValue arrays.
8976 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8978 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8979 Add test case for flags + gst_buffer_make_metadata_writable().
8981 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8983 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8984 gst_buffer_make_metadata_writable() should maintain the
8985 buffer flags (those that make sense at least) (see #340859).
8987 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8989 * tools/gst-inspect.c:
8990 * tools/gst-launch.c:
8991 * tools/gst-typefind.c:
8992 * tools/gst-xmlinspect.c:
8994 Fix up includes: need to include stdlib.h in tools.h for exit().
8996 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8998 * gst/gsttaglist.c: (_gst_tag_initialize):
9000 API: add GST_TAG_IMAGE tag (#340721).
9002 2006-05-08 Wim Taymans <wim@fluendo.com>
9005 Added some docs for the segment query.
9007 2006-05-08 Wim Taymans <wim@fluendo.com>
9009 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9010 (gst_base_src_loop), (gst_base_src_change_state):
9011 Always push non-flushing serialized events in the streaming
9014 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9016 * gst/gsterror.c: (_gst_stream_errors_init):
9017 Add a missing error string.
9019 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9021 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9022 Add applied_rate to the debug
9024 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9025 Copy applied_rate into the outgoing NEWSEGMENT event
9027 2006-05-08 Wim Taymans <wim@fluendo.com>
9029 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9031 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9032 (gst_base_sink_change_state):
9033 call ::unlock before taking the PREROLL_LOCK so we can safely
9034 handle elements that lock in ::render.
9037 2006-05-08 Edward Hervey <edward@fluendo.com>
9039 * autogen.sh: (CONFIGURE_DEF_OPT):
9040 Darwin's libtoolize is in fact called glibtoolize.
9041 Adding glibtoolize to the list of accepted names for libtoolize.
9043 2006-05-08 Wim Taymans <wim@fluendo.com>
9045 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9046 Unify error handling, don't post an error message
9047 when a push() returns EOS but perform our normal EOS
9048 handling code. Fixes #340772.
9050 2006-05-08 Wim Taymans <wim@fluendo.com>
9052 * docs/design/part-overview.txt:
9053 Make upsteam/downstream concepts more clear.
9054 Give an example of serialized/non-serialized events.
9056 * docs/design/part-events.txt:
9057 * docs/design/part-streams.txt:
9058 Mention applied_rate.
9060 * docs/design/part-trickmodes.txt:
9061 Mention applied rate, flesh out some more use cases.
9063 * gst/gstevent.c: (gst_event_new_new_segment),
9064 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9065 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9066 (gst_event_parse_tag), (gst_event_new_buffer_size),
9067 (gst_event_parse_buffer_size), (gst_event_new_qos),
9068 (gst_event_parse_qos), (gst_event_parse_seek),
9069 (gst_event_new_navigation):
9071 Add applied_rate field to NEWSEGMENT event.
9072 API: gst_event_new_new_segment_full()
9073 API: gst_event_parse_new_segment_full()
9075 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9076 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9077 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9079 Add applied_rate to GstSegment structure.
9080 Make calculation of stream_time and running_time more correct
9081 wrt rate/applied_rate.
9083 API: GstSegment::applied_rate field
9084 API: gst_segment_set_newsegment_full();
9086 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9087 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9088 * libs/gst/base/gstbasetransform.c:
9089 (gst_base_transform_sink_eventfunc),
9090 (gst_base_transform_handle_buffer):
9091 Parse and use applied_rate in the GstSegment field.
9093 * tests/check/gst/gstevent.c: (GST_START_TEST):
9094 Add check for applied_rate field.
9096 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9097 (gstsegments_suite):
9098 Add more checks for various GstSegment operations.
9100 2006-05-08 Wim Taymans <wim@fluendo.com>
9102 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9103 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9104 (gst_base_sink_get_position), (gst_base_sink_change_state):
9105 Store the sync time of the buffer end position separatly in a
9106 new variable eos_rtime so we can properly sync the EOS event.
9108 Fix the docs for gst_base_sink_set_qos_enabled().
9109 Don't set segment start to invalid value when we receive a
9110 non TIME newsegment.
9111 get closer to handling position reporting for negative rates
9114 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9117 Docs about how to print caps for debug purposes.
9119 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9120 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9122 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9125 use full enum names and preprend a '%' in docs strings to make recent
9126 gtk-doc turn that into a link
9128 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9130 * docs/manual/basics-bins.xml:
9131 * docs/manual/basics-bus.xml:
9132 * docs/manual/basics-pads.xml:
9133 Some typo fixes, some additions, some clarifications.
9135 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9137 * tools/gst-inspect.c: (main):
9138 * tools/gst-launch.c: (main):
9139 * tools/gst-run.c: (main):
9140 * tools/gst-typefind.c: (main):
9141 * tools/gst-xmlinspect.c: (main):
9142 Use the string passed to g_option_context_new() for
9143 what it's intended for - the program name is already
9146 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9148 * tools/Makefile.am:
9149 * tools/gst-inspect.c: (main):
9150 * tools/gst-launch.c: (main):
9151 * tools/gst-xmlinspect.c: (main):
9153 Add back --version command line option (#340460).
9155 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9156 Add --version option and use GOption for argument parsing; refactor a
9157 bit; accept directories as arguments and recurse into them; lastly,
9158 print a decent error message when things go wrong.
9160 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9162 * docs/manual/basics-bins.xml:
9163 Don't mention GstThread (#340611)
9164 * docs/manual/basics-elements.xml:
9165 Update link to GObject tutorial (#340607)
9167 2006-05-05 Wim Taymans <wim@fluendo.com>
9170 * gst/gstminiobject.c:
9171 Add note about refcounting and miniobject/buffer writeability
9172 to docs. Fixes #340604
9174 * gst/gstelementfactory.h:
9175 Added some explanation about @klass.
9177 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9179 * docs/manual/intro-motivation.xml:
9180 * docs/manual/manual.xml:
9181 Avoid CORBA & Bonobo references (#340598)
9183 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9185 * docs/manual/basics-bus.xml:
9186 * docs/manual/basics-pads.xml:
9187 Fix up some inaccuracies and omissions (#340609)
9189 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9191 * gst/gstghostpad.c:
9192 Small typo in docs (#340625)
9194 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9196 * gst/parse/Makefile.am:
9197 Make 'make -j' proof (see #340698).
9199 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9202 Require GLib-2.8 here as well.
9204 2006-05-05 Wim Taymans <wim@fluendo.com>
9206 * gst/glib-compat.c:
9207 * gst/gst.c: (init_pre):
9208 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9209 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9210 (gst_object_dispatch_properties_changed):
9212 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9213 * gst/gststructure.c: (gst_structure_set_valist):
9214 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9215 Remove pre glib2.8 compatibility, fixes #340508
9217 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9220 Mention type of tags in doc blurbs.
9222 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9224 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9225 (gst_pad_configure_src), (gst_pad_push):
9226 Restore acceptcaps checking behaviour now that good plugins have
9229 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9231 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9242 * gst/parse/Makefile.am:
9243 * libs/gst/base/gstadapter.c:
9244 * libs/gst/base/gstbasesrc.c:
9245 * libs/gst/base/gstpushsrc.c:
9246 * libs/gst/base/gsttypefindhelper.c:
9247 * plugins/elements/gstfakesrc.c:
9248 * plugins/elements/gstidentity.c:
9249 Make sure gstprivate.h and/or config.h are
9250 always included first, otherwise some of our
9251 defines (like _FILE_OFFSET_BITS) might be
9252 redefined in the system headers. Fixes build
9253 on opensolaris (#340016).
9255 2006-05-04 Wim Taymans <wim@fluendo.com>
9257 * docs/libs/gstreamer-libs-sections.txt:
9258 API: addition: gst_adapter_take_buffer()
9260 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9261 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9262 (gst_adapter_available_fast):
9263 * libs/gst/base/gstadapter.h:
9264 Prepare for optimizing the hell out of this hugely inefficient
9266 Added gst_adapter_take_buffer() so we can at least start thinking
9267 about subbuffering and merging.
9268 Added some comments.
9270 * tests/check/Makefile.am:
9271 * tests/check/libs/adapter.c: (GST_START_TEST),
9272 (gst_adapter_suite), (main):
9273 Added GstAdapter check.
9275 2006-05-04 Wim Taymans <wim@fluendo.com>
9277 * docs/design/part-overview.txt:
9278 Fix some typos, add blurb about buffer flags.
9280 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9282 * docs/libs/gstreamer-libs-sections.txt:
9283 make sure GstBaseTransformClass shows up in the docs
9284 * libs/gst/base/gstbasetransform.c:
9285 * libs/gst/base/gstbasetransform.h:
9286 move docs so gtk-doc picks it up now
9288 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9290 * docs/libs/gstreamer-libs-sections.txt:
9291 add missing symbols to docs
9293 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9295 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9296 back out the newsegment handling change, see #340060 for ongoing
9299 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9301 * tools/gst-run.c: (get_candidates), (main):
9302 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9303 work); fix typo in error message. Fixes #340079.
9305 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9307 * common/Makefile.am:
9309 * docs/faq/Makefile.am:
9310 * docs/gst/Makefile.am:
9311 * docs/libs/Makefile.am:
9312 * docs/manual/Makefile.am:
9313 * docs/plugins/Makefile.am:
9314 * docs/pwg/Makefile.am:
9315 * docs/slides/Makefile.am:
9317 * common/upload.mak:
9318 move upload.mak to common
9320 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9322 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9323 add more asserts on refcounts
9324 do more cleanup at end of tests
9325 fix test leaks showing in FC5
9327 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9329 * plugins/elements/gsttypefindelement.c:
9330 (gst_type_find_element_handle_event):
9331 reverted wrong change and reflowed code to avoid others falling into
9334 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9336 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9337 fix changelog entry about last collectpads change,
9338 add notes about proper fix
9340 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9343 * gst/gstregistry.c: (gst_registry_scan_path_level),
9344 (gst_registry_scan_path):
9345 * gst/gstregistry.h:
9346 only write out registry if it has changed, fixes #338339
9348 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9351 * gst/gstpipeline.c:
9352 * plugins/elements/gstcapsfilter.c:
9353 * plugins/elements/gstfakesink.c:
9354 * plugins/elements/gstfakesrc.c:
9355 * plugins/elements/gstfdsink.c:
9356 * plugins/elements/gstfdsrc.c:
9357 * plugins/elements/gstfilesink.c:
9358 * plugins/elements/gstfilesrc.c:
9359 * plugins/elements/gstidentity.c:
9360 * plugins/elements/gstqueue.c:
9361 * plugins/elements/gsttee.c:
9362 * plugins/elements/gsttypefindelement.c:
9363 (gst_type_find_element_handle_event):
9364 make GstElementDetails const
9366 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9368 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9370 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9371 more detailed debug and formatting cleanup,
9372 forward newsegments to src-pad (so that e.g. adder not eats them)
9374 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9376 * gst/gstutils.c: (gst_element_link_pads):
9379 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9381 * libs/gst/controller/gstcontroller.c:
9382 (gst_controller_sync_values):
9384 * tests/check/libs/controller.c: (GST_START_TEST),
9385 (gst_controller_suite):
9386 a new test for live value handling
9388 2006-04-28 Wim Taymans <wim@fluendo.com>
9390 * gst/gstutils.c: (push_and_ref):
9391 Added some more docs.
9392 Fix refcount issue whith gst_element_found_tags() helper
9393 function. Fixes #338335
9395 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9396 Added testsuite for gst_element_found_tags().
9398 2006-04-28 Michael Smith <msmith@fluendo.com>
9400 * gst/gstvalue.c: (gst_value_serialize_flags):
9401 Avoid NULL dereference when trying to serialize flags containing
9404 2006-04-28 Michael Smith <msmith@fluendo.com>
9406 * plugins/elements/gsttypefindelement.c:
9407 (gst_type_find_element_handle_event):
9408 If we get EOS before any data is accumulated, don't use
9409 uninitialised local variables.
9411 2006-04-28 Michael Smith <msmith@fluendo.com>
9413 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9414 (gst_dp_event_from_packet):
9415 Fixes in reading/writing events over GDP (not currently used?) -
9416 dereferencing NULL events for unknown/invalid event types, memory
9417 leak, and change g_warning to GST_WARNING.
9419 2006-04-28 Wim Taymans <wim@fluendo.com>
9421 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9422 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9423 (gst_base_sink_get_position), (gst_base_sink_change_state):
9424 When frame dropping is enabled, we should not ignore frames
9426 Update some documentation.
9428 2006-04-28 Wim Taymans <wim@fluendo.com>
9430 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9431 (gst_base_src_send_event), (gst_base_src_change_state):
9432 Documentation updates.
9434 2006-04-28 Wim Taymans <wim@fluendo.com>
9436 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9437 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9438 handle EAGAIN, EINTR and short writes correctly. Also clean
9439 up some error cases, avoid a deadlock on bad file descriptors and
9440 use GST_DEBUG_OBJECT.
9443 2006-04-28 Wim Taymans <wim@fluendo.com>
9445 * gst/gstvalue.c: (gst_value_serialize_buffer),
9446 (gst_value_deserialize_buffer):
9447 Don't try to serialize a GValue with a NULL buffer.
9450 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9451 Added check for serialisation of NULL buffers.
9453 2006-04-28 Wim Taymans <wim@fluendo.com>
9455 * gst/gstminiobject.c: (gst_value_take_mini_object):
9456 Taking a NULL miniobject is valid, fix the case where
9457 we try to unref the NULL miniobject.
9459 2006-04-28 Wim Taymans <wim@fluendo.com>
9461 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9463 * gst/gstbin.c: (gst_bin_handle_message_func):
9465 Don't leak bin refcount when a state recalc is
9466 in progress and we delay another one #339808.
9468 2006-04-28 Wim Taymans <wim@fluendo.com>
9470 * docs/design/part-TODO.txt:
9471 Mention QoS as an ongoing work item.
9473 * docs/design/part-buffering.txt:
9474 New doc about buffering that needs to be fleshed out
9477 * docs/design/part-qos.txt:
9478 More QoS policy for decoders/demuxers/transforms
9480 * docs/design/part-trickmodes.txt:
9483 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9488 === release 0.10.5 ===
9490 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9493 releasing 0.10.5, "Fogo"
9495 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9497 patch by: Wim Taymans
9499 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9500 (gst_pad_configure_src), (gst_pad_push):
9501 * gst/gstpipeline.c: (gst_pipeline_init):
9502 Fix internal data flow errors. Fixes #338711.
9504 2006-04-12 Wim Taymans <wim@fluendo.com>
9506 * tests/check/gst/gstelement.c: (GST_START_TEST):
9507 Don't leak the factory.
9509 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9512 * win32/common/config.h:
9515 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9517 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9518 (gst_controller_unset_all):
9519 Free allocated GstTimedValues when freeing list nodes.
9520 Should fix leaks 'make check-valgrind' complains about.
9522 * win32/common/libgstcontroller.def:
9523 Add gst_controller_unset_all.
9525 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9527 * docs/libs/gstreamer-libs-sections.txt:
9528 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9529 (gst_controller_unset_all):
9530 * libs/gst/controller/gstcontroller.h:
9531 API: Added new method gst_controller_unset_all()
9532 fixed gst_controller_unset()
9533 * tests/check/libs/controller.c: (GST_START_TEST),
9534 (gst_controller_suite):
9535 Added two testcases for new and fixed method
9537 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9539 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9540 MSG_DONTWAIT is not defined on Cygwin, so work
9541 around that (fixes #317048).
9543 2006-04-11 Wim Taymans <wim@fluendo.com>
9545 * gst/gstelementfactory.c: (gst_element_register),
9546 (gst_element_factory_create), (gst_element_factory_make):
9549 Updated docs (Fixes #131079)
9551 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9554 * tests/check/gst/gstelement.c: (GST_START_TEST),
9555 (gst_element_suite):
9556 Added testcase for elementfactory class field.
9558 2006-04-10 Wim Taymans <wim@fluendo.com>
9561 Added some more docs.
9563 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9564 (gst_base_sink_reset_qos):
9565 Calculate more accurate rate values.
9567 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9569 * gst/gst_private.h:
9570 add a new #ifdef to use __declspec(dllimport) only for
9571 other modules and not for gstreamer core
9572 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9573 use gst_guint64_to_gdouble for conversion
9574 * win32/common/libgstreamer.def:
9575 add new exported functions
9576 * win32/vs6/gst_inspect.dsp:
9577 * win32/vs6/gst_launch.dsp:
9578 * win32/vs6/libgstbase.dsp:
9579 * win32/vs6/libgstcontroller.dsp:
9580 * win32/vs6/libgstcoreelements.dsp:
9581 * win32/vs6/libgstdataprotocol.dsp:
9582 * win32/vs6/libgstnet.dsp:
9583 update project files
9585 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9587 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9588 * gst/gstclock.c: (gst_clock_class_init):
9589 * gst/gstelement.c: (gst_element_class_init):
9590 * gst/gstindex.c: (gst_index_class_init):
9591 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9592 * gst/gstobject.c: (gst_object_class_init),
9593 (gst_signal_object_class_init):
9594 * gst/gstpad.c: (gst_pad_class_init):
9595 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9596 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9597 * gst/gstregistry.c: (gst_registry_class_init):
9598 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9599 * gst/gsttask.c: (gst_task_class_init):
9600 * gst/gstxml.c: (gst_xml_class_init):
9601 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9602 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9603 (gst_base_src_loop):
9604 * libs/gst/controller/gstcontroller.c:/
9605 (_gst_controller_class_init):
9606 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9607 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9608 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9609 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9610 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9611 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9613 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9615 * gst/gstpad.c: (gst_pad_link):
9616 Must set peer pads before calling the link function, otherwise
9617 a task started from a link function might get a flow-not-linked
9618 result when trying to push because the other thread where the
9619 linking happens hasn't had a chance to set the peers yet. This
9620 might happen for example when a queue gets linked to a downstream
9621 element, as queue starts a streaming task when its source pad
9622 gets linked. Happens in real life when playing back flac/musepack
9623 files in playbin (#332390).
9625 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9629 * libs/gst/base/gstadapter.h:
9630 * libs/gst/base/gstbasesink.h:
9631 * libs/gst/base/gstbasesrc.h:
9632 * libs/gst/base/gstbasetransform.h:
9633 * libs/gst/base/gstcollectpads.h:
9634 * libs/gst/base/gstpushsrc.h:
9635 Fix broken GObject macros
9637 2006-04-07 Wim Taymans <wim@fluendo.com>
9639 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9640 Initialize start and stop times, thanks valgrind.
9642 2006-04-07 Wim Taymans <wim@fluendo.com>
9644 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9645 Be a bit nicer to badly behaving upstream elements that expect
9646 us to deal with non TIME segments and timestamps (such as fakesrc
9649 2006-04-07 Wim Taymans <wim@fluendo.com>
9652 Small documentation clarification about the signal watch.
9654 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9655 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9656 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9657 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9658 (gst_base_sink_get_position_last),
9659 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9660 Convert and store timestamps in stream time and running time, the
9661 raw timestamps are not useful, also document this better.
9662 Use different window sizes for good and bad QoS observations so
9663 we react to badness a little quicker.
9664 Keep track of the amount of rendered and dropped buffers.
9665 Send QoS timestamps in running time.
9667 * libs/gst/base/gstbasetransform.c:
9668 (gst_base_transform_sink_eventfunc),
9669 (gst_base_transform_handle_buffer):
9670 Compare QoS timestamps against running time.
9672 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9677 2006-04-06 Michael Smith <msmith@fluendo.com>
9679 * gst/gstpad.c: (gst_pad_set_property):
9680 Use g_value_get_object() instead of g_value_dup_gst_object(),
9681 to avoid double-reffing the pad template (which we then sink,
9682 so this worked previously if (and only if) the pad template
9685 * gst/gstpadtemplate.c: (gst_pad_template_init),
9686 (gst_pad_template_pad_created):
9687 Never return floating references to pad templates, create
9688 them as initially-sunken.
9690 Document an extra function (and make this stop sinking our
9691 pad template, since that is now guaranteed to do nothing,
9692 since we created it sunken).
9694 * gst/gstghostpad.c:
9697 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9699 * gst/gstinfo.c: (__gst_in_valgrind):
9702 * plugins/elements/gsttypefindelement.c:
9703 (gst_type_find_element_chain):
9704 Don't leak buffer caps.
9706 2006-04-06 Michael Smith <msmith@fluendo.com>
9708 * gst/parse/grammar.y:
9709 Fix a leak in parse-launch for any source-or-sink named element
9712 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9713 Unref the pipeline if it exists after we've failed parsing.
9715 2006-04-05 Michael Smith <msmith@fluendo.com>
9717 * gst/gstpipeline.c: (gst_pipeline_init):
9718 When we create a pipeline bus, initially create it in flushing mode.
9719 Fixes leaks in at least one test, and makes a new pipeline work the
9720 same as one that has gone to READY and then back to NULL.
9725 2006-04-05 Michael Smith <msmith@fluendo.com>
9727 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9728 Unref a pad we reffed.
9729 * tests/check/gst/gstutils.c: (GST_START_TEST):
9732 2006-04-05 Michael Smith <msmith@fluendo.com>
9734 * gst/gstquery.c: (gst_query_set_formats),
9735 (gst_query_set_formatsv):
9736 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9738 2006-04-05 Michael Smith <msmith@fluendo.com>
9740 * tests/check/generic/sinks.c: (GST_START_TEST):
9741 Fix a variety of memleaks in sinks check, which are only sometimes
9742 shown by running the tests under valgrind (weird?).
9744 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9746 * docs/version.entities.in:
9747 Fix the substituted entity name after thomas' changes on the
9750 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9752 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9755 2006-04-05 Andy Wingo <wingo@pobox.com>
9757 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9759 * libs/gst/base/gstbasetransform.c
9760 (gst_base_transform_sink_eventfunc): When resetting our segment on
9761 FLUSH_STOP, also update the flag saying we haven't seen a
9764 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9766 Patch by: Paolo Borelli <pborelli at katamail dot com>
9768 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9769 (gst_plugin_check_license):
9770 minor clean-ups: G_DEFINE_TYPE already takes care of the
9771 parent_class stuff, no need to do it twice. Mark array of
9772 license strings as constant. (#337103)
9774 2006-04-04 Michael Smith <msmith@fluendo.com>
9776 * tools/gst-inspect.c: (print_element_list):
9777 Free the right plugin list; fixes a memory leak.
9779 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9781 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9783 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9784 Don't error out on empty buffers (#336945).
9786 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9788 * docs/libs/gstreamer-libs-sections.txt:
9790 * libs/gst/base/gstbasesink.c:
9791 * libs/gst/base/gstbasesink.h:
9792 * libs/gst/base/gstbasesrc.c:
9793 * libs/gst/base/gstbasesrc.h:
9794 Documentation updates. Make BaseSink and BaseSrc docs contain the
9795 class structure so that people can actually see the prototypes for
9796 virtual functions they're supposed to be overriding.
9798 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9800 * plugins/elements/gsttypefindelement.c:
9801 (gst_type_find_element_chain):
9802 More debug info; when skipping typefinding, send cached
9803 events in all cases.
9805 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9808 use new AS_VERSION and AS_NANO macros
9809 * gst/gst-i18n-lib.h:
9812 * gst/gstversion.h.in:
9813 * win32/common/config.h:
9814 * win32/common/config.h.in:
9817 2006-03-31 Michael Smith <msmith@fluendo.com>
9819 * plugins/elements/gsttypefindelement.c:
9820 (gst_type_find_element_chain):
9821 Do not typefind content if the buffers already have caps.
9822 Neccesary for icydemux (#333657), and the right thing to do anyway.
9824 2006-03-30 Wim Taymans <wim@fluendo.com>
9826 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9827 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9828 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9829 (gst_base_sink_record_qos_observation),
9830 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9831 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9832 (gst_base_sink_change_state):
9833 More QoS measurements as described in the design doc.
9834 Get rid of ringbuffer with observations, running average is
9835 more simple and equally good.
9836 Calculates valid proportion now.
9837 Added beginning of flood measurement.
9839 2006-03-29 Wim Taymans <wim@fluendo.com>
9841 * docs/design/part-qos.txt:
9843 Small documentation updates and additions.
9845 2006-03-29 Wim Taymans <wim@fluendo.com>
9847 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9848 (gst_base_src_send_event), (gst_base_src_loop),
9849 (gst_base_src_change_state):
9850 Perform the EOS logic when we reach the segment stop position.
9851 Fix compilation on gcc4.1
9853 2006-03-29 Wim Taymans <wim@fluendo.com>
9855 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9857 * plugins/elements/gstqueue.c: (gst_queue_init),
9858 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9859 (gst_queue_set_property):
9860 * plugins/elements/gstqueue.h:
9861 In queue, when EOS is received, if minimum threshold > max_size -
9862 current_level, there is chance that queue blocks forever in conditional
9863 item del wait. This is because the queue is not emptied completely due
9864 to minimum threshold. Here is another approach. Instead of setting
9865 cur_levels to max in EOS, just zero all minimum threshold levels. This
9866 should make sure that queue gives out all data. When going to READY
9867 (stop) state, just reset the original minimum threshold levels.
9870 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9872 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9873 (gst_type_find_element_handle_event),
9874 (gst_type_find_element_send_cached_events),
9875 (gst_type_find_element_change_state):
9876 * plugins/elements/gsttypefindelement.h:
9877 When typefinding is done in push mode, we should cache
9878 events we receive during typefinding instead of just
9879 dropping them (e.g. newsegment, custom events from
9880 dvdreadsrc etc.) and then send them out once we've
9881 determined the type of the stream (and decodebin
9882 has had a chance to plug in a decoder/demuxer).
9884 2006-03-27 Wim Taymans <wim@fluendo.com>
9886 * docs/design/part-qos.txt:
9889 2006-03-27 Wim Taymans <wim@fluendo.com>
9891 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9893 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9894 (gst_base_src_send_event), (gst_base_src_change_state):
9895 Handle element seek correctly when we are streaming.
9898 2006-03-24 Michael Smith <msmith@fluendo.com>
9900 * docs/faq/gst-uninstalled:
9901 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9902 allow you to correctly run intalled applications built against old
9903 core, using plugins that require updated core (e.g. running
9904 installed totem against a full uninstalled gstreamer stack)
9906 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9911 2006-03-24 Wim Taymans <wim@fluendo.com>
9913 * docs/gst/gstreamer-sections.txt:
9914 Rearrange the order of the methods so that related methods
9915 are grouped together in sections.
9917 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9920 Little clarification in the docs
9922 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9926 * plugins/elements/gstidentity.c:
9927 * plugins/elements/gstqueue.c:
9928 * plugins/elements/gsttee.c:
9929 * plugins/elements/gsttypefindelement.c:
9930 GST_ELEMENT_DETAILS formatting
9932 2006-03-24 Wim Taymans <wim@fluendo.com>
9934 * libs/gst/base/gstbasesink.h:
9935 Only add fields, not insert or we break ABI.
9937 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9939 * win32/common/libgstbase.def:
9940 * win32/common/libgstreamer.def:
9941 Update, add recently added functions.
9943 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9945 * docs/gst/gstreamer-sections.txt:
9946 * gst/gstutils.c: (gst_pad_query_peer_position),
9947 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9949 API: add some new utility functions:
9950 - gst_pad_query_peer_position()
9951 - gst_pad_query_peer_duration()
9952 - gst_pad_query_peer_convert()
9954 2006-03-23 Wim Taymans <wim@fluendo.com>
9956 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9957 (gst_base_sink_init), (gst_base_sink_finalize),
9958 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9959 (gst_base_sink_set_property), (gst_base_sink_get_property),
9960 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9961 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9962 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9963 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9964 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9965 (gst_base_sink_preroll_object), (gst_base_sink_event),
9966 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9967 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9968 (gst_base_sink_query), (gst_base_sink_change_state):
9969 Decouple max-lateness and the fact that QoS messages are generated
9970 with a new property (qos).
9971 added API: GstBaseSink::async_play()
9972 Add vmethod so subclasses can be notified of ASYNC playing
9974 Collect timestamp start and stop to report better current
9975 position in EOS/PLAYING/PAUSED/READY/NULL.
9976 Refactor QoS/frame dropping and other measurements.
9977 API: GstBaseSrc::qos
9980 * libs/gst/base/gstbasesink.h:
9981 Added Private struct.
9982 API: gst_base_sink_set_qos_enabled()
9983 API: gst_base_sink_is_qos_enabled()
9985 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9987 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9988 If compiling against GLib-2.8 or newer, try to read the
9989 registry file using GMappedFile first before falling back
9990 to fopen() + fread() (#332151).
9992 2006-03-22 Wim Taymans <wim@fluendo.com>
9994 * gst/gstinfo.c: (gst_debug_set_active),
9995 (gst_debug_category_set_threshold):
9996 Disable debugging unless explicitly activated.
9999 2006-03-22 Wim Taymans <wim@fluendo.com>
10001 * gst/gstelement.c: (gst_element_set_locked_state),
10002 (gst_element_dispose):
10003 Cleanup the error case.
10005 * gst/gstobject.c: (gst_object_dispose):
10006 print a critical when some object was disposed with
10007 a parent, also revive the object since it might
10010 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10012 * tools/gst-launch.1.in:
10015 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10018 * tests/check/Makefile.am:
10019 disable some tests when we don't have a registry
10020 * tests/check/gst/gstutils.c: (gst_utils_suite):
10021 don't build the part that needs parsing
10023 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10026 * tests/examples/Makefile.am:
10027 fix --disable-parse build
10029 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10031 * tools/gst-feedback.1.in:
10032 Fix typo: s/feeback/feedback/ (#133494).
10034 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10036 * tools/Makefile.am:
10037 * tools/gst-launch.1.in:
10038 Add FILES section and correct entry about GST_REGISTRY_PATH
10039 environment variable (#133495; #133494).
10041 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10043 * tools/Makefile.am:
10044 * tools/gst-md5sum.1.in:
10045 * tools/gst-md5sum.c:
10046 Remove gst-md5sum and man page (the md5sink element
10047 required was removed ages ago)
10049 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10051 * gst/gststructure.c: (gst_structure_id_set_value):
10052 Make sure that string fields in structures/taglists
10053 contain valid UTF-8 - we don't want to pass rubbish to
10054 applications because of a buggy plugin (cp. #334167).
10056 2006-03-21 Edward Hervey <edward@fluendo.com>
10058 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10059 (gst_bin_handle_message_func):
10060 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10061 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10062 (gst_element_set_bus_func):
10063 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10064 * gst/gstminiobject.c: (gst_value_set_mini_object),
10065 (gst_value_take_mini_object):
10066 * gst/gstpad.c: (gst_pad_set_pad_template):
10067 * gst/gstpipeline.c: (gst_pipeline_dispose),
10068 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10069 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10070 (gst_collect_pads_chain):
10071 * libs/gst/net/gstnettimeprovider.c:
10072 (gst_net_time_provider_set_property):
10073 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10074 It's in fact all issues with gst_*object_replace().
10076 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10078 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10080 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10081 * pkgconfig/gstreamer-check.pc.in:
10082 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10084 2006-03-21 Edward Hervey <edward@fluendo.com>
10088 * gst/gstmessage.h:
10089 gst_[buffer|event|message]_ref() macros are replaced by a static
10090 inline functions because gcc-4.1 will about if the return value
10092 * tests/check/gst/gstevent.c: (event_probe):
10093 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10095 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10098 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10099 the type' case. (Closes: #335195 for now). In the future, when we
10100 depend on GLib 2.10, we could also intern the type name using
10101 g_intern_static_string()
10103 2006-03-20 Wim Taymans <wim@fluendo.com>
10105 * gst/gstbin.c: (gst_bin_handle_message_func),
10106 (bin_query_max_init), (bin_query_position_fold),
10107 (bin_query_position_done), (gst_bin_query):
10108 Position query should also take max of all streams.
10110 2006-03-20 Wim Taymans <wim@fluendo.com>
10112 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10113 (gst_fake_src_finalize):
10114 Fix leaks in fakesrc.
10116 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10117 Fix leaks in the testcase.
10119 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10121 * gst/gst_private.h:
10122 add win32 specific import decoration(__declspec(dllimport))
10123 for all extern GstDebugCategory * variables
10124 * win32/common/libgstbase.def:
10125 * win32/common/libgstcontroller.def:
10126 * win32/common/libgstreamer.def:
10127 Add some exports, remove empty lines
10128 * win32/common/libgstdataprotocol.def:
10129 * win32/common/libgstdataprotocol.dsp:
10130 * win32/common/libgstnet.def:
10131 * win32/common/libgstnet.dsp:
10132 new project files and exportation files added
10134 2006-03-19 Wim Taymans <wim@fluendo.com>
10136 * tests/check/libs/basesrc.c: (eos_event_counter):
10137 Use proper return value for probe.
10139 2006-03-17 Wim Taymans <wim@fluendo.com>
10141 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10143 Don't leak buffers, caps and pads on negotiation errors.
10145 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10147 * docs/faq/cvs.xml:
10148 * docs/faq/dependencies.xml:
10149 * docs/faq/developing.xml:
10150 * docs/faq/faq.xml:
10151 * docs/faq/general.xml:
10152 * docs/faq/getting.xml:
10153 * docs/faq/legal.xml:
10154 * docs/faq/troubleshooting.xml:
10155 * docs/faq/using.xml:
10156 Faq review and update.
10158 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10160 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10162 Don't pound the cpu to pieces by checking get_caps when accept_caps
10163 is called with the same caps as the pad already has.
10164 Use GST_DEBUG_OBJECT when outputting caps change information.
10166 2006-03-15 Wim Taymans <wim@fluendo.com>
10168 * gst/gstclock.c: (gst_clock_class_init):
10171 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10176 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10177 (gst_pad_accept_caps), (gst_pad_configure_sink),
10178 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10179 Make the default acceptcaps behaviour be to check the requested
10180 caps against the gst_pad_get_caps output.
10182 Ensure that gst_pad_accept_caps is used to check caps when a pad
10183 doesn't have a setcaps function, so that pads automatically refuse
10184 caps that they don't allow in their pad template. (Fixes #332986)
10186 When a buffer with attached caps is pushed, ensure that the source
10187 pad receives those caps even if the element didn't call
10188 gst_pad_set_caps first.
10190 2006-03-15 Wim Taymans <wim@fluendo.com>
10192 * libs/gst/base/gstadapter.c:
10195 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10197 * win32/common/libgstbase.def:
10198 * win32/common/libgstcontroller.def:
10199 * win32/common/libgstreamer.def:
10200 Add a whole bunch of missing functions (#334434).
10202 2006-03-14 Wim Taymans <wim@fluendo.com>
10204 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10205 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10206 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10207 Better debug info when we receive a segment event.
10208 Reorganize a bit so we can pass the get_times() results around.
10209 Use the segment format when calculating the running time.
10210 Don't do QoS is sync is disabled or we have no clock or the
10211 element does not want us to sync to the clock.
10212 Don't drop buffers if QoS is disabled for now.
10214 2006-03-14 Wim Taymans <wim@fluendo.com>
10216 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10217 Marked the stats property as unimplemented so people don't get
10219 Add debug message when regression goes wrong.
10220 Added some more docs.
10222 2006-03-14 Wim Taymans <wim@fluendo.com>
10224 * gst/gstsegment.c: (gst_segment_to_stream_time):
10225 Return correct return type in case of errors.
10227 2006-03-14 Wim Taymans <wim@fluendo.com>
10229 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10230 Don't segfault on invalid formats.
10232 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10234 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10235 Can't use gst_segment_to_running_time() when the segment
10236 is not in GST_TIME_FORMAT (like with filesink, for example).
10237 Stops flac encoding pipelines from spewing critical warnings
10240 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10242 * gst/gstpipeline.c: (gst_pipeline_class_init):
10243 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10245 * plugins/elements/gsttypefindelement.c:
10246 (gst_type_find_element_handle_event):
10247 Don't try to typefind empty streams.
10249 2006-03-14 Wim Taymans <wim@fluendo.com>
10251 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10252 (gst_base_sink_do_qos):
10253 Separate QoS calculation.
10254 Only drop buffers when lateness is bigger than the
10255 duration of the buffer.
10257 2006-03-13 Wim Taymans <wim@fluendo.com>
10259 * gst/gstpipeline.c: (gst_pipeline_set_property),
10260 (gst_pipeline_get_property), (do_pipeline_seek),
10261 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10262 (gst_pipeline_get_delay):
10263 Don't deadlock when reading properties.
10265 2006-03-13 Wim Taymans <wim@fluendo.com>
10267 * libs/gst/base/gstbasetransform.c:
10268 (gst_base_transform_class_init), (gst_base_transform_init),
10269 (gst_base_transform_sink_event),
10270 (gst_base_transform_sink_eventfunc),
10271 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10272 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10273 (gst_base_transform_set_property),
10274 (gst_base_transform_get_property),
10275 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10276 (gst_base_transform_set_qos_enabled),
10277 (gst_base_transform_is_qos_enabled):
10278 * libs/gst/base/gstbasetransform.h:
10279 Make basetransform virtual method for src events too.
10280 Handle QOS in basetransform.
10281 API: gst_base_transform_update_qos()
10282 API: gst_base_transform_set_qos_enabled()
10283 API: gst_base_transform_is_qos_enabled()
10285 2006-03-13 Wim Taymans <wim@fluendo.com>
10287 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10288 (gst_base_sink_do_sync):
10290 Use QOS debug category.
10292 2006-03-13 Wim Taymans <wim@fluendo.com>
10294 * plugins/elements/gstqueue.c:
10295 Very small doc update.
10297 2006-03-13 Wim Taymans <wim@fluendo.com>
10299 * gst/gst_private.h:
10300 * gst/gstinfo.c: (_gst_debug_init):
10301 Added QOS debug category
10303 2006-03-13 Wim Taymans <wim@fluendo.com>
10305 * docs/gst/gstreamer-sections.txt:
10306 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10308 * gst/gstbus.c: (gst_bus_class_init):
10311 * gst/gstelement.c: (gst_element_set_locked_state):
10312 * gst/gstsegment.c:
10313 Documentation updates.
10315 * gst/gstpipeline.c: (gst_pipeline_get_type),
10316 (gst_pipeline_class_init), (gst_pipeline_init),
10317 (gst_pipeline_dispose), (gst_pipeline_set_property),
10318 (gst_pipeline_get_property), (do_pipeline_seek),
10319 (gst_pipeline_send_event), (gst_pipeline_change_state),
10320 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10321 (gst_pipeline_get_delay):
10322 * gst/gstpipeline.h:
10323 Added methods for setting the delay.
10324 API: gst_pipeline_set_delay()
10325 API: gst_pipeline_get_delay()
10326 Add pipeline debug category
10329 Don't reset stream time when seek failed.
10331 2006-03-13 Wim Taymans <wim@fluendo.com>
10333 * docs/design/draft-klass.txt:
10334 * docs/design/part-clocks.txt:
10335 * docs/design/part-events.txt:
10336 * docs/design/part-gstbin.txt:
10337 * docs/design/part-gstpipeline.txt:
10338 * docs/design/part-messages.txt:
10339 * docs/design/part-negotiation.txt:
10340 * docs/design/part-overview.txt:
10341 * docs/design/part-preroll.txt:
10342 * docs/design/part-seeking.txt:
10343 * docs/design/part-states.txt:
10344 * docs/design/part-streams.txt:
10345 Documentation updates.
10347 2006-03-12 Julien MOUTTE <julien@moutte.net>
10349 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10350 us to leak strings...
10352 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10354 * libs/gst/net/gstnettimeprovider.c:
10356 * win32/common/config.h:
10359 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10361 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10364 Don't check for libgnomeui (leftover from old examples
10365 that aren't built or disted any longer) (#334303).
10367 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10369 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10370 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10371 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10372 there's no space left on the device.
10374 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10377 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10378 to cast the input to GstClockTime before comparing with
10379 another GstClockTime value.
10381 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10386 === release 0.10.4 ===
10388 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10391 releasing 0.10.4, "Light"
10393 2006-03-10 Michael Smith <msmith@fluendo.com>
10395 * libs/gst/dataprotocol/dataprotocol.c:
10396 Fix docs for dataprocotol to not get the return types completely
10397 wrong for a few functions.
10399 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10401 * docs/gst/gstreamer-sections.txt:
10402 * gst/gstpipeline.c: (gst_pipeline_class_init),
10403 (gst_pipeline_init), (gst_pipeline_set_property),
10404 (gst_pipeline_get_property), (gst_pipeline_change_state),
10405 (gst_pipeline_set_auto_flush_bus),
10406 (gst_pipeline_get_auto_flush_bus):
10407 * gst/gstpipeline.h:
10408 Add new API: gst_pipeline_set_auto_flush_bus() and
10409 gst_pipeline_get_auto_flush_bus() to disable automatic
10410 flushing of the pipeline's GstBus when going from READY
10411 to NULL state (#332045).
10413 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10415 * docs/gst/gstreamer-sections.txt:
10416 * gst/gsturi.c: (gst_uri_has_protocol):
10418 Add new API: gst_uri_has_protocol() (#333779).
10420 2006-03-09 Wim Taymans <wim@fluendo.com>
10422 * gst/gstclock.c: (gst_clock_entry_new),
10423 (gst_clock_id_compare_func), (gst_clock_id_wait),
10424 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10425 (gst_clock_init), (gst_clock_get_internal_time),
10426 (gst_clock_set_master), (do_linear_regression),
10427 (gst_clock_add_observation), (gst_clock_set_property):
10431 Fix a possible segfault when the window-size is made smaller.
10432 Calculate jitter before performing the clock wait. Ideally
10433 the clock implementation should calculate jitter but we need
10434 API breakage for that.
10436 * gst/gstsystemclock.c: (gst_system_clock_init):
10439 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10440 Remove leftover else
10442 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10443 (gst_systemclock_suite):
10444 Added check to test GST_CLOCK_DIFF.
10446 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10448 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10449 (gst_type_find_helper_get_range):
10450 If we are provided with the size, we should implement
10451 GstTypeFind::get_length, so that typefind functions who
10452 want to can actually peek at the middle of a file.
10454 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10456 * docs/manual/advanced-dataaccess.xml:
10457 Add some very very basic error checking.
10459 * docs/pwg/appendix-checklist.xml:
10460 Some updates to the list of things to check when writing an element.
10462 2006-03-08 Wim Taymans <wim@fluendo.com>
10464 * docs/design/part-element-transform.txt:
10465 Added some docs about the design of tranform elements.
10467 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10468 (gst_base_src_loop), (gst_base_src_change_state):
10469 Mark buffers with the DISCONT flag.
10471 2006-03-08 Michael Smith <msmith@fluendo.com>
10473 * gst/gstregistry.h:
10474 * gst/gstregistryxml.c: (gst_registry_save),
10475 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10476 (gst_registry_xml_save_pad_template),
10477 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10478 (gst_registry_xml_write_cache):
10479 Rewrite registry-saving to avoid race conditions and check for
10482 2006-03-08 Wim Taymans <wim@fluendo.com>
10484 * libs/gst/base/gstbasetransform.c:
10485 (gst_base_transform_transform_caps),
10486 (gst_base_transform_transform_size),
10487 (gst_base_transform_prepare_output_buffer),
10488 (gst_base_transform_get_unit_size),
10489 (gst_base_transform_buffer_alloc),
10490 (gst_base_transform_handle_buffer),
10491 (gst_base_transform_change_state):
10492 Cleanups, separate normal flow from errors, add sensible
10494 Don't try to renegotiate when allocating an output buffer.
10495 Also copy DISCONT buffer flag when copying a buffer.
10496 Reset the transform after we finish streaming, not during.
10498 2006-03-08 Wim Taymans <wim@fluendo.com>
10500 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10501 Use last buffer timestamp in qos message.
10503 2006-03-07 Wim Taymans <wim@fluendo.com>
10505 Patch by: Christophe Fergeau
10507 * docs/pwg/advanced-tagging.xml:
10508 * docs/pwg/building-pads.xml:
10511 2006-03-07 Wim Taymans <wim@fluendo.com>
10513 * docs/libs/gstreamer-libs-sections.txt:
10514 Added basesink new methods.
10518 Docs updates. Flesh out the QoS docs.
10520 * libs/gst/base/gstadapter.c:
10521 Small doc clarification about ownership and flushing.
10523 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10524 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10525 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10526 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10527 * libs/gst/base/gstbasesink.h:
10529 Added new methods to allow subclass to control max-lateness
10531 Generate very basic QoS events based on last sync observation.
10532 Updated docs, fix typo, added some QoS blurb.
10534 * libs/gst/base/gstbasesrc.c:
10535 Remove obsolete _get_state() calls from docs.
10537 2006-03-07 Wim Taymans <wim@fluendo.com>
10539 * docs/libs/gstreamer-libs-sections.txt:
10540 * libs/gst/base/gstbasetransform.h:
10541 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10542 Fix docs for GstBaseSrc.
10544 2006-03-07 Wim Taymans <wim@fluendo.com>
10546 * docs/gst/gstreamer-sections.txt:
10549 * libs/gst/base/gstbasetransform.h:
10550 Small documentation fixes.
10552 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10555 Document thread-unsafety of gst_value_register_foo_func()
10556 when used at the same time as gst_value_foo() (#322628).
10558 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10560 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10561 (gst_push_src_check_get_range):
10562 Push sources don't support pull mode by default.
10564 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10566 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10567 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10568 (gst_base_src_default_check_get_range):
10569 * libs/gst/base/gstbasesrc.h:
10570 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10571 provide default implementation, and rename
10572 gst_base_src_check_get_range() to
10573 gst_base_src_pad_check_get_range() for clarity.
10575 2006-03-06 Wim Taymans <wim@fluendo.com>
10577 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10578 Make property overridable.
10580 2006-03-06 Wim Taymans <wim@fluendo.com>
10582 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10583 (gst_base_sink_init), (gst_base_sink_set_property),
10584 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10585 * libs/gst/base/gstbasesink.h:
10586 API addition: Make max-lateness a property.
10588 2006-03-06 Wim Taymans <wim@fluendo.com>
10590 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10591 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10592 Don't ever draw a frame that is >10ms late.
10594 2006-03-06 Michael Smith <msmith@fluendo.com>
10596 * gst/gstmessage.c: (_gst_message_copy):
10597 When copying a message, set the parent_refcount of the enclosed
10598 structure to point at the copy, not the original message.
10600 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10602 Patch by: Christophe Fergeau
10605 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10606 usable in c++ code (#333417)
10608 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10611 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10613 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10615 * libs/gst/base/gstbasetransform.c:
10616 (gst_base_transform_transform_caps):
10617 Make sure caps are writable before passing them to
10620 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10623 Fix some minor docs errors.
10625 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10627 Patch by: Ross Burton <ross at burtonini dot com>
10629 * gst/gsterror.c: (_gst_resource_errors_init):
10631 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10633 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10636 Add a check and output a g_warning when GStreamer is built
10637 against GLib 2.6 but running against 2.8 or higher, and vice
10638 versa. (Closes: #323542)
10640 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10642 * gst/parse/parse.l:
10643 Commit patch for parse_launch syntax from #331255. Removes
10644 support for quoted strings and mimetypes when writing filtered
10645 caps. See the bug report for more details - I'm pretty sure this
10646 obscure feature is not in use by _anyone_ anywhere.
10648 With this simple change, the size of the gstreamer.so here
10649 drops from 2193KB to 1565KB.
10651 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10653 * plugins/elements/gsttypefindelement.h:
10654 * plugins/elements/gsttypefindelement.c:
10655 (gst_type_find_element_src_event), (start_typefinding),
10656 (stop_typefinding), (gst_type_find_element_handle_event),
10657 (gst_type_find_element_chain),
10658 (gst_type_find_element_chain_do_typefinding):
10659 Use gst_type_find_helper_for_buffer() for chain-based
10662 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10664 * plugins/elements/gsttypefindelement.c:
10665 (gst_type_find_element_class_init),
10666 (gst_type_find_element_set_property),
10667 (gst_type_find_element_get_property):
10668 Deprecate "maximum" property (not only was it only taken into
10669 account for typefinding in push-mode anyway, it also was never
10670 actually possible to set it in the first place because the
10671 property was registered with the numeric property ID for the
10672 "minimum" property). Register "maximum" property correctly,
10673 for the sake of future copy'n'pasters. Remove some cruft
10674 from property get/set functions.
10676 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10678 * plugins/elements/gsttypefindelement.c:
10679 (gst_type_find_element_activate):
10680 Use gst_type_find_helper_get_range() here, so we
10681 can honour the "minimum" property and also emit
10682 the signal with the correct probability of the found caps.
10684 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10686 * docs/libs/gstreamer-libs-sections.txt:
10687 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10688 (helper_find_suggest), (gst_type_find_helper_get_range),
10689 (gst_type_find_helper):
10690 * libs/gst/base/gsttypefindhelper.h:
10691 New API: gst_type_find_helper_get_range() (#333042).
10693 2006-03-02 Michael Smith <msmith@fluendo.com>
10695 * gst/gstregistryxml.c: (load_feature):
10696 Asserting on a failure to read part of the registry is Not Cool.
10697 Just log a warning and return NULL (which is already handled)
10699 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10701 * win32/common/libgstbase.def:
10702 added export of gst_type_find_helper_for_buffer
10703 * win32/common/libgstbase.def:
10704 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10705 gst_ghost_pad_get_target
10707 2006-02-28 Wim Taymans <wim@fluendo.com>
10709 * docs/design/draft-klass.txt:
10711 Added Connector to mark elements that are only used to
10712 allow pipeline connections.
10713 Moved Debug to extra feature since most of them are
10714 functionally something else.
10716 2006-02-28 Wim Taymans <wim@fluendo.com>
10718 * docs/design/draft-klass.txt:
10719 Some updates and clarifications.
10721 2006-02-28 Wim Taymans <wim@fluendo.com>
10723 * docs/design/draft-klass.txt:
10724 Proposal for klass field values.
10726 * docs/design/part-streams.txt:
10727 Start of a doc describing stream anatomy.
10729 2006-02-28 Wim Taymans <wim@fluendo.com>
10731 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10732 Help the compiler a bit with type registration.
10733 Use existing forward cod path instead of duplicating it when
10734 handling a message.
10736 * gst/gstbus.c: (gst_bus_get_type):
10737 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10738 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10739 * gst/gstclock.c: (gst_clock_get_type):
10740 * gst/gstelement.c: (gst_element_get_type),
10741 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10742 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10743 * gst/gstminiobject.c: (gst_mini_object_get_type):
10744 * gst/gstpad.c: (gst_pad_get_type):
10745 * gst/gstsegment.c: (gst_segment_get_type):
10746 * gst/gststructure.c: (gst_structure_get_type):
10747 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10748 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10750 Help compiler with type registration.
10752 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10755 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10757 * plugins/elements/gsttypefindelement.c:
10758 (gst_type_find_element_handle_event):
10759 When we get an EOS event and have not found a type yet
10760 (most likely because we had not yet accumulated
10761 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10762 type given the data we have so far. Fixes typefinding
10763 for very short streams again, most notably quicktime
10764 redirections as used on Apple's trailer site (#331701).
10766 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10768 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10769 (gst_type_find_helper):
10770 Try typefinding factories with the highest rank first.
10772 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10774 * docs/libs/gstreamer-libs-docs.sgml:
10775 * docs/libs/gstreamer-libs-sections.txt:
10776 * libs/gst/base/gsttypefindhelper.c:
10777 Add section for typefind helper and add documentation
10778 for the old and the new function.
10780 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10782 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10783 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10784 (gst_type_find_helper_for_buffer):
10785 * libs/gst/base/gsttypefindhelper.h:
10786 New API: gst_type_find_helper_for_buffer() (#332723).
10788 2006-02-27 Michael Smith <msmith@fluendo.com>
10790 Patch by: Loïc Minier
10793 * docs/Makefile.am:
10794 * docs/slides/Makefile.am:
10795 prevent CVS directories getting disted.
10797 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10799 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10800 Use the REFCOUNTING category for caps refcounting.
10802 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10804 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10805 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10807 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10809 * plugins/elements/gsttypefindelement.c:
10810 (gst_type_find_element_activate):
10811 Use gst_pad_check_pull_range() before _activate_pull()
10812 to avoid unnecessary open/close (see #331690).
10814 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10817 Docs enhancement: make it crystal clear what the
10818 gst_pad_add_*_probe() callbacks should look like.
10820 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10822 * libs/gst/base/gstbasesrc.c:
10823 Document how applications can stop recording from
10824 live sources (see #330996).
10826 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10828 * tests/check/Makefile.am:
10829 * tests/check/libs/basesrc.c: (eos_event_counter),
10830 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10831 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10832 (gst_basesrc_suite), (main):
10833 ... and add some tests for the base source EOS stuff.
10835 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10837 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10838 Test case originally showed the problem fixed below,
10839 but was then amended. Add checks back at the place
10840 where they used to be.
10842 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10844 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10845 (gst_base_src_init), (gst_base_src_loop),
10846 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10847 (gst_base_src_change_state):
10848 * libs/gst/base/gstbasesrc.h:
10849 Don't unconditionally send EOS when going from PAUSED to
10850 READY state, esp. make sure we don't send two EOS events
10851 in some cases (e.g. one when reaching EOS and one when
10852 going from PAUSED to READY). Also, we don't want to send
10853 EOS events when operating in pull mode. However, we do
10854 want to send an EOS event when shutting down a live
10855 source explicitly, for example (fixes #330996).
10857 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10859 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10860 Update src->read_position after a seek when not using mmap.
10861 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10863 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10869 Make things work with --disable-parse as they do with
10870 --disable-load-save - the symbols involved disappear, but the
10871 header is still installed and GST_DISABLE_PARSE is included via
10874 2006-02-20 Julien MOUTTE <julien@moutte.net>
10876 * libs/gst/base/gstbasetransform.c:
10877 (gst_base_transform_change_state): Fix a stupid bug. I was
10878 sure I compiled that.
10880 2006-02-20 Julien MOUTTE <julien@moutte.net>
10882 * gst/gstpad.c: (gst_pad_set_blocked_async):
10883 * gst/gstutils.c: (gst_pad_add_data_probe),
10884 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10885 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10886 (gst_pad_remove_buffer_probe): Make those function act on the
10887 ghostpad target when it's a ghostpad. (Closes #331727)
10889 2006-02-20 Julien MOUTTE <julien@moutte.net>
10891 * libs/gst/base/gstbasetransform.c:
10892 (gst_base_transform_change_state): Make basetransform reusable.
10895 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10897 * docs/random/release:
10898 Move the current documentation of how to do a release to the top
10901 * gst/gstbin.c: (gst_bin_class_init),
10902 (gst_bin_handle_message_func):
10903 Allow multiple state-recalculation threads. (Closes #328873)
10905 2006-02-19 Julien MOUTTE <julien@moutte.net>
10907 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10908 * gst/gstpad.c: (gst_pad_set_event_function),
10909 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10910 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10911 2 strings. You can't use the STR_NULL macro on that.
10913 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10915 * gst/gstpad.c: (gst_pad_set_event_function),
10916 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10917 (gst_pad_set_getcaps_function)
10918 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10919 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10920 So now, we can use --gst-debug-level=5 on Windows
10921 * win32/common/libgstcontroller.def:
10922 Added export of gst_controller_init
10923 * win32/vs6/libgstcontroller.dsp:
10924 Fixed Release post build configuration
10926 2006-02-17 Wim Taymans <wim@fluendo.com>
10928 * tests/check/gst/gstquery.c: (GST_START_TEST):
10929 Added another check.
10931 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10933 * plugins/elements/gsttypefindelement.c: (find_peek):
10934 We can do peeks at non-zero offsets, as long as they
10935 fall within the buffer we have.
10937 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10939 * tests/check/Makefile.am:
10940 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10941 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10942 (parse_suite), (main):
10943 Add testsuite for parse launch syntax
10945 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10947 * plugins/elements/gsttypefindelement.c:
10948 (gst_type_find_element_chain):
10949 When typefinding is unsuccessful in the chain function, don't
10950 error out immediately. Only error out with NO_CAPS_FOUND if
10951 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10952 otherwise simply wait for more data so we can try typefinding
10953 again with more data later. Also, don't attempt to typefind
10954 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10955 this should improve typefinding from network sources where the
10956 size of the first buffer can be somewhat random.
10958 2006-02-14 Wim Taymans <wim@fluendo.com>
10960 * docs/gst/gstreamer-sections.txt:
10961 * gst/gstpadtemplate.c:
10962 * gst/gstpadtemplate.h:
10963 Fix padtemplate docs, fixes #328805.
10965 2006-02-14 Wim Taymans <wim@fluendo.com>
10967 * tools/gst-launch.c: (main):
10968 NO_PREROLL is not an ERROR so don't send confusing messages
10971 2006-02-14 Wim Taymans <wim@fluendo.com>
10973 Patch by: Torsten Schoenfeld
10975 * gst/gstregistry.c: (gst_registry_get_default),
10976 (_gst_registry_cleanup):
10977 Protect default registry with lock and ref/sink it.
10980 2006-02-14 Wim Taymans <wim@fluendo.com>
10983 * gst/gstquery.c: (gst_query_list_add_format),
10984 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10985 (gst_query_parse_formats_nth):
10986 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10989 2006-02-14 Wim Taymans <wim@fluendo.com>
10991 * docs/gst/gstreamer-sections.txt:
10992 Reworked query docs.
10994 * gst/gstquery.c: (gst_query_new_formats),
10995 (gst_query_list_add_format), (gst_query_set_formats),
10996 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10997 (gst_query_parse_formats_nth):
10999 Flesh out formats query, added some new methods.
11000 Fix part of #324398.
11002 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11003 Added query creation tests.
11005 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11007 * gst/gstpad.c: (fixate_value):
11008 Add a default fixation for fraction lists.
11010 2006-02-13 Wim Taymans <wim@fluendo.com>
11012 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11013 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11016 Detect and warn for obvious deadlocks. fixes #320340
11017 Fix error case where lock was not released.
11019 * tests/check/Makefile.am:
11020 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11021 (task_func), (gst_element_suite), (main):
11024 2006-02-13 Wim Taymans <wim@fluendo.com>
11026 * docs/gst/gstreamer-sections.txt:
11028 Add new functions to docs.
11030 2006-02-13 Wim Taymans <wim@fluendo.com>
11032 * docs/design/part-TODO.txt:
11033 Updated TODO list, basesrc supports seeking to non-bytes
11036 * docs/design/part-element-sink.txt:
11039 * gst/gstbin.c: (bin_replace_message),
11040 (gst_bin_handle_message_func):
11041 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11042 * gst/gstevent.c: (gst_event_finalize):
11043 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11044 (gst_pad_send_event):
11045 Use shiny new _TYPE_NAME macros.
11047 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11048 Move debug statement up.
11050 * gst/gstelement.c: (gst_element_set_locked_state):
11051 Add some debugging.
11053 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11055 * docs/gst/gstreamer-sections.txt:
11056 * gst/gstmessage.h:
11058 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11059 macros (#330906). Also, document the already existing
11060 GST_QUERY_TYPE macro.
11062 2006-02-13 Wim Taymans <wim@fluendo.com>
11064 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11065 (event_probe), (GST_START_TEST):
11066 Only events up to the pipeline EOS are counted, there are
11067 some more when going to NULL currently which we don't care
11070 2006-02-13 Wim Taymans <wim@fluendo.com>
11072 * gst/gstpad.c: (gst_pad_send_event):
11073 Correctly check flushing and emit probes. fixes #330125
11075 2006-02-10 Andy Wingo <wingo@pobox.com>
11077 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11079 (gst_bus_init): Cache the location of the private data in the
11080 instance structure.
11081 (gst_bus_enable_sync_message_emission)
11082 (gst_bus_disable_sync_message_emission): Implement new public
11084 (gst_bus_post): Emit the sync-message signal if the user asked for
11087 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11088 location of the bus-private structure.
11089 (gst_bus_enable_sync_message_emission)
11090 (gst_bus_disable_sync_message_emission): API addition
11092 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11094 Patch by: Vincent Torri
11096 * docs/pwg/building-boiler.xml:
11097 PWG patch from #326800
11099 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11102 * docs/Makefile.am:
11103 * docs/design/Makefile.am:
11106 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11111 === release 0.10.3 ===
11113 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11116 releasing 0.10.3, "Like a virgin"
11118 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11121 2nd prerelease of 0.10.3
11122 Bump libtool versioning.
11124 2006-02-07 Andy Wingo <wingo@pobox.com>
11126 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11127 update last_stop if we're in TIME format and the timestamp is
11130 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11131 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11132 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11133 If we get a new newsegment with a different format, adapt
11136 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11137 of 0. Not a problem, really.
11139 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11142 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11147 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11150 project files updated to the default vs7 configuration
11151 * win32/common/libgstbase.def:
11152 * win32/common/libgstreamer.def:
11154 removed empty lines,
11155 sorted all exported symbols alphabetically
11156 * win32/common/dirent.c:
11157 * win32/common/dirent.h:
11158 * win32/common/gchar.h:
11159 use windows line end.
11161 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11163 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11164 Send EOS event when stopping.
11166 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11169 Tell folks what to do if the plugin-foobar.xml file
11170 hasn't been generated for a newly-added plugin.
11172 2006-02-05 Julien MOUTTE <julien@moutte.net>
11174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11175 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11176 (gst_collect_pads_start), (gst_collect_pads_stop),
11177 (gst_collect_pads_event): Collectpads now holds a reference
11178 to the GstPad that was added. Indeed we don't want to look
11179 at pads that might just go away with no warning...
11181 2006-02-05 Julien MOUTTE <julien@moutte.net>
11183 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11184 (gst_collect_pads_start), (gst_collect_pads_stop),
11185 (gst_collect_pads_event), (gst_collect_pads_chain):
11186 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11187 Mark Nauwelaerts's patch on bug #328491.
11189 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11191 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11193 Add some simple tests for gst_parse_bin_from_description() and
11194 gst_bin_find_unconnected_pad() (#329069).
11196 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11198 * tools/gst-launch.c: (event_loop), (main):
11199 Catch errors during preroll (#320084).
11201 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11203 * plugins/elements/gsttypefindelement.c:
11204 (gst_type_find_element_activate):
11205 Post TYPE_NOT_FOUND error message when typefinding
11206 is unsuccessful in the activate function as well.
11208 2006-02-02 Wim Taymans <wim@fluendo.com>
11210 * docs/design/part-element-sink.txt:
11213 2006-02-02 Wim Taymans <wim@fluendo.com>
11215 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11216 (gst_base_sink_render_object),
11217 (gst_base_sink_queue_object_unlocked):
11218 Only keep track of prerollable items when we are
11220 Before rendering after preroll, always check if we
11222 Added some more debugging.
11224 2006-02-02 Wim Taymans <wim@fluendo.com>
11226 * gst/gstelement.c: (gst_element_continue_state),
11227 (gst_element_set_state_func), (gst_element_change_state):
11228 Fixed #326576, been running this for quite some time with
11229 no regressions at all.
11231 2006-02-02 Wim Taymans <wim@fluendo.com>
11234 Added more suppressions
11236 2006-02-02 Wim Taymans <wim@fluendo.com>
11238 * docs/design/part-element-sink.txt:
11241 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11242 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11243 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11244 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11245 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11246 (gst_base_sink_preroll_object),
11247 (gst_base_sink_queue_object_unlocked),
11248 (gst_base_sink_queue_object), (gst_base_sink_event),
11249 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11250 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11251 (gst_base_sink_get_position), (gst_base_sink_change_state):
11252 * libs/gst/base/gstbasesink.h:
11253 Totally refactored matching the design doc.
11254 Use two segments, one to clip incomming buffers and another to
11256 Handle queueing correctly, bypass the queue when playing.
11257 Make EOS cancelable.
11258 Handle errors correctly when operating in pull based mode.
11260 * tests/check/elements/fakesink.c: (GST_START_TEST),
11262 Added new check for sinks.
11264 2006-02-02 Wim Taymans <wim@fluendo.com>
11266 * gst/gstsegment.c: (gst_segment_clip):
11267 No reason to refuse to clip when start == -1
11269 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11272 * docs/manual/intro-basics.xml:
11273 * docs/manual/intro-preface.xml:
11274 * docs/manual/manual.xml:
11275 * docs/pwg/advanced-dparams.xml:
11276 * docs/pwg/intro-basics.xml:
11277 * docs/pwg/intro-preface.xml:
11278 * docs/pwg/pwg.xml:
11279 describe dparams (controller) for plugins
11280 unify docs a little more
11282 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11284 * docs/gst/gstreamer-sections.txt:
11285 * gst/gstutils.c: (element_find_unconnected_pad),
11286 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11288 Add new API: gst_parse_bin_from_description() and
11289 gst_bin_find_unconnected_pad() (#329069).
11291 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11293 * docs/manual/README:
11294 uncover a nasty detail of the docs build
11296 2006-01-31 Wim Taymans <wim@fluendo.com>
11298 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11299 Don't cache duration messages if we're not going to use or
11302 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11304 * docs/manual/advanced-dparams.xml:
11305 * docs/pwg/advanced-dparams.xml:
11309 * libs/gst/controller/lib.c: (gst_controller_init):
11312 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11314 * gst/gstelement.c: (gst_element_message_full):
11315 also show file/line/func if no additional debug was given
11317 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11319 * win32/vs7/grammar.vcproj:
11320 activate copy of autogenerated files for Release mode
11322 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11324 * win32/common/libgstreamer.def:
11325 export gst_value_compare
11327 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11329 * plugins/elements/Makefile.am:
11330 * plugins/elements/gstelements.c:
11331 * plugins/elements/gstfdsink.c: (_do_init),
11332 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11333 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11334 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11335 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11336 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11337 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11338 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11339 * plugins/elements/gstfdsink.h:
11340 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11342 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11344 * docs/manual/advanced-dparams.xml:
11345 describe controller
11346 * docs/manual/advanced-position.xml:
11347 * docs/manual/basics-init.xml:
11348 * docs/manual/manual.xml:
11349 * docs/manual/titlepage.xml:
11350 * docs/pwg/pwg.xml:
11351 * docs/pwg/titlepage.xml:
11352 cleanup xml (more to come)
11353 * libs/gst/controller/gstcontroller.c:
11356 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11358 * win32/vs6/grammar.dsp:
11359 add autogen of gstmarshal.c,h for Release mode
11361 2006-01-30 Wim Taymans <wim@fluendo.com>
11363 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11364 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11365 (gst_base_sink_handle_object), (gst_base_sink_event),
11366 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11367 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11368 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11369 (gst_base_sink_deactivate), (gst_base_sink_activate),
11370 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11371 (gst_base_sink_query), (gst_base_sink_change_state):
11372 Basesink cleanups, remove some old code.
11373 Handle the case where a subclass can preroll in the render
11374 method (mostly audiosinks).
11375 Handle more events.
11376 Remove some locks around variables that are now protected
11377 with the PREROLL_LOCK (clock_id, flushing, ..).
11378 Optimize position query some more, do correct locking.
11379 Remove old code to push queue in state change, this is not
11380 needed anymore since preroll blocks on all prerollable items
11382 Almost implemented as described in design doc.
11384 2006-01-30 Wim Taymans <wim@fluendo.com>
11386 * tests/check/gst/gstbin.c: (GST_START_TEST):
11387 Wait for refcount to settle down before checking.
11389 2006-01-30 Wim Taymans <wim@fluendo.com>
11391 * docs/design/part-element-sink.txt:
11392 Pseudo code overview of desired sink behaviour regarding
11395 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11396 * win32/vs6/grammar.dsp:
11397 fix some bugs in Release mode for autogenerated files
11399 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11400 * win32/common/libgstbase.def:
11401 * win32/common/libgstreamer.def:
11402 export some new symbols: gst_base_src_set_format,
11403 gst_iterator_next, gst_structure_set_valist
11405 2006-01-29 Julien MOUTTE <julien@moutte.net>
11407 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11408 Set pad functions unconditionally. Fixes #329105.
11410 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11412 add vs8 project files created by Sergey Scobich
11414 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11416 * gst/gstutils.c: (gst_element_unlink_pads):
11417 Don't leak pad references.
11419 * tests/check/elements/fakesink.c: (GST_START_TEST):
11420 * tests/check/generic/sinks.c: (GST_START_TEST):
11421 * tests/check/generic/states.c: (GST_START_TEST):
11422 * tests/check/gst/gstbin.c: (GST_START_TEST):
11423 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11424 * tests/check/gst/gstelement.c: (GST_START_TEST):
11425 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11426 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11427 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11428 Fix a bunch of leaks. Make generic/sinks.c
11429 use a bit less cpu by slowing the buffer rate
11430 between fakesrc and fakesink.
11432 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11434 * gst/gstelement.c: (gst_element_send_event):
11437 * gst/gstiterator.c:
11438 * gst/gstiterator.h:
11439 * gst/gstpad.c: (gst_pad_send_event):
11440 * gst/gststructure.c:
11444 * libs/gst/base/gstadapter.c:
11445 doc fixes, to link to function, just write gst_cool_function(), don't
11448 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11450 * plugins/elements/gsttee.c: (gst_tee_do_push),
11451 (gst_tee_handle_buffer):
11452 Always prefer an actual return value from a src
11453 pad in place of NOT_LINKED. This means we return
11454 WRONG_STATE when all src pads are WRONG_STATE
11455 instead of NOT_LINKED.
11457 Lock when replacing the last message to prevent
11458 racing with the get_property method.
11462 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11464 * tests/check/Makefile.am:
11465 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11467 Add a very simple check that should have caught the memleak I fixed
11468 last night (if not for the slice allocator hiding it)
11470 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11472 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11473 (gst_bin_remove_func), (gst_bin_handle_message_func),
11474 (bin_query_duration_fold), (bin_query_generic_fold):
11475 Clean up references to the clock provider when disposed or when
11476 handling a clock-lost message from it.
11478 Unref sinks when performing a query via gst_iterator_fold, as the
11479 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11481 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11482 (gst_clock_set_master):
11483 Drop our reference to the master clock, if any, when we are disposed.
11485 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11486 Chain up in dispose.
11488 2006-01-26 Wim Taymans <wim@fluendo.com>
11490 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11491 Add some debugging.
11493 2006-01-26 Julien MOUTTE <julien@moutte.net>
11495 * plugins/elements/gsttee.c: (gst_tee_do_push),
11496 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11497 handles pad being NOT_LINKED or in WRONG_STATE.
11499 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11504 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11507 remove obsolete entry
11509 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11511 * docs/gst/gstreamer-sections.txt:
11512 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11513 (gst_bin_iterate_sources), (gst_bin_send_event):
11515 * gst/gstelement.c: (gst_element_send_event):
11517 * gst/gstpad.c: (gst_pad_send_event):
11518 added code for downstream events, reviewed docs in gstevent.c
11520 2006-01-25 Julien MOUTTE <julien@moutte.net>
11522 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11523 We only query position using the clock in the playing state.
11524 Query peer in the other cases.
11525 * win32/common/config.h: Updates.
11527 2006-01-24 Wim Taymans <wim@fluendo.com>
11529 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11530 A clock entry that is scheduled for the exact time of the
11531 clock is still in time.
11533 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11534 (gst_base_sink_do_sync):
11535 Add some more debug info.
11537 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11540 Add new vs7 project files and solution.
11542 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11545 all files removed as they were out-dated.
11547 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11549 * docs/random/release:
11551 * gst/gstbin.c: (gst_bin_init):
11552 * gst/gstbus.c: (gst_bus_new):
11554 * gst/gstpipeline.c: (gst_pipeline_init):
11555 use gst_bus_new(), improve logging, fix docs
11556 * win32/common/config.h:
11557 update for cvs build
11559 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11562 up required version of automake to 1.7
11564 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11566 * win32/common/libgstreamer.def:
11567 export gst_buffer_is_metadata_writable
11569 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11571 * docs/gst/gstreamer-sections.txt:
11573 Add gst_event_replace() (#327001)
11575 2006-01-20 Wim Taymans <wim@fluendo.com>
11577 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11578 Make it actually compile too..
11580 2006-01-20 Wim Taymans <wim@fluendo.com>
11583 Clarify behaviour of _is_equal() when passing NULL parameters.
11585 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11586 (gst_pad_set_caps):
11587 Cleanups. Don't unref NULL caps.
11588 When setting the same caps, protect caps of the pad with
11590 Use full functionality of _is_equal() when comparing caps.
11592 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11594 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11595 Don't loop infinitely if there are no buffers to present. Partially
11596 fixes #327197, but collectpads is just broken for reusing elements
11597 to do multiple encodes atm.
11599 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11601 * tools/gst-inspect.c: (print_element_features):
11602 * tools/gst-xmlinspect.c: (main):
11603 URL_HANDLER is not a plugin feature we can search for in
11606 2006-01-19 Edward Hervey <edward@fluendo.com>
11608 * gst/gstelement.c: (gst_element_pads_activate):
11609 When activating, do src pads first, then sink pads.
11610 When de-activating, do sink pads first, then src pads.
11612 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11614 * docs/gst/gstreamer-sections.txt:
11615 Add gst_index_add_associationv to the docs
11617 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11622 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11623 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11624 Do some refactoring. Doesn't actually change functionality,
11625 but makes landing the DRAIN event easier later.
11627 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11629 * docs/pwg/advanced-scheduling.xml:
11630 Update from 0.9.x to 0.10 API and make example a bit
11633 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11635 * docs/gst/gstreamer-sections.txt:
11636 Add gst_buffer_(is|make)_metadata_writable methods.
11638 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11640 * docs/design/part-sparsestreams.txt:
11641 Update sparse streams doc, hopefully for greater clarity
11643 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11645 * docs/design/part-events.txt:
11646 Remove mention of FILLER events.
11649 * docs/design/part-sparsestreams.txt:
11650 Write some things about using NEWSEGMENT to keep sparse streams
11653 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11655 * gst/gstbin.c: (gst_bin_dispose):
11656 Guard gst_object_unref call against a NULL object (dispose
11657 can theoretically be called multiple times).
11659 2006-01-18 Wim Taymans <wim@fluendo.com>
11661 * gst/gstbin.c: (gst_bin_element_set_state):
11662 * gst/gstclock.c: (gst_clock_id_wait):
11663 Added some more debug info.
11665 * libs/gst/base/gstadapter.c:
11668 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11669 (gst_base_sink_do_sync), (gst_base_sink_chain):
11670 Added some comments.
11672 2006-01-18 Wim Taymans <wim@fluendo.com>
11674 * tests/check/Makefile.am:
11675 * tests/check/elements/fakesink.c: (chain_async_buffer),
11676 (chain_async), (chain_async_return), (GST_START_TEST),
11677 (fakesink_suite), (main):
11678 Added fakesink test that checks prerolling and clipping
11681 * tests/check/gst/gstutils.c: (GST_START_TEST):
11682 Make check run faster so that buildbots don't timeout.
11684 2006-01-18 Wim Taymans <wim@fluendo.com>
11686 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11687 (gst_base_sink_do_sync):
11689 When the sink finishes blocking on the preroll buffer, it can
11690 immediatly render it instead of rendering when the next buffer
11693 2006-01-18 Wim Taymans <wim@fluendo.com>
11695 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11696 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11697 (gst_base_sink_chain):
11699 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11700 Don't store _last_stop if the buffer is dropped.
11702 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11704 * plugins/elements/gsttypefindelement.c:
11705 (gst_type_find_element_class_init):
11706 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11707 object method handler that sets the caps on the pad and we want
11708 that to happen before we emit the signal (fixes e.g. feeding a
11709 plain text file to decodebin).
11711 2006-01-18 Christian Schaller <Christian@fluendo.com>
11713 * gst/gstplugin.c: Add MPL and Proprietary as license options
11715 2006-01-18 Andy Wingo <wingo@pobox.com>
11717 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11718 symbol was exported before, it appears this was just an oversight.
11720 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11722 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11723 prototype to gint. OK since this prototype was not in the header.
11725 2006-01-17 Andy Wingo <wingo@pobox.com>
11727 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11728 registry while we remove plugins.
11730 * tools/gst-inspect.c (print_element_info): Don't unref the
11731 factory arg, that should be the responsibility of whatever code
11732 received the ref. Fixes a double-free when called from
11733 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11734 (main): Unref the factory if we have one.
11735 (print_element_list): No change -- relies on the
11736 plugin_feature_list_free to free the list of features.
11738 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11740 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11741 (gst_buffer_make_metadata_writable):
11743 * libs/gst/base/gstbasetransform.c:
11744 (gst_base_transform_prepare_output_buf):
11745 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11746 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11747 Replace gst_buffer_(make|is)_metadata_writable patch now
11748 that the release is out.
11750 2006-01-17 Andy Wingo <wingo@pobox.com>
11752 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11753 in the present tense without reference to versions.
11755 * gst/gstregistry.c (gst_registry_add_plugin)
11756 (gst_registry_remove_plugin, gst_registry_remove_feature)
11757 (gst_registry_find_feature, gst_registry_get_feature_list)
11758 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11759 (gst_registry_lookup, gst_registry_scan_path)
11760 (_gst_registry_remove_cache_plugins)
11761 (gst_registry_get_feature_list_by_plugin): Add argument
11764 === release 0.10.2 ===
11766 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11769 releasing 0.10.2, "If man is five"
11771 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11775 * libs/gst/base/gstbasetransform.c:
11776 (gst_base_transform_prepare_output_buf):
11777 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11778 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11779 Back out patch until after the release.
11781 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11783 * gst/gstminiobject.c:
11784 Spelling fix in docs.
11785 * ChangeLog - remove conflict indicator
11787 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11789 Reviewed By: Andy Wingo
11791 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11792 (gst_buffer_make_metadata_writable):
11794 Add gst_buffer_(is|make)_metadata_writable as analogues of
11795 gst_buffer_(is|make)_writable.
11797 * libs/gst/base/gstbasetransform.c:
11798 (gst_base_transform_prepare_output_buf):
11799 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11800 Use name gst_buffer_(is|make)_metadata_writable functions.
11802 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11803 Test gst_buffer_(is|make)_metadata_writable
11807 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11809 * docs/manual/Makefile.am:
11810 don't do parallel make
11813 * win32/common/config.h.in:
11814 add generations for HOST_CPU and GST_MAJORMINOR
11815 * win32/common/config.h:
11816 commit generated result
11818 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11820 * docs/manual/appendix-integration.xml:
11821 Update GNOME integration section to use gst_init_get_option_group()
11822 instead of the old popt stuff (#322911). Also, GNOME applications
11823 should now use gconf*sink and gconf*src instead of the old gconf
11826 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11829 * docs/gst/gstreamer-docs.sgml:
11830 * docs/gst/gstreamer-sections.txt:
11831 * docs/libs/gstreamer-libs-sections.txt:
11832 add new API entries to the docs
11833 * libs/gst/controller/Makefile.am:
11834 * libs/gst/controller/gstcontroller.c:
11835 * libs/gst/controller/gstcontroller.h:
11836 * libs/gst/controller/gstcontrollerprivate.h:
11837 * libs/gst/controller/gsthelper.c:
11838 * libs/gst/controller/gstinterpolation.c:
11839 move private structs to private header
11841 gstreamer-0.7 -> gstreamer-0.10
11842 * tests/check/libs/struct_i386.h:
11843 remove private structs
11845 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11847 * plugins/indexers/Makefile.am:
11848 Fixes as part of #317048
11850 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11852 * plugins/indexers/Makefile.am:
11853 fix #316086 - compilation when mmap is missing
11855 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11857 * libs/gst/base/gstbasesink.c:
11858 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11859 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11860 * win32/common/config.h:
11861 added some defines GST_MAJORMINOR and HOST_CPU
11862 * win32/common/libgstbase.def:
11863 * win32/common/libgstreamer.def:
11864 added some exported functions.
11866 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11868 * libs/gst/controller/gstcontroller.c:
11869 (gst_controlled_property_set_interpolation_mode),
11870 (gst_controlled_property_new):
11871 * libs/gst/controller/gstcontroller.h:
11872 * libs/gst/controller/gstinterpolation.c:
11873 (interpolate_none_get_string_value_array):
11874 make G_TYPE_STRING controlable
11876 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11879 * tools/gst-feedback.1.in:
11880 * tools/gst-inspect.1.in:
11881 * tools/gst-launch.1.in:
11882 * tools/gst-md5sum.1.in:
11883 * tools/gst-typefind.1.in:
11884 * tools/gst-xmlinspect.1.in:
11885 * tools/gst-xmllaunch.1.in:
11886 cleanup man-pages, remove reference to gst-register, document env-vars
11888 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11890 * gst/gstbuffer.c: (gst_buffer_span):
11891 gst_buffer_span should copy the timestamp of the first buffer
11892 if they were both originally overlapping subbuffers of the
11893 same parent, using the same logic as the 'slow copy' case.
11895 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11898 Need to awaken ALL the pads when we pop a buffer, otherwise
11899 collectpads only works when there is 2 input streams.
11901 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11903 * docs/random/ensonic/media-device-daemon.txt:
11906 fix doc example, add clarification
11907 * tools/gst-launch.1.in:
11908 add initial info about GST_PLUGIN_PATH, needs more work
11910 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11912 * docs/manual/basics-bins.xml:
11913 * docs/manual/basics-elements.xml:
11914 * docs/manual/intro-basics.xml:
11915 Some more minor docs additions and updates.
11917 2006-01-11 Wim Taymans <wim@fluendo.com>
11919 * docs/manual/basics-bins.xml:
11920 * docs/manual/basics-elements.xml:
11921 Some small fixes as pointed out by Ser-ver on IRC.
11923 2006-01-10 Edward Hervey <edward@fluendo.com>
11925 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11926 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11927 the single-segment mode.
11929 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11931 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11933 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11934 (gst_base_src_perform_seek), (gst_base_src_send_event),
11935 (gst_base_src_set_property), (gst_base_src_get_property),
11936 (gst_base_src_loop), (gst_base_src_start),
11937 (gst_base_src_activate_push):
11938 * libs/gst/base/gstbasesrc.h:
11939 Name (private) union; makes Sun's Forte compiler happy (#324900).
11941 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11944 gst-register is gone.
11946 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11948 * gst/gstvalue.c: (_gst_value_initialize):
11949 make the G_TYPE_DATE instantiation work if debug is disabled
11951 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11953 * gst/gstmessage.c: (gst_message_parse_tag),
11954 (gst_message_parse_error), (gst_message_parse_warning):
11955 Don't crash when return location for error/warning debug
11956 string is NULL; add fact that return locations can be
11957 NULL to docs where appropriate.
11959 2006-01-05 Wim Taymans <wim@fluendo.com>
11961 * gst/gstplugin.c: (gst_plugin_load_file):
11962 Replace strdup by g_strdup.
11964 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * docs/pwg/advanced-types.xml:
11969 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11971 submitted by: Abel Cheung
11975 Added Chinese (traditional) translation
11977 2006-01-04 Wim Taymans <wim@fluendo.com>
11979 * docs/manual/basics-pads.xml:
11980 * docs/plugins/Makefile.am:
11981 * docs/plugins/gstreamer-plugins-docs.sgml:
11982 * docs/plugins/gstreamer-plugins-sections.txt:
11983 * docs/pwg/advanced-clock.xml:
11984 * docs/pwg/advanced-scheduling.xml:
11985 * docs/pwg/advanced-types.xml:
11986 * plugins/elements/gstfdsink.c:
11987 * plugins/elements/gstfdsrc.c:
11988 * plugins/elements/gstfdsrc.h:
11989 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11990 * plugins/elements/gstidentity.h:
11991 * plugins/elements/gstqueue.h:
11992 * plugins/elements/gsttee.c:
11993 * plugins/elements/gsttee.h:
11994 * plugins/elements/gsttypefindelement.c:
11995 (gst_type_find_element_class_init):
11996 * plugins/elements/gsttypefindelement.h:
11997 Small updates to various docs.
11998 Added core plugins to docs.
12000 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12003 add a suppression for liboil's uninitialized variable
12005 2006-01-02 James Livingston <jrl at ids dot org dot au>
12007 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12010 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12011 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12012 compiler switch is being used (#325429).
12014 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12016 * gst/gstbin.c: (gst_bin_query):
12017 Disable duration query caching in bins until it gets
12018 fixed (see #324807).
12020 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12022 * tools/gst-inspect.c: (print_element_properties_info):
12023 Handle properties of POINTER and BOXED type.
12025 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12027 * gst/gst.c: (init_post):
12028 Init tags stuff and some other things before loading
12029 any static plugins (there may be other static plugins
12030 than just the GStreamer ones, and they may want to
12031 register their own tags or formats or whatever, and
12032 preferably without segfaulting).
12034 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12035 Print at least a warning in the debug logs if we drop a
12036 query just because we don't know how to adjust the value
12037 in the particular format.
12039 2005-12-24 David Schleef <ds@schleef.org>
12041 * tools/gstreamer-completion:
12042 Replacement for gst-complete written in sh and sed. Only
12043 completes names of features, but that's 90% of what I want
12044 it for. Properties are not available in registry.xml. (Maybe
12047 === release 0.10.1 ===
12049 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12052 releasing 0.10.1, "Nollaig chridheil"
12054 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12056 * docs/faq/cvs.xml:
12057 Add missing quote, should be make ERROR_CFLAGS="".
12059 2005-12-20 Wim Taymans <wim@fluendo.com>
12061 * docs/design/part-trickmodes.txt:
12062 More documentation on trickmodes.
12064 2005-12-20 Edward Hervey <edward@fluendo.com>
12066 * gst/gstcaps.c: (gst_static_caps_get_type):
12068 API addition: GST_TYPE_STATIC_CAPS
12069 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12070 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12071 * gst/gstpadtemplate.h:
12072 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12073 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12076 2005-12-18 Wim Taymans <wim@fluendo.com>
12078 * libs/gst/base/gstadapter.c:
12079 * libs/gst/base/gstadapter.h:
12080 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12081 (gst_base_sink_get_position):
12082 * libs/gst/base/gstbasesink.h:
12083 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12084 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12085 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12086 (gst_base_src_send_event), (gst_base_src_update_length),
12087 (gst_base_src_get_range), (gst_base_src_loop),
12088 (gst_base_src_start):
12089 * libs/gst/base/gstbasesrc.h:
12090 * libs/gst/base/gstbasetransform.h:
12091 * libs/gst/base/gstcollectpads.h:
12092 * libs/gst/base/gstpushsrc.c:
12093 * libs/gst/base/gstpushsrc.h:
12094 * libs/gst/dataprotocol/dataprotocol.c:
12095 * libs/gst/dataprotocol/dataprotocol.h:
12096 * libs/gst/net/gstnetclientclock.h:
12097 * libs/gst/net/gstnettimeprovider.h:
12098 Documentation updates.
12100 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12102 * docs/manual/basics-helloworld.xml:
12103 Remove superfluous closing bracket in helloworld example.
12105 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12107 * tools/gst-launch.1.in:
12108 Update gst-launch man page; add a section with useful
12109 environment variables. Fixes #323882.
12111 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12114 * gst/gst_private.h:
12115 change some char* into char[]
12117 2005-12-16 Wim Taymans <wim@fluendo.com>
12119 * gst/gstregistryxml.c: (load_feature):
12121 Don't use g_object_unref on GstObjects so that we avoid
12122 leaks on unsafe glibs.
12124 2005-12-16 Wim Taymans <wim@fluendo.com>
12126 * gst/gstbin.c: (gst_bin_recalc_state):
12129 2005-12-16 Wim Taymans <wim@fluendo.com>
12131 * common/check.mak:
12132 Added make forever target for check.
12134 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12136 * gst/gst.c: (init_post):
12137 make the registry cache file HOST_CPU-dependent
12139 2005-12-16 Andy Wingo <wingo@pobox.com>
12141 * plugins/elements/gstbufferstore.c
12142 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12145 * tests/check/gst/gstobject.c
12146 (test_fake_object_name_threaded_unique): Pay attention to
12147 g_list_sort return value.
12149 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12151 * tools/gst-feedback-m.m:
12152 Update for 0.9/0.10 (fixes #323870).
12154 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12156 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12157 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12159 * tests/check/gst/gstminiobject.c: (my_foo_init),
12160 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12161 (test_value_collection), (gst_mini_object_suite):
12162 Add test to ensure refcounts end up as expected when passing
12163 GstMiniObjects through g_object_get() and g_object_set().
12165 2005-12-14 Julien MOUTTE <julien@moutte.net>
12167 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12168 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12169 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12170 of collectpads. This version removes a lot of races without
12171 touching API/ABI. Yay !
12173 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12175 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12176 Don't allow activation of a srcpad in pull_range if it has no
12178 Change some debug statements to be a little clearer
12180 * plugins/elements/gsttypefindelement.c:
12181 (gst_type_find_handle_src_query):
12182 Check that we have a peer before executing queries thereupon.
12184 * tests/examples/metadata/read-metadata.c: (message_loop):
12185 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12186 immediately return us any available message with 0 timeout.
12188 2005-12-12 Michael Smith <msmith@fluendo.com>
12190 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12191 Don't unref factories after calling them.
12192 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12193 * plugins/elements/gsttypefindelement.c:
12194 (gst_type_find_element_chain):
12195 Free lists of factories after using them. Fixing typefinding memory
12198 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12200 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12201 (gst_plugin_feature_load):
12202 more meaningful debug output
12204 * tests/Makefile.am:
12205 * tests/old/examples/Makefile.am:
12206 make make distcheck happy again
12208 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12210 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12211 Catch the special case where we are operating chain-based,
12212 but the downstream peer pad has no chain function. Emit a
12213 custom error message in this case instead of letting the
12214 core generate one implying that this is some sort of core
12215 bug. It's not, it just means that whatever got plugged
12216 into the pipeline downstream when we announced the type
12217 can only operate pull-based, while our source can only
12218 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12219 Error string has not been marked for translation yet, as
12220 it probably needs some more work first.
12222 (gst_type_find_element_get_best_possibility):
12223 Add helper function to find the best of all available
12224 found possibilities that qualify given the min. threshold.
12226 (gst_type_find_element_handle_event):
12227 Fix the case where we get an EOS while still in TYPEFIND
12228 mode (we want to chose the best of all possible types,
12229 not just the first type that happens to be in our unsorted
12230 list of possible types).
12232 (gst_type_find_element_chain):
12233 Make sure we return GST_FLOW_ERROR when we errored out
12234 in stop_typefinding(); also, don't just find the best of
12235 all found type entries and then use the last examined
12236 type entry, but actually use the best entry.
12238 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12240 * tests/examples/typefind/typefind.c: (type_found):
12241 * tests/examples/xml/runxml.c: (xml_loaded):
12242 More gcc4 fixes and a mem leak fix.
12244 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12246 * tests/examples/xml/createxml.c: (object_saved):
12249 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12251 * tests/Makefile.am:
12252 enable the examples even more
12254 2005-12-12 Andy Wingo <wingo@pobox.com>
12256 * libs/gst/net/gstnettimeprovider.c
12257 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12258 (gst_net_time_provider_set_property)
12259 (gst_net_time_provider_get_property):
12260 API addition: Export "active" as a GObject property.
12261 (gst_net_time_provider_thread): Only respond to time queries if
12262 the time provider is active.
12264 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12265 NetTimeProvider, preserving binary compat.
12267 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12269 * tests/examples/controller/audio-example.c: (main):
12270 * tests/examples/launch/Makefile.am:
12271 convert comments again
12273 2005-12-12 Wim Taymans <wim@fluendo.com>
12275 * libs/gst/base/gstpushsrc.c:
12278 2005-12-12 Wim Taymans <wim@fluendo.com>
12280 * docs/libs/gstreamer-libs-sections.txt:
12281 Added new symbol to docs.
12283 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12284 (gst_base_src_init), (gst_base_src_set_format),
12285 (gst_base_src_default_query), (gst_base_src_query),
12286 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12287 (gst_base_src_perform_seek), (gst_base_src_send_event),
12288 (gst_base_src_default_event), (gst_base_src_event_handler),
12289 (gst_base_src_set_property), (gst_base_src_get_property),
12290 (gst_base_src_wait), (gst_base_src_do_sync),
12291 (gst_base_src_update_length), (gst_base_src_get_range),
12292 (gst_base_src_check_get_range), (gst_base_src_loop),
12293 (gst_base_src_default_negotiate), (gst_base_src_start),
12294 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12295 (gst_base_src_change_state):
12296 * libs/gst/base/gstbasesrc.h:
12297 Implement seeking to other formats than _BYTES.
12298 Implement more seeking methods correctly.
12300 Added query vmethod.
12301 Added do_seek vmethod to make life easier for subclasses
12303 API addition: gst_base_src_set_format()
12305 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12307 * tests/examples/Makefile.am:
12310 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12313 * docs/random/ensonic/media-device-daemon.txt:
12314 * tests/examples/controller/.cvsignore:
12315 * tests/examples/controller/Makefile.am:
12316 * tests/examples/controller/audio-example.c: (main):
12317 * tests/examples/helloworld/.cvsignore:
12318 * tests/examples/helloworld/Makefile.am:
12319 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12320 * tests/examples/launch/.cvsignore:
12321 * tests/examples/launch/Makefile.am:
12322 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12323 * tests/examples/metadata/.cvsignore:
12324 * tests/examples/metadata/Makefile.am:
12325 * tests/examples/metadata/read-metadata.c: (message_loop),
12326 (make_pipeline), (print_tag), (main):
12327 * tests/examples/queue/.cvsignore:
12328 * tests/examples/queue/Makefile.am:
12329 * tests/examples/queue/queue.c: (event_loop), (main):
12330 * tests/examples/typefind/.cvsignore:
12331 * tests/examples/typefind/Makefile.am:
12332 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12334 * tests/examples/xml/.cvsignore:
12335 * tests/examples/xml/Makefile.am:
12336 * tests/examples/xml/createxml.c: (object_saved), (main):
12337 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12338 * tests/old/examples/Makefile.am:
12339 * tests/old/examples/TODO:
12340 * tests/old/examples/controller/.cvsignore:
12341 * tests/old/examples/controller/Makefile.am:
12342 * tests/old/examples/controller/audio-example.c:
12343 * tests/old/examples/helloworld/.cvsignore:
12344 * tests/old/examples/helloworld/Makefile.am:
12345 * tests/old/examples/helloworld/helloworld.c:
12346 * tests/old/examples/launch/.cvsignore:
12347 * tests/old/examples/launch/Makefile.am:
12348 * tests/old/examples/launch/mp3parselaunch.c:
12349 * tests/old/examples/launch/mp3play:
12350 * tests/old/examples/manual/Makefile.am:
12351 * tests/old/examples/metadata/Makefile.am:
12352 * tests/old/examples/metadata/read-metadata.c:
12353 * tests/old/examples/queue/.cvsignore:
12354 * tests/old/examples/queue/Makefile.am:
12355 * tests/old/examples/queue/queue.c:
12356 * tests/old/examples/typefind/.cvsignore:
12357 * tests/old/examples/typefind/Makefile.am:
12358 * tests/old/examples/typefind/typefind.c:
12359 * tests/old/examples/xml/.cvsignore:
12360 * tests/old/examples/xml/Makefile.am:
12361 * tests/old/examples/xml/createxml.c:
12362 * tests/old/examples/xml/runxml.c:
12363 applied some simple fixing to some examples
12364 re-enabled the working examples
12366 2005-12-12 Wim Taymans <wim@fluendo.com>
12368 * gst/gstsegment.c: (gst_segment_init),
12369 (gst_segment_set_last_stop), (gst_segment_set_seek),
12370 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12371 (gst_segment_to_running_time):
12372 Added more documentation.
12373 Make sure the last_pos value is updated properly.
12374 Make sure to_stream_time and to_running_time don't
12375 operate on wrong values.
12377 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12380 2005-12-12 Michael Smith <msmith@fluendo.com>
12382 * plugins/elements/gsttypefindelement.c: (free_entry),
12383 (gst_type_find_element_chain):
12384 Now that we're not leaking factories, make sure we keep references
12385 to them while we need them.
12387 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12389 * tests/check/gst/struct_i386.h:
12390 ifdef out the XML structs
12392 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12394 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12395 floor is not needed, F is always positive; this obviates the
12396 need for adding -lm when building without libxml
12398 2005-12-12 Wim Taymans <wim@fluendo.com>
12400 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12401 Take current playback rate into account when reporting
12404 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12406 * docs/manual/mime-world.fig:
12407 Let's try this again, this time with a file that is
12408 actually in XFig format.
12410 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12412 * docs/manual/mime-world.fig:
12413 Add audioconvert element to diagram so that it
12414 matches the text and the code (fixes #319526).
12416 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12418 * docs/pwg/building-chainfn.xml:
12419 * docs/pwg/building-pads.xml:
12420 * docs/pwg/building-state.xml:
12421 * docs/pwg/other-source.xml:
12422 Update state change stuff for 0.10 (fixes #322969).
12424 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12426 * docs/manual/advanced-dataaccess.xml:
12427 * docs/manual/appendix-checklist.xml:
12428 * docs/manual/appendix-programs.xml:
12429 * docs/manual/basics-pads.xml:
12430 * docs/manual/highlevel-components.xml:
12431 * docs/manual/manual.xml:
12432 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12433 add converters in front of pipelines; remove curly
12434 brackets for threads stuff, they no longer exist; use
12435 GST_TYPE_FRACTION for framerates; update some pieces of
12436 code to 0.10, but there's plenty more to do.
12438 * docs/manual/appendix-porting.xml:
12439 Expand on asynchroneous state changes; s/0.9/0.10/;
12440 mention disappearance of gst_init_get_popt_table()
12443 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12445 * docs/faq/using.xml:
12446 Spider no longer exists, and neither does gst-launch-ext.
12447 Update examples to use decodebin and playbin and put
12448 converters in front of sinks (fixes #323726).
12450 2005-12-09 Michael Smith <msmith@fluendo.com>
12452 * plugins/elements/gsttypefindelement.c: (find_peek),
12453 (gst_type_find_element_chain):
12454 Fix leaking element factories in typefinding.
12455 Fix problem where we forgot about a probable type on non-seekable
12456 files, and thus later mis-typefound it.
12458 2005-12-09 Michael Smith <msmith@fluendo.com>
12460 * common/m4/gst-makecontext.m4:
12461 * common/m4/gst-mcsc.m4:
12463 * win32/common/config.h:
12464 * win32/common/config.h.in:
12465 Remove makecontext stuff; not used in 0.10 and causes problems on
12466 HPUX according to bug #322441
12468 2005-12-07 Wim Taymans <wim@fluendo.com>
12470 * tests/check/Makefile.am:
12471 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12473 * tests/check/libs/struct_i386.h:
12474 Added ABI check for libs
12476 2005-12-07 Wim Taymans <wim@fluendo.com>
12478 * tests/check/Makefile.am:
12479 And add the struct_i386.h to dist.
12481 2005-12-07 Wim Taymans <wim@fluendo.com>
12483 * tests/check/Makefile.am:
12484 * tests/check/gst/.cvsignore:
12485 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12487 * tests/check/gst/struct_i386.h:
12488 Added check for ABI compatibility.
12490 2005-12-07 Wim Taymans <wim@fluendo.com>
12492 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12493 (gst_fake_src_get_times), (gst_fake_src_create):
12494 Fix broken sync option, fixes #323259
12496 2005-12-07 Wim Taymans <wim@fluendo.com>
12501 * gst/gstcaps.c: (gst_caps_is_equal):
12502 Don't assert on NULL <--> X. Fixes #323260
12504 * gst/gstminiobject.c: (gst_mini_object_replace):
12505 If we're doing atomic operations, we might just as well use
12506 the proper way to get an atomic pointer.
12508 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12509 Clean up debugging.
12511 2005-12-07 Michael Smith <msmith@fluendo.com>
12513 * gst/parse/grammar.y:
12514 Remove handling of { } for threads.
12516 2005-12-06 David Schleef <ds@schleef.org>
12518 * libs/gst/base/gstbasetransform.c: speling fix.
12520 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12522 * docs/libs/tmpl/gstdataprotocol.sgml:
12523 * docs/random/omega/testing/gstobject.c:
12526 * gst/gstelement.c:
12527 * gst/gstelementfactory.c:
12530 * gst/gstghostpad.c:
12532 * gst/gstpadtemplate.c:
12533 * gst/gstregistryxml.c:
12534 * gst/gsttaglist.c:
12535 * gst/gsttagsetter.c:
12536 * gst/gsttypefind.c:
12538 * libs/gst/base/gstbasesrc.c:
12539 * libs/gst/net/gstnetclientclock.c:
12540 * libs/gst/net/gstnettimeprovider.c:
12541 * plugins/elements/gstfakesrc.c:
12542 * plugins/elements/gstfdsrc.c:
12543 * plugins/elements/gstfilesrc.c:
12544 * plugins/elements/gstidentity.c:
12545 * plugins/elements/gstqueue.c:
12546 * plugins/elements/gsttypefindelement.c:
12547 * plugins/indexers/gstfileindex.c:
12548 * plugins/indexers/gstmemindex.c:
12549 * tests/check/gst/gsttag.c:
12550 * tests/old/examples/cutter/cutter.c:
12551 * tests/old/examples/mixer/mixer.c:
12552 * tests/old/examples/xml/runxml.c: (main):
12553 * tests/old/testsuite/caps/normalisation.c:
12554 * tests/old/testsuite/debug/global.c:
12555 * tests/old/testsuite/parse/parse1.c:
12556 * tools/gst-xmlinspect.c:
12557 * win32/common/dirent.c:
12560 === release 0.10.0 ===
12562 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12565 releasing 0.10.0, "Maroilles"
12567 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12569 submitted by: Funda Wang <fundawang@linux.net.cn>
12573 added Chinese (Traditional) translation
12575 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12577 * docs/gst/gstreamer-sections.txt:
12578 * docs/libs/tmpl/gstdataprotocol.sgml:
12579 * docs/random/thomasvs/TODO:
12584 2005-12-05 Andy Wingo <wingo@pobox.com>
12586 patch by: Wim Taymans <wim@fluendo.com>
12588 * libs/gst/base/gstbasetransform.c
12589 (gst_base_transform_prepare_output_buf)
12590 (gst_base_transform_buffer_alloc):
12591 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12592 alloc_buffer_and_set_caps.
12594 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12595 set_caps on the source pad.
12596 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12597 alloc_buffer used to do. Fixes #322874.
12599 * docs/gst/gstreamer-sections.txt:
12600 * docs/design/part-negotiation.txt:
12601 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12604 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12606 patch by: Sebastien Moutte
12609 * win32/common/config.h.in:
12610 * win32/vs6/libgstcontroller.dsp:
12613 2005-12-05 Wim Taymans <wim@fluendo.com>
12615 * gst/gstcaps.c: (gst_caps_is_equal):
12616 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12617 (gst_fake_src_create):
12618 Back out previous code changes, leave doc updates, file bugs
12621 2005-12-05 Wim Taymans <wim@fluendo.com>
12623 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12624 (gst_fake_src_get_times), (gst_fake_src_create):
12625 * plugins/elements/gstfakesrc.h:
12626 Fix broken sync code.
12628 2005-12-05 Wim Taymans <wim@fluendo.com>
12630 * gst/gstcaps.c: (gst_caps_is_equal):
12631 Comparing NULL against !NULL yields different caps, not a
12634 2005-12-05 Wim Taymans <wim@fluendo.com>
12636 * gst/gstpipeline.c:
12637 Fix small typo in docs.
12639 2005-12-05 Andy Wingo <wingo@pobox.com>
12641 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12643 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12644 registries/plugins with a MAJORMINOR one.
12645 (plugin_desc): Rename library from gstcoreleements to
12646 staticelements. Fixes #323222.
12648 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12651 Change debug category to 'collectpads' from 'collect_pads'
12654 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12656 patch by: Sebastien Moutte
12658 * libs/gst/controller/gstinterpolation.c:
12659 use convert function for uint64/double
12660 * win32/vs6/libgstcontroller.dsp:
12663 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12665 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12666 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12668 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12669 add tests that seem to show that the guint64/gdouble conversions
12672 2005-12-02 Wim Taymans <wim@fluendo.com>
12674 * gst/gstregistry.c: (gst_registry_add_path):
12675 * gst/gstregistry.h:
12676 * gst/gstregistryxml.c:
12679 2005-12-02 Wim Taymans <wim@fluendo.com>
12681 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12682 (gst_util_uint64_scale_int):
12685 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12686 Add debug log line.
12688 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12691 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12694 * win32/common/config.h:
12695 * win32/vs6/gstreamer.dsw:
12696 * win32/vs6/libgstcoreelements.dsp:
12697 * win32/vs6/libgstelements.dsp:
12698 renamed core elements plugin
12700 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12702 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12704 do piece-wise major/minor comparison so 0.9 < 0.10
12705 also allow .exe extensions for tools
12707 2005-12-02 Michael Smith <msmith@fluendo.com>
12710 Escape a % to make gtkdoc happier; bug 322958.
12712 === release 0.9.7 ===
12714 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12717 releasing 0.9.7, "My Dog Has No Nose"
12719 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12721 * common/gst-xmlinspect.py:
12723 * docs/libs/tmpl/gstdataprotocol.sgml:
12724 * docs/random/release:
12743 * win32/common/config.h:
12744 * win32/common/config.h.in:
12745 * win32/vs6/gst_inspect.dsp:
12746 * win32/vs6/gst_launch.dsp:
12747 * win32/vs6/libgstbase.dsp:
12748 * win32/vs6/libgstelements.dsp:
12749 * win32/vs6/libgstreamer.dsp:
12750 * win32/vs7/GStreamer.vcproj:
12751 * win32/vs7/gst-inspect.vcproj:
12752 * win32/vs7/gst-launch.vcproj:
12753 * win32/vs7/libgstbase.vcproj:
12754 bump GST_MAJORMINOR to 0.10
12755 reset libtool version
12757 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12761 Added Bulgarian translation by (Alexander Shopov)
12763 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12765 * tests/check/gst/gstplugin.c:
12768 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12770 * common/gst-xmlinspect.py:
12771 * common/gtk-doc-plugins.mak:
12773 * docs/Makefile.am:
12774 * docs/gst/Makefile.am:
12775 * docs/gst/gstreamer-docs.sgml:
12776 * docs/gst/gstreamer-sections.txt:
12777 * docs/gst/gstreamer.types:
12778 * docs/gst/gstreamer.types.in:
12779 * docs/plugins/Makefile.am:
12780 * docs/plugins/gstreamer-plugins-docs.sgml:
12781 * docs/plugins/gstreamer-plugins-sections.txt:
12782 * docs/plugins/gstreamer-plugins.types:
12783 * docs/plugins/inspect.stamp:
12784 * docs/plugins/inspect/plugin-coreelements.xml:
12785 * docs/plugins/inspect/plugin-coreindexers.xml:
12786 * docs/plugins/scanobj-build.stamp:
12787 * gstreamer.spec.in:
12788 * plugins/elements/Makefile.am:
12789 * plugins/elements/gstelements.c:
12790 * plugins/elements/gstfakesink.c:
12791 * plugins/elements/gstfakesrc.c:
12792 * plugins/elements/gstfilesink.c:
12793 * plugins/elements/gstfilesrc.c:
12794 * plugins/elements/gstqueue.c:
12795 * plugins/indexers/Makefile.am:
12796 * plugins/indexers/gstindexers.c:
12797 document core plugins in a separate document just like all the
12799 rename these plugins to something starting with core
12801 2005-12-01 Andy Wingo <wingo@pobox.com>
12803 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12804 padding here before, but it missed the commit.
12806 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12808 * libs/gst/controller/gstinterpolation.c:
12809 whitespace prices have crashed, we should feel free to use some now
12810 use gst_guint64_to_gdouble
12812 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12814 * libs/gst/controller/gstcontroller.c:
12815 * libs/gst/controller/gsthelper.c:
12816 * libs/gst/controller/gstinterpolation.c:
12817 * libs/gst/controller/lib.c:
12818 wrap config.h include
12820 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12822 * docs/gst/gstreamer-sections.txt:
12825 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12827 * plugins/elements/gstelements.c:
12828 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12829 (gst_fd_sink__class_init), (gst_fd_sink__init),
12830 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12831 (gst_fd_sink__get_property):
12832 * plugins/elements/gstfdsink.h:
12833 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12834 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12835 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12836 (gst_fd_src_unlock), (gst_fd_src_set_property),
12837 (gst_fd_src_get_property), (gst_fd_src_create),
12838 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12839 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12840 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12841 (gst_fd_src_uri_handler_init):
12842 * plugins/elements/gstfdsrc.h:
12843 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12846 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12848 * docs/gst/Makefile.am:
12849 * docs/gst/gstreamer.types.in:
12853 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12859 * gst/gstregistry.h:
12860 * tests/benchmarks/complexity.c:
12861 * tests/benchmarks/mass-elements.c:
12862 * tests/check/Makefile.am:
12863 * tools/Makefile.am:
12864 * tools/gst-inspect.c:
12865 * tools/gst-xmlinspect.c:
12866 various fixes to make
12867 --disable-nls --disable-registry --disable-loadsave
12868 --disable-parse --disable-gst-debug
12869 work and get the core .so down to 360444 bytes after stripping
12871 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12876 * docs/random/thomasvs/TODO:
12877 * tests/Makefile.am:
12881 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12883 * win32/GStreamer.vcproj:
12886 * win32/Makefile.inspect:
12887 * win32/Makefile.launch:
12888 * win32/Makefile.register:
12889 * win32/README.txt:
12890 * win32/gst-inspect.vcproj:
12891 * win32/gst-launch.vcproj:
12892 * win32/gst-register.vcproj:
12893 * win32/gstelements.vcproj:
12894 * win32/gstgetbits.def:
12895 * win32/gstgetbits.vcproj:
12896 * win32/gstreamer-dbg.def:
12897 * win32/gstreamer.def:
12898 * win32/libgstbase.def:
12899 * win32/libgstbase.vcproj:
12900 * win32/link_oldruntime.c:
12904 * win32/msvc71.sln:
12905 move even more stuff, win32/ is nice and clean now
12907 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12909 * libs/gst/control/.cvsignore:
12914 * win32/gstbytestream.def:
12915 * win32/gstbytestream.vcproj:
12916 * win32/gstconfig.h:
12917 * win32/gstenumtypes.c:
12918 * win32/gstenumtypes.h:
12919 * win32/gstoptimalscheduler.vcproj:
12920 * win32/gstversion.h:
12922 * win32/testsuite/bins.vcproj:
12923 * win32/testsuite/bytestream.vcproj:
12924 * win32/testsuite/caps.vcproj:
12925 * win32/testsuite/cleanup.vcproj:
12926 * win32/testsuite/clock.vcproj:
12927 * win32/testsuite/debug.vcproj:
12928 * win32/testsuite/dlopen.vcproj:
12929 * win32/testsuite/dynparams.vcproj:
12930 * win32/testsuite/elements.vcproj:
12931 * win32/testsuite/ghostpads.vcproj:
12932 * win32/testsuite/indexers.vcproj:
12933 * win32/testsuite/negotiation.vcproj:
12934 * win32/testsuite/parse.vcproj:
12935 * win32/testsuite/plugin.vcproj:
12936 * win32/testsuite/refcounting.vcproj:
12937 * win32/testsuite/schedulers.vcproj:
12938 * win32/testsuite/states.vcproj:
12939 * win32/testsuite/tags.vcproj:
12940 * win32/testsuite/threads.vcproj:
12941 remove old win32 stuff that isn't maintained and should be
12944 2005-11-30 Andy Wingo <wingo@pobox.com>
12946 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12947 loading the gst.interfaces python module bork.
12949 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12950 available since GLib 2.2. Fixes #318031.
12952 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12955 * check/.cvsignore:
12956 * check/Makefile.am:
12957 * check/elements/.cvsignore:
12958 * check/elements/fakesrc.c:
12959 * check/elements/fdsrc.c:
12960 * check/elements/identity.c:
12961 * check/generic/.cvsignore:
12962 * check/generic/states.c:
12963 * check/gst-libs/.cvsignore:
12964 * check/gst-libs/controller.c:
12965 * check/gst-libs/gdp.c:
12966 * check/gst/.cvsignore:
12967 * check/gst/capslist.h:
12969 * check/gst/gstbin.c:
12970 * check/gst/gstbuffer.c:
12971 * check/gst/gstbus.c:
12972 * check/gst/gstcaps.c:
12973 * check/gst/gstelement.c:
12974 * check/gst/gstevent.c:
12975 * check/gst/gstghostpad.c:
12976 * check/gst/gstiterator.c:
12977 * check/gst/gstmessage.c:
12978 * check/gst/gstminiobject.c:
12979 * check/gst/gstobject.c:
12980 * check/gst/gstpad.c:
12981 * check/gst/gstpipeline.c:
12982 * check/gst/gstplugin.c:
12983 * check/gst/gstsegment.c:
12984 * check/gst/gststructure.c:
12985 * check/gst/gstsystemclock.c:
12986 * check/gst/gsttag.c:
12987 * check/gst/gstutils.c:
12988 * check/gst/gstvalue.c:
12989 * check/net/.cvsignore:
12990 * check/net/gstnetclientclock.c:
12991 * check/net/gstnettimeprovider.c:
12992 * check/pipelines/.cvsignore:
12993 * check/pipelines/cleanup.c:
12994 * check/pipelines/simple_launch_lines.c:
12995 * check/pipelines/stress.c:
12996 * check/states/.cvsignore:
12997 * check/states/sinks.c:
12999 * examples/Makefile.am:
13000 * examples/appreader/.cvsignore:
13001 * examples/appreader/Makefile.am:
13002 * examples/appreader/appreader.c:
13003 * examples/controller/.cvsignore:
13004 * examples/controller/Makefile.am:
13005 * examples/controller/audio-example.c:
13006 * examples/cutter/.cvsignore:
13007 * examples/cutter/Makefile.am:
13008 * examples/cutter/cutter.c:
13009 * examples/cutter/cutter.h:
13010 * examples/events/Makefile.am:
13011 * examples/events/seek.c:
13012 * examples/helloworld/.cvsignore:
13013 * examples/helloworld/Makefile.am:
13014 * examples/helloworld/helloworld.c:
13015 * examples/helloworld2/.cvsignore:
13016 * examples/helloworld2/Makefile.am:
13017 * examples/helloworld2/helloworld2.c:
13018 * examples/launch/.cvsignore:
13019 * examples/launch/Makefile.am:
13020 * examples/launch/mp3parselaunch.c:
13021 * examples/launch/mp3play:
13022 * examples/manual/.cvsignore:
13023 * examples/manual/Makefile.am:
13024 * examples/manual/extract.pl:
13025 * examples/metadata/Makefile.am:
13026 * examples/metadata/read-metadata.c:
13027 * examples/mixer/.cvsignore:
13028 * examples/mixer/Makefile.am:
13029 * examples/mixer/mixer.c:
13030 * examples/mixer/mixer.h:
13031 * examples/pingpong/.cvsignore:
13032 * examples/pingpong/Makefile.am:
13033 * examples/pingpong/pingpong.c:
13034 * examples/plugins/.cvsignore:
13035 * examples/plugins/Makefile.am:
13036 * examples/plugins/example.c:
13037 * examples/plugins/example.h:
13038 * examples/pwg/.cvsignore:
13039 * examples/pwg/Makefile.am:
13040 * examples/pwg/extract.pl:
13041 * examples/queue/.cvsignore:
13042 * examples/queue/Makefile.am:
13043 * examples/queue/queue.c:
13044 * examples/queue2/.cvsignore:
13045 * examples/queue2/Makefile.am:
13046 * examples/queue2/queue2.c:
13047 * examples/queue3/.cvsignore:
13048 * examples/queue3/Makefile.am:
13049 * examples/queue3/queue3.c:
13050 * examples/queue4/.cvsignore:
13051 * examples/queue4/Makefile.am:
13052 * examples/queue4/queue4.c:
13053 * examples/retag/.cvsignore:
13054 * examples/retag/Makefile.am:
13055 * examples/retag/retag.c:
13056 * examples/retag/transcode.c:
13057 * examples/thread/.cvsignore:
13058 * examples/thread/Makefile.am:
13059 * examples/thread/thread.c:
13060 * examples/typefind/.cvsignore:
13061 * examples/typefind/Makefile.am:
13062 * examples/typefind/typefind.c:
13063 * examples/xml/.cvsignore:
13064 * examples/xml/Makefile.am:
13065 * examples/xml/createxml.c:
13066 * examples/xml/runxml.c:
13067 * tests/Makefile.am:
13068 * tests/check/Makefile.am:
13069 * testsuite/.cvsignore:
13070 * testsuite/Makefile.am:
13072 * testsuite/caps/.cvsignore:
13073 * testsuite/caps/Makefile.am:
13074 * testsuite/caps/app_fixate.c:
13075 * testsuite/caps/audioscale.c:
13076 * testsuite/caps/caps.c:
13077 * testsuite/caps/caps.h:
13078 * testsuite/caps/caps_strings:
13079 * testsuite/caps/compatibility.c:
13080 * testsuite/caps/deserialize.c:
13081 * testsuite/caps/enumcaps.c:
13082 * testsuite/caps/eratosthenes.c:
13083 * testsuite/caps/filtercaps.c:
13084 * testsuite/caps/fixed.c:
13085 * testsuite/caps/fraction-convert.c:
13086 * testsuite/caps/fraction-multiply-and-zero.c:
13087 * testsuite/caps/intersect2.c:
13088 * testsuite/caps/intersection.c:
13089 * testsuite/caps/normalisation.c:
13090 * testsuite/caps/random.c:
13091 * testsuite/caps/renegotiate.c:
13092 * testsuite/caps/sets.c:
13093 * testsuite/caps/simplify.c:
13094 * testsuite/caps/string-conversions.c:
13095 * testsuite/caps/structure.c:
13096 * testsuite/caps/subtract.c:
13097 * testsuite/caps/union.c:
13098 * testsuite/debug/.cvsignore:
13099 * testsuite/debug/Makefile.am:
13100 * testsuite/debug/category.c:
13101 * testsuite/debug/commandline.c:
13102 * testsuite/debug/global.c:
13103 * testsuite/debug/output.c:
13104 * testsuite/debug/printf_extension.c:
13105 * testsuite/dlopen/.cvsignore:
13106 * testsuite/dlopen/Makefile.am:
13107 * testsuite/dlopen/dlopen_gst.c:
13108 * testsuite/dlopen/loadgst.c:
13109 * testsuite/elements/.cvsignore:
13110 * testsuite/elements/Makefile.am:
13111 * testsuite/elements/gst-inspect-check.in:
13112 * testsuite/elements/struct_i386.h:
13113 * testsuite/elements/struct_size.c:
13114 * testsuite/indexers/.cvsignore:
13115 * testsuite/indexers/Makefile.am:
13116 * testsuite/indexers/cache1.c:
13117 * testsuite/indexers/indexdump.c:
13118 * testsuite/parse/.cvsignore:
13119 * testsuite/parse/Makefile.am:
13120 * testsuite/parse/parse1.c:
13121 * testsuite/parse/parse2.c:
13122 * testsuite/plugin/.cvsignore:
13123 * testsuite/plugin/Makefile.am:
13124 * testsuite/plugin/README:
13125 * testsuite/plugin/dynamic.c:
13126 * testsuite/plugin/linked.c:
13127 * testsuite/plugin/loading.c:
13128 * testsuite/plugin/registry.c:
13129 * testsuite/plugin/static.c:
13130 * testsuite/plugin/static2.c:
13131 * testsuite/plugin/testplugin.c:
13132 * testsuite/plugin/testplugin2.c:
13133 * testsuite/plugin/testplugin2_s.c:
13134 * testsuite/plugin/testplugin_s.c:
13135 * testsuite/refcounting/.cvsignore:
13136 * testsuite/refcounting/Makefile.am:
13137 * testsuite/refcounting/bin.c:
13138 * testsuite/refcounting/element.c:
13139 * testsuite/refcounting/element_pad.c:
13140 * testsuite/refcounting/mainloop.c:
13141 * testsuite/refcounting/mem.c:
13142 * testsuite/refcounting/mem.h:
13143 * testsuite/refcounting/object.c:
13144 * testsuite/refcounting/pad.c:
13145 * testsuite/refcounting/sched.c:
13146 * testsuite/refcounting/thread.c:
13147 * testsuite/states/.cvsignore:
13148 * testsuite/states/Makefile.am:
13149 * testsuite/states/bin.c:
13150 * testsuite/states/locked.c:
13151 * testsuite/states/parent.c:
13152 * testsuite/threads/.cvsignore:
13153 * testsuite/threads/159566.c:
13154 * testsuite/threads/159852.c:
13155 * testsuite/threads/Makefile.am:
13156 * testsuite/threads/queue.c:
13157 * testsuite/threads/signals.c:
13158 * testsuite/threads/staticrec.c:
13159 * testsuite/threads/thread.c:
13160 * testsuite/threads/threadb.c:
13161 * testsuite/threads/threadc.c:
13162 * testsuite/threads/threadd.c:
13163 * testsuite/threads/threade.c:
13164 * testsuite/threads/threadf.c:
13165 * testsuite/threads/threadg.c:
13166 * testsuite/threads/threadh.c:
13167 * testsuite/threads/threadi.c:
13168 move all of these under tests
13170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13173 * tests/Makefile.am:
13176 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13178 * docs/gst/gstreamer-sections.txt:
13179 * tests/sched/.cvsignore:
13180 * tests/sched/Makefile.am:
13181 * tests/sched/cases/(fs-fs).xml:
13182 * tests/sched/cases/(fs-i-fs).xml:
13183 * tests/sched/cases/(fs-i-i-fs).xml:
13184 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13185 * tests/sched/dynamic-pipeline.c:
13186 * tests/sched/interrupt1.c:
13187 * tests/sched/interrupt2.c:
13188 * tests/sched/interrupt3.c:
13189 * tests/sched/runtestcases:
13190 * tests/sched/runxml.c:
13191 * tests/sched/sched-stress.c:
13192 * tests/sched/sort.c:
13193 * tests/sched/testcases:
13194 * tests/sched/testcases1.tc:
13195 * tests/seeking/.cvsignore:
13196 * tests/seeking/Makefile.am:
13197 * tests/seeking/seeking1.c:
13198 * tests/threadstate/.cvsignore:
13199 * tests/threadstate/Makefile.am:
13200 * tests/threadstate/test1.c:
13201 * tests/threadstate/test2.c:
13202 * tests/threadstate/threadstate1.c:
13203 * tests/threadstate/threadstate2.c:
13204 * tests/threadstate/threadstate3.c:
13205 * tests/threadstate/threadstate4.c:
13206 * tests/threadstate/threadstate5.c:
13207 remove obsolete tests
13209 * tests/bench-complexity.scm:
13210 * tests/bench-mass_elements.scm:
13211 * tests/complexity.c:
13212 * tests/complexity.gnuplot:
13213 * tests/instantiate/.cvsignore:
13214 * tests/instantiate/Makefile.am:
13215 * tests/instantiate/caps.c:
13216 * tests/mass_elements.c:
13217 * tests/network-clock-utils.scm:
13218 * tests/network-clock.scm:
13220 First pass at cleaning up tests/ dir before moving the rest
13221 Combined with CVS surgery
13223 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13226 queue has moved, update
13228 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13230 * docs/gst/gstreamer-sections.txt:
13231 remove double entries from the docs
13232 * gst/gst_private.h:
13233 * gst/gstinfo.c: (_gst_debug_init):
13234 remove the THREAD debug category
13238 * docs/gst/gstreamer.types:
13239 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13240 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13241 completely move queue and fix up debugging categories
13243 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13245 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13246 make initialization portable, using LL is not
13248 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13250 * win32/common/gstconfig.h:
13253 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13255 * win32/common/libgstreamer.def:
13256 rename symbols; sort base section
13258 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13260 * gst/gstclock.c: (do_linear_regression):
13261 remove crack non-portable handrolled DEBUG macro
13263 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13265 * docs/random/release:
13267 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13268 (gst_object_flags_get_type), (register_gst_bin_flags),
13269 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13270 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13271 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13272 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13273 (gst_caps_flags_get_type), (register_gst_clock_return),
13274 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13275 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13276 (gst_clock_flags_get_type), (register_gst_state),
13277 (gst_state_get_type), (register_gst_state_change_return),
13278 (gst_state_change_return_get_type), (register_gst_state_change),
13279 (gst_state_change_get_type), (register_gst_element_flags),
13280 (gst_element_flags_get_type), (register_gst_core_error),
13281 (gst_core_error_get_type), (register_gst_library_error),
13282 (gst_library_error_get_type), (register_gst_resource_error),
13283 (gst_resource_error_get_type), (register_gst_stream_error),
13284 (gst_stream_error_get_type), (register_gst_event_type_flags),
13285 (gst_event_type_flags_get_type), (register_gst_event_type),
13286 (gst_event_type_get_type), (register_gst_seek_type),
13287 (gst_seek_type_get_type), (register_gst_seek_flags),
13288 (gst_seek_flags_get_type), (register_gst_format),
13289 (gst_format_get_type), (register_gst_index_certainty),
13290 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13291 (gst_index_entry_type_get_type),
13292 (register_gst_index_lookup_method),
13293 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13294 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13295 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13296 (gst_index_flags_get_type), (register_gst_debug_level),
13297 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13298 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13299 (gst_iterator_result_get_type), (register_gst_iterator_item),
13300 (gst_iterator_item_get_type), (register_gst_message_type),
13301 (gst_message_type_get_type), (register_gst_mini_object_flags),
13302 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13303 (gst_pad_link_return_get_type), (register_gst_flow_return),
13304 (gst_flow_return_get_type), (register_gst_activate_mode),
13305 (gst_activate_mode_get_type), (register_gst_pad_direction),
13306 (gst_pad_direction_get_type), (register_gst_pad_flags),
13307 (gst_pad_flags_get_type), (register_gst_pad_presence),
13308 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13309 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13310 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13311 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13312 (gst_plugin_flags_get_type), (register_gst_rank),
13313 (gst_rank_get_type), (register_gst_query_type),
13314 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13315 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13316 (gst_tag_flag_get_type), (register_gst_task_state),
13317 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13318 (gst_alloc_trace_flags_get_type),
13319 (register_gst_type_find_probability),
13320 (gst_type_find_probability_get_type), (register_gst_uri_type),
13321 (gst_uri_type_get_type), (register_gst_parse_error),
13322 (gst_parse_error_get_type):
13323 * win32/common/gstenumtypes.h:
13324 * win32/common/gstversion.h:
13325 update visual studio generated files
13327 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13329 * win32/vs6/libgstbase.dsp:
13330 * win32/vs6/libgstelements.dsp:
13331 update project files for new locations
13333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13338 reinstate and update
13343 * docs/random/LICENSE:
13346 2005-11-30 Edward Hervey <edward@fluendo.com>
13348 * gst/gsttypefind.c: (gst_type_find_register):
13349 * gst/gsttypefind.h:
13350 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13351 (gst_type_find_factory_dispose):
13352 * gst/gsttypefindfactory.h:
13353 Fix memory leak in GstTypeFindFactory.
13355 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13358 * plugins/elements/Makefile.am:
13359 * plugins/elements/gstelements.c:
13360 * plugins/elements/gstqueue.c:
13361 move queue from core to the elements plugin
13363 2005-11-29 Andy Wingo <wingo@pobox.com>
13365 * libs/gst/base/gstbasetransform.h:
13366 * libs/gst/base/gstbasesrc.h:
13367 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13369 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13370 of pointers by which to pad very extensible base classes (like the
13371 ones in libs/gst/base).
13373 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13375 * docs/gst/gstreamer-docs.sgml:
13376 * docs/gst/gstreamer-sections.txt:
13377 * docs/libs/gstreamer-libs-docs.sgml:
13378 * docs/libs/gstreamer-libs-sections.txt:
13379 moving documentation from core to lib
13381 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13383 * check/Makefile.am:
13385 * docs/gst/Makefile.am:
13387 * gst/base/.cvsignore:
13388 * gst/base/Makefile.am:
13390 * gst/base/gstadapter.c:
13391 * gst/base/gstadapter.h:
13392 * gst/base/gstbasesink.c:
13393 * gst/base/gstbasesink.h:
13394 * gst/base/gstbasesrc.c:
13395 * gst/base/gstbasesrc.h:
13396 * gst/base/gstbasetransform.c:
13397 * gst/base/gstbasetransform.h:
13398 * gst/base/gstcollectpads.c:
13399 * gst/base/gstcollectpads.h:
13400 * gst/base/gstpushsrc.c:
13401 * gst/base/gstpushsrc.h:
13402 * gst/base/gsttypefindhelper.c:
13403 * gst/base/gsttypefindhelper.h:
13404 * gst/check/Makefile.am:
13405 * gst/check/gstcheck.c:
13406 * gst/check/gstcheck.h:
13407 * gst/net/Makefile.am:
13408 * gst/net/gstnet.h:
13409 * gst/net/gstnetclientclock.c:
13410 * gst/net/gstnetclientclock.h:
13411 * gst/net/gstnettimepacket.c:
13412 * gst/net/gstnettimepacket.h:
13413 * gst/net/gstnettimeprovider.c:
13414 * gst/net/gstnettimeprovider.h:
13415 * libs/gst/Makefile.am:
13416 * libs/gst/base/Makefile.am:
13417 * libs/gst/base/gstbasetransform.c:
13418 * libs/gst/check/Makefile.am:
13419 * plugins/elements/Makefile.am:
13421 CVS surgery + support to move base, check, and net out of gst
13424 2005-11-29 Andy Wingo <wingo@pobox.com>
13426 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13428 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13431 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13433 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13435 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13437 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13438 padding; reduces object size by about 30%. We don't expect
13439 anything else to go into gstobject.
13441 * gst/gstminiobject.h (struct _GstMiniObject)
13442 (struct _GstMiniObjectClass): Only one pointer of padding; the
13443 payload is only a pointer and two ints anyway. For the class there
13444 are only two methods as well.
13446 * gst/gstelement.h (struct _GstElementClass): Removed
13447 the state_changed signal callback, it is not used.
13449 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13451 * docs/gst/gstreamer.types:
13452 fix includes, though they are a little dinky
13454 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13456 * check/Makefile.am:
13457 look in the right place for elements, a lot more chance of
13460 remove indexers and elements subdirs
13461 * plugins/Makefile.am:
13462 make indexers conditional
13464 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13468 * plugins/elements/Makefile.am:
13469 * plugins/elements/gstcapsfilter.c:
13470 * plugins/elements/gstfilesink.c:
13471 * plugins/elements/gstfilesrc.c:
13472 * plugins/elements/gstidentity.c:
13473 * plugins/indexers/Makefile.am:
13474 do CVS surgery and related build fixery to move elements
13475 and indexers in a new gstreamer/plugins directory, out of the
13478 2005-11-29 Andy Wingo <wingo@pobox.com>
13480 * check/Makefile.am:
13481 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13482 * pkgconfig/gstreamer-net.pc.in:
13483 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13486 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13488 * tools/Makefile.am:
13489 * tools/gst-complete.1.in:
13490 * tools/gst-complete.c:
13491 * tools/gst-compprep.1.in:
13492 * tools/gst-compprep.c:
13493 removing -compprep and -complete
13495 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13497 * gst/gstevent.c: (gst_event_new_new_segment),
13498 (gst_event_parse_new_segment):
13500 fix #320529 - clean up new_segment API and structure.
13501 Let's hope everyone was using the methods, and not the structure.
13503 2005-11-29 Edward Hervey <edward@fluendo.com>
13505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13506 (gst_base_sink_event), (gst_base_sink_do_sync),
13507 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13508 Properly handle non GST_FORMAT_TIME segment
13509 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13510 Properly handle non GST_FORMAT_TIME segment
13511 * gst/gstsegment.c:
13512 This function is valid if the accumulator is 0 and the format
13513 is different from the requested format.
13515 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13517 * docs/gst/gstreamer-sections.txt:
13518 Add gst_query_new_seeking and gst_query_parse_seeking to the
13521 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13523 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13524 Treat a pad alloc with new caps the same as if we were not
13525 negotiated, in order to allow a changing upstream output
13526 to produce a new format of data.
13528 2005-11-29 Edward Hervey <edward@fluendo.com>
13530 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13531 (gst_base_transform_event), (gst_base_transform_eventfunc):
13532 The event virtual method is now properly implemented, with a default
13534 Sub classes should call the parent_class event method. They should
13535 return FALSE if they had a problem handling the given event, or don't
13536 want GstBaseTransform to send that even downstream
13537 * gst/elements/gstidentity.c: (gst_identity_class_init),
13538 (gst_identity_init), (gst_identity_event),
13539 (gst_identity_transform_ip), (gst_identity_set_property),
13540 (gst_identity_get_property):
13541 * gst/elements/gstidentity.h:
13542 Added the single-segment boolean property.
13543 If set to TRUE, it will output a single segment of data, starting from
13544 0, will eat up all incoming newsegment, and modify the timestamp of the
13545 buffers accordingly
13547 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13549 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13550 Don't ref NULL target pad (#322751). Improve docs.
13552 2005-11-29 Michael Smith <msmith@fluendo.com>
13554 * gst/gstregistryxml.c: (load_plugin):
13555 Don't crash if we failed to load a feature from a plugin.
13557 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13559 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13561 use more check API and less GLib API
13563 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13566 don't run checks if we don't have check
13567 * common/check.mak:
13568 remove the registry when running make torture
13569 * docs/gst/gstreamer-sections.txt:
13570 remove second multiply
13571 * gst/gstqueue.c: (gst_queue_loop):
13572 fix a compile warning when disabling debug
13574 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13577 Hey! Let's print the pad name if the pointer != NULL instead
13578 of when it == NULL :-)
13580 2005-11-28 Wim Taymans <wim@fluendo.com>
13582 * check/gst/gstutils.c: (GST_START_TEST):
13583 Updated check, add some scaling accuracy checking code.
13585 * gst/gstutils.c: (gst_util_div128_64),
13586 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13587 (gst_util_uint64_scale_int):
13588 Fix 6 times faster division code. Optimize for common
13589 1/1 and less common X/1 cases.
13591 2005-11-28 Wim Taymans <wim@fluendo.com>
13593 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13596 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13597 (do_linear_regression), (gst_clock_add_observation):
13599 Release lock when the clock cannot be slaved.
13600 Catch the case where the regression returned an invalid denominator.
13602 * gst/gstutils.c: (gst_util_div128_64_iterate),
13603 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13604 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13605 Add protentially more performant non-iterative 128/64 divide function
13606 that unfortunatly does not work yet.
13607 Shortcut the trivial 0/X = 0 case.
13608 Remove the warnings on overflow.
13610 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13612 * gst/gstplugin.c: (gst_plugin_register_func):
13613 everything causing a plugin not to load should be at least a WARNING
13615 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13617 * docs/random/ensonic/dparams.txt:
13618 some TODOs for the next dev cycle
13619 * libs/gst/controller/gstcontroller.c:
13620 (gst_controlled_property_set_interpolation_mode),
13621 (gst_controlled_property_new):
13622 * libs/gst/controller/gstcontroller.h:
13623 use base type to assign acccessor functions
13625 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13627 * check/Makefile.am:
13628 Oops, that should have been top_srcdir
13630 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13632 * check/Makefile.am:
13633 * check/elements/fdsrc.c: (GST_START_TEST):
13634 Use a cmdline define to specify the location of a file to use for
13635 testing, to avoid breaking distcheck.
13637 2005-11-28 Andy Wingo <wingo@pobox.com>
13639 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13641 2005-11-28 Edward Hervey <edward@fluendo.com>
13643 * tools/gst-launch.c: (main):
13644 Clarify the output strings, makes it easier to translate.
13647 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13650 don't try and build net if we don't even have <sys/socket.h>
13652 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13654 * check/Makefile.am:
13655 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13656 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13657 Add tests for fdsrc seekability
13659 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13660 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13661 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13662 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13663 * gst/elements/gstfdsrc.h:
13664 fdsrc should not be a 'live' source.
13665 Implement seeking on seekable fd's.
13667 * gst/gstquery.c: (gst_query_new_seeking),
13668 (gst_query_parse_seeking):
13670 Implement SEEKING query functions:
13671 *_new_seeking and *_parse_seeking
13673 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13675 * gst/gstelement.c: (gst_element_dispose):
13678 * gst/gstiterator.c:
13679 * gst/gststructure.c:
13682 * libs/gst/controller/gstcontroller.c:
13683 (gst_controlled_property_set_interpolation_mode):
13684 * libs/gst/controller/gstcontroller.h:
13685 * libs/gst/controller/gstinterpolation.c:
13686 (interpolate_none_get_enum_value_array):
13687 support controlling enums
13689 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13692 Improve documentation for gst_value_union().
13695 Change return value for union, intersect and subtract functions
13696 from gint to gboolean.
13698 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13700 * gst/gstvalue.c: (gst_value_serialize_any_list),
13701 (gst_value_transform_any_list_string),
13702 (gst_value_deserialize_list), (gst_value_deserialize_array),
13703 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13704 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13705 (gst_value_set_fraction_range_full),
13706 (gst_value_deserialize_fraction_range),
13707 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13708 (gst_value_deserialize_boolean),
13709 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13710 (gst_value_serialize_float), (gst_value_deserialize_float),
13711 (gst_string_wrap), (gst_value_deserialize_string),
13712 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13713 (gst_value_union_int_range_int_range),
13714 (gst_value_intersect_int_range_int_range),
13715 (gst_value_intersect_double_range_double_range),
13716 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13717 (gst_value_subtract_int_range_int_range),
13718 (gst_value_subtract_double_double_range),
13719 (gst_value_subtract_double_range_double_range),
13720 (gst_value_deserialize_fraction):
13722 Use gint, gdouble and gchar in our API instead of int, double and
13723 char (and make usage in gstvalue.c more consistent).
13725 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13727 * check/Makefile.am:
13728 * libs/gst/controller/Makefile.am:
13729 * libs/gst/dataprotocol/Makefile.am:
13730 fix up Makefile.am and remove GST_ENABLE_NEW
13732 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13736 * gst/base/Makefile.am:
13737 * gst/check/Makefile.am:
13738 * gst/elements/Makefile.am:
13739 * gst/net/Makefile.am:
13740 update LDFLAGS use some more
13742 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13744 * common/m4/gst-doc.m4:
13747 2005-11-26 Edward Hervey <edward@fluendo.com>
13749 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13750 This shouldn't issue a g_warning since it returns NULL if it
13751 couldn't find the plugin, and all functions using this behave
13752 properly on a NULL return. Switching to a GST_WARNING.
13754 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13756 * gst/gstbin.c: (gst_bin_handle_message_func):
13757 Don't leak clock messages.
13759 2005-11-25 Wim Taymans <wim@fluendo.com>
13761 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13762 (gst_util_uint64_scale_int):
13763 Optimisations, remove unneeded vars.
13765 2005-11-25 Wim Taymans <wim@fluendo.com>
13767 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13768 Added more checks for the high precision uint64 cases.
13770 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13771 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13772 Implement high precision (guint64 * guint64) / guint64.
13774 2005-11-24 Wim Taymans <wim@fluendo.com>
13776 * gst/base/gstbasesrc.c: (gst_base_src_query):
13777 Fix wrong percentage query.
13779 * gst/gstutils.c: (gst_util_uint64_scale),
13780 (gst_util_uint64_scale_int):
13781 Add some more common cases that can be handled
13782 efficiently to _scale.
13784 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13786 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13787 (gst_mini_object_suite):
13788 don't use check calls from threads; check probably isn't
13789 threadsafe and using a lock to make it threadsafe would
13790 defeat the purpose of this check
13791 * gst/check/gstcheck.c:
13792 * gst/check/gstcheck.h:
13793 use GST_DEBUG some more
13795 2005-11-24 Wim Taymans <wim@fluendo.com>
13797 * gst/gstutils.c: (gst_util_uint64_scale),
13798 (gst_util_uint64_scale_int):
13799 Chain trivial case to _scale_int.
13801 2005-11-24 Wim Taymans <wim@fluendo.com>
13803 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13804 Added test for scaling.
13809 * gst/gstutils.c: (gst_util_uint64_scale_int):
13810 Implemented high precision scaling code.
13812 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13815 do not crash on pad==NULL
13817 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13819 Patch by: Stefan Kost
13821 * common/gtk-doc.mak:
13822 * docs/gst/Makefile.am:
13823 * docs/libs/Makefile.am:
13824 Fix distcheck issues for the libraries docs build
13827 2005-11-24 Michael Smith <msmith@fluendo.com>
13829 * docs/manual/basics-helloworld.xml:
13830 Fix bug #315027: memory leak in example code in docs.
13832 2005-11-24 Michael Smith <msmith@fluendo.com>
13834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13835 Unlock the PREROLL_LOCK in a failure case.
13837 2005-11-24 Wim Taymans <wim@fluendo.com>
13839 * docs/gst/gstreamer-sections.txt:
13840 * gst/base/gstadapter.h:
13841 * gst/base/gstbasesink.h:
13842 * gst/base/gstbasesrc.h:
13843 * gst/base/gstbasetransform.h:
13844 * gst/base/gstpushsrc.h:
13845 * gst/elements/gstfakesink.h:
13846 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13847 * gst/elements/gstfakesrc.h:
13848 * gst/elements/gstfilesink.h:
13849 * gst/elements/gstfilesrc.h:
13852 * gst/gstbuffer.c: (_gst_buffer_copy):
13855 * gst/gstchildproxy.c:
13857 * gst/gstelement.c:
13858 * gst/gstelementfactory.c:
13859 * gst/gstelementfactory.h:
13861 * gst/gstghostpad.h:
13863 * gst/gstinterface.h:
13864 * gst/gstminiobject.c:
13865 * gst/gstminiobject.h:
13868 * gst/gstpadtemplate.h:
13869 * gst/gstpipeline.h:
13870 * gst/gstpluginfeature.h:
13873 * gst/gsttaglist.c:
13874 * gst/gsttaglist.h:
13875 * gst/gsttagsetter.c:
13876 * gst/gsttagsetter.h:
13879 * gst/gsttypefind.h:
13882 * gst/net/gstnetclientclock.c:
13883 * gst/net/gstnetclientclock.h:
13884 * gst/net/gstnettimepacket.c:
13885 * gst/net/gstnettimeprovider.c:
13886 * gst/net/gstnettimeprovider.h:
13889 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13891 * configure.ac: back to HEAD
13893 === release 0.9.6 ===
13895 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13898 releasing 0.9.6, "Always On Time"
13900 2005-11-23 Wim Taymans <wim@fluendo.com>
13902 * docs/gst/gstreamer-sections.txt:
13903 * gst/glib-compat.c:
13904 * gst/gsttagsetter.c:
13906 * gst/net/gstnetclientclock.c:
13907 * gst/net/gstnettimepacket.h:
13910 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13912 * docs/faq/using.xml:
13913 * docs/libs/tmpl/gstcontrol.sgml:
13914 * docs/manual/advanced-dparams.xml:
13915 * docs/manual/appendix-checklist.xml:
13916 * docs/manual/basics-elements.xml:
13917 * docs/pwg/other-source.xml:
13918 * docs/random/moving-plugins:
13920 * tools/gst-launch.1.in:
13921 remove mentions of sinesrc
13923 2005-11-23 Michael Smith <msmith@fluendo.com>
13925 * docs/gst/gstreamer-sections.txt:
13926 Update for new API and API changes.
13928 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13930 Documentation typo fix.
13931 * gst/net/gstnettimepacket.c:
13932 Documentation fixes for arguments.
13934 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13936 * gst/gststructure.c: (gst_structure_get_fraction),
13937 (gst_structure_parse_value),
13938 (gst_structure_fixate_field_nearest_fraction):
13939 * gst/gststructure.h:
13940 * gst/gstutils.c: (gst_util_uint64_scale_int):
13942 * scripts/update-funcnames:
13944 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13945 Make gst_structure_fixate_field_nearest_fraction take a numerator
13946 and denominator argument instead of a GValue
13947 add gst_structure_get_fraction helper function.
13949 2005-11-23 Wim Taymans <wim@fluendo.com>
13951 * docs/design/part-TODO.txt:
13954 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13955 * gst/net/gstnetclientclock.h:
13956 Use parent fields for timeout and window_size.
13958 2005-11-23 Andy Wingo <wingo@pobox.com>
13960 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13961 rate_num/rate_denom change.
13963 * gst/net/gstnetclientclock.c
13964 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13965 OBJECT_LOCK. Don't call add_observation with the lock.
13967 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13969 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13971 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13972 deal with rate as a fraction whose numerator and denominator are
13973 GstClockTime values.
13974 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13975 master; the other fields are protected by the SLAVE_LOCK.
13976 (do_linear_regression): Note that this must be called with the
13978 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13979 OBJECT_LOCK. Call set_calibration instead of touching the
13980 variables directly.
13981 (gst_clock_set_property, gst_clock_get_property): Protect
13982 master/slave parameters with the SLAVE_LOCK.
13984 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13985 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13986 note that all of the instance variables that add_observation and
13987 the set_master functions use are protected by that lock and not
13989 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13991 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13992 the caller to take the object lock.
13994 2005-11-23 Wim Taymans <wim@fluendo.com>
13996 * gst/gsterror.c: (_gst_core_errors_init):
13998 Add error for clock stuff.
14000 * gst/gstpipeline.c: (gst_pipeline_change_state),
14001 (gst_pipeline_set_clock):
14002 Post clock error when clock cannot be used in a pipeline.
14004 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14006 * docs/gst/gstreamer-sections.txt:
14007 make two symbols from gstinfo private for the docs
14008 * gst/base/gstcollectpads.h:
14010 fix doc typos, update docs
14012 2005-11-22 Wim Taymans <wim@fluendo.com>
14014 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14015 (gst_base_sink_wait), (gst_base_sink_do_sync),
14016 (gst_base_sink_handle_event):
14017 * gst/base/gstbasesink.h:
14018 No need to store the clock, the parent element class already
14021 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14022 Updates for clock_set returning a gboolean
14024 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14025 (gst_clock_id_wait_async), (gst_clock_class_init),
14026 (gst_clock_init), (gst_clock_finalize),
14027 (gst_clock_get_internal_time), (gst_clock_get_time),
14028 (gst_clock_slave_callback), (gst_clock_set_master),
14029 (gst_clock_get_master), (do_linear_regression),
14030 (gst_clock_add_observation), (gst_clock_set_property),
14031 (gst_clock_get_property):
14033 Implement master/slave. When setting a clock as a slave, a
14034 periodic timeout is scheduled to sample master and slave times.
14035 Then the slave clock is recalibrated to match offset and rate
14036 of the master clock.
14037 Update logging a bit.
14038 Add flag so that a clock can state that is cannot be slaved to
14041 * gst/gstelement.c: (gst_element_set_clock):
14042 * gst/gstelement.h:
14043 The set clock returns a gboolean for when an element cannot
14044 deal with the selected clock in the pipeline.
14046 * gst/gstpipeline.c: (gst_pipeline_change_state),
14047 (gst_pipeline_set_clock):
14048 * gst/gstpipeline.h:
14049 Handle the case where the selected clock cannot be set on
14052 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14053 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14054 (gst_net_client_clock_set_property),
14055 (gst_net_client_clock_get_property),
14056 (gst_net_client_clock_observe_times):
14057 * gst/net/gstnetclientclock.h:
14058 Use regression code in GstClock parent, remove duplicated
14061 2005-11-22 Michael Smith <msmith@fluendo.com>
14063 * gst/gstutils.c: (gst_util_clock_time_scale):
14065 * docs/gst/gstreamer-sections.txt:
14066 Rename method to have extra underscore.
14068 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14070 * gst/elements/Makefile.am:
14071 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14072 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14073 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14074 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14075 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14076 * gst/elements/gstfakesrc.h:
14077 * gst/gstqueue.c: (queue_leaky_get_type):
14078 correctly fix GEnumValues so that nick is the short lowercase
14080 * tools/gst-inspect.c: (print_element_properties_info):
14081 also show the nick, since it's useful to use from parse_launch
14085 2005-11-22 Michael Smith <msmith@fluendo.com>
14087 * gst/gstutils.c: (gst_util_clocktime_scale):
14089 * docs/gst/gstreamer-sections.txt:
14090 Add util method for scaling a clocktime by a fraction. Useful
14091 implementation is left as an exercise for the reader.
14093 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14095 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14096 If needed, allocate storage in the destination value during
14099 2005-11-22 Edward Hervey <edward@fluendo.com>
14101 * docs/gst/gstreamer-sections.txt:
14104 * gst/gsturitype.c:
14105 * gst/gsturitype.h:
14106 * gst/gstutils.c: (gst_util_set_object_arg):
14107 * tools/gst-compprep.c: (main):
14108 * tools/gst-inspect.c: (print_element_properties_info):
14109 Removed GstURI, closes bug #321061
14111 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14113 * check/gst/gststructure.c: (GST_START_TEST):
14114 * gst/gststructure.c: (gst_structure_parse_value):
14115 Oops, broke automatic string type parsing.
14116 Add a test to catch it in future.
14118 2005-11-22 Andy Wingo <wingo@pobox.com>
14120 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14121 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14122 Actually rename the function implementations. Grr.
14124 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14126 * check/gst/capslist.h:
14128 * check/gst/gststructure.c: (GST_START_TEST),
14129 (gst_structure_suite):
14130 Test automatic value type detection in gst_structure_from_string.
14131 * gst/gststructure.c: (gst_structure_parse_value):
14132 Add fraction as a type we try and guess automatically in
14133 caps/structure strings.
14135 2005-11-22 Andy Wingo <wingo@pobox.com>
14137 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14139 * gst/gsttagsetter.h:
14140 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14141 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14142 (gst_tag_setter_add_tag_valist)
14143 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14144 _add_values, _add_valist, and _add_valist_values. Since this is an
14145 interface the function suffixes should be more explicit so
14146 language binding don't end up with element.add_valist ->
14147 gst_tag_setter_add_valist, for example. Fixes #322069.
14149 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14151 * check/gst/gstcaps.c: (GST_START_TEST):
14152 Extend caps string tests to check that a caps to string
14153 conversion is reversible and produces the same caps.
14155 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14156 Output "fraction" as the generic type fraction range, so caps
14157 serialisation and deserialisation works.
14158 * check/gst/capslist.h:
14159 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14160 Support 'MIN' and 'MAX' for deserialising fractions.
14162 2005-11-22 Andy Wingo <wingo@pobox.com>
14164 * gst/gstevent.h (gst_event_new_new_segment)
14165 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14166 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14167 Renamed from *_newsegment, *_buffersize, *_notarget.
14169 * scripts/update-funcnames: New script, performs the changes
14172 2005-11-22 Wim Taymans <wim@fluendo.com>
14174 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14175 Make sure the GstFlowReturn is returned.
14177 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14178 (gst_bus_add_signal_watch):
14180 add gst_bus_add_signal_watch_full.
14182 * gst/gstplugin.c: (gst_plugin_load_file):
14183 Small style cleanup.
14185 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14187 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14188 Block the fakesrc srcpad when we send an event, to avoid
14189 contention on the stream_lock causing random test failures.
14191 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14193 * check/gst/gstvalue.c: (GST_START_TEST):
14194 * gst/gstvalue.c: (gst_value_fraction_subtract):
14197 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14200 include "gstchildproxy.h"
14201 * gst/gstchildproxy.h:
14202 * libs/gst/controller/gstcontroller.h:
14203 use G_GNUC_NULL_TERMINATED
14205 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14207 * check/gst/capslist.h:
14208 * check/gst/gstcaps.c: (GST_START_TEST):
14209 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14210 * gst/gststructure.c: (gst_structure_parse_range),
14211 (gst_structure_fixate_field_nearest_fraction):
14212 * gst/gststructure.h:
14213 * gst/gstvalue.c: (gst_value_init_fraction_range),
14214 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14215 (gst_value_collect_fraction_range),
14216 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14217 (gst_value_set_fraction_range_full),
14218 (gst_value_get_fraction_range_min),
14219 (gst_value_get_fraction_range_max),
14220 (gst_value_serialize_fraction_range),
14221 (gst_value_transform_fraction_range_string),
14222 (gst_value_compare_fraction_range),
14223 (gst_value_deserialize_fraction_range),
14224 (gst_value_intersect_fraction_fraction_range),
14225 (gst_value_intersect_fraction_range_fraction_range),
14226 (gst_value_subtract_fraction_fraction_range),
14227 (gst_value_subtract_fraction_range_fraction),
14228 (gst_value_subtract_fraction_range_fraction_range),
14229 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14230 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14231 (gst_value_transform_string_fraction), (_gst_value_initialize):
14233 Implement fraction ranges and extend GstFraction to support
14234 arithmetic subtraction, as well as deserialization from integer
14235 strings such as "100"
14236 Add a testsuite as for int and double range set operations
14238 2005-11-21 Andy Wingo <wingo@pobox.com>
14240 * gst/gsttaglist.h:
14242 * gst/gststructure.h: Add glib-compat.h.
14244 2005-11-21 Wim Taymans <wim@fluendo.com>
14246 * gst/gstbin.c: (gst_bin_change_state_func):
14249 2005-11-21 Wim Taymans <wim@fluendo.com>
14251 * gst/gstsegment.h:
14252 And add a nice define too.
14254 2005-11-21 Wim Taymans <wim@fluendo.com>
14256 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14257 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14258 (gst_segment_set_duration), (gst_segment_set_last_stop),
14259 (gst_segment_set_seek), (gst_segment_set_newsegment),
14260 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14261 (gst_segment_clip):
14262 * gst/gstsegment.h:
14263 Make binding friendly.
14265 2005-11-21 Andy Wingo <wingo@pobox.com>
14267 * gst/gsttagsetter.h:
14268 * gst/gsttaglist.h:
14269 * gst/gststructure.h:
14271 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14274 * gst/gsterror.c (_gst_core_errors_init):
14275 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14278 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14279 (noinst_HEADERS): noinst the -private.
14281 2005-11-21 Michael Smith <msmith@fluendo.com>
14284 * gst/gstregistry.h:
14285 Remove unimplemented declarations for which we can see no sensible
14288 2005-11-21 Andy Wingo <wingo@pobox.com>
14290 * gst/gst.h: Include glib-compat.h.
14292 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14294 * gst/glib-compat.c: Include the public and the private header.
14296 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14300 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14302 * check/gst/gstevent.c (create_custom_events): Check that
14303 FLUSH_STOP is serialized.
14305 * check/elements/identity.c (event_func):
14306 * check/elements/fakesrc.c (event_func): No stream lock, the core
14309 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14310 stream lock taking, yay.
14312 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14313 ensure that core takes the stream lock.
14315 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14318 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14319 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14320 it already. For the flush start we do take it though so we get the
14321 right preroll state change messages.
14323 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14324 the stream lock here, the core does it for us.
14326 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14327 GST_STREAM_GET_LOCK.
14328 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14329 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14330 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14331 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14332 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14333 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14335 * gst/gstpad.c: Update for stream lock name change.
14337 * gst/base/gstbasesink.c: Update for preroll lock name change.
14339 2005-11-21 Wim Taymans <wim@fluendo.com>
14341 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14342 (gst_clock_get_master):
14344 * gst/gstsystemclock.c: (gst_system_clock_init):
14345 Convert Clock flags to object flags.
14346 Added methods to manage master/slave clocks.
14348 2005-11-21 Wim Taymans <wim@fluendo.com>
14350 * check/gst/gstsegment.c: (GST_START_TEST):
14351 * docs/design/part-TODO.txt:
14352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14353 (gst_base_sink_event), (gst_base_sink_do_sync),
14354 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14355 (gst_base_sink_query), (gst_base_sink_change_state):
14356 * gst/base/gstbasesink.h:
14357 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14358 (gst_base_src_default_newsegment),
14359 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14360 (gst_base_src_get_range), (gst_base_src_loop),
14361 (gst_base_src_change_state):
14362 * gst/base/gstbasesrc.h:
14363 * gst/base/gstbasetransform.c:
14364 (gst_base_transform_prepare_output_buf),
14365 (gst_base_transform_event), (gst_base_transform_change_state):
14366 * gst/base/gstbasetransform.h:
14367 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14368 (gst_collect_pads_event):
14369 * gst/base/gstcollectpads.h:
14370 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14371 (gst_fake_src_create):
14372 * gst/elements/gstfakesrc.h:
14373 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14374 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14375 (gst_segment_set_last_stop), (gst_segment_set_seek),
14376 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14377 (gst_segment_to_running_time), (gst_segment_clip):
14378 * gst/gstsegment.h:
14379 More segment updates, replace code in plugins with segment
14382 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14384 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14385 Don't ignore sscanf results
14387 2005-11-21 Andy Wingo <wingo@pobox.com>
14389 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14392 * *.c: Ran scripts/update-macros. Oh yes.
14394 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14395 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14398 * scripts/update-macros: New script. Run it on your files to
14399 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14402 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14404 * docs/gst/Makefile.am:
14405 * docs/gst/gstreamer-docs.sgml:
14406 * docs/gst/gstreamer-sections.txt:
14407 * docs/gst/gstreamer.types:
14409 more docs fixes, add new api to the docs
14411 2005-11-21 Andy Wingo <wingo@pobox.com>
14413 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14414 state_broadcast call.
14416 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14418 2005-11-21 Julien MOUTTE <julien@moutte.net>
14420 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14421 function calls for arrays.
14423 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14425 * docs/random/ensonic/media-device-daemon.txt:
14426 wild idea, can this be done?
14427 * docs/gst/gstreamer-sections.txt:
14432 * gst/gstpluginfeature.c:
14436 doc fixes and additions
14438 2005-11-21 Andy Wingo <wingo@pobox.com>
14440 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14441 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14442 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14443 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14444 private to the basesrc implementation.
14446 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14447 behalf of event function if necessary. It should no longer be
14448 necessary to take the stream lock in pad's event functions. Fixes
14451 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14452 * docs/gst/gstreamer-sections.txt:
14453 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14454 (gst_structure_fixate_field_nearest_double),
14455 (gst_structure_fixate_field_boolean):
14456 * gst/gststructure.h:
14457 * win32/common/libgstreamer.def:
14458 * win32/gstreamer.def:
14460 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14463 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14465 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14466 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14467 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14468 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14469 (gst_fdsrc_uri_handler_init):
14470 * gst/elements/gstfdsrc.h:
14471 Port fd:// URI handler from 0.8 to fdsrc
14473 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14475 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14476 (gst_value_serialize_fourcc):
14478 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14479 consistent with our other format defines (#320324).
14481 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14483 * gst/gstvalue.c: (gst_value_is_fixed):
14484 Revert previous commit. Value lists are by definition
14485 not fixed, as they are a list of possible values.
14487 2005-11-21 Andy Wingo <wingo@pobox.com>
14489 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14490 during the stable series if we need it. Fixes #319178.
14492 * gst/gstevent.c (gst_event_new_filler): Removed.
14494 * check/gst/gstevent.c: Update comment about filler events.
14496 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14498 * gst/gstvalue.c: (gst_value_is_fixed):
14499 Should handle both value arrays and value lists.
14501 2005-11-21 Andy Wingo <wingo@pobox.com>
14503 patch by: Alessandro Dessina <alessandro nnva org>
14505 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14506 functions to access arrays. Fixes #321962.
14508 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14510 * docs/gst/gstreamer.types:
14511 gst_collectpads_get_type => gst_collect_pads_get_type.
14513 * gst/base/gstbasetransform.c:
14514 Remove unused SIGNAL_HANDOFF enum.
14516 2005-11-21 Andy Wingo <wingo@pobox.com>
14518 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14519 the event type (upstream, downstream, serialized). Renamed
14520 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14521 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14522 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14524 * gst/gstevent.c: Update for new CUSTOM event names.
14526 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14529 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14532 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14534 * docs/gst/gstreamer-sections.txt:
14535 * win32/common/libgstbase.def:
14536 * win32/libgstbase.def:
14537 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14538 (gst_collect_pads_class_init), (gst_collect_pads_init),
14539 (gst_collect_pads_finalize), (gst_collect_pads_new),
14540 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14541 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14542 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14543 (gst_collect_pads_start), (gst_collect_pads_stop),
14544 (gst_collect_pads_peek), (gst_collect_pads_pop),
14545 (gst_collect_pads_available), (gst_collect_pads_read),
14546 (gst_collect_pads_flush), (gst_collect_pads_event),
14547 (gst_collect_pads_chain):
14548 * gst/base/gstcollectpads.h:
14549 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14550 unimplemented functions as unimplemented. Add padding to
14551 GstCollectData. (#320766, #320423)
14553 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14555 * gst/gstmessage.c:
14556 Improve docs for DURATION message (usage of duration parameter)
14559 2005-11-20 Wim Taymans <wim@fluendo.com>
14561 * check/Makefile.am:
14562 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14566 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14567 (gst_segment_set_seek), (gst_segment_set_newsegment),
14568 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14569 (gst_segment_clip):
14570 * gst/gstsegment.h:
14571 Added segment helper structure and methods. Not fully implemented
14573 Added segment check.
14575 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14577 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14578 Add a deserialisation test for fractions
14579 * examples/metadata/read-metadata.c: (message_loop),
14580 (make_pipeline), (main):
14581 Fix up metadata reading sample.
14582 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14584 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14585 Don't try and fixate empty caps
14586 * gst/gst_private.h:
14587 Wrap in G_BEGIN_DECLS/G_END_DECLS
14588 * gst/gstvalue.c: (gst_value_collect_fraction),
14589 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14590 (gst_value_transform_string_fraction),
14591 (gst_value_compare_fraction):
14592 Add some extra guards to ensure that we don't end up
14593 with an invalid denominator of 0 in a gstfraction and
14594 that fractions always get reduced.
14596 2005-11-20 Wim Taymans <wim@fluendo.com>
14598 * docs/gst/gstreamer-sections.txt:
14600 * gst/gstelement.c:
14609 2005-11-20 Wim Taymans <wim@fluendo.com>
14611 * docs/design/part-TODO.txt:
14613 Make a proper enum of the flag.
14615 2005-11-19 Wim Taymans <wim@fluendo.com>
14617 * docs/design/part-TODO.txt:
14618 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14619 (gst_format_to_quark), (gst_format_register):
14621 * gst/gstquery.c: (_gst_query_initialize),
14622 (gst_query_type_get_name), (gst_query_type_to_quark),
14623 (gst_query_type_register):
14625 Add type to quark and type to string conversions.
14627 2005-11-19 Andy Wingo <wingo@pobox.com>
14629 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14632 2005-11-19 Wim Taymans <wim@fluendo.com>
14634 * docs/design/part-TODO.txt:
14635 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14636 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14637 (gst_bin_handle_message_func):
14639 Make message handling overridable.
14641 2005-11-19 Andy Wingo <wingo@pobox.com>
14643 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14646 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14648 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14649 is a GstClockTime. Fixes #321710.
14651 * gst/gstclock.h (GstClock): Remove offset property. Add
14652 internal_calibration and external_calibration. Fix padding. Pad
14653 also by GstClockTime so we don't run into problems.
14655 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14656 (gst_clock_get_rate_offset): Remove.
14657 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14660 * gst/gstutils.c (g_static_rec_cond_wait)
14661 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14663 * gst/gstbin.c: Remove terrible continue_state prototype.
14665 * gst/gstelement.h (gst_element_continue_state): Make public.
14667 * gst/gstelement.h:
14668 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14669 by continue_state. Fixes #319389.
14671 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14672 Really fixes #168438. However I don't see anywhere where the
14673 filter function is called... stupid GStreamer...
14675 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14676 don't have a dispose function, so it won't get called when the
14677 object is unreffed, but oh well!
14679 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14680 allows a destroy function to be set so user_data can be freed.
14682 (gst_index_set_filter): Call gst_index_set_filter_full.
14684 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14686 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14687 string should produce an error, given the lack of a way to
14688 represent NULL strings. Fixes #165650.
14691 * gst/gstvalue.c (gst_value_array_append_value)
14692 (gst_value_array_prepend_value, gst_value_array_get_size)
14693 (gst_value_array_get_value): New API, copied from
14694 gst_value_list_*, only operates on arrays.
14695 (gst_value_list_append_value, gst_value_list_prepend_value)
14696 (gst_value_list_concat, gst_value_list_get_size)
14697 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14699 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14700 init_list, because it works on both.
14701 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14702 (gst_value_copy_list_or_array): Renamed from copy_list.
14703 (gst_value_free_list_or_array): Renamed from free_list.
14704 (gst_value_collect_list_or_array): Renamed from collect_list.
14705 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14706 (gst_value_list_or_array_peek_pointer): Renamed from
14708 (_gst_value_array_value_table, _gst_value_list_value_table):
14709 Update value table functions.
14710 (gst_value_compare_list_or_array): Renamed from compare_list.
14712 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14715 * gst/gsttaglist.c:
14716 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14717 GstTagList*. Fixes #143472.
14719 * gst/gststructure.h: Clarify what the foreach/map functions can
14720 or can't do to their arguments.
14722 2005-11-18 Wim Taymans <wim@fluendo.com>
14724 * gst/gstclock.c: (gst_clock_set_calibration),
14725 (gst_clock_get_calibration):
14727 Calibration can be set with internal time equal to current
14730 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14736 2005-11-18 Andy Wingo <wingo@pobox.com>
14739 * pkgconfig/gstreamer-net.pc.in:
14740 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14741 * pkgconfig/Makefile.am: Add net pkgconfig files.
14743 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14746 * gst/gstghostpad.c:
14752 2005-11-18 Andy Wingo <wingo@pobox.com>
14754 * gst/net/gstnetclientclock.c: Turn off debugging.
14756 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14757 times connverge somewhat. Can't make a real test.
14759 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14760 integer arithmetic. Return the minimum of the domain, which can be
14761 set as "internal" for gst_clock_set_calibration.
14762 (gst_net_client_clock_observe_times): Call _set_calibration.
14763 (gst_net_client_clock_new): Call _set_calibration instead of
14766 * check/net/gstnetclientclock.c (test_functioning): Use the right
14770 * gst/gstclock.c (gst_clock_get_calibration)
14771 (gst_clock_set_calibration): New functions, obsolete the ones I
14772 added yesterday. Doh. Precision issues mean we have to extrapolate
14773 from a point in the more recent past than 1970.
14774 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14776 (gst_clock_adjust_unlocked): Use the right calibration data.
14778 2005-11-18 Edward Hervey <edward@fluendo.com>
14780 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14781 Also reset the ->current_* values in READY->PAUSED
14783 2005-11-18 Andy Wingo <wingo@pobox.com>
14785 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14786 Whoops, check the right fd. Also add some debugging.
14787 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14788 (do_linear_regression): Add a crapload of debugging. Subtract off
14789 the minimum values from the input series to discard unneeded bits.
14790 Use only int arithmetic. There is still double arithmetic when
14791 calculating the intercept that needs fixing. Return boolean to
14792 indicate success; FALSE would mean the domain or range is too
14793 great. Still needs fixes.
14795 2005-11-18 Wim Taymans <wim@fluendo.com>
14797 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14798 For the current position in stream time, we need to subtract
14801 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14802 Release lock before calling the callback function of async
14805 2005-11-18 Andy Wingo <wingo@pobox.com>
14807 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14808 Port goes all the way to MAXUINT16.
14810 * gst/net/gstnettimeprovider.c: Make the port range the same as
14811 for the kernel: 0 assigns, otherwise ports are less than
14814 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14817 * check/net/gstnetclientclock.c (test_functioning): Add the start
14820 2005-11-18 Wim Taymans <wim@fluendo.com>
14822 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14823 (gst_bin_remove_func), (bin_bus_handler):
14825 Removing a clock provider from a bin, triggers a clock lost message
14826 so that a new clock will be selected.
14827 Adding a clock to a bin triggers a clock provider message.
14828 Make sure we reselect a clock when we received a clock lost message.
14829 Keep a reference to the element that provided the clock.
14831 2005-11-18 Andy Wingo <wingo@pobox.com>
14833 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14834 the clock initially so it produces values around the base time.
14835 (gst_net_client_clock_class_init): Typo fix.
14836 (gst_net_client_clock_thread): Add note on when the socket gets
14839 2005-11-17 Wim Taymans <wim@fluendo.com>
14841 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14842 Free remote and local time arrays.
14844 2005-11-17 Wim Taymans <wim@fluendo.com>
14846 * gst/net/gstnetclientclock.c: (do_linear_regression),
14847 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14848 Fix compilation, uninitialized vars and a forgotten continue.
14850 2005-11-17 Andy Wingo <wingo@pobox.com>
14852 * check/Makefile.am (check_PROGRAMS):
14853 * check/net/gstnetclientclock.c: Add a most minimal test for the
14854 net client clock. More to come later.
14856 * gst/net/gstnet.h:
14857 * gst/net/Makefile.am: Add netclientclock.
14859 * gst/net/gstnetclientclock.h:
14860 * gst/net/gstnetclientclock.c: New files, implement an untested
14861 GstClock that takes its time from a network time provider.
14862 Implements the algorithm in network-clock.scm.
14864 * tests/network-clock.scm (*window-size*): Rename from
14866 * tests/network-clock.scm (network-time):
14867 * tests/network-clock-utils.scm (q-push): Update callers.
14869 2005-11-17 Wim Taymans <wim@fluendo.com>
14871 * gst/gstbin.c: (gst_bin_provide_clock_func),
14872 (gst_bin_sort_iterator_new):
14873 And unref the child too..
14875 2005-11-17 Wim Taymans <wim@fluendo.com>
14877 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14878 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14879 Refactor the sort iterator so it can be used while holding the
14881 Make clock selection select a clock closest to the source.
14883 2005-11-17 Michael Smith <msmith@fluendo.com>
14885 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14886 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14888 Anonymous structs are a gcc (and some other compilers) extension, so
14889 don't use them. Since this is only for ABI-compatibility, and our
14890 API/ABI freeze is over in a few days, this whole thing will only
14891 last a few days, so don't bother trying to think up a meaningful
14892 name for the struct.
14894 2005-11-17 Andy Wingo <wingo@pobox.com>
14896 * gst/gstclock.h (GstClock): Add rate and offset properties,
14897 preserving ABI stability. Add rate/offset accessors. Will file bug
14898 for the freeze break.
14900 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14901 and offset, trying to keep precision and avoiding
14902 underflow/overflow.
14903 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14904 functions. Make gst_clock_set_time_adjust obsolete.
14905 (gst_clock_set_time_adjust): Note that this function is obsolete.
14906 Will file bug soon.
14908 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14909 greppable by using GST_PADDING-1+1.
14911 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14913 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14915 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14916 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14918 * gst/gstpadtemplate.h:
14919 * gst/gstpluginfeature.h:
14920 Don't use c++ style comments in headers (#321638).
14922 2005-11-16 Andy Wingo <wingo@pobox.com>
14924 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14927 * check/net/gstnettimeprovider.c: Check to see that the time
14928 provider actually provides times. Works, yo!
14930 2005-11-16 Wim Taymans <wim@fluendo.com>
14932 * check/Makefile.am:
14935 * check/elements/fakesrc.c: (GST_START_TEST):
14936 Set element to NULL before disposing it.
14938 2005-11-16 Andy Wingo <wingo@pobox.com>
14940 * gst/net/Makefile.am:
14941 * gst/net/gstnet.h:
14942 * gst/net/gstnettimeprovider.c:
14943 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14944 provider, include it from gstnet.h, and add it to the build.
14946 * gst/net/gstnettimepacket.h:
14947 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14948 sending and receiving.
14950 2005-11-16 Wim Taymans <wim@fluendo.com>
14952 * check/Makefile.am:
14953 Enable valgrind check.
14955 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14956 (gst_fake_src_alloc_buffer):
14959 2005-11-16 Wim Taymans <wim@fluendo.com>
14961 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14962 Call parent finalize too.
14964 2005-11-16 Wim Taymans <wim@fluendo.com>
14966 * check/Makefile.am:
14967 Enable valgrind check that should work fine now.
14969 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14970 * gst/gstqueue.c: (gst_queue_init):
14971 Fix memleaks in pad allocation.
14973 2005-11-16 Andy Wingo <wingo@pobox.com>
14975 * gst/net/Makefile.am:
14976 * gst/net/gstnet.h: New part of core to hold network elements and
14977 objects. Put in core because it exposes API that applications want
14978 to use. The library is named libgstnet-tempname right now because
14979 of the existing libgstnet in gst-plugins-base. Solution is
14980 probably to rename the one in plugins-base; will file a bug for
14983 * gst/net/gstnettimeprovider.c:
14984 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14985 get_time call over the network.
14988 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14990 * check/Makefile.am:
14991 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14992 get additions shortly.
14994 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14996 * gst/gstpad.c: (gst_pad_new_from_static_template):
14998 add gst_pad_new_from_static_template functions
14999 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15000 (gst_check_setup_sink_pad):
15001 * gst/elements/gsttee.c: (gst_tee_init):
15004 2005-11-16 Wim Taymans <wim@fluendo.com>
15006 * gst/gstpad.c: (gst_pad_pause_task):
15007 Removed warning, it's not really an error either.
15009 2005-11-16 Wim Taymans <wim@fluendo.com>
15011 * gst/base/gstbasetransform.c:
15012 (gst_base_transform_prepare_output_buf),
15013 (gst_base_transform_event):
15014 Check if the caps are NULL, this can happen if the element
15015 is shutting down and the pad caps are set to NULL.
15017 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15019 * gst/elements/gsttee.c: (gst_tee_init):
15020 fix pad template leak in tee
15022 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15024 * gst/glib-compat.c: (g_value_dup_gst_object):
15025 * gst/glib-compat.h:
15026 * gst/gstpad.c: (gst_pad_set_property):
15027 use gst_object_ref when setting the pad template; this will
15028 trigger the pad template leaks on GLib 2.6 and the slaves
15030 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15032 * gst/glib-compat.c: (gst_flags_get_first_value):
15033 * gst/glib-compat.h:
15034 * gst/gstregistryxml.c:
15035 remove functions copied from GLib 2.6
15037 2005-11-16 Michael Smith <msmith@fluendo.com>
15040 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15041 do, but only breaks with newer valgrind versions. We're not a
15042 valgrind tool, we have no link-time dependencies on libcoregrind.
15044 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15046 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15048 * gst/gstmessage.h:
15051 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15053 * gst/base/gstbasesrc.c: (gst_base_src_init):
15054 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15055 * gst/gstqueue.c: (gst_queue_init):
15056 * gst/gstregistryxml.c: (load_feature):
15057 Revert all these unrefs, they don't even pass make check !
15059 2005-11-15 Johan Dahlin <johan@gnome.org>
15061 * gst/base/gstbasesrc.c: (gst_base_src_init):
15062 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15063 * gst/gstqueue.c: (gst_queue_init):
15064 Free pad templates, fixes a couple of leaks.
15066 2005-11-15 Daniel Fischer <dan at f3c dot com>
15068 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15070 * gst/gstpad.c: (gst_pad_get_property):
15071 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15072 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15075 2005-11-15 Wim Taymans <wim@fluendo.com>
15080 2005-11-15 Andy Wingo <wingo@pobox.com>
15082 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15084 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15085 using GST_CLOCK_TIME_NONE to disable base time management.
15086 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15087 time if it was NONE before.
15088 (gst_pipeline_change_state): Only munge the base time if
15089 stream_time != GST_CLOCK_TIME_NONE.
15091 * check/gst/gstpipeline.c (test_base_time): Punt around the
15092 problem of the probe not being called, because that's not the
15093 issue I'm looking at. Add a check that setting stream_time to NONE
15094 disables base time management.
15096 2005-11-15 Wim Taymans <wim@fluendo.com>
15098 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15099 segment_stop == -1 at startup.
15101 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15102 (gst_base_transform_change_state):
15103 Init segment values at start.
15105 2005-11-15 Wim Taymans <wim@fluendo.com>
15107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15108 0 segment values are 0 in any format.
15110 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15111 * gst/base/gstbasetransform.h:
15112 Parse newsegment correctly in basetransform
15114 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15115 Sync to clock using updated segment values.
15117 2005-11-15 Andy Wingo <wingo@pobox.com>
15119 * check/gst/gstpipeline.c (test_base_time): Add check that the
15120 base time and stream time are reset correctly.
15122 2005-11-15 Wim Taymans <wim@fluendo.com>
15124 * docs/design/part-TODO.txt:
15125 Some more TODO items.
15127 2005-11-15 Andy Wingo <wingo@pobox.com>
15129 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15130 error if the user selected "no clock" as the clocking method.
15132 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15133 timestamps with live capture.
15135 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15136 is 0 but we are a live source, timestamp the buffers using the
15139 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15141 * docs/gst/gstreamer-sections.txt:
15143 * gst/gstghostpad.c:
15148 2005-11-14 Wim Taymans <wim@fluendo.com>
15151 add suppressions from Wim's Debian machine
15153 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15156 add suppressions from Andy's AMD64 Ubuntu machine
15158 2005-11-14 Andy Wingo <wingo@pobox.com>
15160 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15161 STATE_LOCK not necessary. Fixes #311489.
15163 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15166 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15167 this function is not implemented.
15169 2005-11-14 Julien MOUTTE <julien@moutte.net>
15171 * gst/base/gstbasetransform.c:
15172 (gst_base_transform_prepare_output_buf):
15173 Ref the source pad caps while we need them.
15176 2005-11-11 Wim Taymans <wim@fluendo.com>
15178 * docs/gst/gstreamer-sections.txt:
15179 Added some docs for GstCollectData.
15181 * gst/base/gstadapter.c:
15182 Some small code example fix.
15184 * gst/base/gstcollectpads.c:
15185 * gst/base/gstcollectpads.h:
15186 Document some more.
15188 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15190 * configure.ac: back to HEAD
15192 === release 0.9.5 ===
15194 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15197 releasing 0.9.5, "Bike Lunch Day"
15199 2005-11-11 Wim Taymans <wim@fluendo.com>
15201 * gst/gstbuffer.c: (_gst_buffer_copy):
15204 * gst/gstcaps.c: (gst_caps_is_equal):
15206 Make _is_equal fast in the trivial cases.
15208 * gst/gstminiobject.c:
15209 * gst/gstminiobject.h:
15210 More docs. Spifify .h file.
15215 2005-11-11 Wim Taymans <wim@fluendo.com>
15217 * gst/base/gstbasetransform.c:
15218 (gst_base_transform_prepare_output_buf),
15219 (gst_base_transform_handle_buffer):
15221 If we're processing a buffer and need to allocate an output
15222 buffer, we cannot accept a format change. If we did get a
15223 format change, we have to alloc a buffer ourselves of the
15226 2005-11-11 Wim Taymans <wim@fluendo.com>
15228 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15229 While checking the flag for reentrancy in the gstcaps function
15230 is nice to detect recursive invocations, it also makes it
15231 impossible to call getcaps from multiple threads, which must be
15232 possible. So, checking for recursive calls has to go.
15234 2005-11-11 Michael Smith <msmith@fluendo.com>
15236 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15237 Don't sync on buffers that fall partially outside our current
15238 segment. Prevents an assertion failure/abort playing some files.
15240 2005-11-10 Andy Wingo <wingo@pobox.com>
15242 * check/gst/gstbin.c (test_message_state_changed_children): Style
15245 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15246 gst_bus_poll with the signal watch. Ensures that poll and a signal
15247 watch see the same messages.
15249 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15250 a poll and a watch at the same time get the same messages.
15252 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15254 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15255 * gst/gstcaps.c: (gst_caps_intersect):
15256 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15257 and it's not needed.
15259 2005-11-10 Wim Taymans <wim@fluendo.com>
15261 * docs/design/part-TODO.txt:
15264 2005-11-10 Wim Taymans <wim@fluendo.com>
15266 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15267 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15268 (gst_base_src_do_sync), (gst_base_src_get_range):
15269 Implement clock sync in base class.
15271 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15273 patch by: Tim-Philipp Müller <tim at centricular dot net>
15275 * gst/gststructure.c: (gst_structure_parse_field),
15276 (gst_structure_from_string):
15277 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15278 so that gst_parse_launch() can deal with spaces in filtered link
15279 caps (fixes #164479)
15280 * check/gst/capslist.h:
15281 * check/gst/gststructure.c: (GST_START_TEST):
15282 add unit tests for this change
15284 2005-11-10 Wim Taymans <wim@fluendo.com>
15286 * docs/gst/gstreamer-sections.txt:
15287 * gst/gstelement.c:
15288 * gst/gstelement.h:
15289 Fix docs, move some STATE macros to private.
15291 2005-11-10 Wim Taymans <wim@fluendo.com>
15293 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15294 Added check for bug #317341
15298 Some more spiffifying.
15300 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15301 Call peer linkfunction if we are a source pad. Totally fixes
15305 Update docs, source pads should call the peer linkfunction
15306 so they can atomically perform the pad link.
15308 2005-11-09 Wim Taymans <wim@fluendo.com>
15312 Uber-spiffy-spiffify some more.
15314 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15316 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15317 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15318 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15319 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15320 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15321 * gst/gstpad.c: (gst_pad_init):
15322 Use GST_DEBUG_FUNCPTR() more extensively.
15324 2005-11-09 Wim Taymans <wim@fluendo.com>
15326 * gst/gstobject.c: (gst_object_class_init):
15328 Documentation fixes.
15330 2005-11-09 Edward Hervey <edward@fluendo.com>
15332 * gst/gsttypefindfactory.c:
15335 2005-11-09 Edward Hervey <edward@fluendo.com>
15337 * gst/base/gsttypefindhelper.c:
15338 * gst/gsttypefind.c:
15339 * gst/gsttypefind.h:
15342 2005-11-09 Wim Taymans <wim@fluendo.com>
15344 * gst/gstiterator.c:
15351 2005-11-09 Wim Taymans <wim@fluendo.com>
15357 2005-11-09 Wim Taymans <wim@fluendo.com>
15359 * docs/gst/gstreamer-sections.txt:
15360 Moved the message async delivery private lock and cond
15361 to the private section.
15363 * gst/gstmessage.c:
15364 * gst/gstmessage.h:
15367 2005-11-09 Edward Hervey <edward@fluendo.com>
15369 * docs/gst/gstreamer-sections.txt:
15372 Document GstURIHandler
15374 2005-11-09 Wim Taymans <wim@fluendo.com>
15376 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15377 (gst_iterator_find_custom):
15378 * gst/gstiterator.h:
15381 2005-11-09 Wim Taymans <wim@fluendo.com>
15384 Document another field.
15386 * gst/gststructure.c:
15387 * gst/gststructure.h:
15390 2005-11-09 Wim Taymans <wim@fluendo.com>
15393 Documented structs.
15395 2005-11-09 Wim Taymans <wim@fluendo.com>
15397 * docs/gst/gstreamer-sections.txt:
15398 Added some new macros.
15405 2005-11-09 Wim Taymans <wim@fluendo.com>
15407 * docs/design/part-TODO.txt:
15408 Some more items for the TODO
15414 2005-11-09 Andy Wingo <wingo@pobox.com>
15416 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15417 to work on something else now tho...
15419 * gst/base/gstadapter.c: More adapter docs.
15421 * gst/elements/gstfilesink.c (gst_file_sink_start)
15422 (gst_file_sink_stop): New functions, replace the state change
15424 (gst_file_sink_class_init): Hook up the start and stop functions.
15425 (gst_file_sink_base_init): Don't set the state change handler any
15426 more. It was a bit ugly too, being set from here...
15427 (gst_file_sink_get_property, gst_file_sink_set_property):
15429 (gst_file_sink_set_location): More robust check that doesn't call
15430 GST_STATE. Ugggggg.
15432 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15434 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15435 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15437 2005-11-08 Wim Taymans <wim@fluendo.com>
15439 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15440 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15441 (gst_base_sink_chain), (gst_base_sink_change_state):
15442 * gst/base/gstbasesink.h:
15443 * gst/base/gstbasesrc.h:
15444 * gst/gstelement.h:
15446 Avoid excessive typechecking in macros.
15448 * gst/gstminiobject.c: (gst_mini_object_get_type),
15449 (gst_mini_object_init), (gst_mini_object_new),
15450 (gst_mini_object_free):
15451 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15452 (gst_object_finalize):
15453 Remove cruft code, optimize alloc_trace.
15455 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15457 * docs/faq/gst-uninstalled:
15458 fix up PS1 for systems that try to reset it
15460 2005-11-07 Wim Taymans <wim@fluendo.com>
15462 * gst/base/gstbasesrc.c: (gst_base_src_init),
15463 (gst_base_src_get_range):
15464 Set the segment_end to -1 initially. Fixed typefind.
15466 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15468 * gst/base/gstadapter.c:
15469 Debug category should be 'adapter', not 'GstAdapter'.
15471 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15472 (gst_collectpads_class_init), (gst_collectpads_init),
15473 (gst_collectpads_peek), (gst_collectpads_pop),
15474 (gst_collectpads_event), (gst_collectpads_chain):
15475 Add debug category and some debugging output. Use boilerplate
15476 macros. Remove some extraneous words from docs.
15478 2005-11-05 Andy Wingo <wingo@pobox.com>
15480 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15483 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15485 * docs/gst/gstreamer-sections.txt:
15488 * gst/gstminiobject.h:
15493 2005-11-04 Wim Taymans <wim@fluendo.com>
15495 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15496 Small update to stop at the configured segment_end
15499 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15501 * gst/gstregistry.c:
15502 * gst/gstregistry.h:
15505 2005-11-04 Edward Hervey <edward@fluendo.com>
15507 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15508 Check if we are doing a segment seek and have arrived at the
15509 end of that segment.
15511 2005-11-04 Wim Taymans <wim@fluendo.com>
15513 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15514 Don't leak a mutex unlock in case of an error.
15519 2005-11-04 Wim Taymans <wim@fluendo.com>
15521 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15523 Get the context to wake up only once.
15525 2005-11-03 Wim Taymans <wim@fluendo.com>
15527 * check/states/sinks.c: (GST_START_TEST):
15528 Uncomment fixed check.
15530 * docs/design/part-TODO.txt:
15533 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15534 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15535 (gst_base_sink_get_position):
15536 If we are going to PLAYING, post the right pending state
15537 when we post the intermediate paused message.
15539 * gst/gstelement.c: (gst_element_continue_state),
15540 (gst_element_set_state_func), (gst_element_change_state):
15541 Don't post state changes that were between the same state
15542 and were not ASYNC.
15544 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15546 * docs/gst/gstreamer-sections.txt:
15549 * gst/gstminiobject.h:
15552 more docs and doc style fixes
15554 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15556 * docs/gst/gstreamer-sections.txt:
15557 * gst/gstelement.c:
15558 * gst/gstminiobject.c:
15561 2005-11-03 Andy Wingo <wingo@pobox.com>
15563 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15564 state-changed messages actually have the right order and the right
15567 2005-11-03 Wim Taymans <wim@fluendo.com>
15569 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15570 Added some more checks. Specifically the case where NO_PREROLL
15571 elements are in the pipeline.
15573 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15574 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15575 (gst_base_sink_get_position):
15576 Post READY->PAUSED state change messages too.
15577 Fix bug where VOID was posted as pending state...
15579 * gst/gstbin.c: (gst_bin_recalc_state):
15580 use _element_continue_state() to continue the state change.
15582 * gst/gstelement.c: (gst_element_continue_state),
15583 (gst_element_commit_state), (gst_element_set_state_func),
15584 (gst_element_change_state), (gst_element_change_state_func):
15585 Lots of state change cleanups, assign the STATE_RETURN in
15586 a new continue_state() function that also propagates the
15587 last return value from a state change to the app.
15588 Update some debug statements with proper category.
15590 2005-11-03 Wim Taymans <wim@fluendo.com>
15592 * docs/design/part-events.txt:
15593 * docs/design/part-gstpipeline.txt:
15594 * docs/design/part-messages.txt:
15595 * docs/design/part-overview.txt:
15596 * docs/design/part-seeking.txt:
15597 * docs/design/part-states.txt:
15598 * docs/design/part-trickmodes.txt:
15599 * docs/manual/advanced-position.xml:
15600 Small docs updates.
15603 People think !! is ugly, this looks better.
15605 * gst/gstpad.c: (gst_pad_set_blocked_async):
15606 Remove !! since it's fixed elsewhere now.
15608 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15610 * gst/gstminiobject.h:
15612 Add !! to _FLAG_IS_SET macros to make the result boolean.
15614 2005-11-03 Edward Hervey <edward@fluendo.com>
15616 * gst/gstpad.c: (gst_pad_set_blocked_async):
15617 comparing a flag and a gboolean rarely returns coherent results...
15618 Added two characters (!!) to make that work correctly.
15620 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15622 * gst/gstbus.c: (gst_bus_class_init):
15625 * gst/gstqueue.c: (gst_queue_loop):
15626 Don't assume a miniobject that isn't a buffer is an
15627 event (it could be that there is a refcounting
15628 problem somewhere and the pointer is stale and
15629 refers to an already destroyed miniobject).
15631 2005-11-03 Julien MOUTTE <julien@moutte.net>
15633 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15635 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15637 * docs/manual/advanced-position.xml:
15638 Update seek example and explanations to current 0.9 API.
15640 * gst/elements/gsttypefindelement.c:
15641 (gst_type_find_element_activate):
15642 Remove FIXME comment now that the found caps
15645 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15647 * gst/gstregistryxml.c: (load_feature):
15648 Add another GST_STR_NULL instance
15650 2005-11-02 Edward Hervey <edward@fluendo.com>
15652 * gst/gstpad.c: (handle_pad_block):
15653 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15655 2005-11-02 Wim Taymans <wim@fluendo.com>
15660 * gst/gstelement.c: (gst_element_commit_state):
15661 Remove unused value.
15663 * gst/gstiterator.c:
15664 Mention that the returned element is reffed in the docs.
15666 2005-11-02 Wim Taymans <wim@fluendo.com>
15668 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15669 (gst_pad_push), (gst_pad_push_event):
15670 Unlock blocked pads when they are flushed.
15672 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15675 * docs/gst/gstreamer-sections.txt:
15678 * gst/gstregistry.c: (gst_registry_scan_path_level):
15679 fix for a nasty little missed situation where an installed plug-in
15680 which was in the cache did not get overridden by an uninstalled one
15681 which was earlier in the plugin path because the newly created plugin
15682 for the uninstalled one (not in the registry) didn't get its
15683 ->registered set to TRUE
15685 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15687 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15688 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15689 (gst_collectpads_is_active), (gst_collectpads_collect),
15690 (gst_collectpads_collect_range), (gst_collectpads_start),
15691 (gst_collectpads_stop), (gst_collectpads_peek),
15692 (gst_collectpads_pop), (gst_collectpads_available),
15693 (gst_collectpads_read), (gst_collectpads_flush):
15694 Guard public API with assertions.
15697 Fix docs for gst_pad_set_link_function().
15699 2005-11-02 Johan Dahlin <johan@gnome.org>
15701 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15702 Unref found_caps after we used it.
15704 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15706 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15707 Don't try to ref NULL.
15709 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15711 * win32/common/config.h.in:
15712 provide a GST_FUNCTION that just gives a string for now
15714 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15716 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15717 (gst_object_flags_get_type), (register_gst_bin_flags),
15718 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15719 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15720 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15721 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15722 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15723 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15724 (gst_clock_flags_get_type), (register_gst_state),
15725 (gst_state_get_type), (register_gst_state_change_return),
15726 (gst_state_change_return_get_type), (register_gst_state_change),
15727 (gst_state_change_get_type), (register_gst_element_flags),
15728 (gst_element_flags_get_type), (register_gst_core_error),
15729 (gst_core_error_get_type), (register_gst_library_error),
15730 (gst_library_error_get_type), (register_gst_resource_error),
15731 (gst_resource_error_get_type), (register_gst_stream_error),
15732 (gst_stream_error_get_type), (register_gst_event_type),
15733 (gst_event_type_get_type), (register_gst_seek_type),
15734 (gst_seek_type_get_type), (register_gst_seek_flags),
15735 (gst_seek_flags_get_type), (register_gst_format),
15736 (gst_format_get_type), (register_gst_index_certainty),
15737 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15738 (gst_index_entry_type_get_type),
15739 (register_gst_index_lookup_method),
15740 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15741 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15742 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15743 (gst_index_flags_get_type), (register_gst_debug_level),
15744 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15745 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15746 (gst_iterator_result_get_type), (register_gst_iterator_item),
15747 (gst_iterator_item_get_type), (register_gst_message_type),
15748 (gst_message_type_get_type), (register_gst_mini_object_flags),
15749 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15750 (gst_pad_link_return_get_type), (register_gst_flow_return),
15751 (gst_flow_return_get_type), (register_gst_activate_mode),
15752 (gst_activate_mode_get_type), (register_gst_pad_direction),
15753 (gst_pad_direction_get_type), (register_gst_pad_flags),
15754 (gst_pad_flags_get_type), (register_gst_pad_presence),
15755 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15756 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15757 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15758 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15759 (gst_plugin_flags_get_type), (register_gst_rank),
15760 (gst_rank_get_type), (register_gst_query_type),
15761 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15762 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15763 (gst_tag_flag_get_type), (register_gst_task_state),
15764 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15765 (gst_alloc_trace_flags_get_type),
15766 (register_gst_type_find_probability),
15767 (gst_type_find_probability_get_type), (register_gst_uri_type),
15768 (gst_uri_type_get_type), (register_gst_parse_error),
15769 (gst_parse_error_get_type):
15770 * win32/common/gstversion.h:
15771 update win32 copies
15773 2005-11-01 Luca Ognibene <luogni@tin.it>
15776 fix docs. popt is dead, long live GOption.
15778 2005-10-31 Wim Taymans <wim@fluendo.com>
15783 2005-10-31 Andy Wingo <wingo@pobox.com>
15787 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15789 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15790 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15791 the possibility of deadlocks here if code calling notify() or
15792 set() has a lock that can be taken in another notify handler (ABBA
15793 with class lock and e.g. python GIL state lock).
15795 2005-10-28 Julien MOUTTE <julien@moutte.net>
15797 * gst/gstbus.c: Doc updates.
15799 2005-10-28 Wim Taymans <wim@fluendo.com>
15801 * docs/design/part-TODO.txt:
15802 * gst/gstiterator.c:
15803 * gst/gstsystemclock.c:
15804 * gst/gstsystemclock.h:
15807 2005-10-28 Edward Hervey <edward@fluendo.com>
15809 * docs/gst/gstreamer-docs.sgml:
15810 * docs/gst/gstreamer-sections.txt:
15811 the GstURIType documentation page is private, it only defines GstURIType
15812 which should be defined in the GstURIHandler page
15814 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15816 * gst/gstbin.c: (gst_bin_class_init):
15819 Documentation updates.
15821 2005-10-28 Wim Taymans <wim@fluendo.com>
15823 * docs/gst/gstreamer-sections.txt:
15826 Documented the clocks.
15828 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15830 * docs/gst/gstreamer-sections.txt:
15831 move some macros to private sections
15832 * gst/gstminiobject.c:
15833 * gst/gstminiobject.h:
15834 add descriptions provided by ds and some more
15836 mark macro as to be removed
15838 2005-10-28 Wim Taymans <wim@fluendo.com>
15840 * docs/design/part-TODO.txt:
15841 Add an item to TODO.
15843 * gst/gstiterator.c: (gst_iterator_fold),
15844 (gst_iterator_find_custom):
15845 * gst/gstiterator.h:
15848 2005-10-28 Wim Taymans <wim@fluendo.com>
15850 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15851 (gst_base_transform_init):
15854 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15855 An EOS event marks the queue as completely filled.
15857 2005-10-27 Wim Taymans <wim@fluendo.com>
15859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15860 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15861 Some more debugging.
15863 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15864 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15865 (gst_base_transform_event), (gst_base_transform_getrange),
15866 (gst_base_transform_chain):
15867 * gst/base/gstbasetransform.h:
15869 Protect transform and concurrent buffer alloc with a new lock.
15870 Try not to break ABI/API.
15872 2005-10-27 Wim Taymans <wim@fluendo.com>
15874 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15875 (gst_base_src_init), (gst_base_src_query),
15876 (gst_base_src_default_newsegment),
15877 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15878 (gst_base_src_send_event), (gst_base_src_event_handler),
15879 (gst_base_src_pad_get_range), (gst_base_src_loop),
15880 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15881 (gst_base_src_start), (gst_base_src_deactivate),
15882 (gst_base_src_activate_push), (gst_base_src_change_state):
15883 Move some stuff around and cleanup things.
15885 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15887 * gst/base/gstbasesrc.c: (gst_base_src_query):
15888 Add missing break statements.
15890 2005-10-27 Wim Taymans <wim@fluendo.com>
15892 * check/gst/gstbin.c: (GST_START_TEST):
15893 An extra refcount is taken in basesrc.
15895 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15896 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15897 (gst_base_src_loop):
15898 Small cleanups, check for flushing after being unlocked from the
15899 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15900 Don't send out EOS when going to READY.
15902 2005-10-27 Wim Taymans <wim@fluendo.com>
15904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15905 (gst_base_sink_get_position):
15908 * gst/gstbin.c: (message_check), (bin_replace_message),
15909 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15910 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15911 (bin_query_duration_init), (bin_query_duration_fold),
15912 (bin_query_duration_done), (bin_query_generic_fold),
15914 * tools/gst-launch.c: (main):
15917 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15919 * examples/controller/audio-example.c: (main):
15920 * examples/queue/queue.c: (event_loop):
15921 * gst/base/gstbasetransform.h:
15922 * gst/gstelement.c: (gst_element_send_event):
15924 * gst/gstpad.c: (gst_pad_send_event):
15927 changing log priority in error situations
15929 2005-10-25 Wim Taymans <wim@fluendo.com>
15931 * gst/gstbin.c: (message_check), (bin_replace_message),
15932 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15933 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15934 (bin_query_duration_init), (bin_query_duration_fold),
15935 (bin_query_duration_done), (bin_query_generic_fold),
15937 Some doc and debug updates.
15938 Cache previously requested query DURATION for speed. invalidate
15939 cached duration if element posts a DURATION message.
15941 2005-10-25 Wim Taymans <wim@fluendo.com>
15943 * docs/design/part-TODO.txt:
15946 * gst/gstbin.c: (message_check), (bin_replace_message),
15947 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15948 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15949 (bin_query_duration_init), (bin_query_duration_fold),
15950 (bin_query_duration_done), (bin_query_generic_fold),
15952 Handle SEGMENT_START/DONE messages correctly.
15953 More evolved query algorithm that handles duration queries
15956 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15957 (gst_element_get_state_func), (gst_element_abort_state),
15958 (gst_element_commit_state), (gst_element_lost_state):
15959 Some more debugging.
15961 * gst/gstmessage.h:
15964 2005-10-25 Wim Taymans <wim@fluendo.com>
15966 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15967 Don't use invalid stream_time.
15969 * gst/gstevent.c: (gst_event_new_newsegment):
15970 stream_time in newsegment cannot be undefined.
15972 2005-10-24 Wim Taymans <wim@fluendo.com>
15977 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15979 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15981 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15983 * docs/libs/tmpl/gstdparam.sgml:
15984 * docs/libs/tmpl/gstdplinint.sgml:
15985 * docs/libs/tmpl/gstdpman.sgml:
15986 * docs/libs/tmpl/gstdpsmooth.sgml:
15987 * docs/libs/tmpl/gstunitconvert.sgml:
15990 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15995 === release 0.9.4 ===
15997 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16000 releasing 0.9.4, "Tyrannosaurus Rex"
16002 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16004 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16005 (gst_file_sink_get_current_offset):
16006 Use fseeko() and ftello() if available. When falling back on
16007 lseek() to get the current offset, fflush() first to make sure
16008 everything is up-to-date and we get the right offset.
16010 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16013 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16014 * gst/gsterror.c: (_gst_stream_errors_init):
16016 * gst/gstqueue.c: (gst_queue_loop):
16018 remove prematurely added error category and clean up the instances
16020 2005-10-21 Wim Taymans <wim@fluendo.com>
16022 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16023 (gst_base_sink_get_position), (gst_base_sink_query),
16024 (gst_base_sink_change_state):
16025 Simply set the right flag when going to playing, that's all
16026 we need to do instead of calling a function inside the object
16027 lock (that could take the lock as well and deadlock)
16029 2005-10-21 Wim Taymans <wim@fluendo.com>
16031 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16032 (gst_base_src_loop):
16033 Don't warn, the peer element knows what to do best when
16034 the seek failed, it might try something else.
16036 2005-10-21 Wim Taymans <wim@fluendo.com>
16038 * gst/base/gstbasesrc.c: (gst_base_src_init),
16039 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16042 2005-10-21 Wim Taymans <wim@fluendo.com>
16044 * docs/design/part-segments.txt:
16047 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16048 Correctly set caps, even on the subbufer.
16050 2005-10-21 Wim Taymans <wim@fluendo.com>
16052 * docs/gst/gstreamer-docs.sgml:
16053 * docs/gst/gstreamer-sections.txt:
16054 * gst/gstelement.h:
16057 * gst/gstmessage.h:
16060 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16064 And 2% more doc coverage.
16066 2005-10-21 Andy Wingo <wingo@pobox.com>
16068 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16069 position reporting.
16071 2005-10-20 Wim Taymans <wim@fluendo.com>
16073 * gst/gsterror.c: (gst_error_get_message):
16076 * gst/gststructure.c:
16081 2005-10-20 Wim Taymans <wim@fluendo.com>
16086 Another 1% more coverage.
16088 2005-10-20 Wim Taymans <wim@fluendo.com>
16090 * docs/gst/gstreamer-sections.txt:
16091 * gst/gstelement.c: (gst_element_get_state_func),
16092 (gst_element_abort_state), (gst_element_commit_state),
16093 (gst_element_lost_state):
16095 * gst/gstquery.c: (gst_query_set_position),
16096 (gst_query_parse_position), (gst_query_set_duration),
16097 (gst_query_parse_duration), (gst_query_new_convert):
16099 Yay! 1% more docs coverage.
16101 2005-10-20 Wim Taymans <wim@fluendo.com>
16104 * gst/gstquery.c: (gst_query_set_position),
16105 (gst_query_parse_position), (gst_query_set_duration),
16106 (gst_query_parse_duration), (gst_query_new_convert):
16108 * gst/gstutils.c: (gst_element_query_convert):
16110 Docs and consistency fixes.
16112 2005-10-20 Wim Taymans <wim@fluendo.com>
16118 2005-10-20 Wim Taymans <wim@fluendo.com>
16120 * gst/gstbin.c: (message_check), (bin_replace_message),
16121 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16122 (update_degree), (gst_bin_sort_iterator_next),
16123 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16124 Reworked the message handling a bit, cache the messages instead of
16125 only the senders. alows us to do more in the future.
16127 2005-10-20 Wim Taymans <wim@fluendo.com>
16129 * docs/design/part-TODO.txt:
16132 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16133 (gst_base_sink_query):
16134 Don't use clock time to report position when in EOS.
16136 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16138 * tools/gst-inspect.c: (print_interfaces),
16139 (print_element_properties_info), (print_element_info):
16140 Fix interface output with gst-inspect -a; don't print
16141 newlines after double/float properties.
16143 2005-10-20 Wim Taymans <wim@fluendo.com>
16145 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16146 (gst_base_sink_query):
16147 Speed up current position calculation.
16149 * gst/base/gstbasesrc.c: (gst_base_src_query),
16150 (gst_base_src_default_newsegment):
16151 Correctly set stream position in newsegment.
16153 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16154 (update_degree), (gst_bin_sort_iterator_next),
16155 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16156 * gst/gstmessage.c: (gst_message_new_custom):
16157 Clean up debugging info
16159 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16160 (gst_queue_loop), (gst_queue_handle_src_query):
16163 2005-10-19 Wim Taymans <wim@fluendo.com>
16165 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16166 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16167 Fix query handling again.
16169 2005-10-19 Wim Taymans <wim@fluendo.com>
16171 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16172 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16173 * gst/base/gstbasesrc.c: (gst_base_src_query):
16174 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16175 * gst/elements/gsttypefindelement.c:
16176 (gst_type_find_handle_src_query), (find_element_get_length),
16177 (gst_type_find_element_activate):
16180 * gst/gstquery.c: (gst_query_new_position),
16181 (gst_query_set_position), (gst_query_parse_position),
16182 (gst_query_new_duration), (gst_query_set_duration),
16183 (gst_query_parse_duration), (gst_query_set_segment),
16184 (gst_query_parse_segment):
16186 Bundling query position/duration is not a good idea since duration
16187 does not change much and we don't want to recalculate it for every
16188 position query, so they are separated again..
16189 Base value in segment query is not needed.
16191 * gst/gstqueue.c: (gst_queue_handle_src_query):
16192 * gst/gstutils.c: (gst_element_query_position),
16193 (gst_element_query_duration), (gst_pad_query_position),
16194 (gst_pad_query_duration):
16196 Updates for query API change.
16197 Added some docs here and there.
16199 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16201 * check/gst/gstbin.c: (GST_START_TEST):
16202 * check/gst/gstghostpad.c: (GST_START_TEST):
16203 * check/pipelines/cleanup.c: (GST_START_TEST):
16204 wait on thread to die so we can check refcount correctly
16206 2005-10-18 Wim Taymans <wim@fluendo.com>
16208 * check/pipelines/stress.c: (GST_START_TEST):
16209 Make check a little more time consuming.
16211 2005-10-18 Wim Taymans <wim@fluendo.com>
16213 * check/Makefile.am:
16214 * check/pipelines/stress.c: (GST_START_TEST),
16215 (simple_launch_lines_suite), (main):
16216 Small state change torture test.
16218 * docs/design/part-states.txt:
16219 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16220 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16221 (gst_base_sink_change_state):
16222 Never take state lock from streaming thread, clean up ugly
16223 hacks. Unfortunatly core does not yet support nice ways to
16224 async commit state.
16226 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16228 Start state recalc if a STATE_DIRTY message is posted, but only
16229 on the toplevel bin.
16231 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16232 (gst_element_get_state_func), (gst_element_abort_state),
16233 (gst_element_commit_state), (gst_element_lost_state),
16234 (gst_element_set_state_func), (gst_element_change_state):
16235 * gst/gstelement.h:
16236 State variables are now protected with the LOCK, the state
16237 lock is only used to serialize _set_state().
16239 2005-10-18 Wim Taymans <wim@fluendo.com>
16241 * check/gst/gstbin.c: (GST_START_TEST):
16242 * check/gst/gstmessage.c: (GST_START_TEST):
16243 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16244 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16246 * gst/gstelement.c: (gst_element_abort_state),
16247 (gst_element_commit_state), (gst_element_lost_state):
16248 * gst/gstmessage.c: (gst_message_new_state_changed),
16249 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16250 (gst_message_new_segment_done), (gst_message_new_duration),
16251 (gst_message_parse_state_changed),
16252 (gst_message_parse_segment_start),
16253 (gst_message_parse_segment_done), (gst_message_parse_duration):
16254 * gst/gstmessage.h:
16255 * tools/gst-launch.c: (event_loop):
16256 Seriously, this is better than a previous commit as we only need
16257 to notify the fact that an element changed state in a streaming
16258 thread, marking the state of the parents dirty, hence the
16259 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16262 2005-10-18 Wim Taymans <wim@fluendo.com>
16264 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16265 (gst_bin_recalc_func):
16266 * gst/gstelement.c: (gst_element_set_clock),
16267 (gst_element_abort_state), (gst_element_lost_state):
16268 Cleanups, prepare for state change fixes.
16270 2005-10-18 Wim Taymans <wim@fluendo.com>
16273 * gst/gstelement.c: (gst_element_class_init),
16274 (gst_element_set_state), (gst_element_set_state_func):
16275 * gst/gstelement.h:
16276 Pending ABI changes.
16277 GThreadPool in GstBinClass to monitor async state changes.
16278 state_cookie in GstElement to detect concurrent gst/set state.
16279 set_state is now virtual too in case a very complicated element
16280 has to be constructed.
16282 2005-10-18 Wim Taymans <wim@fluendo.com>
16284 * check/gst/gstbin.c: (GST_START_TEST):
16285 * check/gst/gstmessage.c: (GST_START_TEST):
16286 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16287 * gst/gstbin.c: (bin_bus_handler):
16288 * gst/gstelement.c: (gst_element_commit_state),
16289 (gst_element_lost_state):
16290 * gst/gstmessage.c: (gst_message_new_state_changed),
16291 (gst_message_new_segment_start), (gst_message_new_segment_done),
16292 (gst_message_new_duration), (gst_message_parse_state_changed),
16293 (gst_message_parse_segment_start),
16294 (gst_message_parse_segment_done), (gst_message_parse_duration):
16295 * gst/gstmessage.h:
16296 * tools/gst-launch.c: (event_loop):
16297 Make messages future proof.
16298 state-change gets a flag if it was a message comming from the
16300 segment-start/stop can also be specified in other formats.
16301 A message to notify an app that a pipeline changed playback
16303 Also fix a GstMessage leak in -launch
16305 2005-10-18 Andy Wingo <wingo@pobox.com>
16307 * gst/gstelement.c (gst_element_dispose): More helpful message.
16309 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16311 reviewed by: <delete if not using a buddy>
16313 * common/gtk-doc.mak:
16315 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16317 * gst/gstregistry.c: (gst_registry_scan_path_level):
16318 unref a plug-in we get that was already initialized
16320 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16322 * docs/gst/gstreamer-sections.txt:
16323 * docs/libs/gstreamer-libs-sections.txt:
16324 * gst/gstelement.h:
16325 add new api entries
16326 hide internal macro
16328 2005-10-17 Andy Wingo <wingo@pobox.com>
16330 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16333 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16335 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16337 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16338 (gst_element_get_state_func): Better debug message.
16339 (gst_element_commit_state): s/INFO/DEBUG/.
16340 (gst_element_lost_state, gst_element_change_state):
16342 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16343 (gst_message_new_custom): s/INFO/LOG/.
16345 2005-10-17 Michael Smith <msmith@fluendo.com>
16347 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16348 Check if end time is valid using end time, not start time.
16350 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16352 * check/gst-libs/controller.c: (GST_START_TEST),
16353 (gst_controller_suite):
16354 * libs/gst/controller/gstcontroller.c:
16355 (gst_controlled_property_set_interpolation_mode):
16356 * libs/gst/controller/gstcontroller.h:
16357 * libs/gst/controller/gstinterpolation.c:
16358 * testsuite/controller/.cvsignore:
16359 * testsuite/controller/Makefile.am:
16360 * testsuite/controller/interpolator.c:
16361 merge controller testsuites
16363 remove mem-chunk from docs
16365 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16367 * gst/gstmemchunk.c:
16368 * gst/gstmemchunk.h:
16369 * gst/gsttrashstack.c:
16370 * gst/gsttrashstack.h:
16371 out. get out. you're fired. to the Attic !
16373 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16375 * gst/gstcaps.c: (gst_caps_intersect):
16376 fix signedness issues in a (hopefully) correct way
16377 * gst/gstelement.c: (gst_element_pads_activate):
16379 * gst/gstobject.c: (gst_object_set_parent):
16382 2005-10-17 Julien MOUTTE <julien@moutte.net>
16384 * gst/gstvalue.h: Fix prototypes.
16386 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16388 * docs/gst/gstreamer-sections.txt:
16389 * gst/gst.c: (gst_version_string):
16391 * gst/gstversion.h.in:
16392 * win32/common/libgstreamer.def:
16393 add gst_version_string ()
16395 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16399 * gst/gst.c: (init_post):
16400 * win32/common/config.h.in:
16402 * gst/gstcaps.c: (gst_caps_intersect):
16403 use gint64, the range could be bigger than a guint
16405 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16408 document potential problem in 2038
16410 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16412 * gst/gstcaps.c: (gst_caps_intersect):
16413 Fix guint j diving under 0
16415 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16418 * win32/common/config.h:
16419 * win32/common/config.h.in:
16420 check for process.h, declares getpid() on Windows
16422 include process.h if we have it
16423 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16424 * gst/gstmemchunk.h:
16425 fix signedness issues
16426 * win32/common/libgstreamer.def:
16429 2005-10-16 Julien MOUTTE <julien@moutte.net>
16431 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16432 fix. Because of unsigned ints, caps intersection was going nuts and
16433 trying to access structures with G_MAXUINT index. That fixes
16434 videotestsrc ! ffmpegcolorspace ! fakesink
16435 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16438 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16441 use the gettext macro
16442 * gst/elements/gstelements.c:
16444 * gst/indexers/gstindexers.c:
16445 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16446 * win32/common/config.h:
16448 * win32/common/config.h.in:
16449 add the template to generate config.h
16450 * win32/common/gstenumtypes.c:
16451 * win32/common/gstversion.h:
16454 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16456 * gst/gst.c: (gst_version):
16457 * gst/gstversion.h.in:
16460 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16463 Oops, add missing closing bracket.
16465 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16468 use common m4's for argument checking
16470 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16472 * docs/gst/gstreamer-sections.txt:
16474 Add GST_EVENT_TYPE_NAME() macro.
16476 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16479 * gst/gstpluginfeature.c:
16481 privatize more symbols
16483 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16486 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16487 everything that uses GStreamer API should have the includes
16489 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16491 * docs/gst/gstreamer-sections.txt:
16492 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16494 give each value a _get_type, removes the DATA exports
16496 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16500 remove _gst_registry_auto_load, not used anymore
16501 * gst/gstbin.c: (gst_bin_get_type):
16503 * gst/gstelement.c: (gst_element_get_type):
16504 * gst/gstelement.h:
16505 * gst/gstobject.c: (gst_object_get_type):
16507 * gst/gstpad.c: (gst_pad_get_type):
16509 make _get_type functions similar, fixes data export from library
16511 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16514 correctly make conditionals
16515 * gst/elements/Makefile.am:
16516 * gst/elements/gstelements.c:
16517 fix typo causing fdsrc not to build
16519 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16521 * testsuite/Makefile.am:
16522 * testsuite/bytestream/.cvsignore:
16523 * testsuite/bytestream/Makefile.am:
16524 * testsuite/bytestream/filepadsink.c:
16525 * testsuite/bytestream/gstbstest.c:
16526 * testsuite/bytestream/test1.c:
16527 * testsuite/bytestream/testfile1:
16528 * testsuite/caps/normalisation.c:
16529 * testsuite/caps/random.c: (main):
16530 * testsuite/cleanup/.cvsignore:
16531 * testsuite/cleanup/Makefile.am:
16532 * testsuite/cleanup/cleanup1.c:
16533 * testsuite/cleanup/cleanup2.c:
16534 * testsuite/cleanup/cleanup3.c:
16535 * testsuite/cleanup/cleanup4.c:
16536 * testsuite/cleanup/cleanup5.c:
16537 * testsuite/controller/interpolator.c:
16538 * testsuite/debug/printf_extension.c: (main):
16539 * testsuite/elements/tee.c:
16540 * testsuite/negotiation/.cvsignore:
16541 * testsuite/negotiation/Makefile.am:
16542 * testsuite/negotiation/pad_link.c:
16543 * testsuite/pad/Makefile.am:
16544 * testsuite/pad/chainnopull.c:
16545 * testsuite/pad/getnopush.c:
16546 * testsuite/pad/link.c:
16547 * testsuite/refcounting/sched.c: (create_pipeline):
16548 * testsuite/registry/Makefile.am:
16549 * testsuite/registry/gst-print-formats.c:
16550 * testsuite/schedulers/.cvsignore:
16551 * testsuite/schedulers/142183-2.c:
16552 * testsuite/schedulers/142183.c:
16553 * testsuite/schedulers/143777-2.c:
16554 * testsuite/schedulers/143777.c:
16555 * testsuite/schedulers/147713.c:
16556 * testsuite/schedulers/147819.c:
16557 * testsuite/schedulers/147894-2.c:
16558 * testsuite/schedulers/147894.c:
16559 * testsuite/schedulers/Makefile.am:
16560 * testsuite/schedulers/group_link.c:
16561 * testsuite/schedulers/queue_link.c:
16562 * testsuite/schedulers/relink.c:
16563 * testsuite/schedulers/unlink.c:
16564 * testsuite/schedulers/unref.c:
16565 * testsuite/schedulers/useless_iteration.c:
16566 * testsuite/states/bin.c:
16567 clean out/remove some stuff from the testsuite directories
16569 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16572 check for some headers
16573 * gst/elements/Makefile.am:
16574 * gst/elements/gstelements.c:
16575 don't compile fdsrc without sys/socket.h
16576 * gst/indexers/Makefile.am:
16577 * gst/indexers/gstindexers.c: (plugin_init):
16578 don't compile fileindex without mmap
16580 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16587 * check/Makefile.am:
16588 * docs/gst/Makefile.am:
16589 * examples/helloworld/Makefile.am:
16591 * gst/base/Makefile.am:
16592 * gst/check/Makefile.am:
16593 * gst/elements/Makefile.am:
16594 * gst/indexers/Makefile.am:
16595 * gst/parse/Makefile.am:
16596 * libs/gst/controller/Makefile.am:
16597 * libs/gst/dataprotocol/Makefile.am:
16598 * examples/helloworld/helloworld.c: (event_loop):
16599 compile fixes, though it's not being compiled currently
16601 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16603 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16604 Add some simple tests for the new taglist date API.
16606 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16608 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16609 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16610 Beautify 'last-message' output: print 'none' for buffer timestamps
16611 and durations if none is set; improve alignment with next messages.
16613 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16615 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16616 * gst/gstpluginfeature.h:
16617 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16618 * gst/gstregistry.h:
16619 * docs/gst/gstreamer-sections.txt:
16620 Add new API to check plugin feature version requirements.
16622 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16623 Some basic tests for the above.
16625 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16627 * gst/gststructure.c: (gst_structure_to_string):
16628 guard against NULL printf - happens when for example
16629 a message structure with GstClock gets serialized
16631 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16633 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16634 Fix presumable copy'n'pasto.
16636 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16638 * gst/elements/gstfakesrc.h:
16639 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16640 * gst/elements/gsttypefindelement.c:
16641 fix some signedness
16642 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16643 I wonder if this could actually write +2GB files before
16645 2005-10-13 Andy Wingo <wingo@pobox.com>
16647 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16648 Fix Timmeke Waymans bug.
16649 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16650 string of the proper length to gst_caps_from_string. There's a
16651 potential for, before this fix, that this could cause someone
16652 connecting over the network to cause a segfault if the payload is
16653 not NUL-terminated.
16655 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16657 * docs/design/draft-push-pull.txt:
16658 * docs/design/part-overview.txt:
16659 * docs/random/TODO-pre-0.9:
16660 * docs/random/old/ChangeLog.gstreamer:
16661 * gst/base/gstpushsrc.c:
16665 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16667 * gst/glib-compat.c: (gst_flags_get_first_value):
16668 * gst/glib-compat.h:
16669 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16670 (gst_value_compare_double), (gst_value_serialize_flags):
16671 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16674 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16676 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16677 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16679 * tools/gst-launch.c: (event_loop):
16680 print out clock nicely
16682 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16684 * docs/gst/gstreamer-sections.txt:
16685 * gst/gsttaglist.h:
16686 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16687 (gst_tag_list_get_date_index):
16688 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16689 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16691 2005-10-13 Julien MOUTTE <julien@moutte.net>
16693 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16694 (gst_collectpads_chain):
16695 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16698 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16700 * docs/gst/gstreamer-sections.txt:
16703 * tools/gst-inspect.c: (main):
16704 * tools/gst-launch.c: (main):
16705 * tools/gst-run.c: (main):
16706 * tools/gst-xmlinspect.c: (main):
16707 fix GOption context leaks
16710 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16714 * win32/common/config.h:
16716 * win32/vs6/grammar.dsp:
16717 * win32/vs6/libgstelements.dsp:
16718 * win32/vs6/libgstreamer.dsp:
16721 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16724 * gst/base/gstbasesrc.c: (gst_base_src_query):
16725 fix more guint64<->gdouble conversions
16727 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16730 add win32-update target
16731 * win32/common/gstconfig.h:
16732 * win32/common/gstenumtypes.c:
16733 * win32/common/gstenumtypes.h:
16734 * win32/common/gstversion.h:
16735 add files that visual studio can't generate
16737 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16740 add a win32-update target
16743 2005-10-12 Wim Taymans <wim@fluendo.com>
16745 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16746 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16747 * gst/gstelement.c: (gst_element_commit_state),
16748 (gst_element_set_state):
16749 Protect flags with proper lock.
16750 unref provided cached clock in dispose.
16752 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16755 * gst/gstminiobject.h:
16757 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16758 removed unused flags from miniobject
16761 2005-10-12 Wim Taymans <wim@fluendo.com>
16763 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16764 (gst_file_sink_event), (gst_file_sink_render):
16765 Flush before seeking.
16767 2005-10-12 Andy Wingo <wingo@pobox.com>
16769 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16770 always been the case.
16772 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16774 * check/gst/gstbin.c: (GST_START_TEST):
16775 * docs/gst/gstreamer-sections.txt:
16776 * gst/base/gstbasesink.c: (gst_base_sink_init):
16777 * gst/base/gstbasesrc.c: (gst_base_src_init),
16778 (gst_base_src_get_range), (gst_base_src_check_get_range),
16779 (gst_base_src_start), (gst_base_src_stop):
16780 * gst/base/gstbasesrc.h:
16781 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16782 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16783 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16787 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16789 * gst/gstelement.c: (gst_element_is_locked_state),
16790 (gst_element_set_locked_state), (gst_element_commit_state),
16791 (gst_element_set_state):
16792 * gst/gstelement.h:
16793 * gst/gstindex.c: (gst_index_init):
16795 * gst/gstminiobject.h:
16796 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16797 (gst_object_set_parent):
16799 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16800 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16802 * gst/gstpadtemplate.h:
16803 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16804 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16805 * gst/gstpipeline.h:
16806 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16807 (gst_file_index_commit):
16808 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16809 * testsuite/pad/link.c: (gst_test_src_init),
16810 (gst_test_filter_init), (gst_test_sink_init):
16811 * testsuite/states/locked.c: (main):
16812 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16813 moved bitshift from macro to enum definition
16815 2005-10-12 Wim Taymans <wim@fluendo.com>
16817 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16818 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16819 (gst_file_sink_render):
16820 Some more debugging info.
16822 2005-10-12 Wim Taymans <wim@fluendo.com>
16824 * docs/design/part-states.txt:
16825 * tools/gst-launch.c: (main):
16827 Revert non-intentional change.
16829 2005-10-12 Wim Taymans <wim@fluendo.com>
16831 * check/gst/gstbin.c: (GST_START_TEST):
16832 * check/gst/gstelement.c: (GST_START_TEST):
16833 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16834 * check/gst/gstghostpad.c: (GST_START_TEST):
16835 * check/gst/gstpipeline.c: (GST_START_TEST):
16836 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16837 * check/states/sinks.c: (GST_START_TEST):
16838 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16839 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16840 (gst_bin_remove_func), (gst_bin_get_state_func),
16841 (gst_bin_recalc_state), (gst_bin_change_state_func),
16843 * gst/gstelement.c: (gst_element_get_state_func),
16844 (gst_element_get_state), (gst_element_abort_state),
16845 (gst_element_commit_state), (gst_element_set_state),
16846 (gst_element_change_state), (gst_element_change_state_func):
16847 * gst/gstelement.h:
16848 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16849 (gst_pipeline_provide_clock_func):
16850 * gst/gstutils.c: (gst_element_link_pads_filtered):
16851 * tools/gst-launch.c: (main):
16852 * tools/gst-typefind.c: (main):
16853 Use GstClockTime in _get_state() instead of GTimeVal.
16854 Remove old code in gstutils.c
16856 2005-10-12 Andy Wingo <wingo@pobox.com>
16858 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16861 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16862 there is no task. Shouldn't affect any code, as nothing in our
16863 plugins checks this return value.
16864 (gst_pad_stop_task): Also take the stream lock if the pad has no
16865 task. Docs updated.
16867 2005-10-12 Wim Taymans <wim@fluendo.com>
16869 * gst/gstpad.c: (pre_activate), (post_activate),
16870 (gst_pad_activate_pull), (gst_pad_activate_push):
16871 Cleanup activation code. Reset old state if
16874 2005-10-12 Wim Taymans <wim@fluendo.com>
16876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16877 (gst_base_sink_change_state):
16878 No need to prerol after receiving EOS.
16880 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16881 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16882 * gst/elements/gstidentity.c: (gst_identity_event):
16883 Print events more verbosely.
16885 2005-10-12 Wim Taymans <wim@fluendo.com>
16887 * check/Makefile.am:
16888 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16889 * check/states/sinks2.c:
16890 Moved sinks2 testcode in sinks check.
16892 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16893 (gst_bin_remove_func), (gst_bin_recalc_state),
16894 (gst_bin_change_state_func), (bin_bus_handler):
16895 Fix potential race condition when _get_state() iterated over an
16896 ASYNC element right before it posted a state completion.
16899 Do proper cast here.
16901 * gst/gstevent.c: (gst_event_new_newsegment),
16902 (gst_event_parse_newsegment):
16903 A playback rate of 0.0 is not allowed.
16905 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16907 * win32/common/config.h:
16908 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16909 (_trewinddir), (_ttelldir), (_tseekdir):
16910 * win32/common/dirent.h:
16911 * win32/common/gtchar.h:
16912 * win32/common/libgstbase.def:
16913 * win32/common/libgstreamer.def:
16914 * win32/vs6/grammar.dsp:
16915 * win32/vs6/gst_inspect.dsp:
16916 * win32/vs6/gst_launch.dsp:
16917 * win32/vs6/gstreamer.dsw:
16918 * win32/vs6/libgstbase.dsp:
16919 * win32/vs6/libgstelements.dsp:
16920 * win32/vs6/libgstreamer.dsp:
16921 Visual Studio 6 project files, and a new common directory.
16924 2005-10-11 Wim Taymans <wim@fluendo.com>
16926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16927 (gst_base_sink_do_sync), (gst_base_sink_query),
16928 (gst_base_sink_change_state):
16929 * gst/base/gstbasesink.h:
16930 Correctly parse newsegment info.
16932 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16934 * gst/gst.c: (init_post):
16935 split plugin paths correctly
16937 2005-10-11 Wim Taymans <wim@fluendo.com>
16939 * check/gst/gstevent.c: (GST_START_TEST):
16940 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16941 (gst_base_sink_change_state):
16942 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16943 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16944 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16945 * gst/gstevent.c: (gst_event_new_newsegment),
16946 (gst_event_parse_newsegment):
16948 Added extra flag to newsegment for future API freeze.
16949 Updated check and base elements.
16951 2005-10-11 Julien MOUTTE <julien@moutte.net>
16953 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16954 (gst_collectpads_add_pad), (gst_collectpads_pop),
16955 (gst_collectpads_event), (gst_collectpads_chain):
16956 * gst/base/gstcollectpads.h: Handle EOS correctly.
16958 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16960 * tools/gst-launch.c: (main):
16961 more null protecting
16963 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16965 * gst/gst-i18n-lib.h:
16966 check for ENABLE_NLS, not GETTEXT_PACKAGE
16967 * gst/gstregistry.c: (gst_registry_add_plugin),
16968 (gst_registry_scan_path_level),
16969 (_gst_registry_remove_cache_plugins):
16970 protect possibly NULL strings
16971 * gst/parse/types.h:
16972 config.h already included before
16973 * tools/gst-inspect.c: (main):
16974 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16975 check for ENABLE_NLS, not GETTEXT_PACKAGE
16976 * tools/gst-launch.c: (main):
16977 check for ENABLE_NLS, not GETTEXT_PACKAGE
16979 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16982 if we don't have glib, fail before testing 2.8
16983 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16984 fix a leak, should fix plugins-base testsuite
16986 2005-10-11 Andy Wingo <wingo@pobox.com>
16988 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16989 take the mode we're going to as an arg. Go head and set the mode
16990 and flushing flags now, so that if the activate function starts a
16991 thread all the flags will be in the right state.
16992 (post_activate): Renamed also. Just handle making sure streaming
16993 finishes for the deactivation case, and setting the deactivated
16995 (gst_pad_set_active): Complain loudly if deactivation fails.
16996 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16997 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16998 remove the terrible hack.
17000 2005-10-11 Wim Taymans <wim@fluendo.com>
17002 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17003 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17004 (gst_bin_recalc_state), (gst_bin_change_state_func),
17005 (gst_bin_dispose), (bin_bus_handler):
17007 Prepare to make current EOS message queue more generic.
17010 * gst/gstevent.c: (gst_event_new_newsegment),
17011 (gst_event_parse_newsegment):
17013 Rename base to stream_time.
17015 * gst/gstmessage.h:
17018 2005-10-11 Wim Taymans <wim@fluendo.com>
17020 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17021 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17022 (gst_bin_change_state_func), (bin_bus_handler):
17024 Work on proper clock selection.
17026 2005-10-11 Edward Hervey <edward@fluendo.com>
17028 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17029 * libs/gst/controller/gstcontroller.h:
17030 Added GList* version of _remove_properties() in order to be able to wrap
17033 2005-10-11 Wim Taymans <wim@fluendo.com>
17035 * docs/design/part-states.txt:
17038 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17039 (gst_bin_change_state_func), (bin_bus_handler):
17040 Doc updates. Don't distribute the same clock over and over again.
17046 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17047 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17048 (gst_pad_send_event):
17050 Make probe emission threadsafe again.
17051 Register quarks and move _get_name() from utils.
17054 * gst/gstpipeline.c: (gst_pipeline_class_init),
17055 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17056 Only redistribute the clock of it changed.
17058 * gst/gstsystemclock.h:
17063 Moved the _flow_get_name() to GstPad.
17065 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17067 * check/gst-libs/gdp.c: (GST_START_TEST):
17068 * check/gst/gstcaps.c: (GST_START_TEST):
17069 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17070 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17071 (gst_dp_packet_from_caps):
17072 fix more valgrind warnings before turning up the heat
17074 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17076 * gst/parse/grammar.y:
17077 some cleanup before the hacking
17079 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17081 * gst/base/gstbasesrc.c: (gst_base_src_query):
17083 * gst/gstutils.c: (gst_guint64_to_gdouble),
17084 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17086 externalize, basesrc uses it
17087 obviously the implementation needs testing
17089 2005-10-10 Wim Taymans <wim@fluendo.com>
17091 * tests/sched/Makefile.am:
17092 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17093 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17095 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17097 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17098 apparently converting from guint64 to double is not implemented
17101 2005-10-10 Wim Taymans <wim@fluendo.com>
17103 * check/Makefile.am:
17104 * check/generic/states.c: (GST_START_TEST):
17105 * check/gst/gstbin.c: (GST_START_TEST):
17106 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17107 * check/states/sinks.c: (GST_START_TEST):
17108 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17110 Check fixes, use API as stated in design docs, remove hacks.
17112 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17113 (gst_base_sink_change_state):
17114 Catch stopping our task while we're shutting down.
17116 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17117 (gst_bin_remove_func), (gst_bin_get_state_func),
17118 (gst_bin_recalc_state), (gst_bin_change_state_func),
17121 * gst/gstelement.c: (gst_element_init),
17122 (gst_element_get_state_func), (gst_element_abort_state),
17123 (gst_element_commit_state), (gst_element_lost_state),
17124 (gst_element_set_state), (gst_element_change_state),
17125 (gst_element_change_state_func):
17126 * gst/gstelement.h:
17127 New state change algorithm (see #318116)
17129 * gst/gstpipeline.c: (gst_pipeline_class_init),
17130 (gst_pipeline_init), (gst_pipeline_set_property),
17131 (gst_pipeline_get_property), (do_pipeline_seek),
17132 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17133 * gst/gstpipeline.h:
17134 Remove crude state change hacks.
17137 Remove crude hacks.
17139 * tools/gst-launch.c: (main):
17140 Fixes for state change. Needs some more work to fully use the
17143 2005-10-10 Andy Wingo <wingo@pobox.com>
17145 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17147 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17148 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17151 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17153 * gst/gstiterator.c: (gst_iterator_new):
17154 Fix my previous commit: GTypes passed to gst_iterator_new()
17155 can be fundamental types.
17157 2005-10-10 Wim Taymans <wim@fluendo.com>
17159 * gst/gstelement.c: (gst_element_iterate_pad_list),
17160 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17161 (gst_element_iterate_sink_pads):
17162 Use src/sink pads lists for the respective iterators instead
17165 2005-10-10 Andy Wingo <wingo@pobox.com>
17167 Merged in popt removal + GOption addition patch from Ronald, bug
17170 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17171 GstElement macros around, remove popt-related symbols, add goption
17174 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17176 * docs/gst/Makefile.am:
17177 * docs/libs/Makefile.am: No POPT_CFLAGS.
17179 * examples/manual/Makefile.am:
17180 * docs/manual/basics-init.xml: Doc updates with an example.
17182 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17183 (gst_init), (parse_one_option), (parse_goption_arg):
17184 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17185 bit of hand merging and debugging to get the GOption stuff working
17188 * tests/Makefile.am:
17189 * tools/Makefile.am:
17190 * tools/gst-inspect.c: (main):
17191 * tools/gst-launch.c: (main):
17192 * tools/gst-run.c: (main):
17193 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17195 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17197 * gst/gstiterator.c: (gst_iterator_new):
17198 Add assertions to make sure passed GType is likely to really
17199 be a GType (as the compiler won't catch it if the size and
17200 GType arguments get mixed up, see #318447).
17202 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17204 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17206 * gst/gstbin.c: (gst_bin_iterate_sorted):
17207 Pass GType and size arguments to gst_iterator_new() in the right
17208 order (maybe we should make _new() take the GType as first argument
17209 just like _new_list()?) (#318447).
17212 2005-10-10 Wim Taymans <wim@fluendo.com>
17214 * gst/gstelement.c: (gst_element_finalize):
17215 And free the GStaticRecMutex too
17217 2005-10-10 Andy Wingo <wingo@pobox.com>
17219 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17220 Allocate and free the mutex properly.
17222 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17224 (GstElement): The state_lock is now recursive. Rebuild your
17225 plugins, suckers. Old macros adapted.
17227 * docs/gst/gstreamer-sections.txt: Doc updates.
17230 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17231 (g_static_rec_cond_wait): Ported from state changes patch, while
17232 we wait on bug #317802 to be solved in a well-distributed GLib.
17234 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17235 gst_element_change_state, variable name changes.
17236 (gst_element_change_state): Split out of gst_element_set_state in
17237 preparation for the state change merge. Doesn't pay attention to
17238 the 'transition' argument.
17239 (gst_element_set_state): Updates, hopefully purely cosmetic.
17240 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17241 state change patch.
17242 (gst_element_get_state_func): Renamed from get_state, cosmetic
17245 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17247 * gst/elements/gstelements.c:
17248 * win32/GStreamer.vcproj:
17250 * win32/dirent.c: (_tseekdir):
17251 * win32/gst-inspect.vcproj:
17252 * win32/gst-launch.vcproj:
17253 * win32/gstconfig.h:
17254 * win32/gstelements.vcproj:
17255 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17256 * win32/gstreamer.def:
17257 * win32/msvc71.sln:
17258 updates for the win32 build (patch from Sebastien Moutte)
17260 2005-10-10 Andy Wingo <wingo@pobox.com>
17262 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17263 gst_bin_get_state, cleaned up (but no logic changes).
17264 (bin_element_is_sink): Comment updates.
17265 (sink_iterator_filter): Remove needless cast.
17266 (gst_bin_iterate_sinks): Doc update.
17267 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17268 cleaned up (but no logic changes).
17270 * check/states/sinks.c (test_src_sink): Cleanups from the state
17272 (test_livesrc_sink): Sync on the state.
17274 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17275 the state change patch.
17277 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17280 * check/gst/gstbin.c: Merge in some style fixes and additional
17281 checks from Wim's state change patch.
17283 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17285 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17286 (gst_type_find_helper):
17287 Check whether we have the requested data already in our list of
17288 cached buffers before pulling a new buffer; also make the buffer
17289 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17291 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17296 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17297 don't use long long, it's not portable. Replacing with
17298 gint64 seems to work; let's hope no skeletons fall out of the closet.
17300 2005-10-10 Andy Wingo <wingo@pobox.com>
17302 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17304 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17306 * docs/gst/gstreamer-sections.txt:
17311 * gst/gstmessage.c: (gst_message_parse_state_changed):
17314 more docs, fix compilation
17316 2005-10-09 Philippe Khalaf <burger@speedy.org>
17317 * gst/gstmessage.c:
17318 Fixed a few forgotten variables on previous commit
17320 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17322 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17323 Fix evil typefind crasher: getrange() might return a short
17324 buffer at the end of a file, but gst_type_find_peek() must
17325 either return the full data as requested or NULL, but
17326 never a short buffer.
17328 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17330 * gst/gstmessage.c: (gst_message_new_state_changed),
17331 (gst_message_parse_state_changed):
17332 * gst/gstmessage.h:
17333 don't use "new", it's a C++ keyword
17335 2005-10-08 Wim Taymans <wim@fluendo.com>
17337 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17338 * gst/gstelement.c: (gst_element_post_message):
17339 * gst/gstpipeline.c: (gst_pipeline_change_state):
17340 Small docs and debug updates.
17342 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17344 * docs/gst/gstreamer-sections.txt:
17345 * gst/gstelementfactory.c:
17347 * gst/gsttaglist.c:
17350 2005-10-08 Wim Taymans <wim@fluendo.com>
17352 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17353 (gst_bin_dispose), (bin_bus_handler):
17354 Fix typos, add comments.
17355 Clear EOS list when going to PAUSED from any direction and do it
17356 in a threadsafe way.
17357 Get base time in a threadsafe way too.
17358 Fix confusing debug in the change_state function.
17359 Various other small cleanups.
17361 * gst/gstelement.c: (gst_element_post_message):
17362 Fix very verbose bus posting code.
17364 * gst/gstpipeline.c: (gst_pipeline_class_init),
17365 (gst_pipeline_set_property), (gst_pipeline_get_property),
17366 (gst_pipeline_change_state):
17367 Small ARG_ -> PROP_ cleanup
17369 2005-10-08 Wim Taymans <wim@fluendo.com>
17371 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17372 Do a less CPU demanding EOS check because we can.
17374 2005-10-08 Wim Taymans <wim@fluendo.com>
17376 * libs/gst/dataprotocol/dataprotocol.c:
17377 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17378 (gst_dp_packet_from_event):
17379 * libs/gst/dataprotocol/dataprotocol.h:
17380 * libs/gst/dataprotocol/dp-private.h:
17381 It's about time we bump the version number.
17382 Since event types don't fit in the guint8 anymore describing
17383 the payload type, make payload type 16 bits wide.
17385 2005-10-08 Wim Taymans <wim@fluendo.com>
17387 * docs/design/part-TODO.txt:
17388 * docs/design/part-clocks.txt:
17389 * docs/design/part-events.txt:
17390 * docs/design/part-gstbin.txt:
17391 * docs/design/part-gstelement.txt:
17392 * docs/design/part-gstpipeline.txt:
17393 * docs/design/part-live-source.txt:
17394 * docs/design/part-messages.txt:
17395 * docs/design/part-overview.txt:
17396 * docs/design/part-states.txt:
17399 2005-10-08 Wim Taymans <wim@fluendo.com>
17403 Fix event quark registration.
17404 Add some space between events so we can insert them in the
17407 2005-10-08 Wim Taymans <wim@fluendo.com>
17409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17410 (gst_base_sink_handle_buffer):
17411 Better log message.
17414 * gst/gstelement.h:
17417 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17418 (gst_queue_set_property), (gst_queue_get_property):
17420 Remove old unused properties.
17422 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17423 * docs/gst/gstreamer-sections.txt:
17424 * gst/gstmessage.c:
17425 * gst/gstmessage.h:
17426 * gst/gstminiobject.c:
17427 * gst/gstminiobject.h:
17431 lots of new docs and doc fixes
17433 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17435 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17437 * gst/gstregistry.c: (gst_registry_lookup_locked),
17438 (gst_registry_scan_path_level):
17439 * gst/gstregistryxml.c: (load_plugin):
17440 Only ever load one plugin for a given plugin basename.
17441 This ensures correct overriding of GST_PLUGIN_PATH over
17442 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17443 system installed plugins.
17445 2005-10-08 Wim Taymans <wim@fluendo.com>
17447 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17448 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17449 Prepare for doing QOS.
17451 2005-10-08 Wim Taymans <wim@fluendo.com>
17453 * check/gst/gstbin.c: (GST_START_TEST):
17454 * check/pipelines/cleanup.c: (GST_START_TEST):
17455 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17456 Allow new clock message too.
17458 2005-10-08 Wim Taymans <wim@fluendo.com>
17460 * gst/gstmessage.c: (gst_message_new_error),
17461 (gst_message_new_warning), (gst_message_new_tag),
17462 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17463 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17464 (gst_message_new_segment_start), (gst_message_new_segment_done),
17465 (gst_message_parse_state_changed),
17466 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17467 (gst_message_parse_new_clock):
17468 * gst/gstmessage.h:
17469 Also carry the clock in question.
17471 2005-10-08 Wim Taymans <wim@fluendo.com>
17473 * gst/gstmessage.c: (gst_message_new_custom),
17474 (gst_message_new_eos), (gst_message_new_error),
17475 (gst_message_new_warning), (gst_message_new_tag),
17476 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17477 (gst_message_new_new_clock), (gst_message_new_segment_start),
17478 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17479 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17480 * gst/gstmessage.h:
17482 Added clock related messages.
17484 * gst/gstpipeline.c: (gst_pipeline_change_state):
17485 Post message when the clock changed.
17487 * tools/gst-launch.c: (event_loop):
17490 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17492 * tools/gst-inspect.c: (print_element_properties_info):
17493 Can't pass NULL strings to g_print() on windows.
17495 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17497 * docs/Makefile.am:
17498 * docs/gst/Makefile.am:
17499 * docs/gst/gstreamer-docs.sgml:
17500 * docs/gst/running.xml:
17501 * docs/version.entities.in:
17502 add a chapter on running GStreamer.
17503 document GST_DEBUG and GST_PLUGIN* env vars
17505 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17510 remove PLUGINS_BUILDDIR stuff
17511 * gst/gst.c: (init_post):
17512 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17514 remove, it was condescending and not needed
17516 2005-10-08 Wim Taymans <wim@fluendo.com>
17518 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17519 (gst_base_sink_handle_object), (gst_base_sink_event),
17520 (gst_base_sink_wait), (gst_base_sink_handle_event),
17521 (gst_base_sink_change_state):
17522 * gst/base/gstbasesink.h:
17523 Repost EOS message while going to PLAYING if still EOS.
17524 Make sure that when receiving a FLUSH_START we don't attempt
17525 to sync on the clock anymore.
17527 2005-10-08 Wim Taymans <wim@fluendo.com>
17529 * tools/gst-launch.c: (event_loop):
17530 Better message printout.
17532 2005-10-08 Wim Taymans <wim@fluendo.com>
17534 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17535 (gst_bin_child_proxy_get_children_count):
17536 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17537 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17538 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17539 (gst_child_proxy_set_valist):
17540 * gst/parse/grammar.y:
17541 Make ChildProxy threadsafe and fix mem leaks.
17543 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17545 * gst/gst.c: (init_post):
17546 debug the GST_PLUGIN_ env vars
17548 2005-10-08 Wim Taymans <wim@fluendo.com>
17550 * check/gst/gstbin.c: (GST_START_TEST):
17551 * check/gst/gstmessage.c: (GST_START_TEST):
17552 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17553 * gst/gstelement.c: (gst_element_commit_state),
17554 (gst_element_lost_state):
17555 * gst/gstmessage.c: (gst_message_new_state_changed),
17556 (gst_message_parse_state_changed):
17557 * gst/gstmessage.h:
17558 * tools/gst-launch.c: (event_loop):
17559 Added extra field to STATE_CHANGE message with the pending
17560 state, which will be different from the new state soon.
17562 2005-10-08 Wim Taymans <wim@fluendo.com>
17564 * gst/gstbus.c: (gst_bus_pop):
17566 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17567 Small cleanups and doc updates.
17569 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17571 * gst/gst.c: (init_pre):
17572 * gst/gstbin.c: (gst_bin_add_func):
17573 log distributing clocks and base time
17574 * gst/gstregistry.c: (gst_registry_add_plugin),
17575 (gst_registry_scan_path_level), (gst_registry_scan_path):
17576 clean up the debugging output a little
17577 * gst/gstutils.c: (gst_element_state_get_name):
17578 warn about a memleak (I've actually seen this be used, though
17579 it was probably a bug)
17581 2005-10-07 Wim Taymans <wim@fluendo.com>
17583 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17584 (gst_base_src_init), (gst_base_src_default_newsegment),
17585 (gst_base_src_newsegment), (gst_base_src_do_seek),
17586 (gst_base_src_loop), (gst_base_src_start):
17587 * gst/base/gstbasesrc.h:
17588 Make the newsegment event customizable by subclasses.
17590 2005-10-07 Wim Taymans <wim@fluendo.com>
17592 * gst/gstevent.c: (gst_event_new_buffersize),
17593 (gst_event_parse_buffersize):
17595 New event for future idea.
17597 2005-10-07 Andy Wingo <wingo@pobox.com>
17599 * gst/gstelement.c (gst_element_post_message): Doc update.
17601 * docs/gst/gstreamer-sections.txt: Update.
17603 * gst/gstmessage.c (gst_message_new_application): Made into a
17604 function like honest API calls.
17605 (gst_message_new_element): New message type.
17607 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17609 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17610 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17613 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17614 NO_PREROLL from gst_element_change_state to fall through.
17616 2005-10-07 Wim Taymans <wim@fluendo.com>
17618 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17619 (gst_ghost_pad_do_activate_push):
17620 Activating a ghostpad with no internal pad in push mode
17623 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17626 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17627 Fixes compilation on Windows.
17629 2005-10-07 Michael Smith <msmith@fluendo.com>
17631 * tools/gst-inspect.c:
17632 Print out feature and plugin count at the end when printing out
17635 2005-10-04 Michael Smith <msmith@fluendo.com>
17637 * gst/gsterror.c: (_gst_stream_errors_init):
17638 Add another error string used in a few existing plugins.
17641 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17642 * tools/gst-inspect.c: (print_element_info):
17643 When a feature disappears from a plugin (and the feature exists in
17644 the cached registry file), things went horribly wrong. This isn't a
17645 complete fix, we should actually be removing the 'missing' features
17646 from the features list when we load the actual plugin. That's not
17649 2005-10-04 Johan Dahlin <johan@gnome.org>
17651 * check/gst/gstiterator.c: (GST_START_TEST):
17652 * gst/gstbin.c: (gst_bin_iterate_elements),
17653 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17654 * gst/gstelement.c: (gst_element_iterate_pads):
17655 * gst/gstformat.c: (gst_format_iterate_definitions):
17656 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17657 (gst_iterator_new_list), (gst_iterator_filter):
17658 * gst/gstiterator.h:
17659 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17660 Add a GType to GstIterator, update callsites and tests.
17662 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17664 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17665 give events a chance to be handled by event probes when the pad
17668 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17670 * gst/gstevent.c: (gst_event_type_get_name),
17671 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17673 add string representations for event types
17675 2005-10-06 Wim Taymans <wim@fluendo.com>
17677 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17678 Don't use NULL pointers.
17680 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17682 * gst/gst_private.h:
17684 * gst/gstelement.c:
17686 * gst/gstpluginfeature.c:
17687 widen the debug category in output to fit the biggest one we have
17688 add a bus category and use it
17689 play with the colors
17690 fix up some categories
17692 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17694 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17695 add push activation of sink ghost pads.
17696 Andye, please verify
17698 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17700 * gst/gstutils.c: (gst_element_link_pads):
17701 fix a bug in the case where neither element has a pad
17702 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17703 add a test for that case
17705 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17707 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17708 emit have-data before checking for peers. This allows
17709 for probe handlers to connect elements. This helps autopluggers.
17710 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17712 add six checks, linked/unlinked with no/true/false probe
17714 2005-10-04 Wim Taymans <wim@fluendo.com>
17716 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17717 (gst_fake_sink_event), (gst_fake_sink_preroll),
17718 (gst_fake_sink_render), (gst_fake_sink_change_state):
17719 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17720 (gst_fake_src_get_property), (gst_fake_src_create),
17721 (gst_fake_src_stop):
17722 * gst/elements/gstidentity.c: (gst_identity_stop):
17723 Protect last_message with lock.
17725 2005-10-04 Edward Hervey <edward@fluendo.com>
17728 Added precision in the comments for GST_FORMAT_DEFAULT
17730 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17732 * tools/gst-launch.c: (main):
17733 Don't try to run erroneous pipelines.
17735 2005-10-04 Julien MOUTTE <julien@moutte.net>
17737 * gst/gstbus.c: We don't need this header.
17739 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17742 back to development
17744 === release 0.9.3 ===
17746 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17750 Releasing 0.9.3, "Unregistered"
17752 2005-10-03 Andy Wingo <wingo@pobox.com>
17754 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17755 whereby calling a pad's activatepush() function can start a thread
17756 that starts to push or pull before the pad gets the FLUSHING flag
17757 unset. Hack around it by holding the stream lock until the flag is
17758 set. Need to replace this with a proper solution. Together with
17759 the ghost pad fixes, this fixes mp3 playing/tagreading.
17761 * docs/design/part-gstghostpad.txt: Add a note about activation of
17762 proxy pads outside of ghost pads.
17764 * gst/gstghostpad.c: Implement the ghost pad activation design.
17766 2005-10-02 Andy Wingo <wingo@pobox.com>
17768 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17769 It is volatile, after all.
17771 * docs/design/part-gstghostpad.txt: Flesh out activation with
17774 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17777 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17780 Fix (unused) AM_CONDITIONAL tests.
17782 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17784 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17786 * gst/gstutils.c: (gst_pad_query_convert):
17787 Add assertion that makes sure src_val is >=0, just like
17788 gst_query_new_convert() has. (#315895)
17790 2005-09-30 Edward Hervey <edward@fluendo.com>
17792 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17793 Let's not iterate pads we're not interested in, it avoids getting
17794 sky-high refcounts on sinkpad.
17796 2005-09-30 Wim Taymans <wim@fluendo.com>
17798 * gst/gstelement.c: (gst_element_set_state),
17799 (gst_element_change_state):
17800 Small tweak, element in ASYNC remains ASYNC.
17802 2005-09-30 Wim Taymans <wim@fluendo.com>
17804 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17805 Only error is an error.
17807 * gst/gstbin.c: (gst_bin_change_state):
17810 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17811 Also call pad_block in pad alloc.
17813 * gst/gstutils.c: (gst_flow_get_name):
17816 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17818 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17819 (gst_base_src_get_range):
17820 Fix documentation typos. Add some more debug info.
17822 2005-09-29 David Schleef <ds@schleef.org>
17824 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17825 more end-user friendly.
17826 * tools/gst-inspect.c: (main): Check if command-line argument is
17827 a file and attempt to load that file as a plugin.
17829 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17831 * check/gst/gstbin.c:
17832 * check/states/sinks.c:
17833 fix tests for the new warning
17834 * check/gst/gstpipeline.c:
17835 add a test for pipeline and bus interaction
17836 * gst/gstelement.c:
17837 elements should be NULL if they get disposed; add a warning if not
17839 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17842 for 2.6 refcounting, make debug log more correct by printing
17843 the actual refcounts at the time of swap (Wim)
17845 2005-09-29 Andy Wingo <wingo@pobox.com>
17847 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17848 removes signal watches previously added via
17849 gst_bus_add_signal_watch.
17850 (gst_bus_add_signal_watch): Don't return the source id, just store
17851 it on the bus if there wasn't an id already.
17853 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17854 add_signal_watch and remove_signal_watch.
17856 2005-09-29 Edward Hervey <edward@fluendo.com>
17858 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17859 Better if we actually iterate the list :)
17861 2005-09-29 Wim Taymans <wim@fluendo.com>
17863 * check/gst/gstbin.c: (GST_START_TEST):
17864 Change for new bus API.
17866 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17867 (send_messages), (GST_START_TEST), (gstbus_suite):
17868 Change for new bus signal API.
17870 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17871 (gst_bus_source_prepare), (gst_bus_source_check),
17872 (gst_bus_create_watch), (gst_bus_add_watch_full),
17873 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17874 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17876 Remove support for multiple GSources operating on different
17877 message types as it is too complex and unneeded when using
17879 Added support for receiving signals from the bus.
17881 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17883 * docs/libs/tmpl/gstdataprotocol.sgml:
17884 * docs/manual/advanced-dataaccess.xml:
17885 * gst/elements/gstcapsfilter.c:
17887 rename filter-caps to caps property
17889 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17891 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17892 More robust fraction string parsing.
17894 * docs/pwg/appendix-porting.xml:
17895 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17897 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17899 * gst/gstcaps.c: (gst_caps_do_simplify):
17900 Thou shalt not free a structure and then continue using it
17901 in the next loop iteration.
17903 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17905 Add test case for caps simplification.
17907 2005-09-29 Wim Taymans <wim@fluendo.com>
17909 * check/gst/gstbin.c: (GST_START_TEST):
17912 2005-09-29 Wim Taymans <wim@fluendo.com>
17914 * check/gst/gstbin.c: (GST_START_TEST):
17917 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17918 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17919 (find_element), (gst_bin_sort_iterator_next),
17920 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17921 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17922 (gst_bin_change_state), (gst_bin_dispose):
17923 A bin does not have a bus, it gets the bus from the parent.
17925 * gst/gstelement.c: (gst_element_requires_clock),
17926 (gst_element_provides_clock), (gst_element_is_indexable),
17927 (gst_element_is_locked_state), (gst_element_change_state),
17928 (gst_element_set_bus_func):
17931 * gst/gstpipeline.c: (gst_pipeline_class_init),
17932 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17933 The pipeline provides a bus.
17935 2005-09-28 Johan Dahlin <johan@gnome.org>
17937 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17938 gst_structure_get_enum instead of gst_structure_get_int
17940 * gst/gststructure.c (gst_structure_get_enum): Impl.
17942 * gst/gststructure.h (gst_structure_get_enum): Add
17944 * docs/gst/gstreamer-sections.txt: Ditto
17946 * gst/gstmessage.c (gst_message_new_state_changed): Use
17947 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17948 which does introspection.
17949 Reviewed by Christian Schaller
17951 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17953 * gst/gstinfo.c: (gst_debug_log_default):
17954 don't do dummy g_strdup()s
17955 * libs/gst/controller/gstcontroller.c:
17956 (on_object_controlled_property_changed),
17957 (gst_controlled_property_new), (gst_controller_new_valist),
17958 (gst_controller_new_list),
17959 (gst_controller_remove_properties_valist), (gst_controller_set),
17960 (gst_controller_get), (gst_controller_sync_values),
17961 (gst_controller_get_value_array), (_gst_controller_class_init),
17962 (gst_controller_get_type):
17963 * libs/gst/controller/gstcontroller.h:
17964 * libs/gst/controller/gstinterpolation.c:
17965 (gst_controlled_property_find_timed_value_node):
17966 convert // to /**/ comments
17968 2005-09-28 Wim Taymans <wim@fluendo.com>
17970 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17971 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17972 (gst_bus_sync_signal_handler):
17974 Added async-message and sync-message signals to the bus.
17975 Added helper BusFunc to emit signals for all posted messages.
17977 * gst/gstmessage.c: (gst_message_type_get_name),
17978 (gst_message_type_to_quark), (gst_message_get_type):
17979 * gst/gstmessage.h:
17980 Register quarks for message names.
17982 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17984 * docs/libs/gstreamer-libs-sections.txt:
17985 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17986 (gst_controller_new_list):
17987 * libs/gst/controller/gstcontroller.h:
17988 added another constructor for language bindings
17990 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17992 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17996 * gst/gstinfo.c: (_gst_debug_init):
17997 slightly more readable color for refcount debugging
17999 2005-09-28 Wim Taymans <wim@fluendo.com>
18001 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18002 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18003 (find_element), (gst_bin_sort_iterator_next),
18004 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18005 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18006 (gst_bin_change_state), (gst_bin_dispose):
18007 Small doc fixes. get_clock -> provide_clock.
18009 * gst/gstelement.c: (gst_element_class_init),
18010 (gst_element_provides_clock), (gst_element_provide_clock),
18011 (gst_element_get_clock), (gst_element_commit_state),
18012 (gst_element_lost_state):
18013 * gst/gstelement.h:
18014 Make get/set_clock() symetric. Add provide_clock vmethod since
18015 that is actually what this function does.
18017 * gst/gstpipeline.c: (gst_pipeline_class_init),
18018 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18019 (gst_pipeline_get_clock):
18020 get_clock -> provide_clock.
18022 2005-09-28 Andy Wingo <wingo@pobox.com>
18024 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18025 lieu of real docs...
18027 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18029 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18031 * gst/elements/gstcapsfilter.c:
18032 * gst/elements/gstfakesink.c:
18033 * gst/elements/gstfakesrc.c:
18034 * gst/elements/gstfdsink.c:
18035 * gst/elements/gstfdsrc.c:
18036 * gst/elements/gstfilesink.c:
18037 * gst/elements/gstfilesrc.c:
18038 * gst/elements/gstidentity.c:
18039 * gst/elements/gsttee.c:
18040 * gst/elements/gsttypefindelement.c:
18041 Make element details static.
18043 2005-09-28 Wim Taymans <wim@fluendo.com>
18045 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18046 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18047 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18048 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18049 (gst_bin_change_state), (gst_bin_dispose):
18050 Some documentation updates.
18051 Clean up dispose handlers.
18053 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18054 * gst/gstpad.c: (gst_pad_dispose):
18055 Clean up dispose handler.
18057 * gst/gstpipeline.c: (gst_pipeline_change_state):
18058 Removed spurious UNLOCK.
18060 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18062 * docs/gst/gstreamer-sections.txt:
18063 * gst/base/gstbasesrc.h:
18064 * gst/gstelement.h:
18068 * gst/gstpipeline.c:
18069 * gst/gstpipeline.h:
18072 added two new functions to the docs
18073 documents all undocumented GstXXXFlags
18074 completed some incomplete docs
18076 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18078 * gst/gstbin.c: (gst_bin_dispose):
18079 * gst/gstelement.c: (gst_element_dispose):
18080 remove now useless and leaky resurrection code in dispose
18081 * gst/base/gstbasesrc.c: (gst_base_src_init):
18082 * gst/gstelementfactory.c: (gst_element_factory_create):
18083 * gst/gstobject.c: (gst_object_set_parent):
18086 2005-09-27 Wim Taymans <wim@fluendo.com>
18088 * docs/design/part-TODO.txt:
18091 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18092 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18093 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18094 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18095 (gst_bin_change_state):
18096 * gst/gstelement.h:
18097 Remove element variable, we keep element info in the iterator now.
18099 2005-09-27 Andy Wingo <wingo@pobox.com>
18101 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18104 2005-09-27 Wim Taymans <wim@fluendo.com>
18106 * check/gst/gstbin.c: (GST_START_TEST):
18107 Enable check that works now.
18109 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18110 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18111 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18112 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18113 (gst_bin_change_state):
18115 Redid the state change algorithm using a topological sort algo.
18116 Handles all cases correctly.
18117 Exposed iterator for state change order.
18119 * gst/gstelement.h:
18120 Temp storage for state changes. Need to get rid of this soon.
18122 2005-09-27 Wim Taymans <wim@fluendo.com>
18124 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18125 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18126 (link_fold_func), (gst_pad_proxy_setcaps):
18127 Leak fixes, the fold functions need to unref the passed object and
18128 _get_parent_*() returns ref to parent.
18130 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18132 * check/gst/gstbuffer.c: (test_make_writable):
18133 Plug leak in test case and fix 'make check-valgrind'
18135 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18137 * gst/gstbuffer.c: (gst_subbuffer_init):
18138 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18139 works correctly in all circumstances (we could have just copied
18140 the parent buffer's readonly flag, but conceptually it seems
18141 cleaner to mark all subbuffers as read-only). (based on patch
18142 by Alessandro Decina, #314710).
18144 * check/gst/gstbuffer.c: (create_read_only_buffer),
18145 (test_make_writable), (test_subbuffer_make_writable),
18147 Add some tests for gst_buffer_make_writable().
18149 2005-09-27 Wim Taymans <wim@fluendo.com>
18151 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18152 use gst_object_has_ancestor().
18154 * gst/gstobject.c: (gst_object_has_ancestor):
18156 gst_object_has_ancestor() copied from gstbin.c as it is a
18159 * tests/instantiate/create.c: (create_all_elements):
18160 * tests/lat.c: (handoff_src), (handoff_sink):
18161 * tests/sched/runxml.c: (main):
18162 * tests/seeking/seeking1.c: (main):
18163 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18165 Fix compilation of some tests.
18167 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18170 Remove comment. GST_TYPE_G_ERROR is here to stay,
18171 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18172 (#316961, #300610).
18174 2005-09-26 Wim Taymans <wim@fluendo.com>
18176 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18177 Added check that shows error in state change order.
18179 2005-09-26 Wim Taymans <wim@fluendo.com>
18181 * gst/gstbin.c: (gst_bin_change_state):
18182 Make state change function use 3 queues again, we were
18183 adding elements in the wrong order.
18185 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18188 * gst/gstpad.c: (gst_pad_dispose):
18189 Added some debug info first.
18191 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18193 * docs/design/draft-push-pull.txt:
18194 * docs/design/part-events.txt:
18195 * docs/design/part-overview.txt:
18196 * docs/design/part-scheduling.txt:
18197 Replace all _pull_region() with _pull_range()
18199 2005-09-26 Andy Wingo <wingo@pobox.com>
18201 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18203 * check/gst-libs/controller.c: Update for controller api change.
18206 * tests/Makefile.am:
18207 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18208 over by GLib bug 118439.
18210 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18211 routines to a function.
18213 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18215 * libs/gst/controller/gsthelper.c:
18216 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18217 (gst_object_sync_values): Renamed from sink_values. Ugh.
18219 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18221 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18222 Renamed from controller_key, as it is exported.
18224 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18226 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18231 * gst/gstpadtemplate.h:
18234 * gst/gstqueryutils.c:
18235 * gst/gstqueryutils.h:
18236 remove queryutils headers after moving the two used functions
18237 to gstquery. also fixes build problem for gstsiddec
18239 2005-09-26 Michael Smith <msmith@fluendo.com>
18241 * tools/gst-launch.1.in:
18242 Correct documentation in manpage of debug syntax
18244 2005-09-26 Wim Taymans <wim@fluendo.com>
18246 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18247 (gst_base_src_is_seekable), (gst_base_src_change_state):
18248 Some more debugging info.
18250 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18252 * docs/gst/gstreamer-sections.txt:
18253 * gst/base/gstbasetransform.h:
18257 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18259 * docs/gst/.cvsignore:
18260 * docs/gst/tmpl/.cvsignore:
18261 * docs/gst/tmpl/gstpipeline.sgml:
18262 * docs/gst/tmpl/gstplugin.sgml:
18263 * gst/gstpipeline.c:
18266 inlined the last two docs files
18267 removed the tmpl directory from cvs (no more conflicts here!)
18269 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18271 * docs/gst/gstreamer-sections.txt:
18272 * docs/gst/tmpl/.cvsignore:
18273 * docs/gst/tmpl/gstpad.sgml:
18274 * docs/gst/tmpl/gstpadtemplate.sgml:
18276 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18277 (gst_pad_finalize), (gst_pad_set_pad_template):
18279 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18280 (gst_pad_template_class_init), (gst_pad_template_init),
18281 (gst_pad_template_dispose), (name_is_valid),
18282 (gst_static_pad_template_get), (gst_pad_template_new),
18283 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18284 (gst_pad_template_pad_created):
18285 * gst/gstpadtemplate.h:
18286 inlined two more docs
18287 factored gstpadtemplate out of gstpad
18289 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18291 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18292 (test_children_state_change_order_semi_sink):
18293 Fix test case: we can't rely on a fixed state change order when
18294 going from READY => PAUSED because the sink might commit its
18295 new state first when the first buffer created by the source
18296 reaches the sink before the source has finished its change state.
18297 (Test case still fails at times, see #316856, comment 5 onwards)
18299 2005-09-24 Wim Taymans <wim@fluendo.com>
18301 * docs/design/part-events.txt:
18302 * docs/design/part-gstbus.txt:
18303 * docs/design/part-gstpipeline.txt:
18304 * docs/design/part-messages.txt:
18305 * docs/design/part-overview.txt:
18306 * docs/design/part-segments.txt:
18310 * gst/gstelement.c:
18313 * gst/gstiterator.c:
18314 Various documentation updates.
18316 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18319 Well, that's embarassing. Luckily we weren't using
18320 GST_CLOCK_DIFF anywhere.
18322 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18324 * common/gtk-doc.mak:
18325 don't fail on building XML, FC4 slave shows a bunch of doc
18326 missing bits that I don't get
18328 * gst/gstpipeline.c:
18329 * gst/gststructure.c:
18332 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18334 * docs/design/part-gstbin.txt:
18335 * docs/design/part-gstbus.txt:
18337 Add blurb about how the bus goes into flushing mode and
18338 drops all messages when its bin goes from READY into NULL
18341 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18343 * docs/gst/gstreamer-sections.txt:
18344 * gst/gststructure.c: (gst_structure_get_clock_time):
18345 * gst/gststructure.h:
18346 add a method to get a GstClockTime out of a structure
18348 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18350 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18351 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18352 Added test to check state change order in bins (can still be made
18353 to fail here under heavy disk load; bails out with 'Push on pad
18354 fakesink:sink0, but it was not activated in push mode').
18356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18357 Fix state change order when there is only a semi sink (#316856)
18359 * gst/gstbus.c: (gst_bus_class_init):
18360 Use _class_peek_parent(), not _class_ref(); fix docs to say
18361 'default main context' instead of 'mainloop' where that is
18364 * gst/gstelement.c: (gst_element_commit_state),
18365 (gst_element_set_state):
18366 Fix typos in debug messages
18368 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18371 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18372 * gst/gstpluginfeature.c:
18374 various doc updates
18375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18376 change an assert into an error until it gets fixed properly
18378 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18380 * docs/gst/gstreamer-sections.txt:
18381 * docs/gst/tmpl/.cvsignore:
18382 * docs/gst/tmpl/gstelement.sgml:
18383 * docs/gst/tmpl/gstinfo.sgml:
18384 * docs/gst/tmpl/gstobject.sgml:
18385 * gst/gstelement.c:
18386 * gst/gstelement.h:
18389 * gst/gstobject.c: (gst_object_class_init):
18391 inlined 3 more biiiig doc files and added some missing docs on the fly
18393 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18395 * check/gst/.cvsignore:
18396 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18397 * gst/gstregistryxml.c: (load_plugin),
18398 (gst_registry_xml_save_plugin):
18399 put back source in registry. add checks for find_plugin.
18400 * testsuite/states/bin.c: (assert_state), (empty_bin),
18401 (test_adding_one_element), (main):
18402 * testsuite/states/locked.c: (main):
18403 some compile/run fixes
18405 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18407 * check/gst/gstvalue.c: (GST_START_TEST):
18408 fix leaks in the test itself
18410 2005-09-22 Wim Taymans <wim@fluendo.com>
18412 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18413 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18414 (gst_base_sink_query):
18415 Prepare for more accurate position reporting and query
18418 * gst/gstelement.c: (gst_element_send_event),
18419 (gst_element_set_state):
18422 2005-09-22 Wim Taymans <wim@fluendo.com>
18424 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18425 (gst_query_parse_segment):
18427 More documentation.
18428 Add segment query for future use.
18430 2005-09-22 Wim Taymans <wim@fluendo.com>
18432 * gst/gstbin.c: (gst_bin_add_func):
18433 Some more debug info.
18435 * gst/gstelement.c: (gst_element_send_event):
18436 Simplify send_event
18438 * gst/gstelement.h:
18439 Don't know how flags got broken.
18444 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18446 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18447 Add simplistic test suite for GST_TYPE_DATE serialisation and
18450 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18452 * docs/gst/gstreamer-sections.txt:
18453 * gst/gststructure.c: (gst_structure_set_valist),
18454 (gst_structure_get_date):
18455 * gst/gststructure.h:
18456 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18457 (gst_date_copy), (gst_value_compare_date),
18458 (gst_value_serialize_date), (gst_value_deserialize_date),
18459 (gst_value_transform_date_string),
18460 (gst_value_transform_string_date), (_gst_value_initialize):
18462 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18463 bunch of utility functions along with a hack that checks that
18464 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18465 is required. Part of the grand scheme in #170777.
18467 2005-09-22 Andy Wingo <wingo@pobox.com>
18469 * gst/gstconfig.h.in: Psych out gtk-doc.
18471 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18473 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18475 * tools/gst-inspect.c (print_element_list): Plug some
18476 inconsequential leaks.
18478 * gst/gstregistry.c (gst_registry_get_default): Doc.
18480 * check/gst/gstplugin.c:
18481 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18482 * gst/gstelementfactory.c (gst_element_factory_create):
18483 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18486 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18487 (gst_plugin_feature_load): Doc, don't eat refs.
18489 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18490 (gst_plugin_list_free): Doc.
18491 (gst_plugin_load_file): Doc updates.
18493 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18494 accessors returning refcounted objects, return a ref.
18496 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18497 accessor for caps. IDEMPOTENCE. Oh yes.
18499 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18501 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18503 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18504 (_gst_debug_register_funcptr):
18505 Add mutex to serialise access to the hash table with
18506 the function pointer => function name string mapping;
18507 make that hash table static scope (#316809).
18509 * gst/registries/.cvsignore:
18510 Remove left-over file.
18512 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18514 * docs/pwg/appendix-porting.xml:
18515 And something about newsegment events and caps-on-buffers to
18516 the porting guide (feel free to improve).
18518 2005-09-21 Andy Wingo <wingo@pobox.com>
18520 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18521 data and event probes on the same pad.
18522 (test_buffer_probe_once): Test that removing probes from within
18523 the probe functions works.
18525 2005-09-21 Andy Wingo <wingo@pobox.com>
18527 * check/gst/gstutils.c: New file.
18528 (test_buffer_probe_n_times): A simple buffer probe test. More to
18531 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18532 have-data::buffer, not have-data.
18533 (gst_pad_add_event_probe): Likewise for have-data::event.
18534 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18535 peer' isn't quite right yet though.
18536 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18537 (gst_pad_remove_data_probe): Change to take the guint handler_id
18538 as their arg, not the function+data, which is more glib-like.
18540 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18541 the signal emission to indicate if the data is a buffer or an
18543 (gst_pad_get_type): Initialize buffer and event quarks.
18544 (gst_pad_class_init): have-data is now a detailed signal, yes it
18547 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18549 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18550 * gst/gstutils.c: (gst_util_set_value_from_string),
18551 (gst_util_set_object_arg):
18552 Don't put functional code in g_return_if_fail() or
18553 g_return_val_if_fail() statements, otherwise things will
18554 break when G_DISABLE_CHECKS is defined during compilation.
18556 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18558 * docs/gst/tmpl/.cvsignore:
18559 * docs/gst/tmpl/gstvalue.sgml:
18562 inlied another one and added some obvious docs
18564 2005-09-21 Wim Taymans <wim@fluendo.com>
18566 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18567 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18568 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18569 (gst_fdsrc_get_property), (gst_fdsrc_create):
18570 * gst/elements/gstfdsrc.h:
18571 Properly implement fdsrc. Removed signal and timeout,
18572 better implemented somewhere else.
18574 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18576 * docs/gst/tmpl/.cvsignore:
18577 * docs/gst/tmpl/gstimplementsinterface.sgml:
18578 * gst/gstinterface.c:
18581 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18583 * docs/gst/gstreamer-sections.txt:
18584 * docs/gst/tmpl/.cvsignore:
18585 * docs/gst/tmpl/gstenumtypes.sgml:
18586 remove obsolete doc file
18588 2005-09-21 David Schleef <ds@schleef.org>
18590 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18591 little beer, fix a little leak.
18593 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18595 * docs/gst/gstreamer-docs.sgml:
18596 * docs/gst/gstreamer-sections.txt:
18597 * docs/gst/tmpl/.cvsignore:
18601 * gst/gstelement.h:
18602 * gst/gstindex.c: (gst_index_class_init):
18604 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18605 (gst_index_factory_class_init), (gst_index_factory_init),
18606 (gst_index_factory_finalize), (gst_index_factory_new),
18607 (gst_index_factory_destroy), (gst_index_factory_find),
18608 (gst_index_factory_create), (gst_index_factory_make):
18609 * gst/gstindexfactory.h:
18610 * gst/gstpluginfeature.c:
18611 * gst/gstpluginfeature.h:
18612 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18613 more docs inlined, splitted gstindex.{c,h}
18615 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18617 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18620 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18622 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18623 Set sync to FALSE by default.
18625 2005-09-20 Wim Taymans <wim@fluendo.com>
18627 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18628 (gst_base_sink_init):
18629 Make sync property settable from subclass.
18631 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18632 (gst_fake_sink_change_state):
18633 Set sync to FALSE by default.
18635 2005-09-20 Wim Taymans <wim@fluendo.com>
18637 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18638 * tools/gst-launch.c: (main):
18639 The timeout handler should have lower priority than the source
18640 so we don't timeout before popping a message with 0 timeout.
18641 Dump error messages after failed state change.
18643 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18645 * tools/gst-inspect.c: (print_element_properties_info):
18648 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18650 * check/gst/gstevent.c:
18651 * gst/elements/gstfakesink.c:
18652 * gst/elements/gstfakesink.h:
18653 remove the sync property from fakesink.
18654 has the side effect of setting sync TRUE
18655 for fakesink, which is a change. Anyone who knows how
18656 to fix this nicely in a GObject-y way, feel free.
18658 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18660 * docs/gst/gstreamer-docs.sgml:
18661 remove probe refsection
18663 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18665 * check/Makefile.am:
18666 disable valgrinding the controller test again
18667 * docs/gst/gstreamer-sections.txt:
18668 update for api-changes
18670 2005-09-20 Wim Taymans <wim@fluendo.com>
18672 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18673 (gst_base_sink_set_property), (gst_base_sink_get_property),
18674 (gst_base_sink_do_sync):
18675 * gst/base/gstbasesink.h:
18676 Added sync property to basesink to disable clock sync.
18678 2005-09-20 Andy Wingo <wingo@pobox.com>
18680 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18681 eating the caller's refcount.
18683 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18684 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18687 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18688 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18689 of GLib 2.8 public, so we can know which refcount to check in
18692 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18693 (gst_object_init): Only set the gst refcount if we're going ahead
18694 with the refcount hack.
18696 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18698 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18699 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18700 more leaks plumbed, added more debug-logging
18704 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18706 * gst/gstmessage.c:
18707 remove include of gstmemchunk.h
18709 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18711 * gst/gstclock.c: (_gst_clock_id_free):
18712 Commit from the Political Party For More Atomic CVS Commits,
18713 so that people don't waste too much of their day fishing
18714 out obvious leaks out of massive commits.
18715 Oh, and fix a pretty damn obvious leak in the memchunk
18718 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18720 * check/Makefile.am:
18721 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18722 plug mem-leak, re-add to valgrindable tests
18724 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18727 unbreak the build for those who have chronic arthritis
18728 and typing "make check" is just too taxing on the hands
18730 2005-09-20 Andy Wingo <wingo@pobox.com>
18732 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18733 really want it out, you should fix plugins at the same time.
18735 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18738 * docs/gst/gstreamer-sections.txt:
18740 added missing symbols to api docs
18741 disable ref-count hack if we have glib >= 2.8
18743 2005-09-19 David Schleef <ds@schleef.org>
18745 * docs/gst/Makefile.am: Ignore a few more internal headers
18746 * docs/gst/gstreamer-docs.sgml: Remove old sections
18747 * docs/gst/gstreamer-sections.txt: Remove old sections
18748 * docs/gst/tmpl/gstobject.sgml: update
18749 * docs/gst/tmpl/gstplugin.sgml: update
18750 * docs/gst/tmpl/gstpluginfeature.sgml: update
18751 * docs/random/ds/0.9-suggested-changes: update.
18752 * gst/Makefile.am: remove memchunk and trashstack, since they're
18754 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18755 * gst/gst.h: don't include some headers
18756 * gst/gstchildproxy.c: add gstmarshal.h
18757 * gst/gstclock.c: Don't use memchunks
18758 * gst/gstminiobject.c: Add some docs
18759 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18760 * gst/gstobject.h: same
18761 * gst/gstplugin.c: include gstmacros.h
18762 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18763 * gst/gstquery.c: don't use memchunks
18764 * gst/gstregistry.c: rename gst_registry_deinit()
18765 * gst/gstregistry.h: same
18767 2005-09-19 David Schleef <ds@schleef.org>
18769 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18770 * docs/libs/gstreamer-libs-sections.txt:
18771 * docs/libs/tmpl/gstgetbits.sgml:
18772 * docs/libs/tmpl/gstputbits.sgml:
18774 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18776 * win32/gstenumtypes.c:
18777 * win32/gstenumtypes.h:
18780 2005-09-19 Wim Taymans <wim@fluendo.com>
18782 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18783 Automatically PAUSE and RESUME a pipeline when a flushing seek
18786 2005-09-19 Andy Wingo <wingo@pobox.com>
18788 * gst/gstregistry.h: Spacing fixen.
18790 2005-09-19 Wim Taymans <wim@fluendo.com>
18792 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18793 Handle state change failure more correctly.
18795 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18797 * check/Makefile.am:
18798 * check/pipelines/cleanup.c: (run_pipeline):
18799 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18801 enable cleanup again after fixing the leak
18803 some more info on docs
18805 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18807 * check/Makefile.am:
18808 re-enable tests now that leaks are plugged
18810 * check/gst/gstbin.c:
18811 * check/gst/gstpipeline.c:
18812 add some more tests while fixing leaks
18813 * common/check.mak:
18814 make sure binaries are uptodate when valgrinding/gdbing
18816 * gst/gstelementfactory.c:
18817 remove a ref too many, and add a FIXME for when we get
18818 round to disposing of classes
18820 fix the refcounting when loading a plugin from a file and
18821 the code pretends that the pointer is the same even though
18822 of course it can change
18823 * gst/gstpluginfeature.c:
18824 unref plugins marked cached (a bit confusing as a name)
18825 as the docs state should be done
18826 various doc additions to explain refcounting
18827 * gst/gstregistry.c:
18828 * gst/gstregistryxml.c:
18831 2005-09-19 Wim Taymans <wim@fluendo.com>
18833 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18834 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18835 (send_messages), (GST_START_TEST), (gstbus_suite):
18836 * check/gst/gstpipeline.c: (GST_START_TEST):
18837 * check/pipelines/cleanup.c: (run_pipeline):
18838 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18840 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18841 (gst_bus_source_check), (gst_bus_source_dispatch),
18842 (gst_bus_create_watch), (gst_bus_add_watch_full),
18843 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18845 * tools/gst-launch.c: (event_loop):
18846 * tools/gst-md5sum.c: (event_loop):
18847 GstBusHandler -> GstBusFunc, return value has the same meaning as
18848 any other GSource (FALSE == remove source).
18849 _add_watch() and _add_watch_full() now take a MessageType mask to
18850 only handle specific types of messages.
18851 _poll() returns the GstMessage instead of the message type to avoid
18853 _have_pending() takes a MessageType mask now too.
18854 Added testsuite for multiple bus watches.
18855 Fix testsuites and applications for new bus API.
18857 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18859 * check/Makefile.am:
18860 mark a bunch of the tests as to fix until we fix them
18862 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18864 * common/check.mak:
18865 use GST_PLUGIN settings for valgrind tests as well, so we're
18866 valgrinding the correct thing
18867 * gst/gst.c: (init_post):
18870 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18872 * gst/gst.c: (init_post), (gst_deinit):
18873 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18874 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18875 * gst/gstindex.c: (gst_index_factory_class_init),
18876 (gst_index_factory_finalize):
18877 * gst/gstobject.c: (gst_object_dispose):
18878 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18879 (gst_plugin_load_file), (gst_plugin_desc_free):
18880 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18881 (gst_plugin_feature_finalize):
18882 * gst/gstregistry.c: (gst_registry_class_init),
18883 (gst_registry_init), (gst_registry_finalize),
18884 (gst_registry_get_default), (gst_registry_deinit):
18885 * gst/gstregistry.h:
18886 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18887 various cleanups and memleak plugging. make valgrind is happy now.
18889 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18891 * common/check.mak:
18892 add a check-valgrind target
18894 2005-09-18 David Schleef <ds@schleef.org>
18896 * tools/gst-inspect.c: Revert the GOption code.
18898 2005-09-17 David Schleef <ds@schleef.org>
18900 * check/Makefile.am: Fix environment variables.
18901 * check/gst/gstplugin.c: Fix for API changes.
18902 * tools/gst-inspect.c: Fix for API changes.
18903 * tools/gst-xmlinspect.c: Fix for API changes.
18904 * gst/gstelementfactory.c:
18907 * gst/gstpluginfeature.c:
18908 * gst/gstpluginfeature.h:
18909 * gst/gstregistry.c:
18910 * gst/gstregistry.h:
18911 * gst/gstregistryxml.c:
18912 * gst/gsttypefind.c:
18913 * gst/gsttypefindfactory.c:
18914 * gst/indexers/gstfileindex.c:
18915 * gst/indexers/gstmemindex.c:
18916 * gst/schedulers/Makefile.am:
18917 Change registry to keep track of both plugins and features,
18918 removing the feature tracking from plugins themselves.
18920 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18922 * check/Makefile.am:
18923 * tools/gst-register.1.in:
18924 remove gst-register
18926 2005-09-15 David Schleef <ds@schleef.org>
18928 * check/gst/gstplugin.c:
18929 * gst/gstelementfactory.c:
18931 * gst/gstpluginfeature.c:
18932 * gst/gstregistry.c:
18933 Getting tired of debugging. Disabled all the unreffing of
18934 plugins and features, which fixes the segfaults, but of
18935 course leaks like crazy. At least playbin works.
18937 2005-09-15 David Schleef <ds@schleef.org>
18939 * check/gst/gstplugin.c: (register_check_elements),
18940 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18942 * gst/elements/gsttypefindelement.c: Fix refcounting.
18943 * gst/gsttypefind.c:
18944 * gst/gsttypefindfactory.c:
18945 * gst/gsttypefindfactory.h:
18947 2005-09-15 David Schleef <ds@schleef.org>
18949 * gst/gstindex.c: get refcounting correct.
18950 * gst/gstregistry.c: Handle the case where a feature/plugin is
18953 2005-09-15 David Schleef <ds@schleef.org>
18955 * check/Makefile.am:
18956 * check/gst/gstplugin.c: Add test
18957 * gst/gstplugin.c: Fix problems noticed by testsuite
18959 * gst/gstregistry.c:
18960 * gst/gstregistry.h:
18962 2005-09-15 David Schleef <ds@schleef.org>
18964 * gst/gstplugin.c: Implement semi-decent recounting and locking
18965 in plugins and plugin features.
18967 * gst/gstpluginfeature.c:
18968 * gst/gstpluginfeature.h:
18969 * gst/gstregistry.c:
18971 2005-09-15 Michael Smith <msmith@fluendo.com>
18973 * gst/gstregistry.c: (gst_registry_get_feature_list):
18974 Implement this. Makes oggdemux work; decodebin still broken.
18976 2005-09-14 David Schleef <ds@schleef.org>
18978 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18980 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18981 * gst/check/Makefile.am:
18982 * libs/gst/controller/Makefile.am:
18983 * libs/gst/dataprotocol/Makefile.am:
18985 2005-09-14 David Schleef <ds@schleef.org>
18987 * configure.ac: Remove getbits library. Nothing uses it, and
18988 it should be in something like liboil if someone did want
18990 * libs/gst/Makefile.am:
18991 * libs/gst/getbits/Makefile.am:
18992 * libs/gst/getbits/gbtest.c:
18993 * libs/gst/getbits/getbits.c:
18994 * libs/gst/getbits/getbits.h:
18995 * libs/gst/getbits/gstgetbits_generic.c:
18996 * libs/gst/getbits/gstgetbits_i386.s:
18997 * libs/gst/getbits/gstgetbits_inl.h:
18999 2005-09-14 David Schleef <ds@schleef.org>
19001 * gst/Makefile.am: Dist glib-compat.h
19003 2005-09-14 David Schleef <ds@schleef.org>
19005 * configure.ac: Remove gst/registries, since it's no longer used.
19006 * gst/registries/Makefile.am:
19007 * gst/registries/gstlibxmlregistry.c:
19008 * gst/registries/gstlibxmlregistry.h:
19009 * gst/registries/gstxmlregistry.c:
19010 * gst/registries/gstxmlregistry.h:
19011 * gst/registries/registrytest.c:
19013 2005-09-14 David Schleef <ds@schleef.org>
19015 * gst/glib-compat.h:
19016 * gst/gstregistryxml.c:
19017 Convergence is near. Seriously.
19019 2005-09-14 David Schleef <ds@schleef.org>
19021 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19022 * gst/glib-compat.h:
19023 Attempt #4 to appease the buildbots.
19025 2005-09-14 David Schleef <ds@schleef.org>
19027 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19030 2005-09-14 David Schleef <ds@schleef.org>
19032 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19035 2005-09-14 David Schleef <ds@schleef.org>
19037 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19040 2005-09-14 David Schleef <ds@schleef.org>
19042 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19043 * gst/glib-compat.h: Add some functions that are in newer versions
19044 of glib than we care to require.
19045 * gst/gstregistryxml.c: Use them.
19047 2005-09-14 David Schleef <ds@schleef.org>
19049 * po/POTFILES.in: remove gst-register.c
19051 2005-09-14 David Schleef <ds@schleef.org>
19053 * docs/gst/gstreamer-docs.sgml:
19054 * docs/gst/gstreamer-sections.txt:
19055 * docs/gst/gstreamer.types:
19056 * docs/gst/tmpl/gstelement.sgml:
19057 * docs/gst/tmpl/gstplugin.sgml:
19058 * docs/gst/tmpl/gstpluginfeature.sgml:
19059 Documentation updates for registry changes.
19061 2005-09-14 David Schleef <ds@schleef.org>
19063 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19064 because we don't require glib-2.8.
19066 2005-09-14 David Schleef <ds@schleef.org>
19068 * gst/gstregistryxml.c: Added. Essentially moved out of the
19069 registries directory.
19071 2005-09-14 David Schleef <ds@schleef.org>
19073 * check/Makefile.am:
19074 * check/generic/states.c:
19078 * gst/gst_private.h:
19079 * gst/gstelementfactory.c:
19084 * gst/gstpluginfeature.c:
19085 * gst/gstpluginfeature.h:
19086 * gst/gstregistry.c:
19087 * gst/gstregistry.h:
19088 * gst/gstregistrypool.c: remove
19089 * gst/gstregistrypool.h: remove
19090 * gst/gsttypefind.c:
19091 * gst/gsttypefindfactory.c:
19093 * tools/Makefile.am:
19094 * tools/gst-compprep.c:
19095 * tools/gst-inspect.c:
19096 * tools/gst-register.c: remove
19097 * tools/gst-xmlinspect.c:
19098 Registry rewrite. Changes registry from being a file created
19099 by a tool into a simple cache file created automatically by
19100 libgstreamer. Removed gst-register (because it's no longer
19101 needed). Remove registry pools, because we only have one
19102 registry implementation (XML). Fix up other subsystems as
19105 2005-09-13 Michael Smith <msmith@fluendo.com>
19107 * gst/gstconfig.h.in:
19108 Don't Use windows linking attributes for MinGW. Fixes #316157
19110 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19112 * gst/gstutils.c: (set_state_async_thread_func),
19113 (gst_element_set_state_async):
19114 Apparently people think it's better if this function doesn't
19115 try to set the state to whatever state was asked for on the first
19116 call to this function for any object. Seriously.
19118 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19120 * check/gst/gstpipeline.c: (GST_START_TEST):
19121 * docs/gst/gstreamer-sections.txt:
19122 * gst/gstutils.c: (set_state_async_thread_func),
19123 (gst_element_set_state_async):
19125 add a "gst_element_set_state_async" method that
19126 sets the state and starts a thread to make sure the state
19127 change completes as best as it can
19129 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19131 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19132 codify design+behaviour in testsuite after discussion
19134 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19136 * docs/gst/tmpl/gstelement.sgml:
19137 * docs/manual/appendix-quotes.xml:
19139 * gst/gstelement.c: (gst_element_set_state):
19142 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19144 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19145 (gst_base_transform_prepare_output_buf),
19146 (gst_base_transform_handle_buffer):
19147 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19148 (gst_capsfilter_prepare_buf):
19149 Remove the requirement for sub-classes to call the parent
19150 implementation of prepare_output_buffer with a wrapper function.
19152 * gst/gsttaglist.h:
19153 * gst/gsttagsetter.h:
19154 Fix #define wrapper
19156 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19158 * docs/gst/gstreamer-sections.txt:
19161 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19163 * docs/gst/gstreamer-sections.txt:
19164 * docs/gst/tmpl/gstelement.sgml:
19165 * docs/gst/tmpl/gstplugin.sgml:
19166 * gst/gstminiobject.c:
19168 docs now stop throwing warnings
19170 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19172 * docs/gst/gstreamer-sections.txt:
19173 * docs/gst/gstreamer.types:
19174 * docs/gst/tmpl/gstpad.sgml:
19175 * docs/gst/tmpl/gsttypes.sgml:
19176 * gst/base/gstadapter.h:
19177 * gst/base/gstbasesink.h:
19178 * gst/base/gstbasesrc.h:
19184 * gst/gstelement.h:
19186 * gst/gstmessage.h:
19188 * gst/gststructure.c:
19189 * gst/registries/gstlibxmlregistry.h:
19190 various documentation fixes
19192 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19194 * docs/gst/gstreamer-sections.txt:
19195 * docs/gst/tmpl/gstvalue.sgml:
19196 rearrange gstvalue section
19197 * gst/gstutils.c: (gst_element_state_get_name):
19199 * gst/gstvalue.c: (_gst_value_initialize):
19203 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19205 * check/gst-libs/controller.c:
19206 Header include fix.
19207 * gst/base/gstbasetransform.c:
19208 (gst_base_transform_default_prepare_buf),
19209 (gst_base_transform_handle_buffer):
19210 * gst/base/gstbasetransform.h:
19211 Some more basetransform changes and fixes to enable sub-classes
19212 that modify buffer metadata only.
19213 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19214 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19215 (gst_capsfilter_prepare_buf):
19216 If the output pad has fixed allowed caps and input buffers
19217 don't have any, set the fixed caps on outgoing buffers.
19219 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19220 * check/elements/identity.c: (GST_START_TEST):
19221 Make the error a little clearer when the test fails because
19222 identity made a copy of the buffer.
19223 * docs/gst/gstreamer-sections.txt:
19224 New symbols in gstbasetransform.h
19225 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19226 (gst_base_transform_init), (gst_base_transform_transform_size),
19227 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19228 (gst_base_transform_default_prepare_buf),
19229 (gst_base_transform_get_unit_size),
19230 (gst_base_transform_buffer_alloc),
19231 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19232 (gst_base_transform_change_state),
19233 (gst_base_transform_set_passthrough),
19234 (gst_base_transform_set_in_place),
19235 (gst_base_transform_is_in_place):
19236 * gst/base/gstbasetransform.h:
19237 Change BaseTransform to separate in_place operate from same_caps
19238 output. in_place implies that the element can perform the transform
19239 on incoming buffers in-place, even if the caps on the output are
19241 Sub-class elements can now implement special buffer allocation
19242 methods for outgoing buffers if they wish to.
19243 Big documentation addition.
19244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19245 * gst/elements/gstelements.c:
19246 Changes for basetransform modifications.
19247 * gst/elements/Makefile.am:
19248 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19249 Compile fix. Extra debug output.
19251 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19253 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19255 add tests for valid pad naming
19256 * gst/check/gstcheck.c: (gst_check_log_message_func),
19257 (gst_check_log_critical_func):
19259 remove printing of code, it is fragile when the code contains
19260 % and the line number is enough info
19261 * gst/check/gstcheck.h:
19262 * gst/gstpad.c: (gst_pad_template_new):
19265 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19268 say what CHECK flags we use
19269 * docs/libs/gstreamer-libs.types:
19270 * libs/gst/controller/Makefile.am:
19271 * libs/gst/controller/gst-controller.c:
19272 * libs/gst/controller/gst-controller.h:
19273 * libs/gst/controller/gst-helper.c:
19274 * libs/gst/controller/gst-interpolation.c:
19275 * libs/gst/controller/gstcontroller.c:
19276 * libs/gst/controller/gsthelper.c:
19277 * libs/gst/controller/gstinterpolation.c:
19278 * tools/gst-inspect.c: (print_plugin_info):
19279 we don't use dashes in header names
19281 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19283 * check/Makefile.am:
19284 * check/gst/.cvsignore:
19285 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19286 (gst_pipeline_suite), (main):
19287 adding a test for pipelines and state changes
19288 * gst/gstutils.c: (get_state_func):
19290 * gstreamer.spec.in:
19293 2005-09-08 Michael Smith <msmith@fluendo.com>
19295 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19296 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19297 (gst_file_src_is_seekable), (gst_file_src_get_size),
19298 (gst_file_src_start):
19299 * gst/elements/gstfilesrc.h:
19300 Various fixes for unseekable, unmmapable, and non-normal files, so
19301 that fallback to read() rather than mmap() works.
19302 * gst/gstevent.c: (gst_event_new_newsegment):
19303 Allow newsegment events with segment_start == segment_end, as will
19304 correctly happen if you use filesrc on a zero-size file, for
19307 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19309 * gst/gstplugin.c: (gst_plugin_load_file):
19310 Call g_module_close when we don't load the module
19312 * gst/registries/gstlibxmlregistry.c:
19313 (gst_xml_registry_get_property):
19314 Port leak fix from 0.8
19316 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19318 * docs/gst/gstreamer-docs.sgml:
19319 * docs/gst/tmpl/.cvsignore:
19320 * docs/gst/tmpl/gsttrace.sgml:
19321 * docs/gst/tmpl/gsttrashstack.sgml:
19324 * gst/gstelement.h:
19326 * gst/gstmessage.c:
19327 * gst/gstmessage.h:
19330 * gst/gsttaginterface.c:
19331 * gst/gsttaginterface.h:
19332 * gst/gsttaglist.c:
19333 * gst/gsttaglist.h:
19334 * gst/gsttagsetter.c:
19335 * gst/gsttagsetter.h:
19338 * gst/gsttrashstack.c:
19339 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19340 inlined docs for gsttrace, gsttrashstack
19342 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19345 * gst/elements/gstbufferstore.h:
19346 * gst/elements/gsttypefindelement.c:
19347 * gst/elements/gsttypefindelement.h:
19349 * gst/gsttypefind.c:
19350 * gst/gsttypefind.h:
19351 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19352 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19353 (gst_type_find_factory_dispose),
19354 (gst_type_find_factory_unload_thyself),
19355 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19356 (gst_type_find_factory_get_caps),
19357 (gst_type_find_factory_get_extensions),
19358 (gst_type_find_factory_call_function):
19359 * gst/gsttypefindfactory.h:
19360 * gst/registries/gstlibxmlregistry.c:
19361 * gst/registries/gstxmlregistry.c:
19362 splitted gsttypefind into gsttypefind, gsttypefindfactory
19364 2005-09-07 Andy Wingo <wingo@pobox.com>
19366 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19367 condition whereby the pad's task function is entered before the
19368 pad_mode variable was set.
19370 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19372 * gst/gstpad.c: (gst_pad_alloc_buffer):
19373 Catch misbehaving pad_alloc functions that don't
19374 set up caps and do it for them.
19376 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19378 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19379 test for pipe!=NULL
19380 * docs/gst/tmpl/.cvsignore:
19381 * docs/gst/tmpl/gstmemchunk.sgml:
19382 * docs/gst/tmpl/gstparse.sgml:
19383 * docs/gst/tmpl/gsttaglist.sgml:
19384 * docs/gst/tmpl/gsttagsetter.sgml:
19385 * docs/gst/tmpl/gsttypefind.sgml:
19386 * docs/gst/tmpl/gsttypefindfactory.sgml:
19387 * gst/gstmemchunk.c:
19390 * gst/gsttaginterface.c:
19391 * gst/gsttypefind.c:
19392 * gst/gsttypefind.h:
19395 === release 0.9.2 ===
19397 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19402 releasing 0.9.2, "South"
19404 2005-09-05 Andy Wingo <wingo@pobox.com>
19406 * gst/registries/gstxmlregistry.h:
19407 * gst/registries/gstxmlregistry.c: Um... resurrect...
19409 * gst/registries/gstxmlregistry.h:
19410 * gst/registries/gstxmlregistry.c: and update to newer API.
19411 Incidentally they should be a bit faster now that they don't have
19414 2005-09-05 Andy Wingo <wingo@pobox.com>
19416 * gst/registries/gstxmlregistry.h:
19417 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19418 replaced by the libxml registry a while back
19420 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19422 * docs/gst/tmpl/gstplugin.sgml:
19423 * gst/elements/gstelements.c:
19425 * gst/gstplugin.c: (gst_plugin_register_func),
19426 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19427 (gst_plugin_get_source):
19429 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19430 (gst_xml_registry_save_plugin):
19431 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19432 (gst_xml_registry_save_plugin):
19433 * tools/gst-inspect.c: (print_plugin_info):
19434 add a "source" plugin description field, to represent the source
19435 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19436 will set it to PACKAGE, which is automake's idea of the name of
19437 the source project.
19439 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19444 * docs/Makefile.am:
19445 * docs/faq/Makefile.am:
19446 * docs/gst/tmpl/gstelement.sgml:
19447 * docs/gst/tmpl/gsttypes.sgml:
19448 * docs/htmlinstall.mak:
19449 * docs/manual/Makefile.am:
19450 * docs/pwg/Makefile.am:
19451 reorganize doc build a little
19452 split out docbook and gtk-doc stuff
19453 have two separate --enable's and enable them through autogen
19454 but disable by default in configure (to be similar to other
19456 * gstreamer.spec.in:
19457 clean up docs install
19475 translation updates
19477 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19479 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19482 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19483 (gst_fake_sink_change_state):
19484 Make state change function thread-safe.
19486 * gst/gstpad.c: (gst_pad_alloc_buffer):
19487 Set offset on generic buffer allocated by fallback.
19489 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19491 * docs/gst/gstreamer-sections.txt:
19492 * docs/gst/tmpl/gstelement.sgml:
19494 * libs/gst/controller/gst-controller.c:
19495 (gst_controlled_property_set_interpolation_mode),
19496 (gst_controlled_property_new),
19497 (gst_controller_find_controlled_property):
19498 run the wingo-magic script against the docs
19500 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19502 * docs/gst/gstreamer-docs.sgml:
19503 * docs/gst/gstreamer-sections.txt:
19504 * docs/gst/tmpl/.cvsignore:
19505 * docs/gst/tmpl/gstelementdetails.sgml:
19506 * docs/gst/tmpl/gstelementfactory.sgml:
19509 * gst/gstelementfactory.c:
19510 * gst/gstelementfactory.h:
19511 merged elementdetails docs into elementfactory docs
19514 2005-09-02 Andy Wingo <wingo@pobox.com>
19516 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19517 consider this enum an enum and not a flags.
19519 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19521 * docs/gst/gstreamer-docs.sgml:
19522 * docs/gst/tmpl/.cvsignore:
19523 * docs/gst/tmpl/gstghostpad.sgml:
19524 * docs/gst/tmpl/gstiterator.sgml:
19525 * docs/gst/tmpl/gstmacros.sgml:
19526 * docs/gst/tmpl/gstrealpad.sgml:
19527 * docs/gst/tmpl/gstregistry.sgml:
19528 * docs/gst/tmpl/gstregistrypool.sgml:
19529 * docs/gst/tmpl/gststructure.sgml:
19530 * docs/gst/tmpl/gstsystemclock.sgml:
19531 * docs/gst/tmpl/gsttrace.sgml:
19532 * gst/gstghostpad.c:
19534 * gst/gstmemchunk.c:
19535 * gst/gstmemchunk.h:
19537 * gst/gstregistry.c:
19538 * gst/gstregistrypool.c:
19539 * gst/gststructure.c:
19540 * gst/gstsystemclock.c:
19543 2005-09-02 Andy Wingo <wingo@pobox.com>
19545 * gst/gstelement.h (GstState): Renamed from GstElementState,
19546 changed to be a normal enum instead of flags.
19547 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19548 munged to be GST_STATE_CHANGE_*.
19549 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19550 work with the new state representation.
19551 (GstStateChange): New enumeration of possible state transitions.
19552 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19553 (GstElementClass::change_state): Pass the GstStateChange along as
19554 an argument. Helps language bindings, so they don't have to use
19555 tricky lock-needing macros like GST_STATE_CHANGE ().
19557 * scripts/update-states (file): New script. Run it on a file to
19558 update it for state naming and API changes. Updates files in
19561 * All files updated for the new API.
19563 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19565 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19566 * gst/gstutils.c: (gst_util_set_value_from_string),
19567 (gst_util_set_object_arg):
19568 fix a bunch of unchecked return values
19569 * tools/gst-complete.c: (main):
19570 * gstreamer.spec.in:
19573 2005-09-01 Wim Taymans <wim@fluendo.com>
19575 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19576 (gst_base_sink_event), (gst_base_sink_do_sync),
19577 (gst_base_sink_handle_event):
19578 * gst/base/gstbasesink.h:
19579 Handle newsegments more correctly.
19584 * gst/gstevent.c: (gst_event_new_newsegment):
19585 A newsegment cannot have a start_time of -1
19587 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19589 * win32/gstenumtypes.c:
19590 * win32/gstenumtypes.h:
19593 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19595 * libs/gst/controller/gst-controller.c:
19596 (gst_controlled_property_set_interpolation_mode),
19597 (gst_controlled_property_new):
19598 fixed boolean again
19600 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19602 * docs/faq/gst-uninstalled:
19607 * gst/gstutils.c: (gst_element_link_filtered):
19609 add gst_element_link_filtered
19611 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19613 * docs/gst/gstreamer-docs.sgml:
19614 * docs/gst/gstreamer-sections.txt:
19615 * docs/gst/tmpl/.cvsignore:
19616 * docs/gst/tmpl/gsterror.sgml:
19617 * docs/gst/tmpl/gstfilter.sgml:
19618 * docs/gst/tmpl/gsturihandler.sgml:
19619 * docs/gst/tmpl/gsturitype.sgml:
19620 * docs/gst/tmpl/gstutils.sgml:
19621 * docs/gst/tmpl/gstxml.sgml:
19626 * gst/gsturitype.c:
19629 inlined more docs, fixed double id-ref
19631 2005-08-31 Wim Taymans <wim@fluendo.com>
19633 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19634 (gst_base_transform_handle_buffer):
19635 Passthrough elements don't need the caps as they don't care.
19637 2005-08-31 Wim Taymans <wim@fluendo.com>
19639 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19640 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19641 Don't leak refcounts on buffers.
19643 2005-08-31 Wim Taymans <wim@fluendo.com>
19645 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19646 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19647 (gst_base_transform_chain), (gst_base_transform_change_state):
19648 * gst/base/gstbasetransform.h:
19649 Handle the case where we are not negotiated more gracefully.
19651 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19653 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19654 (gst_file_src_map_region):
19655 Set READONLY flag on mmap'ed buffers, otherwise
19656 gst_buffer_make_writable() won't work properly (#314708).
19658 2005-08-31 Wim Taymans <wim@fluendo.com>
19660 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19661 passthrough elements can even do inplace on non writable
19662 buffers (as they don't touch them).
19664 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19666 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19667 (gst_test_mono_source_set_property),
19668 (gst_test_mono_source_class_init), (GST_START_TEST),
19669 (gst_controller_suite):
19670 more tests (hehe I have the most)
19672 describe popping messages whenusing mulltiple sources
19673 * libs/gst/controller/gst-controller.c:
19674 (gst_controlled_property_set_interpolation_mode),
19675 (gst_controlled_property_new):
19676 * libs/gst/controller/gst-controller.h:
19677 * libs/gst/controller/gst-interpolation.c:
19678 implement boolean properties
19680 2005-08-31 Wim Taymans <wim@fluendo.com>
19682 * gst/gstminiobject.c: (gst_mini_object_ref):
19683 Cannot assert that the refcount has to be positive
19684 since a disposed object can be resurrected.
19686 2005-08-31 Wim Taymans <wim@fluendo.com>
19688 * gst/gstpad.c: (gst_pad_init):
19689 Revert change, need to first fix badly behaving
19692 2005-08-30 Wim Taymans <wim@fluendo.com>
19694 * check/elements/fakesrc.c: (setup_fakesrc):
19695 * check/elements/identity.c: (setup_identity):
19696 Activate pads before using them.
19698 2005-08-30 Wim Taymans <wim@fluendo.com>
19700 * gst/base/gstadapter.c: (gst_adapter_flush):
19701 Flushing out 0 bytes is ok for this function.
19703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19704 no newsegment gives a warning and sets the start/stop to
19707 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19708 (gst_base_transform_set_passthrough):
19711 * gst/gstminiobject.c: (gst_mini_object_ref):
19712 Check refcount here too.
19714 * gst/gstpad.c: (gst_pad_init):
19715 Pads are initially flushing and refusing data.
19717 * gst/gstutils.c: (gst_element_link_pads_filtered):
19718 When adding a capsfilter element make sure it has the
19719 same state as the parent bin.
19721 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19723 * docs/gst/tmpl/.cvsignore:
19724 * docs/gst/tmpl/gstformat.sgml:
19725 * docs/gst/tmpl/gstversion.sgml:
19729 * gst/gstversion.h.in:
19730 more docs and two more inlined
19732 2005-08-30 Wim Taymans <wim@fluendo.com>
19734 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19735 Don't sync to clock.
19737 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19739 * docs/gst/gstreamer-sections.txt:
19740 ultral33t func10ns deserve to appear in the docs actually
19741 * docs/gst/tmpl/.cvsignore:
19742 * docs/gst/tmpl/gstcompat.sgml:
19743 * docs/gst/tmpl/gstconfig.sgml:
19744 * gst/check/gstcheck.c:
19746 * gst/gstconfig.h.in:
19749 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19751 * docs/gst/tmpl/.cvsignore:
19752 * docs/gst/tmpl/gstquery.sgml:
19753 * docs/gst/tmpl/gstutils.sgml:
19756 inlined and extended docs
19758 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19760 * check/gst-libs/controller.c: (GST_START_TEST),
19761 (gst_controller_suite):
19763 * docs/gst/tmpl/gstutils.sgml:
19764 * docs/libs/gstreamer-libs-sections.txt:
19765 * docs/libs/tmpl/gstdataprotocol.sgml:
19767 * examples/controller/audio-example.c: (main):
19768 controller example works now
19771 * tools/gst-inspect.c: (print_element_properties_info):
19772 show param spec flags
19774 2005-08-29 Andy Wingo <wingo@pobox.com>
19776 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19778 2005-08-28 Andy Wingo <wingo@pobox.com>
19780 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19781 as having two arguments instead of just one. Allows superclasses
19782 to access information on subclasses -- see the terrible for() loop
19783 in gtype.c:g_type_create_instance for the reason why. All callers
19786 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19788 * docs/design/part-messages.txt:
19790 * docs/gst/tmpl/.cvsignore:
19791 * docs/gst/tmpl/gstcaps.sgml:
19792 * docs/gst/tmpl/gstclock.sgml:
19798 * gst/gstmessage.c:
19799 added descriptions for bus and message
19800 inline caps and clock docs
19802 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19804 * gst/gstmessage.c:
19805 * gst/gstmessage.h:
19808 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19810 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19813 2005-08-26 Andy Wingo <wingo@pobox.com>
19815 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19816 element_set_state's return val.
19817 (test_2_elements): Add test that's been disabled for months.
19819 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19820 can-activate-pull properties.
19822 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19823 can-activate-pull properties. Implement is_seekable so fakesrc can
19824 operate in pull mode.
19826 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19828 (gst_base_sink_activate, gst_base_sink_activate_pull)
19829 (gst_base_sink_activate_push): Make activation mode choosing work.
19831 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19832 is right. Make pull mode work. Post an eos before pausing in pull
19834 (gst_base_sink_change_state): Pay attention to the core's
19835 change_state() return val.
19837 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19838 has-getrange properties. Cleanups.
19840 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19841 has_getrange and replace with can_activate_pull and
19844 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19845 locking comments. Remove has_loop, has_chain and replace with
19846 can_activate_pull and can_activate_push.
19848 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19851 * examples/Makefile.am:
19852 * examples/metadata/Makefile.am:
19853 * examples/metadata/read-metadata.c: (message_loop),
19854 (have_pad_handler), (make_pipeline), (print_tag), (main):
19855 Add metadata reading example that loops over a list of filenames,
19856 dumping any tags found.
19858 * gst/gstbus.c: (gst_bus_dispose):
19859 * gst/gstelement.c: (gst_element_dispose):
19860 Release a few potentially-held references in dispose.
19862 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19864 * docs/gst/tmpl/gstminiobject.sgml:
19865 do *not* add tmpl/*.sgml files to CVS!
19867 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19869 * libs/gst/bytestream/.cvsignore:
19870 * libs/gst/bytestream/Makefile.am:
19871 * libs/gst/bytestream/adapter.c:
19872 * libs/gst/bytestream/adapter.h:
19873 * libs/gst/bytestream/bytestream.c:
19874 * libs/gst/bytestream/bytestream.h:
19875 * libs/gst/bytestream/filepad.c:
19876 * libs/gst/bytestream/filepad.h:
19877 removing obsolete files
19879 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19881 * docs/gst/gstreamer-docs.sgml:
19882 * docs/libs/gstreamer-libs-docs.sgml:
19883 disabed additional index entries again, as this makes docs-gen just
19884 slow and they aren't useful yet
19885 * docs/libs/gstreamer-libs-sections.txt:
19886 little -section.txt cleanup for libs
19888 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19890 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19891 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19892 fix up some debugging
19893 (gst_base_transform_get_unit_size),
19894 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19895 (gst_base_transform_handle_buffer):
19896 * gst/base/gstbasetransform.h:
19897 handle and store timed NEWSEGMENT events so that subclasses that
19898 calculate time by counting samples have a segment_start time they
19899 need to add to their timestamps - see audioresample
19901 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19904 removed ';' from the end of macro defs
19905 * docs/gst/gstreamer-docs.sgml:
19906 * docs/gst/gstreamer-sections.txt:
19907 * docs/gst/tmpl/.cvsignore:
19909 * gst/gstelement.c: (gst_element_class_init),
19910 (gst_element_set_state), (activate_pads),
19911 (gst_element_save_thyself):
19912 * gst/gstevent.c: (gst_event_new_newsegment):
19914 * gst/gstiterator.c:
19915 * gst/gstiterator.h:
19918 * gst/gstutils.c: (gst_pad_query_convert):
19920 fixed parameter name mismatches between source, header and docs
19921 added some more docs, resolved the last batch of unused elements in
19922 docs (now someone needs to doc them)
19924 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19926 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19927 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19928 don't walk through the plugins backwards. Where is all this
19929 reversed logic coming from ?
19931 2005-08-25 Wim Taymans <wim@fluendo.com>
19933 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19934 (gst_base_transform_transform_size),
19935 (gst_base_transform_configure_caps),
19936 (gst_base_transform_get_unit_size),
19937 (gst_base_transform_buffer_alloc),
19938 (gst_base_transform_change_state):
19939 * gst/base/gstbasetransform.h:
19940 Cache caps unit_size.
19941 Make sure we cannot negotiate up and downstream at the
19944 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19946 * gst/gst.c: (init_pre), (init_post):
19947 register the installed plugin path after the env var
19948 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19949 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19950 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19951 directories, so the tests can prefer uninstalled over installed
19953 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19955 * gst/base/gstbasetransform.h:
19960 2005-08-25 Wim Taymans <wim@fluendo.com>
19962 * gst/gstbin.c: (bin_bus_handler):
19963 Be a bit more conservative about the posted message.
19965 * gst/gstbus.c: (gst_bus_post):
19966 Some cleanups, warn wrong return values.
19968 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19970 * check/gst/gstbin.c: (GST_START_TEST):
19971 * gst/gstbin.c: (bin_bus_handler):
19972 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19973 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19974 (gst_message_new_warning), (gst_message_new_tag),
19975 (gst_message_new_state_changed), (gst_message_new_segment_start),
19976 (gst_message_new_segment_done), (gst_message_new_custom):
19977 * gst/gstmessage.h:
19978 * tools/gst-launch.c: (event_loop):
19979 * tools/gst-md5sum.c: (event_loop):
19980 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19982 2005-08-25 Wim Taymans <wim@fluendo.com>
19984 * check/generic/states.c: (GST_START_TEST):
19985 Cleanup can be done at the end.
19987 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19988 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19989 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19990 Oh boy.. Thanks for finding this, Thomas.
19992 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19994 * docs/gst/gstreamer.types:
19995 added missing types
19997 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19999 * docs/gst/gstreamer-docs.sgml:
20000 * docs/gst/gstreamer-sections.txt:
20001 * docs/gst/tmpl/.cvsignore:
20003 * gst/gstiterator.c:
20005 * gst/registries/gstxmlregistry.h:
20006 added missing classes and symbols (123 more to go)
20007 removed removed symbols from section file
20008 fixed many doc-comments
20010 2005-08-24 Wim Taymans <wim@fluendo.com>
20012 * check/generic/states.c: (GST_START_TEST):
20013 Make sure all tasks are stopped.
20015 * check/gst/gstbin.c: (GST_START_TEST):
20016 Unref after usage for proper valgrinding.
20018 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20019 Really wait for the task to stop before destroying the
20022 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20023 (gst_queue_src_activate_push):
20024 Small cleanups. Don't stop the task when we did not start
20027 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20028 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20029 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20032 Protect the stream lock with the object lock.
20033 Disallow setting the stream lock when running.
20034 Add cleanup_all to wait for the threadpool to finish.
20035 Remove code to autoallocate a mutex if none was provided.
20036 Add _join() to wait for a task to stop.
20037 Protect the thread pool with a global lock.
20039 2005-08-24 Wim Taymans <wim@fluendo.com>
20041 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20042 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20043 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20044 * gst/base/gstbasesink.h:
20045 Handle newsegment events correctly.
20046 Drop buffers out of the segment range.
20048 2005-08-22 Andy Wingo <wingo@pobox.com>
20050 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20051 macro, implements an interface and gstimplementsinterface for a
20054 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20056 * check/Makefile.am:
20057 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20058 add a test that does a bunch of state changes on elements
20059 needs some fixing for valgrind
20060 * check/states/sinks.c: (gst_object_suite):
20063 add prototype for gst_caps_is_equal_fixed
20065 * gst/gstregistrypool.c:
20068 2005-08-24 Andy Wingo <wingo@pobox.com>
20070 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20071 convert a negative value. Doesn't make much sense. Mostly this is
20072 here to force callers to ensure -1 maps to -1.
20074 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20076 * docs/pwg/advanced-types.xml:
20077 Well done to Michael for catching my deliberate introduction
20078 of this spelling mistake.
20079 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20080 * gst/gstelement.h:
20081 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20082 unlink pads before removing the element from the bin.
20084 2005-08-24 Andy Wingo <wingo@pobox.com>
20086 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20087 the same thing as GST_DEBUG=*:4.
20088 (parse_debug_level, parse_debug_category): New helper parsers.
20090 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20092 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20093 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20094 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20095 (gst_base_transform_buffer_alloc),
20096 (gst_base_transform_handle_buffer):
20097 use gboolean return values and pointers to size so we can use the
20098 full GST_BUFFER_SIZE range (guint) for buffer sizes
20099 use GstPadDirection for transform_caps
20100 * gst/base/gstbasetransform.h:
20101 rename get_size to get_unit_size since that's what it is
20102 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20103 use GstPadDirection for transform_caps
20104 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20106 cleanup and debugging
20108 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20110 * gst/gstelement.c: (gst_element_class_init),
20111 (gst_element_set_state), (activate_pads),
20112 (gst_element_save_thyself):
20113 * tools/gst-compprep.c: (main):
20114 * tools/gst-inspect.c: (print_element_properties_info):
20115 * tools/gst-xmlinspect.c: (print_element_properties):
20116 Fixed long standing mem-leak
20118 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20120 * check/gst/gstbin.c: (GST_START_TEST):
20121 * gst/gstbin.c: (bin_bus_handler):
20122 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20123 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20124 (gst_message_new_warning), (gst_message_new_tag),
20125 (gst_message_new_state_changed), (gst_message_new_segment_start),
20126 (gst_message_new_segment_done), (gst_message_new_custom):
20127 * gst/gstmessage.h:
20128 * tools/gst-launch.c: (event_loop):
20129 * tools/gst-md5sum.c: (event_loop):
20130 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20131 that applications can sensibly post custom messages with references
20132 to their own objects.
20134 2005-08-24 Andy Wingo <wingo@pobox.com>
20136 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20139 2005-08-24 Wim Taymans <wim@fluendo.com>
20141 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20142 (gst_base_transform_transform_caps),
20143 (gst_base_transform_transform_size),
20144 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20145 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20146 (gst_base_transform_handle_buffer):
20147 * gst/base/gstbasetransform.h:
20148 Many fixes and new features added by Thomas. Can now also do
20149 transforms with variable sizes and a custom fixate_caps function.
20151 2005-08-24 Wim Taymans <wim@fluendo.com>
20153 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20157 Cast to ClockTime before formatting to time.
20162 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20164 * check/gst-libs/controller.c: (GST_START_TEST),
20165 (gst_controller_suite):
20166 * docs/gst/tmpl/gstcaps.sgml:
20167 * docs/gst/tmpl/gstghostpad.sgml:
20168 * docs/gst/tmpl/gstquery.sgml:
20169 * docs/gst/tmpl/gstutils.sgml:
20170 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20171 (gst_object_sink_values), (gst_object_get_value_arrays),
20172 (gst_object_get_value_array):
20173 gracefully handle helper method calls to objects that are not beeing
20174 controlled, added test case for that
20176 2005-08-23 Wim Taymans <wim@fluendo.com>
20178 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20179 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20180 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20181 (gst_event_parse_qos), (gst_event_new_seek),
20182 (gst_event_parse_seek):
20184 Some more debugging output and doc cleanups.
20186 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20187 Fix possible deadlock.
20189 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20191 * docs/gst/gstreamer-docs.sgml:
20192 * docs/gst/gstreamer-sections.txt:
20193 * docs/gst/gstreamer.types:
20194 * docs/gst/tmpl/.cvsignore:
20197 * gst/gstelement.c:
20199 added 100 symbols from gstreamer-unused.txt to the right sections
20200 fixed more broken comments
20201 added GstBus to docs
20203 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20205 * docs/gst/gstreamer-sections.txt:
20206 * docs/gst/tmpl/.cvsignore:
20207 * docs/gst/tmpl/gstbin.sgml:
20208 * docs/gst/tmpl/gstbuffer.sgml:
20209 * gst/base/gstbasesrc.c:
20210 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20213 * tools/gst-launch.1.in:
20214 inlined more doc comments, added missing comments and fixed comments
20217 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20219 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20223 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20225 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20226 * gst/gststructure.h:
20227 add a fixate function for booleans; add a FIXME that these func
20228 names should probably be gst_structure_fixate_*
20230 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20232 * docs/gst/gstreamer-docs.sgml:
20233 * docs/gst/gstreamer-sections.txt:
20235 * gst/gstbin.c: (gst_bin_get_type),
20236 (gst_bin_child_proxy_get_child_by_index),
20237 (gst_bin_child_proxy_get_children_count),
20238 (gst_bin_child_proxy_init):
20239 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20240 (gst_child_proxy_get_child_by_index),
20241 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20242 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20243 (gst_child_proxy_get), (gst_child_proxy_set_property),
20244 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20245 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20246 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20247 * gst/gstchildproxy.h:
20248 * gst/parse/grammar.y:
20249 * tools/gst-inspect.c: (print_interfaces),
20250 (print_element_properties_info), (print_element_info):
20251 ported gstchildproxy over from 0.8
20252 ported gst-inspect fixes and enhancements over from 0.8
20254 2005-08-22 Wim Taymans <wim@fluendo.com>
20256 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20257 (gst_base_transform_handle_buffer):
20258 Also call the transform function if we have ANY caps.
20260 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20263 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20265 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20266 Don't pretend to handle seek events if the source is not seekable
20268 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20270 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20271 Remove extra parameter to debug output
20273 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20274 (gst_base_src_do_seek), (gst_base_src_activate_push):
20275 Fix seek event handling.
20277 * gst/gstpipeline.c: (gst_pipeline_change_state):
20278 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20279 (gst_queue_src_activate_push):
20280 Don't start the src pad task on FLUSH_STOP if the pad
20284 2005-08-22 Wim Taymans <wim@fluendo.com>
20286 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20287 Added check for gst_static_caps_get() refcounting.
20289 2005-08-22 Wim Taymans <wim@fluendo.com>
20291 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20292 Make _static_caps_get() refcounting sane.
20294 * gst/gstelement.c: (gst_element_set_state):
20295 Add g_return_val_if_fail() to protect against segfaults.
20297 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20299 * docs/gst/tmpl/gstevent.sgml:
20302 inlined remaining docs, added missing doc comments
20304 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20306 * check/gst/gstbin.c: (GST_START_TEST):
20307 since we don't know when preroll is done, use refcount range
20309 * gst/check/gstcheck.h:
20310 add macro for checking refcount range
20312 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20314 * check/Makefile.am:
20315 clean up environment for when registry gets built versus
20316 when actual tests are run; valgrind seems to not report
20317 leaks if GST_PLUGIN_PATH is set to some specific values
20318 * check/gst/gstbin.c: (GST_START_TEST):
20319 add more refcounting checks; maybe this exposes a
20321 * common/check.mak:
20322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20323 * gst/check/gstcheck.h:
20324 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20325 (gst_bin_change_state):
20326 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20327 add/fix debugging/whitespace
20329 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20331 * check/gst/gstevent.c: (event_probe), (test_event),
20333 Er, don't call gst_bin_watch_for_state_change you idiot.
20335 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20337 * check/Makefile.am:
20338 Use CHECK_CFLAGS and CHECK_LIBS
20339 * check/gst/gstevent.c: (event_probe), (test_event),
20342 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20343 (gst_base_src_start), (gst_base_src_stop),
20344 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20345 (gst_base_src_change_state):
20346 Sprinkle gst_base_src_stop liberally around error paths to fix
20347 problems reusing a source after failed state changes.
20348 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20349 (helper_find_suggest), (gst_type_find_helper):
20350 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20352 * docs/gst/tmpl/gstevent.sgml:
20353 Migrate part of the docs from the SGML file. Wait for ensonic to
20354 tell me how I did it wrong ;)
20355 * tools/gst-typefind.c: (main):
20356 Extra robustness to state changes between files.
20358 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20360 * check/Makefile.am:
20361 don't valgrind the controller test - it's leaking - Stefan, HELP
20362 * gst/check/gstcheck.c: (gst_check_message_error),
20363 (gst_check_chain_func), (gst_check_setup_element),
20364 (gst_check_teardown_element), (gst_check_setup_src_pad),
20365 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20366 (gst_check_teardown_sink_pad):
20367 * gst/check/gstcheck.h:
20368 add a bunch of methods to set up elements, and src and sink pads
20369 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20370 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20373 * gst/gstmessage.c:
20375 whitespace/doc fixes
20377 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20379 * gst/gstelement.h:
20380 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20381 be handled by the application and not always printed as well
20383 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20385 * check/Makefile.am:
20387 * gst/check/gstcheck.c: (gst_check_message_error):
20388 * gst/check/gstcheck.h:
20389 add a fail_unless_equals_int
20390 add fail_unless for error messages
20392 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20394 * check/Makefile.am:
20396 * common/Makefile.am:
20397 * common/check.mak:
20399 factor out some of the common stuff so we can use it
20401 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20403 * check/Makefile.am:
20404 * check/gst/gstiterator.c: (GST_START_TEST):
20405 * check/gst/gstsystemclock.c: (GST_START_TEST),
20406 (gst_systemclock_suite):
20407 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20409 valgrind more tests
20411 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20413 * check/elements/.cvsignore:
20414 * check/elements/gstfakesrc.c:
20415 rename to name of element
20416 * check/elements/identity.c: (chain_func), (event_func),
20417 (setup_identity), (cleanup_identity), (GST_START_TEST),
20418 (identity_suite), (main):
20419 add a test for identity
20420 * check/Makefile.am:
20421 * pkgconfig/Makefile.am:
20422 * pkgconfig/gstreamer-check.pc.in:
20423 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20427 move the check stuff to a library that gets installed
20428 * check/gst-libs/controller.c: (GST_START_TEST):
20429 * check/gst-libs/gdp.c:
20430 * check/gst/gst.c: (GST_START_TEST):
20431 * check/gst/gstbin.c:
20432 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20433 * check/gst/gstbus.c:
20434 * check/gst/gstcaps.c: (GST_START_TEST):
20435 * check/gst/gstelement.c:
20436 * check/gst/gstghostpad.c:
20437 * check/gst/gstiterator.c:
20438 * check/gst/gstmessage.c:
20439 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20440 * check/gst/gstobject.c:
20441 * check/gst/gstpad.c: (GST_START_TEST):
20442 * check/gst/gststructure.c: (GST_START_TEST):
20443 * check/gst/gstsystemclock.c: (GST_START_TEST),
20444 (gst_systemclock_suite):
20445 * check/gst/gsttag.c: (gst_tag_suite):
20446 * check/gst/gstvalue.c:
20447 * check/pipelines/cleanup.c:
20448 * check/pipelines/simple_launch_lines.c:
20449 * check/states/sinks.c:
20450 change include statement
20452 * docs/gst/gstreamer-sections.txt:
20453 * docs/gst/tmpl/gstpad.sgml:
20454 document more pad stuff
20455 * gst/gstminiobject.c: (gst_mini_object_ref),
20456 (gst_mini_object_unref):
20459 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20461 * docs/gst/tmpl/gst.sgml:
20463 eliminate another tmpl file, fix spelling in the long-description
20465 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20467 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20468 (test_event), (timediff), (gstevents_suite):
20469 Should fix build on 64-bit arch's
20471 2005-08-18 Andy Wingo <wingo@pobox.com>
20473 Make sure that when a pipeline goes to PLAYING, that data has
20474 actually hit the sink.
20476 * check/states/sinks.c (test_sink): A sink that doesn't get any
20477 data shouldn't return SUCCESS for going to either PLAYING or
20478 PAUSED. Test also the return values on the way back down.
20480 * gst/gstelement.c (gst_element_set_state): When changing the
20481 state of an element currently changing state asynchronously, go to
20482 lost-state after commiting the pending state. Makes future calls
20483 to get_state continue to return ASYNC.
20485 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20486 ASYNC when going to PLAYING if we still don't have preroll, as can
20487 happen with live sources.
20489 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20491 * docs/pwg/advanced-types.xml:
20492 Hack long paragraph into 2 chunks as a workaround for buggy
20493 jadetex version in sid and breezy that loops infinitely and
20496 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20498 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20499 (test_event), (timediff), (gstevents_suite):
20500 Provide more error margin in clock measurements to allow for
20501 g_get_current_time inaccuracies.
20503 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20505 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20506 (test_event), (timediff), (gstevents_suite):
20507 Fix error message output so I might be able to tell why the
20508 test works here but fails on the build farm.
20510 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20512 * check/Makefile.am:
20513 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20514 (test_event), (timediff), (gstevents_suite), (main):
20517 * docs/design/part-seeking.txt:
20518 Spelling correction
20520 * docs/gst/tmpl/gstevent.sgml:
20521 * docs/gst/tmpl/gstfakesrc.sgml:
20524 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20525 Treat a buffer-without-newsegment the same as a receiving
20526 a newsegment not in time format, and disable syncing to the clock
20529 * gst/gstbus.c: (gst_bus_set_sync_handler):
20530 Assert if anyone tries to replace the existing sync_handler for bus,
20531 as only the owner should be setting it.
20534 Have a fixed set of custom event enums with events identified by
20535 their structure name (as in 0.8), rather than a free-for-all
20536 allowing collisions between enum values from different plugins.
20538 * gst/gstpad.c: (gst_pad_class_init):
20541 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20542 Handle out-of-band downstream events from the sending thread.
20544 2005-08-17 Andy Wingo <wingo@pobox.com>
20546 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20547 play-timeout==0 to mean no timeout at all. In that case, don't
20548 bother with a get_state or a warning, just return directly, even
20551 * gst/base/gstbasetransform.c: Debug changes.
20554 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20555 ensure bins post state change messages. A bit of a hack but I can't
20556 think of a way to avoid it.
20558 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20560 2005-08-16 Andy Wingo <wingo@pobox.com>
20562 * gst/base/gstadapter.h:
20563 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20564 peek() but you own the data. Not terribly efficient atm.
20566 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20568 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20569 (gst_element_found_tags):
20571 Add two utility functions for tag handling.
20573 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20575 * docs/manual/advanced-dataaccess.xml:
20576 * docs/manual/basics-helloworld.xml:
20577 Fix docs to use _bin_add() before _link(), which fixes the examples
20578 with recent core versions (reported by Madhan Raj M
20579 <raj_madan@rediffmail.com>, #313199).
20581 2005-08-16 Wim Taymans <wim@fluendo.com>
20583 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20584 Added subtract checks.
20586 * docs/design/part-events.txt:
20587 Some more docs about newsegment
20589 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20592 * gst/gstcaps.c: (gst_caps_to_string):
20593 Add comments, cleanups.
20595 * gst/gstelement.c: (gst_element_save_thyself):
20598 * gst/gstvalue.c: (gst_value_collect_int_range),
20599 (gst_string_unwrap), (gst_value_union_int_int_range),
20600 (gst_value_union_int_range_int_range),
20601 (gst_value_intersect_int_int_range),
20602 (gst_value_intersect_int_range_int_range),
20603 (gst_value_intersect_double_double_range),
20604 (gst_value_intersect_double_range_double_range),
20605 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20606 (gst_value_subtract_int_range_int),
20607 (gst_value_subtract_double_range_double),
20608 (gst_value_subtract_double_range_double_range),
20609 (gst_value_subtract_from_list), (gst_value_subtract_list),
20610 (gst_value_can_compare), (gst_value_compare_fraction):
20611 Cleanups, add comments, remove unneeded asserts.
20613 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20615 * tools/gst-launch.c: (event_loop):
20616 don't convert NULL structures to strings
20618 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20620 * docs/gst/gstreamer-sections.txt:
20621 made some defines private
20622 * docs/gst/tmpl/gstconfig.sgml:
20623 * docs/gst/tmpl/gstqueue.sgml:
20624 * docs/gst/tmpl/gsttaglist.sgml:
20625 * docs/gst/tmpl/gsttypes.sgml:
20626 * docs/gst/tmpl/gstutils.sgml:
20627 * docs/pwg/appendix-porting.xml:
20628 * gst/base/gstbasesink.h:
20629 * gst/base/gstbasesrc.c:
20630 * gst/base/gstbasesrc.h:
20631 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20632 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20633 * gst/gstelement.c: (gst_element_class_init):
20634 * gst/gstpad.c: (gst_pad_class_init):
20635 * gst/gstqueue.c: (gst_queue_class_init):
20636 * gst/gstxml.c: (gst_xml_class_init):
20637 documented all undocumented signal inline
20638 * libs/gst/controller/gst-controller.h:
20641 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20643 * docs/pwg/appendix-porting.xml:
20644 Document _set_link_function -> _set_setcaps_function.
20646 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20648 * check/Makefile.am:
20649 add a .check target for running the check
20650 * check/gst-libs/controller.c: (GST_START_TEST):
20652 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20653 complete checks for gstbuffer; would be nice if I could get the
20654 gcov stuff to work so I can see if I actually completed gstbuffer.c
20655 * check/gstcheck.h:
20656 add ASSERT_BUFFER_REFCOUNT
20658 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20660 * docs/gst/gstreamer-sections.txt:
20661 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20663 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20664 spew out a warning if a tag that is already registered
20665 is re-registered, unless it is re-registered with a
20666 different type (#308438).
20668 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20670 * docs/pwg/appendix-porting.xml:
20671 * docs/pwg/building-state.xml:
20672 Add some paragraphs about state changes in 0.9 to the PWG
20673 and the porting guide, in particular about the new meaning
20674 of GST_STATE_PAUSED and how to write state change functions
20675 with concurrent access by multiple threads in mind.
20677 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20679 * docs/gst/gstreamer-docs.sgml:
20680 * docs/libs/gstreamer-libs-docs.sgml:
20681 added deprecation and since indexes
20682 * libs/gst/controller/gst-controller.c:
20683 * libs/gst/controller/gst-helper.c:
20687 2005-08-11 Wim Taymans <wim@fluendo.com>
20689 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20690 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20691 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20692 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20693 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20694 (gst_ghost_pad_set_target):
20695 Actually implement (re)setting the target on a ghostpad
20696 as described in the docs.
20698 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20700 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20701 Check whether GST_DEBUG_NO_COLOR environment variable is
20702 set and disable coloured debug output if that is the case.
20704 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20706 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20707 (gst_type_find_helper):
20708 The memory returned by gst_type_find_peek() needs to
20709 stay valid until the end of a typefind function, and
20710 typefind functions may keep results from different
20711 offsets around, so we can't just unref the buffer from
20712 the previous _peek(), but have to save all buffers
20713 returned by _peek() until typefinding is done and only
20716 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20718 * docs/gst/gstreamer-sections.txt:
20720 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20722 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20724 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20725 Fix a pretty good memleak.
20727 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20729 * gst/gstiterator.h:
20730 Fix wrong include and 'make distcheck'.
20732 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20734 * gst/gstbin.c: (bin_bus_handler):
20735 Use gst_element_post_message() instead.
20737 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20739 * gst/base/gstadapter.h:
20740 * gst/base/gstbasesink.h:
20741 * gst/base/gstbasesrc.h:
20742 * gst/base/gstbasetransform.h:
20743 * gst/base/gstcollectpads.h:
20744 * gst/base/gstpushsrc.h:
20745 * gst/gstiterator.h:
20746 Add padding to our base elements' class and instance structs and
20747 to GstIterator (you will need to rebuild all plugins and apps!)
20749 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20751 * gst/gstbin.c: (bin_bus_handler):
20752 Make default message forwarding from child->bus to bin->bus
20753 threadsafe and make it not emit warnings if the parent has no bus.
20755 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20757 * gst/gstelement.c: (activate_pads):
20758 On paused->ready, set pad->caps to NULL, as is the documented
20759 behaviour in this state change. Fixes playback of series of
20760 media files when visualization is enabled in Totem.
20762 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20764 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20765 Allow NULL as filter-caps (which means "any").
20767 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20769 * docs/libs/gstreamer-libs-sections.txt:
20770 * libs/gst/controller/gst-controller.c:
20771 * libs/gst/controller/gst-controller.h:
20772 * libs/gst/controller/gst-helper.c:
20773 adding more entries to the docs and fix small doc-bugs
20775 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20777 * docs/gst/gstreamer-docs.sgml:
20778 * docs/gst/gstreamer-sections.txt:
20779 * docs/gst/gstreamer.types:
20780 * docs/gst/tmpl/gstbasesink.sgml:
20781 * docs/gst/tmpl/gstbasesrc.sgml:
20782 * docs/gst/tmpl/gstbasetransform.sgml:
20783 * docs/gst/tmpl/gstfakesrc.sgml:
20784 * gst/base/gstcollectpads.c:
20785 * gst/base/gstcollectpads.h:
20786 * libs/gst/controller/gst-controller.c:
20787 * libs/gst/controller/gst-controller.h:
20788 * libs/gst/controller/gst-helper.c:
20789 * libs/gst/controller/gst-interpolation.c:
20790 * libs/gst/controller/lib.c:
20791 added long/short desc for controller docs
20792 added collectpads base class docs
20793 added correct includes to base-class docs
20795 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20797 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20798 (gst_test_mono_source_set_property),
20799 (gst_test_mono_source_class_init), (GST_START_TEST),
20800 (gst_controller_suite):
20801 * docs/gst/gstreamer-docs.sgml:
20802 * docs/gst/gstreamer-sections.txt:
20803 * docs/gst/gstreamer.types:
20804 * docs/libs/gstreamer-libs-docs.sgml:
20805 * docs/libs/gstreamer-libs-sections.txt:
20806 * gst/base/gstadapter.c:
20807 * libs/gst/controller/gst-controller.c:
20808 (gst_controlled_property_new), (gst_controlled_property_free),
20809 (gst_controller_new_valist),
20810 (gst_controller_remove_properties_valist),
20811 (gst_controller_sink_values), (_gst_controller_finalize):
20812 * libs/gst/controller/gst-controller.h:
20813 * libs/gst/controller/gst-helper.c:
20814 (gst_object_control_properties), (gst_object_uncontrol_properties),
20815 (gst_object_get_controller), (gst_object_set_controller),
20816 (gst_object_sink_values), (gst_object_get_value_arrays),
20817 (gst_object_get_value_array):
20818 more tests (and fixes) for the controller
20819 more docs for the controller
20820 integrated companies docs for the adapter
20822 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20824 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20825 (GST_START_TEST), (fakesrc_suite):
20826 add tests for sizetype
20828 2005-08-04 Andy Wingo <wingo@pobox.com>
20830 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20831 fixes buffer_alloc proxying among other things.
20833 * gst/base/gstbasetransform.c:
20834 * gst/base/gstbasetransform.h:
20835 Revert patch to gstbasetransform from 7-28 removing
20838 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20839 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20840 Semantics changed, should return not the size of the output buffer
20841 but the byte size of a buffer with a given caps.
20843 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20845 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20846 out) are not the pad caps until setcaps finishes.
20847 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20848 not-in-place case as well. Deal with changing from in-place to
20849 not-in-place within calling pad_alloc_buffer. Still a bit
20850 concerned about the overhead here...
20852 2005-08-03 Andy Wingo <wingo@pobox.com>
20854 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20855 fixating is an error.
20857 2005-08-04 Edward Hervey <edward@fluendo.com>
20859 * gst/base/gstadapter.h:
20860 Added gst_adapter_get_type() to the header
20862 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20864 * check/Makefile.am:
20865 * check/gst-libs/controller.c:
20866 * libs/gst/controller/gst-controller.c:
20867 (gst_controller_new_valist):
20868 added check test suite for the controller
20869 * gst/base/gstpushsrc.c:
20872 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20874 * docs/gst/Makefile.am:
20875 * docs/gst/gstreamer-docs.sgml:
20876 * docs/gst/gstreamer-sections.txt:
20877 * docs/gst/gstreamer.types:
20878 * docs/gst/tmpl/gstfakesrc.sgml:
20880 * gst/base/gstbasesink.c:
20881 * gst/base/gstbasesink.h:
20882 * gst/base/gstbasesrc.c:
20883 * gst/base/gstbasesrc.h:
20884 * gst/base/gstbasetransform.c:
20885 * gst/base/gstpushsrc.c:
20886 * gst/base/gstpushsrc.h:
20887 add short/long description docs to base classes
20888 add pushsrc to the docs
20889 remove consolidated doc fragments
20891 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20894 * docs/libs/Makefile.am:
20895 * docs/libs/gstreamer-libs-docs.sgml:
20896 * docs/libs/gstreamer-libs-sections.txt:
20897 * docs/libs/gstreamer-libs.types:
20898 * examples/Makefile.am:
20899 * examples/controller/.cvsignore:
20900 * examples/controller/Makefile.am:
20901 * examples/controller/audio-example.c: (main):
20902 * libs/gst/Makefile.am:
20903 * libs/gst/controller/.cvsignore:
20904 * libs/gst/controller/Makefile.am:
20905 * libs/gst/controller/gst-controller.c:
20906 (on_object_controlled_property_changed), (gst_timed_value_compare),
20907 (gst_timed_value_find),
20908 (gst_controlled_property_set_interpolation_mode),
20909 (gst_controlled_property_new), (gst_controlled_property_free),
20910 (gst_controller_find_controlled_property),
20911 (gst_controller_new_valist), (gst_controller_new),
20912 (gst_controller_remove_properties_valist),
20913 (gst_controller_remove_properties), (gst_controller_set),
20914 (gst_controller_set_from_list), (gst_controller_unset),
20915 (gst_controller_get), (gst_controller_get_all),
20916 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20917 (gst_controller_get_value_array),
20918 (gst_controller_set_interpolation_mode),
20919 (_gst_controller_finalize), (_gst_controller_init),
20920 (_gst_controller_class_init), (gst_controller_get_type):
20921 * libs/gst/controller/gst-controller.h:
20922 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20923 (g_object_uncontrol_properties), (g_object_get_controller),
20924 (g_object_set_controller), (g_object_sink_values),
20925 (g_object_get_value_arrays), (g_object_get_value_array):
20926 * libs/gst/controller/gst-interpolation.c:
20927 (gst_controlled_property_find_timed_value_node),
20928 (interpolate_none_get), (interpolate_trigger_get),
20929 (interpolate_trigger_get_value_array):
20930 * libs/gst/controller/lib.c: (gst_controller_init):
20931 * pkgconfig/Makefile.am:
20932 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20933 * pkgconfig/gstreamer-control.pc.in:
20934 * testsuite/Makefile.am:
20935 * testsuite/controller/.cvsignore:
20936 * testsuite/controller/Makefile.am:
20937 * testsuite/controller/interpolator.c: (main):
20938 added controller code
20939 removed dparam pc files
20941 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20942 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20943 (gst_collectpads_stop):
20944 Broadcast the condition when shutting down, to make sure we wake all
20945 threads up. Shut down pads on finalize, for safety.
20947 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20948 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20949 (gst_base_transform_handle_buffer),
20950 (gst_base_transform_change_state):
20951 Handle PAUSED->READY->PAUSED transition after negotiation
20953 * gst/gstmessage.c: (gst_message_init):
20954 Extra piece of debug for new messages.
20956 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20959 * docs/gst/tmpl/gstbasesrc.sgml:
20960 * docs/gst/tmpl/gstelement.sgml:
20961 * docs/gst/tmpl/gstevent.sgml:
20962 * docs/gst/tmpl/gstfakesrc.sgml:
20963 * docs/gst/tmpl/gstformat.sgml:
20964 * docs/gst/tmpl/gstghostpad.sgml:
20965 * docs/gst/tmpl/gstpad.sgml:
20966 * docs/gst/tmpl/gstquery.sgml:
20967 * docs/gst/tmpl/gststructure.sgml:
20968 * docs/gst/tmpl/gsttaglist.sgml:
20969 * docs/gst/tmpl/gstvalue.sgml:
20970 * docs/libs/gstreamer-libs-docs.sgml:
20971 * docs/libs/gstreamer-libs-sections.txt:
20972 * docs/libs/gstreamer-libs.types:
20973 * libs/gst/Makefile.am:
20974 * libs/gst/control/.cvsignore:
20975 * libs/gst/control/Makefile.am:
20976 * libs/gst/control/control.c:
20977 * libs/gst/control/control.h:
20978 * libs/gst/control/dparam.c:
20979 * libs/gst/control/dparam.h:
20980 * libs/gst/control/dparam_smooth.c:
20981 * libs/gst/control/dparam_smooth.h:
20982 * libs/gst/control/dparamcommon.h:
20983 * libs/gst/control/dparammanager.c:
20984 * libs/gst/control/dparammanager.h:
20985 * libs/gst/control/dplinearinterp.c:
20986 * libs/gst/control/dplinearinterp.h:
20987 * libs/gst/control/unitconvert.c:
20988 * libs/gst/control/unitconvert.h:
20989 * testsuite/Makefile.am:
20990 * testsuite/dynparams/.cvsignore:
20991 * testsuite/dynparams/Makefile.am:
20992 * testsuite/dynparams/dparamstest.c:
20993 * tools/Makefile.am:
20994 * tools/gst-inspect.c: (print_element_info), (main):
20995 * tools/gst-xmlinspect.c: (print_element_info), (main):
20996 deactivate and remove dparams (libgstcontrol)
20998 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21000 * gst/elements/gsttypefindelement.c:
21001 (gst_type_find_element_have_type), (gst_type_find_element_init),
21002 (stop_typefinding), (gst_type_find_element_handle_event),
21003 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21004 * gst/elements/gsttypefindelement.h:
21005 Set caps on all outgoing buffers, not just the first one.
21007 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21009 * gst/elements/gsttypefindelement.c:
21010 (gst_type_find_element_have_type),
21011 (gst_type_find_element_check_set_buffer_caps),
21012 (gst_type_find_element_init), (stop_typefinding),
21013 (gst_type_find_element_handle_event),
21014 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21015 * gst/elements/gsttypefindelement.h:
21016 Set caps on first outgoing buffer when we've found the type.
21018 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21020 * docs/gst/gstreamer-docs.sgml:
21021 * docs/gst/gstreamer-sections.txt:
21022 * docs/gst/tmpl/gstscheduler.sgml:
21023 * docs/gst/tmpl/gstschedulerfactory.sgml:
21024 Remove some old cruft from docs.
21026 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21029 Fix inline docs for GstPadLinkReturn.
21031 * gst/gststructure.c: (gst_structure_has_name):
21032 * gst/gststructure.h:
21033 * docs/gst/gstreamer-sections.txt:
21034 New API: gst_structure_has_name().
21036 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21039 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21040 and _LARGEFILE_SOURCE in config.h as required. Do not
21041 export those flags in our .pc files any longer (#142209).
21043 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21045 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21046 (gst_file_sink_do_seek), (gst_file_sink_event),
21047 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21048 Redo seek/tell calls with large file support in mind; add some
21049 debugging messages; add log message that tells us when large
21050 file support is unavailable or not enabled for some reason.
21052 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21053 Add log message that tells us when large file support
21054 is unavailable or not enabled for some reason.
21056 2005-07-29 Wim Taymans <wim@fluendo.com>
21058 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21059 Added test for removing an element with ghostpad from a bin.
21060 Fixed test as current implementation does the right thing.
21062 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21063 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21064 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21065 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21066 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21067 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21068 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21069 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21070 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21071 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21072 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21073 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21074 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21075 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21076 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21077 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21078 * gst/gstghostpad.h:
21079 Clean up ghostpads, remove properties for internal stuff.
21082 Prepare for switching targets, not all use cases work yet.
21084 2005-07-29 Wim Taymans <wim@fluendo.com>
21086 * docs/design/part-gstghostpad.txt:
21089 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21090 (gst_bin_remove_func):
21091 Unlinking pads while holding the bin LOCK is not a good
21094 * gst/gstpad.c: (gst_pad_class_init),
21095 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21096 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21097 No prob setting template after creating the pad.
21099 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21101 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21102 (gst_bus_peek), (gst_bus_source_dispatch),
21103 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21104 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21105 gst_bus_poll may be called from other threads. Handle
21106 this nicely by not making poll_data disappear off the
21107 stack once gst_bus_poll returns.
21108 gst_bus_peek now increments the refcount on the returned
21111 2005-07-29 Wim Taymans <wim@fluendo.com>
21113 * docs/design/part-gstghostpad.txt:
21114 Overview of current GhostPad datastructures and use
21115 cases for changing the target.
21117 2005-07-28 Wim Taymans <wim@fluendo.com>
21119 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21120 Added checks for hierarchy consistency whan adding linked
21123 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21124 Added check to test element scheduling without bin/pipeline.
21126 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21127 First add elements to bin, then link.
21129 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21130 (gst_bin_remove_func):
21131 Unlink pads from elements added/removed from bin to maintain
21132 hierarchy consistency.
21134 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21136 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21137 (gst_base_transform_handle_buffer):
21138 * gst/base/gstbasetransform.h:
21139 Remove broken delay_configure (fixes renegotiation of software
21140 scaling pipelines); remove some leftover printf()s.
21142 2005-07-28 Wim Taymans <wim@fluendo.com>
21144 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21145 Added some more tests for wrong hierarchy
21147 * docs/design/part-overview.txt:
21150 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21153 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21154 (gst_element_dispose):
21155 Some more cleanups.
21157 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21158 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21159 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21160 (gst_pad_set_caps), (gst_pad_send_event):
21161 Check for correct hierarchy when linking pads. Moving to
21162 strict requirement for ghostpads when linking elements in
21166 Clean ups. Added WRONG_HIERARCHY return value.
21168 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21170 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21171 Better debug if no transform is possible.
21173 2005-07-27 Wim Taymans <wim@fluendo.com>
21175 * docs/random/wtay/network-transp:
21176 Some old doc I had.
21178 2005-07-27 Wim Taymans <wim@fluendo.com>
21180 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21181 (gst_dp_event_from_packet):
21182 Fix serialization of seek events.
21184 2005-07-27 Wim Taymans <wim@fluendo.com>
21186 * check/gst-libs/gdp.c: (GST_START_TEST):
21187 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21188 Fix compilation and fix event serialization.
21190 2005-07-27 Wim Taymans <wim@fluendo.com>
21193 * docs/design/part-TODO.txt:
21194 * docs/design/part-events.txt:
21197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21198 (gst_base_sink_event), (gst_base_sink_do_sync),
21199 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21200 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21201 (gst_base_src_do_seek), (gst_base_src_event_handler),
21202 (gst_base_src_loop):
21203 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21204 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21205 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21206 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21207 (gst_base_transform_set_passthrough),
21208 (gst_base_transform_is_passthrough):
21209 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21210 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21216 * gst/gstelement.c: (gst_element_seek):
21217 * gst/gstelement.h:
21218 Update gst_element_seek.
21220 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21221 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21222 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21223 (gst_event_new_eos), (gst_event_new_newsegment),
21224 (gst_event_parse_newsegment), (gst_event_new_tag),
21225 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21226 (gst_event_parse_qos), (gst_event_new_seek),
21227 (gst_event_parse_seek), (gst_event_new_navigation):
21229 Make GstEvent use GstStructure. Add parsing code, make sure the
21230 API is sufficiently generic.
21231 Mark possible directions of events and serialization.
21233 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21234 (_gst_message_copy), (gst_message_new_segment_start),
21235 (gst_message_new_segment_done), (gst_message_new_custom),
21236 (gst_message_parse_segment_start),
21237 (gst_message_parse_segment_done):
21240 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21241 (gst_pad_set_caps), (gst_pad_send_event):
21242 Update for new events.
21243 Catch events sent in wrong directions.
21245 * gst/gstqueue.c: (gst_queue_link_src),
21246 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21247 (gst_queue_handle_src_query):
21252 Remove event code from this file.
21254 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21255 (gst_dp_event_from_packet):
21258 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21260 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21261 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21262 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21263 Make debugging actually useful.
21265 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21267 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21268 (gst_pad_fixate_caps):
21269 Implement default fixation once again, so that gst_pad_fixate()
21270 actually does anything at all. This probably needs to be some
21271 sort of a last resort, and use profile-based fixation first, but
21272 since that doesn't exist yet, this is the best we have. Fixes
21273 visualization in Totem.
21275 2005-07-22 Wim Taymans <wim@fluendo.com>
21277 * docs/design/part-events.txt:
21280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21281 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21282 (gst_base_sink_activate_pull):
21283 Some more comments.
21285 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21286 (gst_fake_src_create):
21287 Fix handoff marshall.
21289 * gst/elements/gstidentity.c: (gst_identity_class_init),
21290 (gst_identity_transform_ip):
21291 We're a real inplace element.
21293 * gst/gstbus.c: (gst_bus_post):
21294 Added some comments.
21296 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21297 * tests/muxing/case1.c: (main):
21298 * tests/sched/dynamic-pipeline.c: (main):
21299 * tests/sched/interrupt1.c: (main):
21300 * tests/sched/interrupt2.c: (main):
21301 * tests/sched/interrupt3.c: (main):
21302 * tests/sched/runxml.c: (main):
21303 * tests/sched/sched-stress.c: (main):
21304 * tests/seeking/seeking1.c: (event_received), (main):
21305 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21307 * tests/threadstate/threadstate3.c: (main):
21308 * tests/threadstate/threadstate4.c: (main):
21309 * tests/threadstate/threadstate5.c: (main):
21312 2005-07-21 Wim Taymans <wim@fluendo.com>
21314 * docs/design/part-seeking.txt:
21315 Some small additions.
21317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21318 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21319 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21320 * gst/base/gstbasesink.h:
21321 discont values are gint64, handle the math correctly.
21323 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21324 Make the basesrc report error if the source pad is not linked.
21326 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21327 (gst_queue_loop), (gst_queue_handle_src_query),
21328 (gst_queue_src_activate_push):
21329 Make queue collect data even if the srcpad is not linked.
21330 Start pushing out data as soon as it is linked.
21332 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21334 Added gst_flow_get_name() to ease error reporting.
21336 2005-07-20 Wim Taymans <wim@fluendo.com>
21338 * gst/gstmessage.c: (gst_message_new_segment_start),
21339 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21340 (gst_message_parse_segment_done):
21341 * gst/gstmessage.h:
21342 Added a bunch of messages for advanced seeking.
21344 * gst/parse/grammar.y:
21345 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21346 (gst_dpman_state_changed):
21347 Fix some new-pad -> pad-added signals
21349 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21351 * docs/manual/appendix-porting.xml:
21352 * docs/pwg/appendix-porting.xml:
21353 Document new-pad/state-change signal renames and the FixedList
21356 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21358 * docs/manual/advanced-autoplugging.xml:
21359 * docs/manual/basics-helloworld.xml:
21360 * docs/manual/basics-pads.xml:
21361 * docs/random/ds/0.9-suggested-changes:
21362 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21363 * gst/gstelement.h:
21367 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21368 (gst_structure_parse_array), (gst_structure_parse_value):
21369 * gst/gstvalue.c: (gst_type_is_fixed),
21370 (gst_value_list_prepend_value), (gst_value_list_append_value),
21371 (gst_value_list_get_size), (gst_value_list_get_value),
21372 (gst_value_transform_array_string), (gst_value_serialize_array),
21373 (gst_value_deserialize_array), (gst_value_intersect_array),
21374 (gst_value_is_fixed), (_gst_value_initialize):
21376 GstElement::new-pad -> pad-added, GstElement::state-change ->
21377 state-changed, GstValueFixedList -> GstValueArray, add format and
21378 flags as their own arguments in gst_element_seek() (should improve
21379 "bindeability"), remove function generators since they don't work
21380 under a whole bunch of compilers (they were deprecated already
21383 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21385 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21386 (_gst_debug_register_funcptr):
21388 Fix illegal cast on some platforms (#309253).
21390 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21392 * gst/gstmessage.c: (gst_message_new_custom):
21393 * gst/gstmessage.h:
21394 Add _new_custom, make _new_application a macro to _new_custom.
21396 2005-07-20 Wim Taymans <wim@fluendo.com>
21398 * gst/base/gstbasesrc.c: (gst_base_src_init),
21399 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21400 * gst/base/gstbasesrc.h:
21401 Add a gboolean to decide when to push out a discont.
21403 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21404 (gst_queue_loop), (gst_queue_handle_src_query),
21405 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21406 (gst_queue_set_property), (gst_queue_get_property):
21409 * tests/threadstate/threadstate1.c: (main):
21410 Make a thread test compile and run... very silly..
21413 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21415 * docs/manual/appendix-porting.xml:
21416 Mention removal of libgstgconf-0.9.la and existence of gconf
21419 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21421 * docs/pwg/advanced-clock.xml:
21422 * docs/pwg/appendix-porting.xml:
21423 * docs/pwg/intro-preface.xml:
21424 * docs/pwg/other-base.xml:
21425 * docs/pwg/other-manager.xml:
21426 * docs/pwg/other-nton.xml:
21427 * docs/pwg/other-ntoone.xml:
21428 * docs/pwg/other-oneton.xml:
21429 * docs/pwg/pwg.xml:
21430 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21431 demuxer), remove n-to-n (was never written), fix some code examples
21432 and links and update the porting section to include all this.
21434 2005-07-19 Wim Taymans <wim@fluendo.com>
21436 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21437 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21438 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21439 (gst_queue_src_activate_push), (gst_queue_change_state),
21440 (gst_queue_get_property):
21442 Propagate GstFlowReturn more intelligently upstream and output
21443 an ERROR/EOS when streaming stopped due to fatal error.
21445 2005-07-19 Wim Taymans <wim@fluendo.com>
21447 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21448 Don't block forever for the state change to complete, the
21449 pipeline already did with a sensible timeout.
21451 2005-07-19 Wim Taymans <wim@fluendo.com>
21453 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21454 Make sure we never call the create function is we
21457 2005-07-19 Andy Wingo <wingo@pobox.com>
21459 * gst/parse/parse.l: Attempt to solve bug #172815.
21461 2005-07-19 Wim Taymans <wim@fluendo.com>
21463 * docs/design/part-clocks.txt:
21464 * docs/design/part-events.txt:
21465 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21466 Small docs updates.
21467 Only update the seeking values when we are not
21470 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21472 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21473 Oops, ignore the result of gst_pad_push_event here.
21475 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21477 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21478 (gst_base_src_activate_push):
21479 Send discont event from the loop function, as pads
21480 aren't activated yet in the activate_push handler.
21482 * gst/gstbin.c: (bin_bus_handler):
21483 Don't leak element name.
21485 2005-07-18 Andy Wingo <wingo@pobox.com>
21487 * configure.ac: Use AS_LIBTOOL_TAGS.
21489 2005-07-18 Wim Taymans <wim@fluendo.com>
21491 * docs/gst/gstreamer.types:
21492 Remove deleted types.
21494 2005-07-18 Wim Taymans <wim@fluendo.com>
21496 * check/elements/gstfakesrc.c: (GST_START_TEST):
21499 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21500 (init_popt_callback):
21502 * gst/gst_private.h:
21503 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21504 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21507 * gst/gstconfig.h.in:
21508 * gst/gstelement.c: (gst_element_class_init),
21509 (gst_element_set_base_time), (gst_element_get_base_time),
21510 (iterator_fold_with_resync), (gst_element_change_state),
21511 (gst_element_dispose), (gst_element_get_bus):
21512 * gst/gstelement.h:
21513 * gst/gstelementfactory.h:
21514 * gst/gsterror.c: (_gst_core_errors_init):
21517 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21519 * gst/gstinfo.c: (_gst_debug_init):
21520 * gst/gstmessage.c: (_gst_message_copy):
21521 * gst/gstmessage.h:
21522 * gst/gstminiobject.h:
21525 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21526 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21529 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21530 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21531 (gst_pipeline_get_last_stream_time):
21532 * gst/gstpipeline.h:
21533 * gst/gstpluginfeature.h:
21535 * gst/gstscheduler.c:
21536 * gst/gstscheduler.h:
21537 * gst/gststructure.h:
21538 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21539 (gst_task_finalize), (gst_task_func), (gst_task_create),
21540 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21541 (gst_task_stop), (gst_task_pause):
21543 * gst/gsttypefind.h:
21545 * gst/registries/gstlibxmlregistry.c: (load_feature),
21546 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21547 * gst/registries/gstxmlregistry.c:
21548 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21549 * gst/schedulers/threadscheduler.c:
21550 * libs/gst/control/dparammanager.h:
21551 * tools/gst-inspect.c: (print_element_list),
21552 (print_plugin_features), (print_element_features):
21553 * tools/gst-xmlinspect.c: (print_element_list),
21554 (print_plugin_info), (main):
21555 Removed plugable schedulers.
21556 Removed Scheduler/Manager from elements.
21557 Removed gsttypes.h, rearranged includes.
21558 Removed dependency pad<->element, element<>pipeline, and
21559 various others, fix includes.
21560 implement gst_pad_get_parent() with gst_object_get_parent()
21561 Make GstTask sefcontained.
21562 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21564 Fix endless loop in iterator_fold_with_resync.
21567 2005-07-18 Wim Taymans <wim@fluendo.com>
21573 2005-07-18 Wim Taymans <wim@fluendo.com>
21576 No more cothreads.h
21578 2005-07-18 Wim Taymans <wim@fluendo.com>
21582 Let's remove these.
21584 2005-07-18 Wim Taymans <wim@fluendo.com>
21586 * docs/design/part-dynamic.txt:
21587 * docs/design/part-events.txt:
21588 * docs/design/part-seeking.txt:
21589 Some more docs in the works.
21591 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21592 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21593 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21594 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21595 (gst_base_transform_handle_buffer),
21596 (gst_base_transform_sink_activate_push),
21597 (gst_base_transform_src_activate_pull),
21598 (gst_base_transform_set_passthrough),
21599 (gst_base_transform_is_passthrough):
21602 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21605 * gst/gstevent.c: (gst_event_finalize):
21608 * gst/gstutils.c: (gst_element_unlink),
21609 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21610 (gst_pad_proxy_setcaps):
21612 Add _get_parent_element() to get a pads parent as an element.
21614 2005-07-18 Wim Taymans <wim@fluendo.com>
21616 * check/gst/gstbin.c: (GST_START_TEST):
21619 2005-07-18 Wim Taymans <wim@fluendo.com>
21621 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21622 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21623 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21624 (gst_base_sink_event), (gst_base_sink_do_sync),
21625 (gst_base_sink_chain), (gst_base_sink_loop),
21626 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21627 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21629 Fix logic for returning ASYNC when not prerolled.
21631 2005-07-18 Wim Taymans <wim@fluendo.com>
21633 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21634 Fix nasty refcount bug.
21636 2005-07-16 Philippe Khalaf <burger@speedy.org>
21638 * gst/elements/gstfdsrc.c:
21639 * gst/elements/gstfdsrc.h:
21640 * gst/elements/gstelements.c:
21641 * gst/elements/Makefile.am:
21642 Ported fdsrc to 0.9.
21644 2005-07-16 Wim Taymans <wim@fluendo.com>
21646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21647 (gst_base_sink_do_sync):
21650 2005-07-16 Wim Taymans <wim@fluendo.com>
21652 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21653 (gst_base_sink_event), (gst_base_sink_get_times),
21654 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21655 * gst/base/gstbasesink.h:
21656 Store and use discont values when syncing buffers as described
21659 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21660 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21661 (gst_base_src_activate_push):
21662 Push discont event when starting.
21664 * gst/elements/gstidentity.c: (gst_identity_transform):
21667 * gst/gstbin.c: (gst_bin_change_state):
21668 Small cleanups in base_time distribution.
21670 * gst/gstelement.c: (gst_element_set_base_time),
21671 (gst_element_get_base_time), (gst_element_change_state):
21672 * gst/gstelement.h:
21673 Added methods for the base_time of the element.
21676 * gst/gstpipeline.c: (gst_pipeline_send_event),
21677 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21678 (gst_pipeline_get_last_stream_time):
21679 * gst/gstpipeline.h:
21681 Handle seeking as described in design doc, remove stream_time
21683 Cleanups clock and stream_time selection code. Added accessors
21684 for the stream_time.
21687 2005-07-16 Andy Wingo <wingo@pobox.com>
21689 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21692 2005-07-16 Wim Taymans <wim@fluendo.com>
21694 * check/gst/gstbin.c: (GST_START_TEST):
21695 Make elements silent as the deep_notify refs the
21696 parent, which might make the test fail.
21698 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21699 Don't hold the lock for too long.
21701 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21703 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21704 Don't unref the caps we passed to gst_caps_make_writable() after
21705 passing them. gst_caps_make_writable() will do that for us.
21707 2005-07-15 Andy Wingo <wingo@pobox.com>
21709 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21712 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21713 own marshalling function for the handoff signal. Properly type the
21714 buffer as a buffer. Fixes some warnings. Should do a more general
21716 (gst_identity_class_init): Plug into the right marshaller.
21718 2005-07-15 Wim Taymans <wim@fluendo.com>
21720 * docs/design/part-TODO.txt:
21721 * docs/design/part-clocks.txt:
21722 * docs/design/part-element-sink.txt:
21723 * docs/design/part-events.txt:
21724 * docs/design/part-gstpipeline.txt:
21725 Updated docs, mostly DISCONT related.
21727 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21729 * docs/pwg/building-pads.xml:
21730 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21732 2005-07-15 Andy Wingo <wingo@pobox.com>
21734 * tools/gst-typefind.c: Update, add copyright block.
21736 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21737 Normalize and truncate caps before fixation.
21740 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21741 discards all but the first structure from its argument.
21743 2005-07-15 Wim Taymans <wim@fluendo.com>
21745 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21746 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21747 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21748 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21749 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21750 (gst_base_transform_chain), (gst_base_transform_change_state),
21751 (gst_base_transform_set_passthrough),
21752 (gst_base_transform_is_passthrough):
21753 * gst/base/gstbasetransform.h:
21754 Make passthrough work using the bufferpools.
21755 Changed API a bit, subclasses have to write into a buffer
21756 provided by the base class.
21757 More debug info in nego functions.
21759 * gst/elements/gstidentity.c: (gst_identity_init),
21760 (gst_identity_transform):
21761 Port to new base class.
21763 2005-07-15 Wim Taymans <wim@fluendo.com>
21765 * gst/gstmessage.c: (gst_message_new_state_changed):
21766 * tools/gst-launch.c: (event_loop), (main):
21767 Totally dump messages in -launch with the -m option.
21768 Fix message name for State messages,
21770 2005-07-14 Wim Taymans <wim@fluendo.com>
21772 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21773 Post error messages on errors.
21775 2005-07-14 Wim Taymans <wim@fluendo.com>
21777 * gst/gstcaps.c: (gst_caps_do_simplify):
21781 Define error for stream stopped.
21783 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21784 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21785 Do proper return values.
21787 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21788 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21789 (gst_pad_get_range):
21790 Better return values.
21793 Reorganise return values, add macro to check for fatal errors.
21795 * gst/gstqueue.c: (gst_queue_chain):
21796 Return proper GstFlowReturn values,
21798 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21800 * docs/gst/gstreamer-sections.txt:
21801 * docs/gst/gstreamer.types:
21802 * docs/gst/tmpl/gst.sgml:
21803 * docs/gst/tmpl/gstbasesink.sgml:
21804 * docs/gst/tmpl/gstbasesrc.sgml:
21805 * docs/gst/tmpl/gstbasetransform.sgml:
21806 * docs/gst/tmpl/gstbin.sgml:
21807 * docs/gst/tmpl/gstbuffer.sgml:
21808 * docs/gst/tmpl/gstcaps.sgml:
21809 * docs/gst/tmpl/gstclock.sgml:
21810 * docs/gst/tmpl/gstcompat.sgml:
21811 * docs/gst/tmpl/gstconfig.sgml:
21812 * docs/gst/tmpl/gstelement.sgml:
21813 * docs/gst/tmpl/gstelementdetails.sgml:
21814 * docs/gst/tmpl/gstelementfactory.sgml:
21815 * docs/gst/tmpl/gstenumtypes.sgml:
21816 * docs/gst/tmpl/gsterror.sgml:
21817 * docs/gst/tmpl/gstevent.sgml:
21818 * docs/gst/tmpl/gstfakesink.sgml:
21819 * docs/gst/tmpl/gstfakesrc.sgml:
21820 * docs/gst/tmpl/gstfilesink.sgml:
21821 * docs/gst/tmpl/gstfilesrc.sgml:
21822 * docs/gst/tmpl/gstfilter.sgml:
21823 * docs/gst/tmpl/gstformat.sgml:
21824 * docs/gst/tmpl/gstghostpad.sgml:
21825 * docs/gst/tmpl/gstimplementsinterface.sgml:
21826 * docs/gst/tmpl/gstindex.sgml:
21827 * docs/gst/tmpl/gstindexfactory.sgml:
21828 * docs/gst/tmpl/gstinfo.sgml:
21829 * docs/gst/tmpl/gstiterator.sgml:
21830 * docs/gst/tmpl/gstmacros.sgml:
21831 * docs/gst/tmpl/gstmemchunk.sgml:
21832 * docs/gst/tmpl/gstminiobject.sgml:
21833 * docs/gst/tmpl/gstobject.sgml:
21834 * docs/gst/tmpl/gstpad.sgml:
21835 * docs/gst/tmpl/gstpadtemplate.sgml:
21836 * docs/gst/tmpl/gstparse.sgml:
21837 * docs/gst/tmpl/gstpipeline.sgml:
21838 * docs/gst/tmpl/gstplugin.sgml:
21839 * docs/gst/tmpl/gstpluginfeature.sgml:
21840 * docs/gst/tmpl/gstquery.sgml:
21841 * docs/gst/tmpl/gstqueue.sgml:
21842 * docs/gst/tmpl/gstregistry.sgml:
21843 * docs/gst/tmpl/gstregistrypool.sgml:
21844 * docs/gst/tmpl/gstscheduler.sgml:
21845 * docs/gst/tmpl/gstschedulerfactory.sgml:
21846 * docs/gst/tmpl/gststructure.sgml:
21847 * docs/gst/tmpl/gstsystemclock.sgml:
21848 * docs/gst/tmpl/gsttaglist.sgml:
21849 * docs/gst/tmpl/gsttagsetter.sgml:
21850 * docs/gst/tmpl/gsttrace.sgml:
21851 * docs/gst/tmpl/gsttrashstack.sgml:
21852 * docs/gst/tmpl/gsttypefind.sgml:
21853 * docs/gst/tmpl/gsttypefindfactory.sgml:
21854 * docs/gst/tmpl/gsttypes.sgml:
21855 * docs/gst/tmpl/gsturihandler.sgml:
21856 * docs/gst/tmpl/gsturitype.sgml:
21857 * docs/gst/tmpl/gstutils.sgml:
21858 * docs/gst/tmpl/gstvalue.sgml:
21859 * docs/gst/tmpl/gstversion.sgml:
21860 * docs/gst/tmpl/gstxml.sgml:
21861 * docs/libs/tmpl/gstcontrol.sgml:
21862 * docs/libs/tmpl/gstdataprotocol.sgml:
21863 * docs/libs/tmpl/gstdparam.sgml:
21864 * docs/libs/tmpl/gstdplinint.sgml:
21865 * docs/libs/tmpl/gstdpman.sgml:
21866 * docs/libs/tmpl/gstdpsmooth.sgml:
21867 * docs/libs/tmpl/gstgetbits.sgml:
21868 * docs/libs/tmpl/gstunitconvert.sgml:
21869 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21870 (gst_push_src_base_init), (gst_push_src_class_init),
21871 (gst_push_src_init), (gst_push_src_create):
21872 * gst/base/gstpushsrc.h:
21873 * gst/elements/gstelements.c:
21874 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21875 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21876 (gst_fake_sink_init), (gst_fake_sink_set_property),
21877 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21878 (gst_fake_sink_event), (gst_fake_sink_preroll),
21879 (gst_fake_sink_render), (gst_fake_sink_change_state):
21880 * gst/elements/gstfakesink.h:
21881 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21882 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21883 (gst_fake_src_base_init), (gst_fake_src_class_init),
21884 (gst_fake_src_init), (gst_fake_src_event_handler),
21885 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21886 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21887 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21888 (gst_fake_src_create_buffer), (gst_fake_src_create),
21889 (gst_fake_src_start), (gst_fake_src_stop):
21890 * gst/elements/gstfakesrc.h:
21891 * gst/elements/gstfilesink.c: (_do_init),
21892 (gst_file_sink_base_init), (gst_file_sink_class_init),
21893 (gst_file_sink_init), (gst_file_sink_dispose),
21894 (gst_file_sink_set_location), (gst_file_sink_set_property),
21895 (gst_file_sink_get_property), (gst_file_sink_open_file),
21896 (gst_file_sink_close_file), (gst_file_sink_query),
21897 (gst_file_sink_event), (gst_file_sink_render),
21898 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21899 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21900 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21901 * gst/elements/gstfilesink.h:
21902 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21903 (gst_file_src_class_init), (gst_file_src_init),
21904 (gst_file_src_finalize), (gst_file_src_set_location),
21905 (gst_file_src_set_property), (gst_file_src_get_property),
21906 (gst_file_src_map_region), (gst_file_src_map_small_region),
21907 (gst_file_src_create_mmap), (gst_file_src_create_read),
21908 (gst_file_src_create), (gst_file_src_is_seekable),
21909 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21910 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21911 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21912 (gst_file_src_uri_handler_init):
21913 * gst/elements/gstfilesrc.h:
21914 more autistic cleanliness in functions/names/defines
21916 2005-07-13 Andy Wingo <wingo@pobox.com>
21918 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21919 source couldn't negotiate.
21921 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21925 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21926 function. I am channeling Hades. Put your boots on suckers!!!
21928 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21930 * testsuite/caps/Makefile.am:
21931 * testsuite/caps/value_compare.c:
21932 * testsuite/caps/value_intersect.c:
21933 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21934 move two testsuite apps over to the check dir
21936 2005-07-12 Wim Taymans <wim@fluendo.com>
21938 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21939 Added more debug info in the negotiate process.
21941 * gst/gstmessage.h:
21942 Prepare for segment playback.
21944 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21950 * tools/gst-launch.c: (main):
21951 NULL pipeline on errors.
21953 2005-07-12 Andy Wingo <wingo@pobox.com>
21955 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21956 not it comes from a malloc region. Make sure our copy gets freed.
21958 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21960 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21961 * check/gst/gstmessage.c: (GST_START_TEST):
21962 * check/gst/gststructure.c: (GST_START_TEST),
21963 (gst_structure_suite), (main):
21965 * gst/gstelement.c: (gst_element_message_full):
21966 clean up GError and debug string now that they get copied
21967 * gst/gstmessage.c: (gst_message_new_error),
21968 (gst_message_new_warning), (gst_message_parse_error),
21969 (gst_message_parse_warning):
21970 use GST_TYPE_G_ERROR for structure_new, and take copies of
21971 arguments, so that we don't mess up refcounting
21973 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21975 * check/Makefile.am:
21976 add per-test valgrind targets
21977 * check/gst-libs/gdp.c: (GST_START_TEST),
21978 (gst_data_protocol_suite), (main):
21981 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21983 * check/Makefile.am:
21984 instate more valgrindable tests
21985 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21986 (GST_START_TEST), (fakesrc_suite):
21987 * check/gst/gstpad.c: (GST_START_TEST):
21988 * check/gst/gststructure.c: (GST_START_TEST):
21990 * docs/gst/tmpl/gstminiobject.sgml:
21991 * gst/gstpad.c: (gst_pad_finalize):
21992 fix the static mutex leak
21994 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21996 * check/Makefile.am:
21997 add two more tests for valgrinding
21998 * check/gst/gstvalue.c: (GST_START_TEST):
21999 test refcount of deserialized buffer, found a leak
22000 * docs/gst/gstreamer-docs.sgml:
22001 * docs/gst/gstreamer-sections.txt:
22002 * docs/gst/gstreamer.types:
22003 * docs/gst/tmpl/gstminiobject.sgml:
22004 add miniobject to docs
22005 * gst/gstminiobject.c:
22007 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22008 (gst_string_unwrap):
22009 fix a hard-to-find invalid write for one of the tests
22010 fix a leak for deserialized buffers
22012 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22014 * docs/pwg/advanced-events.xml:
22015 * docs/pwg/advanced-request.xml:
22016 * docs/pwg/advanced-scheduling.xml:
22017 * docs/pwg/appendix-porting.xml:
22018 * docs/pwg/building-boiler.xml:
22019 * docs/pwg/intro-preface.xml:
22020 * docs/pwg/other-ntoone.xml:
22021 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22022 of example code and explanation for pad activation, loop() and
22023 getrange() functions and a bit more. Remove old comments pointing
22025 * examples/pwg/Makefile.am:
22026 Add loop/getrange examples.
22028 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22031 check for valgrind binary + some fixes
22033 valgrind suppressions for the tests
22034 * check/Makefile.am:
22035 add a valgrind: target that valgrinds the unit tests
22036 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22037 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22038 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22039 * check/gst/gstghostpad.c:
22041 * check/gst/gstdata.c:
22043 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22044 (thread_unref), (gst_mini_object_suite), (main):
22046 * gst/gst.c: (gst_deinit):
22048 add a method to clean up.
22049 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22050 (gst_system_clock_obtain):
22051 allow for disposing the system clock.
22052 * tools/gst-launch.c: (main):
22055 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22057 * docs/gst/tmpl/gstbasesrc.sgml:
22058 * docs/gst/tmpl/gstfakesrc.sgml:
22059 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22060 (gst_base_src_init), (gst_base_src_set_property),
22061 (gst_base_src_get_property), (gst_base_src_get_range),
22062 (gst_base_src_start):
22063 * gst/base/gstbasesrc.h:
22064 add num-buffers property
22065 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22066 (gst_fakesrc_init), (gst_fakesrc_set_property),
22067 (gst_fakesrc_get_property), (gst_fakesrc_create),
22068 (gst_fakesrc_start):
22069 remove num-buffers property
22071 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22073 * docs/gst/gstreamer-sections.txt:
22074 * docs/gst/tmpl/gstbasesink.sgml:
22075 * docs/gst/tmpl/gstbasesrc.sgml:
22076 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22077 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22078 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22079 (gst_base_sink_set_property), (gst_base_sink_get_property),
22080 (gst_base_sink_handle_object), (gst_base_sink_event),
22081 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22082 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22083 (gst_base_sink_loop), (gst_base_sink_deactivate),
22084 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22085 (gst_base_sink_change_state):
22086 * gst/base/gstbasesink.h:
22087 * gst/base/gstbasesrc.h:
22088 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22089 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22090 (gst_filesink_init):
22091 more macro splitting
22093 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22095 * gst/gstelement.c: (gst_element_get_bus):
22097 * tools/gst-launch.c: (check_intr), (event_loop):
22100 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22102 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22105 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22107 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22108 (gst_base_src_finalize):
22109 add finalize method and clean up properly
22110 * gst/gstpipeline.c: (gst_pipeline_dispose):
22113 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22115 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22117 add more things to check
22118 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22119 * gst/gstelement.c:
22122 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22124 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22125 (GST_START_TEST), (fakesrc_suite):
22126 * check/gst-libs/gdp.c: (GST_START_TEST):
22127 * check/gst/gst.c: (GST_START_TEST):
22128 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22129 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22130 * check/gst/gstbus.c: (GST_START_TEST):
22131 * check/gst/gstcaps.c: (GST_START_TEST):
22132 * check/gst/gstdata.c: (GST_START_TEST):
22133 * check/gst/gstelement.c: (GST_START_TEST):
22134 * check/gst/gstghostpad.c: (GST_START_TEST):
22135 * check/gst/gstiterator.c: (GST_START_TEST):
22136 * check/gst/gstmessage.c: (GST_START_TEST):
22137 * check/gst/gstobject.c: (GST_START_TEST):
22138 * check/gst/gstpad.c: (GST_START_TEST):
22139 * check/gst/gststructure.c: (GST_START_TEST):
22140 * check/gst/gstsystemclock.c: (GST_START_TEST),
22141 (gst_systemclock_suite):
22142 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22143 * check/gst/gstvalue.c: (GST_START_TEST):
22144 * check/pipelines/cleanup.c: (GST_START_TEST):
22145 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22146 * check/states/sinks.c: (GST_START_TEST):
22147 * check/gstcheck.c: (gst_check_init):
22148 * check/gstcheck.h:
22149 add debugging category
22150 use GST_START_TEST now, so we add a debug line
22152 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22154 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22155 add test for state change message on a bin
22156 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22158 * gst/gstbin.c: (gst_bin_init):
22159 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22160 * gst/gstelement.c: (gst_element_post_message),
22161 (gst_element_set_state):
22162 * gst/gstelementfactory.c: (gst_element_factory_create):
22163 * gst/gstmessage.c: (gst_message_new):
22164 * gst/gstscheduler.c:
22165 various debugging additions and cleanups
22167 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22169 * check/Makefile.am:
22170 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22172 adding tests for elements
22173 * gst/gstelement.c: (gst_element_dispose):
22175 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22177 * gst/registries/gstlibxmlregistry.c: (load_feature):
22178 plug more leaks. A simple gst_init() now is leakfree, yay.
22180 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22182 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22183 (gst_xml_registry_load):
22184 plug another memleak
22186 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22189 use GST_SET_ERROR_CFLAGS
22190 * docs/faq/cvs.xml:
22191 change to ERROR_CFLAGS
22193 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22196 make GST_ERROR_CFLAGS overridable and re-enable Werror
22197 * docs/faq/cvs.xml:
22198 add a note about error CFLAGS
22199 * docs/gst/tmpl/gstfakesrc.sgml:
22200 * gst/elements/gstfakesrc.c:
22201 comment out some unused code
22202 * gst/gst.c: (split_and_iterate):
22203 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22207 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22209 * common/Makefile.am:
22210 * common/gtk-doc.mak:
22211 * docs/gst/Makefile.am:
22212 factor out gtk-doc.mak
22214 2005-07-07 Wim Taymans <wim@fluendo.com>
22216 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22217 (gst_thread_scheduler_dispose):
22218 Unlock the STREAM_LOCK completely.
22220 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22222 * check/Makefile.am:
22223 * check/elements/.cvsignore:
22224 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22225 (START_TEST), (fakesrc_suite), (main):
22226 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22227 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22228 (gst_fakesrc_create), (gst_fakesrc_start):
22229 * gst/elements/gstfakesrc.h:
22230 adding a first element test
22232 2005-07-07 Andy Wingo <wingo@pobox.com>
22234 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22237 2005-07-07 Wim Taymans <wim@fluendo.com>
22243 2005-07-07 Wim Taymans <wim@fluendo.com>
22245 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22246 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22247 Allow subclasses to implement their own negotiation.
22249 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22251 * docs/design/part-gstbin.txt:
22252 * docs/design/part-gstpipeline.txt:
22253 Update design notes to reflect the movement of
22254 responsibility for bus handling from GstPipeline to
22257 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22260 Remove unnecessary queue2/3/4 examples.
22262 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22264 * examples/Makefile.am:
22265 * examples/helloworld/helloworld.c: (event_loop), (main):
22266 * examples/queue/queue.c: (event_loop), (main):
22267 * examples/queue2/queue2.c: (main):
22268 Update a couple of the examples to work again.
22270 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22271 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22272 Spelling corrections and extra debug.
22274 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22275 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22276 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22278 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22279 (gst_pipeline_change_state):
22280 * gst/gstpipeline.h:
22281 Move the bus handler for children to the GstBin, and create a
22282 separate bus for receiving messages from children to the one the
22283 bus sends 'upwards' on.
22285 2005-07-06 Wim Taymans <wim@fluendo.com>
22288 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22289 (gst_base_sink_handle_object), (gst_base_sink_loop),
22290 (gst_base_sink_change_state):
22291 * gst/base/gstbasesink.h:
22292 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22293 (gst_base_src_init), (gst_base_src_setcaps),
22294 (gst_base_src_getcaps), (gst_base_src_loop),
22295 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22296 (gst_base_src_start), (gst_base_src_change_state):
22297 * gst/base/gstbasesrc.h:
22298 Make basesrc negotiate.
22299 Handle the case where preroll fails in basesink.
22302 2005-07-06 Wim Taymans <wim@fluendo.com>
22304 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22305 Implement the fixate function.
22306 Clean up acceptcaps.
22308 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22310 * docs/pwg/building-filterfactory.xml:
22311 * docs/pwg/pwg.xml:
22312 Remove never-written filter-factory chapter; I'll add the various
22313 base classes to part 4 ("other element types") later on.
22315 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22317 * docs/pwg/advanced-negotiation.xml:
22318 * docs/pwg/building-boiler.xml:
22319 * docs/pwg/building-pads.xml:
22320 * docs/pwg/pwg.xml:
22321 * examples/pwg/Makefile.am:
22322 Add a chapter on caps negotiation, simplify the original code
22323 samples a bit w.r.t. caps negotiation, add link to the advanced
22324 section. Add a bunch of examples showing different use cases of
22325 different types of caps negotiation. Upstream renegotiation isn't
22326 fully documented yet since nobody knows how that works.
22328 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22330 * check/gst/gstpad.c:
22331 * check/gstcheck.c:
22332 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22333 if pad has no parent, return NULL as list of internal links
22335 2005-07-05 Andy Wingo <wingo@pobox.com>
22337 * gst/elements/gstfilesrc.c:
22338 * gst/elements/gstfakesrc.c:
22339 * gst/base/gstpushsrc.c:
22340 * gst/base/gstbasesrc.h:
22341 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22343 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22346 better report generation target (lcov needs a patch)
22348 2005-07-05 Andy Wingo <wingo@pobox.com>
22350 * gst/elements, testsuite: Null if we got it...
22352 2005-07-05 Wim Taymans <wim@fluendo.com>
22355 * libs/gst/dataprotocol/Makefile.am:
22356 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22357 * libs/gst/dataprotocol/dataprotocol.h:
22358 * pkgconfig/Makefile.am:
22359 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22360 * pkgconfig/gstreamer-dataprotocol.pc.in:
22361 Ported dataprotol to 0.9.
22362 Added pkgconfig files.
22364 2005-07-05 Andy Wingo <wingo@pobox.com>
22366 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22367 Default to returning TRUE for the case when tranform_caps returns
22368 a fixed caps, like for identity or volume.
22370 * check/gst/gstbus.c (pound_bus_with_messages):
22371 * check/gst/gstmessage.c (START_TEST):
22372 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22373 message API change.
22375 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22376 logic weaks here: always run transform_caps, trying passthrough
22377 operation only if the original caps intersects with the transform.
22379 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22380 source and sink caps.
22382 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22383 Intersect the peer caps with the pad template before going into
22385 (gst_base_transform_transform_caps): More debugging.
22387 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22390 2005-07-04 Edward Hervey <edward@fluendo.com>
22394 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22397 2005-07-04 Andy Wingo <wingo@pobox.com>
22399 * check/gst/gstpad.c: Only set explicit caps on pads.
22401 2005-07-01 Andy Wingo <wingo@pobox.com>
22403 * tests/network-clock.scm: Commentary update.
22405 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22406 Didn't really make sense, not implementable with basetransform,
22408 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22409 attempt at implementing the sync property, needs an unlock method.
22411 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22412 New func, by default returns the same caps (the identity
22414 (gst_base_transform_getcaps): Uses transform_caps to return
22415 something sensible.
22416 (gst_base_transform_setcaps): Complicated logic to get caps on
22417 both pads, even if they are different, and to call set_caps once
22418 for every time both pads get their caps set.
22419 (gst_base_transform_handle_buffer): Give the ref to the transform
22420 function. Allows in-place modification of the buffer.
22422 * gst/base/gstbasetransform.h (transform_caps): New class method.
22423 Given caps on one side, what can I do on the other.
22424 (set_caps): Take two caps, one for each side of the element.
22427 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22428 caps in place. This is safe because we can check the mutability of
22429 the caps, and a good idea because fixate functions are just called
22430 as a matter of last resort. (Not actually implemented.)
22431 (gst_pad_set_caps): If the caps we're setting is actually the same
22432 as the existing pad caps, just update the pointer without calling
22433 setcaps. Assert that caps is either NULL or fixed, as per the
22436 * gst/gstghostpad.c: Update for fixate changes.
22438 2005-07-02 Andy Wingo <wingo@pobox.com>
22441 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22442 two refcounts makes it immutable, which is enough. Doc more.
22444 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22446 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22447 Put the mini_object into GValue as a mini_object,
22448 not a gpointer, since that's how we declared
22451 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22453 * examples/pwg/Makefile.am:
22454 Fix buildbot again.
22456 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22458 * docs/pwg/building-testapp.xml:
22460 * examples/pwg/Makefile.am:
22463 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22466 * examples/Makefile.am:
22467 * examples/pwg/Makefile.am:
22468 * examples/pwg/extract.pl:
22469 Enable building the PWG examples.
22470 * docs/pwg/advanced-interfaces.xml:
22471 Add URI interface stub.
22472 * docs/pwg/advanced-types.xml:
22473 * docs/pwg/other-autoplugger.xml:
22474 * docs/pwg/appendix-porting.xml:
22475 * docs/pwg/pwg.xml:
22476 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22477 * docs/pwg/building-boiler.xml:
22478 * docs/pwg/building-chainfn.xml:
22479 * docs/pwg/building-pads.xml:
22480 * docs/pwg/building-props.xml:
22481 * docs/pwg/building-state.xml:
22482 * docs/pwg/building-testapp.xml:
22483 Update the building-*.xml parts for 0.9 changes. All examples
22484 code blocks compile in examples/pwg/*.
22486 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22488 * docs/manual/advanced-autoplugging.xml:
22489 * docs/manual/appendix-checklist.xml:
22490 * docs/manual/appendix-integration.xml:
22491 * docs/manual/highlevel-components.xml:
22492 Fix playbin/decodebin examples, update docs a bit, mention bus
22493 instead of signals in various places, mention kmplayer and
22494 kaffeine since they have a working GStreamer backend in the KDE
22497 2005-06-30 Wim Taymans <wim@fluendo.com>
22500 * docs/design/draft-ghostpads.txt:
22501 * docs/design/draft-push-pull.txt:
22502 * docs/design/draft-query.txt:
22503 * docs/design/part-TODO.txt:
22504 * docs/design/part-query.txt:
22505 Added CHANGES-0.9 doc, updated status of other docs.
22510 2005-06-30 Wim Taymans <wim@fluendo.com>
22512 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22513 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22514 (gst_base_sink_change_state):
22515 * gst/base/gstbasesink.h:
22516 Some tweaks, only EOS and a buffer complete a preroll.
22518 2005-06-30 Andy Wingo <wingo@pobox.com>
22520 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22521 activate_push down to the internal pad as well.
22523 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22525 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22527 * gst/gsttaginterface.c:
22528 Some documentation fixes (#307394 and #307397).
22530 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22532 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22534 * gst/gstvalue.c: (gst_value_intersect_list):
22535 Fix memleak (#309125).
22537 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22539 * docs/manual/advanced-dataaccess.xml:
22540 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22541 * docs/manual/basics-pads.xml:
22542 Add reference for filtered caps to above chapter.
22544 2005-06-30 Wim Taymans <wim@fluendo.com>
22546 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22547 (gst_bin_change_state):
22549 Lame attempt at making the state change function a bit
22552 2005-06-30 Wim Taymans <wim@fluendo.com>
22554 * docs/design/part-clocks.txt:
22555 * docs/design/part-element-sink.txt:
22556 * docs/design/part-events.txt:
22557 * docs/design/part-preroll.txt:
22558 * docs/design/part-states.txt:
22559 Some more tweeks and additions to the docs.
22561 2005-06-30 Wim Taymans <wim@fluendo.com>
22563 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22564 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22565 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22566 (gst_pad_check_pull_range), (gst_pad_get_range),
22567 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22569 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22570 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22571 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22572 (gst_pad_remove_buffer_probe):
22573 Removed atomic operations, use existing LOCK.
22574 Move exception handling out of main code path.
22576 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22578 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22579 (silly_return_true_function), (gst_pad_class_init),
22580 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22581 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22582 (gst_pad_send_event):
22583 Fix accumulator, add default value by using _emitv() instead
22584 of _emit() for signal emission.
22586 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22588 * docs/manual/advanced-dataaccess.xml:
22589 * examples/manual/Makefile.am:
22591 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22594 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22596 * gst/elements/gstfilesink.c: (gst_filesink_render):
22597 Simplify code so that we don't have to handle short
22598 writes and return GST_FLOW_ERROR if an error occured.
22600 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22602 * docs/gst/gstreamer-docs.sgml:
22603 Remove probes more.
22605 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22607 * docs/gst/gstreamer-sections.txt:
22608 * docs/gst/tmpl/gstpad.sgml:
22609 * docs/gst/tmpl/gstprobe.sgml:
22611 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22612 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22613 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22614 (gst_pad_push_event), (gst_pad_send_event):
22616 * gst/gstutils.c: (gst_pad_add_data_probe),
22617 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22618 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22619 (gst_pad_remove_buffer_probe):
22621 Remove old probes, add new g-signal-based probes and some utility
22624 2005-06-29 Edward Hervey <edward@fluendo.com>
22626 * gst/gstelementfactory.c:
22629 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22630 the definition to the header file.
22632 2005-06-29 Andy Wingo <wingo@pobox.com>
22634 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22635 plugins from the source directory.
22637 2005-06-29 Wim Taymans <wim@fluendo.com>
22639 * docs/gst/tmpl/gstbuffer.sgml:
22640 * docs/gst/tmpl/gstclock.sgml:
22641 Some fixings for blantently wrong text.
22643 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22645 * check/Makefile.am:
22646 * gst/gst.c: (add_path_func), (init_pre):
22647 * gst/gstregistry.c: (gst_registry_add_path):
22648 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22649 only scan the GST_PLUGIN_PATH locations, and not add
22652 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22654 * docs/gst/gstreamer-sections.txt:
22655 * docs/gst/tmpl/gstbasesrc.sgml:
22656 * gst/gstelement.c:
22657 * gst/gstelement.h:
22662 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22664 * docs/manual/advanced-autoplugging.xml:
22665 Fix autoplugging example.
22667 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22669 * docs/manual/advanced-autoplugging.xml:
22670 * docs/manual/mime-world.fig:
22671 Try to get autoplugging working, fix type detection. Fix text
22672 in hello-world image.
22674 2005-06-29 Wim Taymans <wim@fluendo.com>
22676 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22677 (gst_base_sink_change_state):
22681 map SIGNAL and BROADCAST to the right function.
22684 Remove redundant braces.
22686 * gst/gstpad.c: (gst_pad_set_caps):
22687 Don't call setcaps function when reseting caps to NULL.
22689 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22690 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22691 (gst_system_clock_id_unschedule):
22692 Use BROADCAST as this is what we do.
22694 2005-06-29 Wim Taymans <wim@fluendo.com>
22696 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22697 We are actually prerolling before commiting the state
22700 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22702 * docs/manual/advanced-clocks.xml:
22703 * docs/manual/advanced-interfaces.xml:
22704 * docs/manual/advanced-metadata.xml:
22705 * docs/manual/advanced-position.xml:
22706 * docs/manual/advanced-schedulers.xml:
22707 * docs/manual/advanced-threads.xml:
22708 * docs/manual/appendix-porting.xml:
22709 * docs/manual/basics-bins.xml:
22710 * docs/manual/basics-bus.xml:
22711 * docs/manual/basics-elements.xml:
22712 * docs/manual/basics-helloworld.xml:
22713 * docs/manual/basics-pads.xml:
22714 * docs/manual/highlevel-components.xml:
22715 * docs/manual/manual.xml:
22716 * docs/manual/thread.fig:
22717 Update (until threads/scheduling) Application Development Manual;
22718 remove GstThread, add GstBus, add simple porting checklist, add
22719 documentation for tag writing, clocks, make all examples until this
22720 part compile and run.
22721 * examples/manual/Makefile.am:
22722 Update from changes to Application Development Manual; add bus
22723 example, remove thread example.
22725 2005-06-28 Wim Taymans <wim@fluendo.com>
22727 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22728 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22729 (gst_bus_source_dispatch):
22730 Add debugging messages.
22731 Make internal methods static.
22732 Handle the case where the bus is flushed in the handler.
22734 * gst/gstelement.c: (gst_element_get_bus):
22735 Fix refcount in _get_bus();
22737 * gst/gstpipeline.c: (gst_pipeline_change_state),
22738 (gst_pipeline_get_clock_func):
22739 Clock refcounting fixes.
22740 Handle the case where preroll timed out more gracefully.
22742 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22743 Clean up the internal thread in dispose. This is needed
22744 for subclasses that actually get disposed.
22746 * gst/schedulers/threadscheduler.c:
22747 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22748 (gst_thread_scheduler_dispose):
22749 Free thread pool in dispose.
22751 2005-06-28 Andy Wingo <wingo@pobox.com>
22753 * tests/network-clock-utils.scm (debug, print-event): New utils.
22755 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22756 (*packet-loss*): Unified loss probability.
22757 (network-time): Report out-of-band events.
22759 * tests/plot-data: Add support for out-of-band events. Hack it
22760 into this script instead of passing it down the pipe; should fix
22763 2005-06-28 Wim Taymans <wim@fluendo.com>
22765 * docs/gst/gstreamer.types:
22766 * docs/gst/tmpl/gstbasesrc.sgml:
22767 * docs/gst/tmpl/gstpad.sgml:
22770 2005-06-28 Wim Taymans <wim@fluendo.com>
22772 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22773 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22774 (gst_proxy_pad_do_fixatecaps):
22775 Correctly proxy the check_pull_range function.
22777 2005-06-28 Andy Wingo <wingo@pobox.com>
22779 * tests/network-clock.scm: Removed need for slib.
22781 2005-06-28 Wim Taymans <wim@fluendo.com>
22783 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22784 (gst_basesink_preroll_queue_flush):
22785 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22786 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22787 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22788 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22789 (gst_proxy_pad_set_property):
22792 * gst/gstqueue.c: (gst_queue_init):
22793 The deprecated pad loop function is removed now.
22795 2005-06-28 Andy Wingo <wingo@pobox.com>
22797 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22798 New parameters, simulate network packet loss.
22800 * tests/network-clock-utils.scm: Initialize the RNG.
22802 2005-06-28 Wim Taymans <wim@fluendo.com>
22804 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22805 (gst_basesink_event), (gst_basesink_deactivate):
22806 Flushing the preroll queue always needs to unlock the waiters.
22808 2005-06-28 Edward Hervey <edward@fluendo.com>
22810 * gst/gstpipeline.c: (gst_pipeline_send_event):
22811 Wheen a seek was successful on a pipeline, set the stream_time to the
22812 seek offset in order to have a synchronized stream_time.
22814 2005-06-28 Wim Taymans <wim@fluendo.com>
22816 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22817 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22818 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22819 (gst_proxy_pad_do_fixatecaps):
22820 Call wrapper function instead of just calling the function
22821 pointers. This takes care of any locking and whatmore.
22823 2005-06-28 Wim Taymans <wim@fluendo.com>
22825 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22826 (gst_pad_pull_range):
22828 CONNECTED -> LINKED.
22830 2005-06-28 Andy Wingo <wingo@pobox.com>
22832 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22833 source-munging commit!!!
22835 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22836 (gst_object_sink): Take gpointer arguments, not GstObject --
22837 avoids casts. Like GLib.
22839 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22842 2005-06-27 Andy Wingo <wingo@pobox.com>
22844 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22847 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22848 returns a sorted copy of the trace list.
22849 (gst_alloc_trace_print_live): New API, only prints traces with
22850 live objects. Sort the list.
22851 (gst_alloc_trace_print_all): Sort the list.
22852 (gst_alloc_trace_print): Align columns.
22854 * gst/elements/gstttypefindelement.c:
22855 * gst/elements/gsttee.c:
22856 * gst/base/gstbasesrc.c:
22857 * gst/base/gstbasesink.c:
22858 * gst/base/gstbasetransform.c:
22859 * gst/gstqueue.c: Adapt for pad activation changes.
22861 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22863 (gst_pipeline_dispose): Drop ref on sched.
22865 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22866 (gst_pad_activate_default): Push mode by default.
22867 (pre_activate_switch, post_activate_switch): New stubs, things to
22868 do before and after switching activation modes on pads.
22869 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22870 the pad's activate function to choose which mode to activate.
22871 Shortcut on deactivation and call the right function directly.
22872 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22874 (gst_pad_activate_push): New API, same for push mode.
22875 (gst_pad_set_activate_function)
22876 (gst_pad_set_activatepull_function)
22877 (gst_pad_set_activatepush_function): Setters for new API.
22879 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22880 Trace all miniobjects.
22881 (gst_mini_object_make_writable): Unref the arg if we copy, like
22882 gst_caps_make_writable.
22884 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22886 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22887 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22888 Adapt for new pad API.
22890 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22892 * gst/gstelement.h:
22893 * gst/gstelement.c (gst_element_iterate_src_pads)
22894 (gst_element_iterate_sink_pads): New API functions.
22896 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22897 should fold into gstiterator.c in some form.
22898 (gst_element_pads_activate): Simplified via use of fold and
22899 delegation of decisions to gstpad->activate.
22901 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22904 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22905 class once in init, like gstmessage. Didn't run into this issue
22906 but it seems correct. Don't initialize a trace, gstminiobject does
22909 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22910 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22912 (assert_live_count): New util function, uses alloc traces to check
22915 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22916 To be modified when unlink drops the internal pad.
22918 2005-06-27 Wim Taymans <wim@fluendo.com>
22920 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22921 (gst_bin_change_state):
22922 Cleanup the get_state() function a little, make sure it
22923 iterates the same set of elements.
22924 Added stub iterate_state_order().
22926 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22928 * docs/gst/gstreamer-docs.sgml:
22929 * docs/gst/gstreamer-sections.txt:
22930 * docs/gst/gstreamer.types:
22931 * docs/gst/tmpl/gstbasesink.sgml:
22932 * docs/gst/tmpl/gstbasesrc.sgml:
22933 * docs/gst/tmpl/gstbasetransform.sgml:
22934 * docs/gst/tmpl/gstelement.sgml:
22935 * docs/gst/tmpl/gstiterator.sgml:
22936 * gst/base/gstbasesrc.c:
22937 * gst/base/gstbasesrc.h:
22938 * gst/base/gstbasetransform.h:
22939 * gst/gstelement.c:
22940 * gst/gstiterator.h:
22941 adding basetransform and iterator docs
22943 2005-06-27 Andy Wingo <wingo@pobox.com>
22945 * docs/design/part-activation.txt: Notes on how activation should
22946 work -- not quite implemented yet.
22948 2005-06-25 Wim Taymans <wim@fluendo.com>
22950 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22951 At least get the chain function correct, needs more
22954 2005-06-25 Wim Taymans <wim@fluendo.com>
22956 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22957 (gst_basesink_handle_object), (gst_basesink_event),
22958 (gst_basesink_do_sync), (gst_basesink_handle_event),
22959 (gst_basesink_change_state):
22961 Right, two problems here: ghostpads don't take locks and
22962 glib _rec_mutex_lock_full() with depth==0 still locks.
22963 Catch illegal locking and g_warn them.
22965 2005-06-25 Wim Taymans <wim@fluendo.com>
22967 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22968 Have to check for completion now...
22970 2005-06-25 Wim Taymans <wim@fluendo.com>
22972 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22973 (gst_basesink_handle_object), (gst_basesink_event),
22974 (gst_basesink_do_sync), (gst_basesink_handle_event),
22975 (gst_basesink_change_state):
22977 Unlock STREAM_LOCK whatever the recursion was.
22979 2005-06-25 Wim Taymans <wim@fluendo.com>
22981 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22982 (gst_basesink_preroll_queue_empty),
22983 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22984 (gst_basesink_event), (gst_basesink_do_sync),
22985 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22986 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22987 (gst_basesink_change_state):
22988 Reworked the base sink, handle event and buffer serialisation
22989 correctly and removed possible deadlock.
22990 Handle EOS correctly.
22992 2005-06-25 Wim Taymans <wim@fluendo.com>
22994 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22995 (gst_pipeline_change_state):
22996 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22997 Allow elements to post EOS in the state change function.
22998 Fix up -launch, make it exit the poll loop when the
22999 pipeline actually changed state.
23000 Fix up warning parsing in -launch.
23002 2005-06-25 Wim Taymans <wim@fluendo.com>
23004 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23005 (gst_tee_sink_activate):
23006 Core takes STREAM_LOCK for us now.
23008 2005-06-25 Wim Taymans <wim@fluendo.com>
23010 * gst/gstelement.c: (gst_element_get_state_func),
23011 (gst_element_set_state):
23012 * gst/gstelement.h:
23013 * gst/gstmessage.c: (gst_message_parse_error),
23014 (gst_message_parse_warning):
23015 Keep track of current target state while performing a state
23016 change so that subclasses can do something interesting.
23017 Fix parsing of warning/error messages when GError is NULL.
23019 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23021 * docs/gst/Makefile.am:
23022 * docs/gst/gstreamer-docs.sgml:
23023 * docs/gst/gstreamer-sections.txt:
23024 * docs/gst/gstreamer.types:
23025 * docs/gst/tmpl/gstbasesink.sgml:
23026 * docs/gst/tmpl/gstbasesrc.sgml:
23027 * docs/gst/tmpl/gstbin.sgml:
23028 * docs/gst/tmpl/gstcompat.sgml:
23029 * docs/gst/tmpl/gstfakesink.sgml:
23030 * docs/gst/tmpl/gstfakesrc.sgml:
23031 * docs/gst/tmpl/gstfilesink.sgml:
23032 * docs/gst/tmpl/gstfilesrc.sgml:
23033 * docs/gst/tmpl/gstindex.sgml:
23034 * docs/manual/appendix-quotes.xml:
23035 * gst/base/gstbasesrc.h:
23036 * gst/elements/gstfakesrc.h:
23037 * gst/gstmessage.h:
23038 start pulling in base classes and elements in our docs
23040 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23042 * docs/gst/Makefile.am:
23043 * docs/libs/Makefile.am:
23044 fixed make distcheck with gtk-doc 1.3
23046 2005-06-23 Wim Taymans <wim@fluendo.com>
23048 * gst/gstelement.c: (gst_element_get_state_func),
23049 (gst_element_set_state), (gst_element_change_state):
23050 When the state did not change, also report NO_PREROLL
23053 2005-06-23 Wim Taymans <wim@fluendo.com>
23055 * gst/gstpad.c: (gst_pad_event_default):
23056 * gst/gstqueue.c: (gst_queue_loop):
23057 No unsafe task pausing please.
23059 2005-06-23 Wim Taymans <wim@fluendo.com>
23061 * gst/schedulers/threadscheduler.c:
23062 (gst_thread_scheduler_task_start),
23063 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23064 Ref the task before pushing it on the threadpool. This
23065 makes sure that we have a ref when the threadfunction is
23068 2005-06-23 Andy Wingo <wingo@pobox.com>
23070 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23071 offset is greater than the file's size.
23073 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23074 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23075 * gst/gstobject.c (gst_object_class_init): Make the class lock
23076 recursive. Wim won't let me drop deep_notify. Decodebin works
23077 again, whoopdy doo.
23079 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23080 internal pad, and hacks accordingly. Doesn't do it on the target
23081 pad because we change its caps. Probably catches all cases of
23083 (gst_ghost_pad_set_property): Connect to notify::caps as
23086 * tests/network-clock.scm (plot-simulation): Pipe data to the
23087 elite python skript.
23089 * tests/network-clock-utils.scm (define-parameter): New macro,
23090 defines a parameter that can be set via the command line.
23091 (set-parameter!, parse-parameter-arguments): Command line args
23094 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23097 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23099 * gst/elements/gsttypefindelement.c:
23100 (gst_type_find_element_handle_event):
23101 Don't restart typefinding on a discont.
23102 * gst/gstelement.c: (gst_element_set_state):
23103 Debug spelling fix.
23104 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23105 Allow changing mode of an active pad.
23106 Debug output fixes.
23107 * gst/registries/gstlibxmlregistry.c: (load_feature):
23108 Don't cast a static pad template to a normal pad template.
23110 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23112 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23113 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23114 remove gst_strtoll completely, since it didn't actually do
23115 anything more than what g_ascii_strtoull already does.
23116 check for range errors when deserializing
23117 do a cast for the unsigned cases; but further fixing needs
23118 a decision on what the interpretation of "(int)" and
23119 deserialization should be for values that fall outside the
23120 type's boundaries (ie, refuse, or interpret as casting)
23122 2005-06-23 Wim Taymans <wim@fluendo.com>
23124 * check/Makefile.am:
23125 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23126 * docs/design/part-live-source.txt:
23127 * docs/design/part-states.txt:
23128 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23129 (gst_basesrc_set_live), (gst_basesrc_is_live),
23130 (gst_basesrc_get_range), (gst_basesrc_activate),
23131 (gst_basesrc_change_state):
23132 * gst/base/gstbasesrc.h:
23133 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23134 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23135 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23136 * gst/gstelement.c: (gst_element_get_state_func),
23137 (gst_element_set_state):
23138 * gst/gstelement.h:
23140 * tools/gst-launch.c: (event_loop), (main):
23141 Added support for live sources and other elements that
23143 Updated design docs, added live-source design doc.
23144 Implemented live source functionality in basesrc
23145 Fix error condition in _bin_get_state()
23146 Implement live source handling in -launch.
23147 Added check for live sources.
23148 Fixed case in GstBin where elements were changed state
23152 2005-06-23 Andy Wingo <wingo@pobox.com>
23154 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23155 borken refcounting.
23157 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23158 gst_caps_replace takes care of this for us.
23160 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23161 gst_pad_set_caps on the target, not just its setcaps() function.
23163 * tests/network-clock.scm:
23164 * tests/network-clock-utils.scm: A network clock simulator.
23165 Something of an algorithmic testbed before doing something in C.
23167 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23169 * check/Makefile.am:
23170 * check/gst/capslist.h:
23171 copy over from 0.8, and add two with bitmasks specified with
23173 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23174 add test to parse everything from capslist.h
23175 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23177 add test for structure deserialization
23178 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23179 add tests for deserialization of strings to int types
23180 * gst/gststructure.c: (gst_structure_nth_field_name):
23181 * gst/gststructure.h:
23182 add a way to get the name of a field referenced by index
23183 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23184 instead of checking if the resulting long long lies between
23185 min and max, we check if the long long would fit into
23186 a number of bytes for the final type.
23187 This fixes cases where a string represents 2^32 - 1, which
23188 when cast to int would be the (valid) -1, but is bigger than
23191 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23193 * gst/parse/grammar.y:
23194 add a log line for type deserialization
23196 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23198 * check/gst/gstvalue.c: (START_TEST):
23199 * gst/gstvalue.c: (gst_value_deserialize):
23200 return long long, not int, so gint64 deserialization actually
23201 works. Is there any flag that makes the compiler check this ?
23204 2005-06-22 Wim Taymans <wim@fluendo.com>
23207 Added convenience macros for setting buffers in GValue.
23209 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23211 * check/gst/.cvsignore:
23212 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23213 add a test deserializing int64, and comment part out because
23216 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23218 * check/Makefile.am:
23219 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23220 * testsuite/Makefile.am:
23221 * testsuite/caps/Makefile.am:
23222 * testsuite/caps/value_serialize.c:
23223 * testsuite/test_gst_init.c:
23224 move a value_serialize test over
23226 2005-06-20 Wim Taymans <wim@fluendo.com>
23231 * gst/gstvalue.c: (gst_value_compare_buffer),
23232 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23233 (gst_value_compare_flags), (gst_value_serialize_flags),
23234 (gst_value_deserialize_flags), (_gst_value_initialize):
23235 Fix serialisation of buffers, they are not boxed types anymore
23237 2005-06-20 Wim Taymans <wim@fluendo.com>
23239 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23240 Testcase to show error in buffer-on-caps serialisation.
23242 2005-06-20 Andy Wingo <wingo@pobox.com>
23244 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23245 will be adding to later.
23247 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23248 if its socks fill with rocks.
23249 (gst_system_clock_obtain): Set the name on object construction.
23250 Avoid double-checked locking.
23252 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23254 * gst/gsturi.c: (gst_element_make_from_uri):
23255 Fix potential endless loop.
23257 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23259 * check/Makefile.am:
23261 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23263 move over from testsuite dir and clean up
23266 * testsuite/Makefile.am:
23267 * testsuite/tags/.cvsignore:
23268 * testsuite/tags/Makefile.am:
23269 * testsuite/tags/merge.c:
23270 remove testsuite/tags
23272 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23274 * docs/gst/gstreamer-sections.txt:
23275 * docs/gst/tmpl/gstenumtypes.sgml:
23276 * win32/gstenumtypes.c:
23277 clean up documentation build a little
23279 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23281 * check/gstcheck.h:
23282 add macros for checking refcounts on objects and caps
23283 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23284 add some more unit tests
23285 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23286 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23287 fix leaked refcounts (I hope :)) so unittest works
23291 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23293 * configure.ac: back to HEAD
23295 === release 0.9.1 ===
23297 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23303 2005-06-17 Andy Wingo <wingo@pobox.com>
23305 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23306 assert; it's always possible that the pad gets deactivated in
23307 between the checks in gstpad.c and the implementation. Rely on
23308 finish_preroll() to return a FLUSHING or similar instead of on the
23311 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23312 clock and post an EOS message if we come out of finish_preroll in
23315 2005-06-16 David Schleef <ds@schleef.org>
23317 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23318 (gst_capsfilter_set_property): Allow NULL as possible value
23319 for filter_caps property, indicating GST_CAPS_ANY.
23321 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23323 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23325 * gst/schedulers/Makefile.am:
23327 * gstreamer.spec.in:
23330 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23332 * gstreamer.spec.in:
23335 2005-06-08 Andy Wingo <wingo@pobox.com>
23337 * gst/gstutils.c: RPAD fixes all around.
23338 (gst_element_link_pads): Refcounting fixes.
23340 * tools/gst-inspect.c:
23341 * tools/gst-xmlinspect.c:
23343 * gst/base/gsttypefindhelper.c:
23344 * gst/base/gstbasesink.c:
23345 * gst/gstqueue.c: RPAD fixes.
23347 * gst/gstghostpad.h:
23348 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23349 pads. The tricky thing is they provide both source and sink
23350 interfaces, since they proxy the internal pad for the external
23351 pad, and vice versa. Implement with lower-level ProxyPad objects,
23352 with the interior proxy pad as a child of the exterior ghost pad.
23353 Should write a doc on this.
23355 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23356 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23359 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23360 pads are real pads. No ghost pads in this file. Not documenting
23361 the myriad s/RPAD/PAD/ and REALIZE fixes.
23362 (gst_pad_class_init): Add properties for "direction" and
23363 "template". Both are construct-only, so they can't change during
23364 the life of the pad. Fixes properly deriving from GstPad.
23365 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23366 derived objects, just set properties when creating the objects via
23368 (gst_pad_get_parent): Implement as a function, return NULL if the
23369 parent is not an element.
23370 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23371 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23373 * gst/gstobject.c (gst_object_class_init): Make name a construct
23374 property. Don't set it in the object init.
23376 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23377 with UNKNOWN direction.
23378 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23379 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23380 (gst_element_remove_pad): Remove ghost-pad special cases.
23381 (gst_element_pads_activate): Remove rpad cruft.
23383 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23384 catch the pad's-parent-not-an-element case.
23386 * gst/gst.h: Include gstghostpad.h.
23388 * gst/gst.c (init_post): No more real, ghost pads.
23390 * gst/Makefile.am: Add gstghostpad.[ch].
23392 * check/Makefile.am:
23393 * check/gst/gstbin.c:
23394 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23395 into a bin creates ghost pads, and that the refcounts are right.
23396 Partly moved from gstbin.c.
23398 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23400 * check/gst-libs/.cvsignore:
23401 * check/gst/.cvsignore:
23402 * check/pipelines/.cvsignore:
23404 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23405 (START_TEST), (cleanup_suite), (main):
23406 add some tests related to cleanup after running pipelines
23408 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23410 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23411 add a testsuite for GstBuffer
23413 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23415 * gst/gstminiobject.h:
23416 add defines for accessing the refcount
23418 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23420 * Makefile.am: added support for html unit test coverage reports
23422 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23424 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23425 Free existing caps if the capsfilter changes. Add a FIXME about
23426 setting those caps on the pads.
23428 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23429 Before adding a ghost pad to a parent bin, check that there isn't
23430 already one for the element on the bin. Prevents infinite recursion
23431 when using decodebin in parse pipelines. Andy says he'll rewrite the
23432 way this works anyway, so ignore the hack.
23434 2005-06-02 Andy Wingo <wingo@pobox.com>
23436 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23437 file size, pass it on to the type find helper.
23439 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23440 segment_start and segment_end properly according to the seek
23441 method. Segment_end is still a bit flaky because offset can be
23442 negative for CUR and END cases, but it takes -1 as an "unset"
23445 2005-06-02 Wim Taymans <wim@fluendo.com>
23447 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23448 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23449 (gst_basesink_activate):
23450 * gst/base/gstbasesink.h:
23451 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23452 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23453 (gst_pad_query), (gst_pad_start_task):
23455 * gst/gstqueue.c: (gst_queue_bufferalloc),
23456 (gst_queue_handle_sink_event), (gst_queue_chain):
23457 Bufferalloc: return GstFlowReturn to more accuratly report
23458 why allocation failed.
23460 2005-06-02 Wim Taymans <wim@fluendo.com>
23462 * gst/gstpipeline.c: (gst_pipeline_send_event):
23463 Take snapshot of state without blocking.
23465 2005-06-02 Wim Taymans <wim@fluendo.com>
23467 * docs/design/part-TODO.txt:
23468 * docs/design/part-caps.txt:
23469 * docs/design/part-clocks.txt:
23470 * docs/design/part-negotiation.txt:
23471 * docs/design/part-preroll.txt:
23474 2005-05-30 Wim Taymans <wim@fluendo.com>
23476 * gst/elements/gstidentity.c: (gst_identity_event),
23477 (gst_identity_transform), (gst_identity_get_property):
23478 Protect last_message property as it is accessed from
23481 2005-05-30 Wim Taymans <wim@fluendo.com>
23483 * gst/gstelement.c: (gst_element_init),
23484 (gst_element_pads_activate), (gst_element_change_state):
23485 Slicker pad activation code.
23487 2005-05-30 Wim Taymans <wim@fluendo.com>
23490 * gst/gstelement.h:
23491 * gst/gstelementfactory.h:
23493 Move elementfactory methods to separate .h file.
23495 2005-05-30 Wim Taymans <wim@fluendo.com>
23497 * docs/design/part-overview.txt:
23498 * gst/gstsystemclock.h:
23499 Small typo fixes, doc updates.
23501 2005-05-30 Wim Taymans <wim@fluendo.com>
23503 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23504 (init_popt_callback):
23505 Remove cpu-opt flag.
23507 2005-05-30 Wim Taymans <wim@fluendo.com>
23509 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23510 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23512 Avoid typechecking in places where not needed.
23513 Added accessor for malloc_data.
23515 2005-05-30 Wim Taymans <wim@fluendo.com>
23517 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23518 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23519 (gst_pad_configure_sink), (gst_pad_configure_src),
23520 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23521 (gst_pad_start_task):
23522 Propagate errors from _set_caps() in configure_src/sink
23523 functions instead of returning TRUE.
23524 FLUSH events can travel up and downstream
23527 2005-05-30 Wim Taymans <wim@fluendo.com>
23529 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23530 (gst_basesink_activate):
23531 Handle EOS in preroll.
23533 2005-05-30 Wim Taymans <wim@fluendo.com>
23535 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23536 (gst_queue_loop), (gst_queue_handle_src_event):
23537 Remove old pieces of code
23538 Flushing the queue in an upstream event is a very bad idea.
23540 2005-05-26 Andy Wingo <wingo@pobox.com>
23542 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23543 gst_value_set_mini_object so as to add a ref on the object (which
23544 will be removed when the value is unset).
23546 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23547 arg type in ::handoff.
23549 * gst/gstelement.c (gst_element_change_state): Also deactivate
23550 pads in READY->NULL, just in case the element didn't make it to
23551 PAUSED. Wingo tested, Wim approved.
23553 2005-05-26 Wim Taymans <wim@fluendo.com>
23555 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23556 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23557 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23558 A flushing pad cannot be used to alloc_buffer from.
23560 2005-05-26 Wim Taymans <wim@fluendo.com>
23562 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23563 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23564 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23565 (gst_bus_create_watch), (gst_bus_add_watch_full):
23567 Implement a real GSource and use g_main_context_wakeup() to
23568 signal new messages instead of the socketpair.
23570 2005-05-25 Wim Taymans <wim@fluendo.com>
23572 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23573 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23574 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23575 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23576 (gst_pad_send_event), (gst_pad_start_task):
23577 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23578 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23579 (gst_queue_sink_activate), (gst_queue_src_activate),
23580 (gst_queue_change_state):
23582 Fix state changes for non sinks. We now change sinks, then elements
23583 with unconnected srcpads, then the rest.
23584 More efficient queue unlocking in flush and state changes.
23585 Set the pad activate mode even if it does not have an activate
23588 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23590 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23591 Don't go in pull mode for non-seekable sources.
23592 * gst/elements/gsttypefindelement.h:
23593 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23594 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23595 (free_entry), (stop_typefinding),
23596 (gst_type_find_element_handle_event), (find_peek),
23597 (gst_type_find_element_chain), (do_pull_typefind),
23598 (gst_type_find_element_change_state):
23599 Allow typefinding (w/o seeking) in push-mode, simplified version
23600 of what was in 0.8.
23601 * gst/gstutils.c: (gst_buffer_join):
23603 gst_buffer_join() from 0.8.
23605 2005-05-25 Wim Taymans <wim@fluendo.com>
23607 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23608 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23609 (gst_pad_send_event), (gst_pad_start_task):
23610 Disable attempt at mode switching until it is figured out.
23612 2005-05-25 Wim Taymans <wim@fluendo.com>
23614 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23615 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23616 (gst_basesink_finish_preroll), (gst_basesink_chain),
23617 (gst_basesink_loop), (gst_basesink_activate),
23618 (gst_basesink_change_state):
23619 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23620 (gst_basesrc_get_range), (gst_basesrc_loop),
23621 (gst_basesrc_activate):
23622 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23623 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23624 (gst_real_pad_init), (gst_real_pad_set_property),
23625 (gst_real_pad_get_property), (gst_pad_set_active),
23626 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23627 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23628 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23629 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23630 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23631 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23632 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23633 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23634 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23635 (gst_pad_stop_task):
23637 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23638 (gst_queue_loop), (gst_queue_src_activate):
23639 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23640 (gst_task_get_state):
23642 * gst/schedulers/threadscheduler.c:
23643 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23644 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23646 Remove ACTIVE pad flag, use FLUSHING everywhere
23647 Added _pad_chain(), _pad_get_range() to call chain/getrange
23649 Add locks around IS_FLUSHING when reading.
23650 Take STREAM lock in chain(), get_range() functions so plugins
23651 don't need to take it anymore.
23655 2005-05-25 Wim Taymans <wim@fluendo.com>
23657 * tools/gst-launch.c: (event_loop):
23658 Unref message after using its contents instead of
23661 2005-05-24 Wim Taymans <wim@fluendo.com>
23663 * docs/design/draft-ghostpads.txt:
23664 * docs/design/draft-push-pull.txt:
23665 * docs/design/draft-query.txt:
23666 * docs/design/part-overview.txt:
23667 Docs updates, added general overview doc.
23669 2005-05-21 David Schleef <ds@schleef.org>
23671 * docs/gst/tmpl/old/GstBin.sgml:
23672 * docs/gst/tmpl/old/GstBuffer.sgml:
23673 * docs/gst/tmpl/old/GstCaps.sgml:
23674 * docs/gst/tmpl/old/GstClock.sgml:
23675 * docs/gst/tmpl/old/GstCompat.sgml:
23676 * docs/gst/tmpl/old/GstData.sgml:
23677 * docs/gst/tmpl/old/GstElement.sgml:
23678 * docs/gst/tmpl/old/GstEvent.sgml:
23679 * docs/gst/tmpl/old/GstIndex.sgml:
23680 * docs/gst/tmpl/old/GstStructure.sgml:
23681 * docs/gst/tmpl/old/GstTag.sgml:
23682 * docs/gst/tmpl/old/cothreads.sgml:
23683 * docs/gst/tmpl/old/cothreads_compat.sgml:
23684 * docs/gst/tmpl/old/gettext.sgml:
23685 * docs/gst/tmpl/old/gobject2gtk.sgml:
23686 * docs/gst/tmpl/old/grammar.tab.sgml:
23687 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23688 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23689 * docs/gst/tmpl/old/gst_private.sgml:
23690 * docs/gst/tmpl/old/gstaggregator.sgml:
23691 * docs/gst/tmpl/old/gstarch.sgml:
23692 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23693 * docs/gst/tmpl/old/gstbufferstore.sgml:
23694 * docs/gst/tmpl/old/gstdata_private.sgml:
23695 * docs/gst/tmpl/old/gstdisksink.sgml:
23696 * docs/gst/tmpl/old/gstdisksrc.sgml:
23697 * docs/gst/tmpl/old/gstelementfactory.sgml:
23698 * docs/gst/tmpl/old/gstextratypes.sgml:
23699 * docs/gst/tmpl/old/gstfakesink.sgml:
23700 * docs/gst/tmpl/old/gstfakesrc.sgml:
23701 * docs/gst/tmpl/old/gstfdsink.sgml:
23702 * docs/gst/tmpl/old/gstfdsrc.sgml:
23703 * docs/gst/tmpl/old/gstfilesink.sgml:
23704 * docs/gst/tmpl/old/gstfilesrc.sgml:
23705 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23706 * docs/gst/tmpl/old/gstidentity.sgml:
23707 * docs/gst/tmpl/old/gstindexfactory.sgml:
23708 * docs/gst/tmpl/old/gstmarshal.sgml:
23709 * docs/gst/tmpl/old/gstmd5sink.sgml:
23710 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23711 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23712 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23713 * docs/gst/tmpl/old/gstpipefilter.sgml:
23714 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23715 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23716 * docs/gst/tmpl/old/gstshaper.sgml:
23717 * docs/gst/tmpl/old/gstspider.sgml:
23718 * docs/gst/tmpl/old/gstspideridentity.sgml:
23719 * docs/gst/tmpl/old/gststatistics.sgml:
23720 * docs/gst/tmpl/old/gsttee.sgml:
23721 * docs/gst/tmpl/old/gsttimecache.sgml:
23722 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23723 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23724 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23725 * docs/gst/tmpl/old/types.sgml:
23726 I didn't intend to add these or check them in.
23728 2005-05-19 David Schleef <ds@schleef.org>
23730 * configure.ac: Use -no-common everywhere. In a sane world, it
23731 would be the default in libtool, because without it, you can't
23732 build DLLs on Windows.
23733 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23734 * docs/gst/gstreamer-sections.txt:
23735 * docs/gst/tmpl/gstcpu.sgml:
23736 * docs/gst/tmpl/gstdata.sgml:
23737 * docs/gst/tmpl/gstthread.sgml:
23739 2005-05-19 David Schleef <ds@schleef.org>
23741 * gst/gstminiobject.c: (gst_value_set_mini_object),
23742 (gst_value_take_mini_object), (gst_value_get_mini_object):
23743 * gst/gstminiobject.h: Add GValue set/get functions.
23745 2005-05-19 Wim Taymans <wim@fluendo.com>
23747 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23748 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23749 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23751 * gst/gstbus.c: (gst_bus_post):
23752 * gst/gstelement.c: (gst_element_get_random_pad):
23753 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23754 Make subbufer unref the parent in finalize.
23755 some more debugging info.
23758 2005-05-19 Wim Taymans <wim@fluendo.com>
23760 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23761 (gst_basesink_init), (gst_basesink_finalize),
23762 (gst_basesink_activate), (gst_basesink_change_state):
23763 Don't free preroll queue too early.
23765 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23769 Hi, I'm outdated. Please shoot me.
23771 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23773 * gst/gstpipeline.c: (gst_pipeline_send_event):
23774 Do not access variables after they have been deleted.
23776 2005-05-19 Wim Taymans <wim@fluendo.com>
23778 * tools/gst-inspect.c: (print_plugin_features):
23779 A plugin feature does unfortunatly not use the
23782 2005-05-18 Wim Taymans <wim@fluendo.com>
23784 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23785 Port _span() functions to new subbuffers.
23787 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23789 * gst/gstbin.c: (gst_bin_add_func):
23790 Fix clock settery in bins when adding kids after the clock has
23793 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23795 * gst/elements/gstidentity.c: (gst_identity_class_init):
23796 Workaround until signals support GstMiniObject.
23798 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23801 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23803 2005-05-18 Wim Taymans <wim@fluendo.com>
23805 * gst/base/Makefile.am:
23806 * gst/base/gstadapter.c: (gst_adapter_base_init),
23807 (gst_adapter_class_init), (gst_adapter_init),
23808 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23809 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23810 (gst_adapter_flush), (gst_adapter_available),
23811 (gst_adapter_available_fast):
23812 * gst/base/gstadapter.h:
23813 Ported and added adapter to the base classes.
23815 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23818 * gst/gstmessage.c:
23819 Make sure the class is reffed/unreffed once before threads can be
23820 used. Fixes #304551.
23822 2005-05-17 Wim Taymans <wim@fluendo.com>
23824 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23825 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23826 * gst/gstminiobject.c: (gst_mini_object_get_type),
23827 (gst_mini_object_free):
23828 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23829 (gst_pad_push), (gst_pad_push_event):
23830 * gst/gstqueue.c: (gst_queue_change_state):
23831 Don't queue buffers in basesink when we are flushing.
23832 Unref buffer when flushing in basesink.
23833 Flush queue when going to READY
23834 Unref buffer when _push() returns an error.
23835 Don't free MiniObject instance when refcount is incremented
23836 in _finalize() so that we can recover objects.
23838 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23840 * docs/manual/advanced-schedulers.xml:
23841 * docs/manual/appendix-checklist.xml:
23842 * docs/pwg/advanced-clock.xml:
23843 * docs/pwg/advanced-interfaces.xml:
23844 * docs/pwg/advanced-request.xml:
23845 * docs/pwg/advanced-types.xml:
23846 * docs/pwg/intro-preface.xml:
23847 * examples/plugins/example.c: (gst_example_get_type),
23848 (gst_example_class_init), (gst_example_chain),
23849 (gst_example_set_property), (gst_example_get_property),
23850 (gst_example_change_state), (plugin_init):
23851 * examples/plugins/example.h:
23854 2005-05-17 Wim Taymans <wim@fluendo.com>
23856 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23857 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23858 * gst/gstqueue.c: (gst_queue_change_state):
23859 Clear queue when going to READY.
23860 Remove IN_SETCAPS flag too.
23862 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23864 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23865 Remove implicit cast from gboolean to GstElementStateReturn;
23866 make sure we still return failure in paused => ready case if
23867 the parent class fails to change state and our own stop
23870 2005-05-17 Wim Taymans <wim@fluendo.com>
23872 * tools/gst-launch.c: (event_loop):
23873 Message was unreffed too soon.
23875 2005-05-16 Andy Wingo <wingo@pobox.com>
23877 * gst/gstbin.c (sink_iterator_filter): Err... um...
23879 * check/gst/gstbin.c (test_ghost_pads): New test for the
23880 ghosting-if-elements-not-in-same-bin behavior.
23882 2005-05-16 David Schleef <ds@schleef.org>
23884 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23885 accessing refcount directly.
23887 2005-05-15 David Schleef <ds@schleef.org>
23889 * check/Makefile.am: remove GstData checks
23890 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23891 * gst/Makefile.am: add miniobject, remove data
23892 * gst/gst.h: add miniobject, remove data
23893 * gst/gstdata.c: remove
23894 * gst/gstdata.h: remove
23895 * gst/gstdata_private.h: remove
23896 * gst/gsttypes.h: remove GstEvent and GstMessage
23897 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23898 * gst/gstmarshal.list: change BOXED -> OBJECT
23900 Implement GstMiniObject.
23901 * gst/gstminiobject.c:
23902 * gst/gstminiobject.h:
23904 Modify to be subclasses of GstMiniObject.
23905 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23906 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23907 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23908 (gst_subbuffer_get_type), (gst_subbuffer_init),
23909 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23912 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23913 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23914 (_gst_event_copy), (gst_event_new):
23916 * gst/gstmessage.c: (_gst_message_initialize),
23917 (gst_message_get_type), (gst_message_class_init),
23918 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23919 (gst_message_new), (gst_message_new_error),
23920 (gst_message_new_warning), (gst_message_new_tag),
23921 (gst_message_new_state_changed), (gst_message_new_application):
23922 * gst/gstmessage.h:
23923 * gst/gstprobe.c: (gst_probe_perform),
23924 (gst_probe_dispatcher_dispatch):
23926 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23927 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23928 (_gst_query_copy), (gst_query_new):
23930 Update elements for GstData -> GstMiniObject changes
23932 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23933 (gst_queue_chain), (gst_queue_loop):
23934 * gst/elements/gstbufferstore.c:
23935 (gst_buffer_store_add_buffer_func),
23936 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23937 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23938 (gst_fakesink_render):
23939 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23940 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23941 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23942 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23943 (gst_filesrc_create_read):
23944 * gst/elements/gstidentity.c: (gst_identity_class_init):
23945 * gst/elements/gsttypefindelement.c:
23946 (gst_type_find_element_src_event), (free_entry_buffers),
23947 (gst_type_find_element_handle_event):
23948 * libs/gst/dataprotocol/dataprotocol.c:
23949 (gst_dp_header_from_buffer):
23950 * libs/gst/dataprotocol/dataprotocol.h:
23951 * libs/gst/dataprotocol/dp-private.h:
23953 2005-05-15 David Schleef <ds@schleef.org>
23955 * gst/elements/gstelements.c: Don't include headers that were
23958 2005-05-15 David Schleef <ds@schleef.org>
23960 * gst/elements/Makefile.am: Remove some elements that don't
23961 need to be in the core (or even exist at all).
23962 * gst/elements/gstaggregator.c:
23963 * gst/elements/gstaggregator.h:
23964 * gst/elements/gstmd5sink.c:
23965 * gst/elements/gstmd5sink.h:
23966 * gst/elements/gstmultifilesrc.c:
23967 * gst/elements/gstmultifilesrc.h:
23968 * gst/elements/gstpipefilter.c:
23969 * gst/elements/gstpipefilter.h:
23970 * gst/elements/gstshaper.c:
23971 * gst/elements/gstshaper.h:
23972 * gst/elements/gststatistics.c:
23973 * gst/elements/gststatistics.h:
23974 * po/POTFILES.in: Remove above files.
23976 2005-05-14 Andy Wingo <wingo@pobox.com>
23978 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23979 so as to get the refs right.
23980 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23981 unreffing objects that don't pass the filter.
23983 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23984 gst_element_set_bus.
23985 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23986 normal cases, this will destroy the bus.
23988 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23991 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23994 2005-05-13 Andy Wingo <wingo@pobox.com>
23996 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23997 gst_pad_link, call pad_link_maybe_ghosting,
23998 (pad_link_maybe_ghosting): Links pads, making sure that the
23999 elements being linked are in the same bin.
24000 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24001 Helpers for pad_link_maybe_ghosting.
24003 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24006 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24008 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24010 * docs/design/part-element-source.txt:
24013 2005-05-12 Wim Taymans <wim@fluendo.com>
24015 * gst/base/gstbasesink.c: (gst_basesink_init),
24016 (gst_basesink_activate):
24017 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24018 (gst_basesrc_is_seekable):
24019 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24020 (bin_element_is_sink), (gst_bin_change_state):
24021 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24022 * gst/gstelement.h:
24023 Identify sinks by their flag to avoid overly complicated
24025 Do state changes even for elements not reachable from the
24027 BaseSink is a sink now :)
24028 Some more debugging info in the basesrc.
24031 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24033 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24034 Implement _query on a bin, similar to _send_event.
24036 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24038 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24039 Discont event offset format should be GST_FORMAT_BYTES,
24040 not GST_FORMAT_TIME.
24042 2005-05-12 Wim Taymans <wim@fluendo.com>
24044 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24045 Same fix as Ronald's but without the signal.
24047 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24049 * gst/gstutils.c: (gst_element_query_position):
24050 No, an element is not a pad.
24052 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24054 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24055 (gst_bin_get_state):
24056 If a child is removed from a bin while we remove the child from
24057 the bin and while we're retrieving its state, signal this to the
24058 get_state function so we abort the wait (instead of waiting for
24059 a timeout) and can immediately re-iterate over all other elements.
24061 2005-05-12 Wim Taymans <wim@fluendo.com>
24063 * gst/base/Makefile.am:
24064 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24065 (gst_basesrc_start):
24066 * gst/base/gstbasesrc.h:
24067 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24068 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24069 (gst_pushsrc_init), (gst_pushsrc_create):
24070 * gst/base/gstpushsrc.h:
24071 Added is_seekable to BaseSrc
24072 Added simple PushSrc.
24074 2005-05-11 Wim Taymans <wim@fluendo.com>
24076 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24077 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24078 (gst_element_link_pads), (gst_element_query_position),
24079 (gst_element_query_convert), (intersect_caps_func),
24080 (gst_pad_query_position), (gst_pad_query_convert):
24081 Fix refcounting in utils function.
24082 No point in trying to activate a pad when it's added, it could
24083 be added from the state change function and then we deadlock, the
24084 element has to decide what to do.
24086 2005-05-10 Andy Wingo <wingo@pobox.com>
24088 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24089 *all* the arguments.
24091 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24092 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24093 lock (according to the docs -- if this is wrong change the docs).
24095 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24096 flush messages in the NULL state.
24098 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24099 message immediately and return.
24100 (gst_bus_set_flushing): New function. If a bus is flushing, it
24101 flushes out any queued messages and immediately unrefs new
24102 messages. This is so when an element goes to NULL, all of the
24103 unhandled messages coming from it can be freed, and their
24104 references to the element dropped. In other words: message source
24105 ref considered harmful :P
24107 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24108 we're finished with it.
24110 * gst/gstmessage.c (gst_message_new_state_changed):
24112 2005-05-10 Wim Taymans <wim@fluendo.com>
24114 * gst/gstvalue.c: (gst_value_compare_flags),
24115 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24116 (_gst_value_initialize):
24117 Added flags serialize/deserialize/compare code.
24119 2005-05-09 Andy Wingo <wingo@pobox.com>
24121 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24122 Intersect the peer's caps with our caps.
24124 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24126 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24127 * gst/elements/gsttypefindelement.c: (find_peek):
24128 Handle negative offsets better. Fixes decodebin.
24130 2005-05-09 Wim Taymans <wim@fluendo.com>
24132 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24133 (gst_base_transform_event):
24134 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24135 Implement accept_caps.
24136 Fix silly lock/unlock mismatch in base class.
24138 2005-05-09 Wim Taymans <wim@fluendo.com>
24140 * docs/design/draft-push-pull.txt:
24141 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24142 * gst/elements/gstfilesink.c: (gst_filesink_init),
24143 (gst_filesink_query):
24144 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24145 (gst_type_find_handle_src_query), (find_element_get_length):
24146 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24147 * gst/gstelement.h:
24148 * gst/gstmessage.c:
24149 * gst/gstmessage.h:
24150 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24151 (gst_real_pad_get_caps_unlocked),
24152 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24153 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24154 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24155 (gst_real_pad_dispose), (gst_real_pad_finalize),
24156 (gst_pad_load_and_link), (gst_pad_save_thyself),
24157 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24158 (gst_pad_check_pull_range), (gst_pad_pull_range),
24159 (gst_pad_template_get_type), (gst_pad_template_class_init),
24160 (gst_pad_template_init), (gst_pad_template_dispose),
24161 (name_is_valid), (gst_static_pad_template_get),
24162 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24163 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24164 (gst_pad_get_element_private), (gst_pad_start_task),
24165 (gst_pad_pause_task), (gst_pad_stop_task),
24166 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24167 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24168 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24169 (gst_ghost_pad_new):
24171 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24172 (gst_query_new_position), (gst_query_set_position),
24173 (gst_query_parse_position), (gst_query_new_convert),
24174 (gst_query_set_convert), (gst_query_parse_convert):
24176 * gst/gstqueryutils.c:
24177 * gst/gstqueryutils.h:
24178 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24179 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24180 (gst_queue_handle_src_query):
24181 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24182 (gst_element_query_position), (gst_element_query_convert),
24183 (intersect_caps_func), (gst_pad_query_position),
24184 (gst_pad_query_convert):
24186 * tools/gst-inspect.c: (print_pad_info):
24187 * tools/gst-xmlinspect.c: (print_element_info):
24188 Remove old query functions. Ported old code.
24189 Added position/convert helper functions to gstutils.
24190 Reordered gstpad.c code, grouping relevant things.
24191 Remove gst_message_new(), always need to speficy a specific
24195 2005-05-09 Andy Wingo <wingo@pobox.com>
24197 * gst/gstiterator.h: Add some includes.
24199 * gst/gstqueryutils.h: Include more headers.
24202 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24203 some uses of gst_pad_query.
24205 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24206 NULL out parameters.
24207 (gst_query_new_position): New proc, allocates a new position
24210 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24211 gstqueryutils.c to the build.
24213 * gst/gststructure.c (gst_structure_set_valist): Implement with
24214 the generic G_VALUE_COLLECT.
24216 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24218 * gst/Makefile.am: (gst_headers):
24219 Added gstqueryutils.h to the list of headers to install, that was
24220 a 'nachty' move wingo :)
24222 2005-05-06 Andy Wingo <wingo@pobox.com>
24225 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24226 GstData, init a memchunk.
24227 (standard_definitions): Add a few query types, deprecate a few.
24228 (gst_query_get_type): New proc.
24229 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24231 (gst_query_new_application, gst_query_get_structure): New public
24234 * docs/design/draft-query.txt: Removed LINKS from the query types,
24235 because all the rest can be dispatched to other pads -- seemed
24236 ugly to have a query that couldn't be dispatched. internal_links
24237 is fine as a pad method.
24239 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24240 in gstpad.c, but maintain binary compatibility for the moment.
24241 Will fix before 0.9 is out.
24243 * gst/gstqueryutils.c:
24244 * gst/gstqueryutils.h: New files, implement 3 methods for each
24245 query type: parse_query, parse_response, and set. Probably need an
24248 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24250 * gst/elements/gstfilesink.c (gst_filesink_query2):
24251 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24252 query_types, and formats methods.
24254 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24255 (gst_pad_set_query2_function): New functions.
24256 (gst_real_pad_init): Set query2_default as the default query2
24257 function. Basically just dispatches to internally linked pads.
24261 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24262 without using the atomic operations. Only one thread can possibly
24263 be accessing the data at this point. Changed so as to avoid
24264 gst_atomic operations.
24266 2005-05-06 Wim Taymans <wim@fluendo.com>
24268 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24269 Also set caps if we use the fallback buffer alloc.
24271 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24273 * docs/gst/Makefile.am:
24274 * docs/gst/gstreamer-docs.sgml:
24275 * docs/gst/gstreamer-sections.txt:
24276 * docs/gst/tmpl/gstatomic.sgml:
24277 * docs/gst/tmpl/gstmemchunk.sgml:
24278 * testsuite/elements/struct_i386.h:
24279 * win32/GStreamer.vcproj:
24281 Purge GstAtomic stuff from docs and win32 makefiles as well
24283 2005-05-06 Wim Taymans <wim@fluendo.com>
24285 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24286 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24287 * gst/gstpad.c: (gst_pad_peer_get_caps):
24288 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24289 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24290 (gst_queue_src_activate), (gst_queue_change_state):
24292 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24293 (intersect_caps_func):
24294 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24295 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24296 Some fixes for the peer_get_caps() change.
24298 2005-05-06 Wim Taymans <wim@fluendo.com>
24300 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24301 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24302 (gst_basesink_activate):
24303 Actually do something with error codes returned from the push
24306 2005-05-06 Wim Taymans <wim@fluendo.com>
24308 * docs/design/part-element-sink.txt:
24309 * docs/design/part-element-source.txt:
24310 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24311 (gst_basesink_event), (gst_basesink_activate):
24312 * gst/base/gstbasesink.h:
24313 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24314 (gst_basesrc_activate):
24315 * gst/base/gstbasesrc.h:
24316 * gst/gstelement.c: (gst_element_pads_activate):
24317 Some more documentation.
24318 Fixed scheduling decision in _pads_activate().
24320 2005-05-05 Andy Wingo <wingo@pobox.com>
24322 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24325 2005-05-05 Wim Taymans <wim@fluendo.com>
24327 * gst/base/Makefile.am:
24328 * gst/base/gstbasesink.h:
24329 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24330 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24331 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24332 (gst_collectpads_class_init), (gst_collectpads_init),
24333 (gst_collectpads_finalize), (gst_collectpads_new),
24334 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24335 (find_pad), (gst_collectpads_remove_pad),
24336 (gst_collectpads_is_active), (gst_collectpads_collect),
24337 (gst_collectpads_collect_range), (gst_collectpads_start),
24338 (gst_collectpads_stop), (gst_collectpads_peek),
24339 (gst_collectpads_pop), (gst_collectpads_available),
24340 (gst_collectpads_read), (gst_collectpads_flush),
24341 (gst_collectpads_chain):
24342 * gst/base/gstcollectpads.h:
24343 * gst/elements/Makefile.am:
24344 * gst/elements/gstelements.c:
24345 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24346 (gst_fakesink_get_times), (gst_fakesink_event),
24347 (gst_fakesink_preroll), (gst_fakesink_render):
24348 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24349 (gst_filesink_init), (gst_filesink_set_location),
24350 (gst_filesink_open_file), (gst_filesink_close_file),
24351 (gst_filesink_pad_query), (gst_filesink_event),
24352 (gst_filesink_render), (gst_filesink_change_state):
24353 * gst/elements/gstfilesink.h:
24354 Added object to help in making collect pad based elements.
24356 Make event function in sink baseclass return gboolean.
24358 2005-05-05 Wim Taymans <wim@fluendo.com>
24360 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24361 (gst_bin_get_by_name):
24363 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24364 (gst_clock_finalize):
24365 * gst/gstdata.c: (gst_data_replace):
24367 * gst/gstelement.c: (gst_element_request_pad),
24368 (gst_element_pads_activate):
24369 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24370 (gst_object_unref):
24371 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24372 (gst_pad_set_checkgetrange_function),
24373 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24374 (gst_pad_check_pull_range), (gst_pad_pull_range),
24375 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24376 (gst_pad_pause_task), (gst_pad_stop_task):
24377 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24378 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24379 Fix name lookup in GstBin.
24380 Added _data_replace() function and _buffer_replace()
24381 Use finalize method to clean up clock.
24382 Fix refcounting on request pads.
24383 Fix pad schedule mode error.
24384 Some more object refcounting debug info,
24387 2005-05-04 Andy Wingo <wingo@pobox.com>
24389 * check/Makefile.am:
24390 * docs/gst/tmpl/gstatomic.sgml:
24391 * docs/gst/tmpl/gstplugin.sgml:
24392 * gst/base/gstbasesink.c: (gst_basesink_activate):
24393 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24394 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24395 (gst_basesrc_query), (gst_basesrc_set_property),
24396 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24397 (gst_basesrc_activate):
24398 * gst/base/gstbasesrc.h:
24399 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24400 (gst_base_transform_src_activate):
24401 * gst/elements/gstelements.c:
24402 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24403 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24404 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24405 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24406 (gst_type_find_element_checkgetrange),
24407 (gst_type_find_element_activate):
24408 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24409 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24410 (gst_caps_load_thyself):
24411 * gst/gstelement.c: (gst_element_pads_activate),
24412 (gst_element_save_thyself), (gst_element_restore_thyself):
24413 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24414 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24416 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24417 (gst_xml_parse_file), (gst_xml_parse_memory),
24418 (gst_xml_get_element), (gst_xml_make_element):
24419 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24420 (_file_index_id_save_xml), (gst_file_index_commit):
24421 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24422 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24424 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24425 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24426 * tools/gst-complete.c: (main):
24427 * tools/gst-compprep.c: (main):
24428 * tools/gst-inspect.c: (print_element_properties_info):
24429 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24430 * tools/gst-xmlinspect.c: (print_element_properties):
24433 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24435 * gst/gstplugin.c: (gst_plugin_check_module),
24436 (gst_plugin_check_file), (gst_plugin_load_file):
24437 apply patch from #172526 to make register work on MacOSX
24439 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24441 * docs/gst/tmpl/gstconfig.sgml:
24442 * gst/gstconfig.h.in:
24443 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24444 * testsuite/debug/printf_extension.c: (main):
24445 Do not use GST_PTR_FORMAT on pointers to types with
24446 sizeof < sizeof(gpointer). Fixes test on 64-bit
24447 * testsuite/elements/property.h:
24448 use correct printf format
24450 2005-05-02 Wim Taymans <wim@fluendo.com>
24452 * docs/design/draft-push-pull.txt:
24453 * docs/design/draft-query.txt:
24454 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24455 (gst_basesrc_start):
24456 Added draft for new query API.
24457 Added draft for better selecting scheduling methods.
24458 Make basesrc ignore length if the subclass does not support
24461 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24464 possible fixes for automake-1.5 - _LIBADD is reserved
24466 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24468 * docs/faq/Makefile.am:
24469 * docs/manual/Makefile.am:
24470 * docs/manuals.mak:
24471 * docs/pwg/Makefile.am:
24473 possible fixes for automake-1.5
24475 2005-04-28 Wim Taymans <wim@fluendo.com>
24477 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24478 (gst_basesink_pad_getcaps), (gst_basesink_init),
24479 (gst_basesink_do_sync):
24480 * gst/gstclock.c: (gst_clock_entry_new):
24481 * gst/gstevent.c: (gst_event_discont_get_value):
24482 * gst/gstpipeline.c: (pipeline_bus_handler),
24483 (gst_pipeline_change_state):
24484 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24485 Better debugging of clocking info.
24486 Allow NULL values when getting discont values.
24488 2005-04-27 Wim Taymans <wim@fluendo.com>
24490 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24491 * check/gst/gstpad.c: (gst_pad_suite):
24492 Increase timeout for checks.
24494 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24496 * check/Makefile.am:
24497 fix the broken rule for cleanup. Apparently this rule is
24498 only needed on FC2, so maybe this warrants further autotool
24501 2005-04-26 Wim Taymans <wim@fluendo.com>
24503 * gst/gsttrashstack.h:
24504 Ooohh. a nasty one! After having a failed pop() from the stack,
24505 it's possible that the stack is empty. In that case, don't
24506 follow the NULL pointer.
24508 2005-04-25 Wim Taymans <wim@fluendo.com>
24510 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24511 (gst_pad_set_checkgetrange_function),
24512 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24513 (gst_pad_check_pull_range), (gst_pad_pull_range),
24514 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24515 (gst_pad_pause_task), (gst_pad_stop_task):
24516 * gst/gstplugin.c: (gst_plugin_load):
24518 Remove gst_library_load as it does more harm than good with
24519 the new g_module flags.
24520 Revert bogus caps template check in pad linking, pad caps
24521 are important when linking not the template, which is more
24522 general than the current caps.
24524 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24526 * gst/autoplug/.cvsignore:
24527 * gst/autoplug/Makefile.am:
24528 * gst/autoplug/gstsearchfuncs.c:
24529 * gst/autoplug/gstsearchfuncs.h:
24530 * gst/autoplug/gstspider.c:
24531 * gst/autoplug/gstspider.h:
24532 * gst/autoplug/gstspideridentity.c:
24533 * gst/autoplug/gstspideridentity.h:
24534 * gst/autoplug/spidertest.c:
24537 2005-04-25 Wim Taymans <wim@fluendo.com>
24539 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24540 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24541 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24542 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24544 Added stubs for unimplemented functions.
24546 2005-04-24 David Schleef <ds@schleef.org>
24548 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24551 2005-04-24 David Schleef <ds@schleef.org>
24553 Convert everything from GstAtomicInt to g_atomic_int_*, and
24558 * gst/gstatomic_impl.h:
24566 * gst/gstdata_private.h:
24570 * gst/gstmessage.c:
24573 * gst/gststructure.c:
24574 * gst/gststructure.h:
24575 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24578 2005-04-24 David Schleef <ds@schleef.org>
24580 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24581 make the regressions tests work. Remove some code that is no
24583 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24584 Disable warning for pads without templates.
24586 2005-04-24 David Schleef <ds@schleef.org>
24588 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24589 functions that handle filtered links.
24590 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24592 * gst/gstutils.c: Fix/remove utility functions that handle
24595 * gst/gstvalue.c: Add serialization/deserialization of caps
24596 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24597 requires fixing so that the filter caps notation creates
24598 a capsfilter element and sets the filter_caps property. I
24599 think everyone probably wants to keep the shorthand notation.
24600 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24601 * docs/gst/tmpl/gstpad.sgml:
24603 * gst/elements/gstelements.c: Register capsfilter element.
24604 * gst/Makefile.am: fix spacing
24605 * docs/random/ds/0.9-suggested-changes: random
24607 2005-04-23 David Schleef <ds@schleef.org>
24609 * gst/elements/Makefile.am:
24610 * gst/elements/gstcapsfilter.c: New element that acts like an
24611 identity, but filters caps. Will eventually replace filtered
24612 caps in pad linking.
24613 * gst/gstutils.c: (gst_element_create_all_pads): New function
24614 to create all the ALWAYS pads that are registered with an
24615 element class. This functionality should eventually be
24616 merged in with GstElement initialization.
24618 * testsuite/trigger/README: part of trigger test code that should
24619 have been checked in a long time ago.
24621 2005-04-23 David Schleef <ds@schleef.org>
24623 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24624 needed with new versions of libtool (nobody will confirm this),
24625 and hard to carry around.
24626 * gst/autoplug/Makefile.am:
24627 * gst/base/Makefile.am:
24628 * gst/elements/Makefile.am:
24629 * gst/indexers/Makefile.am:
24630 * gst/schedulers/Makefile.am:
24631 * libs/gst/bytestream/Makefile.am:
24632 * libs/gst/control/Makefile.am:
24633 * libs/gst/dataprotocol/Makefile.am:
24634 * libs/gst/getbits/Makefile.am:
24636 2005-04-21 Wim Taymans <wim@fluendo.com>
24638 * docs/design/draft-push-pull.txt:
24639 * docs/design/part-MT-refcounting.txt:
24640 * docs/design/part-TODO.txt:
24641 * docs/design/part-caps.txt:
24642 * docs/design/part-events.txt:
24643 * docs/design/part-gstbus.txt:
24644 * docs/design/part-gstpipeline.txt:
24645 * docs/design/part-messages.txt:
24646 * docs/design/part-push-pull.txt:
24647 * docs/design/part-query.txt:
24650 2005-04-21 Wim Taymans <wim@fluendo.com>
24652 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24653 (gst_message_new), (gst_message_new_error),
24654 (gst_message_new_warning), (gst_message_new_tag),
24655 (gst_message_new_state_changed), (gst_message_new_application),
24656 (gst_message_get_structure):
24657 * gst/gstmessage.h:
24658 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24659 (gst_structure_copy_conditional):
24660 Use parent refcount in GstMessage to ensure GstStructure
24662 Cleaned up headers a bit.
24665 2005-04-20 Wim Taymans <wim@fluendo.com>
24667 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24668 (gst_basesink_pad_getcaps), (gst_basesink_init),
24669 (gst_basesink_chain_unlocked):
24670 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24671 (gst_type_find_helper):
24672 * gst/elements/gsttypefindelement.c:
24673 (gst_type_find_element_have_type), (gst_type_find_element_init),
24674 (stop_typefinding), (gst_type_find_element_handle_event),
24675 (find_suggest), (gst_type_find_element_chain),
24676 (gst_type_find_element_checkgetrange),
24677 (gst_type_find_element_getrange), (do_typefind),
24678 (gst_type_find_element_activate):
24679 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24680 (gst_buffer_default_free), (gst_buffer_default_copy),
24681 (gst_buffer_set_caps):
24682 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24683 (gst_caps_replace):
24684 * gst/gstmessage.c: (gst_message_new),
24685 (gst_message_new_state_changed):
24686 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24687 (gst_pad_set_checkgetrange_function),
24688 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24689 (gst_pad_set_caps), (gst_pad_check_pull_range),
24690 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24692 * gst/gsttypefind.c: (gst_type_find_register):
24693 Make gst_caps_replace() work like other _replace() functions.
24694 Use _caps_replace() where possible.
24695 Make sure _message_new() initialises its field.
24696 Add gst_static_pad_template_get_caps()
24699 2005-04-18 Andy Wingo <wingo@pobox.com>
24701 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24702 on the peer, not the pad. I think that was a typo. Pass an extra
24703 arg to see if random access is possible. Activate the pads as
24704 PULL_RANGE if possible.
24706 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24708 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24709 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24712 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24714 * docs/faq/using.xml:
24715 Add note on gstreamer-properties (#154996).
24717 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24719 * docs/random/bbb/optional-properties:
24720 Some analysis on optional properties.
24722 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24724 * docs/gst/tmpl/gstelementfactory.sgml:
24725 * gst/gstelement.h:
24726 * gst/gstelementfactory.c: (gst_element_factory_init),
24727 (gst_element_factory_cleanup), (gst_element_register),
24728 (__gst_element_factory_add_static_pad_template),
24729 (gst_element_factory_get_static_pad_templates),
24730 (gst_element_factory_can_src_caps),
24731 (gst_element_factory_can_sink_caps):
24732 * gst/registries/Makefile.am:
24733 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24734 (gst_xml_registry_class_init), (gst_xml_registry_init),
24735 (gst_xml_registry_new), (gst_xml_registry_set_property),
24736 (gst_xml_registry_get_property), (get_time), (make_dir),
24737 (gst_xml_registry_get_perms_func),
24738 (plugin_times_older_than_recurse), (plugin_times_older_than),
24739 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24740 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24741 (add_to_char_array), (read_string), (read_uint), (read_enum),
24742 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24743 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24744 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24745 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24746 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24747 (gst_xml_registry_rebuild):
24748 * gst/registries/gstlibxmlregistry.h:
24749 * tools/gst-compprep.c: (main):
24750 * tools/gst-inspect.c: (print_pad_templates_info):
24751 * tools/gst-xmlinspect.c: (print_element_info):
24752 Use libxml2 for registry parsing, use staticpadtemplates in
24753 elementfactories. Makes gst_init() +/- 10x faster.
24755 2005-04-12 Wim Taymans <wim@fluendo.com>
24757 * gst/base/Makefile.am:
24758 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24759 (gst_basesink_pad_getcaps), (gst_basesink_init),
24760 (gst_basesink_event), (gst_basesink_change_state):
24761 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24762 (gst_basesrc_init), (gst_basesrc_query),
24763 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24764 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24765 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24766 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24767 (gst_basesrc_stop), (gst_basesrc_activate),
24768 (gst_basesrc_change_state):
24769 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24770 (helper_find_suggest), (gst_type_find_helper):
24771 * gst/base/gsttypefindhelper.h:
24772 * gst/elements/Makefile.am:
24773 * gst/elements/gstelements.c:
24774 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24775 (gst_fakesink_get_times), (gst_fakesink_event),
24776 (gst_fakesink_preroll), (gst_fakesink_render):
24777 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24778 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24779 (gst_fakesrc_get_property), (gst_fakesrc_create),
24780 (gst_fakesrc_start), (gst_fakesrc_stop):
24781 * gst/elements/gstfakesrc.h:
24782 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24783 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24784 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24785 (gst_filesrc_create_read), (gst_filesrc_create),
24786 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24787 (gst_filesrc_start):
24788 * gst/elements/gsttypefindelement.c:
24789 (gst_type_find_element_have_type), (gst_type_find_element_init),
24790 (start_typefinding), (stop_typefinding), (push_buffer_store),
24791 (gst_type_find_element_handle_event),
24792 (gst_type_find_element_chain),
24793 (gst_type_find_element_checkgetrange),
24794 (gst_type_find_element_getrange), (do_typefind),
24795 (gst_type_find_element_activate),
24796 (gst_type_find_element_change_state):
24797 * gst/elements/gsttypefindelement.h:
24798 * gst/gstpipeline.c: (pipeline_bus_handler):
24799 Added typefind helper.
24800 Small preroll fix in the base sink.
24801 Disable typefind code in basesrc.
24802 Crude port of typefindelement.
24806 2005-04-11 Wim Taymans <wim@fluendo.com>
24808 * check/gst/gstbus.c: (gstbus_suite):
24809 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24810 * check/gstcheck.h:
24811 Fix up the timeout so that the test does not fail.
24813 2005-04-06 Wim Taymans <wim@fluendo.com>
24816 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24817 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24818 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24819 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24820 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24821 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24822 (gst_basesrc_stop), (gst_basesrc_activate),
24823 (gst_basesrc_change_state), (basesrc_find_peek),
24824 (basesrc_find_suggest), (gst_basesrc_type_find):
24825 * gst/base/gstbasesrc.h:
24826 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24827 (gst_filesrc_class_init), (gst_filesrc_init),
24828 (gst_filesrc_finalize), (gst_filesrc_set_location),
24829 (gst_filesrc_set_property), (gst_filesrc_get_property),
24830 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24831 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24832 (gst_filesrc_create_read), (gst_filesrc_create),
24833 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24834 * gst/elements/gstfilesrc.h:
24835 * gst/gstelement.c: (gst_element_get_state_func),
24836 (gst_element_lost_state), (gst_element_pads_activate):
24837 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24838 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24839 (gst_pad_pull_range):
24841 More work on the generic source base class, implement seeking,
24843 Make filesrc extend the base source class.
24844 Added gst_pad_set_checkgetrange_function to GstPad.
24846 2005-04-06 Andy Wingo <wingo@pobox.com>
24848 * pkgconfig/gstreamer-base.pc.in:
24849 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24851 * pkgconfig/Makefile.am:
24852 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24854 2005-04-04 Wim Taymans <wim@fluendo.com>
24856 * gst/base/Makefile.am:
24858 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24859 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24860 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24861 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24862 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24863 (gst_basesrc_base_init), (gst_basesrc_class_init),
24864 (gst_basesrc_init), (gst_basesrc_get_formats),
24865 (gst_basesrc_get_query_types), (gst_basesrc_query),
24866 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24867 (gst_basesrc_set_property), (gst_basesrc_get_property),
24868 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24869 (gst_basesrc_loop), (gst_basesrc_activate),
24870 (gst_basesrc_change_state):
24871 * gst/base/gstbasesrc.h:
24872 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24873 (gst_fakesrc_class_init), (gst_fakesrc_init),
24874 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24875 (gst_fakesrc_get_property), (gst_fakesrc_create):
24876 * gst/elements/gstfakesrc.h:
24877 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24878 (gst_filesrc_open_file), (gst_filesrc_loop),
24879 (gst_filesrc_activate), (filesrc_find_peek),
24880 (gst_filesrc_type_find):
24881 Made base source class, make fakesrc extend it.
24882 Add comments to basesink class.
24883 Some filesrc cleanup.
24885 2005-03-31 David Schleef <ds@schleef.org>
24887 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24888 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24889 expected to link against libgstreamer.
24890 * gst/base/Makefile.am: link against libgstreamer
24891 * gst/elements/Makefile.am: same
24893 2005-03-31 Andy Wingo <wingo@pobox.com>
24895 * tests/instantiate/Makefile.am:
24896 * tests/instantiate/caps.c: Add test to test speed of caps copy
24899 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24900 GMemChunk to be fair.
24902 * gst/gsttrashstack.h: Remove warning about using the fallback
24903 trash stack implementation, it's still faster than malloc.
24905 2005-03-30 Andy Wingo <wingo@pobox.com>
24907 * tests/complexity.c: Add a copyright.
24909 2005-03-31 Wim Taymans <wim@fluendo.com>
24911 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24912 (gst_base_transform_class_init), (gst_base_transform_init),
24913 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24914 (gst_base_transform_get_property),
24915 (gst_base_transform_sink_activate),
24916 (gst_base_transform_src_activate),
24917 (gst_base_transform_change_state):
24918 * gst/base/gstbasetransform.h:
24919 * gst/elements/gstidentity.c: (gst_identity_class_init),
24920 (gst_identity_event), (gst_identity_check_perfect),
24921 (gst_identity_transform), (gst_identity_start),
24922 (gst_identity_stop):
24923 Added start/stop methods to transform base class so subclasses
24924 don't need to deal with state changes even.
24926 2005-03-31 Wim Taymans <wim@fluendo.com>
24928 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24929 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24932 (gst_pad_pull_range):
24933 Added rate to the discont event to prepare for variable speed
24934 and reverse playback.
24936 2005-03-29 David Schleef <ds@schleef.org>
24939 * testsuite/trigger/Makefile.am:
24940 * testsuite/trigger/trigger.c: A little example program to show
24941 how trigger-based elements can work.
24943 2005-03-29 Wim Taymans <wim@fluendo.com>
24945 * gst/base/Makefile.am:
24947 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24948 (gst_basesink_base_init), (gst_basesink_class_init),
24949 (gst_basesink_pad_getcaps), (gst_basesink_init),
24950 (gst_basesink_activate), (gst_basesink_change_state):
24951 * gst/base/gstbasesink.h:
24952 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24953 (gst_base_transform_base_init), (gst_base_transform_finalize),
24954 (gst_base_transform_class_init), (gst_base_transform_init),
24955 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24956 (gst_base_transform_event), (gst_base_transform_getrange),
24957 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24958 (gst_base_transform_set_property),
24959 (gst_base_transform_get_property),
24960 (gst_base_transform_sink_activate),
24961 (gst_base_transform_src_activate),
24962 (gst_base_transform_change_state):
24963 * gst/base/gstbasetransform.h:
24964 * gst/elements/gstidentity.c: (gst_identity_finalize),
24965 (gst_identity_class_init), (gst_identity_init),
24966 (gst_identity_event), (gst_identity_check_perfect),
24967 (gst_identity_transform), (gst_identity_set_property),
24968 (gst_identity_get_property), (gst_identity_change_state):
24969 * gst/elements/gstidentity.h:
24970 * gst/gstelement.c: (gst_element_get_state_func),
24971 (gst_element_lost_state), (gst_element_pads_activate):
24972 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24973 (gst_pad_check_pull_range), (gst_pad_pull_range):
24975 Simplify pad activation.
24976 Added function to check if pull_range can be performed.
24977 Error out when pulling inactive or flushing pads.
24978 Removed const from refcounted types as it does not make sense.
24979 Simplify pad templates in basesink
24980 Added base class for simple 1-to-1 transforms.
24981 Make identity subclass the base transform.
24983 2005-03-29 Andy Wingo <wingo@pobox.com>
24985 * docs/libs/gstreamer-libs-overrides.txt:
24986 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24987 really don't understand what's going on, but like whatever. I want
24990 * docs/gst/Makefile.am:
24991 * docs/libs/Makefile.am: Dist the overrides files.
24993 * check/Makefile.am (clean-local): Remove .libs directories.
24995 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24996 elements to EXTRA_DIST, so po/ files are happy.
24998 * po/POTFILES.in: Er, remove it here.
25000 * po/POTFILES: Remove gstspider.c.
25002 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25004 * docs/libs/gstreamer-libs-docs.sgml:
25005 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25008 * tests/complexity.c (main): Set the length of the preroll queue
25009 on the sinks to prevent a lockup.
25011 * libs/gst/dataprotocol/Makefile.am:
25012 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25013 the same as the one in check/gst-libs/gdp.c.
25015 * po/, docs/gst/: Commit automatic changes to docs and po files.
25017 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25018 the versioned libgstbase.
25020 * check/Makefile.am: Depend on an unversioned gst-register, seems
25021 to make autoconf happier.
25023 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25025 2005-03-28 Wim Taymans <wim@fluendo.com>
25028 * docs/design/part-gstelement.txt:
25029 * docs/design/part-negotiation.txt:
25030 * docs/design/part-preroll.txt:
25031 * docs/design/part-scheduling.txt:
25032 * docs/design/part-states.txt:
25034 * gst/base/Makefile.am:
25036 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25037 (gst_basesink_base_init), (gst_basesink_class_init),
25038 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25039 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25040 (gst_basesink_set_pad_functions),
25041 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25042 (gst_basesink_set_property), (gst_basesink_get_property),
25043 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25044 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25045 (gst_basesink_preroll_queue_push),
25046 (gst_basesink_preroll_queue_empty),
25047 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25048 (gst_basesink_event), (gst_basesink_get_times),
25049 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25050 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25051 (gst_basesink_loop), (gst_basesink_activate),
25052 (gst_basesink_change_state):
25053 * gst/base/gstbasesink.h:
25054 * gst/elements/Makefile.am:
25055 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25056 (gst_fakesink_class_init), (gst_fakesink_init),
25057 (gst_fakesink_set_property), (gst_fakesink_get_property),
25058 (gst_fakesink_get_times), (gst_fakesink_event),
25059 (gst_fakesink_preroll), (gst_fakesink_render),
25060 (gst_fakesink_change_state):
25061 * gst/elements/gstfakesink.h:
25062 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25063 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25064 * gst/gstelement.c: (gst_element_add_pad),
25065 (gst_element_get_state_func), (gst_element_abort_state),
25066 (gst_element_commit_state), (gst_element_lost_state),
25067 (gst_element_set_state), (gst_element_pads_activate):
25068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25069 * gst/gstpipeline.c: (gst_pipeline_send_event),
25070 (gst_pipeline_change_state):
25071 Added state change code.
25072 Added/updated docs.
25073 Added sink base class, make fakesink extend the base class.
25074 Small cleanups in GstPipeline.
25076 2005-03-26 David Schleef <ds@schleef.org>
25078 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25079 is broken and should be implemented in a different library.
25080 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25081 * gst/gst.h: remove gstcpu.h
25082 * gst/gstcpu.c: remove
25083 * gst/gstcpu.h: remove
25084 * gst/Makefile.am.future: Remove this file. It's ancient.
25086 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25088 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25089 (gst_bin_send_event):
25090 Add default event/set_manager handlers. The set_manager handler
25091 takes care that the manager is distributed over kids that were
25092 already in the bin before the manager was set. The event handler
25093 is a utility virtual function that sends the event over all sinks,
25094 so that gst_element_send_event (bin, event); has the expected
25096 * gst/gstpad.c: (gst_pad_event_default):
25097 Re-install default event handling for discontinuities, so that
25098 seeking works without requiring hacks in applications or extra
25100 * gst/gstpipeline.c: (gst_pipeline_class_init),
25101 (gst_pipeline_send_event):
25102 Half hack, half utility: set a pipeline to PAUSED for seek events,
25103 since that is the only way we can guarantee a/v sync. Means that
25104 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25105 and it "just works".
25107 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25109 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25110 Lock/unlock mismatch.
25112 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25114 * docs/faq/gst-uninstalled:
25115 add gst-plugins-base
25116 * docs/gst/Makefile.am:
25117 don't error out until docs are fixed
25118 * docs/gst/gstreamer.types:
25121 2005-03-22 Wim Taymans <wim@fluendo.com>
25123 * check/Makefile.am:
25124 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25125 * gst/gststructure.c: (gst_structure_set_valist),
25126 (gst_structure_copy_conditional):
25127 Activated more tests.
25128 Added message test.
25129 Added G_TYPE_POINTER to GstStructure.
25132 2005-03-22 Wim Taymans <wim@fluendo.com>
25134 * docs/design/part-TODO.txt:
25135 * docs/design/part-events.txt:
25136 * docs/design/part-gstbin.txt:
25137 * docs/design/part-gstbus.txt:
25138 * docs/design/part-gstpipeline.txt:
25139 * docs/design/part-messages.txt:
25141 * gst/gstmessage.c:
25144 2005-03-21 Wim Taymans <wim@fluendo.com>
25146 * gst/gstbus.c: (gst_bus_post):
25147 Fix copy-and-paste error.
25149 2005-03-21 Wim Taymans <wim@fluendo.com>
25151 * check/Makefile.am:
25153 * gst/elements/Makefile.am:
25154 * gst/elements/gstelements.c:
25155 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25156 (gst_fakesink_event), (gst_fakesink_chain):
25157 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25158 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25159 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25160 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25161 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25162 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25163 (gst_fakesrc_loop), (gst_fakesrc_activate),
25164 (gst_fakesrc_change_state):
25165 * gst/elements/gstfakesrc.h:
25166 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25167 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25168 (gst_filesrc_open_file), (gst_filesrc_loop),
25169 (gst_filesrc_activate), (gst_filesrc_change_state),
25170 (filesrc_find_peek), (filesrc_find_suggest),
25171 (gst_filesrc_type_find):
25172 * gst/elements/gstidentity.c: (gst_identity_finalize),
25173 (gst_identity_class_init), (gst_identity_init),
25174 (gst_identity_proxy_getcaps), (identity_queue_push),
25175 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25176 (gst_identity_getrange), (gst_identity_chain),
25177 (gst_identity_sink_loop), (gst_identity_src_loop),
25178 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25179 (gst_identity_set_property), (gst_identity_get_property),
25180 (gst_identity_change_state):
25181 * gst/elements/gstidentity.h:
25182 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25183 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25184 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25185 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25186 (gst_tee_sink_activate):
25187 * gst/elements/gsttee.h:
25188 * gst/gst.c: (gst_register_core_elements), (init_post):
25190 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25191 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25192 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25193 (gst_bin_change_state):
25195 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25196 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25197 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25198 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25199 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25200 (bus_watch_callback), (bus_watch_destroy),
25201 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25202 (poll_timeout), (gst_bus_poll):
25206 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25207 (gst_element_post_message), (gst_element_message_full),
25208 (gst_element_get_state_func), (gst_element_get_state),
25209 (gst_element_abort_state), (gst_element_commit_state),
25210 (gst_element_lost_state), (gst_element_set_state),
25211 (gst_element_pads_activate), (gst_element_change_state),
25212 (gst_element_dispose), (gst_element_set_manager_func),
25213 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25214 (gst_element_set_manager), (gst_element_get_manager),
25215 (gst_element_set_bus), (gst_element_get_bus),
25216 (gst_element_set_scheduler), (gst_element_get_scheduler):
25217 * gst/gstelement.h:
25218 * gst/gstevent.c: (gst_event_new_segment_seek),
25219 (gst_event_new_flush):
25221 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25222 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25223 (gst_message_new_eos), (gst_message_new_error),
25224 (gst_message_new_warning), (gst_message_new_tag),
25225 (gst_message_new_state_changed), (gst_message_new_application),
25226 (gst_message_get_structure), (gst_message_parse_tag),
25227 (gst_message_parse_state_changed), (gst_message_parse_error),
25228 (gst_message_parse_warning):
25229 * gst/gstmessage.h:
25230 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25231 (gst_real_pad_set_property), (gst_pad_set_active),
25232 (gst_pad_is_active), (gst_pad_set_blocked_async),
25233 (gst_pad_set_blocked), (gst_pad_is_blocked),
25234 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25235 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25236 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25237 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25238 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25239 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25240 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25241 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25242 (gst_pad_set_caps), (gst_pad_configure_sink),
25243 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25244 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25245 (gst_real_pad_dispose), (gst_real_pad_finalize),
25246 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25247 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25248 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25250 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25251 (pipeline_bus_handler), (gst_pipeline_change_state),
25252 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25253 * gst/gstpipeline.h:
25255 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25256 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25257 (gst_queue_link_src), (gst_queue_bufferalloc),
25258 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25259 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25260 (gst_queue_loop), (gst_queue_handle_src_event),
25261 (gst_queue_handle_src_query), (gst_queue_src_activate),
25262 (gst_queue_change_state):
25264 * gst/gstscheduler.c: (gst_scheduler_init),
25265 (gst_scheduler_dispose), (gst_scheduler_create_task),
25266 (gst_scheduler_factory_create):
25267 * gst/gstscheduler.h:
25268 * gst/gststructure.c: (gst_structure_get_type),
25269 (gst_structure_copy_conditional):
25270 * gst/gststructure.h:
25271 * gst/gsttaginterface.h:
25272 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25273 (gst_task_init), (gst_task_dispose), (gst_task_create),
25274 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25280 * gst/schedulers/Makefile.am:
25281 * gst/schedulers/cothreads_compat.h:
25282 * gst/schedulers/entryscheduler.c:
25283 * gst/schedulers/faircothreads.c:
25284 * gst/schedulers/faircothreads.h:
25285 * gst/schedulers/fairscheduler.c:
25286 * gst/schedulers/gstbasicscheduler.c:
25287 * gst/schedulers/gstoptimalscheduler.c:
25288 * gst/schedulers/gthread-cothreads.h:
25289 * gst/schedulers/threadscheduler.c:
25290 (gst_thread_scheduler_task_get_type),
25291 (gst_thread_scheduler_task_class_init),
25292 (gst_thread_scheduler_task_init),
25293 (gst_thread_scheduler_task_start),
25294 (gst_thread_scheduler_task_stop),
25295 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25296 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25297 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25298 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25300 * libs/gst/Makefile.am:
25301 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25302 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25303 (gst_file_pad_parent_set):
25304 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25305 (gst_dp_event_from_packet):
25306 * tests/complexity.c: (main):
25307 * tests/mass_elements.c: (main):
25308 * testsuite/states/locked.c: (message_received), (main):
25309 * testsuite/states/parent.c: (main):
25310 * tools/gst-inspect.c: (print_element_flag_info),
25311 (print_implementation_info), (print_pad_info):
25312 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25314 * tools/gst-md5sum.c: (event_loop), (main):
25315 * tools/gst-typefind.c: (main):
25316 * tools/gst-xmlinspect.c: (print_element_info):
25318 Added GstBus for mainloop integration.
25319 Added GstMessage for sending notifications on the bus.
25320 Added GstTask as an abstraction for pipeline entry points.
25322 Removed Schedulers.
25323 Simplified GstQueue for multithreaded core.
25324 Made _link threadsafe, removed old capsnego.
25325 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25326 Added pad blocking functions.
25327 Reworked scheduling functions in GstPad to prepare for
25328 scheduling updates soon.
25329 Moved events out of data stream.
25330 Simplified GstEvent types.
25331 Added return values to push/pull.
25332 Removed clocking from GstElement.
25333 Added prototypes for state change function for next merge.
25334 Removed iterate from bins and state change management.
25335 Fixed some elements, disabled others for now.
25336 Fixed -inspect and -launch.
25337 Added check for GstBus.
25339 2005-03-10 Wim Taymans <wim@fluendo.com>
25341 * docs/design/part-MT-refcounting.txt:
25342 * docs/design/part-clocks.txt:
25343 * docs/design/part-gstelement.txt:
25344 * docs/design/part-gstobject.txt:
25345 * docs/design/part-standards.txt:
25346 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25347 (gst_bin_remove_func), (gst_bin_remove):
25351 * testsuite/clock/clock1.c: (main):
25352 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25354 * testsuite/dlopen/loadgst.c: (do_test):
25355 * testsuite/refcounting/bin.c: (add_remove_test1),
25356 (add_remove_test2), (main):
25357 * testsuite/refcounting/element.c: (main):
25358 * testsuite/refcounting/element_pad.c: (main):
25359 * testsuite/refcounting/pad.c: (main):
25360 * tools/gst-launch.c: (sigint_handler_sighandler):
25361 * tools/gst-typefind.c: (main):
25363 Added doc about clock.
25364 removed gst_bin_iterate_recurse_up(), marked methods
25366 Fix more testsuites.
25368 2005-03-09 Wim Taymans <wim@fluendo.com>
25370 * gst/gstpad.c: (gst_pad_get_direction),
25371 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25372 (gst_pad_collect_valist):
25373 * testsuite/bins/interface.c: (main):
25374 * testsuite/caps/audioscale.c: (test_caps):
25375 * testsuite/caps/caps.c: (test1), (test2), (test3):
25376 * testsuite/caps/deserialize.c: (main):
25377 * testsuite/caps/enumcaps.c: (main):
25378 * testsuite/caps/filtercaps.c: (main):
25379 * testsuite/caps/intersect2.c: (main):
25380 * testsuite/caps/random.c: (main):
25381 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25382 * testsuite/caps/sets.c: (check_caps):
25383 * testsuite/caps/simplify.c: (check_caps), (main):
25384 * testsuite/caps/subtract.c: (check_caps):
25385 Fix _pad_get_direction wrt ghostpads.
25386 Fix caps testsuite.
25388 2005-03-09 Wim Taymans <wim@fluendo.com>
25390 * check/Makefile.am:
25391 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25392 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25393 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25394 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25395 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25396 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25397 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25398 (bin_element_is_sink), (gst_bin_iterate_sinks),
25399 (gst_bin_iterate_all_by_interface):
25401 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25402 (gst_element_change_state), (gst_element_dispose),
25403 (gst_element_finalize), (gst_element_set_loop_function):
25404 * gst/gstelement.h:
25405 * gst/gstiterator.c: (find_custom_fold_func):
25406 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25407 (gst_pad_collectv), (gst_pad_collect_valist),
25408 (gst_pad_template_new):
25409 * gst/gstpipeline.c: (gst_pipeline_class_init),
25410 (gst_pipeline_dispose), (gst_pipeline_set_property),
25411 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25412 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25413 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25415 * gst/schedulers/entryscheduler.c:
25416 * gst/schedulers/gstbasicscheduler.c:
25417 (gst_basic_scheduler_cothreaded_chain),
25418 (gst_basic_scheduler_chain_add_element):
25419 * testsuite/bins/interface.c: (main):
25421 Added GstSystemClock test.
25422 Implemented clock distribution code in GstBin.
25423 Implemented iterate sinks method for future use.
25424 Rearranged gstelement.h
25425 Fix GstIterator comparison bug.
25426 Moved some code to GstPipeline, mostly clocking related.
25428 2005-03-09 Wim Taymans <wim@fluendo.com>
25431 * gst/gst_private.h:
25432 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25433 (gst_bin_remove_func), (gst_bin_remove),
25434 (gst_bin_get_by_name_recurse_up):
25435 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25436 (gst_clock_id_compare_func), (gst_clock_id_wait),
25437 (gst_clock_id_wait_async), (gst_clock_init),
25438 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25439 * gst/gstelement.h:
25440 * gst/gstinfo.c: (_gst_debug_init):
25442 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25443 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25445 Bump version number, we're now 0.9.0
25446 Add future debugging category.
25447 Fix NULL _unref() in _get_by_name_recurse_up
25448 Rearrange gstpad.h.
25451 2005-03-08 Wim Taymans <wim@fluendo.com>
25453 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25454 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25455 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25456 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25457 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25458 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25459 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25460 * gst/elements/gstidentity.c: (gst_identity_class_init):
25461 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25462 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25463 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25464 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25465 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25467 * gst/gstelement.c: (gst_element_class_init),
25468 (gst_element_base_class_init), (gst_element_init),
25469 (gst_element_get_random_pad), (gst_element_wait_state_change),
25470 (gst_element_change_state), (gst_element_dispose),
25471 (gst_element_finalize), (gst_element_set_loop_function):
25472 * gst/gstelement.h:
25473 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25474 * gst/gstthread.c: (gst_thread_class_init),
25475 (gst_thread_release_children_locks), (gst_thread_change_state):
25476 * gst/schedulers/gstbasicscheduler.c:
25477 (gst_basic_scheduler_loopfunc_wrapper),
25478 (gst_basic_scheduler_chain_wrapper),
25479 (gst_basic_scheduler_src_wrapper),
25480 (gst_basic_scheduler_remove_element):
25481 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25482 Remove threadsafe properties. Fix elements because GObject
25483 complains when installing a property before declaring a
25484 set/get_property handler.
25485 Rearrange gstelement.h file, use STATE macros for state locks.
25486 Free mutexes in the finalize method instead of dispose.
25488 2005-03-08 Wim Taymans <wim@fluendo.com>
25490 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25491 * gst/gstthread.c: (gst_thread_release_children_locks):
25492 Added parentage check.
25493 Fix build og GstThread again.
25495 2005-03-08 Wim Taymans <wim@fluendo.com>
25497 * docs/design/part-MT-refcounting.txt:
25498 * docs/design/part-conventions.txt:
25499 * docs/design/part-gstobject.txt:
25500 * docs/design/part-relations.txt:
25501 * docs/design/part-standards.txt:
25502 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25503 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25504 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25505 (gst_bin_iterate_all_by_interface):
25508 * gst/gstelement.c: (gst_element_class_init),
25509 (gst_element_change_state), (gst_element_set_loop_function):
25510 * gst/gstelement.h:
25511 * gst/gstiterator.c:
25512 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25513 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25514 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25515 (gst_object_set_parent), (gst_object_unparent),
25516 (gst_object_check_uniqueness):
25518 Docs updates, clean up some headers.
25520 2005-03-07 Wim Taymans <wim@fluendo.com>
25522 * check/.cvsignore:
25523 * check/Makefile.am:
25524 * check/gst-libs/.cvsignore:
25525 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25526 * check/gst/.cvsignore:
25527 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25528 (START_TEST), (gstbus_suite), (main):
25529 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25530 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25531 (gst_data_suite), (main):
25532 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25533 (add_fold_func), (gstiterator_suite), (main):
25534 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25535 (thread_name_object), (thread_name_object_default),
25536 (gst_object_name_compare), (gst_object_suite), (main):
25537 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25538 (gst_pad_suite), (main):
25539 * check/gstcheck.c: (gst_check_log_message_func),
25540 (gst_check_log_critical_func), (gst_check_init):
25541 * check/gstcheck.h:
25542 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25543 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25546 2005-03-07 Wim Taymans <wim@fluendo.com>
25548 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25549 (gst_list_iterator_next), (gst_list_iterator_resync),
25550 (gst_list_iterator_free), (gst_iterator_new_list),
25551 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25552 (gst_iterator_free), (gst_iterator_push), (filter_next),
25553 (filter_resync), (filter_uninit), (filter_free),
25554 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25555 (gst_iterator_foreach), (find_custom_fold_func),
25556 (gst_iterator_find_custom):
25557 * gst/gstiterator.h:
25558 Added missing files.
25560 2005-03-07 Wim Taymans <wim@fluendo.com>
25564 * docs/design/part-MT-refcounting.txt:
25565 * docs/design/part-conventions.txt:
25566 * docs/design/part-gstobject.txt:
25567 * docs/design/part-relations.txt:
25568 * examples/mixer/mixer.c: (main):
25569 * examples/thread/thread.c: (eos), (main):
25571 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25572 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25573 (gst_spider_plug_from_srcpad):
25574 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25575 (gst_spider_identity_change_state),
25576 (gst_spider_identity_sink_loop_type_finding):
25577 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25578 * gst/elements/gstidentity.c: (gst_identity_init):
25579 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25580 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25581 * gst/elements/gsttypefindelement.c: (free_entry):
25584 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25585 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25586 (gst_bin_set_index), (gst_bin_set_element_sched),
25587 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25588 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25589 (gst_bin_iterate_elements), (iterate_child_recurse),
25590 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25591 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25592 (compare_interface), (gst_bin_get_by_interface),
25593 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25595 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25596 (gst_buffer_default_free), (gst_buffer_default_copy),
25597 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25598 (gst_buffer_create_sub):
25600 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25601 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25602 (gst_caps_unref), (gst_static_caps_get),
25603 (gst_caps_remove_and_get_structure), (gst_caps_append),
25604 (gst_caps_append_structure), (gst_caps_remove_structure),
25605 (gst_caps_copy_nth), (gst_caps_set_simple),
25606 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25607 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25608 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25609 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25610 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25611 (gst_caps_structure_figure_out_union),
25612 (gst_caps_switch_structures), (gst_caps_do_simplify),
25613 (gst_caps_replace), (gst_caps_from_string),
25614 (gst_caps_copy_conditional):
25616 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25617 (_gst_clock_id_free), (gst_clock_id_unref),
25618 (gst_clock_id_compare_func), (gst_clock_id_wait),
25619 (gst_clock_id_wait_async), (gst_clock_class_init),
25620 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25621 (gst_clock_get_time), (gst_clock_set_time_adjust),
25622 (gst_clock_set_property), (gst_clock_get_property):
25625 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25626 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25628 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25629 (gst_element_requires_clock), (gst_element_provides_clock),
25630 (gst_element_set_clock), (gst_element_clock_wait),
25631 (gst_element_wait), (gst_element_set_time_delay),
25632 (gst_element_is_indexable), (gst_element_add_pad),
25633 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25634 (pad_compare_name), (gst_element_get_static_pad),
25635 (gst_element_request_pad), (gst_element_get_request_pad),
25636 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25637 (gst_element_class_get_pad_template_list),
25638 (gst_element_class_get_pad_template), (gst_element_error_func),
25639 (gst_element_get_random_pad), (gst_element_get_event_masks),
25640 (gst_element_send_event), (gst_element_seek),
25641 (gst_element_get_query_types), (gst_element_query),
25642 (gst_element_get_formats), (gst_element_convert),
25643 (gst_element_is_locked_state), (gst_element_set_locked_state),
25644 (gst_element_sync_state_with_parent), (gst_element_change_state),
25645 (gst_element_finalize), (gst_element_yield),
25646 (gst_element_interrupt), (gst_element_set_scheduler),
25647 (gst_element_get_scheduler), (gst_element_set_loop_function):
25648 * gst/gstelement.h:
25650 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25651 (gst_format_get_by_nick), (gst_format_get_details),
25652 (gst_format_iterate_definitions):
25654 * gst/gstindex.c: (gst_index_gtype_resolver):
25657 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25658 (gst_mem_chunk_free):
25659 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25660 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25661 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25662 (gst_object_dispatch_properties_changed),
25663 (gst_object_set_name_default), (gst_object_set_name),
25664 (gst_object_get_name), (gst_object_set_name_prefix),
25665 (gst_object_get_name_prefix), (gst_object_set_parent),
25666 (gst_object_get_parent), (gst_object_unparent),
25667 (gst_object_check_uniqueness), (gst_object_save_thyself),
25668 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25669 (gst_object_set_property), (gst_object_get_property),
25670 (gst_object_get_path_string):
25672 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25673 (gst_real_pad_init), (gst_real_pad_get_property),
25674 (gst_pad_custom_new), (gst_pad_get_direction),
25675 (gst_pad_set_active), (gst_pad_is_active),
25676 (gst_pad_set_event_function), (gst_pad_is_linked),
25677 (gst_pad_link_free), (gst_pad_link_intersect),
25678 (gst_pad_link_fixate), (gst_pad_set_caps),
25679 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25680 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25681 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25682 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25683 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25684 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25685 (gst_pad_realize), (gst_pad_get_allowed_caps),
25686 (gst_real_pad_dispose), (gst_real_pad_finalize),
25687 (gst_pad_collectv), (gst_pad_collect_valist),
25688 (gst_pad_template_dispose), (gst_pad_template_new),
25689 (gst_pad_get_internal_links):
25691 * gst/gstpipeline.c: (gst_pipeline_dispose),
25692 (gst_pipeline_change_state):
25693 * gst/gstpipeline.h:
25695 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25696 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25697 * gst/gstpluginfeature.h:
25698 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25699 * gst/gstquery.c: (_gst_query_type_initialize),
25700 (gst_query_type_register), (gst_query_type_get_by_nick),
25701 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25703 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25704 * gst/gstscheduler.c: (gst_scheduler_add_element),
25705 (gst_scheduler_factory_create):
25706 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25707 (gst_structure_free), (gst_structure_set_name),
25708 (gst_structure_id_set_value), (gst_structure_set_value),
25709 (gst_structure_set_valist), (gst_structure_remove_field),
25710 (gst_structure_remove_fields),
25711 (gst_structure_remove_fields_valist),
25712 (gst_structure_remove_all_fields), (gst_structure_foreach),
25713 (gst_structure_map_in_place),
25714 (gst_caps_structure_fixate_field_nearest_int),
25715 (gst_caps_structure_fixate_field_nearest_double):
25716 * gst/gststructure.h:
25717 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25718 (gst_system_clock_init), (gst_system_clock_dispose),
25719 (gst_system_clock_async_thread),
25720 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25721 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25722 * gst/gstsystemclock.h:
25723 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25724 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25725 * gst/gsttaginterface.c:
25726 * gst/gstthread.c: (gst_thread_dispose),
25727 (gst_thread_release_children_locks), (gst_thread_change_state),
25728 (gst_thread_main_loop):
25729 * gst/gsttrashstack.h:
25730 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25732 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25733 (gst_element_request_pad), (gst_element_get_pad_from_template),
25734 (gst_element_request_compatible_pad),
25735 (gst_element_get_compatible_pad_filtered),
25736 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25737 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25738 (gst_element_link_many), (gst_element_link),
25739 (gst_element_link_pads), (gst_element_unlink_pads),
25740 (gst_element_unlink_many), (gst_element_unlink),
25741 (gst_pad_can_link_filtered), (gst_pad_can_link),
25742 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25743 (gst_object_default_error), (gst_bin_add_many),
25744 (gst_bin_remove_many), (gst_element_populate_std_props),
25745 (gst_element_class_install_std_props), (gst_buffer_merge),
25746 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25747 (link_fold_func), (gst_pad_proxy_setcaps):
25749 * gst/gstvalue.c: (gst_value_deserialize_string):
25750 * gst/parse/grammar.y:
25751 * gst/schedulers/gstbasicscheduler.c:
25752 (gst_basic_scheduler_cothreaded_chain),
25753 (gst_basic_scheduler_chain_recursive_add),
25754 (gst_basic_scheduler_pad_link):
25755 * gst/schedulers/gstoptimalscheduler.c:
25756 (get_group_schedule_function),
25757 (gst_opt_scheduler_state_transition),
25758 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25759 * libs/gst/bytestream/bytestream.c:
25760 * libs/gst/dataprotocol/dataprotocol.c:
25761 (gst_dp_header_from_buffer):
25764 * tests/threadstate/threadstate2.c: (eos):
25765 * tools/gst-compprep.c: (main):
25766 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25767 (print_pad_info), (print_children_info):
25768 * tools/gst-launch.c: (idle_func), (main):
25769 * tools/gst-md5sum.c: (idle_func), (main):
25770 * tools/gst-xmlinspect.c: (print_element_info):
25771 First THREADED backport attempt, focusing on adding locks and
25772 making sure the API is threadsafe. Needs more work. More docs
25775 2005-02-24 Andy Wingo <wingo@pobox.com>
25777 * tests/bench-complexity.scm:
25778 * tests/complexity.gnuplot: New files, good for running complexity
25781 * tests/Makefile.am:
25782 * tests/complexity.c: New test, sets up N elements, at each level
25783 teeing into M streams per element. Eeeenteresting.
25785 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25786 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25787 running bench-mass_elements.scm.
25789 * tests/bench-mass_elements.scm: New script, runs mass_elements
25790 for various numbers of identities, outputting the results to a
25791 file. Requires guile 1.6. Just for testing.
25793 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25795 * gst/schedulers/fairscheduler.c:
25796 compile with debug disabled
25798 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25801 hunting season on 0.9 is now OPEN