1 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/libs/gstreamer-libs-sections.txt:
4 Make gtk-doc ignore stuff it should ignore.
6 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
8 * libs/gst/check/gstcheck.c:
9 * libs/gst/check/gstcheck.h:
10 Allow runtime selection of unit tests to run via the GST_CHECKS
11 environment variable (test case function names, comma-separated).
13 2007-10-16 Stefan Kost <ensonic@users.sf.net>
16 * tests/check/gst/gststructure.c:
17 Revert serialisation change and constrain structure-names after
18 consensus on irc. Update api documentation to reflect the change.
20 2007-10-16 Stefan Kost <ensonic@users.sf.net>
23 Improve serialization and fix tests.
25 * tests/check/gst/gststructure.c:
26 Add another test that covers why I actually did the previous structure
29 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
31 * tools/gst-inspect.c: (print_element_info):
32 Don't crash when inspecting an element.
34 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
36 * tests/check/gst/gststructure.c:
37 Add unit test for escaping of structure name when serialising
38 and deserialising to/from strings.
40 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
42 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
43 (gst_single_queue_new):
44 * plugins/elements/gstqueue.c: (gst_queue_init),
46 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
47 upstream is tricked into thinking it can suggest a format downstream
48 while downstream does not support that format. The real problem is that
49 core calls acceptcaps when pushing a buffer with new caps, for which we
50 do a little workaround by setting the caps on the srcpad ourselves
51 before pushing the buffer (until this is figured out). Fixes #486758.
53 2007-10-15 Stefan Kost <ensonic@users.sf.net>
57 Add some more comments and debug output. Quote structure name to fix
58 deserialisation of some strings.
60 2007-10-15 Stefan Kost <ensonic@users.sf.net>
63 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
64 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
66 2007-10-15 Stefan Kost <ensonic@users.sf.net>
68 * tools/gst-inspect.c:
69 Save approx. 400 1 byte allocs when printing. Use API to acces element
75 * tools/gst-xmlinspect.c:
76 Use API to acces element details.
78 2007-10-15 Stefan Kost <ensonic@users.sf.net>
81 Fix some spelling errors.
83 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
85 * gst/gstbin.c: (bin_handle_async_done):
86 Correctly set the next state if all of our async children commited their
87 state. This makes sure we can actually cancel the state change in
88 progress. Fixes a regression in Rhythmbox when seeking.
90 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
93 Don't shadow local variable.
96 Don't shadow global function name.
98 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
100 * gst/gstelementfactory.c:
101 * gst/gstpluginfeature.c:
102 * gst/gstpluginfeature.h:
103 * gst/gstregistrybinary.c:
104 * gst/gstregistryxml.c:
106 Use already-interned string for the private GstPluginFeature
109 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
111 * docs/libs/gstreamer-libs-sections.txt:
112 Add new API to docs; fixes the build.
114 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
116 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
118 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
119 (gst_base_sink_event):
120 * libs/gst/base/gstbasesink.h:
121 Add function to wait for EOS, subclasses can use this to correctly wait
122 for devices to drain before performing the EOS logic. Fixes #485343.
123 API: gst_base_sink_wait_eos()
125 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
128 Cast description string constants in GST_PLUGIN_DEFINE macros
129 to a (gchar*) to make C++ code using these macros compile
130 without warning with g++-4.2 (see #462737). Even if slightly
131 ugly, this seems preferable to putting the description strings
132 into the GLib quark table or making the structure member a
133 const gchar * and doing casts in core code that allocs and
134 frees these strings, or requiring a cast in the C++ code.
136 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
139 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
140 to print the entire class/function signature into the log
141 file for C++ code. This only affects C++ code, for C code
142 everything remains the same.
144 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
146 * gst/gstbin.c: (remove_from_queue):
147 Work around a problem with pipelines containing (semi)loops until a
148 proper, more complicated solution is ready. See #475455.
150 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
154 * gst/gstregistrybinary.c:
155 * gst/gstregistryxml.c:
156 Put more strings into the GLib quark table. No need to keep
157 a hundred-something copies of identical version strings,
158 license strings, package name strings and package origin
161 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
163 * docs/manual/advanced-dataaccess.xml:
164 Don't imply that it's okay to unconditionally change
165 buffer data or buffer metadata in a pad probe callback,
166 and a bunch of other comments. Fixes #430031.
168 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
170 * win32/common/gstenumtypes.c:
171 * win32/common/gstenumtypes.h:
172 * win32/common/gstversion.h:
173 Update generated files.
175 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
177 * docs/manual/advanced-autoplugging.xml:
178 Prefix section with broken code with a warning (see #342432).
180 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
182 * docs/manual/appendix-integration.xml:
183 * docs/manual/basics-init.xml:
184 Call g_thread_init() before g_option_context_new() to
185 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
187 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
189 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
190 (gst_base_sink_queue_object_unlocked),
191 (gst_base_sink_queue_object), (gst_base_sink_event),
192 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
193 When we received EOS and are waiting for when to post the EOS message,
194 our state is prerolled and we should not return ASYNC.
195 Reorganize some code paths to implement this behavior.
197 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
199 Add unit test to verify above EOS fix.
201 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
203 * plugins/elements/gsttypefindelement.c:
204 (gst_type_find_element_have_type), (gst_type_find_element_init),
205 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
206 Move detecting the input caps of the sinkpad to the setcaps function.
207 This allows us to update the output caps when we receive new input caps
208 instead of always using the first detected caps.
210 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
212 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
213 (gst_base_sink_get_position):
214 Don't try to preroll non-async elements after a flush.
215 Subtract latency form clock times when reporting position.
217 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
219 * gst/gstpad.c: (gst_pad_pause_task):
221 Small comment and documentation update.
223 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
225 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
226 (gst_base_src_set_live), (gst_base_src_is_live),
227 (gst_base_src_query_latency), (gst_base_src_perform_seek),
228 (gst_base_src_default_event), (gst_base_src_wait),
229 (gst_base_src_do_sync), (gst_base_src_get_range),
230 (gst_base_src_pad_get_range), (gst_base_src_loop),
231 (gst_base_src_unlock), (gst_base_src_unlock_stop),
232 (gst_base_src_set_flushing), (gst_base_src_set_playing),
233 (gst_base_src_activate_push), (gst_base_src_activate_pull),
234 (gst_base_src_change_state):
235 Rework the locking of basesrc in a similar fashion to basesink. We
236 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
237 us to handle live sources and semi live ones much better.
239 Fix unlocking when seeking, shutting down and pausing in live sources.
241 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
243 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
244 Fix compilation again.
246 2007-10-03 Stefan Kost <ensonic@users.sf.net>
249 Use meaningful categories for the logs to clean the default one.
251 2007-10-03 Stefan Kost <ensonic@users.sf.net>
253 * tests/check/pipelines/cleanup.c:
254 Print message name and not just number.
256 2007-10-03 Stefan Kost <ensonic@users.sf.net>
258 * docs/design/draft-tagreading.txt:
259 Add some more thoughts.
261 2007-10-03 Stefan Kost <ensonic@users.sf.net>
263 * tests/check/pipelines/simple-launch-lines.c:
264 Print message name and not just number.
266 2007-10-03 Stefan Kost <ensonic@users.sf.net>
268 * libs/gst/base/gsttypefindhelper.c:
269 Speedup typefinding. This is work in progress (see #459862).
271 2007-10-03 Stefan Kost <ensonic@users.sf.net>
274 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
275 Spotted by Josep Torra Valles <josep@fluendo.com>.
277 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
280 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
281 field has moved to GstObject.
283 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
285 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
286 (gst_base_src_get_range), (gst_base_src_change_state):
287 Call unlock for live sources so that they can't get stuck in _create and
288 produce a buffer before they are set back to PLAYING.
290 2007-10-02 Edward Hervey <bilboed@bilboed.com>
292 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
293 (gst_queue_locked_dequeue):
294 Comment the segment-related code... in the PROPER function.
295 See #482147 and my commit from yesterday.
297 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
299 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
300 Also initialize the counter that calculates the first timestamp on a
301 buffer correctly for non-live sources.
303 2007-10-01 Edward Hervey <bilboed@bilboed.com>
305 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
306 Disable code that's breaking the current-time-level reporting.
309 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
311 * docs/gst/gstreamer-sections.txt:
312 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
313 as they shouldn't show up. Fixes the docs build.
315 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
318 Add an explicit variable importation needed on VS6 (only for MSC_VER)
319 Define M_PI which is used in files which are including gstinfo.h.
320 VS6 includes doesn't define it.
321 * win32/common/libgstbase.def:
322 * win32/common/libgstcontroller.def:
323 * win32/common/libgstreamer.def:
324 Add new exported functions and variables.
325 * win32/vs6/libgstcontroller.dsp:
326 * win32/vs6/libgstreamer.dsp:
327 Update the list of files to build.
329 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
331 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
333 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
334 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
335 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
336 Improve debugging. Fixes #480858.
338 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
340 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
342 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
343 First patch of code cleanups, use the macros and right arguments in the
344 macros to signal and lock the queue. See #480858.
346 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
348 * gst/gstbus.c: (poll_func):
349 Improve debugging when dealing with _poll().
351 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
353 * gst/gstregistryxml.c:
354 Fix memory leak I introduced a few days ago.
356 2007-09-26 Michael Smith <msmith@fluendo.com>
358 * gst/gstbuffer.c: (gst_buffer_finalize):
359 Make it once again possible to free GstBuffers in the default
361 The poisoning scribbles on parts of the miniobject we need in
365 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
367 * docs/gst/gstreamer-sections.txt:
370 API: add GST_TAG_COMPOSER, fixes #459809.
372 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
376 Add the 3-clause BSD license and the MIT/X11 license to the license
379 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
381 * docs/faq/getting.xml:
382 Add Q+A about different GStreamer versions (#364056).
384 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
386 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
387 (gst_base_sink_event), (gst_base_sink_change_state):
388 Return correct gboolean from query function.
390 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
392 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
393 (gst_base_sink_event), (gst_base_sink_query),
394 (gst_base_sink_change_state):
395 Simplify latency query.
396 When not synchronizing, we can report latency without querying the peer
399 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
403 Fix small typos in the docs.
405 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
407 * docs/design/draft-latency.txt:
408 * docs/design/draft-push-pull.txt:
409 * docs/design/draft-tagreading.txt:
410 * docs/design/part-MT-refcounting.txt:
411 * docs/design/part-activation.txt:
412 * docs/design/part-block.txt:
413 * docs/design/part-element-source.txt:
414 * docs/design/part-events.txt:
415 * docs/design/part-gstbin.txt:
416 * docs/design/part-gstelement.txt:
417 * docs/design/part-gstobject.txt:
418 * docs/design/part-gstpipeline.txt:
419 * docs/design/part-messages.txt:
420 * docs/design/part-preroll.txt:
421 * docs/design/part-push-pull.txt:
422 * docs/design/part-qos.txt:
423 * docs/design/part-query.txt:
424 * docs/design/part-scheduling.txt:
425 * docs/design/part-seeking.txt:
426 * docs/design/part-segments.txt:
427 * docs/design/part-states.txt:
428 Documentation updates and typo fixes.
430 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
432 * plugins/elements/gstfakesink.c:
433 Add some debug text to error message to indicate that
434 we errored out on request.
436 * tools/gst-launch.c:
437 When the state change to PLAYING fails, check for an
438 error message on the bus and print it.
440 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
442 translated by: Jorge González González <aloriel@gmail.com>
446 Added Spanish translation.
448 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
450 * plugins/elements/gstqueue.c: (gst_queue_push_one):
451 Fix printf arguments.
453 2007-09-20 Stefan Kost <ensonic@users.sf.net>
455 * tests/check/generic/states.c:
456 Improved state change unit test.
458 2007-09-20 Stefan Kost <ensonic@users.sf.net>
461 Move priv to the right place.
463 * gst/gstsystemclock.c:
464 Add FIXME: and improve log.
466 * tests/check/Makefile.am:
467 * tests/examples/manual/Makefile.am:
468 Work with all types of registries.
470 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
472 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
473 Don't unref the event after pushing it. Fixes #478401.
475 2007-09-19 Stefan Kost <ensonic@users.sf.net>
478 * tests/examples/manual/.cvsignore:
479 Ignore registries in any format.
481 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
483 * gst/glib-compat-private.h:
484 Add compatibility macro for g_intern_string() for
485 GLib-2.8 (any reason we can't just bump the
486 requirement to at least 2.10?)
488 * gst/gstpadtemplate.h:
489 * gst/gstelementfactory.c:
490 * gst/gstregistryxml.c:
491 * gst/gstregistrybinary.c:
492 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
493 up the internal code accordingly. This shouldn't be a problem, since
494 there is no reason external code could ever assume the string in such
495 a structure is dynamically allocated unless it did that itself; the
496 use of g_strdup() is private to element factories. The new code also
497 saves some memory by putting pad template name strings into the GLib
498 quark table instead of allocating them dynamically.
499 Declaring this field constant fixes warnings with g++-4.2 when using
500 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
502 2007-09-19 Stefan Kost <ensonic@users.sf.net>
504 * gst/gstelementfactory.c:
505 Release static caps. Fixes #475723.
507 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
511 Make some internal API take const gchar * instead of just
512 gchar * to avoid compiler warnings with g++-4.2.2 when
513 passing string constants (partially fixes #478092).
515 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
517 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
518 A latency query fails when one of the sinks fail.
520 * gst/gstelement.c: (gst_element_set_base_time):
523 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
525 * gst/gstbin.c: (gst_bin_continue_func):
526 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
527 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
528 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
530 Fix minor compilation warnings shown with Forte.
532 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
534 * plugins/elements/gstqueue.c: (apply_buffer),
535 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
536 Measure queue level based on the diff between head and tail timestamps
537 even when pushing the first buffer.
539 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
541 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
542 (gst_base_sink_event), (gst_base_sink_change_state):
543 Sinks that don't preroll can always be queried for the latency.
544 Don't post ASYNC start when we are not async.
546 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
548 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
549 (gst_queue_handle_sink_event), (gst_queue_chain),
550 (gst_queue_push_one), (gst_queue_handle_src_query),
551 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
552 * plugins/elements/gstqueue.h:
553 When downstream returns UNEXPECTED from pushing a buffer, don't try to
554 push more buffers but allow pushing of EOS and NEWSEGMENT.
555 Add some more debug info here and there. Fixes #476514.
557 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
559 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
560 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
561 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
562 (gst_base_sink_set_flushing), (gst_base_sink_query),
563 (gst_base_sink_change_state):
564 Latency query is allowed after we are prerolled. Introduce a new flag
565 for this and stop abusing other variables.
567 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
569 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
570 Push OOB events downstream when we get them in send_event. This allows
571 the application to insert events in the pipeline.
572 Add some more comments.
574 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
576 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
577 (do_bin_latency), (gst_bin_change_state_func):
578 * gst/gstpipeline.c: (gst_pipeline_change_state):
579 Move latency query from GstPipeline to GstBin so that we can also
580 use it when async-handling is enabled on bins.
582 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
584 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
585 (gst_base_src_do_sync), (gst_base_src_change_state):
587 Clean up the timestamping and syncing code for pseudo live sources.
589 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
591 Patch by: Steve Fink <sphink gmail com>
593 * docs/manual/appendix-checklist.xml:
594 Mention less -R switch in the section about debug output (#474055).
596 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
598 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
599 Queue can latency to the pipeline up to the configured max size in time.
600 Report this fact in the latency query.
602 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
604 Patch by: Sebastien Moutte <sebastien at moutte dot net>
606 * libs/gst/controller/gstinterpolation.c:
607 * libs/gst/controller/gstlfocontrolsource.c:
608 Use gst_guint64_to_gdouble() when converting from a uint64 or
609 GstClockTime to double to fix the build on win32. Fixes #474371.
611 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
613 * gst/gstbuffer.c: (gst_buffer_finalize):
614 Implement poisoning for GstBuffer if --enable-poisoning is specified.
615 When finalizing a buffer the complete struct is filled with 0xff,
616 thus making a use of the buffer after the final unref impossible.
618 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
620 * tests/check/libs/controller.c: (GST_START_TEST):
621 Use fail_unless_equals_int(a, b) instead of
622 fail_unless_equals (a == b) to get better output on failures.
624 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
626 * tests/check/gst/gsturi.c:
627 Also check for the other file URI variant on win32.
629 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
631 * gst/gsturi.c: (gst_uri_get_location):
632 If there's no hostname, we want to return 'c:/foo/bar.txt'
633 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
635 * tests/check/gst/gsturi.c:
636 Unit test for the above and a few more things.
638 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
640 * docs/design/part-live-source.txt:
641 Add docs on how live sources should timestamp.
643 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
644 Add some more debug info.
645 For subclasses that are live and like to sync, add aditional startup
646 latency to sync time and timestamps so that we timstamp according to the
649 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
652 Also do a g_type_class_ref() for the subbuffer type in
655 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
657 * docs/gst/gstreamer-sections.txt:
658 * gst/gstpad.c: (gst_pad_peer_query):
660 Add function to perform a query on the peer of a pad.
661 API: gst_pad_peer_query()
663 2007-09-11 Stefan Kost <ensonic@users.sf.net>
665 * tests/check/gst/gstsystemclock.c:
666 Cleanup the test a little (use gst-logging and not g_message). Improve
667 test to check if a wait reached the target.
669 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
671 * docs/libs/gstreamer-libs-sections.txt:
672 Add new API to docs and fix the build.
674 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
676 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
677 (gst_base_src_init), (gst_base_src_set_do_timestamp),
678 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
679 (gst_base_src_get_property), (gst_base_src_do_sync):
680 * libs/gst/base/gstbasesrc.h:
681 Add property to make the basesrc timestamp buffers based on the current
683 API: GstBaseSrc::do-timestamp
684 API: gst_base_src_set_do_timestamp()
685 API: gst_base_src_get_do_timestamp()
687 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
689 * docs/random/release:
690 Really make sure translations are up-to-date before
693 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
695 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
696 Always destroy the timer, also in error cases.
698 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
700 * docs/manual/highlevel-xml.xml:
701 Fix XML example code. Fixes #472714.
703 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
705 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
706 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
707 (gst_base_sink_query):
708 Protect eos and have_preroll with the OBJECT lock so we don't need to
709 take the PREROLL lock when querying the latency. Fixes #473846.
711 2007-09-05 Stefan Kost <ensonic@users.sf.net>
714 Give some log-messages a category.
716 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
718 * gst/gststructure.c:
719 (gst_structure_fixate_field_nearest_fraction):
720 Fix fraction list fixation code. Take the fraction with the smallest
721 difference with the target instead of the first one in the list.
723 * tests/check/gst/gststructure.c: (GST_START_TEST),
724 (gst_structure_suite):
725 Added test to verify correct fraction list fixation behaviour.
727 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
729 * win32/common/libgstreamer.def:
730 Export gst_bus_add_signal_watch too.
732 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
734 * docs/libs/gstreamer-libs-sections.txt:
735 Add new methods to docs.
737 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
738 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
739 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
740 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
741 * libs/gst/base/gstbasesink.h:
742 Add ts-offset property to fine-tune the synchronisation.
743 API: GstBaseSink::ts-offset property
744 API: gst_base_sink_set_ts_offset()
745 API: gst_base_sink_get_ts_offset()
747 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
749 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
750 (gst_base_sink_init), (gst_base_sink_set_sync),
751 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
752 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
753 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
754 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
755 (gst_base_sink_get_property), (gst_base_sink_change_state):
756 * libs/gst/base/gstbasesink.h:
757 Add async property to instruct the sink never to inform the parent about
758 ASYNC state changes, update docs.
759 Check argument with g_return_* for the public functions.
760 API: GstBaseSink::async property
761 API: gst_base_sink_set_async_enabled()
762 API: gst_base_sink_is_async_enabled()
764 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
766 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
769 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
770 (gst_base_src_default_query), (gst_base_src_wait),
771 (gst_base_src_do_sync), (gst_base_src_change_state):
772 Rearrange some code so that we can add support for measuring the
775 2007-08-27 Stefan Kost <ensonic@users.sf.net>
777 * docs/random/ensonic/dynlink.txt:
778 More thoughs on this.
780 * plugins/elements/gstcapsfilter.c:
781 Add bugzilla ticket number to FIXME comment.
783 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
785 * docs/design/part-TODO.txt:
786 * docs/design/part-block.txt:
789 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
792 Revert patch which uses $(gst_headers) instead of $^ because it
795 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
797 * tests/check/gst/gstbin.c: (GST_START_TEST):
798 Fix leaks in the new unit test.
800 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
803 Don't use GST_INFO before the debug system is actually initialised
804 (shouldn't do any harm, but won't print anything either, so we can
805 just as well remove it).
808 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
809 compilers that don't support variadic macros (such as MSVC), should
810 check for debug_level <= __gst_debug_min as well, since that's the
811 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
812 inline helper functions. Should improve performance a bit, but also
813 makes sure uses of GST_INFO et.al are ignored if the debugging
814 system isn't initialised yet (instead of printing an assertion
817 2007-08-23 Stefan Kost <ensonic@users.sf.net>
819 patch by: David Nečas <yeti@physics.muni.cz>
822 Replace some non portable makefile constructs.
824 2007-08-21 Stefan Kost <ensonic@users.sf.net>
826 * common/gtk-doc-plugins.mak:
827 Grrrrr. Don't remove the types file on make clean.
829 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
831 * tools/gst-launch.1.in:
832 Add colorspace to example pipeline. Fixes #458274.
834 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
836 * docs/random/release:
837 The release manager should run 'make download-po' before making a
838 release to make sure translations are up-to-date.
844 Add some new translations.
846 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
848 * tools/gst-launch.c: (event_loop), (main):
849 Don´t try to do any state management when a live pipeline posts
851 Also make the buffering string translatable.
853 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
855 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
856 (bin_handle_async_start), (gst_bin_handle_message_func):
858 When adding elements, insert messages into the bus of the newly added
859 element and make sure the element is the source of the message. This
860 allows the parent bin to intercept the message and do the
861 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
862 messages to the app (which is not allowed).
865 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
866 Fix testsuite so that is does not work around messages that should not
867 have been posted in the first place.
869 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
871 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
872 (update_degree), (gst_bin_sort_iterator_next):
873 Fix annoying bug in the sorted iterator where a sink that is not really
874 a sink (when it has downstream links) screwed up the iterator.
876 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
877 Unit test to verify the fix.
879 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
882 Add some more docs for the messages.
884 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
885 (gst_base_sink_query):
886 Add some more debugging.
888 * tools/gst-launch.c: (event_loop):
889 When interrupting, don't try to set pipeline to PAUSED twice.
891 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
894 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
895 (bin_handle_async_start), (gst_bin_handle_message_func):
896 Move ASYNC_START message posting to where it belongs, similar to
898 Don't post ASYNC_START when we are in error.
899 Post ASYNC_START when we added an async element to a bin.
901 2007-08-14 Julien MOUTTE <julien@moutte.net>
903 * gst/gstindex.c: (gst_index_add_association): Fix index entry
904 generation from vargs. Fixes #466595.
906 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
908 * gst/gstbin.c: (gst_bin_element_set_state):
909 Always change the state of a NO_PREROLL element even if it has ASYNC
910 elements inside (in case of a bin).
912 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
913 Unit test for this case.
915 2007-08-13 Stefan Kost <ensonic@users.sf.net>
917 * libs/gst/check/gstbufferstraw.c:
918 * libs/gst/check/gstcheck.h:
919 * libs/gst/controller/gstcontroller.c:
920 * libs/gst/controller/gstcontrolsource.h:
921 * libs/gst/controller/gstlfocontrolsource.h:
922 * plugins/elements/gstcapsfilter.h:
923 * plugins/elements/gstfdsink.h:
924 * plugins/elements/gstfdsrc.h:
925 Add more missing docs.
927 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
929 * gst/gststructure.c:
930 Add Since tag to docs.
932 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
934 * docs/gst/gstreamer-sections.txt:
935 * gst/gststructure.c: (gst_structure_get_uint):
936 * gst/gststructure.h:
937 Add function to get uint from a structure.
938 API: gst_structure_get_uint()
940 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
942 * gst/gstcaps.c: (gst_caps_set_simple_valist),
943 (gst_caps_intersect):
944 Fix proper check for simple caps.
946 2007-08-10 Stefan Kost <ensonic@users.sf.net>
948 * docs/gst/Makefile.am:
949 * docs/libs/Makefile.am:
950 Remove cruft and do some cleanups.
952 * docs/gst/gstreamer-docs.sgml:
953 * docs/libs/gstreamer-libs-docs.sgml:
954 Prepare for comming gtkdoc features (rebase against online docs).
956 2007-08-10 Michael Smith <msmith@fluendo.com>
958 * docs/gst/gstreamer-sections.txt:
959 Add gst_registry_add_path to docs.
961 2007-08-10 Michael Smith <msmith@fluendo.com>
964 Add gst_registry_add_path, which was missing from this header.
966 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
968 * libs/gst/controller/gstlfocontrolsource.c:
971 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
973 * libs/gst/base/gstbasesink.c:
974 Don't send an async_start message during downwards state change if
975 target state is less than READY
977 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
979 translated by: Gabor Kelemen <kelemeng@gnome.hu>
983 Added Hungarian translation.
985 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
992 Updated translations.
994 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
996 * libs/gst/controller/Makefile.am:
997 Dist gstlfocontrolsourceprivate.h
999 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1001 * docs/libs/gstreamer-libs.types:
1002 Don't register the enum type gst_lfo_waveform_get_type() in the
1003 .types file - only GObject derived types belong.
1005 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1007 Patch by: <arenevier at fdn dot fr>
1010 Remove comma from last element in enum to avoid compile errors when
1011 using -pendantic. Fixes #464366.
1013 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1015 * docs/design/part-TODO.txt:
1016 Add some more TODO items
1018 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1021 * gst/gstcaps.c: (gst_caps_intersect):
1022 Optimize trivial intersection case between identical caps pointers.
1024 * gst/gstelement.c: (gst_element_continue_state),
1025 (gst_element_set_state_func):
1027 Fix spelling and grammar mistakes.
1029 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1033 Update POTFILES. Fixes #461599.
1035 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1038 Fix confusing typo in debug output.
1040 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1042 reviewed by: Stefan Kost <ensonic@users.sf.net>
1044 * libs/gst/controller/Makefile.am:
1045 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1046 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1047 (gst_lfo_control_source_new),
1048 (gst_lfo_control_source_set_waveform),
1049 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1050 (gst_lfo_control_source_finalize),
1051 (gst_lfo_control_source_dispose),
1052 (gst_lfo_control_source_set_property),
1053 (gst_lfo_control_source_get_property),
1054 (gst_lfo_control_source_class_init):
1055 * libs/gst/controller/gstlfocontrolsource.h:
1056 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1057 API: Add GstLFOControlSource, a control source that gives values
1058 for specific timestamps based on several periodic waveforms.
1061 * tests/check/libs/controller.c: (GST_START_TEST),
1062 (gst_controller_suite):
1063 * docs/libs/gstreamer-libs-docs.sgml:
1064 * docs/libs/gstreamer-libs-sections.txt:
1065 * docs/libs/gstreamer-libs.types:
1066 Add documentation and unit tests for GstLFOControlSource.
1068 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1073 === release 0.10.14 ===
1075 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1078 releasing 0.10.14, "Breathing Vacuum"
1080 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1082 * gst/gstelement.c: (gst_element_class_set_details_simple):
1084 Make strings passed to gst_element_class_set_details_simple()
1085 constant, as they should be (#462752).
1087 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1089 * gst/gstbin.c: (gst_bin_change_state_func),
1090 (bin_handle_async_done), (gst_bin_handle_message_func):
1091 Don't forget about the fact that some element went ASYNC even after a
1092 resync. This makes us post the ASYNC_DONE message correctly.
1095 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1097 * gst/gstregistry.c: (gst_registry_add_feature):
1098 When replacing an existing feature in the registry, make sure to
1099 continue holding a reference until we've replaced the name string
1100 within our feature hash table. Make sure to use g_hash_table_replace
1101 instead of g_hash_table_insert to ensure the new name string is used
1102 as a key instead of the old one that we're about to free.
1105 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1107 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1108 (gst_plugin_feature_set_name):
1109 Revert patch from #459466 until after the release and we can work
1110 out exactly what the problem is (if any).
1112 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1114 * docs/gst/gstreamer-sections.txt:
1117 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1119 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1121 * docs/libs/Makefile.am:
1122 Include our build-prefix libs and includes before the generic ones to
1123 avoid linking against the installed libs when we want the build-tree
1126 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1128 Patch by: Steve Fink <sphink gmail com>
1130 * docs/pwg/building-testapp.xml:
1131 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1132 if people try to build or install the example from the plugin
1133 template against a GStreamer from package using the configure
1136 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1138 Patch by: Steve Fink <sphink gmail com>
1140 * tools/gst-inspect.1.in:
1141 Document --print-all and --print-plugin-auto-install-info command
1142 line options in man page.
1144 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1146 * docs/gst/gstreamer-sections.txt:
1147 Add docs for new api function.
1149 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1151 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1152 * gst/gstelementfactory.h:
1153 API: gst_element_factory_has_interface()
1154 Added method to check if an element factory implements a named
1157 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1160 * docs/gst/gstreamer.types.in:
1161 Another conditional doc check.
1164 * gst/gstparamspecs.h:
1165 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1170 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1172 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1173 (gst_registry_binary_load_feature),
1174 (gst_registry_binary_load_plugin),
1175 (gst_registry_binary_read_cache):
1176 Print error just once and with additional info.
1178 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1180 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1181 (helper_find_suggest), (helper_find_get_length),
1182 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1183 (gst_type_find_helper_for_buffer):
1184 Cleanup the typefindhelper code and add private doc comments.
1186 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1188 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1189 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1190 Fix capsfilter for cases where the caps set on capsfilter will provide
1191 additional information.
1194 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1196 * gst/gsttypefindfactory.c:
1197 Fix docs that recommened wrong function to use.
1199 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1201 * tools/gst-inspect.c: (print_plugin_features):
1202 Also give media-type for typefinders in element output.
1204 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1206 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1207 (gst_registry_remove_features_for_plugin_unlocked),
1208 (gst_registry_add_feature), (gst_registry_remove_feature),
1209 (gst_registry_lookup_feature_locked):
1210 * gst/gstregistry.h:
1211 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1214 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1216 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1217 (gst_plugin_feature_set_name):
1218 Avoid double memory usage for pluginfeature names. Fixes #459466.
1220 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1223 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1224 driving the pipeline may need to explicitly check for NOT_LINKED as
1225 well, since IS_FATAL doesn't cover that.
1227 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1229 * docs/pwg/advanced-types.xml:
1230 Fix typo and duplicate entry in video formats list.
1232 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1234 * libs/gst/controller/gstinterpolation.c:
1235 Also round to the nearest int when using cubic interpolation.
1237 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1239 * libs/gst/controller/gstinterpolation.c:
1240 When linearly interpolating integer types, round to the nearest int
1241 by adding 0.5. Don't do it for float/double types.
1242 Fixes the failing controller test on my machine, which is somehow
1243 rounding differently than on the buildbots.
1245 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1247 * tools/gst-plot-timeline.py:
1248 Better log parsing (categories can have -). Adjust text vs. lines, so
1249 that they span the same y-range.
1251 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1253 * docs/random/ensonic/audiobaseclasses.txt:
1254 * docs/random/ensonic/dynlink.txt:
1255 * docs/random/ensonic/profiling.txt:
1258 * docs/random/moving-plugins:
1259 Add note to use g_assert type macros.
1261 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1264 * libs/gst/check/Makefile.am:
1265 Add libm check as we use in for plugins.
1267 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1269 * gst/gstbin.c: (gst_bin_continue_func):
1270 Check that the state_cookie hasn't changed since the continue_func
1271 was scheduled. Avoids problems where the state changes back to
1272 something it shouldn't be because it was changed in the meantime.
1274 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1276 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1277 (gst_registry_binary_save_string),
1278 (gst_registry_binary_save_pad_template),
1279 (gst_registry_binary_save_feature),
1280 (gst_registry_binary_save_plugin),
1281 (gst_registry_binary_load_feature),
1282 (gst_registry_binary_load_plugin),
1283 (gst_registry_binary_read_cache):
1284 Fix memory leak. Be less verbose in the log.
1286 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1288 * tests/check/elements/.cvsignore:
1289 Add file to cvsignore as commanded.
1291 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1293 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1294 (mq_dummypad_event), (run_output_order_test):
1295 Use a GStaticMutex to protect all cases where libcheck
1296 fail_if/fail_unless macros might be called from multiple threads
1297 simultaneously to avoid errors like:
1298 "check_pack.c:107: :-1081725400:Bad message type arg"
1300 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1302 * tests/check/pipelines/stress.c: (GST_START_TEST):
1303 Make sure we set the pipeline back to the NULL state before
1304 dropping our final reference.
1306 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1308 * tests/check/elements/tee.c: (GST_START_TEST):
1309 Make the tee stress-test a little less stressful so it doesn't just
1310 time out on slow-machines, and remove a small race when it's starting
1311 up by adding a get_state() call.
1313 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1316 Avoid reading registry twice on startup. Fixes #457322.
1318 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1320 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1321 * pkgconfig/gstreamer-check.pc.in:
1322 Substitute the CFLAGS for libcheck into our .pc file too so that
1323 dependent modules will pick it up properly if libcheck is installed
1324 into some other prefix.
1326 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1329 Revert the pkg-config check for libcheck, since it pulls in the
1330 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1331 a proper solution, either from the check project, or something else.
1333 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1336 Use pkg-config to locate check.
1338 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1345 Add deprecation guards.
1347 * libs/gst/base/gstcollectpads.h:
1348 Don't document object (this is implicitly private).
1350 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1352 * gst/gststructure.c: (gst_structure_parse_value):
1353 When deserialising foo=bar without a type cast, check if it's a
1354 boolean before falling back to a string type, otherwise things like
1355 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1356 because the filtercaps end up having a signed=(string)true field,
1357 which causes problems later when intersection caps.
1359 * tests/check/gst/gststructure.c: (GST_START_TEST):
1360 Add a unit test for this.
1362 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1364 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1366 * libs/gst/controller/Makefile.am:
1367 * libs/gst/controller/gstcontroller.c:
1368 (gst_controlled_property_add_interpolation_control_source),
1369 (gst_controlled_property_new), (gst_controlled_property_free),
1370 (gst_controller_find_controlled_property),
1371 (gst_controller_new_valist), (gst_controller_new_list),
1372 (gst_controller_new), (gst_controller_remove_properties_valist),
1373 (gst_controller_remove_properties_list),
1374 (gst_controller_remove_properties),
1375 (gst_controller_set_property_disabled),
1376 (gst_controller_set_disabled), (gst_controller_set_control_source),
1377 (gst_controller_get_control_source), (gst_controller_get),
1378 (gst_controller_sync_values), (gst_controller_get_value_array),
1379 (_gst_controller_dispose), (gst_controller_get_type),
1380 (gst_controlled_property_set_interpolation_mode),
1381 (gst_controller_set), (gst_controller_set_from_list),
1382 (gst_controller_unset), (gst_controller_unset_all),
1383 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1384 * libs/gst/controller/gstcontroller.h:
1385 * libs/gst/controller/gstcontrollerprivate.h:
1386 * libs/gst/controller/gstcontrolsource.c:
1387 (gst_control_source_class_init), (gst_control_source_init),
1388 (gst_control_source_get_value),
1389 (gst_control_source_get_value_array), (gst_control_source_bind):
1390 * libs/gst/controller/gstcontrolsource.h:
1391 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1392 (gst_object_get_control_source):
1393 * libs/gst/controller/gstinterpolation.c:
1394 (gst_interpolation_control_source_find_control_point_node),
1395 (gst_interpolation_control_source_get_first_value),
1396 (_interpolate_none_get), (interpolate_none_get),
1397 (interpolate_none_get_boolean_value_array),
1398 (interpolate_none_get_enum_value_array),
1399 (interpolate_none_get_string_value_array),
1400 (_interpolate_trigger_get), (interpolate_trigger_get),
1401 (interpolate_trigger_get_boolean_value_array),
1402 (interpolate_trigger_get_enum_value_array),
1403 (interpolate_trigger_get_string_value_array):
1404 * libs/gst/controller/gstinterpolationcontrolsource.c:
1405 (gst_control_point_free), (gst_interpolation_control_source_reset),
1406 (gst_interpolation_control_source_new),
1407 (gst_interpolation_control_source_set_interpolation_mode),
1408 (gst_interpolation_control_source_bind),
1409 (gst_control_point_compare), (gst_control_point_find),
1410 (gst_interpolation_control_source_set_internal),
1411 (gst_interpolation_control_source_set),
1412 (gst_interpolation_control_source_set_from_list),
1413 (gst_interpolation_control_source_unset),
1414 (gst_interpolation_control_source_unset_all),
1415 (gst_interpolation_control_source_get_all),
1416 (gst_interpolation_control_source_get_count),
1417 (gst_interpolation_control_source_init),
1418 (gst_interpolation_control_source_finalize),
1419 (gst_interpolation_control_source_dispose),
1420 (gst_interpolation_control_source_class_init):
1421 * libs/gst/controller/gstinterpolationcontrolsource.h:
1422 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1423 API: Refactor GstController into the core controller which can take
1424 a GstControlSource for providing actual values for timestamps.
1425 Implement a interpolation control source and use this for backward
1426 compatibility, deprecate a bunch of functions that are now handled
1427 by GstControlSource or GstInterpolationControlSource.
1428 Make it possible to disable the controller completely or only for
1429 specific properties. Fixes #450711.
1430 * docs/libs/gstreamer-libs-docs.sgml:
1431 * docs/libs/gstreamer-libs-sections.txt:
1432 * docs/libs/gstreamer-libs.types:
1433 Add new functions and classes to the docs.
1434 * tests/check/libs/controller.c: (GST_START_TEST),
1435 (gst_controller_suite):
1436 * tests/examples/controller/audio-example.c: (main):
1437 Port unit test and example to the new API and add some new
1440 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1442 Patch by: Mark Nauwelaerts <manauw at skynet be>
1444 * plugins/elements/gstmultiqueue.c:
1445 (gst_multi_queue_get_internal_links), (apply_buffer),
1446 (single_queue_overrun_cb), (gst_single_queue_new):
1447 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1448 the pipeline layout can be tracked correctly. Fixes #453732.
1450 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1452 * docs/gst/Makefile.am:
1453 * docs/libs/Makefile.am:
1454 * docs/plugins/Makefile.am:
1455 Simplify --extra-dir as gtkdoc scans recursively.
1457 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1459 * tools/gst-launch.c: (main):
1460 When we got an error, there is no point in waiting for preroll when
1463 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1465 * plugins/elements/gsttee.c: (gst_tee_base_init),
1466 (gst_tee_request_new_pad), (gst_tee_release_pad),
1467 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1468 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1470 Be a lot smarter when deciding what srcpad to use for proxying
1471 the buffer_alloc. Also handle pad added/removed when doing so.
1473 Keep track of what pads we already pushed on in case we have pads
1474 added/removed while pushing. Fixes #374639
1476 * tests/check/Makefile.am:
1477 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1479 Added unit test for pad resync.
1481 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1485 Updated translations.
1487 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1489 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1493 Added new Finnish translation.
1495 2007-06-28 Wim Taymans <wim@fluendo.com>
1497 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1498 (single_queue_overrun_cb):
1499 When figuring out when a queue is filled, use our internal time estimate
1500 based on segments, just like check_full does.
1502 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1504 * gst/gstminiobject.c: (gst_mini_object_get_type):
1505 Remove 3 do-nothing methods.
1507 2007-06-27 Wim Taymans <wim@fluendo.com>
1509 Patch by: Tim Angus <tim at ngus dot net>
1511 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1512 (gst_capsfilter_set_property):
1513 Take a reference instead of a copy when setting "caps".
1514 Fix documentation to clarify this behaviour. Fixes #449414.
1516 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1518 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1519 * gst/gstplugin.c: (gst_plugin_init):
1520 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1521 * gst/gstquery.c: (gst_query_get_type):
1522 * gst/gstregistry.c: (gst_registry_init):
1523 * gst/gsturi.c: (gst_uri_handler_base_init):
1524 Remove empty instance_init() functions to save relocs and lessen the
1525 noise. Remove some of the function prototypes that are doubled by
1528 2007-06-27 Wim Taymans <wim@fluendo.com>
1530 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1532 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1533 Add peer and direction in the XML serialisation of ghostpads.
1536 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1539 Preserve useful information, thanks Tim.
1541 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1543 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1544 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1545 (gst_single_queue_push_one), (gst_multi_queue_loop),
1546 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1547 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1548 (compute_high_id), (gst_single_queue_new):
1549 * plugins/elements/gstmultiqueue.h:
1550 Take the multiqueue lock when updating the fill level so we don't get
1553 After applying a buffer or event on the src pad segment, make sure to
1554 call gst_data_queue_limits_changed() to get the data queue to unblock
1555 and check the filled state again.
1557 Rework the not-linked pad handling so the logic is that not-linked
1558 pads can push as fast as they like, but only so they never get
1559 ahead of any linked pads.
1561 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1562 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1563 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1565 Add a test to check that not-linked pads always stay behind
1570 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1572 * docs/random/release:
1573 Some updates to the release procedure.
1575 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1577 * gst/gstelementfactory.c: (__gst_element_details_clear):
1578 Microoptimization that saves stunning 80 bytes.
1580 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1582 * docs/plugins/gstreamer-plugins.args:
1583 * docs/plugins/inspect/plugin-coreelements.xml:
1584 * docs/plugins/inspect/plugin-coreindexers.xml:
1585 Update docs with caps info.
1587 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1590 Updated Italian translation.
1592 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1596 Update Vietnamese translations.
1598 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1600 * libs/gst/base/gstbasesink.c:
1601 Remove unused signal enum.
1603 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1605 * docs/gst/gstreamer-sections.txt:
1607 * gst/gstutils.c: (gst_type_register_static_full):
1608 Beef up and include the docs for gst_type_register_static_full and
1609 gst_element_class_set_details_simple and add the API keyword
1612 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1614 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1615 (update_time_level), (gst_single_queue_push_one),
1616 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1617 (single_queue_overrun_cb), (single_queue_underrun_cb),
1618 (single_queue_check_full):
1619 Fix setting max-* properties after adding queues.
1620 Use IS_FILLED for checking visible items.
1621 Signal overrun if multiple queues overrun.
1622 Add extra debug output.
1623 Patch by: Wim Taymans <wim@fluendo.com>
1625 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1627 * gst/gstelement.c: (gst_element_class_set_details_simple):
1629 * gst/gstutils.c: (gst_type_register_static_full):
1631 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1632 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1633 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1634 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1635 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1636 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1637 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1638 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1639 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1640 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1641 (apply_buffer), (gst_queue_chain):
1642 * plugins/elements/gsttee.c: (gst_tee_base_init):
1643 * plugins/elements/gsttypefindelement.c:
1644 (gst_type_find_element_base_init),
1645 (gst_type_find_element_class_init):
1646 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1647 API: add gst_type_register_static_full
1648 API: add gst_element_class_set_details_simple
1650 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1652 * docs/pwg/advanced-types.xml:
1653 Fix typo in iana.org URI.
1655 2007-06-19 Andy Wingo <wingo@pobox.com>
1657 * tests/check/pipelines/simple-launch-lines.c
1658 (test_state_change_returns): Enable pull-mode tests now that
1659 basesink has been fixed.
1661 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1662 Changed from gst_base_sink_is_prerolled, reversing the sense of
1663 the return value. Returns FALSE also if the sink is in pull mode,
1664 in which case it needs no preroll.
1665 (gst_base_sink_query, gst_base_sink_change_state): Update for
1666 needs_preroll change.
1667 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1668 chaining up, in which we return SUCCESS directly if we activated
1669 in pull mode instead of ASYNC. Involves countering an async_start
1670 message sent before chaining up; not sure if this is correct, in
1671 an ideal world we only send async-start when activating in push
1674 * tests/check/pipelines/simple-launch-lines.c
1675 (test_state_change_returns): New test, partially disabled until
1678 2007-06-19 Wim Taymans <wim@fluendo.com>
1680 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1681 (gst_multi_queue_sink_event):
1684 2007-06-19 Wim Taymans <wim@fluendo.com>
1686 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1687 (gst_bin_change_state_func), (bin_push_state_continue),
1688 (bin_handle_async_start), (bin_handle_async_done),
1689 (gst_bin_handle_message_func):
1690 Move the common code for posting state-change messages into
1692 Broadcast the state signal after we posted the messages.
1693 Mark the bin as busy when it's doing a state-change.
1694 Make sure async-start/done messages don't interfere with the bin's
1695 state when it's busy.
1696 After the state change, let the bin check which elements completed the
1697 state change while it was busy so that it can update its state.
1699 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1701 * docs/random/release:
1702 Add a note about updating the doap file to the release checklist
1704 2007-06-18 Wim Taymans <wim@fluendo.com>
1706 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1707 (gst_single_queue_push_one), (gst_multi_queue_chain),
1708 (gst_multi_queue_sink_event):
1709 Make sure we don't reference the buffer/event after we have given away
1710 ownership in the queue.
1712 2007-06-18 Wim Taymans <wim@fluendo.com>
1714 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1715 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1716 Update queue state _after_ adding the item in the queue because else we
1717 could end up being full without the element added yet.
1719 2007-06-18 Wim Taymans <wim@fluendo.com>
1721 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1722 (gst_bin_remove_func), (gst_bin_get_state_func),
1723 (gst_bin_element_set_state), (gst_bin_continue_func),
1724 (bin_push_state_continue), (bin_handle_async_start),
1725 (bin_handle_async_done), (gst_bin_handle_message_func):
1727 Immediatly commit the toplevel bin state when receiving an async-done
1728 message. This enables us to avoid spawning a thread to commit the state
1729 in some common cases and it also avoids some races.
1730 Avoid spawning a state thread when adding/removing async elements to a
1731 toplevel bin. Instead we immediatly update the bin state.
1732 Get rid of iterating all the children when getting the state in the bin
1733 because it is now always up-to-date.
1734 Fix bug where locked elements would always return _SUCCESS even it they
1735 returned NO_PREROLL before being locked.
1736 Fix the order of the state_change, async-start/done messages that was
1737 sometimes incorrect.
1738 Mark the state_dirty field as deprecated, we don't need it anymore as we
1739 are always up-to-date.
1741 * gst/gstelement.c: (gst_element_get_state_func),
1742 (gst_element_continue_state):
1743 Small debug inprovements.
1744 Return the previous element state return when nothing is pending instead
1745 of blindly returning SUCCESS.
1747 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1749 Add a whole bunch of new testcases.
1751 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1755 Update translations.
1757 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1760 Fix typo in the docs.
1762 2007-06-15 Wim Taymans <wim@fluendo.com>
1764 * docs/libs/gstreamer-libs-sections.txt:
1765 Add docs for new methods.
1767 2007-06-15 Wim Taymans <wim@fluendo.com>
1769 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1770 (gst_multi_queue_item_new):
1771 Don't use GSlice because we don't depend on >= 2.10 yet.
1773 2007-06-15 Wim Taymans <wim@fluendo.com>
1775 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1776 (update_time_level), (apply_segment), (apply_buffer),
1777 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1778 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1779 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1780 (single_queue_underrun_cb), (single_queue_check_full):
1781 Remove debug printf.
1783 2007-06-15 Wim Taymans <wim@fluendo.com>
1785 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1786 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1787 (gst_data_queue_set_flushing), (gst_data_queue_push),
1788 (gst_data_queue_pop), (gst_data_queue_drop_head),
1789 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1790 * libs/gst/base/gstdataqueue.h:
1792 Added methods to get the current levels and to inform the queue that the
1793 'full' limits changed.
1795 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1796 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1797 (gst_single_queue_flush), (update_time_level), (apply_segment),
1798 (apply_buffer), (gst_single_queue_push_one),
1799 (gst_multi_queue_item_steal_object),
1800 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1801 (gst_multi_queue_loop), (gst_multi_queue_chain),
1802 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1803 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1804 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1805 (single_queue_underrun_cb), (single_queue_check_full),
1806 (gst_single_queue_new):
1807 Keep track of time in the queue by measuring the difference between
1808 running_time on input and output. This gives more accurate results and
1809 can compensate for segments correctly.
1810 Make a queue by default only 5 buffers deep. We will now increase the
1811 buffer size depending on the filledness of the other queues.
1812 Factor out commong flush code.
1813 Make sure we don't add additional refcounts to buffers when we can avoid
1815 Propagate GstFlowReturn differently.
1816 Use GSlice for intermediate GstMultiQueueItems.
1818 Resize queues on over and underruns based on filled level of other
1820 When checking if the queue is filled, prefer to measure in time if we
1821 can and fall back to bytes when no time is known.
1823 * plugins/elements/gstqueue.c:
1826 2007-06-15 Wim Taymans <wim@fluendo.com>
1828 * libs/gst/base/gstbasetransform.c:
1829 (gst_base_transform_sink_event):
1830 Work around the brokenness of the event vmethod in basetransform. Prefer
1831 to return TRUE when the subclass returned FALSE (meaning don't forward
1834 * libs/gst/base/gstbasetransform.h:
1837 2007-06-15 Wim Taymans <wim@fluendo.com>
1839 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1840 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1841 (gst_base_src_default_query), (gst_base_src_get_range),
1842 (gst_base_src_start):
1843 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1846 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1848 * docs/pwg/advanced-types.xml:
1849 Added more formats to caps table.
1851 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1853 * tools/gst-launch.c: (main):
1854 Remove crufy code. GOption does not need this workaround.
1856 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1858 * libs/gst/controller/gstcontroller.c:
1859 (gst_controlled_property_set_interpolation_mode):
1860 Fix wrong getter for enums in controller.
1862 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1864 * libs/gst/check/gstcheck.c: (gst_check_init):
1865 Intercept criticals and warnings in the Gst-Phonon log domain, so
1866 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1869 2007-06-14 Edward Hervey <edward@fluendo.com>
1871 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1872 Since this file doesn't include "gst.h" it will not go through the
1873 macros that disable GST_LOG if debugging was disabled.
1875 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1877 * libs/gst/check/Makefile.am:
1878 * libs/gst/check/gstcheck.h:
1879 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1880 * pkgconfig/gstreamer-check.pc.in:
1881 Ugly 'fix' for the controller unit test on the p5 bot: in
1882 fail_unless_equals_float() check whether the values are 'almost
1883 equal' by allowing a small absolute error, which should be good
1884 enough for our use cases (normal numbers and values close to 0).
1885 Proper fixage left to floating point arithmetic aficionados.
1887 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1889 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1890 (gst_base_sink_render_object), (gst_base_sink_get_position):
1891 Add two breaks thats where missing.
1893 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1895 * docs/libs/gstreamer-libs-sections.txt:
1896 * libs/gst/check/gstcheck.h:
1897 API: add fail_unless_equals_float() and assert_equals_float().
1898 Add documentation for some of the macros.
1900 * tests/check/libs/controller.c: (GST_START_TEST):
1901 Use newly-added asserts.
1903 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1905 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1906 Show the caps change in the log to help spotting the case of not
1907 exactly matching caps.
1909 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1911 * docs/pwg/building-boiler.xml:
1912 Fix typos, spotted by Thijs Vermeir (#447190).
1914 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1916 * docs/plugins/tmpl/.cvsignore:
1917 Ignore file to keep the buildbots happy
1919 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1921 * docs/plugins/Makefile.am:
1922 * docs/plugins/gstreamer-plugins-docs.sgml:
1923 * docs/plugins/gstreamer-plugins-sections.txt:
1924 Pull fdsink into the docs too.
1926 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1928 * libs/gst/controller/gstinterpolation.c:
1929 Actually use the new functions with min/max checks for the trigger and
1930 none interpolation modes for get() and get_value_array() instead of
1933 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1935 * libs/gst/controller/gstcontroller.c:
1936 (gst_controlled_property_free):
1937 Unset the minimum and maximum GValues when freeing the corresponding
1938 GstControllerProperty struct.
1940 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1942 * libs/gst/controller/gstcontroller.c:
1943 (gst_controlled_property_new):
1944 * libs/gst/controller/gstcontrollerprivate.h:
1945 * libs/gst/controller/gstinterpolation.c:
1946 (gst_controlled_property_find_control_point_node),
1947 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1948 (interpolate_none_get_string_value_array),
1949 (interpolate_trigger_get),
1950 (interpolate_trigger_get_enum_value_array),
1951 (interpolate_trigger_get_string_value_array):
1952 Protect against values larger or smaller than the minimum or maximum
1953 allowed value for the property when using values that can be compared.
1955 Optimize trigger interpolator a bit by taking the last requested value
1956 into account instead of always looping through the complete list.
1958 Fix coding style a bit, everywhere else we use "return foo" instead
1961 * tests/check/libs/controller.c: (GST_START_TEST),
1962 (gst_controller_suite):
1963 Add unit test for the protection against too large or too small
1966 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1968 * docs/random/slomo/controller.txt:
1969 Add some thoughts about the future of the controller.
1971 2007-06-08 Wim Taymans <wim@fluendo.com>
1973 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1974 Don't overflow in retimestamping code.
1976 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1978 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1979 Use gst_util_guint64_to_gdouble for conversions.
1980 * win32/common/libgstreamer.def:
1981 Add new exported functions.
1983 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1986 Small docs addition.
1988 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1991 Remove that test line again.
1993 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1996 Test commit mail sending.
1998 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2001 Fix typo and test commit mail sending.
2003 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2005 * tests/examples/controller/audio-example.c:
2006 Improve comment and test commit mail sending.
2008 2007-06-07 Wim Taymans <wim@fluendo.com>
2010 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2011 (gst_bin_remove_func), (gst_bin_element_set_state),
2012 (bin_handle_async_start), (bin_handle_async_done),
2013 (gst_bin_handle_message_func):
2014 Add helper function to find messages.
2015 Generate the async-done messages together with the state change
2017 Small cleanups in handling toplevel bins.
2019 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2021 * libs/gst/base/gstdataqueue.c:
2022 * libs/gst/base/gstdataqueue.h:
2023 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2024 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2025 (gst_multi_queue_sink_event):
2026 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2027 Fix multiqueue leaking buffers and events when downstream or the
2028 queue are flushing. Make refcounting assumptions explicit and
2029 document them (shouldn't break existing code that uses it other than
2030 maybe leak miniobjects, but that already happens anyway). Add unit
2031 test for the most common flushing case. Fixes #423700.
2033 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2035 * libs/gst/controller/gstcontroller.c:
2036 Clarify docs: The get_all, get_value_array(s) functions
2037 don't modify the GObject properties.
2039 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2041 * libs/gst/controller/gstcontroller.c:
2042 (gst_controlled_property_set_interpolation_mode),
2043 (gst_controlled_property_prepend_default),
2044 (gst_controlled_property_new), (gst_controller_set_unlocked),
2045 (gst_controller_set), (gst_controller_set_from_list),
2046 (gst_controller_unset), (gst_controller_unset_all):
2047 * libs/gst/controller/gstcontrollerprivate.h:
2048 * libs/gst/controller/gstinterpolation.c:
2049 Factor out the 'set' logic into gst_controller_set_unlocked for the
2050 gst_controller_set and gst_controller_set_from_list functions.
2052 To make life of the interpolators easier always add a control point
2053 at timestamp zero with the default value.
2055 In the linear interpolator make things more obvious by better variable
2058 Implement cubic interpolation mode (by using a natural cubic spline)
2059 and map the quadratic interpolation mode to this too (as quadratic
2060 doesn't make much sense, see discussion on the list).
2062 * tests/check/libs/controller.c: (GST_START_TEST),
2063 (gst_controller_suite):
2064 Add unit test for the cubic interpolation mode and check everywhere
2065 if the interpolation mode could be set as expected.
2067 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2069 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2070 Don't use GLib-2.10 functions, we still depend on
2071 GLib-how-old-is-it-again-2.8.
2073 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2075 * docs/gst/gstreamer-sections.txt:
2079 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2080 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2081 (_gst_param_fraction_values_cmp),
2082 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2083 * gst/gstparamspecs.h:
2085 * tests/check/Makefile.am:
2086 * tests/check/gst/.cvsignore:
2087 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2088 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2089 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2090 (GST_START_TEST), (gst_param_spec_suite):
2091 API: add GstParamSpecFraction, so elements can have fraction
2092 properties without lots of painful string parsing (#444648).
2094 2007-06-05 Wim Taymans <wim@fluendo.com>
2096 * gst/gstobject.c: (gst_object_class_init):
2097 Fix signal signature.
2100 Add small clarification in the api docs.
2102 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2103 States are protected with object lock.
2105 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2108 I should probably be listed as an author by now.
2110 * docs/random/release:
2111 Update the release doc
2113 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2116 Make docs for gst_value_compare() mention return enums that
2119 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2124 === release 0.10.13 ===
2126 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2129 releasing 0.10.13, "With or without you"
2131 2007-05-25 Wim Taymans <wim@fluendo.com>
2133 * gst/gstbin.c: (bin_handle_async_done):
2134 Make sure that the child bin stops after completing the async state
2135 change so that the parent can continue the state change to PLAYING.
2138 2007-05-25 Wim Taymans <wim@fluendo.com>
2140 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2141 (unref_data), (gst_collect_pads_remove_pad),
2142 (gst_collect_pads_check_pads):
2143 Use additional refcounting to avoid crashes when dynamically adding and
2144 removing pads. Fixes #420206.
2146 2007-05-24 Wim Taymans <wim@fluendo.com>
2148 * tools/gst-launch.c: (event_loop):
2149 When buffering goes from a two digit to a single digit number, make sure
2150 to remove the old second digit by writing a blank over it.
2152 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2154 * libs/gst/base/gstdataqueue.c:
2155 Eliminate tabs and trailing comma in enum list; fix some typos.
2157 2007-05-24 Wim Taymans <wim@fluendo.com>
2159 * tests/check/gst/gstbin.c: (GST_START_TEST):
2160 Allow refcount of 3 and 4 because some state thread might still be busy
2163 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2165 * plugins/elements/Makefile.am:
2166 * plugins/elements/gstmultiqueue.h:
2167 * plugins/elements/gstqueue.h:
2168 These are not installed headers, no need for padding.
2170 2007-05-24 Wim Taymans <wim@fluendo.com>
2172 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2173 (gst_bin_continue_func):
2174 Enable latency for next release.
2175 Restore STATE_LOCK around recalc_state that was left out during the
2176 rewrite and could result in racy behaviour when _get_state and
2177 recalc_state are run concurrently. See #440463.
2179 2007-05-23 Wim Taymans <wim@fluendo.com>
2181 * tests/check/gst/gstsystemclock.c: (store_callback),
2183 Improve test_async_order to also work when both timers are already
2184 expired when we get scheduled to check it.
2186 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2188 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2189 (gst_bin_set_property), (gst_bin_get_property),
2190 (gst_bin_remove_func), (gst_bin_handle_message_func):
2192 'private' is a c++ keyword, let's not use that in header files,
2193 otherwise c++ compilers will throw a tantrum.
2195 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2197 * plugins/elements/gstelements.c:
2198 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2199 (gst_file_sink_get_current_offset):
2200 * plugins/indexers/gstindexers.c: (plugin_init):
2201 Use #ifdef for HAVE_XYZ for consistency.
2203 * tests/check/Makefile.am:
2204 * tests/check/elements/.cvsignore:
2205 * tests/check/elements/filesink.c: (setup_filesink),
2206 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2207 Add some unit tests for filesink.
2209 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2211 Patch by: Mark Nauwelaerts <manauw at skynet be>
2213 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2214 (gst_file_sink_query), (gst_file_sink_do_seek),
2215 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2216 * plugins/elements/gstfilesink.h:
2217 Fix position reporting; rename data_written member to current_pos to
2218 reflect its real meaning (fixes #412648).
2220 2007-05-22 Edward Hervey <edward@fluendo.com>
2222 * docs/gst/gstreamer-sections.txt:
2223 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2224 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2225 (gst_bin_remove_func), (gst_bin_handle_message_func):
2227 Add a property for bins that handle the state change of their childs.
2230 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2232 * libs/gst/controller/gstinterpolation.c:
2233 Use an array of the correct type when using _get_value_array with
2234 linear interpolation.
2236 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2238 * gst/gstelement.c (gst_element_requires_clock,
2239 gst_element_provides_clock, gst_element_request_pad,
2240 gst_element_class_set_details, gst_element_class_set_details_simple,
2241 gst_element_default_send_event, gst_element_abort_state,
2242 gst_element_continue_state, gst_element_set_state,
2243 gst_element_set_state_func, iterator_activate_fold_with_resync):
2244 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2245 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2246 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2247 gst_pad_get_range, gst_pad_pull_range):
2248 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2249 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2250 GstPadActivateModeFunction, GstPadChainFunction,
2251 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2252 GstPadFixateCapsFunction, GstPadTemplate):
2253 * gst/gstpipeline.c (gst_pipeline_change_state,
2254 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2255 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2256 gst_pipeline_get_delay):
2257 Whitespace and docs fixes.
2259 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2261 * libs/gst/controller/gstinterpolation.c:
2262 (interpolate_trigger_get_enum_value_array),
2263 (interpolate_trigger_get_string_value_array):
2264 Add support for retrieving value arrays when using the trigger
2267 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2269 * libs/gst/controller/gstcontroller.c:
2270 (gst_controller_get_value_array):
2271 * libs/gst/controller/gstcontroller.h:
2272 Clarify the docs of gst_controller_get_value_array(): The array where
2273 the values should be written to must be allocated as there seems to be
2274 no way to get the size of a random GType. This doesn't change any
2275 behaviour. Also fix some typos all over the place and remove an unused,
2276 commented function that is not necessary as g_object_set() could be
2278 * tests/check/libs/controller.c: (GST_START_TEST),
2279 (gst_controller_suite):
2280 Add unit test for gst_controller_get_value_array().
2282 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2284 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2286 Disable part of the gst_buffer_try_new_and_alloc test, because
2287 it can happily succeed on 64-bit systems where there's more address
2290 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2292 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2293 Add unit test for the improved caps checking from bug #421543.
2295 2007-05-21 Wim Taymans <wim@fluendo.com>
2297 * docs/design/part-synchronisation.txt:
2300 * gst/gstbin.c: (gst_bin_query):
2301 * plugins/elements/gstqueue.c: (apply_segment):
2307 2007-05-21 Wim Taymans <wim@fluendo.com>
2309 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2310 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2311 (gst_pad_configure_src):
2312 Added simple version of improved caps checking. It was previously
2313 assumed that a setcaps function would check the validity of the caps but
2314 people prefer us to check caps against the template automatically.
2317 2007-05-21 Wim Taymans <wim@fluendo.com>
2319 * libs/gst/base/gstbasetransform.h:
2320 Fix macro for locking/unlocking the transform lock.
2322 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2324 * docs/plugins/tmpl/.cvsignore:
2327 2007-05-18 Edward Hervey <edward@fluendo.com>
2329 * plugins/elements/gstqueue.c: (gst_queue_loop):
2330 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2331 for the subtle art of warning a potentially blocking thread that it
2332 should check the source pad return value, and relay the information
2335 2007-05-18 Edward Hervey <edward@fluendo.com>
2337 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2338 Release the queue lock !
2340 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2342 * docs/libs/gstreamer-libs-sections.txt:
2343 Add the two new controller functions to the appropiate places.
2345 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2347 reviewed by: Stefan Kost <ensonic@users.sf.net>
2349 * libs/gst/controller/gstcontroller.c:
2350 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2351 (_gst_controller_get_property), (_gst_controller_set_property),
2352 (_gst_controller_init), (_gst_controller_class_init):
2353 * libs/gst/controller/gstcontroller.h:
2354 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2355 (gst_object_get_control_rate), (gst_object_set_control_rate):
2356 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2357 Add API that provides sync suggestion timestamps for elements that
2358 call gst_object_sync_values() from which those elements can subdivide
2359 their processing loop to get the best results for the controlled
2360 properties. For now it just suggests last_sync + control_rate as
2361 new timestamp but this will be improved in the future.
2363 While doing that change the control-rate property to a GstClockTime
2364 from guint and change it's meaning from samples to nanoseconds as
2365 the GstController doesn't know anything about sampling rate. Strictly
2366 speaking this breaks ABI but as the control-rate property didn't do
2367 anything in the past and as such couldn't be used this should be no
2370 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2372 reviewed by: Stefan Kost <ensonic@users.sf.net>
2374 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2375 (gst_controller_unset_all):
2376 * libs/gst/controller/gstcontrollerprivate.h:
2377 * libs/gst/controller/gstinterpolation.c:
2378 (gst_controlled_property_find_control_point_node):
2379 Save last synced value from the list to continue searching from there
2380 in future syncs. This speeds everything up a bit.
2382 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2384 reviewed by: Stefan Kost <ensonic@users.sf.net>
2386 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2387 (gst_control_point_find), (gst_controlled_property_new),
2388 (gst_control_point_free), (gst_controlled_property_free),
2389 (gst_controller_set), (gst_controller_set_from_list),
2390 (gst_controller_unset), (gst_controller_unset_all),
2391 (gst_controller_sync_values):
2392 * libs/gst/controller/gstcontroller.h:
2393 * libs/gst/controller/gstcontrollerprivate.h:
2394 * libs/gst/controller/gstinterpolation.c:
2395 (gst_controlled_property_find_control_point_node),
2396 (interpolate_none_get), (interpolate_trigger_get):
2397 Add a new private GstControlPoint struct which "inherits" from
2398 GstTimedValue to allow different interpolators to store internal
2399 values next to each control point. From the outside everything is
2400 still a GstControlPoint so we don't loose binary compatibility.
2401 Also fixup all the GValue handling to not leak GValues or list nodes.
2402 * tests/check/libs/controller.c: (GST_START_TEST):
2403 Free the list nodes and GValues in the controller_misc test.
2405 2007-05-17 Edward Hervey <edward@fluendo.com>
2410 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2412 * gst/gstplugin.c: (gst_plugin_load_file):
2413 If we fail to load a plugin because of unresolved symbols or missing
2414 libraries and spew a warning to stderr, we may just as well mention
2415 which plugin it was that failed to load.
2417 2007-05-13 David Schleef <ds@schleef.org>
2419 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2420 handles the case when ENABLE_GTK_DOC is false, and installs
2421 the prebuilt documentation. So gtk-doc subdirs are
2422 unconditionally enabled. Fixes: #349099.
2424 2007-05-13 David Schleef <ds@schleef.org>
2426 * gst/gstutils.h: Reword some documentation.
2428 2007-05-12 David Schleef <ds@schleef.org>
2430 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2431 do anything with the passed "module" parameter, so remove it.
2432 Allows removal of additional vestigal code.
2434 2007-05-12 David Schleef <ds@schleef.org>
2437 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2438 Switch to using g_stat() because it's more portable.
2440 2007-05-12 David Schleef <ds@schleef.org>
2443 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2444 parsing for embedded systems.
2445 * gst/gstelementfactory.c:
2446 Allow gst_element_register() to be called with plugin==NULL.
2447 Did nobody notice that static elements were broken?
2449 2007-05-12 Wim Taymans <wim@fluendo.com>
2451 * tools/gst-launch.c: (event_loop):
2452 Give more interesting info when buffering starts and stops.
2453 Fix case where buffering starts but we fail to update the buffering flag
2454 because the target state is not PLAYING.
2456 2007-05-12 Wim Taymans <wim@fluendo.com>
2458 * plugins/elements/gstqueue.c: (gst_queue_init),
2459 (gst_queue_finalize), (update_time_level), (apply_segment),
2460 (apply_buffer), (gst_queue_locked_flush),
2461 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2462 (gst_queue_handle_sink_event), (gst_queue_chain),
2463 (gst_queue_push_one), (gst_queue_loop):
2464 * plugins/elements/gstqueue.h:
2465 Refactor an cleanup queue a bit.
2466 Do better time level calculations that also work when the srcpad is not
2468 Remove some unneeded debug lines.
2470 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2471 Added testcase for time level measurement.
2472 Try to make some stuff more racefree.
2474 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2476 * gst/gsturi.c: (gst_element_make_from_uri):
2477 Don't leak plugin feature.
2479 * tests/check/Makefile.am:
2480 * tests/check/gst/.cvsignore:
2481 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2482 Add brain-dead unit test.
2484 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2486 Patch by: Jeroen Wouters <woutersj at gmail com>
2488 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2489 Treat protocol strings in a case-insensitive way (#437563).
2491 2007-05-11 Michael Smith <msmith@fluendo.com>
2493 * gst/gstplugin.c: (gst_plugin_load_file):
2494 * gst/gstregistry.c: (gst_registry_scan_path_level):
2495 Don't print a g_warning for any failure to load a shared object.
2496 Instead, push this down into gstplugin.c, and warn _only_ if we
2497 failed to open the module (i.e. failure to link).
2498 Avoids warnings on normal, working, non-plugin .so files.
2500 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2502 * gst/gstplugin.c (gst_plugin_load_file):
2503 * gst/gstregistry.c (GST_CAT_DEFAULT,
2504 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2505 Print a g_warning if there was an error when loading a plugins during
2506 registry scan. The shuld help beginners starting with gst-plugin
2509 2007-05-10 Wim Taymans <wim@fluendo.com>
2511 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2512 (update_time_level), (gst_queue_locked_flush),
2513 (gst_queue_handle_sink_event), (gst_queue_chain),
2514 (gst_queue_push_one), (gst_queue_loop):
2515 * plugins/elements/gstqueue.h:
2516 Be smarter when calculating the current amount of data in the queue by
2517 measuring the difference between start and end timestamps (in running
2518 time) inside the queue. Fixes #432876.
2519 API: GstQueue::pushing to notify elements that we are pushing data again
2520 since the running signal is rather broken for this purpose.
2522 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2524 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2525 gst_queue_base_init, gst_queue_init):
2528 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2530 * win32/common/libgstreamer.def:
2531 Add new exported functions.
2532 * win32/vs6/grammar.dsp:
2533 Use grammar pre-generated files.
2535 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2537 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2540 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2542 * gst/gstutils.c: (gst_parse_bin_from_description):
2544 Maintain API and ABI when --disable-parse is used. Now that
2545 we have an appropriate error code, we can just return NULL and the
2546 appropriate error when gst_parse_launch() is used despite it having
2547 been disabled (#342564).
2549 * tests/check/Makefile.am:
2550 * tests/check/pipelines/.cvsignore:
2551 * tests/check/pipelines/parse-disabled.c:
2552 Make sure these functions exist and return NULL plus a GError when
2553 --disable-parse is used.
2555 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2557 * tests/benchmarks/complexity.c: (main):
2558 * tests/benchmarks/mass-elements.c: (main):
2559 Set a good example and don't leak messages.
2561 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2563 * docs/gst/Makefile.am:
2564 * docs/libs/Makefile.am:
2565 Correct fixxrefs options.
2567 * docs/plugins/Makefile.am:
2568 * docs/plugins/gstreamer-plugins-docs.sgml:
2569 * docs/plugins/gstreamer-plugins-sections.txt:
2570 * plugins/elements/Makefile.am:
2571 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2572 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2573 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2574 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2575 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2576 _GstCapsFilterClass, trans_class):
2577 * plugins/elements/gstelements.c (name, rank, type, _elements):
2578 * plugins/elements/gstidentity.c
2579 (gst_identity_check_imperfect_timestamp,
2580 gst_identity_check_imperfect_offset):
2581 Document capsfilter and add doc-blurb to identity.
2583 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2585 * libs/gst/controller/gstcontroller.c:
2586 (gst_controlled_property_set_interpolation_mode):
2587 * libs/gst/controller/gstinterpolation.c:
2588 Don't crash if someone tries to set an interpolation mode that
2589 is invalid or that isn't supported yet. Fixes #422295.
2591 * tests/check/libs/controller.c: (GST_START_TEST),
2592 (gst_controller_suite):
2593 Add a test case for the above.
2595 2007-05-03 Edward Hervey <edward@fluendo.com>
2597 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2598 Properly set the last_stop position on GstSegment. This will only happen
2599 if there is a buffer to push out.
2601 2007-05-03 Wim Taymans <wim@fluendo.com>
2603 * libs/gst/base/gstbasetransform.c:
2604 (gst_base_transform_buffer_alloc):
2605 always_in_place does not mean that the sink and source caps are the
2606 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2608 2007-05-03 Wim Taymans <wim@fluendo.com>
2610 * docs/libs/gstreamer-libs-sections.txt:
2611 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2612 (gst_base_src_default_query), (gst_base_src_get_range):
2613 * libs/gst/base/gstbasesrc.h:
2614 API: gst_base_src_query_latency(). Added method so that subclasses can
2615 easily get the latency values of the base source class.
2617 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2619 * tools/gst-inspect.c (print_implementation_info):
2622 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2624 * tools/Makefile.am:
2625 * tools/gst-launch.1.in:
2626 Don't create a customised man page based on the host architecture,
2627 describe the default registry path generically. That way the man
2628 page is the same for all architectures and packagers have one
2629 multilib issue less to deal with. Fixes #434926.
2631 2007-05-02 Wim Taymans <wim@fluendo.com>
2634 Fix documentation as spotted by rg on IRC.
2636 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2639 Improve docs for gst_element_{link,unlink}.
2641 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2643 * docs/design/part-events.txt:
2644 * docs/design/part-overview.txt:
2648 * libs/gst/base/gstbasesink.c:
2649 Typo fixes; minor docs addition.
2651 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2653 * docs/gst/gstreamer-sections.txt:
2654 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2655 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2657 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2658 or src that supports a given URI protocol exists.
2660 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2662 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2663 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2664 Set the location to NULL if "file://" is set as URI. Otherwise
2665 some random previous URI would still be set if "file://" is
2666 set on an already used filesink/filesrc.
2668 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2670 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2671 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2672 Special case the "file://" URI as as this is used by some
2673 applications to test with gst_element_make_from_uri if there's
2674 an element that supports the URI protocol.
2675 Also move the g_path_is_absolute() check for the location part
2676 of the URI to also check this for "file://localhost/bla" URIs.
2678 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2680 * docs/gst/gstreamer-sections.txt:
2681 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2683 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2685 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2687 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2689 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2690 (gst_registry_binary_load_pad_template),
2691 (gst_registry_binary_load_plugin),
2692 (gst_registry_binary_read_cache):
2693 * gst/gstregistrybinary.h:
2694 Implement no-mmap alternative for registry reading. Do code cleanups.
2695 Add more comments about avoiding strdups for all text data. Comments
2698 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2700 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2701 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2702 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2703 Comment structs and reformat to fix the build (that stuff should go
2704 into a priv. header).
2706 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2708 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2709 (gst_registry_binary_load_feature):
2710 * gst/gstregistrybinary.h:
2711 Refactor so that we can implement multiple features. Add support for
2712 TypeFindFactory features.
2714 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2716 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2719 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2721 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2723 * gst/gstbin.c: (gst_bin_element_set_state),
2724 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2725 (bin_handle_async_done), (gst_bin_handle_message_func):
2726 Fix build with --gst-disable-gst-debug
2728 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2730 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2731 Make sure streaming has finished before calling the ::stop() vfunc,
2732 since that vfunc might clear state which is being used in the
2733 streaming thread. This fixes a race that caused crashes in
2734 audioresample when shutting down a pipeline (#420106).
2736 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2738 * docs/gst/gstreamer-sections.txt:
2739 That was one byte missing.
2741 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2744 * docs/gst/gstreamer-sections.txt:
2746 * gst/gstconfig.h.in:
2747 * gst/gstobject.c: (gst_object_class_init),
2748 (gst_signal_object_class_init):
2750 2nd attempt to have a xml-less build as a joined effort of #413123
2753 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2755 * docs/design/draft-tagreading.txt:
2756 Added open issues/thoughts to draft.
2758 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2760 * gst/parse/grammar.tab.pre.c:
2761 * gst/parse/grammar.tab.pre.h:
2762 * gst/parse/lex._gst_parse_yy.pre.c:
2763 Update the prebuild parser sources.
2765 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gst/parse/Makefile.am:
2768 And now fix the building of the flex sources. Now everything should
2771 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2773 * gst/parse/Makefile.am:
2774 Now hopefully fix the build failures by setting proper rule
2775 dependencies and moving instead of copying.
2777 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2779 * tests/benchmarks/complexity.gnuplot:
2780 * tests/benchmarks/complexity.scm:
2781 * tests/benchmarks/mass-elements.gnuplot:
2782 * tests/benchmarks/mass-elements.scm:
2783 Total licensification.
2785 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2787 * gst/parse/Makefile.am:
2788 Fix the build by correcting the rule that gave wrong files to flex.
2790 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2792 * tests/benchmarks/complexity.c:
2793 * tests/benchmarks/mass-elements.c:
2794 Change licence to LGPL as granted by Benjamin and Andy.
2796 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2798 * gst/parse/Makefile.am:
2799 Add correct grammar.tab.h dependency if compiling without new enough
2800 flex. Fixes #431150.
2802 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2804 * gst/parse/Makefile.am:
2805 Fix typo and use outdated sources if the flex/bison sources are newer
2806 than the pregenerated ones but flex is too old. Print a warning in
2807 that case. This should fix the build on the build bot.
2809 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2811 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2812 * gst/parse/Makefile.am:
2813 * gst/parse/grammar.y:
2814 * gst/parse/parse.l:
2815 Make the parser reentrant and recursively callable. This requires flex
2816 >= 2.5.31, for older versions pregenerated sources are used as we
2817 can't bump the build dependency. Finally fixes #349180.
2819 * gst/gstparse.c: (gst_parse_launch):
2820 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2823 * docs/gst/Makefile.am:
2824 * docs/gst/Makefile.am:
2825 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2826 (__gst_parse_strfree), (__gst_parse_link_new),
2827 (__gst_parse_link_free), (__gst_parse_chain_new),
2828 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2829 (gst_parse_element_set), (gst_parse_free_link),
2830 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2831 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2832 (_gst_parse_launch):
2833 * gst/parse/grammar.tab.pre.h:
2834 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2835 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2836 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2837 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2838 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2839 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2840 (_gst_parse_yypop_buffer_state),
2841 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2842 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2843 (yy_fatal_error), (_gst_parse_yyget_extra),
2844 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2845 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2846 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2847 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2848 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2849 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2850 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2851 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2852 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2853 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2854 (_gst_parse_yyfree):
2855 If the installed flex version is too old use pre-generated parser
2856 sources. These pre-generated parser sources are always updated when
2857 the actual flex/bison sources change but require everybody who wants
2858 to change something in the parser to have flex >= 2.5.31 installed.
2860 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2862 * common/m4/gst-gettext.m4:
2863 * gst/gst-i18n-lib.h:
2864 Make --disable-nls to work
2866 2007-04-17 Wim Taymans <wim@fluendo.com>
2868 * gst/gstconfig.h.in:
2869 Revert previous change that broke the build.
2871 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2875 * gst/gstconfig.h.in:
2876 Drop libxml2 dependency when building with
2877 --enable-binary-registry --disable-loadsave
2879 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2881 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2882 (gst_registry_binary_read_cache):
2883 * gst/gstregistrybinary.h:
2884 Remove unnecessary <sys/mman.h> include which broke the win32 build
2885 with MingW; move includes from header file to .c file, even if the
2886 header file isn't installed; use g_strerror() where UTF-8 strings
2887 are expected, such as in GST_DEBUG messages.
2889 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2891 * docs/libs/gstreamer-libs-sections.txt:
2892 Remove bogus addition for API I didn't end up keeping.
2894 * libs/gst/base/gstbasesrc.h:
2895 Mention Since: 0.10.13 in the documentation.
2897 Add the API keyword to the previous ChangeLog entry.
2899 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2901 * docs/libs/gstreamer-libs-sections.txt:
2902 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2903 (gst_base_src_default_prepare_seek_segment),
2904 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2905 * libs/gst/base/gstbasesrc.h:
2906 Allow basesrc derived classes to execute seeks in other formats
2907 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2908 to prepare the GstSegment in any format that their perform_seek method
2909 will be able to understand. The default implementation provides the
2910 old behaviour of attempting to convert the seek offsets to the
2911 configured native format.
2913 API: basesrc::prepare_seek_segment vmethod.
2915 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2917 * gst/gstelement.c: (gst_element_get_state_func):
2918 Don't output the same debug statement twice.
2920 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2921 (gst_adapter_peek), (gst_adapter_take_buffer):
2922 Optimise the case where we have buffers at the head of the queue that
2923 can be joined quickly (because they're contiguous sub-buffers) by
2924 merging them together rather than copying data out into new memory.
2926 * gst/parse/grammar.y:
2927 * tests/check/pipelines/parse-launch.c:
2928 Fix a leak in an error path for parse_launch, and add a check
2929 for it to the testsuite.
2931 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2933 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2934 Don't deadlock when releasing a pad - gst_pad_set_active may try
2935 and take the multiqueue lock too.
2937 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2939 * gst/gsterror.c: (_gst_core_errors_init):
2941 API: add GST_CORE_ERROR_DISABLED (#392804).
2943 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2945 * docs/faq/gst-uninstalled:
2946 don't get empty paths on the PATH variables
2947 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2948 Don't format for the uncommon terminal width of 84 characters.
2950 2007-04-06 Wim Taymans <wim@fluendo.com>
2952 * gst/gstpipeline.c: (reset_stream_time),
2953 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2954 Only try to select a different pipeline clock when we went back to
2955 PAUSED and not when we merely got flushed.
2957 2007-04-05 Michael Smith <msmith@fluendo.com>
2959 * tools/gst-launch.1.in:
2960 fractions are better supported in gstreamer than ractions, so
2961 suggest using those.
2963 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2965 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2969 Added Danish translation.
2971 2007-04-05 Wim Taymans <wim@fluendo.com>
2973 * libs/gst/base/gstbasesink.c:
2974 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2975 Fix leak caused when refusing newsegment after EOS.
2977 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2978 (gst_fake_sink_init), (gst_fake_sink_set_property),
2979 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2980 (gst_fake_sink_render), (gst_fake_sink_change_state):
2981 * plugins/elements/gstfakesink.h:
2982 Add num-buffers property to make the element generate EOS after a
2983 configurable amount of buffers.
2984 API: fakesink::num-buffers property.
2986 * tests/check/elements/fakesink.c: (GST_START_TEST),
2988 Fix GstBus leak in test.
2989 Test for fakesink num-buffers.
2991 2007-04-05 Wim Taymans <wim@fluendo.com>
2993 * libs/gst/base/gstbasesink.c:
2994 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2995 (gst_base_sink_change_state):
2996 Don't accept anything after an EOS, return UNEXPECTED instead.
2998 * tests/check/elements/fakesink.c: (GST_START_TEST),
3000 Unit test for new EOS behaviour.
3002 2007-04-05 Wim Taymans <wim@fluendo.com>
3004 * gst/gstelement.c: (gst_element_get_request_pad):
3005 Make padtemplates also work when they don't contain %s or %d.
3007 2007-04-05 Wim Taymans <wim@fluendo.com>
3009 * docs/gst/gstreamer-sections.txt:
3010 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3011 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3013 Improve _adjust_unlocked() so that it overflows less.
3014 Add gst_clock_unadjust_unlocked to convert from external time to
3015 internal time based on calibration.
3016 Add some more debug.
3017 API: GstClock::gst_clock_unadjust_unlocked()
3019 2007-04-03 Wim Taymans <wim@fluendo.com>
3021 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3023 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3024 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3025 when releasing sink pad. Fixes #425400.
3027 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3029 * docs/random/ensonic/dynlink.txt:
3030 More work on proposal for new core api.
3032 * docs/libs/gstreamer-libs-sections.txt:
3033 * libs/gst/base/gstbasetransform.h:
3034 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3036 * libs/gst/controller/gstcontroller.c:
3037 (on_object_controlled_property_changed),
3038 (gst_controller_sync_values),
3039 (gst_controller_set_interpolation_mode):
3040 * libs/gst/controller/gstcontroller.h:
3041 Less verbose logging add docs for unimplemented parts and correctly
3042 return when using unavailable parts.
3044 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3046 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3047 Move all the debug to the CLOCK category, and associate it with
3050 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3052 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3053 Make take_buffer a bit quicker by removing redundant checks
3054 caused by calling gst_adapter_take.
3056 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3058 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3061 * tests/check/Makefile.am:
3062 * tests/check/elements/.cvsignore:
3063 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3064 (GST_START_TEST), (multiqueue_suite):
3065 Add some dead simple unit tests for the 'multiqueue' element
3066 (some bits don't work yet and are disabled for now).
3068 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3070 * gst/gstelement.c: (gst_element_get_request_pad),
3071 (gst_element_class_get_request_pad_template):
3072 Make gst_element_get_request_pad() create request pads only for
3073 request pad templates and not for, say, sometimes pad templates.
3075 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3077 * docs/design/draft-klass.txt:
3078 Add example that needs more thinking.
3080 * docs/design/draft-missing-plugins.txt:
3081 More thoughts about wrapper plugins.
3083 * docs/random/ensonic/embedded.txt:
3084 * docs/random/ensonic/profiling.txt:
3087 2007-03-25 Wim Taymans <wim@fluendo.com>
3089 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3090 (gst_base_src_loop):
3091 Only push the segment events in the PLAYING state for live sources.
3093 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3095 * gst/gstpipeline.c: (gst_pipeline_change_state):
3096 Modify the clock distribution path in PAUSED->PLAYING so that we
3097 never attempt to choose a new clock unless we're actually leaving
3098 the PAUSED state for the first time. This prevents choosing a
3099 different clock when the state_change gets called for a 2nd time due
3100 to some element doing an async state change.
3102 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3104 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3105 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3106 (gst_pad_chain_unchecked), (gst_pad_push):
3107 Revert last commit. This needs some more thoughts.
3109 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3111 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3112 (gst_pad_chain_unchecked), (gst_pad_push):
3113 Check in set_caps if the caps are compatible with the pad and remove
3114 two functions that are redundant now. Fixes #421543.
3116 2007-03-22 Wim Taymans <wim@fluendo.com>
3118 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3119 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3120 Unref some more to make valgrind happy.
3122 2007-03-22 Wim Taymans <wim@fluendo.com>
3124 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3125 (gst_system_clock_id_wait_jitter),
3126 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3127 Fix anoying regression that survived a few releases. When adding an
3128 async entry while blocking on a sync entry, the sync entry will unblock
3129 but still be busy, so it should continue to wait instead of returning
3131 Add some comments here and there.
3133 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3134 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3135 Add testcase for this.
3137 2007-03-22 Wim Taymans <wim@fluendo.com>
3139 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3140 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3141 WRONG_STATE and can silently pause the task. All other cases should
3144 2007-03-22 Wim Taymans <wim@fluendo.com>
3146 Patch by: Ville Syrjala <syrjala at sci dot fi>
3148 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3149 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3152 2007-03-21 Michael Smith <msmith@fluendo.com>
3154 * docs/pwg/advanced-types.xml:
3155 Fix some errors in the typefinding docs pointed out on irc.
3157 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3159 * libs/gst/base/gstbasesrc.c:
3160 Clarify FIXME comment in the face of having added unlock_stop()
3162 2007-03-21 Wim Taymans <wim@fluendo.com>
3164 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3165 Prepare for release where we warn against possible app breakage in the
3166 case of live pipelines along with an env var to enable/disable live
3167 preroll mode (GST_COMPAT=[no-]live-preroll).
3169 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3171 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3172 So we should use correct constants for checking for None offset.
3174 2007-03-20 Wim Taymans <wim@fluendo.com>
3176 * docs/design/part-block.txt:
3177 Mention the fact that the newly switched element should be set to at
3180 2007-03-20 Wim Taymans <wim@fluendo.com>
3183 Fix compilation with registry disabled as spotted by Saur.
3185 2007-03-20 Wim Taymans <wim@fluendo.com>
3187 Patch by: Olivier Crete <tester at tester dot ca>
3189 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3190 Look at the pending state too when syncing the element state to the
3191 parent. Fixes #420133.
3193 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3195 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3196 (gst_base_sink_change_state):
3197 * libs/gst/base/gstbasesink.h:
3198 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3199 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3200 (gst_base_src_deactivate):
3201 * libs/gst/base/gstbasesrc.h:
3202 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3203 for sub-classes to correctly clear any state they set trying to
3204 unlock, such as clearing out unlock commands from a command fd.
3205 API: basesrc::unlock_stop
3206 API: basesink::unlock_stop
3208 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3209 (gst_fd_sink_render), (gst_fd_sink_unlock),
3210 (gst_fd_sink_unlock_stop):
3211 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3212 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3213 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3215 Implement unlock_stop in fdsrc and fdsink.
3216 Implement seeking in fdsrc when a seekable fd is passed, as in
3217 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3219 2007-03-19 Wim Taymans <wim@fluendo.com>
3221 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3223 * gst/gstelement.c: (gst_element_class_init):
3224 Fix pad-added and pad-removed signal signatures so that the pad type is
3225 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3227 2007-03-19 Wim Taymans <wim@fluendo.com>
3229 * docs/gst/gstreamer-sections.txt:
3230 Add new element field and method.
3232 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3233 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3234 (gst_bin_recalc_state), (gst_bin_get_state_func),
3235 (gst_bin_element_set_state), (gst_bin_change_state_func),
3236 (gst_bin_continue_func), (bin_bus_handler),
3237 (bin_push_state_continue), (bin_handle_async_start),
3238 (bin_handle_async_done), (gst_bin_handle_message_func):
3239 Make async state changes a bit smarter by using new ASYNC_START and
3240 ASYNC_DONE messages. This reduces the number of times we run the state
3241 recalculation thread.
3242 Don't change state of element with a pending ASYNC_START message.
3243 Deprecate STATE_DIRTY messages.
3245 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3246 (gst_element_get_state_func), (gst_element_continue_state),
3247 (gst_element_lost_state), (gst_element_set_state_func),
3248 (gst_element_change_state):
3250 Keep the state that was last set by the app in a new element field.
3251 Don't allow state changes when handling an element event.
3252 Post ASYNC_START and ASYNC_DONE messages.
3253 Change lost_state so that we go to PAUSED and wait for the parent to set
3254 us to PLAYING again (so latency calculation can be performed)
3255 Export gst_element_change_state() method so that subclasses can use it.
3256 API: gst_element_change_state()
3257 API: GST_STATE_TARGET
3259 * gst/gstpipeline.c: (gst_pipeline_class_init),
3260 (reset_stream_time), (gst_pipeline_change_state),
3261 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3262 Using the new ASYNC_START message we can reset the base_time when
3263 needed. This can then be used to implement base_time redistribution in
3264 flushing seeks so that we can remove the explicit seek handling.
3265 Perform latency query and configuration when going to PLAYING.
3267 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3268 (gst_base_sink_query), (gst_base_sink_change_state):
3269 Post new ASYNC_START/ASYNC_DONE messages.
3271 * tests/check/generic/sinks.c: (GST_START_TEST):
3272 Fix test because the bin will not set the async element to PLAYING right
3275 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3276 Make the message check a little stronger.
3277 Handle ASYNC messages.
3279 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3280 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3281 Expect ASYNC_DONE messages.
3283 2007-03-19 Wim Taymans <wim@fluendo.com>
3285 * docs/gst/gstreamer-sections.txt:
3286 * gst/gstmessage.c: (gst_message_new_async_start),
3287 (gst_message_new_async_done), (gst_message_parse_info),
3288 (gst_message_parse_async_start):
3290 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3293 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3295 * tools/gst-inspect.c:
3296 (print_plugin_automatic_install_info_codecs):
3297 Now that we don't check for the 'Codec' keyword any longer in the
3298 klass, we shouldn't spew a warning if the klass isn't a decoder or
3299 encoder (since it might be a Source/Network, for example).
3301 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3303 * tools/gst-inspect.c:
3304 (print_plugin_automatic_install_info_codecs):
3305 Don't require decoder/demuxer/depayloader elements or
3306 encoder/muxer/paylader elements to have 'Codec' as part of their
3307 factory class string when introspecting a plugin's capabilities.
3308 draft-klass.txt mentions that it might be removed in future, and
3309 flump3dec doesn't have it as part of its class string, so chances
3310 are others might also not have it.
3312 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3334 Update translations from translation project
3336 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3338 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3339 (gst_child_proxy_set_property):
3340 Invert precondition check to be alike the ones in the mimiced gobject
3343 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3345 * docs/design/draft-tagreading.txt:
3346 * docs/random/ensonic/audiobaseclasses.txt:
3347 Do some Architect work.
3349 * gst/gstobject.c: (gst_object_set_name):
3353 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3355 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3357 * gst/gstsystemclock.c: (gst_system_clock_init),
3358 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3359 Defer starting the async system clock thread until the first async
3360 wait is scheduled. Fixes #414986.
3362 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3364 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3365 (gst_single_queue_free):
3366 Fix small leak (free GstSingleQueue structure too, not only contents).
3368 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3370 * gst/gstbin.c:(gst_bin_add):
3371 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3372 * win32/common/libgstbase.def:
3373 * win32/common/libgstreamer.def:
3374 Add new exported functions.
3376 2007-03-09 Wim Taymans <wim@fluendo.com>
3378 * docs/plugins/gstreamer-plugins-sections.txt:
3381 2007-03-09 Wim Taymans <wim@fluendo.com>
3383 * docs/gst/gstreamer-sections.txt:
3384 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3386 Add metadata copy functions. Fixes #393099.
3387 API: gst_buffer_copy_metadata()
3389 * gst/gstutils.c: (gst_buffer_stamp):
3390 * libs/gst/base/gstbasetransform.c:
3391 (gst_base_transform_prepare_output_buffer):
3392 Use new metadata copy functions.
3394 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3396 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3397 (gst_identity_init), (gst_identity_check_perfect),
3398 (gst_identity_check_imperfect_timestamp),
3399 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3400 (gst_identity_set_property), (gst_identity_get_property):
3401 * plugins/elements/gstidentity.h:
3402 Separate out check-imperfect-timestamp and check-imperfect-offset.
3403 Put back check-perfect as it was to keep compatibility.
3405 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3407 * gst/gstelement.c: (gst_element_dispose):
3408 There's no need to warn if VOID_PENDING is not NONE here, as
3409 long as the state is NULL it's ok, and that's checked immediately
3412 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3414 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3415 Fix check for perfect stream to ignore buffers with -1
3416 offsets/offset ends when checking data contiguity.
3418 2007-03-08 Wim Taymans <wim@fluendo.com>
3420 * tools/gst-launch.c: (event_loop):
3421 Print INFO messages.
3423 2007-03-08 Wim Taymans <wim@fluendo.com>
3425 * libs/gst/base/gstbasetransform.c:
3426 (gst_base_transform_sink_eventfunc),
3427 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3428 (gst_base_transform_activate):
3429 * libs/gst/base/gstbasetransform.h:
3430 Add support for dropping buffers with custom GstFlowReturn.
3431 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3432 buffers or dropped buffers.
3434 * docs/libs/gstreamer-libs-sections.txt:
3435 docs for new custom return code.
3437 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3438 Use drop support in base class to implement drop-probability.
3440 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3442 * gst/gst.c: (load_plugin_func):
3443 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3444 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3445 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3446 Remove newlines at end of debug log strings.
3448 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3450 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3451 Only post bus message at max, once per buffer received.
3453 2007-03-07 Wim Taymans <wim@fluendo.com>
3455 * docs/design/Makefile.am:
3456 * docs/design/part-synchronisation.txt:
3457 Add doc about synchronisation
3459 * docs/design/draft-latency.txt:
3460 * docs/design/part-TODO.txt:
3461 * docs/design/part-clocks.txt:
3462 * docs/design/part-events.txt:
3463 * docs/design/part-gstbus.txt:
3464 * docs/design/part-gstpipeline.txt:
3465 * docs/design/part-live-source.txt:
3466 * docs/design/part-messages.txt:
3467 * docs/design/part-overview.txt:
3468 * docs/design/part-streams.txt:
3469 * docs/design/part-trickmodes.txt:
3470 Documentation updates.
3472 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3475 Update the doap file.
3477 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3479 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3480 Rename non-perfect to imperfect for Mike and for the sanctity of the
3482 Also make sure bus message gets emitted for data-incontiguities.
3484 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3486 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3487 (gst_identity_start):
3488 * plugins/elements/gstidentity.h:
3489 Emit bus message if check-perfect is true and we encounter a
3490 non-perfect stream between 2 consecutive buffers.
3493 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3498 === release 0.10.12 ===
3500 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3503 releasing 0.10.12, "Inevitable Demise"
3505 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3508 Version 0.10.11.2 (0.10.12 pre-release)
3509 Bump libtool versioning.
3511 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3513 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3514 Log flow-names and not numbers.
3516 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3519 Convert to new AG_GST style.
3521 2007-02-28 Wim Taymans <wim@fluendo.com>
3523 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3524 Don't unref query twice.
3526 2007-02-28 Wim Taymans <wim@fluendo.com>
3528 * gst/gstvalue.c: (gst_value_transform_object_string),
3529 (_gst_value_initialize):
3530 Implement GstObject -> string transform so we print object names
3531 when serializing GValues containing GstObjects.
3533 2007-02-28 Wim Taymans <wim@fluendo.com>
3535 * docs/gst/gstreamer-sections.txt:
3536 Add new stuff to docs.
3538 2007-02-28 Wim Taymans <wim@fluendo.com>
3540 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3541 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3542 (gst_base_sink_change_state):
3543 Improve latency query code.
3544 Don't leak latency events.
3546 * tests/check/gst/gstbin.c: (GST_START_TEST):
3549 2007-02-28 Wim Taymans <wim@fluendo.com>
3551 * gst/gstelement.c: (gst_element_message_full),
3552 (gst_element_get_state_func):
3554 Improve docs a little. Added Since: for new macro.
3556 * gst/gstobject.c: (gst_object_sink):
3557 * gst/gstpipeline.c: (gst_pipeline_change_state),
3558 (gst_pipeline_set_new_stream_time):
3559 * gst/gstpipeline.h:
3560 Improve debugging and docs.
3562 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3565 2007-02-28 Wim Taymans <wim@fluendo.com>
3567 * gst/gstelement.c: (gst_element_message_full),
3568 (gst_element_set_locked_state), (gst_element_get_state_func),
3569 (gst_element_change_state):
3570 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3571 Documentation updates.
3572 Small code cleanups.
3574 * gst/gstmessage.c: (gst_message_new_info),
3575 (gst_message_parse_info):
3577 API: gst_message_new_info()
3578 API: gst_message_parse_info()
3579 Add INFO message create and parse code.
3581 2007-02-28 Wim Taymans <wim@fluendo.com>
3583 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3584 (bin_query_latency_done):
3585 Also report the live parameter of a latency query.
3587 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3589 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3590 Copy the current generic/states example from -base and adapt so
3591 we can use the exact same code everywhere.
3592 Check a STATES_IGNORE_ELEMENTS env var which can be used
3593 to ignore certain element factories for this test, which is
3594 what is being done in -base
3595 * tests/check/Makefile.am:
3596 Mention this environment variable.
3598 2007-02-27 Wim Taymans <wim@fluendo.com>
3600 * docs/gst/gstreamer-sections.txt:
3601 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3602 (gst_bus_timed_pop), (gst_bus_pop):
3604 API: gst_bus_timed_pop()
3605 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3606 message to arrive on the bus.
3608 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3610 Two unit tests for new _timed_pop() function.
3612 2007-02-23 Wim Taymans <wim@fluendo.com>
3614 * gst/gstpipeline.c: (gst_pipeline_change_state),
3615 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3616 Don't ref a NULL clock in _provide_clock_func().
3617 Don't allow an INVALID delay.
3618 Don't try to calculate base_time with an invalid start_time.
3619 Also distribute and notify a NULL clock when it was selected.
3621 * tools/gst-launch.c: (event_loop):
3622 Don't crash when a NULL clock was selected in the pipeline.
3624 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3626 * docs/design/Makefile.am:
3627 * docs/design/draft-missing-plugins.txt:
3628 * docs/random/draft-missing-plugins.txt:
3629 Some small updates: update plugin system identifier prefix
3630 ('gstreamer.net' to 'gstreamer'), mention our new install
3631 API in libgstbaseutils rather than libgimme-codec, add
3632 reference to the online docs.
3634 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3636 * win32/common/config.h:
3637 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3638 use moap cl ci to only check in what is mentioned in the ChangeLog.
3640 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3642 * docs/gst/gstreamer-sections.txt:
3644 Fix up documentation to link to the correct GstGError section.
3645 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3647 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3649 * tools/gst-launch.c: (event_loop):
3650 Make sure that we actually show the important message part of a
3652 No need to check if the gerror is not NULL to free; first of all
3653 g_free accepts NULL; and second the default error handler would
3654 segfault if gerror was NULL.
3656 2007-02-21 Wim Taymans <wim@fluendo.com>
3658 * docs/gst/gstreamer-sections.txt:
3659 Removed docs as well.
3661 2007-02-21 Wim Taymans <wim@fluendo.com>
3663 * gst/gstmessage.c: (gst_message_parse_duration):
3665 Remove new messages for release.
3667 2007-02-20 Wim Taymans <wim@fluendo.com>
3669 * docs/design/part-gstghostpad.txt:
3670 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3671 (gst_ghost_pad_new_full):
3672 Make the ghostpad a parent of the internal pad again for better backward
3673 compatibility. Don't write code that relies on this however.
3675 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3676 (gst_pad_link_check_hierarchy):
3677 Require that parents should be GstElements in the hierarchy check.
3679 2007-02-20 Wim Taymans <wim@fluendo.com>
3681 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3682 (gst_bin_change_state_func), (bin_query_min_max_init),
3683 (bin_query_latency_fold), (bin_query_latency_done),
3686 Implement latency query.
3688 2007-02-20 Wim Taymans <wim@fluendo.com>
3690 * docs/design/part-gstghostpad.txt:
3691 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3692 (gst_ghost_pad_internal_do_activate_push),
3693 (gst_ghost_pad_internal_do_activate_pull),
3694 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3695 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3696 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3697 Do not set the internal pad as a parent anymore so we can avoid
3698 hierarchy linking errors when the ghostpad has no parent yet. This also
3699 fixes failed activation because of unlinked internal pads, which in
3700 turn fixes the impossible case where you have to activate a pad before
3701 you can add it to a running element.
3704 * gst/gstpad.c: (pre_activate), (post_activate),
3705 (gst_pad_set_active), (gst_pad_activate_pull),
3706 (gst_pad_activate_push), (gst_pad_check_pull_range):
3707 Add some more debug info.
3708 Mark activation mode in pre_activate so that we don't try to activate in
3709 endless loops. Fixes #385084.
3711 2007-02-19 Wim Taymans <wim@fluendo.com>
3713 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3714 (gst_base_transform_check_get_range):
3715 Implement a checkgetrange function instead of relying on the default
3716 core behaviour that assumes we can operate in pull mode if we have a
3717 getrange function. First step at fixing #385084.
3719 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3721 * gst/gstchildproxy.h:
3722 * libs/gst/base/gstbasesink.h:
3723 * libs/gst/base/gstbasesrc.h:
3724 * libs/gst/base/gstbasetransform.h:
3725 More docs coverage and some ChangeLog surgery (add missing names)
3727 2007-02-15 Wim Taymans <wim@fluendo.com>
3729 * docs/design/part-TODO.txt:
3730 * docs/design/part-activation.txt:
3731 * docs/design/part-block.txt:
3732 * docs/design/part-buffering.txt:
3733 * docs/design/part-clocks.txt:
3734 * docs/design/part-element-source.txt:
3735 * docs/design/part-events.txt:
3736 * docs/design/part-gstbin.txt:
3737 * docs/design/part-gstbus.txt:
3738 * docs/design/part-gstpipeline.txt:
3739 * docs/design/part-live-source.txt:
3740 * docs/design/part-messages.txt:
3741 * docs/design/part-overview.txt:
3742 * docs/design/part-qos.txt:
3743 * docs/design/part-query.txt:
3744 * docs/design/part-states.txt:
3745 * docs/design/part-trickmodes.txt:
3746 Some doc updates. Start renaming from stream_time to running_time where
3747 it was used wrongly.
3749 2007-02-15 Wim Taymans <wim@fluendo.com>
3751 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3752 Answer LATENCY query.
3754 2007-02-15 Wim Taymans <wim@fluendo.com>
3756 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3760 2007-02-15 Wim Taymans <wim@fluendo.com>
3762 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3763 (gst_pad_dispatcher):
3764 Improve debugging of default pad dispatcher and query functions.
3766 2007-02-15 Wim Taymans <wim@fluendo.com>
3768 * docs/gst/gstreamer-sections.txt:
3769 Remove old unused method.
3771 2007-02-13 Wim Taymans <wim@fluendo.com>
3773 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3776 2007-02-13 Wim Taymans <wim@fluendo.com>
3778 * docs/design/part-seeking.txt:
3781 * gst/gstsegment.c: (gst_segment_set_seek):
3782 Revert old bogus change that should make seeking work again.
3784 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3786 * docs/random/ensonic/dynlink.txt:
3787 * docs/random/ensonic/interfaces.txt:
3788 * docs/random/ensonic/receipies.txt:
3789 Possible dynamic reconnection api, plus some type fixes the other two
3792 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3794 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3795 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3796 Also check for an absolute path following file:// in the filesrc
3797 element. Remove redundant check and call g_path_is_absolute() on the
3800 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3802 * docs/design/draft-klass.txt:
3803 Add existing category analysis.
3806 Fix doc example, framerate is a fraction.
3808 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3811 * docs/gst/Makefile.am:
3812 * docs/gst/gstreamer-sections.txt:
3813 * docs/libs/Makefile.am:
3814 Erm, forgot a bunch of --extra-dir.
3816 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3819 * docs/gst/Makefile.am:
3820 * docs/libs/Makefile.am:
3821 * docs/plugins/Makefile.am:
3822 Add crossreferences to glib/gobject docs.
3824 2007-02-12 Wim Taymans <wim@fluendo.com>
3826 * docs/design/draft-latency.txt:
3829 * docs/libs/gstreamer-libs-sections.txt:
3830 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3831 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3832 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3833 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3834 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3835 (gst_base_sink_get_position), (gst_base_sink_query),
3836 (gst_base_sink_change_state):
3837 * libs/gst/base/gstbasesink.h:
3838 API: gst_base_sink_query_latency() to let subclasses query the upstream
3840 API: gst_base_sink_get_latency() to let subclasses query the configured
3841 latency in the sink.
3842 Implement query and set latency.
3844 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3845 don't continue preroll when we are flushing. Fixes #405284.
3847 * tests/check/pipelines/stress.c: (change_state_timeout),
3848 (quit_timeout), (GST_START_TEST), (stress_suite):
3851 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3853 Patch by: René Stadler <mail at renestadler de>
3855 * docs/gst/gstreamer-sections.txt:
3856 * gst/gsttaglist.c: (_gst_tag_initialize):
3858 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3860 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3862 * docs/libs/Makefile.am:
3863 Fix path to core docs.
3865 * gst/gstbin.c: (gst_bin_get_by_interface),
3866 (gst_bin_iterate_all_by_interface):
3867 Refix docs by also renaming 'interface' to 'iface' in implementation.
3869 * docs/gst/gstreamer-sections.txt:
3871 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3872 * gst/gstchildproxy.h:
3873 * gst/gstelementfactory.c:
3874 * gst/gstpadtemplate.h:
3875 * libs/gst/controller/gstcontroller.c:
3876 (gst_controlled_property_new):
3879 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3881 * gst/gstbin.h:(gst_bin_get_by_interface),
3882 (gst_bin_iterate_all_by_interface):
3883 Replace interface parameter name by iface as interface is
3884 a reserved keyword in Visual Studio for C++ projects so it removes
3885 a build error for application developpers using VS.
3886 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3887 Fix a bug on Windows in uri format check. Now the prefix checked
3888 is file:// and next we check if the path after file:// is absolute.
3889 * win32/common/libgstbase.def:
3890 * win32/common/libgstdataprotocol.def:
3891 * win32/common/libgstgstreamer.def:
3892 Add new exported functions.
3894 2007-02-09 Andy Wingo <wingo@pobox.com>
3896 * tests/check/pipelines/simple-launch-lines.c
3897 (simple_launch_lines_suite, test_tee): Disable tee test until I
3898 have time to fix it :-(
3900 * tests/check/Makefile.am (noinst_HEADERS):
3901 * tests/check/libs/libsabi.c:
3902 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3903 * tests/check/gst/gstabi.c:
3904 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3906 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3907 tests for push and pull tee behavior.
3909 * plugins/elements/gsttee.h:
3910 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3911 mark as deprecated as well as unimplemented. It was a crack idea.
3912 Add support for tee operating in pull mode, off by default.
3914 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3915 normal-case logs down to LOG, raise errors to WARNING.
3916 (gst_registry_xml_read_cache): Don't log before calling a function
3919 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3920 exit (registry finalize).
3921 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3922 DEBUG log when we emit signals that people don't even have the
3923 chance to connect to.
3924 (gst_registry_scan_path_level): Less logging in the normal case.
3926 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3928 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3930 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3931 Correctly generate EOS for non-seekable files. We don't have a total
3932 length for them and would get an unexpected end of file if we only
3933 special-cased for regular files. (Fixes: #404569)
3935 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3937 * tests/check/elements/filesrc.c: (GST_START_TEST),
3939 Add unit test for the GstURIHandler interface in filesrc. This also
3940 tests the newly added file://localhost/foo/bar support.
3942 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3944 * gst/gstelementfactory.h:
3945 The klass string is not a hierarchy. Add reference to the design doc
3946 for more information and common types.
3948 2007-02-02 Wim Taymans <wim@fluendo.com>
3950 * gst/gstquery.c: (gst_query_new_latency):
3951 Remove old structure field.
3953 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3955 * tools/gst-launch.1.in:
3956 Give example for network streaming (#351998)
3958 2007-02-02 Wim Taymans <wim@fluendo.com>
3960 * docs/gst/gstreamer-sections.txt:
3961 Add docs for new methods.
3963 * gst/gstevent.c: (gst_event_new_latency),
3964 (gst_event_parse_latency):
3966 Add new LATENCY event to configure latency in a pipeline.
3967 API: gst_event_new_latency
3968 API: gst_event_parse_latency
3970 * gst/gstmessage.c: (gst_message_new_buffering),
3971 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3972 (gst_message_new_latency), (gst_message_parse_buffering),
3973 (gst_message_parse_lost_preroll):
3975 Added messages used in draft-latency.
3976 API: gst_message_new_lost_preroll
3977 API: gst_message_parse_lost_preroll
3978 API: gst_message_new_prerolled
3979 API: gst_message_new_latency
3981 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3982 (gst_query_parse_latency):
3984 Implemented new latency query as in design doc.
3985 API: gst_query_new_latency
3986 API: gst_query_set_latency
3987 API: gst_query_parse_latency
3989 2007-02-02 Wim Taymans <wim@fluendo.com>
3991 * docs/design/draft-latency.txt:
3992 Slight redesign to allow for dynamic latency adjustments.
3994 * docs/design/part-negotiation.txt:
3997 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3999 reviewed by: Wim Taymans <wim@fluendo.com>
4001 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4002 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4003 Allow file://localhost/foo/bar URLs and correctly fail for every other
4004 hostname that one sets. This was gnomevfssrc is linked for those if
4005 installed as it can handle it (#403172)
4007 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4009 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4011 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4012 (unref_data), (gst_collect_pads_add_pad_full):
4013 * libs/gst/base/gstcollectpads.h:
4014 Don't put the previously added destroy notify in the GstCollectData
4015 struct as all it's padding is already used and we don't want to break
4016 ABI. Instead put in the pad's GObject data for now. This should be
4017 cleaned up for 0.11 (#402393).
4019 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4021 reviewed by: Wim Taymans <wim@fluendo.com>
4023 * docs/libs/gstreamer-libs-sections.txt:
4024 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4025 (unref_data), (gst_collect_pads_add_pad),
4026 (gst_collect_pads_add_pad_full):
4027 * libs/gst/base/gstcollectpads.h:
4028 API: Add function to specify a destroy notification for custom
4029 GstCollectData when adding new pads in GstCollectPads (#402393).
4031 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4034 Update Swedish translation (#378255).
4036 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4038 * docs/design/draft-klass.txt:
4039 Fix the previous change, this is a list of categories and not a hierarchy.
4041 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4043 * docs/design/draft-klass.txt:
4044 Add info about how to get a list of used classes.
4046 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4048 * plugins/elements/gsttypefindelement.c:
4049 (gst_type_find_element_chain_do_typefinding),
4050 (gst_type_find_element_change_state):
4051 Don't leak found caps in chain function (no idea why that never
4052 showed up as a leak anywhere).
4054 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4057 Fix and expand GstPluginDesc API docs.
4059 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4062 * gst/gstelementfactory.c:
4063 * gst/gstpadtemplate.h:
4066 * libs/gst/controller/gstcontroller.c:
4067 (gst_controlled_property_new):
4068 * tests/examples/controller/audio-example.c:
4071 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4074 comment about refining the xml deps
4077 comments about moving away from jade for docs
4080 recommit the ifdefs to use the binary registry
4082 * gst/gstbin.c: (gst_bin_change_state_func):
4083 this break is obsolete
4085 * gst/gstelementfactory.h:
4086 better GST_ELEMENT_DETAILS docs, add comment about translation
4091 * gst/gstobject.c: (gst_signal_object_get_type):
4092 add G_UNLIKELY as usual
4094 * gst/gstpad.c: (gst_pad_event_default):
4095 add fall trhu comment
4097 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4098 (gst_registry_binary_initialize_magic),
4099 (gst_registry_binary_save_string),
4100 (gst_registry_binary_save_pad_template),
4101 (gst_registry_binary_save_feature),
4102 (gst_registry_binary_save_plugin),
4103 (gst_registry_binary_write_cache),
4104 (gst_registry_binary_check_magic),
4105 (gst_registry_binary_load_pad_template),
4106 (gst_registry_binary_load_feature),
4107 (gst_registry_binary_load_plugin),
4108 (gst_registry_binary_read_cache):
4109 comment typo and formatting
4111 * gst/gstutils.c: (gst_element_state_get_name),
4112 (gst_element_state_change_return_get_name):
4113 remove obsolete breaks
4115 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4116 add FIXME 0.11 and remove cpp comment
4118 2007-01-29 Edward Hervey <edward@fluendo.com>
4120 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4121 Fix print statement in an even more portable way.
4123 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4125 * docs/gst/gstreamer-sections.txt:
4127 API: add GST_ROUND_DOWN_* macros (#401781).
4129 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4131 * docs/gst/gstreamer.types.in:
4132 * gst/gstregistry.c: (gst_registry_class_init):
4133 Document registry signals and make gtk-doc pick them up (#401381).
4135 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4137 * docs/pwg/building-testapp.xml:
4138 Add some audioconverts and audioresample to the pipeline, and some
4139 more comments and error handling.
4141 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4143 * docs/manual/manual.xml:
4147 2007-01-26 Wim Taymans <wim@fluendo.com>
4149 * gst/gstcaps.c: (gst_static_caps_get):
4150 Init caps flags too.
4152 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4154 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4156 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4157 If not using mmap'ed files try to seek to the end instead of the
4158 start to determine whether we can seek at all. This fixes the case
4159 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4160 seeks for everything afterwards fail. Fixes #400656
4162 2007-01-25 Wim Taymans <wim@fluendo.com>
4164 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4165 Add some refcount debugging.
4166 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4167 in multiple streaming threads.
4169 2007-01-25 Wim Taymans <wim@fluendo.com>
4171 Patch by: David Schleef <ds at schleef dot org>
4173 * docs/libs/gstreamer-libs-sections.txt:
4174 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4175 * libs/gst/base/gstadapter.h:
4176 API: gst_adapter_copy() that can reduce the amount of memcpy when
4177 getting data from the adapter. Fixes #388201.
4179 2007-01-25 Edward Hervey <edward@fluendo.com>
4181 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4182 In print statements, "%x" is for guint. Fixes build on macosx.
4184 2007-01-24 Edward Hervey <edward@fluendo.com>
4186 * plugins/elements/gstmultiqueue.c:
4187 (gst_multi_queue_loop):
4189 (single_queue_overrun_cb), (single_queue_underrun_cb),
4190 (single_queue_check_full), (gst_single_queue_new):
4191 Implement single queue growth system.
4192 This uses the extra-size properties, and will grow single queues by
4193 that much if one goes full whereas there are others empty. This is
4194 called extra-mode in the code.
4195 When a single queue's levels go back below the initial max-size
4196 limits, it is no longer in extra-mode. This is to ensure we don't
4197 consume too much memory.
4200 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4202 * gst/gst.c: (gst_init_get_option_group):
4203 Make warning about late g_thread_init() calls a bit more explicit,
4204 so that it's more obvious to application developers what they need
4205 to do if a user files a bug against their application.
4207 2007-01-22 Edward Hervey <edward@fluendo.com>
4209 * plugins/elements/gstmultiqueue.c:
4210 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4211 Remove previous hack of unsetting the flushing flag for the source pad
4212 instead of activating it. Instead, fix the source pad activate function
4213 so that it no longer depends on having a parent set or not.
4215 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4217 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4219 * docs/manual/basics-bus.xml:
4220 Fix example code, gst_element_unref() doesn't exist any longer.
4222 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4224 Patch by: Mark Nauwelaerts <manauw at skynet be>
4227 Fix two docs typoes (#399094).
4229 2007-01-19 Edward Hervey <edward@fluendo.com>
4231 * docs/faq/gst-uninstalled:
4232 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4233 depending on libgstbaseutils can work in uninstalled environment.
4235 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4238 * gst/gsttagsetter.c:
4239 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4240 statement for new tag.
4242 2007-01-17 Edward Hervey <edward@fluendo.com>
4244 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4245 When dynamically creating single queues, activate sinkpad before adding
4247 We should be doing the same thing for the source pad, but we can't
4248 since it would call a method which needs the parent to be set in order
4249 to work propertly. Instead of activating the source pad, we just unset
4250 the flushing flag, which is the minimal requirement for adding a pad
4251 to an element in a state greater than READY.
4253 2007-01-17 Edward Hervey <edward@fluendo.com>
4255 * docs/faq/gst-uninstalled:
4256 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4259 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4261 * tests/check/gst/gstabi.c:
4262 * tests/check/gst/struct_hppa.h:
4263 * tests/check/libs/libsabi.c:
4264 * tests/check/libs/struct_hppa.h:
4265 Add ABI structs for HPPA (see #393796).
4267 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4269 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4270 Actually write ABI structs to the file specified in the GST_ABI
4271 environment variable, as the message we print claims we would.
4273 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4275 * tests/check/gst/gsttask.c:
4278 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4280 * gst/gsttaglist.c: (_gst_tag_initialize):
4281 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4282 previous two entries.
4284 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4286 * docs/gst/gstreamer-sections.txt:
4287 * gst/gsttaglist.c: (_gst_tag_initialize):
4289 Add tag support for beat-per-minute.
4291 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4293 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4294 (gst_registry_binary_initialize_magic),
4295 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4296 (gst_registry_binary_save_pad_template),
4297 (gst_registry_binary_save_feature),
4298 (gst_registry_binary_save_plugin),
4299 (gst_registry_binary_write_cache),
4300 (gst_registry_binary_check_magic),
4301 (gst_registry_binary_load_pad_template),
4302 (gst_registry_binary_load_feature),
4303 (gst_registry_binary_load_plugin),
4304 (gst_registry_binary_read_cache):
4305 * gst/gstregistrybinary.h:
4306 Use glib types, cleanup comments, impement interfaces and uri-types.
4308 2007-01-13 Andy Wingo <wingo@pobox.com>
4310 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4311 getrange() to return buffers with other caps, while we fix
4312 demuxers and typefind, or otherwise change part-negotiation.txt.
4314 2007-01-12 Andy Wingo <wingo@pobox.com>
4316 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4317 Factor start/stop into this private function instead of partially
4318 in activate functions and partially in the change_state function.
4319 Fixes setup before the element has changed from READY->PAUSED, as
4320 is the case in pull-mode pipelines.
4321 (gst_base_transform_sink_activate_push)
4322 (gst_base_transform_src_activate_pull): Refactor to use
4323 gst_base_transform_activate().
4324 (gst_base_transform_change_state): Removed, not needed any more.
4326 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4327 Truncate before fixating.
4329 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4330 Don't set_caps() if the result of fixating is ANY, as it's not
4331 supported, and not necessary in the case of a link with no
4332 template caps on either side. Fixes tests/check/libs/basesrc in
4333 some pull-mode tests.
4335 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4336 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4337 (gst_base_transform_src_activate_pull):
4338 Track the activation mode.
4339 (gst_base_transform_setcaps): In pull mode, when activating the
4340 src pad, after activating the sink pad, activate the sink pad's
4341 peer, as discussed in part-negotiation.txt.
4343 * libs/gst/base/gstbasesrc.h:
4344 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4345 vmethod, as in basesink.
4347 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4349 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4350 mode, first proxy the setcaps to the peer pad.
4351 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4353 (gst_base_sink_default_activate_pull): Rename from
4354 gst_base_sink_activate_pull.
4355 (gst_base_sink_negotiate_pull): New function, performs negotiation
4356 in pull mode before calling ::activate_pull().
4357 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4358 vmethod instead of the default implementation. I have no idea how
4359 this worked before. Negotiate before calling activate_pull.
4361 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4362 sink pads in pull mode. In addition to being correct, fixes
4363 filesrc ! decodebin ! identity ! fakesink.
4364 (gst_pad_get_range, gst_pad_pull_range): Don't call
4365 gst_pad_set_caps() if the caps changes; instead error out with
4366 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4368 2007-01-12 Andy Wingo <wingo@pobox.com>
4370 * docs/design/part-negotiation.txt: Update with more policy.
4372 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4374 * libs/gst/check/gstbufferstraw.h:
4375 * libs/gst/check/gstcheck.h:
4376 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4379 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4381 * tests/check/Makefile.am:
4382 * tests/check/gst/.cvsignore:
4383 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4384 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4385 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4386 (GST_START_TEST), (gst_tag_setter_suite):
4387 Add minimal unit test for beforementioned GstTagSetter bug.
4389 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4391 Patch by: René Stadler <mail at renestadler dot de>
4393 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4394 gst_tag_list_merge() returns a new list, so it's not the best idea
4395 to ingore its return value. Effectively meant that tags could only
4396 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4397 Also add function guard to require a non-NULL taglist as input (has
4398 always been so due to gst_tag_list_copy(), just making it explicit).
4400 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4402 * docs/random/draft-missing-plugins.txt:
4403 Some additions: mention new API that is supposed to be used at the
4404 various stages; short blob about new gst-inspect introspection
4405 option; mention potential future problem with plugins that have
4406 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4408 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4410 * tools/gst-inspect.c:
4411 (print_plugin_automatic_install_info_codecs),
4412 (print_plugin_automatic_install_info_protocols),
4413 (print_plugin_automatic_install_info), (main):
4414 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4415 introspect plugin files and get machine-parsable output that corresponds
4416 to the last bit of the missing-plugin installer string (small gotcha:
4417 doesn't take into account ranks).
4419 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4422 * docs/gst/gstreamer-sections.txt:
4424 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4425 (gst_registry_lookup_locked):
4426 * gst/gstregistry.h:
4427 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4428 (gst_registry_binary_initialize_magic),
4429 (gst_registry_binary_save_string),
4430 (gst_registry_binary_save_pad_template),
4431 (gst_registry_binary_save_feature),
4432 (gst_registry_binary_save_plugin),
4433 (gst_registry_binary_write_cache),
4434 (gst_registry_binary_check_magic),
4435 (gst_registry_binary_load_pad_template),
4436 (gst_registry_binary_load_feature),
4437 (gst_registry_binary_load_plugin),
4438 (gst_registry_binary_read_cache):
4439 * gst/gstregistrybinary.h:
4440 * gst/gstregistryxml.c: (load_feature),
4441 (gst_registry_xml_read_cache):
4442 commit binary registry (disabled by default, see #359653)
4444 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4446 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4447 Fix 'make check' too.
4449 2007-01-10 Andy Wingo <wingo@pobox.com>
4451 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4454 * docs/design/part-negotiation.txt: Update with, um, one way that
4455 pull-mode negotiation might work?
4458 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4459 that the pad must be a src pad; makes sense to call it the other
4460 way in pull mode, and the logic is symmetric anyway.
4462 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4464 * plugins/elements/gstfilesink.c:
4465 Include <stdio.h> for fseeko().
4467 2007-01-10 Wim Taymans <wim@fluendo.com>
4471 Reserve LATENCY event.
4473 2007-01-09 Wim Taymans <wim@fluendo.com>
4475 * docs/design/draft-latency.txt:
4478 2007-01-09 Wim Taymans <wim@fluendo.com>
4480 * docs/design/draft-latency.txt:
4484 * gst/gststructure.c:
4488 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4490 * tests/check/.cvsignore:
4491 Ignore test-registry.xml as well.
4493 2007-01-09 Wim Taymans <wim@fluendo.com>
4495 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4496 unref data at the end when we are done with the pad.
4498 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4500 * docs/gst/gstreamer-sections.txt:
4501 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4502 (init_post), (gst_deinit), (gst_update_registry):
4504 API: add gst_update_registry() (#391296).
4506 * tests/check/Makefile.am:
4507 * tests/check/gst/gstregistry.c:
4508 * tests/check/gst/.cvsignore:
4509 Simple unit test for the above.
4511 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4513 * gst/gstregistry.c: (gst_registry_scan_path_level):
4514 Plugin extension on HP-UX is .sl, add that to the list of approved
4515 plugin extensions (see #393796).
4517 * tests/check/gst/gstpad.c: (GST_START_TEST):
4518 ulong => gulong. Fixes compilation with HP-UX compiler.
4520 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4521 Fix compilation if valgrind headers are not available.
4523 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4525 * win32/common/libgstreamer.def:
4526 Add new exported function.
4527 * win32/vs6/libgstbase.dsp:
4528 Add gstdataqueue.c to the build.
4529 * win32/vs6/libgstcoreelements.dsp:
4530 Add gstmultiqueue.c to the build.
4532 2007-01-06 Andy Wingo <wingo@pobox.com>
4534 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4535 activate_pull(), providing for a way to specialize the process of
4536 spawning a thread to pull on the sink pad. There is a default
4539 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4540 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4541 (gst_base_sink_init): Renamed pad activation functions (inserting
4542 "_pad" in their names). Refactor to use the new activate_pull
4543 vmethod, as appropriate.
4544 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4545 default activate_pull function to start a task pulling from the
4546 sink pad, as before.
4548 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4549 on the pads if necessary, as in push()/chain(). Update docs.
4550 Shouldn't affect existing pull() usage as it is currently only
4551 being used on buffers without caps.
4553 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4555 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4557 Call g_thread_init() first thing in gst_init() / gst_check_init().
4558 When initialisation is done via gst_init_get_option_group() and
4559 GOption parsing, issue a warning if the GLib thread system has not
4560 been initialised yet by the time gst_init_get_option_group() is
4561 called, as it's quite likely other GLib functions such as
4562 g_option_context_new() have been called already then, and
4563 g_thread_init() must be called before any other GLib function. The
4564 application in question must be fixed in that case, since memory
4565 corruption might happen otherwise.
4566 We issue the warning because even if the GLib folks decide to work
4567 around the problem on their end in future, this is still an issue
4568 with all GLib versions >= 2.10.0, so we should warn until we depend
4569 on a GLib version we know to be safe.
4570 Update documentation as well.
4573 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4575 * tools/gst-inspect.c: (main):
4576 * tools/gst-launch.c: (main):
4577 * tools/gst-typefind.c: (main):
4578 * tools/gst-xmlinspect.c: (main):
4579 Call g_thread_init() really really early, before any other GLib
4580 function (see #342564 and recent discussion on gtk-devel-list).
4582 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4584 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4586 * gst/gst_private.h:
4587 * gst/gstconfig.h.in:
4589 On win32, all the __declspec stuff for symbol exporting is
4590 apparently only needed with MSVC, but doesn't work with MingW.
4591 Fixes compilation with MingW and #391909.
4593 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4595 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4596 Change some GST_ERROR_OBJECT that aren't really errors to
4597 GST_WARNING_OBJECT in order to reduce terminal spam.
4599 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4601 * tests/check/Makefile.am:
4602 disable test again, as there seem to be still race problems
4604 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4606 * tests/check/Makefile.am:
4607 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4608 (GST_START_TEST), (queue_suite):
4609 enable queue test again, add tests for the leaky behaviour
4611 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4614 * tests/examples/Makefile.am:
4615 Compile adapter test/example only if the required headers are
4616 available (fixes #391915).
4618 2007-01-01 David Schleef <ds@schleef.org>
4621 Restore the previous signal handler for SIGSEGV instead of
4622 setting to default, since we may have stolen it away from
4623 someone. (i.e., Mono)
4625 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4627 * docs/random/draft-missing-plugins.txt:
4628 Some small additions and clarifications.
4630 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4632 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4633 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4634 since that can lead to random memory corruptions and crashes
4635 (may or may not be related to #383244, #386711, and #386711).
4637 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4639 * tests/check/.cvsignore:
4640 * tests/check/Makefile.am:
4641 sync .cvsignome and CLEANFILES
4643 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4645 * tests/check/Makefile.am:
4648 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4650 * docs/design/part-states.txt:
4651 two tiny additional comments
4653 * gst/gststructure.c:
4656 * tests/check/Makefile.am:
4657 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4659 disable test for now, unless it gets fixed
4661 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4663 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4665 fix race in underrun test
4667 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4669 * tests/check/elements/.cvsignore:
4672 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4674 try to narrow test failure
4676 2006-12-21 David Schleef <ds@schleef.org>
4678 * plugins/elements/gstfakesrc.c:
4679 Use g_random_int_range(), since it produces better random
4680 numbers in a range than almost-correct floating point code.
4682 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4684 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4685 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4686 (gst_check_teardown_sink_pad):
4687 do not automatically (de)activate pads
4689 * tests/check/Makefile.am:
4690 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4691 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4692 add new, yet simple tests for queue
4694 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4695 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4696 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4698 * tests/check/elements/identity.c: (cleanup_identity):
4699 consistent pad (de)activation
4701 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4703 Patch by: Sebastian Dröge <slomo ubuntu com>
4705 * libs/gst/base/gstcollectpads.c:
4706 Fix two doc typos (#387866).
4708 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4710 * docs/manual/advanced-dparams.xml:
4711 Fix typo (g_object_control_properties() doesn't exist).
4713 2006-12-19 Edward Hervey <edward@fluendo.com>
4715 * gst/gstsegment.c: (gst_segment_set_seek):
4716 Fine tune the cases where the segment start/stop values are really
4718 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4719 Add tests for the return values of gst_segment_set_seek().
4721 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4726 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4728 Fix incorrect documentation and flesh it out a bit more.
4729 Set default values for the max properties on the GParamSpec as well,
4730 so it shows up correctly in gst-inspect.
4732 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4734 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4735 Correct docs of queue, add more detail and crosslink it more.
4737 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4739 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4740 Print additional debug info when the stream isn't perfectly
4741 timestamped; don't try to use invalid durations.
4743 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4745 * docs/design/Makefile.am:
4746 Dist new design docs.
4748 2006-12-16 Wim Taymans <wim@fluendo.com>
4750 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4752 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4753 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4754 (gst_collect_pads_stop), (gst_collect_pads_event),
4755 (gst_collect_pads_chain):
4756 * libs/gst/base/gstcollectpads.h:
4757 Add refcounting to the collectpads data so we can track when it's safe
4758 to free the data. Fixes #383382.
4760 2006-12-15 Wim Taymans <wim@fluendo.com>
4762 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4763 (gst_collect_pads_remove_pad):
4764 Automatically activate/deactivate pads when they are added to a
4765 started/stoped collectpads.
4767 2006-12-15 Wim Taymans <wim@fluendo.com>
4769 * gst/gstelement.c: (gst_element_add_pad):
4770 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4771 * gst/gstpad.c: (gst_pad_init):
4772 Set pads to FLUSHING when they are created. Check, warn and fix when a
4773 demuxer adds an inactive pad to itself when running. Fixes #339326.
4775 2006-12-15 Wim Taymans <wim@fluendo.com>
4777 * gst/gstelement.c: (gst_element_class_init),
4778 (gst_element_default_send_event), (gst_element_send_event),
4779 (gst_element_default_query), (gst_element_query):
4780 Expose default element send_event and query handling as vmethods that
4781 subclasses can chain up to.
4783 2006-12-15 Wim Taymans <wim@fluendo.com>
4785 * gst/gstelement.c: (gst_element_set_state_func):
4786 Small documentation fixes.
4788 2006-12-15 Wim Taymans <wim@fluendo.com>
4790 * docs/design/draft-latency.txt:
4791 Checked in draft for handling latency in pipelines.
4793 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4797 * gstreamer.spec.in:
4800 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4802 * gst/gst.c: (init_pre), (init_post):
4803 init_pre() and init_post() might be called via our GOptionGroup or
4804 from gst_init(), and we should skip both of them if we've already
4805 been initialised, otherwise we will init some things twice or add
4806 two default log functions.
4808 2006-12-13 Edward Hervey <edward@fluendo.com>
4810 * docs/manual/basics-bus.xml:
4811 No, gst_main_loop does not exist. Its g_main_loop.
4812 Discovered by somebody who abused the copy-paste technique of coding :)
4814 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4816 * gst/gstghostpad.c:
4817 Log ghostpad debug stuff to the GST_PADS category as well rather
4818 than just to the default category.
4820 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4823 * gst/gst.c: (init_pre):
4824 Add some basic system details such as OS and architecture
4825 to the debug output if possible, courtesy of uname().
4827 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4829 * docs/gst/running.xml:
4830 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4831 environment variables.
4833 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4835 * tests/check/gst/gstbin.c: (GST_START_TEST):
4836 It is acceptable to have a refcount of 2 or 3 at this point in the
4837 test, because the pipeline might be just posting its state_change
4838 message. The next line then waits for that message to appear using
4839 bus_poll, so that should be fine too.
4841 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4843 * gst/gst.c: (ensure_current_registry_forking):
4844 Ignore EINTR when reading from the child registry pipe.
4845 Explicitly ignore the return value from close, since it makes no
4848 * gst/gstminiobject.c: (gst_mini_object_ref),
4849 (gst_mini_object_unref):
4850 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4852 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4853 When removing cached plugins, remove their features too, so they're
4854 not visible after they've disappeared.
4856 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4857 In the unlikely case that we are linking pads with no parents, don't
4858 crash trying to get the non-existent parent bin.
4860 * gst/parse/grammar.y:
4861 Output debug in the PIPELINE category
4863 2005-03-08 Wim Taymans <wim@fluendo.com>
4865 Patch by: René Stadler <mail at renestadler dot de>
4867 * gst/gstclock.c: (gst_clock_new_periodic_id):
4868 Reject invalid clock times for interval of periodic ids.
4871 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4873 * gst/gstelementfactory.c: (gst_element_factory_create):
4874 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4875 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4876 * tools/gst-inspect.c: (print_element_info):
4877 Fix refcounting of gst_plugin_feature_load to match the docs.
4880 2006-12-07 Wim Taymans <wim@fluendo.com>
4882 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4883 (gst_base_sink_get_position):
4884 Improve debugging of events.
4886 2006-12-07 Wim Taymans <wim@fluendo.com>
4888 Patch by: René Stadler <mail at renestadler dot de>
4890 * gst/gstclock.c: (gst_clock_id_wait):
4891 Make period ids add the interval to the origial requested time instead
4892 of the possibly updated time which can be wrong when there are multiple
4893 waiters for the same id. Fixes #382592.
4895 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4896 (gst_system_clock_id_wait_jitter_unlocked),
4897 (gst_system_clock_id_wait_jitter):
4898 Fix restart in the async notify thread when an async entry is added to
4899 the front of the list. Fixes #381492.
4901 * tests/check/gst/gstsystemclock.c: (store_callback),
4902 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4903 Added test for multiple async waits.
4904 Added test for async wait order.
4906 2006-12-07 Wim Taymans <wim@fluendo.com>
4908 * gst/gstbin.c: (gst_bin_query):
4909 Add some more docs about the POSITION query.
4911 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4914 Bump version nano - back to CVS.
4916 === release 0.10.11 ===
4918 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4921 releasing 0.10.11, "Love never runs on time"
4923 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4925 * win32/common/libgstbase.def:
4926 * win32/common/libgstreamer.def:
4927 * win32/vs8/libgstbase.vcproj:
4928 * win32/vs8/libgstcoreelements.vcproj:
4929 * win32/vs8/libgstreamer.vcproj:
4930 Fix compilation on win32 under VS8
4931 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4932 Partially fixes #381175
4934 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4936 * gst/gstvalue.c: (gst_value_compare_fraction):
4937 If someone is foolish enough to compare 2 fractions with denominator =
4938 0, return UNORDERED rather than aborting.
4940 2006-11-28 Edward Hervey <edward@fluendo.com>
4942 * libs/gst/base/Makefile.am:
4943 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4944 (gst_data_queue_base_init), (gst_data_queue_class_init),
4945 (gst_data_queue_init), (gst_data_queue_new),
4946 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4947 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4948 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4949 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4950 (gst_data_queue_set_flushing), (gst_data_queue_push),
4951 (gst_data_queue_pop), (gst_data_queue_drop_head),
4952 (gst_data_queue_set_property), (gst_data_queue_get_property):
4953 * libs/gst/base/gstdataqueue.h:
4954 New GstDataQueue object for threadsafe queueing. Most useful for
4955 elements that need some queueing functionnality.
4956 * docs/libs/gstreamer-libs-docs.sgml:
4957 * docs/libs/gstreamer-libs-sections.txt:
4958 Insert documentation for GstDataQueue
4959 * plugins/elements/Makefile.am:
4960 * plugins/elements/gstelements.c:
4961 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4962 (gst_multi_queue_class_init), (gst_multi_queue_init),
4963 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4964 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4965 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4966 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4967 (gst_multi_queue_loop), (gst_multi_queue_chain),
4968 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4969 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4970 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4971 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4972 (wake_up_next_non_linked), (compute_next_non_linked),
4973 (single_queue_overrun_cb), (single_queue_underrun_cb),
4974 (single_queue_check_full), (gst_single_queue_new):
4975 * plugins/elements/gstmultiqueue.h:
4976 New multiqueue element, using GstDataQueue. Used for queuing multiple
4978 Closes #344639 and #347785
4980 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4982 * docs/pwg/advanced-types.xml:
4983 add more missing type details
4985 * tools/gst-run.c: (main):
4986 remove unused variable
4988 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4990 * docs/libs/Makefile.am:
4991 * docs/libs/gstreamer-libs.types:
4992 add types of base classes to enable gobject specific stuff in the docs
4994 * docs/random/ensonic/embedded.txt:
4995 more ideas about isolating platform specific things
4997 2006-11-20 Wim Taymans <wim@fluendo.com>
4999 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5001 * libs/gst/check/gstcheck.h:
5002 Fix compilation and running against 0.9.4. Fixes #377332.
5004 2006-11-20 Wim Taymans <wim@fluendo.com>
5006 * gst/gstsegment.c: (gst_segment_set_seek),
5007 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5008 (gst_segment_to_running_time):
5009 Fix boundary checking in to_running_time() and to_stream_time().
5012 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5013 stream and running time can now be calculated for the complete
5016 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5018 * gst/gstpad.c: (gst_pad_push_event):
5019 Can't access event structure after giving away ownership of
5022 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5024 * docs/random/ensonic/embedded.txt:
5025 * docs/random/ensonic/profiling.txt:
5026 * docs/random/ensonic/receipies.txt:
5029 2006-11-13 Wim Taymans <wim@fluendo.com>
5031 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5034 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5036 2006-11-13 Wim Taymans <wim@fluendo.com>
5038 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5040 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5041 Store new length in segment duration so we don't keep on calling the
5042 potentially expensize get_size() call. Fixes #370865.
5044 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5046 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5048 * win32/common/libgstreamer.def:
5049 Add two missing symbols (#366492).
5051 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5053 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5054 (gst_adapter_take_buffer):
5055 Fix format string to use all its arguments.
5056 Remove useless >= check on a guint
5058 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5060 * tests/examples/adapter/.cvsignore:
5061 Ignore build file as commanded by the build-bot
5063 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5065 * tests/examples/adapter/Makefile.am:
5066 * tests/examples/adapter/adapter_test.c: (run_test_take),
5067 (run_test_take_buffer), (run_tests), (main):
5069 Add new files from the previous commit
5071 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5075 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5076 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5077 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5078 * libs/gst/base/gstadapter.h:
5079 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5080 (GST_START_TEST), (gst_adapter_suite):
5081 * tests/examples/Makefile.am:
5082 Do some optimisation work in GstAdapter to avoid copies in more cases.
5083 It could still do slightly better by merging buffers when
5084 gst_buffer_is_span_fast is true, but is already faster.
5086 Also, avoid traversing a single-linked list to append each incoming
5087 buffer inside the adapter.
5089 Add simple test app that times the adapter behaviour in different
5090 situations, and extend the unit test to check that bytes enter and
5091 exit the adapter in their original order.
5093 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5095 * docs/random/draft-missing-plugins.txt:
5096 Update: use element message instead of adding a new message
5097 type to the core; don't provide GStreamer API to initiate the
5098 plugin download, just provide API to compose the strings needed
5099 and let an external libgimmestuff handle the rest.
5101 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5103 * tools/gst-inspect.c: (print_element_properties_info):
5104 Print a string instead of 'unknown type' for GValueArray properties
5106 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5108 * docs/random/draft-missing-plugins.txt:
5111 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5113 * tests/examples/typefind/typefind.c: (type_found), (main):
5114 Make typefind element example work again (#371894); add a
5117 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5119 * docs/random/draft-missing-plugins.txt:
5120 Commit initial draft about how to deal with missing plugins,
5121 needs work (API too).
5123 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5125 * docs/pwg/advanced-types.xml:
5126 documents the new caps elements (see #363118)
5128 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5130 * gst/gstplugin.c: (gst_plugin_load_file):
5131 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5132 (gst_file_src_map_region), (gst_file_src_start):
5133 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5134 (gst_file_index_commit):
5135 Use g_strerror() instead of strerror() - we want UTF-8.
5137 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5139 Patch by: Peter Kjellerstedt <pkj at axis com>
5141 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5142 Another printf fix (#371493).
5144 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5146 * tests/check/gst/gsttag.c:
5147 relicence (okay with author=company)
5149 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5151 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5152 (gst_pad_push_event):
5153 Enhance debug and improve docs
5158 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5160 * docs/random/ensonic/distributed.txt:
5161 * docs/random/ensonic/profiling.txt:
5164 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5166 * docs/gst/gstreamer-sections.txt:
5167 add new API and fix the build
5169 * gst/gstbin.c: (gst_bin_recalc_state):
5170 * gst/gstelement.c: (gst_element_message_full),
5171 (gst_element_get_state_func), (gst_element_set_state_func):
5172 use new API and improve logging
5174 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5176 API: add function to get StateChangereturn names to improve logs
5178 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5180 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5181 I'm considering shooting the next person to put strerror stuff
5182 in the translateable part of the message.
5184 2006-11-03 Wim Taymans <wim@fluendo.com>
5186 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5187 Get the type and printf conversion specifiers right.
5189 2006-11-03 Wim Taymans <wim@fluendo.com>
5191 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5193 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5194 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5195 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5196 Some small cleanups. Improve debugging.
5198 Signal all waiting threads with a broadcast instead of just one.
5201 2006-11-03 Wim Taymans <wim@fluendo.com>
5203 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5204 (gst_fd_src_create):
5206 Only update fd when it's different from the old.
5208 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5210 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5211 Printf fixes for PPC/OSX, take two (#369366).
5213 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5215 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5217 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5218 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5219 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5220 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5221 don't cast to long long for portability reasons, but use
5222 GLib's types instead.
5224 2006-10-30 Michael Smith <msmith@fluendo.com>
5226 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5227 Get the arguments to lseek() the right way around.
5230 2006-10-30 Wim Taymans <wim@fluendo.com>
5232 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5235 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5237 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5239 Patch by: Kjartan Maraas <kmaraas at gnome org>
5241 * docs/design/part-MT-refcounting.txt:
5242 * docs/random/wtay/capsnego2-docs:
5245 Typo fixes (#366212).
5247 2006-10-28 Wim Taymans <wim@fluendo.com>
5249 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5252 * win32/common/libgstbase.def:
5253 * win32/common/libgstreamer.def:
5254 * win32/vs8/libgstbase.vcproj:
5255 * win32/vs8/libgstcontroller.vcproj:
5256 Add needed entries in .def files.
5258 Rearrange def files in vs8 solutions. Fixes #366286.
5260 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5262 * win32/common/gstconfig.h:
5263 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5264 hand-made win32 gstconfig.h. Fixes #366321.
5266 2006-10-27 Wim Taymans <wim@fluendo.com>
5268 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5269 (gst_ghost_pad_new_full):
5270 Make acceptcaps return TRUE when we don't have a target, just like
5273 2006-10-27 Wim Taymans <wim@fluendo.com>
5275 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5276 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5278 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5280 * gst/gststructure.c: (gst_structure_id_set_value):
5281 If someone tries to set a non-UTF8 string field on a structure,
5282 don't just print a warning, but also ignore the request and do
5283 not change/add that field to the structure.
5285 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5288 2006-10-25 David Schleef <ds@schleef.org>
5291 g_hash_table_insert() needs a cast to a non-const pointer duh.
5293 2006-10-25 David Schleef <ds@schleef.org>
5297 Change name parameter of _gst_debug_register_funcptr to const
5298 to reflect the constness of its use in the function as well
5299 as to quiet a gcc warning.
5301 2006-10-25 Edward Hervey <edward@fluendo.com>
5303 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5304 Don't push the buffer if it's empty.
5307 2006-10-24 Wim Taymans <wim@fluendo.com>
5312 * libs/gst/base/gstbasetransform.c:
5313 (gst_base_transform_sink_eventfunc):
5314 Debug segment values *after* updating them as this is more
5317 2006-10-23 Wim Taymans <wim@fluendo.com>
5319 * docs/design/part-events.txt:
5322 * docs/design/part-block.txt:
5323 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5324 (gst_pad_push_event):
5325 Revert BLOCKING patch, it tries to be smart without really having a
5326 clear idea what or how. So, now we discard all FLUSHING events again on
5327 a blocking pad. Should fix gnonlin again.
5329 2006-10-23 Wim Taymans <wim@fluendo.com>
5331 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5333 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5334 (gst_base_src_start), (gst_base_src_activate_push):
5335 Make sure size is always initialized. Fixes #364388.
5337 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5339 * docs/random/ensonic/distributed.txt:
5340 add some ideas about doing distributed processing
5342 * docs/random/ensonic/profiling.txt:
5343 get_rusage look promising
5345 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5347 * docs/manual/basics-helloworld.xml:
5348 Add a cast in example to fix compile warning
5350 2006-10-18 Wim Taymans <wim@fluendo.com>
5352 * gst/gstsegment.c: (gst_segment_set_last_stop),
5353 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5354 Relax arg checking again, -1 is allowed.
5356 2006-10-18 Wim Taymans <wim@fluendo.com>
5358 * gst/gstsegment.c: (gst_segment_set_last_stop),
5359 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5360 _set_last_stop() must be with a value != -1
5361 A _TYPE_SET to -1 means seek to 0.
5362 Calc last_stop correctly for negative rates.
5363 Make sure we work with positive durations when updating a segment.
5365 2006-10-18 Wim Taymans <wim@fluendo.com>
5367 * docs/design/part-live-source.txt:
5371 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5374 Add an explicit cast to GstBuffer** to keep old code that added an
5375 explicit cast to GstMiniObject** for gst_mini_object_replace()
5376 compiling without warning.
5378 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5380 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5381 check for validity of dates
5383 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5385 * docs/gst/gstreamer-sections.txt:
5386 Forgot this one, makes gtk-doc shut up.
5388 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5390 Patch by: Peter Kjellerstedt <pkj at axis com>
5393 Don't define xmlNodePtr to gpointer if the core was built with
5394 --disable-loadsave and --disable-registry, this will break
5395 applications that want to use libxml2 but are buildling against a
5396 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5397 instead so we don't have to mess with the libxml2 namespace
5400 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5403 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5404 type-punned pointer warnings.
5406 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5409 Add casts to the correct return type to state <=> state transition
5412 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5414 * docs/design/part-live-source.txt:
5415 describe howto handle latency
5417 * docs/random/ensonic/profiling.txt:
5420 * tools/gst-plot-timeline.py:
5421 fix log parsing for solaris, remove unused function
5423 2006-10-16 Wim Taymans <wim@fluendo.com>
5425 * docs/design/part-trickmodes.txt:
5427 Update some docs regarding reverse playback.
5429 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5431 Patch by: Marcus Granado <mrc dot gran at gmail com>
5433 * win32/vs8/grammar.vcproj:
5434 Error out with a warning if glib-genmarshal.exe is not in path,
5435 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5437 2006-10-13 Wim Taymans <wim@fluendo.com>
5439 * gst/gstsegment.c: (gst_segment_set_seek):
5440 When seeking to stop -1, set last_stop (current position) to the
5441 duration of the segment.
5443 2006-10-13 Wim Taymans <wim@fluendo.com>
5446 Clarify _NO_PREROLL a bit more.
5451 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5452 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5453 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5454 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5455 due to wrong locking order. Fixes #361769.
5456 Remove some redundant/misplaced checks in pad_block.
5458 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5459 For negative rates, count backwards from the duration.
5461 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5463 * gst/gsterror.c: (_gst_library_errors_init):
5464 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5465 up with something better).
5467 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5469 * win32/vs6/libgstreamer.dsp:
5470 * win32/vs7/libgstreamer.vcproj:
5471 * win32/vs8/libgstreamer.vcproj:
5472 Don't reference glib-compat.c which is currently not used and not
5473 disted; add gstquark.c which was recently added. Fixes #361730.
5475 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5477 * win32/common/libgstbase.def:
5478 * win32/common/libgstcontroller.def:
5479 * win32/common/libgstreamer.def:
5480 Add gst_caps_merge() and a bunch of other recently-added functions.
5483 2006-10-11 Wim Taymans <wim@fluendo.com>
5485 * docs/plugins/gstreamer-plugins.args:
5486 * docs/plugins/inspect/plugin-coreelements.xml:
5487 * docs/plugins/inspect/plugin-coreindexers.xml:
5488 Update element args.
5490 * gst/gstsystemclock.c:
5491 Small comment update.
5493 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5494 (gst_tee_request_new_pad), (gst_tee_release_pad),
5495 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5496 (gst_tee_sink_activate_pull):
5497 * plugins/elements/gsttee.h:
5499 Add default property defines.
5500 Implement release pad function.
5501 Give properties better blubs etc.
5502 Activate pads before adding them to a running tee.
5503 Do simple buffer_alloc on the first requested pad.
5504 Post error when activation fails.
5506 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5508 * gst/gst.c: (ensure_current_registry_forking):
5509 Check return value of write() to make compiler happy.
5511 2006-10-11 Wim Taymans <wim@fluendo.com>
5513 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5515 * plugins/elements/gstqueue.c: (gst_queue_chain):
5516 Recheck queue filledness after signalling the overrun when we're about
5517 to leak downstream because we released the lock when emitting the signal
5518 and the queue could be empty again. Fixes #352345.
5520 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5522 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5523 Fix refcounting here too, just like we did for _new_valist() a few
5524 days ago (#357180) (thanks to René Stadler). Also remove all those
5525 'Since: 0.9' from the gtk-doc blobs.
5527 * tests/check/libs/controller.c: (controller_refcount_new_list),
5528 (gst_controller_suite):
5529 Unit test for the above.
5531 2006-10-10 Wim Taymans <wim@fluendo.com>
5533 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5535 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5536 (gst_pad_save_thyself):
5538 Write pad direction in XML output. Fixes #345496.
5540 2006-10-10 Wim Taymans <wim@fluendo.com>
5542 Patch by: René Stadler <mail at renestadler dot de>
5544 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5545 (gst_controller_new_list), (_gst_controller_dispose),
5546 (_gst_controller_finalize), (_gst_controller_class_init):
5547 Take ref to controlled object so that it cannot disappear.
5550 2006-10-10 Wim Taymans <wim@fluendo.com>
5552 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5553 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5554 (gst_check_teardown_sink_pad):
5555 Activate/deactivate pads in setup/teardown respectively.
5557 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5559 Patch by: Josep Torre Valles <josep@fluendo.com>
5562 Cast values when making gstenumtypes.h. This pacifies Forte
5563 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5566 2006-10-09 Wim Taymans <wim@fluendo.com>
5568 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5569 Rename some more @cur to @start to fix docs.
5571 * gst/gstsegment.c: (gst_segment_set_seek):
5573 time and start must always stay in sync as defined in design doc.
5575 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5576 Rename param to fix docs.
5578 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5579 Check that start and time are in sync.
5581 * tests/check/pipelines/parse-launch.c:
5582 (gst_parse_test_element_change_state):
5583 Activate pad before adding to the element.
5585 2006-10-09 Wim Taymans <wim@fluendo.com>
5587 * docs/design/part-qos.txt:
5592 Update seek event docs regarding negative rates.
5593 Rename @cur to @start.
5595 * gst/gstsegment.c: (gst_segment_set_seek):
5597 Update set_seek docs regarding negative rates.
5598 Correctly update last_stop to @stop when dealing with negative
5600 Rename @cur to @start.
5602 * tests/check/gst/gstpad.c: (GST_START_TEST):
5603 Activate pads before trying to use them.
5605 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5606 (gst_segment_suite):
5607 Add simple check for segments and negative rates.
5609 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5611 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5613 * docs/gst/gstreamer-sections.txt:
5614 API: add gst_tag_list_is_empty() (#360467).
5616 * tests/check/gst/gsttag.c: (GST_START_TEST):
5619 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5622 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5623 a value that doesn't fit on enumeration.
5625 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5627 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5628 Remove local debugging system and use Gstreamer's instead.
5630 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5632 Patch by: Josep Torre Valles <josep@fluendo.com>
5634 * common/m4/gst-error.m4:
5635 Disable warning of statement not reached on Forte.
5637 Fix warning on Forte (value doesn't fit on enumeration).
5638 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5639 Fix warning on Forte (value doesn't fit on enumeration).
5640 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5641 DEBUG macro says it takes minimum of 2 args and so Forte
5642 complains about the use with just 1 arg.
5643 * plugins/elements/gstfdsink.c:
5644 * plugins/elements/gstfdsrc.c:
5645 * plugins/elements/gstfilesink.c:
5646 * plugins/elements/gstfilesrc.c:
5647 Use correct return type for the uri handler implementations.
5649 All these fix warnings in Forte. Fixes bug #360860.
5651 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5654 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5655 format string, so don't use G_GNUC_PRINTF for those versions.
5657 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5659 * gst/gsttaglist.c: (gst_is_tag_list):
5661 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5663 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5664 Small test for the above.
5666 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5669 Less tabs, more spaces.
5671 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5674 Those two function declarations do actually belong there, revert
5675 commit from yesterday that turned them intro macros.
5677 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5679 Patch by: Josep Torre Valles <josep@fluendo.com>
5681 * gst/gst.c: (gst_init_get_option_group):
5682 Fix empty declaration and type mismatch.
5683 * gst/gstbin.c: (gst_bin_change_state_func):
5685 * gst/gstelement.c: (gst_element_continue_state),
5686 (gst_element_set_state_func), (gst_element_change_state),
5687 (gst_element_change_state_func):
5688 Fix type mismatches.
5689 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5690 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5691 Cast as appropriate.
5692 * gst/gstobject.c: (gst_class_signal_connect):
5693 Cast as appropriate. The function pointer parameter really
5694 has the wrong type but would break API if we change it.
5696 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5697 order of including string.h.
5698 * gst/gstutils.c: (gst_element_state_get_name):
5699 Remove unreachable line.
5700 * gst/gstxml.c: (gst_xml_parse_doc):
5702 All these caught by Forte.
5704 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5706 Patch by: Josep Torre Valles <josep@fluendo.com>
5708 * common/m4/gst-error.m4:
5710 We need to disable warnings on Forte for empty declarations
5711 due to gst-indent adding ;s to lines that just use macros
5712 where the macro actually doesn't need a ; at end to end
5715 2006-10-06 Wim Taymans <wim@fluendo.com>
5717 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5718 (gst_file_sink_close_file), (gst_file_sink_event),
5719 (gst_file_sink_render):
5720 Add some FIXME for the NEWSEGMENT handling.
5722 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5724 * gst/parse/grammar.y:
5725 Remove static function gst_parse_element_lock as all it does
5726 is return. Looks like cruft from 0.8.
5728 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5730 Patch by: Josep Torre Valles <josep@fluendo.com>
5732 * common/m4/gst-error.m4:
5734 * libs/gst/net/Makefile.am:
5735 Fix a compilation issue with Forte on Solaris. inet_aton is in
5738 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5740 * gst/gstpad.c: (pre_activate):
5741 * gst/gstregistry.c: (gst_registry_scan_path_level):
5742 * gst/gstregistryxml.c: (load_plugin):
5743 * libs/gst/controller/gstcontroller.c:
5744 (gst_controlled_property_set_interpolation_mode):
5745 * libs/gst/dataprotocol/dataprotocol.c:
5746 (gst_dp_packet_from_event_1_0):
5747 * libs/gst/net/gstnetclientclock.c:
5748 (gst_net_client_clock_observe_times):
5749 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5752 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5755 * docs/gst/gstreamer-sections.txt:
5756 * gst/gstconfig.h.in:
5759 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5760 whether we can use G_GNUC_PRINTF in other header files and at
5761 least check the printf format/arguments of debug messages and
5762 GST_ELEMENT_ERROR messages when the printf extension is not
5764 Replace more tabs with spaces in gstinfo.h and remove two spurious
5765 function declarations in GST_DISABLE_DEBUG part with macros.
5767 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5769 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5770 More docs for the sync-message signal (mention that it is not
5771 emitted by default); log message structures of messages posted on
5774 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5776 * gst/gst.c: (ensure_current_registry_forking):
5777 Use a pipe pair to receive status results from the forked child, and
5778 ignore the result from waitpid. Fixes #355499
5780 2006-10-02 Wim Taymans <wim@fluendo.com>
5782 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5783 (gst_ghost_pad_suite):
5786 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5789 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5791 2006-10-02 Edward Hervey <edward@fluendo.com>
5793 * docs/design/part-block.txt:
5794 Further explain the use of flushing on blocked pads.
5795 * docs/gst/gstreamer-sections.txt:
5796 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5797 (gst_pad_push_event):
5799 Added new GstPadFlag : GST_PAD_BLOCKING.
5800 Adds the notion of pads really blocking, which enables to properly
5801 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5803 API: gst_pad_is_blocking()
5804 API: GST_PAD_IS_BLOCKING() macro
5805 API: GST_PAD_BLOCKING GstPadFlag
5807 2006-10-02 Wim Taymans <wim@fluendo.com>
5809 Patch by: mrcgran <mrc.gran at gmail dot com>
5811 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5812 Filter the proxied caps against the padtemplate if we have one.
5814 * gst/gstquery.c: (gst_query_new_segment):
5815 Add include for gstinfo.h so that compilation with
5816 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5818 2006-10-02 Wim Taymans <wim@fluendo.com>
5820 Patch by: Alessandro Decina <alessandro at nnva org>
5822 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5823 (gst_file_sink_set_location), (gst_file_sink_open_file),
5824 (gst_file_sink_close_file), (gst_file_sink_event),
5825 (gst_file_sink_render):
5826 Set file to NULL when closing filesink so that we can set a new filename
5827 in READY. Fixes #358613.
5829 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5831 Patch by: Alessandro Decina <alessandro at nnva org>
5833 * gst/gstevent.c: (_gst_event_copy):
5834 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5835 with event structures by setting the parent refcount address of the
5836 copied structure to the address of the refcount member of the newly
5837 copied event rather than the address of the refcount member of the
5838 original event. Fixes #358737.
5840 * tests/check/gst/gstevent.c: (GST_START_TEST):
5841 Unit test for the above.
5843 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5845 * docs/design/Makefile.am:
5846 Dist some more files.
5848 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5850 * tests/check/libs/controller.c: (GST_START_TEST),
5851 (gst_controller_suite):
5852 Add test for the previous fix; add some more tests
5853 for correct refcounting behaviour; fix a few leaks
5854 in test cases; call gst_controller_init() at start
5857 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5859 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5860 (gst_controller_set_from_list):
5861 Don't g_return_val_if_fail() on timed values with invalid timestamps
5862 inside a critical section without unlocking the mutex. Spotted by
5863 René Stadler. (#357617)
5864 Also, fix up refcounting properly: when returning an existing
5865 controller, we should increase the reference only once and not
5866 once per property and when trying to control a property again
5867 we should also increase the refcount.
5869 2006-09-29 Wim Taymans <wim@fluendo.com>
5871 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5872 * libs/gst/net/gstnettimeprovider.c:
5873 (gst_net_time_provider_thread):
5874 Stop reading commands when EOF as well.
5876 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5877 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5878 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5879 Unify description of the dump property.
5881 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5883 * tests/examples/manual/.cvsignore:
5884 OK, so it's actually cvsignore that needs changing. Stop laughing.
5886 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5888 * tests/examples/manual/Makefile.am:
5889 Gah, declare vars *before* using them
5891 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5893 * gst/gst.c: (init_pre), (scan_and_update_registry),
5894 (ensure_current_registry_nonforking),
5895 (ensure_current_registry_forking), (ensure_current_registry),
5896 (init_post), (gst_debug_help), (gst_deinit):
5897 * gst/gst_private.h:
5898 * gst/gstregistry.c: (gst_registry_finalize),
5899 (gst_registry_remove_features_for_plugin_unlocked),
5900 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5901 (gst_registry_scan_path),
5902 (_priv_gst_registry_remove_cache_plugins),
5903 (_priv_gst_registry_cleanup):
5904 * gst/gstregistry.h:
5905 Re-commit the registry changes, along with an extra fix:
5906 When a cached plugin is encountered at a different file path,
5907 update the stored path in the registry cache so that the parent
5908 process knows where it actually is now when it re-reads the registry
5909 cache. Fixes the thing that broke distcheck with the previous commit.
5911 * tests/check/Makefile.am:
5912 Clean up files named 'core' too when running make clean.
5914 * tests/examples/manual/Makefile.am:
5915 Set up a registry path for running these tests, and clean it properly
5918 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5921 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5922 want gmodule-no-export-2.0.pc instead so that we don't drag in
5923 --export-dynamic on every project that links to GStreamer.
5925 Also, make our export regex only match the start of symbols, rather
5926 than any symbol that contains '_gst' somewhere.
5928 * libs/gst/check/Makefile.am:
5929 The libgstcheck we build does however need export-dynamic, as it
5930 produces some symbols that don't match our _gst... style regex.
5933 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5935 * gst/gst.c: (init_pre), (scan_and_update_registry),
5936 (ensure_current_registry_nonforking),
5937 (ensure_current_registry_forking), (ensure_current_registry),
5938 (init_post), (gst_debug_help), (gst_deinit):
5939 * gst/gst_private.h:
5940 * gst/gstregistry.c: (gst_registry_finalize),
5941 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5942 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5943 (_gst_registry_cleanup):
5944 * gst/gstregistry.h:
5945 Revert previous change until I figure out why it breaks distcheck.
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):
5954 Make init_pre and init_post take the full complement of GOptionFunc
5955 args so they can return useful GErrors. Make the registry updating
5958 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5959 ensure that the registry we're about to write out doesn't contain
5960 stale information about old-deleted plugin files.
5962 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5963 that deletion of plugin files is considered a registry change.
5965 * gst/gst_private.h:
5966 * gst/gstregistry.c: (gst_registry_finalize),
5967 (gst_registry_remove_features_for_plugin_unlocked),
5968 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5969 (gst_registry_scan_path),
5970 (_priv_gst_registry_remove_cache_plugins),
5971 (_priv_gst_registry_cleanup):
5972 * gst/gstregistry.h:
5973 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5974 by adding _priv prefix, so that they won't appear in the global
5975 symbol table. They still do atm though because of #318031. Move the
5976 prototypes to gst_private.h
5978 When removing a plugin, remove all features for that plugin too.
5981 2006-09-27 Wim Taymans <wim@fluendo.com>
5983 * docs/random/moving-plugins:
5984 Make it clear that the "compiled-in descriptions" really mean
5985 the element details.
5987 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5988 (gst_base_sink_wait_preroll):
5991 * docs/libs/gstreamer-libs-sections.txt:
5992 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5993 (gst_base_src_get_range), (gst_base_src_activate_push):
5994 * libs/gst/base/gstbasesrc.h:
5995 Added function to block while waiting for PLAYING, this function
5996 is used by live sources that block on the clock.
5997 API: gst_base_src_wait_playing()
5999 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6001 Patch by: Peter Kjellerstedt <pkj at axis com>
6004 gst-element-check.m4 is generated and should therefore be
6005 copied from the build dir rather than the source dir (#357593).
6006 'make distcheck' hasn't noticed this because we were disting
6007 the file as well, so stop doing that.
6009 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6011 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6012 Add some tests for gst_caps_intersect().
6014 * tools/gst-launch.c: (event_loop):
6015 Print all buffering percentages we get, even the 100% one.
6017 2006-09-26 Wim Taymans <wim@fluendo.com>
6019 * tools/gst-inspect.c: (print_element_properties_info),
6020 (print_signal_info):
6021 Fix printing of flags to match the look of enums.
6023 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6025 * gst/gstelementfactory.c:
6026 Fix typo in docs blurb.
6028 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6030 * gst/gsturi.c: (search_by_entry):
6031 Don't assert/crash here if a uri handler doesn't return any
6032 supported protocols. The list of protocols could be generated
6033 dynamically at runtime or at plugin registration, and an error
6034 in the underlying library shouldn't be fatal (#353301).
6036 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6039 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6040 (spotted by Peter Kjellerstedt).
6042 2006-09-23 Wim Taymans <wim@fluendo.com>
6044 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6046 * libs/gst/base/gstbasesrc.c:
6047 (gst_base_src_default_check_get_range), (gst_base_src_start),
6048 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6049 (gst_base_src_change_state):
6050 Match _start/_stop calls in the activate functions. Remove redundant
6051 _stop call from the state change function. Fixes #356910.
6052 Turn failure DEBUG into ERROR.
6054 2006-09-22 Wim Taymans <wim@fluendo.com>
6056 * docs/design/part-buffering.txt:
6057 * gst/gstmessage.c: (gst_message_new_buffering),
6058 (gst_message_parse_buffering):
6059 Update docs about buffering.
6061 * docs/design/part-trickmodes.txt:
6064 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6066 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6067 (gst_controller_new_list):
6068 Ref instances when returning them again (fixes #357180)
6070 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6072 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6073 Don't forget to release proxy lock when there's an error.
6075 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6078 Add extra initialisers for Caps things, to fix some plugin warnings
6081 2006-09-18 Wim Taymans <wim@fluendo.com>
6083 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6084 Also set template on the internal pad so that a getcaps from the
6085 target pad returns the template caps.
6087 2006-09-18 Wim Taymans <wim@fluendo.com>
6089 * gst/gstelement.c: (gst_element_post_message),
6090 (gst_element_dispose):
6091 Use _DEBUG_OBJECT some more.
6093 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6096 * tools/gst-launch.c: (main):
6097 If the toplevel element is not a GstPipeline, it must be put in a
6098 pipeline so that a bus and clock is selected.
6100 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6102 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6103 JITTER, RATE, and LATENCY query should be handled by the
6104 default case and not by the CONVERT query code.
6106 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/gstformat.c: (gst_format_register):
6109 Fix locking order (must take lock before using n_values).
6111 * gst/gstvalue.c: (gst_value_serialize_enum),
6112 (gst_value_deserialize_enum_iter_cmp),
6113 (gst_value_deserialize_enum):
6114 Fix serialisation/deserialisation of custom registered GstFormats.
6116 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6117 Unit test for custom format serialisation/deserialisation.
6119 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6121 * docs/pwg/building-boiler.xml:
6122 * plugins/elements/gstcapsfilter.c:
6123 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6126 2006-09-16 Edward Hervey <edward@fluendo.com>
6128 * libs/gst/base/gstbasetransform.c:
6129 (gst_base_transform_buffer_alloc):
6130 Check if requested caps are the same as the sinks caps IF
6131 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6133 This fixes the renegotiation issues stated in #352827.
6135 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6138 * docs/manual/advanced-autoplugging.xml:
6139 * tests/examples/Makefile.am:
6140 * tests/examples/manual/.cvsignore:
6141 * tests/examples/manual/Makefile.am:
6142 * tests/examples/manual/extract.pl:
6143 Extract the manual examples again like we used to do.
6146 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6148 * win32/common/config.h:
6151 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6154 Documents how to receive errors.
6156 2006-09-15 Wim Taymans <wim@fluendo.com>
6158 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6159 (event_loop), (main):
6160 Added some comments here and there.
6161 Post an application message when an interrupt is caught instead of doing
6162 an uncontrolled state change.
6163 Clean up the event loop.
6164 Handle buffering messages, pause/resume the pipeline.
6165 Make shutdown because of an interrupt more reliable.
6167 2006-09-15 Wim Taymans <wim@fluendo.com>
6169 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6170 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6171 (gst_base_sink_preroll_object):
6172 Make sure that our internal state is correct when we commit our state
6173 asynchronously. This solves a race where a state change to PLAYING
6174 could cause the sink to remain blocked in preroll in some situations.
6176 2006-09-15 Wim Taymans <wim@fluendo.com>
6178 * tools/gst-inspect.c: (print_element_properties_info),
6179 (print_signal_info):
6180 List flags as hex so it's easier to deal with.
6182 2006-09-15 Wim Taymans <wim@fluendo.com>
6184 * docs/libs/gstreamer-libs-sections.txt:
6185 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6186 (gst_base_sink_do_sync):
6187 * libs/gst/base/gstbasesink.h:
6188 Expose logic to wait for preroll so that subclasses such as audiosink
6189 can also use this method.
6190 API: gst_base_sink_wait_preroll()
6192 2006-09-15 Wim Taymans <wim@fluendo.com>
6194 * gst/gstobject.c: (gst_object_set_parent):
6195 * gst/gstpipeline.c: (do_pipeline_seek):
6196 Small cleanups in docs and code.
6198 * gst/gstsegment.c: (gst_segment_clip):
6199 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6200 if stop == start and start is in the segment, no clipping should be
6201 done. Also add a test for this.
6203 2006-09-15 Wim Taymans <wim@fluendo.com>
6205 * docs/design/part-buffering.txt:
6206 * docs/gst/gstreamer-sections.txt:
6207 * gst/gstmessage.c: (gst_message_new_buffering),
6208 (gst_message_parse_buffering):
6210 Added methods to create and parse BUFFERING messages.
6211 Added preliminary docs about buffering.
6212 API: gst_message_new_buffering
6213 API: gst_message_parse_buffering
6215 2006-09-06 Wim Taymans <wim@fluendo.com>
6218 Update documentation.
6220 * gst/gstelement.c: (gst_element_class_init),
6221 (gst_element_release_request_pad), (gst_element_set_clock),
6222 (gst_element_get_index), (gst_element_add_pad),
6223 (gst_element_remove_pad), (gst_element_get_random_pad),
6224 (gst_element_send_event), (gst_element_get_query_types),
6225 (gst_element_query), (gst_element_post_message),
6226 (gst_element_message_full), (gst_element_continue_state),
6227 (gst_element_lost_state), (gst_element_save_thyself),
6228 (gst_element_restore_thyself):
6229 Documentation updates.
6230 Rename last bit of the new-pad -> pad-added signal rename.
6231 Fix the case where an element query would only work if the source
6233 Avoid some useless type checking in message handling.
6238 Documentation updates.
6240 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6242 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6243 add an INFO line for when we actually update the fd
6245 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6250 === release 0.10.10 ===
6252 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6255 releasing 0.10.10, "Pais"
6257 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6259 * docs/manual/advanced-position.xml:
6260 Fix typo in sample code.
6262 2006-09-05 Wim Taymans <wim@fluendo.com>
6264 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6265 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6266 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6267 * libs/gst/net/gstnetclientclock.h:
6268 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6269 * libs/gst/net/gstnettimepacket.h:
6270 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6271 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6272 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6273 * libs/gst/net/gstnettimeprovider.h:
6274 Make stuff compile on windows. Fixes #345295.
6276 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6278 * gst/gst.c: (ensure_current_registry_forking):
6279 Print better details when child was terminated by signal.
6281 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6283 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6284 Print a warning rather than g_assert() if a plugin feature
6285 is a URI handler but returns no protocols (#353976).
6287 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6289 * docs/random/moving-plugins:
6292 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6294 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6295 Fix locking order, handle NULL function values properly.
6300 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6301 Initialise variable before using it and fix debug statement to
6302 print the address of the function rather than the address of the
6303 variable on the stack holding the address of the function.
6305 2006-09-01 Wim Taymans <wim@fluendo.com>
6307 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6308 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6309 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6310 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6311 (gst_ghost_pad_parent_unset),
6312 (gst_ghost_pad_internal_do_activate_push),
6313 (gst_ghost_pad_internal_do_activate_pull),
6314 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6315 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6316 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6317 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6318 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6319 (gst_ghost_pad_new_no_target_from_template),
6320 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6322 Avoid needless typechecking in macros.
6323 Since the internal pad is always present and never changes, there is
6324 no need to locking or ref when retrieving it.
6325 Improve debugging a bit.
6326 Handle link errors when setting the target. Fixes #341029.
6328 2006-09-01 Wim Taymans <wim@fluendo.com>
6330 * docs/libs/gstreamer-libs-sections.txt:
6331 * docs/plugins/gstreamer-plugins-sections.txt:
6334 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6335 (gst_collect_pads_event):
6336 * libs/gst/base/gstcollectpads.h:
6337 Documentation updates.
6338 Free queued buffer when removing a pad.
6340 2006-08-31 Michael Smith <msmith@fluendo.com>
6342 * gst/gstutils.c: (gst_element_link_pads),
6343 (gst_element_link_pads_filtered):
6344 Ensure that we set a capsfilter to NULL if we failed to link it
6345 when doing filtered linking, to avoid criticals.
6347 No need to check for unreffing srcpad, which is explicly NULLed
6348 above (a trivial code cleanup).
6350 2006-08-31 Wim Taymans <wim@fluendo.com>
6352 * docs/design/part-gstghostpad.txt:
6353 Update ascii art in documentation.
6355 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6356 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6357 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6358 (gst_ghost_pad_internal_do_activate_push),
6359 (gst_ghost_pad_internal_do_activate_pull),
6360 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6361 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6362 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6363 (gst_ghost_pad_set_target):
6364 Small cleanups and leak fixes.
6365 Remove some checks now that the internal pad is never NULL.
6366 Fix the case where linking pads without a target would create nasty
6367 criticals. Fixes #341029.
6368 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6369 value of _set_target().
6371 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6372 (gst_ghost_pad_suite):
6373 Some more tests for creating and linking untargeted ghostpads.
6375 2006-08-31 Edward Hervey <edward@fluendo.com>
6377 * docs/gst/gstreamer-sections.txt:
6378 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6379 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6380 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6381 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6382 (gst_ghost_pad_new_from_template),
6383 (gst_ghost_pad_new_no_target_from_template):
6384 * gst/gstghostpad.h:
6385 Refactored *_new() functions.
6386 Templates are now used as a g_object_new() parameter.
6387 Use template in _do_getcaps() if we don't have a target.
6388 Small documentation cleanups.
6389 Added two new constructors:
6390 gst_ghost_pad_new_from_template()
6391 gst_ghost_pad_new_no_target_from_template()
6392 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6393 (gst_ghost_pad_suite):
6394 Added tests for new ghostpad instanciation functions.
6396 API additions: gst_ghost_pad_new_from_template,
6397 gst_ghost_pad_new_no_target_from_template
6399 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6401 * docs/random/ensonic/profiling.txt:
6402 Ideas about qos profiling.
6404 2006-08-29 Wim Taymans <wim@fluendo.com>
6406 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6410 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6413 Improve and detypofy docs.
6415 * tests/check/Makefile.am:
6416 * tests/check/gst/.cvsignore:
6417 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6418 Add a basic test suite for GstXML.
6420 2006-08-29 Wim Taymans <wim@fluendo.com>
6422 * gst/gstelement.c: (activate_pads), (clear_caps),
6423 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6424 Clear the pad caps when the element shut down all of the pads and
6425 is not streaming data that could modify the caps.
6428 2006-08-28 Michael Smith <msmith@fluendo.com>
6430 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6431 Revert previous change; I misunderstood single-segment mode.
6433 2006-08-28 Michael Smith <msmith@fluendo.com>
6435 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6436 Unset DISCONT on buffers when using single-segment mode.
6438 2006-08-28 Wim Taymans <wim@fluendo.com>
6440 * gst/gstcaps.c: (gst_caps_merge_structure):
6442 Fix docs and indentation again.
6444 * tests/check/gst/gstquery.c: (GST_START_TEST):
6445 Fix leak in tests and add some more tests.
6447 2006-08-28 Edward Hervey <edward@fluendo.com>
6449 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6450 Inform GstSegment of the last stop position in order for the current
6451 segment to have a proper duration if it doesn't have a specific stop
6452 position from which a duration could be calculated.
6453 This bug was noticeable when a non-flushing, non-update new segment was
6454 followed by another segment (all buffers from the new segment were being
6457 2006-08-28 Wim Taymans <wim@fluendo.com>
6459 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6460 Small comment update.
6462 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6463 (gst_identity_transform_ip):
6464 Drop-probability is broken, mention this in the code with a
6465 FIXME and also in the property description.
6466 Make silent also be silent about the drop messages.
6468 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6470 * docs/manual/appendix-win32.xml:
6471 Remove mention of popt, we don't depend on that any
6472 longer (#353136). Add some comments pointing out that
6473 this section is slightly outdated.
6475 2006-08-28 Wim Taymans <wim@fluendo.com>
6477 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6479 * gst/gstquery.c: (gst_query_new_segment):
6480 * tests/check/gst/gstquery.c: (GST_START_TEST):
6481 Initialize variables when creating a new segment query.
6484 2006-08-28 Wim Taymans <wim@fluendo.com>
6486 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6488 * gst/gstelement.c: (gst_element_get_bus):
6489 * tests/check/gst/gstelement.c: (GST_START_TEST):
6490 Check for NULL before _reffing the bus. Fixes #353122.
6492 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6494 * docs/manual/basics-bus.xml:
6495 Docs update: fix wrong callback return value explanation; add
6496 some lines about the implicit relationship between main loop
6497 and main context; remove duplicate main loop variable declaration.
6499 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6501 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6502 Don't leak caps in unit test; add a few more simple
6505 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6507 * docs/gst/gstreamer-sections.txt:
6508 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6509 (gst_caps_structure_is_subset), (gst_caps_merge),
6510 (gst_caps_merge_structure):
6512 * libs/gst/base/gstbasetransform.c:
6513 (gst_base_transform_transform_caps):
6514 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6515 implement caps merging (fixes #352580)
6517 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6519 * tools/Makefile.am:
6520 * tools/gst-plot-timeline.py:
6521 add debug-log plotting developer tool (#340674)
6523 2006-08-23 Wim Taymans <wim@fluendo.com>
6525 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6526 (gst_pad_stop_task):
6527 Improve debugging for task functions.
6529 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6530 (gst_task_start), (gst_task_pause), (gst_task_join):
6531 Make sure that the task function started and finished after a
6533 Don't try to push the task function on the threadpool multiple
6535 Improve the g_warning message with some useful suggestions
6536 about how to fix the problem.
6538 2006-08-23 Wim Taymans <wim@fluendo.com>
6540 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6541 Handle RESYNC correctly in _proxy_getcaps.
6543 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6545 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6546 (gst_xml_parse_memory), (gst_xml_get_element):
6547 Chain up to parent class in dispose function and also
6548 unref the elements in the toplevel_elements GList.
6549 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6550 Always return a reference in gst_xml_get_element() rather
6551 than only sometimes.
6553 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6554 Don't leak GstXml object.
6556 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6558 * docs/gst/gstreamer-sections.txt:
6559 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6562 * libs/gst/base/gstbasetransform.c:
6563 (gst_base_transform_transform_caps):
6564 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6567 2006-08-21 Edward Hervey <edward@fluendo.com>
6569 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6570 Implement GObject::dispose virtual method in GstXML so we can free the
6573 2006-08-21 Wim Taymans <wim@fluendo.com>
6575 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6576 (gst_buffer_create_sub):
6577 Copy duration/offset_end/caps when creating a subbuffer of the
6579 Make the subbuffer read-only when we make the metadata writable for
6582 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6583 Added check for metadata copy when creating subbuffers.
6585 2006-08-21 Edward Hervey <edward@fluendo.com>
6587 * libs/gst/base/gstbasetransform.c:
6588 (gst_base_transform_buffer_alloc):
6589 Only call downstream buffer_alloc if transform element is passthrough
6590 or always_in_place. Closes #350449.
6592 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6595 ChangeLog surgery to add comments to previous changes
6597 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6602 * gst/gstpad.c: (gst_pad_set_active):
6603 Be more verbose in the log
6605 * libs/gst/base/gstbasetransform.c:
6606 (gst_base_transform_transform_caps):
6607 Simplify caps to get rid of duplicates, fixes #345444
6609 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6613 Use these optimizations only internally.
6615 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6617 * gst/gstvalue.c: (gst_value_compare_list),
6618 (gst_value_compare_fraction_range),
6619 (gst_value_intersect_fraction_fraction_range),
6620 (gst_value_intersect_fraction_range_fraction_range),
6621 (gst_value_subtract_fraction_fraction_range),
6622 (gst_value_subtract_fraction_range_fraction_range),
6623 (gst_value_get_compare_func), (gst_value_compare),
6624 (gst_value_compare_with_func):
6626 Saves the expensive lookup of the compare function in many cases
6629 2006-08-18 Edward Hervey <edward@fluendo.com>
6631 * tests/check/gst/gstinfo.c: (gst_info_suite):
6632 Disable test that require gstdebug if it wasn't built in core.
6634 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6636 * docs/random/ensonic/logging.txt:
6639 * gst/gstinfo.c: (gst_debug_log_default):
6640 reorder fields, save some columns, add optional color codes for log
6643 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6645 * docs/random/ensonic/logging.txt:
6646 add ideas about making the logs a bit more useful
6648 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6650 * docs/pwg/advanced-events.xml:
6651 * docs/pwg/titlepage.xml:
6652 Update for 0.10 API (#340627). Add myself
6655 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6657 * docs/libs/gstreamer-libs-docs.sgml:
6658 * docs/libs/gstreamer-libs-sections.txt:
6659 * libs/gst/check/gstbufferstraw.c:
6660 Make gstcheck stuff show up in docs (still needs to
6661 be documented properly though).
6663 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6665 * docs/gst/gstreamer-sections.txt:
6667 * gst/gst.c: (init_post):
6668 * gst/gst_private.h:
6669 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6671 * gst/gstquery.c: (gst_query_new_position),
6672 (gst_query_set_position), (gst_query_parse_position),
6673 (gst_query_new_duration), (gst_query_set_duration),
6674 (gst_query_parse_duration), (gst_query_new_convert),
6675 (gst_query_set_convert), (gst_query_parse_convert),
6676 (gst_query_new_segment), (gst_query_set_segment),
6677 (gst_query_parse_segment), (gst_query_new_seeking),
6678 (gst_query_set_seeking), (gst_query_parse_seeking):
6679 Add internal helpers for pre-registering quarks from static strings
6680 and using the quark values directly instead of looking them up when
6681 creating and parsing queries. Can be used for event construction too.
6684 2006-08-16 Wim Taymans <wim@fluendo.com>
6689 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6691 * gst/gstutils.c: (gst_util_set_value_from_string):
6692 Fix memleak (#351502).
6694 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6695 Add unit test for most of gst_util_set_value_from_string()
6696 (not that one would want to encourage use of this function).
6698 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6700 * libs/gst/check/gstcheck.h:
6701 Use const gchar * variables in fail_unless_equals_string
6702 macro to avoid compiler warnings (and don't use tabs for
6705 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6707 * tools/gst-launch.c: (print_tag):
6708 More space on the left for the tag names, to cater
6709 for the 'extended comment' tag (not touching the
6710 string for the first line since it's translated).
6712 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6714 * libs/gst/check/gstcheck.h:
6715 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6716 print something when they fail.
6718 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6720 * docs/gst/gstreamer-sections.txt:
6721 * gst/gsttaglist.c: (_gst_tag_initialize):
6723 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6724 Also change merge function for GST_TAG_COMMENT to
6727 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6729 * gst/gstinfo.c: (gst_debug_print_object):
6730 Make GST_PTR_FORMAT print messages as well.
6732 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6733 (GST_START_TEST), (gst_info_suite):
6736 2006-08-14 Edward Hervey <edward@fluendo.com>
6738 * gst/gstelementfactory.c: (gst_element_register):
6739 If the GstElementClass doesn't have a GstElementDetails with all fields
6740 filled up correctly (longname, description AND author), then error out
6741 nicely instead of crashing.
6743 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6745 * gst/gststructure.c:
6746 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6749 Expand on the difference between arrays and lists as we use them.
6751 2006-08-14 Wim Taymans <wim@fluendo.com>
6753 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6754 If the parent state change function failed, don't assume we can safely
6755 stop the source, this will be done when the pads are deactivated.
6757 2006-08-14 Wim Taymans <wim@fluendo.com>
6760 * gst/gsttask.c: (gst_task_join):
6763 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6764 (gst_pad_stop_task):
6765 When pad (de)activation failed for some reason, restore the old
6766 activation mode and set the pad to flushing instead of assuming the
6768 If the _task_join() failed, reinstall the task on the pad so that it can
6769 be stopped later and return an error.
6771 2006-08-11 Andy Wingo <wingo@pobox.com>
6774 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6775 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6776 is only for users of API that don't want to see deprecated
6777 functions in the headers; people that want to compile out
6778 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6779 CFLAGS. Fixes the build of multifdsink, or will soon..
6781 2006-08-11 Wim Taymans <wim@fluendo.com>
6783 * docs/gst/gstreamer-sections.txt:
6784 Add GstClockClass vmethod docs.
6787 Mark #endif with comment for associated #if
6789 * gst/gstclock.c: (gst_clock_id_wait):
6791 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6792 most clock implementations.
6794 Flesh out docs about resolution methods.
6795 API: GstClockClass::wait_jitter
6797 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6798 (gst_system_clock_async_thread),
6799 (gst_system_clock_id_wait_jitter_unlocked),
6800 (gst_system_clock_id_wait_jitter):
6801 Use base class wait_jitter variant for improved performance
6802 due to less clock polling.
6804 2006-08-11 Edward Hervey <edward@fluendo.com>
6806 * gst/gst.c: (gst_init_check), (init_post):
6807 Set gst as being initialized before scanning/updating the registry,
6808 since there might be my python plugin loader that calls gst_init() and
6809 we don't want to loop back in.
6812 2006-08-11 Wim Taymans <wim@fluendo.com>
6814 * docs/design/part-qos.txt:
6815 Bring docs in line with the code. Mostly the sign of the jitter was
6816 wrong in the docs. Fixes #349943.
6819 Fix the docs for the jitter.
6821 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6822 (gst_event_parse_tag), (gst_event_new_buffer_size),
6823 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6824 (gst_event_new_seek), (gst_event_parse_seek),
6825 (gst_event_new_navigation):
6826 Make sure the GstStructure has no parent when creating custom
6828 Add some more argument checking so that we avoid 0.0 rates.
6829 Flesh out the docs for the QoS event some more.
6831 2006-08-11 Wim Taymans <wim@fluendo.com>
6833 * docs/gst/gstreamer-sections.txt:
6834 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6835 (ensure_current_registry_forking), (ensure_current_registry),
6836 (parse_one_option), (parse_goption_arg), (gst_deinit),
6837 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6840 Added API and command line option to disable registry forking in
6841 addition to the environment variable.
6842 Constify some static arrays.
6843 Added some more debug.
6845 API: gst_registry_fork_is_enabled()
6846 API: gst_registry_fork_set_enabled()
6847 API: --gst-disable-registry-fork command line option
6850 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6852 * gst/gst.c: (gst_init):
6853 Fix typo in error message.
6855 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6857 * libs/gst/controller/gstcontroller.h:
6858 fix ABI size-correction
6860 * tests/check/libs/gdp.c: (gst_dp_suite):
6861 make tests that use deprecated API conditional
6863 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6865 * docs/libs/gstreamer-libs-sections.txt:
6866 * libs/gst/controller/gstcontroller.c:
6867 (_gst_controller_get_property), (_gst_controller_set_property),
6868 (_gst_controller_init), (_gst_controller_class_init):
6869 * libs/gst/controller/gstcontroller.h:
6870 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6871 (gst_object_set_control_rate):
6872 API: add gst_object_{s,g}et_control_rate(), add private data section,
6875 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6876 * libs/gst/dataprotocol/dataprotocol.h:
6877 add deprecation guards to make gtk-doc happy and allow disabling cruft
6879 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6881 * tests/check/Makefile.am:
6882 * tests/check/gst/.cvsignore:
6883 Let's enable the new unit test as well.
6885 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6888 * docs/gst/gstreamer-sections.txt:
6889 * gst/gstconfig.h.in:
6890 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6891 (_gst_info_printf_extension_ptr),
6892 (_gst_info_printf_extension_segment):
6893 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6894 register that lets us easily dump GstSegments into debug
6897 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6898 (info_segment_format_printf_extension), (gst_info_suite):
6899 Add simple unit test that logs a bunch of different segments (not
6900 valgrinded at the moment because of leaks in
6901 gst_debug_add_log_function).
6903 2006-08-09 Edward Hervey <edward@fluendo.com>
6905 * libs/gst/base/gstbasetransform.c:
6906 (gst_base_transform_buffer_alloc):
6907 Even if we can't figure out the proper format to request downstream,
6908 call buffer_alloc() downstream with the input parameters without setting
6909 the caps on the srcpad. This will force negotiation in the chain
6913 2006-08-08 Edward Hervey <edward@fluendo.com>
6915 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6916 Unlinking from a pad without a target is now a perfectly valid case
6917 which should NOT raise an assertion.
6918 This case would happen if a linked ghostpad its target set to NULL after
6919 it was previously linked.
6921 2006-08-08 Edward Hervey <edward@fluendo.com>
6923 * tests/check/libs/gdp.c:
6924 Also comment out the test (see below).
6926 2006-08-08 Edward Hervey <edward@fluendo.com>
6928 * tests/check/libs/gdp.c: (gst_dp_suite):
6929 Use the architecture information from config.h and not gcc macros
6930 in order to properly disable a test that fails on PPC64.
6932 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6934 * gst/gstelement.c: (gst_element_remove_pad):
6935 Don't crash printing the warning if the pad has no parent.
6937 2006-08-02 Wim Taymans <wim@fluendo.com>
6939 * libs/gst/dataprotocol/dataprotocol.c:
6940 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6941 (gst_dp_crc), (gst_dp_header_payload_length),
6942 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6943 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6944 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6945 (gst_dp_event_from_packet), (gst_dp_validate_header),
6946 (gst_dp_validate_payload):
6947 Make debug category static
6948 Constify the crc table.
6949 Do some more arg checking in public functions.
6950 Fix some docs and do some small cleanups.
6952 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6953 Add some more checks to see if GDP deals with bogus input.
6955 2006-07-31 Wim Taymans <wim@fluendo.com>
6957 * gst/gstvalue.c: (gst_value_compare_list):
6958 Fix GstValueList comparison code. Fixes #347293.
6960 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6961 Check to test GstValueList comparison.
6963 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6965 * gst/gstelementfactory.c: (gst_element_factory_create):
6966 Remove unnecessary ref/unref pair
6968 * gst/parse/grammar.y:
6969 Make sure to free the parse buffer on all code paths.
6970 Move a g_free up to the error handler where it's easier to see.
6972 * tests/check/gst/gstevent.c: (test_event):
6973 Extending timeout for downstream travelling events to 10 seconds to
6974 hopefully avoid intermittent failure on the buildbots.
6976 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6977 Don't manually set the state of the src element - it will happen as a
6978 natural consequence of the pipeline changing state, and that way it
6979 will do it in the right order too.
6981 2006-07-31 Wim Taymans <wim@fluendo.com>
6983 * libs/gst/base/gstbasetransform.c:
6984 (gst_base_transform_buffer_alloc):
6985 Use OBJECT_LOCK and refcounting to get the pad caps in the
6986 buffer_alloc function because the caps could change while we are
6987 busy with them. Fixes #349105
6989 2006-07-31 Wim Taymans <wim@fluendo.com>
6991 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6992 Protect _PAD_CAPS with OBJECT_LOCK.
6994 2006-07-31 Wim Taymans <wim@fluendo.com>
6996 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6997 (gst_pad_get_property), (gst_pad_activate_pull),
6998 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6999 (gst_pad_set_activate_function),
7000 (gst_pad_set_activatepull_function),
7001 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7002 (gst_pad_set_getrange_function),
7003 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7004 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7005 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7006 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7007 (gst_pad_set_acceptcaps_function),
7008 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7009 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7010 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7011 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7012 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7013 (gst_pad_configure_sink), (gst_pad_configure_src),
7014 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7015 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7016 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7017 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7018 (gst_pad_send_event):
7019 Use _DEBUG_OBJECT when it makes sense.
7020 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7021 Small cleanups and code reflows.
7022 Avoid caps refcounting in _accept_caps.
7023 Refactor alloc_buffer so that the code performed on the peer is in a
7024 separate function. Also if the pad does not implement a buffer alloc
7025 function, we should still check if the pad is flushing before falling
7026 back to the default allocator.
7028 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7030 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7031 Make all uses of identity and fakesink have silent=true to avoid
7032 serialising every passing data structure, which is breaking tests
7033 on FC4 for some unknown reason.
7035 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7037 * gst/parse/Makefile.am:
7038 * gst/parse/grammar.y:
7039 * gst/parse/parse.l:
7040 Reverted previous patch as it required to bump the flex dependency to
7041 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7043 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7045 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7047 * gst/parse/Makefile.am:
7048 * gst/parse/grammar.y:
7049 * gst/parse/parse.l:
7050 push & pop the state of the lexer for reentrant use case
7053 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7055 * libs/gst/base/gstbasesrc.h:
7056 Note in the docs that the ::newsegment vfunc is not actually used by
7059 2006-07-28 Wim Taymans <wim@fluendo.com>
7061 * libs/gst/base/gstcollectpads.c:
7062 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7063 (gst_collect_pads_clear), (gst_collect_pads_flush),
7064 (gst_collect_pads_event), (gst_collect_pads_chain):
7065 When flushing a pad, also clear the queued buffer so that we don't
7066 accidentally use it when we shouldn't.
7067 Fix leaks by inreffing incomming buffer.
7068 Flush out queued buffers in case of errors.
7071 2006-07-28 Wim Taymans <wim@fluendo.com>
7073 * docs/random/phonon-gst:
7074 Random notes about a Phonon backend.
7076 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7078 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7080 * tests/check/libs/gdp.c: (gst_dp_suite):
7081 Take a whack at fixing the ppc compile using a different define to
7082 disable the broken test.
7084 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7085 Remove excess g_print()
7087 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7089 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7090 Oops, meant to uncomment this line too to dampen the noise a bit.
7092 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7094 * gst/parse/grammar.y:
7095 * gst/parse/parse.l:
7096 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7097 (GST_START_TEST), (parse_suite):
7098 Fix some of the leaks exposed by extending the parse-launch testsuite,
7099 and move the 3 I can't figure out into a separate test that won't run
7100 the pipelines unless the appropriate line is uncommented.
7102 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7104 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7105 Requesting 0 bytes before the end of the file should result in
7106 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7109 2006-07-27 Wim Taymans <wim@fluendo.com>
7111 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7112 Fix useless assert, a uint is always positive.
7114 * gst/gststructure.c: (gst_structure_nth_field_name),
7115 (gst_structure_foreach), (gst_structure_map_in_place):
7116 Check input arguments for public functions to avoid obvious crashes.
7118 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7119 * plugins/elements/gstfakesink.h:
7120 Do less useless typechecking.
7122 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7124 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7125 Do not use mmap() by default since there are a number of error
7126 conditions that we would like to handle in a non-fatal way that
7127 will result in a SIGBUS if we use mmap(). Examples: external
7128 devices (USB harddrive, portable music player) being unplugged
7129 while in use; file on mounted CD/DVD that can't be read because
7130 the medium is partly damaged. Fixes #348455 and #348475.
7132 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7135 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7138 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7140 * gst/gstregistry.c:
7141 Move big documentation comment into class section header, so that it
7142 appears in the API docs.
7144 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7146 * docs/gst/gstreamer-sections.txt:
7147 Oops. Commit the docs additions too for new API.
7148 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7150 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7152 * gst/gststructure.c: (gst_structure_id_set),
7153 (gst_structure_id_set_valist):
7154 * gst/gststructure.h:
7155 Add API for setting values into structures without performing
7156 a quark lookup, if the appropriate quark is already known.
7158 API: gst_structure_id_set
7159 API: gst_structure_id_set_valist
7161 * gst/parse/grammar.y:
7162 * gst/parse/parse.l:
7163 Remove some dead code shown by the coverage information.
7164 Don't throw a critical g_warning when encountering a syntax error,
7165 just warn and let the normal error path handle it.
7167 * plugins/elements/gstelements.c:
7168 Bump the rank of filesink up to PRIMARY so that it is preferred over
7169 gnomevfssink for file:// sink uri's
7171 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7172 (GST_START_TEST), (run_delayed_test),
7173 (gst_parse_test_element_base_init),
7174 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7175 (gst_parse_test_element_change_state),
7176 (gst_register_parse_element), (parse_suite):
7177 Beef up the tests for parse syntax to check that more error cases
7178 fail as they are supposed to. Increases the test coverage a bit.
7180 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7182 * docs/manual/basics-elements.xml:
7183 Fix gst_element_link() example.
7186 Mention in API docs that one should usually gst_bin_add()
7187 elements to a bin or pipeline before doing the linking.
7189 2006-07-26 Wim Taymans <wim@fluendo.com>
7191 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7192 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7193 Avoid function call for known types by keeping the buffer and
7194 subbuffer GType global.
7196 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7197 Random silly optimisations in read() path.
7199 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7201 * tools/gst-launch.c: (main):
7202 If the top-level of the parse is a normal bin, it doesn't do the
7203 right logic to run as a top-level element, so place it inside a
7206 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7208 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7209 Remove superfluous g_object_notify() calls, GObject does
7210 that for us automatically.
7212 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7215 on Win32, use dllspec to export the debug category symbols
7217 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7219 * gst/gsttaglist.c: (_gst_tag_initialize):
7220 Allow more than one GST_TAG_IMAGE per taglist.
7222 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7224 * gst/gstminiobject.c:
7226 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7227 (gst_fd_src_create):
7228 log recurring events at LOG level
7229 add more debug for when the fd gets set
7231 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7233 * gst/gstparse.c: (gst_parse_launch):
7234 Also remove reentrance checks if flex is MT safe (#348179)
7235 Fix my empty ChangeLog entry below
7237 2006-07-21 Andy Wingo <wingo@pobox.com>
7239 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7241 * libs/gst/check/Makefile.am
7242 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7243 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7244 * libs/gst/check/gstbufferstraw.h:
7245 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7246 functions, thus proving I am still a GStreamer haxor. OK I wrote
7247 them a long time ago, but anyways.
7249 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7252 * gst/gstparse.c: (gst_parse_launch):
7253 Check for flex version and omit mutex if we have a MT save flex
7256 2006-07-21 Wim Taymans <wim@fluendo.com>
7258 * gst/gstparse.c: (gst_parse_launch):
7259 Protect recursive calls to _parse with a recursive mutex
7262 2006-07-21 Wim Taymans <wim@fluendo.com>
7264 * tests/check/gst/gstpad.c: (GST_START_TEST):
7267 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7269 * gst/gstparse.c: (gst_parse_launch):
7270 Do not hang on recursive usage of gst_parse_launch()
7272 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7275 Add some more docs, comments and FIXME 0.11s here and there
7276 and also fix some typos.
7278 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7281 Convert tabs to spaces for better readability.
7283 2006-07-20 Edward Hervey <edward@fluendo.com>
7285 * tests/check/libs/gdp.c: (gst_dp_suite):
7286 the test_buffer test fails at line 140 on ppc64 at the following
7288 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7289 GST_BUFFER_FLAG_IN_CAPS),
7290 "GST_BUFFER_IN_CAPS flag should have been copied !");
7291 See bug #348114 for more details.
7293 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7295 * docs/pwg/advanced-scheduling.xml:
7297 Fix typos (#348000).
7299 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7301 * docs/pwg/intro-basics.xml:
7302 Fix wrong links (#347927).
7304 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7306 * gst/gstregistry.h:
7307 * gst/gstregistryxml.c: (load_feature),
7308 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7309 * win32/common/config.h:
7310 make --disable-index work (#342564)
7312 2006-07-18 Wim Taymans <wim@fluendo.com>
7314 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7318 The attached patch adds two missing defines to gsttrace.h when tracing
7319 is disabled. It also corrects one existing define.
7322 2006-07-17 Wim Taymans <wim@fluendo.com>
7324 * docs/gst/gstreamer-sections.txt:
7325 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7327 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7328 Add two functions to check and change the SIGSEGV behaviour
7329 when loading plugins.
7330 Don't mess with the SIGSEGV handler when we were told not to.
7332 API: gst_segtrap_is_enabled
7333 API: gst_segtrap_set_enabled
7335 2006-07-14 Wim Taymans <wim@fluendo.com>
7337 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7338 * tests/check/elements/filesrc.c: (GST_START_TEST):
7339 Revert fix for regression in #347408 after release.
7341 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7343 Patch by: Antoine Tremblay <hexa00 at gmail com>
7345 * gst/gstutils.c: (gst_element_unlink):
7346 Free iterator when done (#347311).
7348 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7349 And add a test case for this.
7351 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7354 Bump nano back to CVS
7356 === release 0.10.9 ===
7358 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7361 releasing 0.10.9, "On the road again"
7363 2006-07-13 Wim Taymans <wim@fluendo.com>
7365 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7366 * tests/check/elements/filesrc.c: (GST_START_TEST):
7367 Revert pull-0 fix for release. Disable check. Fixes #347408.
7369 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7371 * libs/gst/dataprotocol/dataprotocol.c:
7372 (gst_dp_event_from_packet_1_0):
7373 Fixes #347337: failure to deserialize event packets with
7374 empty payload (only event type)
7376 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7379 do not install a .c file in the header directory
7381 2006-07-13 Edward Hervey <edward@fluendo.com>
7383 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7384 GhostPad no longer implicitely use the padtemplates of the targets.
7387 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7389 * gst/gstvalue.c: (gst_value_compare_list),
7390 (gst_value_compare_array), (_gst_value_initialize):
7391 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7392 Make GstValueArray comparison be order dependent as designed.
7393 Add checks for value lists and value array comparisons.
7396 2006-07-11 Edward Hervey <edward@fluendo.com>
7398 * gst/gstbin.c: (activate_pads),
7399 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7400 (gst_bin_change_state_func):
7401 (de)activate src pads before calling state_change on the childs.
7402 This is to avoid the case where a src ghostpad is blocked (holding the
7403 stream lock), which would block the deactivation of the ghostpad's
7405 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7406 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7407 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7408 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7409 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7410 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7411 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7412 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7413 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7414 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7415 (gst_ghost_pad_class_init),
7416 (gst_ghost_pad_internal_do_activate_push),
7417 (gst_ghost_pad_internal_do_activate_pull),
7418 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7419 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7420 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7421 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7422 GhostPads now create their internal GstProxyPad at creation (and not
7423 when they're linked, as it was being done previously).
7424 The internal and target pads are linked straight away.
7425 The data will also travel through the other pad in order to make
7426 pad blocking and probes non-hackish (the probe/block now really happens
7427 on the GhostPad and not on the target).
7428 * gst/gstpad.c: (gst_pad_set_blocked_async),
7429 (gst_pad_link_prepare), (gst_pad_push_event):
7430 Remove previous ghostpad cruft.
7431 * gst/gstutils.c: (gst_pad_add_data_probe),
7432 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7433 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7434 (gst_pad_remove_buffer_probe):
7435 Remove previous ghost pad cruft.
7436 Added more detailed debug statements.
7437 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7438 Fix the testsuite for refcounting changes.
7439 The comments about who has references were correct, but the refcount
7440 being checked wasn't the same (!?!).
7444 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7446 * docs/gst/gstreamer-sections.txt:
7447 * gst/gstconfig.h.in:
7448 More docs for configuration options, add docs to gtk-doc.
7450 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7453 * gst/gstconfig.h.in:
7454 * win32/common/config.h:
7455 Fix build when disabling tracing (fixes #344016). Also start to document
7456 the defines that disable the sub-systems.
7458 2006-07-10 Edward Hervey <edward@fluendo.com>
7460 * gst/gst.c: (ensure_current_registry_forking):
7461 let's make valgrind happy...
7463 2006-07-09 Wim Taymans <wim@fluendo.com>
7465 * gst/gstelement.c: (activate_pads),
7466 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7467 Better pad activation code: Reset the collect value too on resync.
7470 2006-07-09 Wim Taymans <wim@fluendo.com>
7472 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7473 (gst_pad_activate_push):
7474 Use some more macros where it makes sense.
7475 Allow pad mode switching instead of asserting. When a pad
7476 is activated in one mode and we activate it in another,
7477 deactivate it first before activating it in a different mode.
7480 2006-07-08 Andy Wingo <wingo@pobox.com>
7482 * tools/gst-launch.c (main): Handle err == NULL.
7484 * gst/gst.c (init_post, ensure_current_registry)
7485 (ensure_current_registry_forking)
7486 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7487 factoring out the registry scanning into separate functions. Don't
7488 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7489 Better environment var name/interface suggestions accepted.
7491 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7493 * gst/gstobject.c: (gst_object_set_name_default),
7494 (gst_object_set_name):
7495 Random micro-optimisation: don't use a hash table
7496 with strings as keys and the usual strdup/strcmp
7497 involved, but rather just use the GQuark of the
7498 type name as key, since it needs to be looked up
7499 anyway to get the type name string.
7501 * tests/check/gst/gstobject.c: (GST_START_TEST):
7504 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7506 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7507 (gst_bin_iterate_all_by_interface):
7508 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7509 GTypes are gulongs and thus the top 4 bytes might be cut
7510 off on some platforms when doing GPOINTER_TO_INT, leading
7511 to invalid GTypes and bad things happening (see RH bug #179654).
7512 Also add a check to make sure the type passed in is really
7515 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7520 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7524 * gst-element-check.m4:
7525 * gst-element-check.m4.in:
7526 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7527 instead of the unversioned gst-inspect (#324176, #168659).
7529 2006-07-06 Wim Taymans <wim@fluendo.com>
7532 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7535 2006-07-06 Wim Taymans <wim@fluendo.com>
7537 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7538 (gst_base_src_wait), (gst_base_src_update_length),
7539 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7540 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7541 (gst_base_src_loop), (gst_base_src_start),
7542 (gst_base_src_activate_pull):
7544 blocksize == 0 now means the default blocksize when working in push
7546 Remove some pointless asserts in _wait function.
7547 Fix offset/length calculations and EOS handling. We can now pull 0
7548 bytes as well, which is allowed.
7549 use _check_get_range() to decide if we can operate in _pull based
7551 Fix refcounting leak when check_get_range function was not
7553 API GstBaseSrc::blocksize range can be 0 too now (default)
7555 * tests/check/elements/filesrc.c: (GST_START_TEST),
7557 Added check to test _get_range() behaviour.
7559 2006-07-06 Wim Taymans <wim@fluendo.com>
7561 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7562 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7563 (gst_pad_pull_range):
7565 Lots of comments and docs added to the pad functions.
7566 Flesh out the expected behaviour of the get_range() functions.
7568 2006-07-06 Wim Taymans <wim@fluendo.com>
7573 * gst/gstiterator.h:
7577 Remove comma at end of enumerator list.
7579 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7581 * win32/common/libgstbase.def:
7582 * win32/common/libgstdataprotocol.def:
7583 * win32/common/libsgtreamer.def:
7584 Add new exported functions.
7586 2006-07-05 Wim Taymans <wim@fluendo.com>
7588 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7589 Add some more docs here and there.
7591 2006-07-05 Wim Taymans <wim@fluendo.com>
7593 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7594 (gst_base_sink_loop), (gst_base_sink_get_position):
7595 When operating in pull mode update the offset so that we
7598 2006-07-05 Wim Taymans <wim@fluendo.com>
7600 * gst/gstregistryxml.c: (read_string):
7601 Avoid strdup. (will happen in libxml, but hey!)
7606 2006-07-05 Wim Taymans <wim@fluendo.com>
7608 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7609 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7611 No point in checking if the size of the subbuffer > 0, the
7612 code handles it correclty as demonstrated by unit test.
7613 Also add a unit test for the zero sized _new_and_alloc and
7614 _copy. Fixes #346663.
7616 2006-07-05 Wim Taymans <wim@fluendo.com>
7618 * libs/gst/base/gstbasetransform.c:
7619 (gst_base_transform_prepare_output_buffer),
7620 (gst_base_transform_buffer_alloc),
7621 (gst_base_transform_handle_buffer):
7622 Make sure the buffer we pass to transform_ip has a refcount of
7623 1 and thus is writable. Fixes #343196
7625 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7627 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7628 (gst_file_src_init), (gst_file_src_set_property),
7629 (gst_file_src_get_property), (gst_file_src_map_region):
7630 * plugins/elements/gstfilesrc.h:
7631 Add "sequential" property, off by default, to use madvise and hint
7632 to the kernel that sequential access is desired.
7633 Touch all retrieved pages by default to ensure they are pulled
7634 into memory. (Closes #345720)
7636 2006-07-03 Wim Taymans <wim@fluendo.com>
7638 * docs/design/part-block.txt:
7639 * docs/design/part-dynamic.txt:
7642 2006-07-03 Wim Taymans <wim@fluendo.com>
7644 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7645 (gst_caps_unref), (gst_static_caps_get),
7646 (gst_caps_append_structure):
7647 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7648 Use GSlice when the glib we build against is >= 2.10
7650 2006-07-03 Wim Taymans <wim@fluendo.com>
7652 * gst/gstelement.c: (gst_element_pads_activate):
7653 Small cleanup in pad activation code.
7655 2006-07-03 Wim Taymans <wim@fluendo.com>
7657 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7659 * gst/gst-i18n-app.h:
7660 * gst/gst-i18n-lib.h:
7661 * tools/gst-inspect.c: (print_signal_info):
7662 The attached patch will make the inclusion of gettext.h unconditional in
7663 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7664 libintl.h in tools/gst-inspect.c.
7665 This allows use of --disable-nls again and fixes #344642.
7667 2006-07-03 Edward Hervey <edward@fluendo.com>
7669 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7670 Implement pad blocking on events according to part-block.txt.
7671 More comments on behaviour.
7672 * tests/check/gst/gstevent.c: (test_event):
7673 Send event to peer pad of blocked pad (else it will block).
7675 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7677 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7678 (gst_check_run_suite):
7679 if we get the wrong message, give us the types as string
7680 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7682 * tests/check/elements/filesrc.c: (GST_START_TEST):
7683 add a test for trying to open a non-existing file
7685 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7687 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7688 add a test for adding self
7690 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7692 * libs/gst/check/gstcheck.h:
7693 add some assert_ as alias for fail_unless_*
7694 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7695 increase test coverage
7697 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7700 include lcov.mak for lcov coverage generation
7701 * tools/Makefile.am:
7704 2006-07-02 Edward Hervey <edward@fluendo.com>
7706 * tests/check/elements/.cvsignore:
7709 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7712 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7713 * tests/check/Makefile.am:
7716 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7718 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7719 remove gst_caps_simplify; it was not declared and not used
7720 and deprecated in 0.8
7722 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7724 * docs/faq/gst-uninstalled:
7725 don't put empty paths on PYTHONPATH
7726 * docs/gst/gstreamer-sections.txt:
7727 remove some symbols that are not there
7729 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7731 * gst/gstcaps.c: (gst_caps_compare_structures):
7733 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7734 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7737 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7739 * libs/gst/dataprotocol/Makefile.am:
7740 build dataprotocol test by linking to the lib, instead of
7741 compiling the source, so we get coverage
7742 * tests/check/Makefile.am:
7743 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7744 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7745 add a test for filesrc
7747 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7749 * tests/check/gst/gststructure.c: (GST_START_TEST),
7750 (gst_structure_suite):
7751 Push coverage from 59.04% to 70.00%
7753 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7755 * tests/check/Makefile.am:
7756 gst-inspect every element; this makes sure that we also get
7757 coverage on element's get/set functions
7759 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7762 set CFLAGS and friends to -O0 if gcov is being used
7765 * libs/gst/base/Makefile.am:
7766 * libs/gst/check/Makefile.am:
7767 * libs/gst/controller/Makefile.am:
7768 * libs/gst/dataprotocol/Makefile.am:
7769 * libs/gst/net/Makefile.am:
7770 * plugins/elements/Makefile.am:
7771 * plugins/indexers/Makefile.am:
7772 add makefile rules to generate gcov data and clean up
7773 * tests/check/Makefile.am:
7774 add a coverage target that generates an html overview
7777 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7779 * tests/check/elements/fakesink.c:
7780 * tests/check/elements/fakesrc.c:
7781 * tests/check/elements/fdsrc.c:
7782 * tests/check/elements/identity.c:
7783 * tests/check/generic/sinks.c: (gst_sinks_suite):
7784 * tests/check/generic/states.c:
7785 * tests/check/gst/gst.c:
7786 * tests/check/gst/gstabi.c:
7787 * tests/check/gst/gstbin.c:
7788 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7789 * tests/check/gst/gstbus.c: (gst_bus_suite):
7790 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7791 * tests/check/gst/gstelement.c:
7792 * tests/check/gst/gstevent.c: (gst_event_suite):
7793 * tests/check/gst/gstghostpad.c:
7794 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7795 * tests/check/gst/gstmessage.c: (gst_message_suite):
7796 * tests/check/gst/gstminiobject.c:
7797 * tests/check/gst/gstobject.c:
7798 * tests/check/gst/gstpad.c:
7799 * tests/check/gst/gstpipeline.c:
7800 * tests/check/gst/gstplugin.c:
7801 * tests/check/gst/gstquery.c: (gst_query_suite):
7802 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7803 * tests/check/gst/gststructure.c:
7804 * tests/check/gst/gstsystemclock.c:
7805 * tests/check/gst/gsttag.c:
7806 * tests/check/gst/gsttask.c: (gst_task_suite):
7807 * tests/check/gst/gstutils.c:
7808 * tests/check/gst/gstvalue.c:
7809 * tests/check/libs/adapter.c:
7810 * tests/check/libs/basesrc.c:
7811 * tests/check/libs/collectpads.c:
7812 * tests/check/libs/controller.c:
7813 * tests/check/libs/gdp.c: (gst_dp_suite):
7814 * tests/check/libs/gstnetclientclock.c:
7815 * tests/check/libs/gstnettimeprovider.c:
7816 * tests/check/libs/libsabi.c: (libsabi_suite):
7817 * tests/check/libs/typefindhelper.c:
7818 * tests/check/pipelines/cleanup.c:
7819 * tests/check/pipelines/parse-launch.c:
7820 * tests/check/pipelines/simple-launch-lines.c:
7821 * tests/check/pipelines/stress.c: (stress_suite):
7824 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7826 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7827 * libs/gst/check/gstcheck.h:
7828 create a macro and function so that the simple unit test
7829 case can be just one macro to create main()
7831 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7833 * gst/gstbin.c: (gst_bin_restore_thyself):
7834 * gst/gstxml.c: (gst_xml_make_element):
7835 Fix deserialisation from XML. Set parent manually
7836 instead of using gst_bin_add(), since gst_bin_add()
7837 will unlink all pads of the element being added.
7840 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7842 Patch by: Peter Kjellerstedt <pkj at axis com>
7844 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7845 Fix missing g_strdup() and double free when using the
7846 --gst-plugin-load command line option (#346097).
7848 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7851 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7853 * libs/gst/net/gstnetclientclock.c:
7854 * libs/gst/net/gstnettimeprovider.c:
7855 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7857 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7859 * docs/manual/advanced-dataaccess.xml:
7860 Fix buffer probe example compilation in
7863 2006-06-22 Edward Hervey <edward@fluendo.com>
7865 * gst/gstelement.c: (gst_element_pads_activate):
7866 We need to deactivate src pads first and then sink pads.
7867 The reason is the src pads might be blocking while holding the streaming
7868 lock, so we need to deactivate them first so that deactivating the sink
7869 pads doesn't block (since it will require the streaming lock).
7871 2006-06-22 Wim Taymans <wim@fluendo.com>
7873 * libs/gst/base/gstbasetransform.c:
7874 (gst_base_transform_buffer_alloc):
7875 Forgot to remove two unneeded unrefs.
7876 Simplify a check _is_equal allready checks the obvious case.
7878 2006-06-22 Wim Taymans <wim@fluendo.com>
7880 * docs/design/part-block.txt:
7881 Some docs about what pad_block should do.
7883 2006-06-22 Wim Taymans <wim@fluendo.com>
7885 * gst/gstcaps.c: (gst_caps_replace):
7886 Fix crasher when passed NULL. Doc clarification.
7887 Optimize for the trivial case.
7889 * gst/gstpipeline.c: (gst_pipeline_change_state):
7892 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7893 Small documentation cleanup.
7895 * libs/gst/base/gstbasetransform.c:
7896 (gst_base_transform_buffer_alloc):
7897 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7898 is what we need and it avoids a whole lot of redundant
7899 refcount operations.
7901 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7903 Patch by: Philip Jägenstedt <philip at lysator liu se>
7905 * docs/manual/advanced-dataaccess.xml:
7906 Fix 'Embedding static elements' section to use
7907 GST_PLUGIN_DEFINE_STATIC (#345607).
7909 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7911 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7912 Attempt to 'fix' spuriously failing test case: it seems like the
7913 timeout of half a second is simply too small when the system is under
7914 load otherwise, and the timeout doesn't really seem to serve any
7915 particular purpose here. Give the pipeline a few seconds to preroll
7916 first, and then give it another half a second to go from PAUSED to
7917 PLAYING and marshal the message into the main thread.
7919 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7921 * tools/gst-feedback-m.m:
7922 Don't only use unversioned tools, try versioned tools as well
7925 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7927 * gst/gstbus.c: (gst_bus_class_init):
7928 Fix some typos, make docs more explicit.
7930 2006-06-20 Wim Taymans <wim@fluendo.com>
7932 * tests/check/gst/gstghostpad.c: (block_callback),
7933 (GST_START_TEST), (gst_ghost_pad_suite):
7934 Added some more ghostpad tests, mainly blocking
7937 2006-06-16 Wim Taymans <wim@fluendo.com>
7939 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7940 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7941 (gst_file_sink_event), (gst_file_sink_render):
7942 * plugins/elements/gstfilesink.h:
7943 Check if we can seek in the file instead of assuming
7944 we always can. Post an error when we are asked to seek in a
7945 non-seekable file (like a fifo). Fixes #343312.
7948 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7950 * tools/gst-launch.1.in:
7951 Un-garble (fourcc) bit in filtered caps section.
7953 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7955 * docs/manual/advanced-autoplugging.xml:
7956 * docs/manual/basics-helloworld.xml:
7957 * docs/manual/highlevel-components.xml:
7958 Don't leak bus reference in sample code.
7960 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7963 Add default for new --enable-plugin-docs switch.
7966 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7970 Use new ENABLE_PLUGIN_DOCS conditional.
7972 2006-06-14 Wim Taymans <wim@fluendo.com>
7974 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7975 Make it clear with a FIXME and a real define what the #if 0
7976 previously disabled.
7978 2006-06-14 Wim Taymans <wim@fluendo.com>
7980 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7981 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7982 * libs/gst/base/gstbasetransform.c:
7983 (gst_base_transform_sink_eventfunc):
7984 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7985 Don't randomly and silently reset a segment when the format
7986 changes as this is a bug somewhere upstream. Fixes #330379.
7988 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7990 Patch by: Wouter Paesen <wouter at kangaroot net>
7992 * libs/gst/controller/gstcontroller.c:
7993 (gst_controlled_property_new):
7994 Fix controlling of float properties (#344849).
7996 * tests/check/libs/controller.c:
7997 (gst_test_mono_source_get_property),
7998 (gst_test_mono_source_set_property),
7999 (gst_test_mono_source_class_init), (GST_START_TEST):
8000 While we're at it, add some float stuff to unit test.
8002 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * docs/images/gdp-header.svg:
8007 * docs/libs/Makefile.am:
8008 * docs/libs/gdp-header.png:
8009 * libs/gst/dataprotocol/dataprotocol.c:
8010 add it to the API docs
8011 * docs/manual/intro-motivation.xml:
8014 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8016 * gst/gst.c: (scan_and_update_registry), (init_post):
8017 If the fork()'ed child process can't write the updated registry cache
8018 file to disk for some reason, make it exit with a failure exit code,
8019 so that the parent can then re-scan the plugins itself and update the
8020 registry structures in memory and work with that (rather than failing
8021 when creating elements because seemingly no plugins are available).
8022 Refactor registry scanning code into separate function for this and
8023 also separate fork() and non-fork() code paths. Fixes #344748.
8025 2006-06-13 Wim Taymans <wim@fluendo.com>
8027 * docs/manual/advanced-dataaccess.xml:
8028 Fix wrong PluginDesc. Fixes #344755.
8030 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8032 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8033 Fix silly bug that prevented us from creating
8034 ~/.gstreamer-0.10 and writing the registry in one
8035 go (the first call to g_mkstemp() would overwrite the
8036 placeholder in the template string, so the second call
8037 to g_mkstemp() after creating the missing directory
8038 would then error out with 'invalid argument').
8040 2006-06-13 Edward Hervey <edward@fluendo.com>
8042 * gst/gst.c: (init_post):
8045 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8047 * gst/glib-compat-private.h:
8048 * gst/glib-compat.c:
8049 * gst/glib-compat.h:
8050 * gst/gstvalue.c: (gst_value_serialize_flags):
8051 remove GLib 2.6 compatibility code
8053 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8055 * gst/parse/Makefile.am:
8056 Fix build with 'make -j N' even more (#340016).
8058 2006-06-12 Wim Taymans <wim@fluendo.com>
8060 * docs/gst/gstreamer-sections.txt:
8063 2006-06-12 Wim Taymans <wim@fluendo.com>
8065 * gst/gstsegment.c: (gst_segment_set_duration),
8066 (gst_segment_set_last_stop), (gst_segment_set_seek),
8067 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8068 (gst_segment_to_running_time), (gst_segment_clip):
8069 Use G_UNLIKELY to help the compiler a bit.
8071 2006-06-12 Wim Taymans <wim@fluendo.com>
8073 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8075 * gst/gstevent.c: (gst_event_get_type):
8077 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8079 constify quark registration strings. Fixes #344115
8080 Avoid unneeded type checking is _pad_push() by internally
8081 calling gst_pad_chain_unchecked().
8083 2006-06-12 Wim Taymans <wim@fluendo.com>
8085 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8086 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8087 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8088 (gst_buffer_is_span_fast), (gst_buffer_span):
8089 Init _type for consistency.
8090 Use _FLAGS macro to avoid type check.
8091 Avoid unneeded type checks in subbufer code.
8093 2006-06-12 Wim Taymans <wim@fluendo.com>
8095 * gst/gst.c: (gst_debug_help):
8096 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8097 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8098 (gst_plugin_feature_list_free):
8099 * gst/gstregistry.c: (gst_registry_add_plugin),
8100 (gst_registry_add_feature), (gst_registry_plugin_filter),
8101 (gst_registry_feature_filter), (gst_registry_find_plugin),
8102 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8103 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8104 * gst/gstregistryxml.c: (load_feature),
8105 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8106 * gst/gstminiobject.c: (gst_mini_object_unref),
8107 (gst_mini_object_replace), (gst_value_mini_object_free),
8108 (gst_value_mini_object_copy):
8109 Use _CAST macros to avoid unneeded type checking.
8110 Added some more G_UNLIKELY.
8112 2006-06-12 Wim Taymans <wim@fluendo.com>
8115 Avoid unneeded type checking.
8116 API: GST_BUFFER_IS_DISCONT
8118 * gst/gstminiobject.h:
8119 Avoid type check in flag accessor.
8121 * gst/gstelementfactory.h:
8123 * gst/gstpluginfeature.h:
8125 API: GST_ELEMENT_FACTORY_CAST
8126 API: GST_PLUGIN_CAST
8127 API: GST_PLUGIN_FEATURE_CAST
8129 2006-06-12 Wim Taymans <wim@fluendo.com>
8131 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8133 Add G_UNLIKELY in type registration.
8134 Avoid type check in _ref/_unref since that is also
8137 2006-06-12 Wim Taymans <wim@fluendo.com>
8139 * gst/gsterror.c: (gst_g_error_get_type):
8140 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8141 (gst_static_pad_template_get_type):
8142 * gst/gsttaglist.c: (gst_tag_list_get_type):
8143 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8144 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8145 * gst/gsturi.c: (gst_uri_handler_get_type):
8146 * gst/gstvalue.c: (gst_date_get_type):
8147 * gst/gstxml.c: (gst_xml_get_type):
8148 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8149 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8150 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8151 Add G_UNLIKELY in type registration.
8153 2006-06-12 Wim Taymans <wim@fluendo.com>
8155 * tools/gst-inspect.c: (print_signal_info):
8156 Properly print enum values.
8158 2006-06-12 Wim Taymans <wim@fluendo.com>
8160 * gst/gstinfo.c: (gst_debug_set_active),
8161 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8163 Add some G_[UN]LIKELY.
8164 Maintain __gst_debug_min to avoid formatting the arguments of
8165 debug messages that will be dropped anyway to avoid a lot of
8166 overhead from the debugging system.
8168 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8172 add missing files containing translatable strings, tell intltool about
8175 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8177 * tests/check/libs/.cvsignore:
8178 add test-binary to ignore list
8180 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8182 * docs/libs/gstreamer-libs-docs.sgml:
8183 reorder (put dp into a chapter) and indent
8185 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8190 === release 0.10.8 ===
8192 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8195 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8197 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8199 * gst/gst.c: (init_post):
8200 move pid declaration to declaration block
8202 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8204 * gst/gst.c: (init_post):
8205 use _exit() instead of exit() in our forked child; this ensures
8206 that none of the registered exit handlers from whatever is using
8207 GStreamer get executed. This fixes gnome-mixer-applet failing
8208 to load, because ORBit would shut down.
8209 Spotted by: Edward Hervey <edward@fluendo.com>
8210 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8213 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8218 === release 0.10.7 ===
8220 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8223 releasing 0.10.7, "Soepeke, ik zie ou"
8225 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8248 * win32/common/config.h:
8251 2006-06-07 Wim Taymans <wim@fluendo.com>
8253 * gst/gstindex.c: (gst_index_gtype_resolver):
8254 * tools/gst-xmlinspect.c: (print_plugin_info):
8255 Fix leak spotted by coverity checker. Fixes #343827
8256 Fix another other leak found by paolo borelli.
8258 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8260 * libs/gst/dataprotocol/dataprotocol.c:
8261 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8262 (gst_dp_version_get_type), (gst_dp_init),
8263 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8264 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8265 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8266 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8267 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8268 (gst_dp_packetizer_free):
8269 * libs/gst/dataprotocol/dataprotocol.h:
8270 API: add a GstDPPacketizer object, and create/free functions
8271 API: add GstDPVersion enum
8272 Add 1.0 event function that uses the string serialization
8273 Serialize more useful buffer flags
8276 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8278 * tests/check/Makefile.am:
8279 * tests/check/gst/gstabi.c:
8280 * tests/check/gst/struct_ppc64.h:
8281 * tests/check/libs/libsabi.c:
8282 * tests/check/libs/struct_ppc64.h:
8283 add ppc64 structure sizes
8285 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8287 * tests/check/Makefile.am:
8288 * tests/check/gst/gstabi.c:
8289 * tests/check/gst/struct_x86_64.h:
8290 * tests/check/libs/libsabi.c:
8291 * tests/check/libs/struct_x86_64.h:
8292 generate and add structure size lists for x86_64
8294 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8296 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8297 * libs/gst/check/gstcheck.h:
8298 factor out the method from tests that checks size of structures,
8299 and add code to generate the header containing these sizes
8300 * tests/check/gst/gstabi.c: (GST_START_TEST):
8301 * tests/check/gst/struct_i386.h:
8302 * tests/check/libs/libsabi.c: (GST_START_TEST):
8303 * tests/check/libs/struct_i386.h:
8306 2006-06-06 Michael Smith <msmith@fluendo.com>
8309 Don't use c++-style comments, fixes #343929
8311 2006-06-05 Edward Hervey <edward@fluendo.com>
8314 plugin_paths is not used if we build without registry support.
8316 * gst/gstsegment.c: (gst_segment_copy):
8317 _copy() was always returning NULL...
8319 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8321 * libs/gst/dataprotocol/dataprotocol.c:
8322 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8323 (gst_dp_packet_from_event):
8326 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8328 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8329 make sure we unset caps
8331 2006-06-02 Michael Smith <msmith@fluendo.com>
8333 * libs/gst/check/gstcheck.c: (gst_check_init),
8334 (gst_check_chain_func):
8335 * libs/gst/check/gstcheck.h:
8336 Add a cond/mutex to the check support lib, signal this whenever we
8337 add to the buffers list. This will allow tests to not busy-wait on
8340 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8342 * libs/gst/dataprotocol/dataprotocol.c:
8343 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8344 (gst_dp_packet_from_event):
8345 factor out some common header init code
8347 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8349 * docs/libs/gstreamer-libs-sections.txt:
8350 * docs/libs/tmpl/gstdataprotocol.sgml:
8351 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8352 * libs/gst/dataprotocol/dataprotocol.h:
8353 API: make gst_dp_crc() public
8355 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8357 * plugins/indexers/gstindexers.c: (plugin_init):
8358 conditionally register fileindexer (fixes #343598)
8360 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8362 * gst/gsttagsetter.h:
8363 Can't cast ifaces to a class
8365 * libs/gst/net/gstnetclientclock.h:
8366 * libs/gst/net/gstnettimeprovider.h:
8367 * plugins/elements/gstfakesink.h:
8368 * plugins/elements/gstfakesrc.h:
8369 * plugins/elements/gstfdsink.h:
8370 * plugins/elements/gstfdsrc.h:
8371 * plugins/elements/gstfilesink.h:
8372 * plugins/elements/gstfilesrc.h:
8373 * plugins/elements/gstidentity.h:
8374 * plugins/elements/gstqueue.h:
8375 * plugins/elements/gsttee.h:
8376 * plugins/indexers/gstfileindex.c:
8377 * plugins/indexers/gstmemindex.c:
8378 * tests/old/examples/plugins/example.h:
8379 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8381 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8383 * libs/gst/dataprotocol/dataprotocol.c:
8384 (gst_dp_header_from_buffer):
8385 make sure we zero the whole ABI-compatible area
8387 2006-06-01 Wim Taymans <wim@fluendo.com>
8389 Patch by: Alessandro Decina <alessandro at nnva dot org>
8391 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8392 Make sure the EOS flag is cleared from pads after a flush
8393 or stop. Fixes #343538.
8395 * tests/check/libs/collectpads.c: (GST_START_TEST),
8396 (gst_collect_pads_suite):
8397 Added test for collectpads reusage after EOS.
8399 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8402 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8403 * win32/common/libgstbase.def:
8404 export gst_collect_pads_set_flushing
8405 * win32/common/libgstreamer.def:
8406 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8407 gst_value_fraction_multiply
8408 * win32/vs6/gst_inspect.dsp:
8409 add a link to intl.lib
8411 2006-05-30 Wim Taymans <wim@fluendo.com>
8413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8414 (gst_collect_pads_chain):
8415 Handle the case where a pad is removed from the collection
8416 that could cause the other pads to become collectable.
8418 2006-05-30 Wim Taymans <wim@fluendo.com>
8421 Clarify the use of _release_request_pad() and
8422 _get_request_pad() a bit better.
8424 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8425 (gst_adapter_take_buffer):
8426 Fix some doc and comment typos.
8428 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8430 * docs/gst/gstreamer-sections.txt:
8431 * docs/libs/gstreamer-libs-sections.txt:
8432 add declared symbols
8434 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8436 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8437 Add debug that can be enabled using a #define at the top of the file,
8438 for dumping stats about how late/early we were when waking up from
8439 waiting on the clock.
8441 2006-05-30 Wim Taymans <wim@fluendo.com>
8443 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8444 When rebuilding the pad list, don't leak the previous list.
8446 2006-05-30 Wim Taymans <wim@fluendo.com>
8448 Patch by: Lutz Mueller <lutz at topfrose dot de>
8450 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8451 (gst_base_src_get_query_types), (gst_base_src_update_length):
8452 Publish supported query types.
8453 Update last_stop field in get_range mode so the position
8454 query works. Fixes #342321.
8456 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8458 * docs/gst/gstreamer-sections.txt:
8459 * gst/gsttaglist.c: (_gst_tag_initialize):
8461 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8463 2006-05-30 Wim Taymans <wim@fluendo.com>
8465 Patch by: Alessandro Decina <alessandro at nnva dot org>
8467 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8468 Unlock mutex when removing an unknown pad.
8471 * tests/check/Makefile.am:
8472 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8473 (push_event), (setup), (teardown), (GST_START_TEST),
8474 (gst_collect_pads_suite), (main):
8475 Added collecpads check, disabled for now as check crashes for
8478 2006-05-29 Wim Taymans <wim@fluendo.com>
8480 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8481 Don't leak pads lists.
8483 2006-05-29 Wim Taymans <wim@fluendo.com>
8485 * docs/libs/gstreamer-libs-sections.txt:
8486 * libs/gst/base/gstcollectpads.c:
8487 (gst_collect_pads_set_flushing_unlocked),
8488 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8489 (gst_collect_pads_stop):
8490 * libs/gst/base/gstcollectpads.h:
8491 API: gst_collect_pads_set_flushing()
8492 Added api to set the pads to flushing, useful for seeking
8493 code in elements using collectpads.
8494 Clear segment when receiving a flush.
8496 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8498 * gst/gst.c: (add_path_func), (init_post):
8499 Don't scan registry paths passed via --gst-plugin-path immediately
8500 (will crash, because absolutely nothing is set up and no types are
8501 registered etc.); do this later in init_post(). Fixes #343057.
8503 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8505 * gst/gst.c: (init_post):
8506 if we have fork, fork while reading/rebuilding the registry
8507 so the parent doesn't take the hit of having all plugins loaded
8508 in memory. Fixes #342777.
8510 Check if we have fork()
8511 * win32/common/config.h.in:
8514 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8516 * plugins/elements/gstelements.c:
8517 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8518 (gst_file_src_init), (gst_file_src_set_property),
8519 (gst_file_src_get_property), (gst_file_src_start):
8520 * plugins/elements/gstfilesrc.h:
8521 API: GstFileSrc::use-mmap
8523 Add a use-mmap property to enable easier testing of all code paths.
8524 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8525 in the absence of gnomevfssrc. (Closes #340501)
8527 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8529 * tools/gst-inspect.c:
8530 Add missing include, removes warning of ngettext not being defined on
8533 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8535 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8536 Handle NULL input and output pointers silently as a failed conversion,
8537 rather than g_warnings.
8539 2006-05-25 Wim Taymans <wim@fluendo.com>
8541 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8542 Initialize variable before using. Fixes #342820.
8544 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8546 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8547 Fix off-by-one bug that would only allow peeks of N-1 bytes
8548 from the start even if the buffer to typefind on contains
8549 in fact N bytes of data (makes vorbis typefinding from a
8550 vorbis identification header buffer work).
8552 * tests/check/Makefile.am:
8553 * tests/check/libs/.cvsignore:
8554 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8555 (gst_typefindhelper_suite), (main), (foobar_typefind),
8557 Add very basic unit test for gst_type_find_helper_for_buffer()
8558 that checks for the problem fixed above.
8560 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8562 * tools/gst-inspect.c: (print_interfaces),
8563 (print_element_properties_info), (print_element_list), (main):
8564 add more translatable strings
8566 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8568 Patch by: Julien Moutte <julien at moutte net>
8570 * docs/gst/gstreamer-sections.txt:
8571 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8573 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8574 (gst_fake_sink_preroll):
8575 * plugins/elements/gstfakesink.h:
8576 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8578 2006-05-23 Wim Taymans <wim@fluendo.com>
8580 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8582 Added _CUSTOM error and success GstFlowReturn that can be
8583 used be elements internally.
8584 Added macro to check for SUCCESS flowreturns.
8585 API: GST_FLOW_CUSTOM_SUCCESS
8586 API: GST_FLOW_CUSTOM_ERROR
8587 API: GST_FLOW_IS_SUCCESS
8589 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8590 Added check for GstFlowReturn sanity.
8592 2006-05-23 Wim Taymans <wim@fluendo.com>
8594 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8596 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8597 (gst_collect_pads_event):
8598 clear/reset segment info in FLUSH_STOP.
8601 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8603 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8604 (gst_collect_pads_check_collected):
8605 Flush queued buffer on _stop(), fixes playing again (#342454)
8607 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8609 * tests/check/gst/gststructure.c: (GST_START_TEST),
8610 (gst_structure_suite):
8611 add a test for a complete structure
8613 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8615 * docs/faq/developing.xml:
8617 * docs/faq/troubleshooting.xml:
8618 * docs/faq/using.xml:
8619 Some minor FAQ updates that won't change the fact that
8620 our FAQ is badly structured, full of information hardly
8621 anyone new to GStreamer needs to know and lacking lots
8622 of information people constantly ask for.
8624 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8626 * gst/gstpad.c: (gst_pad_set_caps):
8627 Short-circuit gst_pad_set_caps if setting the existing
8628 caps pointer again, and avoid printing debug and
8629 reffing/unreffing the caps.
8631 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8632 There's actually no need to set the caps before pushing -
8633 the acceptcaps method will handle it anyway.
8635 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8637 * docs/gst/gstreamer-sections.txt:
8638 * win32/common/libgstreamer.def:
8639 * gst/gstutils.c: (gst_element_seek_simple):
8641 API: add gst_element_seek_simple() (#342238).
8643 2006-05-18 Edward Hervey <edward@fluendo.com>
8645 * gst/gsttypefind.c: (gst_type_find_get_type):
8646 * gst/gsttypefind.h:
8647 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8648 registered for GstTypeFind pointers. This allows wrapping the structure
8649 in bindings (i.e. gst-python).
8651 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8653 * gst/gsttagsetter.c:
8654 Docs additions and fixes (see #339918).
8656 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8658 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8659 The caps intersection algorithm can produce multiple copies of the
8660 caps. Until that is fixed, we need to simplify the result to be
8661 sure whether the allowed caps are fixed or not.
8663 * plugins/elements/gstqueue.c: (gst_queue_init),
8664 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8665 (gst_queue_push_one):
8666 Proxied buffer alloc should not set the caps on the source pad.
8667 When pushing buffers, we always accept the caps change that triggers.
8668 This prevents negotiation errors caused by caps changing mid-stream
8669 and then being refused on our source pad (because upstream is now
8670 refusing those caps).
8672 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8674 * tests/examples/helloworld/helloworld.c: (main):
8675 Must plug audioconvert and audioresample between decoder
8678 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8680 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8681 (load_feature), (load_plugin):
8682 Allow empty strings for some of the plugin fields so we don't
8683 drop valid plugin entries that were written out correctly
8686 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8688 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8689 Use g_remove and g_rename instead of remove and rename that don't
8690 handle utf8 characters. rename was failing for users who had specific
8691 characters in their name then the registry was built at each
8693 * win32/vs6/gst_inspect.dsp:
8694 * win32/vs6/gst_launch.dsp:
8695 * win32/vs6/libgstbase.dsp:
8696 * win32/vs6/libgstcoreelements.dsp:
8697 * win32/vs6/libgstreamer.dsp:
8698 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8699 build of libgstreamer and clean unused libraries in projects link
8702 2006-05-17 Edward Hervey <edward@fluendo.com>
8704 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8705 The queue is not responsible for pushing an EOS when receiving a fatal
8706 flow error. It's up to the real element driving the pipeline to do that.
8708 2006-05-16 Edward Hervey <edward@fluendo.com>
8710 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8711 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8712 buffer returned a fatal error. It should just send an EOS and stop
8714 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8715 when pushing buffers on the queue and will be able to handle the event.
8717 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8719 * docs/manual/basics-bins.xml:
8720 * docs/manual/basics-init.xml:
8721 Fix typos and minor errors in sample code (#341856).
8723 2006-05-16 Wim Taymans <wim@fluendo.com>
8725 * docs/design/part-qos.txt:
8726 Fix indexes in formulas to make more sense.
8728 2006-05-15 Wim Taymans <wim@fluendo.com>
8730 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8731 Don't report POSITION based on clock time if sync is
8734 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8737 Add cast to make compiler happy - refcount variable was a gint
8738 in GstObject but is a guint in GObject and g_atomic_int_get()
8741 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8743 * gst/parse/Makefile.am:
8744 chain commands using &&, which also makes parallel make work
8746 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8748 * docs/gst/gstreamer-sections.txt:
8754 === release 0.10.6 ===
8756 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8759 releasing 0.10.6, "Take the cannoli"
8761 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8763 * tools/gst-launch.c: (print_tag):
8764 Fix use of uninitialized variable in the hypothetical
8765 case that some broken plugin creates a GST_TAG_IMAGE
8766 tag containing a NULL buffer (#341667).
8768 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8770 * tools/gst-launch.c: (print_tag):
8771 Print something more intelligible for image tags when
8772 using the -t switch (#341556).
8774 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8779 define GST_MAJORMINOR so we have it available in win32/common/config.h
8780 Possibly remove it from our Makefile.am files later
8781 * win32/common/config.h:
8782 * win32/common/config.h.in:
8783 added GST_MAJORMINOR
8784 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8785 * win32/common/gstversion.h:
8788 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8791 Update win32 files listing.
8792 * win32/common/gstversion.h:
8793 Add GST_MAJORMINOR definition.
8794 * win32/common/libgstreamer.def:
8795 Add new exported functions.
8797 2006-05-12 Michael Smith <msmith@fluendo.com>
8799 * gst/gstplugin.c: (gst_plugin_load_file):
8800 If an so file has no plugin entry point, unload the module.
8802 2006-05-11 Wim Taymans <wim@fluendo.com>
8804 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8805 (gst_queue_set_property):
8806 Don't forget to signal the _chain or _loop function
8807 when the queue size or thresholds change since that might
8808 cause them to make progres again.
8810 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8812 * gst/gstclock.c: (gst_clock_class_init):
8813 * gst/gstindex.c: (gst_index_class_init):
8814 * gst/gstobject.c: (gst_object_class_init):
8815 * gst/gstpad.c: (gst_pad_class_init):
8816 * gst/gstpipeline.c: (gst_pipeline_class_init):
8817 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8818 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8819 * libs/gst/base/gstbasetransform.c:
8820 (gst_base_transform_class_init):
8821 * libs/gst/net/gstnetclientclock.c:
8822 (gst_net_client_clock_class_init):
8823 * libs/gst/net/gstnettimeprovider.c:
8824 (gst_net_time_provider_class_init):
8825 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8826 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8827 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8828 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8829 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8830 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8831 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8832 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8833 * plugins/elements/gsttee.c: (gst_tee_class_init):
8834 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8835 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8836 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8838 2006-05-11 Wim Taymans <wim@fluendo.com>
8840 * gst/gstbuffer.c: (_gst_buffer_initialize):
8841 Register subbufer along with the buffer type so that
8842 it does not accidentally gets registered from N
8843 different streaming threads in a non threadsafe way.
8845 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8850 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8851 gst_event_ref() and gst_message_ref() functions again
8852 (ugly hack, please do fix if there's a better way besides
8853 overrides.txt, which doesn't seem to work).
8855 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8857 * libs/gst/check/gstcheck.h:
8858 add an assert for setting state to avoid lots of repetitive code
8861 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8863 * gst/gstvalue.c: (gst_value_serialize_flags):
8864 fix a leak if no flags are set
8865 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8868 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8870 * docs/manual/basics-pads.xml:
8871 Expand a bit on caps and filtered links and update
8872 examples that were still using the no longer existing
8873 gst_pad_link_filtered() (#338206).
8875 2006-05-10 Wim Taymans <wim@fluendo.com>
8877 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8878 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8879 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8880 (gst_collect_pads_stop):
8881 * libs/gst/base/gstcollectpads.h:
8882 No need to call _stop in _finalize.
8883 Iterate the main pad list in _finalize.
8884 Added some more debug.
8885 Free lists and data in the right order.
8886 Also free data whem doing _remove_pad when stopped for
8887 backward compatibility protect ::started with PAD_LOCK as
8890 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8892 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8893 (gst_structure_parse_value):
8895 rename a method so that it actually says what it does better
8897 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8899 * gst/gstevent.c: (_gst_event_initialize):
8900 * gst/gstformat.c: (_gst_format_initialize):
8901 make sure some essential types used by events are registered
8902 as part of gst_init()
8903 * gst/gstvalue.c: (gst_value_serialize_flags):
8904 if no flags are set, serialize them to a value that represents NONE
8905 so that deserializing them works
8906 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8907 add tests for serialization and deserialization of flags
8909 2006-05-10 Wim Taymans <wim@fluendo.com>
8911 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8912 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8913 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8914 (gst_collect_pads_event), (gst_collect_pads_chain):
8917 Catch and return errors from the collect function
8918 Refuse data on eos pads.
8920 2006-05-10 Edward Hervey <edward@fluendo.com>
8922 * gst/gstinterface.h:
8923 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8924 GInterface type checking.
8925 They were previously using non-defined macros.
8927 2006-05-09 Wim Taymans <wim@fluendo.com>
8929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8930 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8931 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8932 (gst_collect_pads_start), (gst_collect_pads_stop),
8933 (gst_collect_pads_peek), (gst_collect_pads_pop),
8934 (gst_collect_pads_available), (gst_collect_pads_read),
8935 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8936 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8937 (gst_collect_pads_chain):
8938 * libs/gst/base/gstcollectpads.h:
8939 Clean up the mess that is collectpads, add comments and
8940 FIXMEs where needed.
8941 Maintain a separate pad list so we can add pads while
8942 collecting the other ones. For this we need a new separate
8944 Fix memory leak in finalize.
8945 Refactor some weird code to set/unset pad flushing flags, mark
8947 Don't crash in _available, _read, _flush when we're EOS.
8949 * tests/check/libs/.cvsignore:
8950 Ignore adapter check binary.
8952 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8954 * gst/gstindex.c: (gst_index_resolver_get_type):
8955 * plugins/elements/gstfakesink.c:
8956 (gst_fake_sink_state_error_get_type):
8957 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8958 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8959 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8960 Const-ify GEnumValue arrays.
8962 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8964 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8965 Add test case for flags + gst_buffer_make_metadata_writable().
8967 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8969 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8970 gst_buffer_make_metadata_writable() should maintain the
8971 buffer flags (those that make sense at least) (see #340859).
8973 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8975 * tools/gst-inspect.c:
8976 * tools/gst-launch.c:
8977 * tools/gst-typefind.c:
8978 * tools/gst-xmlinspect.c:
8980 Fix up includes: need to include stdlib.h in tools.h for exit().
8982 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8984 * gst/gsttaglist.c: (_gst_tag_initialize):
8986 API: add GST_TAG_IMAGE tag (#340721).
8988 2006-05-08 Wim Taymans <wim@fluendo.com>
8991 Added some docs for the segment query.
8993 2006-05-08 Wim Taymans <wim@fluendo.com>
8995 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8996 (gst_base_src_loop), (gst_base_src_change_state):
8997 Always push non-flushing serialized events in the streaming
9000 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9002 * gst/gsterror.c: (_gst_stream_errors_init):
9003 Add a missing error string.
9005 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9007 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9008 Add applied_rate to the debug
9010 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9011 Copy applied_rate into the outgoing NEWSEGMENT event
9013 2006-05-08 Wim Taymans <wim@fluendo.com>
9015 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9017 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9018 (gst_base_sink_change_state):
9019 call ::unlock before taking the PREROLL_LOCK so we can safely
9020 handle elements that lock in ::render.
9023 2006-05-08 Edward Hervey <edward@fluendo.com>
9025 * autogen.sh: (CONFIGURE_DEF_OPT):
9026 Darwin's libtoolize is in fact called glibtoolize.
9027 Adding glibtoolize to the list of accepted names for libtoolize.
9029 2006-05-08 Wim Taymans <wim@fluendo.com>
9031 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9032 Unify error handling, don't post an error message
9033 when a push() returns EOS but perform our normal EOS
9034 handling code. Fixes #340772.
9036 2006-05-08 Wim Taymans <wim@fluendo.com>
9038 * docs/design/part-overview.txt:
9039 Make upsteam/downstream concepts more clear.
9040 Give an example of serialized/non-serialized events.
9042 * docs/design/part-events.txt:
9043 * docs/design/part-streams.txt:
9044 Mention applied_rate.
9046 * docs/design/part-trickmodes.txt:
9047 Mention applied rate, flesh out some more use cases.
9049 * gst/gstevent.c: (gst_event_new_new_segment),
9050 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9051 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9052 (gst_event_parse_tag), (gst_event_new_buffer_size),
9053 (gst_event_parse_buffer_size), (gst_event_new_qos),
9054 (gst_event_parse_qos), (gst_event_parse_seek),
9055 (gst_event_new_navigation):
9057 Add applied_rate field to NEWSEGMENT event.
9058 API: gst_event_new_new_segment_full()
9059 API: gst_event_parse_new_segment_full()
9061 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9062 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9063 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9065 Add applied_rate to GstSegment structure.
9066 Make calculation of stream_time and running_time more correct
9067 wrt rate/applied_rate.
9069 API: GstSegment::applied_rate field
9070 API: gst_segment_set_newsegment_full();
9072 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9073 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9074 * libs/gst/base/gstbasetransform.c:
9075 (gst_base_transform_sink_eventfunc),
9076 (gst_base_transform_handle_buffer):
9077 Parse and use applied_rate in the GstSegment field.
9079 * tests/check/gst/gstevent.c: (GST_START_TEST):
9080 Add check for applied_rate field.
9082 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9083 (gstsegments_suite):
9084 Add more checks for various GstSegment operations.
9086 2006-05-08 Wim Taymans <wim@fluendo.com>
9088 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9089 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9090 (gst_base_sink_get_position), (gst_base_sink_change_state):
9091 Store the sync time of the buffer end position separatly in a
9092 new variable eos_rtime so we can properly sync the EOS event.
9094 Fix the docs for gst_base_sink_set_qos_enabled().
9095 Don't set segment start to invalid value when we receive a
9096 non TIME newsegment.
9097 get closer to handling position reporting for negative rates
9100 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9103 Docs about how to print caps for debug purposes.
9105 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9106 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9108 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9111 use full enum names and preprend a '%' in docs strings to make recent
9112 gtk-doc turn that into a link
9114 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9116 * docs/manual/basics-bins.xml:
9117 * docs/manual/basics-bus.xml:
9118 * docs/manual/basics-pads.xml:
9119 Some typo fixes, some additions, some clarifications.
9121 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9123 * tools/gst-inspect.c: (main):
9124 * tools/gst-launch.c: (main):
9125 * tools/gst-run.c: (main):
9126 * tools/gst-typefind.c: (main):
9127 * tools/gst-xmlinspect.c: (main):
9128 Use the string passed to g_option_context_new() for
9129 what it's intended for - the program name is already
9132 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9134 * tools/Makefile.am:
9135 * tools/gst-inspect.c: (main):
9136 * tools/gst-launch.c: (main):
9137 * tools/gst-xmlinspect.c: (main):
9139 Add back --version command line option (#340460).
9141 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9142 Add --version option and use GOption for argument parsing; refactor a
9143 bit; accept directories as arguments and recurse into them; lastly,
9144 print a decent error message when things go wrong.
9146 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9148 * docs/manual/basics-bins.xml:
9149 Don't mention GstThread (#340611)
9150 * docs/manual/basics-elements.xml:
9151 Update link to GObject tutorial (#340607)
9153 2006-05-05 Wim Taymans <wim@fluendo.com>
9156 * gst/gstminiobject.c:
9157 Add note about refcounting and miniobject/buffer writeability
9158 to docs. Fixes #340604
9160 * gst/gstelementfactory.h:
9161 Added some explanation about @klass.
9163 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9165 * docs/manual/intro-motivation.xml:
9166 * docs/manual/manual.xml:
9167 Avoid CORBA & Bonobo references (#340598)
9169 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9171 * docs/manual/basics-bus.xml:
9172 * docs/manual/basics-pads.xml:
9173 Fix up some inaccuracies and omissions (#340609)
9175 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9177 * gst/gstghostpad.c:
9178 Small typo in docs (#340625)
9180 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9182 * gst/parse/Makefile.am:
9183 Make 'make -j' proof (see #340698).
9185 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9188 Require GLib-2.8 here as well.
9190 2006-05-05 Wim Taymans <wim@fluendo.com>
9192 * gst/glib-compat.c:
9193 * gst/gst.c: (init_pre):
9194 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9195 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9196 (gst_object_dispatch_properties_changed):
9198 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9199 * gst/gststructure.c: (gst_structure_set_valist):
9200 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9201 Remove pre glib2.8 compatibility, fixes #340508
9203 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9206 Mention type of tags in doc blurbs.
9208 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9210 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9211 (gst_pad_configure_src), (gst_pad_push):
9212 Restore acceptcaps checking behaviour now that good plugins have
9215 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9217 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9228 * gst/parse/Makefile.am:
9229 * libs/gst/base/gstadapter.c:
9230 * libs/gst/base/gstbasesrc.c:
9231 * libs/gst/base/gstpushsrc.c:
9232 * libs/gst/base/gsttypefindhelper.c:
9233 * plugins/elements/gstfakesrc.c:
9234 * plugins/elements/gstidentity.c:
9235 Make sure gstprivate.h and/or config.h are
9236 always included first, otherwise some of our
9237 defines (like _FILE_OFFSET_BITS) might be
9238 redefined in the system headers. Fixes build
9239 on opensolaris (#340016).
9241 2006-05-04 Wim Taymans <wim@fluendo.com>
9243 * docs/libs/gstreamer-libs-sections.txt:
9244 API: addition: gst_adapter_take_buffer()
9246 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9247 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9248 (gst_adapter_available_fast):
9249 * libs/gst/base/gstadapter.h:
9250 Prepare for optimizing the hell out of this hugely inefficient
9252 Added gst_adapter_take_buffer() so we can at least start thinking
9253 about subbuffering and merging.
9254 Added some comments.
9256 * tests/check/Makefile.am:
9257 * tests/check/libs/adapter.c: (GST_START_TEST),
9258 (gst_adapter_suite), (main):
9259 Added GstAdapter check.
9261 2006-05-04 Wim Taymans <wim@fluendo.com>
9263 * docs/design/part-overview.txt:
9264 Fix some typos, add blurb about buffer flags.
9266 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9268 * docs/libs/gstreamer-libs-sections.txt:
9269 make sure GstBaseTransformClass shows up in the docs
9270 * libs/gst/base/gstbasetransform.c:
9271 * libs/gst/base/gstbasetransform.h:
9272 move docs so gtk-doc picks it up now
9274 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9276 * docs/libs/gstreamer-libs-sections.txt:
9277 add missing symbols to docs
9279 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9282 back out the newsegment handling change, see #340060 for ongoing
9285 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9287 * tools/gst-run.c: (get_candidates), (main):
9288 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9289 work); fix typo in error message. Fixes #340079.
9291 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9293 * common/Makefile.am:
9295 * docs/faq/Makefile.am:
9296 * docs/gst/Makefile.am:
9297 * docs/libs/Makefile.am:
9298 * docs/manual/Makefile.am:
9299 * docs/plugins/Makefile.am:
9300 * docs/pwg/Makefile.am:
9301 * docs/slides/Makefile.am:
9303 * common/upload.mak:
9304 move upload.mak to common
9306 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9308 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9309 add more asserts on refcounts
9310 do more cleanup at end of tests
9311 fix test leaks showing in FC5
9313 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9315 * plugins/elements/gsttypefindelement.c:
9316 (gst_type_find_element_handle_event):
9317 reverted wrong change and reflowed code to avoid others falling into
9320 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9322 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9323 fix changelog entry about last collectpads change,
9324 add notes about proper fix
9326 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9329 * gst/gstregistry.c: (gst_registry_scan_path_level),
9330 (gst_registry_scan_path):
9331 * gst/gstregistry.h:
9332 only write out registry if it has changed, fixes #338339
9334 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9337 * gst/gstpipeline.c:
9338 * plugins/elements/gstcapsfilter.c:
9339 * plugins/elements/gstfakesink.c:
9340 * plugins/elements/gstfakesrc.c:
9341 * plugins/elements/gstfdsink.c:
9342 * plugins/elements/gstfdsrc.c:
9343 * plugins/elements/gstfilesink.c:
9344 * plugins/elements/gstfilesrc.c:
9345 * plugins/elements/gstidentity.c:
9346 * plugins/elements/gstqueue.c:
9347 * plugins/elements/gsttee.c:
9348 * plugins/elements/gsttypefindelement.c:
9349 (gst_type_find_element_handle_event):
9350 make GstElementDetails const
9352 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9354 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9355 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9356 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9357 more detailed debug and formatting cleanup,
9358 forward newsegments to src-pad (so that e.g. adder not eats them)
9360 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9362 * gst/gstutils.c: (gst_element_link_pads):
9365 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9367 * libs/gst/controller/gstcontroller.c:
9368 (gst_controller_sync_values):
9370 * tests/check/libs/controller.c: (GST_START_TEST),
9371 (gst_controller_suite):
9372 a new test for live value handling
9374 2006-04-28 Wim Taymans <wim@fluendo.com>
9376 * gst/gstutils.c: (push_and_ref):
9377 Added some more docs.
9378 Fix refcount issue whith gst_element_found_tags() helper
9379 function. Fixes #338335
9381 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9382 Added testsuite for gst_element_found_tags().
9384 2006-04-28 Michael Smith <msmith@fluendo.com>
9386 * gst/gstvalue.c: (gst_value_serialize_flags):
9387 Avoid NULL dereference when trying to serialize flags containing
9390 2006-04-28 Michael Smith <msmith@fluendo.com>
9392 * plugins/elements/gsttypefindelement.c:
9393 (gst_type_find_element_handle_event):
9394 If we get EOS before any data is accumulated, don't use
9395 uninitialised local variables.
9397 2006-04-28 Michael Smith <msmith@fluendo.com>
9399 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9400 (gst_dp_event_from_packet):
9401 Fixes in reading/writing events over GDP (not currently used?) -
9402 dereferencing NULL events for unknown/invalid event types, memory
9403 leak, and change g_warning to GST_WARNING.
9405 2006-04-28 Wim Taymans <wim@fluendo.com>
9407 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9408 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9409 (gst_base_sink_get_position), (gst_base_sink_change_state):
9410 When frame dropping is enabled, we should not ignore frames
9412 Update some documentation.
9414 2006-04-28 Wim Taymans <wim@fluendo.com>
9416 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9417 (gst_base_src_send_event), (gst_base_src_change_state):
9418 Documentation updates.
9420 2006-04-28 Wim Taymans <wim@fluendo.com>
9422 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9423 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9424 handle EAGAIN, EINTR and short writes correctly. Also clean
9425 up some error cases, avoid a deadlock on bad file descriptors and
9426 use GST_DEBUG_OBJECT.
9429 2006-04-28 Wim Taymans <wim@fluendo.com>
9431 * gst/gstvalue.c: (gst_value_serialize_buffer),
9432 (gst_value_deserialize_buffer):
9433 Don't try to serialize a GValue with a NULL buffer.
9436 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9437 Added check for serialisation of NULL buffers.
9439 2006-04-28 Wim Taymans <wim@fluendo.com>
9441 * gst/gstminiobject.c: (gst_value_take_mini_object):
9442 Taking a NULL miniobject is valid, fix the case where
9443 we try to unref the NULL miniobject.
9445 2006-04-28 Wim Taymans <wim@fluendo.com>
9447 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9449 * gst/gstbin.c: (gst_bin_handle_message_func):
9451 Don't leak bin refcount when a state recalc is
9452 in progress and we delay another one #339808.
9454 2006-04-28 Wim Taymans <wim@fluendo.com>
9456 * docs/design/part-TODO.txt:
9457 Mention QoS as an ongoing work item.
9459 * docs/design/part-buffering.txt:
9460 New doc about buffering that needs to be fleshed out
9463 * docs/design/part-qos.txt:
9464 More QoS policy for decoders/demuxers/transforms
9466 * docs/design/part-trickmodes.txt:
9469 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9474 === release 0.10.5 ===
9476 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9479 releasing 0.10.5, "Fogo"
9481 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9483 patch by: Wim Taymans
9485 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9486 (gst_pad_configure_src), (gst_pad_push):
9487 * gst/gstpipeline.c: (gst_pipeline_init):
9488 Fix internal data flow errors. Fixes #338711.
9490 2006-04-12 Wim Taymans <wim@fluendo.com>
9492 * tests/check/gst/gstelement.c: (GST_START_TEST):
9493 Don't leak the factory.
9495 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9498 * win32/common/config.h:
9501 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9503 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9504 (gst_controller_unset_all):
9505 Free allocated GstTimedValues when freeing list nodes.
9506 Should fix leaks 'make check-valgrind' complains about.
9508 * win32/common/libgstcontroller.def:
9509 Add gst_controller_unset_all.
9511 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9513 * docs/libs/gstreamer-libs-sections.txt:
9514 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9515 (gst_controller_unset_all):
9516 * libs/gst/controller/gstcontroller.h:
9517 API: Added new method gst_controller_unset_all()
9518 fixed gst_controller_unset()
9519 * tests/check/libs/controller.c: (GST_START_TEST),
9520 (gst_controller_suite):
9521 Added two testcases for new and fixed method
9523 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9525 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9526 MSG_DONTWAIT is not defined on Cygwin, so work
9527 around that (fixes #317048).
9529 2006-04-11 Wim Taymans <wim@fluendo.com>
9531 * gst/gstelementfactory.c: (gst_element_register),
9532 (gst_element_factory_create), (gst_element_factory_make):
9535 Updated docs (Fixes #131079)
9537 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9540 * tests/check/gst/gstelement.c: (GST_START_TEST),
9541 (gst_element_suite):
9542 Added testcase for elementfactory class field.
9544 2006-04-10 Wim Taymans <wim@fluendo.com>
9547 Added some more docs.
9549 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9550 (gst_base_sink_reset_qos):
9551 Calculate more accurate rate values.
9553 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9555 * gst/gst_private.h:
9556 add a new #ifdef to use __declspec(dllimport) only for
9557 other modules and not for gstreamer core
9558 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9559 use gst_guint64_to_gdouble for conversion
9560 * win32/common/libgstreamer.def:
9561 add new exported functions
9562 * win32/vs6/gst_inspect.dsp:
9563 * win32/vs6/gst_launch.dsp:
9564 * win32/vs6/libgstbase.dsp:
9565 * win32/vs6/libgstcontroller.dsp:
9566 * win32/vs6/libgstcoreelements.dsp:
9567 * win32/vs6/libgstdataprotocol.dsp:
9568 * win32/vs6/libgstnet.dsp:
9569 update project files
9571 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9573 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9574 * gst/gstclock.c: (gst_clock_class_init):
9575 * gst/gstelement.c: (gst_element_class_init):
9576 * gst/gstindex.c: (gst_index_class_init):
9577 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9578 * gst/gstobject.c: (gst_object_class_init),
9579 (gst_signal_object_class_init):
9580 * gst/gstpad.c: (gst_pad_class_init):
9581 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9582 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9583 * gst/gstregistry.c: (gst_registry_class_init):
9584 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9585 * gst/gsttask.c: (gst_task_class_init):
9586 * gst/gstxml.c: (gst_xml_class_init):
9587 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9588 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9589 (gst_base_src_loop):
9590 * libs/gst/controller/gstcontroller.c:/
9591 (_gst_controller_class_init):
9592 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9593 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9594 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9595 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9596 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9597 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9599 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9601 * gst/gstpad.c: (gst_pad_link):
9602 Must set peer pads before calling the link function, otherwise
9603 a task started from a link function might get a flow-not-linked
9604 result when trying to push because the other thread where the
9605 linking happens hasn't had a chance to set the peers yet. This
9606 might happen for example when a queue gets linked to a downstream
9607 element, as queue starts a streaming task when its source pad
9608 gets linked. Happens in real life when playing back flac/musepack
9609 files in playbin (#332390).
9611 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9615 * libs/gst/base/gstadapter.h:
9616 * libs/gst/base/gstbasesink.h:
9617 * libs/gst/base/gstbasesrc.h:
9618 * libs/gst/base/gstbasetransform.h:
9619 * libs/gst/base/gstcollectpads.h:
9620 * libs/gst/base/gstpushsrc.h:
9621 Fix broken GObject macros
9623 2006-04-07 Wim Taymans <wim@fluendo.com>
9625 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9626 Initialize start and stop times, thanks valgrind.
9628 2006-04-07 Wim Taymans <wim@fluendo.com>
9630 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9631 Be a bit nicer to badly behaving upstream elements that expect
9632 us to deal with non TIME segments and timestamps (such as fakesrc
9635 2006-04-07 Wim Taymans <wim@fluendo.com>
9638 Small documentation clarification about the signal watch.
9640 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9641 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9642 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9643 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9644 (gst_base_sink_get_position_last),
9645 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9646 Convert and store timestamps in stream time and running time, the
9647 raw timestamps are not useful, also document this better.
9648 Use different window sizes for good and bad QoS observations so
9649 we react to badness a little quicker.
9650 Keep track of the amount of rendered and dropped buffers.
9651 Send QoS timestamps in running time.
9653 * libs/gst/base/gstbasetransform.c:
9654 (gst_base_transform_sink_eventfunc),
9655 (gst_base_transform_handle_buffer):
9656 Compare QoS timestamps against running time.
9658 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9663 2006-04-06 Michael Smith <msmith@fluendo.com>
9665 * gst/gstpad.c: (gst_pad_set_property):
9666 Use g_value_get_object() instead of g_value_dup_gst_object(),
9667 to avoid double-reffing the pad template (which we then sink,
9668 so this worked previously if (and only if) the pad template
9671 * gst/gstpadtemplate.c: (gst_pad_template_init),
9672 (gst_pad_template_pad_created):
9673 Never return floating references to pad templates, create
9674 them as initially-sunken.
9676 Document an extra function (and make this stop sinking our
9677 pad template, since that is now guaranteed to do nothing,
9678 since we created it sunken).
9680 * gst/gstghostpad.c:
9683 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9685 * gst/gstinfo.c: (__gst_in_valgrind):
9688 * plugins/elements/gsttypefindelement.c:
9689 (gst_type_find_element_chain):
9690 Don't leak buffer caps.
9692 2006-04-06 Michael Smith <msmith@fluendo.com>
9694 * gst/parse/grammar.y:
9695 Fix a leak in parse-launch for any source-or-sink named element
9698 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9699 Unref the pipeline if it exists after we've failed parsing.
9701 2006-04-05 Michael Smith <msmith@fluendo.com>
9703 * gst/gstpipeline.c: (gst_pipeline_init):
9704 When we create a pipeline bus, initially create it in flushing mode.
9705 Fixes leaks in at least one test, and makes a new pipeline work the
9706 same as one that has gone to READY and then back to NULL.
9711 2006-04-05 Michael Smith <msmith@fluendo.com>
9713 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9714 Unref a pad we reffed.
9715 * tests/check/gst/gstutils.c: (GST_START_TEST):
9718 2006-04-05 Michael Smith <msmith@fluendo.com>
9720 * gst/gstquery.c: (gst_query_set_formats),
9721 (gst_query_set_formatsv):
9722 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9724 2006-04-05 Michael Smith <msmith@fluendo.com>
9726 * tests/check/generic/sinks.c: (GST_START_TEST):
9727 Fix a variety of memleaks in sinks check, which are only sometimes
9728 shown by running the tests under valgrind (weird?).
9730 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9732 * docs/version.entities.in:
9733 Fix the substituted entity name after thomas' changes on the
9736 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9738 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9741 2006-04-05 Andy Wingo <wingo@pobox.com>
9743 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9745 * libs/gst/base/gstbasetransform.c
9746 (gst_base_transform_sink_eventfunc): When resetting our segment on
9747 FLUSH_STOP, also update the flag saying we haven't seen a
9750 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9752 Patch by: Paolo Borelli <pborelli at katamail dot com>
9754 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9755 (gst_plugin_check_license):
9756 minor clean-ups: G_DEFINE_TYPE already takes care of the
9757 parent_class stuff, no need to do it twice. Mark array of
9758 license strings as constant. (#337103)
9760 2006-04-04 Michael Smith <msmith@fluendo.com>
9762 * tools/gst-inspect.c: (print_element_list):
9763 Free the right plugin list; fixes a memory leak.
9765 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9767 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9769 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9770 Don't error out on empty buffers (#336945).
9772 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9774 * docs/libs/gstreamer-libs-sections.txt:
9776 * libs/gst/base/gstbasesink.c:
9777 * libs/gst/base/gstbasesink.h:
9778 * libs/gst/base/gstbasesrc.c:
9779 * libs/gst/base/gstbasesrc.h:
9780 Documentation updates. Make BaseSink and BaseSrc docs contain the
9781 class structure so that people can actually see the prototypes for
9782 virtual functions they're supposed to be overriding.
9784 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9786 * plugins/elements/gsttypefindelement.c:
9787 (gst_type_find_element_chain):
9788 More debug info; when skipping typefinding, send cached
9789 events in all cases.
9791 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9794 use new AS_VERSION and AS_NANO macros
9795 * gst/gst-i18n-lib.h:
9798 * gst/gstversion.h.in:
9799 * win32/common/config.h:
9800 * win32/common/config.h.in:
9803 2006-03-31 Michael Smith <msmith@fluendo.com>
9805 * plugins/elements/gsttypefindelement.c:
9806 (gst_type_find_element_chain):
9807 Do not typefind content if the buffers already have caps.
9808 Neccesary for icydemux (#333657), and the right thing to do anyway.
9810 2006-03-30 Wim Taymans <wim@fluendo.com>
9812 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9813 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9814 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9815 (gst_base_sink_record_qos_observation),
9816 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9817 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9818 (gst_base_sink_change_state):
9819 More QoS measurements as described in the design doc.
9820 Get rid of ringbuffer with observations, running average is
9821 more simple and equally good.
9822 Calculates valid proportion now.
9823 Added beginning of flood measurement.
9825 2006-03-29 Wim Taymans <wim@fluendo.com>
9827 * docs/design/part-qos.txt:
9829 Small documentation updates and additions.
9831 2006-03-29 Wim Taymans <wim@fluendo.com>
9833 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9834 (gst_base_src_send_event), (gst_base_src_loop),
9835 (gst_base_src_change_state):
9836 Perform the EOS logic when we reach the segment stop position.
9837 Fix compilation on gcc4.1
9839 2006-03-29 Wim Taymans <wim@fluendo.com>
9841 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9843 * plugins/elements/gstqueue.c: (gst_queue_init),
9844 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9845 (gst_queue_set_property):
9846 * plugins/elements/gstqueue.h:
9847 In queue, when EOS is received, if minimum threshold > max_size -
9848 current_level, there is chance that queue blocks forever in conditional
9849 item del wait. This is because the queue is not emptied completely due
9850 to minimum threshold. Here is another approach. Instead of setting
9851 cur_levels to max in EOS, just zero all minimum threshold levels. This
9852 should make sure that queue gives out all data. When going to READY
9853 (stop) state, just reset the original minimum threshold levels.
9856 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9858 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9859 (gst_type_find_element_handle_event),
9860 (gst_type_find_element_send_cached_events),
9861 (gst_type_find_element_change_state):
9862 * plugins/elements/gsttypefindelement.h:
9863 When typefinding is done in push mode, we should cache
9864 events we receive during typefinding instead of just
9865 dropping them (e.g. newsegment, custom events from
9866 dvdreadsrc etc.) and then send them out once we've
9867 determined the type of the stream (and decodebin
9868 has had a chance to plug in a decoder/demuxer).
9870 2006-03-27 Wim Taymans <wim@fluendo.com>
9872 * docs/design/part-qos.txt:
9875 2006-03-27 Wim Taymans <wim@fluendo.com>
9877 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9879 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9880 (gst_base_src_send_event), (gst_base_src_change_state):
9881 Handle element seek correctly when we are streaming.
9884 2006-03-24 Michael Smith <msmith@fluendo.com>
9886 * docs/faq/gst-uninstalled:
9887 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9888 allow you to correctly run intalled applications built against old
9889 core, using plugins that require updated core (e.g. running
9890 installed totem against a full uninstalled gstreamer stack)
9892 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9894 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9897 2006-03-24 Wim Taymans <wim@fluendo.com>
9899 * docs/gst/gstreamer-sections.txt:
9900 Rearrange the order of the methods so that related methods
9901 are grouped together in sections.
9903 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9906 Little clarification in the docs
9908 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9912 * plugins/elements/gstidentity.c:
9913 * plugins/elements/gstqueue.c:
9914 * plugins/elements/gsttee.c:
9915 * plugins/elements/gsttypefindelement.c:
9916 GST_ELEMENT_DETAILS formatting
9918 2006-03-24 Wim Taymans <wim@fluendo.com>
9920 * libs/gst/base/gstbasesink.h:
9921 Only add fields, not insert or we break ABI.
9923 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9925 * win32/common/libgstbase.def:
9926 * win32/common/libgstreamer.def:
9927 Update, add recently added functions.
9929 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9931 * docs/gst/gstreamer-sections.txt:
9932 * gst/gstutils.c: (gst_pad_query_peer_position),
9933 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9935 API: add some new utility functions:
9936 - gst_pad_query_peer_position()
9937 - gst_pad_query_peer_duration()
9938 - gst_pad_query_peer_convert()
9940 2006-03-23 Wim Taymans <wim@fluendo.com>
9942 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9943 (gst_base_sink_init), (gst_base_sink_finalize),
9944 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9945 (gst_base_sink_set_property), (gst_base_sink_get_property),
9946 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9947 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9948 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9949 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9950 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9951 (gst_base_sink_preroll_object), (gst_base_sink_event),
9952 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9953 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9954 (gst_base_sink_query), (gst_base_sink_change_state):
9955 Decouple max-lateness and the fact that QoS messages are generated
9956 with a new property (qos).
9957 added API: GstBaseSink::async_play()
9958 Add vmethod so subclasses can be notified of ASYNC playing
9960 Collect timestamp start and stop to report better current
9961 position in EOS/PLAYING/PAUSED/READY/NULL.
9962 Refactor QoS/frame dropping and other measurements.
9963 API: GstBaseSrc::qos
9966 * libs/gst/base/gstbasesink.h:
9967 Added Private struct.
9968 API: gst_base_sink_set_qos_enabled()
9969 API: gst_base_sink_is_qos_enabled()
9971 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9973 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9974 If compiling against GLib-2.8 or newer, try to read the
9975 registry file using GMappedFile first before falling back
9976 to fopen() + fread() (#332151).
9978 2006-03-22 Wim Taymans <wim@fluendo.com>
9980 * gst/gstinfo.c: (gst_debug_set_active),
9981 (gst_debug_category_set_threshold):
9982 Disable debugging unless explicitly activated.
9985 2006-03-22 Wim Taymans <wim@fluendo.com>
9987 * gst/gstelement.c: (gst_element_set_locked_state),
9988 (gst_element_dispose):
9989 Cleanup the error case.
9991 * gst/gstobject.c: (gst_object_dispose):
9992 print a critical when some object was disposed with
9993 a parent, also revive the object since it might
9996 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9998 * tools/gst-launch.1.in:
10001 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10004 * tests/check/Makefile.am:
10005 disable some tests when we don't have a registry
10006 * tests/check/gst/gstutils.c: (gst_utils_suite):
10007 don't build the part that needs parsing
10009 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10012 * tests/examples/Makefile.am:
10013 fix --disable-parse build
10015 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10017 * tools/gst-feedback.1.in:
10018 Fix typo: s/feeback/feedback/ (#133494).
10020 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10022 * tools/Makefile.am:
10023 * tools/gst-launch.1.in:
10024 Add FILES section and correct entry about GST_REGISTRY_PATH
10025 environment variable (#133495; #133494).
10027 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10029 * tools/Makefile.am:
10030 * tools/gst-md5sum.1.in:
10031 * tools/gst-md5sum.c:
10032 Remove gst-md5sum and man page (the md5sink element
10033 required was removed ages ago)
10035 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10037 * gst/gststructure.c: (gst_structure_id_set_value):
10038 Make sure that string fields in structures/taglists
10039 contain valid UTF-8 - we don't want to pass rubbish to
10040 applications because of a buggy plugin (cp. #334167).
10042 2006-03-21 Edward Hervey <edward@fluendo.com>
10044 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10045 (gst_bin_handle_message_func):
10046 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10047 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10048 (gst_element_set_bus_func):
10049 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10050 * gst/gstminiobject.c: (gst_value_set_mini_object),
10051 (gst_value_take_mini_object):
10052 * gst/gstpad.c: (gst_pad_set_pad_template):
10053 * gst/gstpipeline.c: (gst_pipeline_dispose),
10054 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10055 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10056 (gst_collect_pads_chain):
10057 * libs/gst/net/gstnettimeprovider.c:
10058 (gst_net_time_provider_set_property):
10059 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10060 It's in fact all issues with gst_*object_replace().
10062 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10064 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10066 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10067 * pkgconfig/gstreamer-check.pc.in:
10068 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10070 2006-03-21 Edward Hervey <edward@fluendo.com>
10074 * gst/gstmessage.h:
10075 gst_[buffer|event|message]_ref() macros are replaced by a static
10076 inline functions because gcc-4.1 will about if the return value
10078 * tests/check/gst/gstevent.c: (event_probe):
10079 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10081 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10084 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10085 the type' case. (Closes: #335195 for now). In the future, when we
10086 depend on GLib 2.10, we could also intern the type name using
10087 g_intern_static_string()
10089 2006-03-20 Wim Taymans <wim@fluendo.com>
10091 * gst/gstbin.c: (gst_bin_handle_message_func),
10092 (bin_query_max_init), (bin_query_position_fold),
10093 (bin_query_position_done), (gst_bin_query):
10094 Position query should also take max of all streams.
10096 2006-03-20 Wim Taymans <wim@fluendo.com>
10098 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10099 (gst_fake_src_finalize):
10100 Fix leaks in fakesrc.
10102 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10103 Fix leaks in the testcase.
10105 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10107 * gst/gst_private.h:
10108 add win32 specific import decoration(__declspec(dllimport))
10109 for all extern GstDebugCategory * variables
10110 * win32/common/libgstbase.def:
10111 * win32/common/libgstcontroller.def:
10112 * win32/common/libgstreamer.def:
10113 Add some exports, remove empty lines
10114 * win32/common/libgstdataprotocol.def:
10115 * win32/common/libgstdataprotocol.dsp:
10116 * win32/common/libgstnet.def:
10117 * win32/common/libgstnet.dsp:
10118 new project files and exportation files added
10120 2006-03-19 Wim Taymans <wim@fluendo.com>
10122 * tests/check/libs/basesrc.c: (eos_event_counter):
10123 Use proper return value for probe.
10125 2006-03-17 Wim Taymans <wim@fluendo.com>
10127 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10129 Don't leak buffers, caps and pads on negotiation errors.
10131 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10133 * docs/faq/cvs.xml:
10134 * docs/faq/dependencies.xml:
10135 * docs/faq/developing.xml:
10136 * docs/faq/faq.xml:
10137 * docs/faq/general.xml:
10138 * docs/faq/getting.xml:
10139 * docs/faq/legal.xml:
10140 * docs/faq/troubleshooting.xml:
10141 * docs/faq/using.xml:
10142 Faq review and update.
10144 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10146 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10148 Don't pound the cpu to pieces by checking get_caps when accept_caps
10149 is called with the same caps as the pad already has.
10150 Use GST_DEBUG_OBJECT when outputting caps change information.
10152 2006-03-15 Wim Taymans <wim@fluendo.com>
10154 * gst/gstclock.c: (gst_clock_class_init):
10157 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10162 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10163 (gst_pad_accept_caps), (gst_pad_configure_sink),
10164 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10165 Make the default acceptcaps behaviour be to check the requested
10166 caps against the gst_pad_get_caps output.
10168 Ensure that gst_pad_accept_caps is used to check caps when a pad
10169 doesn't have a setcaps function, so that pads automatically refuse
10170 caps that they don't allow in their pad template. (Fixes #332986)
10172 When a buffer with attached caps is pushed, ensure that the source
10173 pad receives those caps even if the element didn't call
10174 gst_pad_set_caps first.
10176 2006-03-15 Wim Taymans <wim@fluendo.com>
10178 * libs/gst/base/gstadapter.c:
10181 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10183 * win32/common/libgstbase.def:
10184 * win32/common/libgstcontroller.def:
10185 * win32/common/libgstreamer.def:
10186 Add a whole bunch of missing functions (#334434).
10188 2006-03-14 Wim Taymans <wim@fluendo.com>
10190 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10191 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10192 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10193 Better debug info when we receive a segment event.
10194 Reorganize a bit so we can pass the get_times() results around.
10195 Use the segment format when calculating the running time.
10196 Don't do QoS is sync is disabled or we have no clock or the
10197 element does not want us to sync to the clock.
10198 Don't drop buffers if QoS is disabled for now.
10200 2006-03-14 Wim Taymans <wim@fluendo.com>
10202 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10203 Marked the stats property as unimplemented so people don't get
10205 Add debug message when regression goes wrong.
10206 Added some more docs.
10208 2006-03-14 Wim Taymans <wim@fluendo.com>
10210 * gst/gstsegment.c: (gst_segment_to_stream_time):
10211 Return correct return type in case of errors.
10213 2006-03-14 Wim Taymans <wim@fluendo.com>
10215 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10216 Don't segfault on invalid formats.
10218 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10220 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10221 Can't use gst_segment_to_running_time() when the segment
10222 is not in GST_TIME_FORMAT (like with filesink, for example).
10223 Stops flac encoding pipelines from spewing critical warnings
10226 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10228 * gst/gstpipeline.c: (gst_pipeline_class_init):
10229 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10231 * plugins/elements/gsttypefindelement.c:
10232 (gst_type_find_element_handle_event):
10233 Don't try to typefind empty streams.
10235 2006-03-14 Wim Taymans <wim@fluendo.com>
10237 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10238 (gst_base_sink_do_qos):
10239 Separate QoS calculation.
10240 Only drop buffers when lateness is bigger than the
10241 duration of the buffer.
10243 2006-03-13 Wim Taymans <wim@fluendo.com>
10245 * gst/gstpipeline.c: (gst_pipeline_set_property),
10246 (gst_pipeline_get_property), (do_pipeline_seek),
10247 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10248 (gst_pipeline_get_delay):
10249 Don't deadlock when reading properties.
10251 2006-03-13 Wim Taymans <wim@fluendo.com>
10253 * libs/gst/base/gstbasetransform.c:
10254 (gst_base_transform_class_init), (gst_base_transform_init),
10255 (gst_base_transform_sink_event),
10256 (gst_base_transform_sink_eventfunc),
10257 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10258 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10259 (gst_base_transform_set_property),
10260 (gst_base_transform_get_property),
10261 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10262 (gst_base_transform_set_qos_enabled),
10263 (gst_base_transform_is_qos_enabled):
10264 * libs/gst/base/gstbasetransform.h:
10265 Make basetransform virtual method for src events too.
10266 Handle QOS in basetransform.
10267 API: gst_base_transform_update_qos()
10268 API: gst_base_transform_set_qos_enabled()
10269 API: gst_base_transform_is_qos_enabled()
10271 2006-03-13 Wim Taymans <wim@fluendo.com>
10273 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10274 (gst_base_sink_do_sync):
10276 Use QOS debug category.
10278 2006-03-13 Wim Taymans <wim@fluendo.com>
10280 * plugins/elements/gstqueue.c:
10281 Very small doc update.
10283 2006-03-13 Wim Taymans <wim@fluendo.com>
10285 * gst/gst_private.h:
10286 * gst/gstinfo.c: (_gst_debug_init):
10287 Added QOS debug category
10289 2006-03-13 Wim Taymans <wim@fluendo.com>
10291 * docs/gst/gstreamer-sections.txt:
10292 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10294 * gst/gstbus.c: (gst_bus_class_init):
10297 * gst/gstelement.c: (gst_element_set_locked_state):
10298 * gst/gstsegment.c:
10299 Documentation updates.
10301 * gst/gstpipeline.c: (gst_pipeline_get_type),
10302 (gst_pipeline_class_init), (gst_pipeline_init),
10303 (gst_pipeline_dispose), (gst_pipeline_set_property),
10304 (gst_pipeline_get_property), (do_pipeline_seek),
10305 (gst_pipeline_send_event), (gst_pipeline_change_state),
10306 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10307 (gst_pipeline_get_delay):
10308 * gst/gstpipeline.h:
10309 Added methods for setting the delay.
10310 API: gst_pipeline_set_delay()
10311 API: gst_pipeline_get_delay()
10312 Add pipeline debug category
10315 Don't reset stream time when seek failed.
10317 2006-03-13 Wim Taymans <wim@fluendo.com>
10319 * docs/design/draft-klass.txt:
10320 * docs/design/part-clocks.txt:
10321 * docs/design/part-events.txt:
10322 * docs/design/part-gstbin.txt:
10323 * docs/design/part-gstpipeline.txt:
10324 * docs/design/part-messages.txt:
10325 * docs/design/part-negotiation.txt:
10326 * docs/design/part-overview.txt:
10327 * docs/design/part-preroll.txt:
10328 * docs/design/part-seeking.txt:
10329 * docs/design/part-states.txt:
10330 * docs/design/part-streams.txt:
10331 Documentation updates.
10333 2006-03-12 Julien MOUTTE <julien@moutte.net>
10335 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10336 us to leak strings...
10338 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10340 * libs/gst/net/gstnettimeprovider.c:
10342 * win32/common/config.h:
10345 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10347 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10350 Don't check for libgnomeui (leftover from old examples
10351 that aren't built or disted any longer) (#334303).
10353 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10355 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10356 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10357 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10358 there's no space left on the device.
10360 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10363 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10364 to cast the input to GstClockTime before comparing with
10365 another GstClockTime value.
10367 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10372 === release 0.10.4 ===
10374 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10377 releasing 0.10.4, "Light"
10379 2006-03-10 Michael Smith <msmith@fluendo.com>
10381 * libs/gst/dataprotocol/dataprotocol.c:
10382 Fix docs for dataprocotol to not get the return types completely
10383 wrong for a few functions.
10385 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10387 * docs/gst/gstreamer-sections.txt:
10388 * gst/gstpipeline.c: (gst_pipeline_class_init),
10389 (gst_pipeline_init), (gst_pipeline_set_property),
10390 (gst_pipeline_get_property), (gst_pipeline_change_state),
10391 (gst_pipeline_set_auto_flush_bus),
10392 (gst_pipeline_get_auto_flush_bus):
10393 * gst/gstpipeline.h:
10394 Add new API: gst_pipeline_set_auto_flush_bus() and
10395 gst_pipeline_get_auto_flush_bus() to disable automatic
10396 flushing of the pipeline's GstBus when going from READY
10397 to NULL state (#332045).
10399 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10401 * docs/gst/gstreamer-sections.txt:
10402 * gst/gsturi.c: (gst_uri_has_protocol):
10404 Add new API: gst_uri_has_protocol() (#333779).
10406 2006-03-09 Wim Taymans <wim@fluendo.com>
10408 * gst/gstclock.c: (gst_clock_entry_new),
10409 (gst_clock_id_compare_func), (gst_clock_id_wait),
10410 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10411 (gst_clock_init), (gst_clock_get_internal_time),
10412 (gst_clock_set_master), (do_linear_regression),
10413 (gst_clock_add_observation), (gst_clock_set_property):
10417 Fix a possible segfault when the window-size is made smaller.
10418 Calculate jitter before performing the clock wait. Ideally
10419 the clock implementation should calculate jitter but we need
10420 API breakage for that.
10422 * gst/gstsystemclock.c: (gst_system_clock_init):
10425 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10426 Remove leftover else
10428 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10429 (gst_systemclock_suite):
10430 Added check to test GST_CLOCK_DIFF.
10432 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10434 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10435 (gst_type_find_helper_get_range):
10436 If we are provided with the size, we should implement
10437 GstTypeFind::get_length, so that typefind functions who
10438 want to can actually peek at the middle of a file.
10440 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10442 * docs/manual/advanced-dataaccess.xml:
10443 Add some very very basic error checking.
10445 * docs/pwg/appendix-checklist.xml:
10446 Some updates to the list of things to check when writing an element.
10448 2006-03-08 Wim Taymans <wim@fluendo.com>
10450 * docs/design/part-element-transform.txt:
10451 Added some docs about the design of tranform elements.
10453 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10454 (gst_base_src_loop), (gst_base_src_change_state):
10455 Mark buffers with the DISCONT flag.
10457 2006-03-08 Michael Smith <msmith@fluendo.com>
10459 * gst/gstregistry.h:
10460 * gst/gstregistryxml.c: (gst_registry_save),
10461 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10462 (gst_registry_xml_save_pad_template),
10463 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10464 (gst_registry_xml_write_cache):
10465 Rewrite registry-saving to avoid race conditions and check for
10468 2006-03-08 Wim Taymans <wim@fluendo.com>
10470 * libs/gst/base/gstbasetransform.c:
10471 (gst_base_transform_transform_caps),
10472 (gst_base_transform_transform_size),
10473 (gst_base_transform_prepare_output_buffer),
10474 (gst_base_transform_get_unit_size),
10475 (gst_base_transform_buffer_alloc),
10476 (gst_base_transform_handle_buffer),
10477 (gst_base_transform_change_state):
10478 Cleanups, separate normal flow from errors, add sensible
10480 Don't try to renegotiate when allocating an output buffer.
10481 Also copy DISCONT buffer flag when copying a buffer.
10482 Reset the transform after we finish streaming, not during.
10484 2006-03-08 Wim Taymans <wim@fluendo.com>
10486 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10487 Use last buffer timestamp in qos message.
10489 2006-03-07 Wim Taymans <wim@fluendo.com>
10491 Patch by: Christophe Fergeau
10493 * docs/pwg/advanced-tagging.xml:
10494 * docs/pwg/building-pads.xml:
10497 2006-03-07 Wim Taymans <wim@fluendo.com>
10499 * docs/libs/gstreamer-libs-sections.txt:
10500 Added basesink new methods.
10504 Docs updates. Flesh out the QoS docs.
10506 * libs/gst/base/gstadapter.c:
10507 Small doc clarification about ownership and flushing.
10509 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10510 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10511 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10512 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10513 * libs/gst/base/gstbasesink.h:
10515 Added new methods to allow subclass to control max-lateness
10517 Generate very basic QoS events based on last sync observation.
10518 Updated docs, fix typo, added some QoS blurb.
10520 * libs/gst/base/gstbasesrc.c:
10521 Remove obsolete _get_state() calls from docs.
10523 2006-03-07 Wim Taymans <wim@fluendo.com>
10525 * docs/libs/gstreamer-libs-sections.txt:
10526 * libs/gst/base/gstbasetransform.h:
10527 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10528 Fix docs for GstBaseSrc.
10530 2006-03-07 Wim Taymans <wim@fluendo.com>
10532 * docs/gst/gstreamer-sections.txt:
10535 * libs/gst/base/gstbasetransform.h:
10536 Small documentation fixes.
10538 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10541 Document thread-unsafety of gst_value_register_foo_func()
10542 when used at the same time as gst_value_foo() (#322628).
10544 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10546 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10547 (gst_push_src_check_get_range):
10548 Push sources don't support pull mode by default.
10550 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10552 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10553 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10554 (gst_base_src_default_check_get_range):
10555 * libs/gst/base/gstbasesrc.h:
10556 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10557 provide default implementation, and rename
10558 gst_base_src_check_get_range() to
10559 gst_base_src_pad_check_get_range() for clarity.
10561 2006-03-06 Wim Taymans <wim@fluendo.com>
10563 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10564 Make property overridable.
10566 2006-03-06 Wim Taymans <wim@fluendo.com>
10568 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10569 (gst_base_sink_init), (gst_base_sink_set_property),
10570 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10571 * libs/gst/base/gstbasesink.h:
10572 API addition: Make max-lateness a property.
10574 2006-03-06 Wim Taymans <wim@fluendo.com>
10576 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10577 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10578 Don't ever draw a frame that is >10ms late.
10580 2006-03-06 Michael Smith <msmith@fluendo.com>
10582 * gst/gstmessage.c: (_gst_message_copy):
10583 When copying a message, set the parent_refcount of the enclosed
10584 structure to point at the copy, not the original message.
10586 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10588 Patch by: Christophe Fergeau
10591 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10592 usable in c++ code (#333417)
10594 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10597 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10599 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10601 * libs/gst/base/gstbasetransform.c:
10602 (gst_base_transform_transform_caps):
10603 Make sure caps are writable before passing them to
10606 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10609 Fix some minor docs errors.
10611 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10613 Patch by: Ross Burton <ross at burtonini dot com>
10615 * gst/gsterror.c: (_gst_resource_errors_init):
10617 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10619 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10622 Add a check and output a g_warning when GStreamer is built
10623 against GLib 2.6 but running against 2.8 or higher, and vice
10624 versa. (Closes: #323542)
10626 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10628 * gst/parse/parse.l:
10629 Commit patch for parse_launch syntax from #331255. Removes
10630 support for quoted strings and mimetypes when writing filtered
10631 caps. See the bug report for more details - I'm pretty sure this
10632 obscure feature is not in use by _anyone_ anywhere.
10634 With this simple change, the size of the gstreamer.so here
10635 drops from 2193KB to 1565KB.
10637 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10639 * plugins/elements/gsttypefindelement.h:
10640 * plugins/elements/gsttypefindelement.c:
10641 (gst_type_find_element_src_event), (start_typefinding),
10642 (stop_typefinding), (gst_type_find_element_handle_event),
10643 (gst_type_find_element_chain),
10644 (gst_type_find_element_chain_do_typefinding):
10645 Use gst_type_find_helper_for_buffer() for chain-based
10648 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10650 * plugins/elements/gsttypefindelement.c:
10651 (gst_type_find_element_class_init),
10652 (gst_type_find_element_set_property),
10653 (gst_type_find_element_get_property):
10654 Deprecate "maximum" property (not only was it only taken into
10655 account for typefinding in push-mode anyway, it also was never
10656 actually possible to set it in the first place because the
10657 property was registered with the numeric property ID for the
10658 "minimum" property). Register "maximum" property correctly,
10659 for the sake of future copy'n'pasters. Remove some cruft
10660 from property get/set functions.
10662 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10664 * plugins/elements/gsttypefindelement.c:
10665 (gst_type_find_element_activate):
10666 Use gst_type_find_helper_get_range() here, so we
10667 can honour the "minimum" property and also emit
10668 the signal with the correct probability of the found caps.
10670 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10672 * docs/libs/gstreamer-libs-sections.txt:
10673 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10674 (helper_find_suggest), (gst_type_find_helper_get_range),
10675 (gst_type_find_helper):
10676 * libs/gst/base/gsttypefindhelper.h:
10677 New API: gst_type_find_helper_get_range() (#333042).
10679 2006-03-02 Michael Smith <msmith@fluendo.com>
10681 * gst/gstregistryxml.c: (load_feature):
10682 Asserting on a failure to read part of the registry is Not Cool.
10683 Just log a warning and return NULL (which is already handled)
10685 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10687 * win32/common/libgstbase.def:
10688 added export of gst_type_find_helper_for_buffer
10689 * win32/common/libgstbase.def:
10690 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10691 gst_ghost_pad_get_target
10693 2006-02-28 Wim Taymans <wim@fluendo.com>
10695 * docs/design/draft-klass.txt:
10697 Added Connector to mark elements that are only used to
10698 allow pipeline connections.
10699 Moved Debug to extra feature since most of them are
10700 functionally something else.
10702 2006-02-28 Wim Taymans <wim@fluendo.com>
10704 * docs/design/draft-klass.txt:
10705 Some updates and clarifications.
10707 2006-02-28 Wim Taymans <wim@fluendo.com>
10709 * docs/design/draft-klass.txt:
10710 Proposal for klass field values.
10712 * docs/design/part-streams.txt:
10713 Start of a doc describing stream anatomy.
10715 2006-02-28 Wim Taymans <wim@fluendo.com>
10717 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10718 Help the compiler a bit with type registration.
10719 Use existing forward cod path instead of duplicating it when
10720 handling a message.
10722 * gst/gstbus.c: (gst_bus_get_type):
10723 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10724 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10725 * gst/gstclock.c: (gst_clock_get_type):
10726 * gst/gstelement.c: (gst_element_get_type),
10727 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10728 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10729 * gst/gstminiobject.c: (gst_mini_object_get_type):
10730 * gst/gstpad.c: (gst_pad_get_type):
10731 * gst/gstsegment.c: (gst_segment_get_type):
10732 * gst/gststructure.c: (gst_structure_get_type):
10733 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10734 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10736 Help compiler with type registration.
10738 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10741 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10743 * plugins/elements/gsttypefindelement.c:
10744 (gst_type_find_element_handle_event):
10745 When we get an EOS event and have not found a type yet
10746 (most likely because we had not yet accumulated
10747 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10748 type given the data we have so far. Fixes typefinding
10749 for very short streams again, most notably quicktime
10750 redirections as used on Apple's trailer site (#331701).
10752 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10754 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10755 (gst_type_find_helper):
10756 Try typefinding factories with the highest rank first.
10758 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10760 * docs/libs/gstreamer-libs-docs.sgml:
10761 * docs/libs/gstreamer-libs-sections.txt:
10762 * libs/gst/base/gsttypefindhelper.c:
10763 Add section for typefind helper and add documentation
10764 for the old and the new function.
10766 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10768 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10769 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10770 (gst_type_find_helper_for_buffer):
10771 * libs/gst/base/gsttypefindhelper.h:
10772 New API: gst_type_find_helper_for_buffer() (#332723).
10774 2006-02-27 Michael Smith <msmith@fluendo.com>
10776 Patch by: Loïc Minier
10779 * docs/Makefile.am:
10780 * docs/slides/Makefile.am:
10781 prevent CVS directories getting disted.
10783 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10785 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10786 Use the REFCOUNTING category for caps refcounting.
10788 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10790 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10791 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10793 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10795 * plugins/elements/gsttypefindelement.c:
10796 (gst_type_find_element_activate):
10797 Use gst_pad_check_pull_range() before _activate_pull()
10798 to avoid unnecessary open/close (see #331690).
10800 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10803 Docs enhancement: make it crystal clear what the
10804 gst_pad_add_*_probe() callbacks should look like.
10806 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10808 * libs/gst/base/gstbasesrc.c:
10809 Document how applications can stop recording from
10810 live sources (see #330996).
10812 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10814 * tests/check/Makefile.am:
10815 * tests/check/libs/basesrc.c: (eos_event_counter),
10816 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10817 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10818 (gst_basesrc_suite), (main):
10819 ... and add some tests for the base source EOS stuff.
10821 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10823 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10824 Test case originally showed the problem fixed below,
10825 but was then amended. Add checks back at the place
10826 where they used to be.
10828 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10830 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10831 (gst_base_src_init), (gst_base_src_loop),
10832 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10833 (gst_base_src_change_state):
10834 * libs/gst/base/gstbasesrc.h:
10835 Don't unconditionally send EOS when going from PAUSED to
10836 READY state, esp. make sure we don't send two EOS events
10837 in some cases (e.g. one when reaching EOS and one when
10838 going from PAUSED to READY). Also, we don't want to send
10839 EOS events when operating in pull mode. However, we do
10840 want to send an EOS event when shutting down a live
10841 source explicitly, for example (fixes #330996).
10843 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10845 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10846 Update src->read_position after a seek when not using mmap.
10847 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10849 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10855 Make things work with --disable-parse as they do with
10856 --disable-load-save - the symbols involved disappear, but the
10857 header is still installed and GST_DISABLE_PARSE is included via
10860 2006-02-20 Julien MOUTTE <julien@moutte.net>
10862 * libs/gst/base/gstbasetransform.c:
10863 (gst_base_transform_change_state): Fix a stupid bug. I was
10864 sure I compiled that.
10866 2006-02-20 Julien MOUTTE <julien@moutte.net>
10868 * gst/gstpad.c: (gst_pad_set_blocked_async):
10869 * gst/gstutils.c: (gst_pad_add_data_probe),
10870 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10871 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10872 (gst_pad_remove_buffer_probe): Make those function act on the
10873 ghostpad target when it's a ghostpad. (Closes #331727)
10875 2006-02-20 Julien MOUTTE <julien@moutte.net>
10877 * libs/gst/base/gstbasetransform.c:
10878 (gst_base_transform_change_state): Make basetransform reusable.
10881 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10883 * docs/random/release:
10884 Move the current documentation of how to do a release to the top
10887 * gst/gstbin.c: (gst_bin_class_init),
10888 (gst_bin_handle_message_func):
10889 Allow multiple state-recalculation threads. (Closes #328873)
10891 2006-02-19 Julien MOUTTE <julien@moutte.net>
10893 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10894 * gst/gstpad.c: (gst_pad_set_event_function),
10895 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10896 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10897 2 strings. You can't use the STR_NULL macro on that.
10899 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10901 * gst/gstpad.c: (gst_pad_set_event_function),
10902 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10903 (gst_pad_set_getcaps_function)
10904 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10905 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10906 So now, we can use --gst-debug-level=5 on Windows
10907 * win32/common/libgstcontroller.def:
10908 Added export of gst_controller_init
10909 * win32/vs6/libgstcontroller.dsp:
10910 Fixed Release post build configuration
10912 2006-02-17 Wim Taymans <wim@fluendo.com>
10914 * tests/check/gst/gstquery.c: (GST_START_TEST):
10915 Added another check.
10917 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10919 * plugins/elements/gsttypefindelement.c: (find_peek):
10920 We can do peeks at non-zero offsets, as long as they
10921 fall within the buffer we have.
10923 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10925 * tests/check/Makefile.am:
10926 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10927 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10928 (parse_suite), (main):
10929 Add testsuite for parse launch syntax
10931 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10933 * plugins/elements/gsttypefindelement.c:
10934 (gst_type_find_element_chain):
10935 When typefinding is unsuccessful in the chain function, don't
10936 error out immediately. Only error out with NO_CAPS_FOUND if
10937 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10938 otherwise simply wait for more data so we can try typefinding
10939 again with more data later. Also, don't attempt to typefind
10940 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10941 this should improve typefinding from network sources where the
10942 size of the first buffer can be somewhat random.
10944 2006-02-14 Wim Taymans <wim@fluendo.com>
10946 * docs/gst/gstreamer-sections.txt:
10947 * gst/gstpadtemplate.c:
10948 * gst/gstpadtemplate.h:
10949 Fix padtemplate docs, fixes #328805.
10951 2006-02-14 Wim Taymans <wim@fluendo.com>
10953 * tools/gst-launch.c: (main):
10954 NO_PREROLL is not an ERROR so don't send confusing messages
10957 2006-02-14 Wim Taymans <wim@fluendo.com>
10959 Patch by: Torsten Schoenfeld
10961 * gst/gstregistry.c: (gst_registry_get_default),
10962 (_gst_registry_cleanup):
10963 Protect default registry with lock and ref/sink it.
10966 2006-02-14 Wim Taymans <wim@fluendo.com>
10969 * gst/gstquery.c: (gst_query_list_add_format),
10970 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10971 (gst_query_parse_formats_nth):
10972 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10975 2006-02-14 Wim Taymans <wim@fluendo.com>
10977 * docs/gst/gstreamer-sections.txt:
10978 Reworked query docs.
10980 * gst/gstquery.c: (gst_query_new_formats),
10981 (gst_query_list_add_format), (gst_query_set_formats),
10982 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10983 (gst_query_parse_formats_nth):
10985 Flesh out formats query, added some new methods.
10986 Fix part of #324398.
10988 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10989 Added query creation tests.
10991 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10993 * gst/gstpad.c: (fixate_value):
10994 Add a default fixation for fraction lists.
10996 2006-02-13 Wim Taymans <wim@fluendo.com>
10998 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10999 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11002 Detect and warn for obvious deadlocks. fixes #320340
11003 Fix error case where lock was not released.
11005 * tests/check/Makefile.am:
11006 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11007 (task_func), (gst_element_suite), (main):
11010 2006-02-13 Wim Taymans <wim@fluendo.com>
11012 * docs/gst/gstreamer-sections.txt:
11014 Add new functions to docs.
11016 2006-02-13 Wim Taymans <wim@fluendo.com>
11018 * docs/design/part-TODO.txt:
11019 Updated TODO list, basesrc supports seeking to non-bytes
11022 * docs/design/part-element-sink.txt:
11025 * gst/gstbin.c: (bin_replace_message),
11026 (gst_bin_handle_message_func):
11027 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11028 * gst/gstevent.c: (gst_event_finalize):
11029 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11030 (gst_pad_send_event):
11031 Use shiny new _TYPE_NAME macros.
11033 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11034 Move debug statement up.
11036 * gst/gstelement.c: (gst_element_set_locked_state):
11037 Add some debugging.
11039 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11041 * docs/gst/gstreamer-sections.txt:
11042 * gst/gstmessage.h:
11044 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11045 macros (#330906). Also, document the already existing
11046 GST_QUERY_TYPE macro.
11048 2006-02-13 Wim Taymans <wim@fluendo.com>
11050 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11051 (event_probe), (GST_START_TEST):
11052 Only events up to the pipeline EOS are counted, there are
11053 some more when going to NULL currently which we don't care
11056 2006-02-13 Wim Taymans <wim@fluendo.com>
11058 * gst/gstpad.c: (gst_pad_send_event):
11059 Correctly check flushing and emit probes. fixes #330125
11061 2006-02-10 Andy Wingo <wingo@pobox.com>
11063 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11065 (gst_bus_init): Cache the location of the private data in the
11066 instance structure.
11067 (gst_bus_enable_sync_message_emission)
11068 (gst_bus_disable_sync_message_emission): Implement new public
11070 (gst_bus_post): Emit the sync-message signal if the user asked for
11073 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11074 location of the bus-private structure.
11075 (gst_bus_enable_sync_message_emission)
11076 (gst_bus_disable_sync_message_emission): API addition
11078 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11080 Patch by: Vincent Torri
11082 * docs/pwg/building-boiler.xml:
11083 PWG patch from #326800
11085 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11088 * docs/Makefile.am:
11089 * docs/design/Makefile.am:
11092 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11097 === release 0.10.3 ===
11099 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11102 releasing 0.10.3, "Like a virgin"
11104 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11107 2nd prerelease of 0.10.3
11108 Bump libtool versioning.
11110 2006-02-07 Andy Wingo <wingo@pobox.com>
11112 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11113 update last_stop if we're in TIME format and the timestamp is
11116 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11117 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11118 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11119 If we get a new newsegment with a different format, adapt
11122 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11123 of 0. Not a problem, really.
11125 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11128 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11133 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11136 project files updated to the default vs7 configuration
11137 * win32/common/libgstbase.def:
11138 * win32/common/libgstreamer.def:
11140 removed empty lines,
11141 sorted all exported symbols alphabetically
11142 * win32/common/dirent.c:
11143 * win32/common/dirent.h:
11144 * win32/common/gchar.h:
11145 use windows line end.
11147 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11149 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11150 Send EOS event when stopping.
11152 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11155 Tell folks what to do if the plugin-foobar.xml file
11156 hasn't been generated for a newly-added plugin.
11158 2006-02-05 Julien MOUTTE <julien@moutte.net>
11160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11161 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11162 (gst_collect_pads_start), (gst_collect_pads_stop),
11163 (gst_collect_pads_event): Collectpads now holds a reference
11164 to the GstPad that was added. Indeed we don't want to look
11165 at pads that might just go away with no warning...
11167 2006-02-05 Julien MOUTTE <julien@moutte.net>
11169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11170 (gst_collect_pads_start), (gst_collect_pads_stop),
11171 (gst_collect_pads_event), (gst_collect_pads_chain):
11172 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11173 Mark Nauwelaerts's patch on bug #328491.
11175 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11177 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11179 Add some simple tests for gst_parse_bin_from_description() and
11180 gst_bin_find_unconnected_pad() (#329069).
11182 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11184 * tools/gst-launch.c: (event_loop), (main):
11185 Catch errors during preroll (#320084).
11187 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11189 * plugins/elements/gsttypefindelement.c:
11190 (gst_type_find_element_activate):
11191 Post TYPE_NOT_FOUND error message when typefinding
11192 is unsuccessful in the activate function as well.
11194 2006-02-02 Wim Taymans <wim@fluendo.com>
11196 * docs/design/part-element-sink.txt:
11199 2006-02-02 Wim Taymans <wim@fluendo.com>
11201 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11202 (gst_base_sink_render_object),
11203 (gst_base_sink_queue_object_unlocked):
11204 Only keep track of prerollable items when we are
11206 Before rendering after preroll, always check if we
11208 Added some more debugging.
11210 2006-02-02 Wim Taymans <wim@fluendo.com>
11212 * gst/gstelement.c: (gst_element_continue_state),
11213 (gst_element_set_state_func), (gst_element_change_state):
11214 Fixed #326576, been running this for quite some time with
11215 no regressions at all.
11217 2006-02-02 Wim Taymans <wim@fluendo.com>
11220 Added more suppressions
11222 2006-02-02 Wim Taymans <wim@fluendo.com>
11224 * docs/design/part-element-sink.txt:
11227 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11228 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11229 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11230 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11231 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11232 (gst_base_sink_preroll_object),
11233 (gst_base_sink_queue_object_unlocked),
11234 (gst_base_sink_queue_object), (gst_base_sink_event),
11235 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11236 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11237 (gst_base_sink_get_position), (gst_base_sink_change_state):
11238 * libs/gst/base/gstbasesink.h:
11239 Totally refactored matching the design doc.
11240 Use two segments, one to clip incomming buffers and another to
11242 Handle queueing correctly, bypass the queue when playing.
11243 Make EOS cancelable.
11244 Handle errors correctly when operating in pull based mode.
11246 * tests/check/elements/fakesink.c: (GST_START_TEST),
11248 Added new check for sinks.
11250 2006-02-02 Wim Taymans <wim@fluendo.com>
11252 * gst/gstsegment.c: (gst_segment_clip):
11253 No reason to refuse to clip when start == -1
11255 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11258 * docs/manual/intro-basics.xml:
11259 * docs/manual/intro-preface.xml:
11260 * docs/manual/manual.xml:
11261 * docs/pwg/advanced-dparams.xml:
11262 * docs/pwg/intro-basics.xml:
11263 * docs/pwg/intro-preface.xml:
11264 * docs/pwg/pwg.xml:
11265 describe dparams (controller) for plugins
11266 unify docs a little more
11268 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11270 * docs/gst/gstreamer-sections.txt:
11271 * gst/gstutils.c: (element_find_unconnected_pad),
11272 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11274 Add new API: gst_parse_bin_from_description() and
11275 gst_bin_find_unconnected_pad() (#329069).
11277 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11279 * docs/manual/README:
11280 uncover a nasty detail of the docs build
11282 2006-01-31 Wim Taymans <wim@fluendo.com>
11284 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11285 Don't cache duration messages if we're not going to use or
11288 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11290 * docs/manual/advanced-dparams.xml:
11291 * docs/pwg/advanced-dparams.xml:
11295 * libs/gst/controller/lib.c: (gst_controller_init):
11298 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11300 * gst/gstelement.c: (gst_element_message_full):
11301 also show file/line/func if no additional debug was given
11303 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11305 * win32/vs7/grammar.vcproj:
11306 activate copy of autogenerated files for Release mode
11308 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11310 * win32/common/libgstreamer.def:
11311 export gst_value_compare
11313 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11315 * plugins/elements/Makefile.am:
11316 * plugins/elements/gstelements.c:
11317 * plugins/elements/gstfdsink.c: (_do_init),
11318 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11319 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11320 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11321 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11322 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11323 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11324 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11325 * plugins/elements/gstfdsink.h:
11326 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11328 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11330 * docs/manual/advanced-dparams.xml:
11331 describe controller
11332 * docs/manual/advanced-position.xml:
11333 * docs/manual/basics-init.xml:
11334 * docs/manual/manual.xml:
11335 * docs/manual/titlepage.xml:
11336 * docs/pwg/pwg.xml:
11337 * docs/pwg/titlepage.xml:
11338 cleanup xml (more to come)
11339 * libs/gst/controller/gstcontroller.c:
11342 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11344 * win32/vs6/grammar.dsp:
11345 add autogen of gstmarshal.c,h for Release mode
11347 2006-01-30 Wim Taymans <wim@fluendo.com>
11349 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11350 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11351 (gst_base_sink_handle_object), (gst_base_sink_event),
11352 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11353 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11354 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11355 (gst_base_sink_deactivate), (gst_base_sink_activate),
11356 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11357 (gst_base_sink_query), (gst_base_sink_change_state):
11358 Basesink cleanups, remove some old code.
11359 Handle the case where a subclass can preroll in the render
11360 method (mostly audiosinks).
11361 Handle more events.
11362 Remove some locks around variables that are now protected
11363 with the PREROLL_LOCK (clock_id, flushing, ..).
11364 Optimize position query some more, do correct locking.
11365 Remove old code to push queue in state change, this is not
11366 needed anymore since preroll blocks on all prerollable items
11368 Almost implemented as described in design doc.
11370 2006-01-30 Wim Taymans <wim@fluendo.com>
11372 * tests/check/gst/gstbin.c: (GST_START_TEST):
11373 Wait for refcount to settle down before checking.
11375 2006-01-30 Wim Taymans <wim@fluendo.com>
11377 * docs/design/part-element-sink.txt:
11378 Pseudo code overview of desired sink behaviour regarding
11381 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11382 * win32/vs6/grammar.dsp:
11383 fix some bugs in Release mode for autogenerated files
11385 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11386 * win32/common/libgstbase.def:
11387 * win32/common/libgstreamer.def:
11388 export some new symbols: gst_base_src_set_format,
11389 gst_iterator_next, gst_structure_set_valist
11391 2006-01-29 Julien MOUTTE <julien@moutte.net>
11393 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11394 Set pad functions unconditionally. Fixes #329105.
11396 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11398 add vs8 project files created by Sergey Scobich
11400 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11402 * gst/gstutils.c: (gst_element_unlink_pads):
11403 Don't leak pad references.
11405 * tests/check/elements/fakesink.c: (GST_START_TEST):
11406 * tests/check/generic/sinks.c: (GST_START_TEST):
11407 * tests/check/generic/states.c: (GST_START_TEST):
11408 * tests/check/gst/gstbin.c: (GST_START_TEST):
11409 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11410 * tests/check/gst/gstelement.c: (GST_START_TEST):
11411 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11412 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11413 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11414 Fix a bunch of leaks. Make generic/sinks.c
11415 use a bit less cpu by slowing the buffer rate
11416 between fakesrc and fakesink.
11418 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11420 * gst/gstelement.c: (gst_element_send_event):
11423 * gst/gstiterator.c:
11424 * gst/gstiterator.h:
11425 * gst/gstpad.c: (gst_pad_send_event):
11426 * gst/gststructure.c:
11430 * libs/gst/base/gstadapter.c:
11431 doc fixes, to link to function, just write gst_cool_function(), don't
11434 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11436 * plugins/elements/gsttee.c: (gst_tee_do_push),
11437 (gst_tee_handle_buffer):
11438 Always prefer an actual return value from a src
11439 pad in place of NOT_LINKED. This means we return
11440 WRONG_STATE when all src pads are WRONG_STATE
11441 instead of NOT_LINKED.
11443 Lock when replacing the last message to prevent
11444 racing with the get_property method.
11448 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11450 * tests/check/Makefile.am:
11451 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11453 Add a very simple check that should have caught the memleak I fixed
11454 last night (if not for the slice allocator hiding it)
11456 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11458 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11459 (gst_bin_remove_func), (gst_bin_handle_message_func),
11460 (bin_query_duration_fold), (bin_query_generic_fold):
11461 Clean up references to the clock provider when disposed or when
11462 handling a clock-lost message from it.
11464 Unref sinks when performing a query via gst_iterator_fold, as the
11465 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11467 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11468 (gst_clock_set_master):
11469 Drop our reference to the master clock, if any, when we are disposed.
11471 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11472 Chain up in dispose.
11474 2006-01-26 Wim Taymans <wim@fluendo.com>
11476 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11477 Add some debugging.
11479 2006-01-26 Julien MOUTTE <julien@moutte.net>
11481 * plugins/elements/gsttee.c: (gst_tee_do_push),
11482 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11483 handles pad being NOT_LINKED or in WRONG_STATE.
11485 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11490 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11493 remove obsolete entry
11495 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11497 * docs/gst/gstreamer-sections.txt:
11498 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11499 (gst_bin_iterate_sources), (gst_bin_send_event):
11501 * gst/gstelement.c: (gst_element_send_event):
11503 * gst/gstpad.c: (gst_pad_send_event):
11504 added code for downstream events, reviewed docs in gstevent.c
11506 2006-01-25 Julien MOUTTE <julien@moutte.net>
11508 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11509 We only query position using the clock in the playing state.
11510 Query peer in the other cases.
11511 * win32/common/config.h: Updates.
11513 2006-01-24 Wim Taymans <wim@fluendo.com>
11515 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11516 A clock entry that is scheduled for the exact time of the
11517 clock is still in time.
11519 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11520 (gst_base_sink_do_sync):
11521 Add some more debug info.
11523 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11526 Add new vs7 project files and solution.
11528 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11531 all files removed as they were out-dated.
11533 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11535 * docs/random/release:
11537 * gst/gstbin.c: (gst_bin_init):
11538 * gst/gstbus.c: (gst_bus_new):
11540 * gst/gstpipeline.c: (gst_pipeline_init):
11541 use gst_bus_new(), improve logging, fix docs
11542 * win32/common/config.h:
11543 update for cvs build
11545 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11548 up required version of automake to 1.7
11550 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11552 * win32/common/libgstreamer.def:
11553 export gst_buffer_is_metadata_writable
11555 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11557 * docs/gst/gstreamer-sections.txt:
11559 Add gst_event_replace() (#327001)
11561 2006-01-20 Wim Taymans <wim@fluendo.com>
11563 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11564 Make it actually compile too..
11566 2006-01-20 Wim Taymans <wim@fluendo.com>
11569 Clarify behaviour of _is_equal() when passing NULL parameters.
11571 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11572 (gst_pad_set_caps):
11573 Cleanups. Don't unref NULL caps.
11574 When setting the same caps, protect caps of the pad with
11576 Use full functionality of _is_equal() when comparing caps.
11578 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11581 Don't loop infinitely if there are no buffers to present. Partially
11582 fixes #327197, but collectpads is just broken for reusing elements
11583 to do multiple encodes atm.
11585 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11587 * tools/gst-inspect.c: (print_element_features):
11588 * tools/gst-xmlinspect.c: (main):
11589 URL_HANDLER is not a plugin feature we can search for in
11592 2006-01-19 Edward Hervey <edward@fluendo.com>
11594 * gst/gstelement.c: (gst_element_pads_activate):
11595 When activating, do src pads first, then sink pads.
11596 When de-activating, do sink pads first, then src pads.
11598 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11600 * docs/gst/gstreamer-sections.txt:
11601 Add gst_index_add_associationv to the docs
11603 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11608 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11609 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11610 Do some refactoring. Doesn't actually change functionality,
11611 but makes landing the DRAIN event easier later.
11613 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11615 * docs/pwg/advanced-scheduling.xml:
11616 Update from 0.9.x to 0.10 API and make example a bit
11619 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11621 * docs/gst/gstreamer-sections.txt:
11622 Add gst_buffer_(is|make)_metadata_writable methods.
11624 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11626 * docs/design/part-sparsestreams.txt:
11627 Update sparse streams doc, hopefully for greater clarity
11629 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11631 * docs/design/part-events.txt:
11632 Remove mention of FILLER events.
11635 * docs/design/part-sparsestreams.txt:
11636 Write some things about using NEWSEGMENT to keep sparse streams
11639 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11641 * gst/gstbin.c: (gst_bin_dispose):
11642 Guard gst_object_unref call against a NULL object (dispose
11643 can theoretically be called multiple times).
11645 2006-01-18 Wim Taymans <wim@fluendo.com>
11647 * gst/gstbin.c: (gst_bin_element_set_state):
11648 * gst/gstclock.c: (gst_clock_id_wait):
11649 Added some more debug info.
11651 * libs/gst/base/gstadapter.c:
11654 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11655 (gst_base_sink_do_sync), (gst_base_sink_chain):
11656 Added some comments.
11658 2006-01-18 Wim Taymans <wim@fluendo.com>
11660 * tests/check/Makefile.am:
11661 * tests/check/elements/fakesink.c: (chain_async_buffer),
11662 (chain_async), (chain_async_return), (GST_START_TEST),
11663 (fakesink_suite), (main):
11664 Added fakesink test that checks prerolling and clipping
11667 * tests/check/gst/gstutils.c: (GST_START_TEST):
11668 Make check run faster so that buildbots don't timeout.
11670 2006-01-18 Wim Taymans <wim@fluendo.com>
11672 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11673 (gst_base_sink_do_sync):
11675 When the sink finishes blocking on the preroll buffer, it can
11676 immediatly render it instead of rendering when the next buffer
11679 2006-01-18 Wim Taymans <wim@fluendo.com>
11681 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11682 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11683 (gst_base_sink_chain):
11685 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11686 Don't store _last_stop if the buffer is dropped.
11688 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11690 * plugins/elements/gsttypefindelement.c:
11691 (gst_type_find_element_class_init):
11692 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11693 object method handler that sets the caps on the pad and we want
11694 that to happen before we emit the signal (fixes e.g. feeding a
11695 plain text file to decodebin).
11697 2006-01-18 Christian Schaller <Christian@fluendo.com>
11699 * gst/gstplugin.c: Add MPL and Proprietary as license options
11701 2006-01-18 Andy Wingo <wingo@pobox.com>
11703 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11704 symbol was exported before, it appears this was just an oversight.
11706 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11708 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11709 prototype to gint. OK since this prototype was not in the header.
11711 2006-01-17 Andy Wingo <wingo@pobox.com>
11713 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11714 registry while we remove plugins.
11716 * tools/gst-inspect.c (print_element_info): Don't unref the
11717 factory arg, that should be the responsibility of whatever code
11718 received the ref. Fixes a double-free when called from
11719 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11720 (main): Unref the factory if we have one.
11721 (print_element_list): No change -- relies on the
11722 plugin_feature_list_free to free the list of features.
11724 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11726 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11727 (gst_buffer_make_metadata_writable):
11729 * libs/gst/base/gstbasetransform.c:
11730 (gst_base_transform_prepare_output_buf):
11731 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11732 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11733 Replace gst_buffer_(make|is)_metadata_writable patch now
11734 that the release is out.
11736 2006-01-17 Andy Wingo <wingo@pobox.com>
11738 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11739 in the present tense without reference to versions.
11741 * gst/gstregistry.c (gst_registry_add_plugin)
11742 (gst_registry_remove_plugin, gst_registry_remove_feature)
11743 (gst_registry_find_feature, gst_registry_get_feature_list)
11744 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11745 (gst_registry_lookup, gst_registry_scan_path)
11746 (_gst_registry_remove_cache_plugins)
11747 (gst_registry_get_feature_list_by_plugin): Add argument
11750 === release 0.10.2 ===
11752 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11755 releasing 0.10.2, "If man is five"
11757 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11761 * libs/gst/base/gstbasetransform.c:
11762 (gst_base_transform_prepare_output_buf):
11763 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11764 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11765 Back out patch until after the release.
11767 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11769 * gst/gstminiobject.c:
11770 Spelling fix in docs.
11771 * ChangeLog - remove conflict indicator
11773 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11775 Reviewed By: Andy Wingo
11777 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11778 (gst_buffer_make_metadata_writable):
11780 Add gst_buffer_(is|make)_metadata_writable as analogues of
11781 gst_buffer_(is|make)_writable.
11783 * libs/gst/base/gstbasetransform.c:
11784 (gst_base_transform_prepare_output_buf):
11785 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11786 Use name gst_buffer_(is|make)_metadata_writable functions.
11788 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11789 Test gst_buffer_(is|make)_metadata_writable
11793 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11795 * docs/manual/Makefile.am:
11796 don't do parallel make
11799 * win32/common/config.h.in:
11800 add generations for HOST_CPU and GST_MAJORMINOR
11801 * win32/common/config.h:
11802 commit generated result
11804 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11806 * docs/manual/appendix-integration.xml:
11807 Update GNOME integration section to use gst_init_get_option_group()
11808 instead of the old popt stuff (#322911). Also, GNOME applications
11809 should now use gconf*sink and gconf*src instead of the old gconf
11812 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11815 * docs/gst/gstreamer-docs.sgml:
11816 * docs/gst/gstreamer-sections.txt:
11817 * docs/libs/gstreamer-libs-sections.txt:
11818 add new API entries to the docs
11819 * libs/gst/controller/Makefile.am:
11820 * libs/gst/controller/gstcontroller.c:
11821 * libs/gst/controller/gstcontroller.h:
11822 * libs/gst/controller/gstcontrollerprivate.h:
11823 * libs/gst/controller/gsthelper.c:
11824 * libs/gst/controller/gstinterpolation.c:
11825 move private structs to private header
11827 gstreamer-0.7 -> gstreamer-0.10
11828 * tests/check/libs/struct_i386.h:
11829 remove private structs
11831 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11833 * plugins/indexers/Makefile.am:
11834 Fixes as part of #317048
11836 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11838 * plugins/indexers/Makefile.am:
11839 fix #316086 - compilation when mmap is missing
11841 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11843 * libs/gst/base/gstbasesink.c:
11844 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11845 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11846 * win32/common/config.h:
11847 added some defines GST_MAJORMINOR and HOST_CPU
11848 * win32/common/libgstbase.def:
11849 * win32/common/libgstreamer.def:
11850 added some exported functions.
11852 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11854 * libs/gst/controller/gstcontroller.c:
11855 (gst_controlled_property_set_interpolation_mode),
11856 (gst_controlled_property_new):
11857 * libs/gst/controller/gstcontroller.h:
11858 * libs/gst/controller/gstinterpolation.c:
11859 (interpolate_none_get_string_value_array):
11860 make G_TYPE_STRING controlable
11862 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11865 * tools/gst-feedback.1.in:
11866 * tools/gst-inspect.1.in:
11867 * tools/gst-launch.1.in:
11868 * tools/gst-md5sum.1.in:
11869 * tools/gst-typefind.1.in:
11870 * tools/gst-xmlinspect.1.in:
11871 * tools/gst-xmllaunch.1.in:
11872 cleanup man-pages, remove reference to gst-register, document env-vars
11874 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11876 * gst/gstbuffer.c: (gst_buffer_span):
11877 gst_buffer_span should copy the timestamp of the first buffer
11878 if they were both originally overlapping subbuffers of the
11879 same parent, using the same logic as the 'slow copy' case.
11881 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11883 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11884 Need to awaken ALL the pads when we pop a buffer, otherwise
11885 collectpads only works when there is 2 input streams.
11887 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11889 * docs/random/ensonic/media-device-daemon.txt:
11892 fix doc example, add clarification
11893 * tools/gst-launch.1.in:
11894 add initial info about GST_PLUGIN_PATH, needs more work
11896 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11898 * docs/manual/basics-bins.xml:
11899 * docs/manual/basics-elements.xml:
11900 * docs/manual/intro-basics.xml:
11901 Some more minor docs additions and updates.
11903 2006-01-11 Wim Taymans <wim@fluendo.com>
11905 * docs/manual/basics-bins.xml:
11906 * docs/manual/basics-elements.xml:
11907 Some small fixes as pointed out by Ser-ver on IRC.
11909 2006-01-10 Edward Hervey <edward@fluendo.com>
11911 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11912 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11913 the single-segment mode.
11915 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11917 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11919 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11920 (gst_base_src_perform_seek), (gst_base_src_send_event),
11921 (gst_base_src_set_property), (gst_base_src_get_property),
11922 (gst_base_src_loop), (gst_base_src_start),
11923 (gst_base_src_activate_push):
11924 * libs/gst/base/gstbasesrc.h:
11925 Name (private) union; makes Sun's Forte compiler happy (#324900).
11927 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11930 gst-register is gone.
11932 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11934 * gst/gstvalue.c: (_gst_value_initialize):
11935 make the G_TYPE_DATE instantiation work if debug is disabled
11937 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11939 * gst/gstmessage.c: (gst_message_parse_tag),
11940 (gst_message_parse_error), (gst_message_parse_warning):
11941 Don't crash when return location for error/warning debug
11942 string is NULL; add fact that return locations can be
11943 NULL to docs where appropriate.
11945 2006-01-05 Wim Taymans <wim@fluendo.com>
11947 * gst/gstplugin.c: (gst_plugin_load_file):
11948 Replace strdup by g_strdup.
11950 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11952 * docs/pwg/advanced-types.xml:
11955 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11957 submitted by: Abel Cheung
11961 Added Chinese (traditional) translation
11963 2006-01-04 Wim Taymans <wim@fluendo.com>
11965 * docs/manual/basics-pads.xml:
11966 * docs/plugins/Makefile.am:
11967 * docs/plugins/gstreamer-plugins-docs.sgml:
11968 * docs/plugins/gstreamer-plugins-sections.txt:
11969 * docs/pwg/advanced-clock.xml:
11970 * docs/pwg/advanced-scheduling.xml:
11971 * docs/pwg/advanced-types.xml:
11972 * plugins/elements/gstfdsink.c:
11973 * plugins/elements/gstfdsrc.c:
11974 * plugins/elements/gstfdsrc.h:
11975 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11976 * plugins/elements/gstidentity.h:
11977 * plugins/elements/gstqueue.h:
11978 * plugins/elements/gsttee.c:
11979 * plugins/elements/gsttee.h:
11980 * plugins/elements/gsttypefindelement.c:
11981 (gst_type_find_element_class_init):
11982 * plugins/elements/gsttypefindelement.h:
11983 Small updates to various docs.
11984 Added core plugins to docs.
11986 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11989 add a suppression for liboil's uninitialized variable
11991 2006-01-02 James Livingston <jrl at ids dot org dot au>
11993 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11996 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11997 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11998 compiler switch is being used (#325429).
12000 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12002 * gst/gstbin.c: (gst_bin_query):
12003 Disable duration query caching in bins until it gets
12004 fixed (see #324807).
12006 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12008 * tools/gst-inspect.c: (print_element_properties_info):
12009 Handle properties of POINTER and BOXED type.
12011 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12013 * gst/gst.c: (init_post):
12014 Init tags stuff and some other things before loading
12015 any static plugins (there may be other static plugins
12016 than just the GStreamer ones, and they may want to
12017 register their own tags or formats or whatever, and
12018 preferably without segfaulting).
12020 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12021 Print at least a warning in the debug logs if we drop a
12022 query just because we don't know how to adjust the value
12023 in the particular format.
12025 2005-12-24 David Schleef <ds@schleef.org>
12027 * tools/gstreamer-completion:
12028 Replacement for gst-complete written in sh and sed. Only
12029 completes names of features, but that's 90% of what I want
12030 it for. Properties are not available in registry.xml. (Maybe
12033 === release 0.10.1 ===
12035 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12038 releasing 0.10.1, "Nollaig chridheil"
12040 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12042 * docs/faq/cvs.xml:
12043 Add missing quote, should be make ERROR_CFLAGS="".
12045 2005-12-20 Wim Taymans <wim@fluendo.com>
12047 * docs/design/part-trickmodes.txt:
12048 More documentation on trickmodes.
12050 2005-12-20 Edward Hervey <edward@fluendo.com>
12052 * gst/gstcaps.c: (gst_static_caps_get_type):
12054 API addition: GST_TYPE_STATIC_CAPS
12055 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12056 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12057 * gst/gstpadtemplate.h:
12058 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12059 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12062 2005-12-18 Wim Taymans <wim@fluendo.com>
12064 * libs/gst/base/gstadapter.c:
12065 * libs/gst/base/gstadapter.h:
12066 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12067 (gst_base_sink_get_position):
12068 * libs/gst/base/gstbasesink.h:
12069 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12070 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12071 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12072 (gst_base_src_send_event), (gst_base_src_update_length),
12073 (gst_base_src_get_range), (gst_base_src_loop),
12074 (gst_base_src_start):
12075 * libs/gst/base/gstbasesrc.h:
12076 * libs/gst/base/gstbasetransform.h:
12077 * libs/gst/base/gstcollectpads.h:
12078 * libs/gst/base/gstpushsrc.c:
12079 * libs/gst/base/gstpushsrc.h:
12080 * libs/gst/dataprotocol/dataprotocol.c:
12081 * libs/gst/dataprotocol/dataprotocol.h:
12082 * libs/gst/net/gstnetclientclock.h:
12083 * libs/gst/net/gstnettimeprovider.h:
12084 Documentation updates.
12086 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12088 * docs/manual/basics-helloworld.xml:
12089 Remove superfluous closing bracket in helloworld example.
12091 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12093 * tools/gst-launch.1.in:
12094 Update gst-launch man page; add a section with useful
12095 environment variables. Fixes #323882.
12097 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12100 * gst/gst_private.h:
12101 change some char* into char[]
12103 2005-12-16 Wim Taymans <wim@fluendo.com>
12105 * gst/gstregistryxml.c: (load_feature):
12107 Don't use g_object_unref on GstObjects so that we avoid
12108 leaks on unsafe glibs.
12110 2005-12-16 Wim Taymans <wim@fluendo.com>
12112 * gst/gstbin.c: (gst_bin_recalc_state):
12115 2005-12-16 Wim Taymans <wim@fluendo.com>
12117 * common/check.mak:
12118 Added make forever target for check.
12120 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12122 * gst/gst.c: (init_post):
12123 make the registry cache file HOST_CPU-dependent
12125 2005-12-16 Andy Wingo <wingo@pobox.com>
12127 * plugins/elements/gstbufferstore.c
12128 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12131 * tests/check/gst/gstobject.c
12132 (test_fake_object_name_threaded_unique): Pay attention to
12133 g_list_sort return value.
12135 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12137 * tools/gst-feedback-m.m:
12138 Update for 0.9/0.10 (fixes #323870).
12140 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12142 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12143 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12145 * tests/check/gst/gstminiobject.c: (my_foo_init),
12146 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12147 (test_value_collection), (gst_mini_object_suite):
12148 Add test to ensure refcounts end up as expected when passing
12149 GstMiniObjects through g_object_get() and g_object_set().
12151 2005-12-14 Julien MOUTTE <julien@moutte.net>
12153 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12154 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12155 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12156 of collectpads. This version removes a lot of races without
12157 touching API/ABI. Yay !
12159 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12161 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12162 Don't allow activation of a srcpad in pull_range if it has no
12164 Change some debug statements to be a little clearer
12166 * plugins/elements/gsttypefindelement.c:
12167 (gst_type_find_handle_src_query):
12168 Check that we have a peer before executing queries thereupon.
12170 * tests/examples/metadata/read-metadata.c: (message_loop):
12171 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12172 immediately return us any available message with 0 timeout.
12174 2005-12-12 Michael Smith <msmith@fluendo.com>
12176 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12177 Don't unref factories after calling them.
12178 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12179 * plugins/elements/gsttypefindelement.c:
12180 (gst_type_find_element_chain):
12181 Free lists of factories after using them. Fixing typefinding memory
12184 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12186 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12187 (gst_plugin_feature_load):
12188 more meaningful debug output
12190 * tests/Makefile.am:
12191 * tests/old/examples/Makefile.am:
12192 make make distcheck happy again
12194 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12196 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12197 Catch the special case where we are operating chain-based,
12198 but the downstream peer pad has no chain function. Emit a
12199 custom error message in this case instead of letting the
12200 core generate one implying that this is some sort of core
12201 bug. It's not, it just means that whatever got plugged
12202 into the pipeline downstream when we announced the type
12203 can only operate pull-based, while our source can only
12204 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12205 Error string has not been marked for translation yet, as
12206 it probably needs some more work first.
12208 (gst_type_find_element_get_best_possibility):
12209 Add helper function to find the best of all available
12210 found possibilities that qualify given the min. threshold.
12212 (gst_type_find_element_handle_event):
12213 Fix the case where we get an EOS while still in TYPEFIND
12214 mode (we want to chose the best of all possible types,
12215 not just the first type that happens to be in our unsorted
12216 list of possible types).
12218 (gst_type_find_element_chain):
12219 Make sure we return GST_FLOW_ERROR when we errored out
12220 in stop_typefinding(); also, don't just find the best of
12221 all found type entries and then use the last examined
12222 type entry, but actually use the best entry.
12224 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12226 * tests/examples/typefind/typefind.c: (type_found):
12227 * tests/examples/xml/runxml.c: (xml_loaded):
12228 More gcc4 fixes and a mem leak fix.
12230 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12232 * tests/examples/xml/createxml.c: (object_saved):
12235 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12237 * tests/Makefile.am:
12238 enable the examples even more
12240 2005-12-12 Andy Wingo <wingo@pobox.com>
12242 * libs/gst/net/gstnettimeprovider.c
12243 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12244 (gst_net_time_provider_set_property)
12245 (gst_net_time_provider_get_property):
12246 API addition: Export "active" as a GObject property.
12247 (gst_net_time_provider_thread): Only respond to time queries if
12248 the time provider is active.
12250 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12251 NetTimeProvider, preserving binary compat.
12253 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12255 * tests/examples/controller/audio-example.c: (main):
12256 * tests/examples/launch/Makefile.am:
12257 convert comments again
12259 2005-12-12 Wim Taymans <wim@fluendo.com>
12261 * libs/gst/base/gstpushsrc.c:
12264 2005-12-12 Wim Taymans <wim@fluendo.com>
12266 * docs/libs/gstreamer-libs-sections.txt:
12267 Added new symbol to docs.
12269 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12270 (gst_base_src_init), (gst_base_src_set_format),
12271 (gst_base_src_default_query), (gst_base_src_query),
12272 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12273 (gst_base_src_perform_seek), (gst_base_src_send_event),
12274 (gst_base_src_default_event), (gst_base_src_event_handler),
12275 (gst_base_src_set_property), (gst_base_src_get_property),
12276 (gst_base_src_wait), (gst_base_src_do_sync),
12277 (gst_base_src_update_length), (gst_base_src_get_range),
12278 (gst_base_src_check_get_range), (gst_base_src_loop),
12279 (gst_base_src_default_negotiate), (gst_base_src_start),
12280 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12281 (gst_base_src_change_state):
12282 * libs/gst/base/gstbasesrc.h:
12283 Implement seeking to other formats than _BYTES.
12284 Implement more seeking methods correctly.
12286 Added query vmethod.
12287 Added do_seek vmethod to make life easier for subclasses
12289 API addition: gst_base_src_set_format()
12291 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12293 * tests/examples/Makefile.am:
12296 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12299 * docs/random/ensonic/media-device-daemon.txt:
12300 * tests/examples/controller/.cvsignore:
12301 * tests/examples/controller/Makefile.am:
12302 * tests/examples/controller/audio-example.c: (main):
12303 * tests/examples/helloworld/.cvsignore:
12304 * tests/examples/helloworld/Makefile.am:
12305 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12306 * tests/examples/launch/.cvsignore:
12307 * tests/examples/launch/Makefile.am:
12308 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12309 * tests/examples/metadata/.cvsignore:
12310 * tests/examples/metadata/Makefile.am:
12311 * tests/examples/metadata/read-metadata.c: (message_loop),
12312 (make_pipeline), (print_tag), (main):
12313 * tests/examples/queue/.cvsignore:
12314 * tests/examples/queue/Makefile.am:
12315 * tests/examples/queue/queue.c: (event_loop), (main):
12316 * tests/examples/typefind/.cvsignore:
12317 * tests/examples/typefind/Makefile.am:
12318 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12320 * tests/examples/xml/.cvsignore:
12321 * tests/examples/xml/Makefile.am:
12322 * tests/examples/xml/createxml.c: (object_saved), (main):
12323 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12324 * tests/old/examples/Makefile.am:
12325 * tests/old/examples/TODO:
12326 * tests/old/examples/controller/.cvsignore:
12327 * tests/old/examples/controller/Makefile.am:
12328 * tests/old/examples/controller/audio-example.c:
12329 * tests/old/examples/helloworld/.cvsignore:
12330 * tests/old/examples/helloworld/Makefile.am:
12331 * tests/old/examples/helloworld/helloworld.c:
12332 * tests/old/examples/launch/.cvsignore:
12333 * tests/old/examples/launch/Makefile.am:
12334 * tests/old/examples/launch/mp3parselaunch.c:
12335 * tests/old/examples/launch/mp3play:
12336 * tests/old/examples/manual/Makefile.am:
12337 * tests/old/examples/metadata/Makefile.am:
12338 * tests/old/examples/metadata/read-metadata.c:
12339 * tests/old/examples/queue/.cvsignore:
12340 * tests/old/examples/queue/Makefile.am:
12341 * tests/old/examples/queue/queue.c:
12342 * tests/old/examples/typefind/.cvsignore:
12343 * tests/old/examples/typefind/Makefile.am:
12344 * tests/old/examples/typefind/typefind.c:
12345 * tests/old/examples/xml/.cvsignore:
12346 * tests/old/examples/xml/Makefile.am:
12347 * tests/old/examples/xml/createxml.c:
12348 * tests/old/examples/xml/runxml.c:
12349 applied some simple fixing to some examples
12350 re-enabled the working examples
12352 2005-12-12 Wim Taymans <wim@fluendo.com>
12354 * gst/gstsegment.c: (gst_segment_init),
12355 (gst_segment_set_last_stop), (gst_segment_set_seek),
12356 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12357 (gst_segment_to_running_time):
12358 Added more documentation.
12359 Make sure the last_pos value is updated properly.
12360 Make sure to_stream_time and to_running_time don't
12361 operate on wrong values.
12363 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12366 2005-12-12 Michael Smith <msmith@fluendo.com>
12368 * plugins/elements/gsttypefindelement.c: (free_entry),
12369 (gst_type_find_element_chain):
12370 Now that we're not leaking factories, make sure we keep references
12371 to them while we need them.
12373 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12375 * tests/check/gst/struct_i386.h:
12376 ifdef out the XML structs
12378 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12380 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12381 floor is not needed, F is always positive; this obviates the
12382 need for adding -lm when building without libxml
12384 2005-12-12 Wim Taymans <wim@fluendo.com>
12386 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12387 Take current playback rate into account when reporting
12390 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12392 * docs/manual/mime-world.fig:
12393 Let's try this again, this time with a file that is
12394 actually in XFig format.
12396 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12398 * docs/manual/mime-world.fig:
12399 Add audioconvert element to diagram so that it
12400 matches the text and the code (fixes #319526).
12402 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12404 * docs/pwg/building-chainfn.xml:
12405 * docs/pwg/building-pads.xml:
12406 * docs/pwg/building-state.xml:
12407 * docs/pwg/other-source.xml:
12408 Update state change stuff for 0.10 (fixes #322969).
12410 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12412 * docs/manual/advanced-dataaccess.xml:
12413 * docs/manual/appendix-checklist.xml:
12414 * docs/manual/appendix-programs.xml:
12415 * docs/manual/basics-pads.xml:
12416 * docs/manual/highlevel-components.xml:
12417 * docs/manual/manual.xml:
12418 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12419 add converters in front of pipelines; remove curly
12420 brackets for threads stuff, they no longer exist; use
12421 GST_TYPE_FRACTION for framerates; update some pieces of
12422 code to 0.10, but there's plenty more to do.
12424 * docs/manual/appendix-porting.xml:
12425 Expand on asynchroneous state changes; s/0.9/0.10/;
12426 mention disappearance of gst_init_get_popt_table()
12429 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12431 * docs/faq/using.xml:
12432 Spider no longer exists, and neither does gst-launch-ext.
12433 Update examples to use decodebin and playbin and put
12434 converters in front of sinks (fixes #323726).
12436 2005-12-09 Michael Smith <msmith@fluendo.com>
12438 * plugins/elements/gsttypefindelement.c: (find_peek),
12439 (gst_type_find_element_chain):
12440 Fix leaking element factories in typefinding.
12441 Fix problem where we forgot about a probable type on non-seekable
12442 files, and thus later mis-typefound it.
12444 2005-12-09 Michael Smith <msmith@fluendo.com>
12446 * common/m4/gst-makecontext.m4:
12447 * common/m4/gst-mcsc.m4:
12449 * win32/common/config.h:
12450 * win32/common/config.h.in:
12451 Remove makecontext stuff; not used in 0.10 and causes problems on
12452 HPUX according to bug #322441
12454 2005-12-07 Wim Taymans <wim@fluendo.com>
12456 * tests/check/Makefile.am:
12457 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12459 * tests/check/libs/struct_i386.h:
12460 Added ABI check for libs
12462 2005-12-07 Wim Taymans <wim@fluendo.com>
12464 * tests/check/Makefile.am:
12465 And add the struct_i386.h to dist.
12467 2005-12-07 Wim Taymans <wim@fluendo.com>
12469 * tests/check/Makefile.am:
12470 * tests/check/gst/.cvsignore:
12471 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12473 * tests/check/gst/struct_i386.h:
12474 Added check for ABI compatibility.
12476 2005-12-07 Wim Taymans <wim@fluendo.com>
12478 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12479 (gst_fake_src_get_times), (gst_fake_src_create):
12480 Fix broken sync option, fixes #323259
12482 2005-12-07 Wim Taymans <wim@fluendo.com>
12487 * gst/gstcaps.c: (gst_caps_is_equal):
12488 Don't assert on NULL <--> X. Fixes #323260
12490 * gst/gstminiobject.c: (gst_mini_object_replace):
12491 If we're doing atomic operations, we might just as well use
12492 the proper way to get an atomic pointer.
12494 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12495 Clean up debugging.
12497 2005-12-07 Michael Smith <msmith@fluendo.com>
12499 * gst/parse/grammar.y:
12500 Remove handling of { } for threads.
12502 2005-12-06 David Schleef <ds@schleef.org>
12504 * libs/gst/base/gstbasetransform.c: speling fix.
12506 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12508 * docs/libs/tmpl/gstdataprotocol.sgml:
12509 * docs/random/omega/testing/gstobject.c:
12512 * gst/gstelement.c:
12513 * gst/gstelementfactory.c:
12516 * gst/gstghostpad.c:
12518 * gst/gstpadtemplate.c:
12519 * gst/gstregistryxml.c:
12520 * gst/gsttaglist.c:
12521 * gst/gsttagsetter.c:
12522 * gst/gsttypefind.c:
12524 * libs/gst/base/gstbasesrc.c:
12525 * libs/gst/net/gstnetclientclock.c:
12526 * libs/gst/net/gstnettimeprovider.c:
12527 * plugins/elements/gstfakesrc.c:
12528 * plugins/elements/gstfdsrc.c:
12529 * plugins/elements/gstfilesrc.c:
12530 * plugins/elements/gstidentity.c:
12531 * plugins/elements/gstqueue.c:
12532 * plugins/elements/gsttypefindelement.c:
12533 * plugins/indexers/gstfileindex.c:
12534 * plugins/indexers/gstmemindex.c:
12535 * tests/check/gst/gsttag.c:
12536 * tests/old/examples/cutter/cutter.c:
12537 * tests/old/examples/mixer/mixer.c:
12538 * tests/old/examples/xml/runxml.c: (main):
12539 * tests/old/testsuite/caps/normalisation.c:
12540 * tests/old/testsuite/debug/global.c:
12541 * tests/old/testsuite/parse/parse1.c:
12542 * tools/gst-xmlinspect.c:
12543 * win32/common/dirent.c:
12546 === release 0.10.0 ===
12548 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12551 releasing 0.10.0, "Maroilles"
12553 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12555 submitted by: Funda Wang <fundawang@linux.net.cn>
12559 added Chinese (Traditional) translation
12561 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12563 * docs/gst/gstreamer-sections.txt:
12564 * docs/libs/tmpl/gstdataprotocol.sgml:
12565 * docs/random/thomasvs/TODO:
12570 2005-12-05 Andy Wingo <wingo@pobox.com>
12572 patch by: Wim Taymans <wim@fluendo.com>
12574 * libs/gst/base/gstbasetransform.c
12575 (gst_base_transform_prepare_output_buf)
12576 (gst_base_transform_buffer_alloc):
12577 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12578 alloc_buffer_and_set_caps.
12580 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12581 set_caps on the source pad.
12582 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12583 alloc_buffer used to do. Fixes #322874.
12585 * docs/gst/gstreamer-sections.txt:
12586 * docs/design/part-negotiation.txt:
12587 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12590 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12592 patch by: Sebastien Moutte
12595 * win32/common/config.h.in:
12596 * win32/vs6/libgstcontroller.dsp:
12599 2005-12-05 Wim Taymans <wim@fluendo.com>
12601 * gst/gstcaps.c: (gst_caps_is_equal):
12602 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12603 (gst_fake_src_create):
12604 Back out previous code changes, leave doc updates, file bugs
12607 2005-12-05 Wim Taymans <wim@fluendo.com>
12609 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12610 (gst_fake_src_get_times), (gst_fake_src_create):
12611 * plugins/elements/gstfakesrc.h:
12612 Fix broken sync code.
12614 2005-12-05 Wim Taymans <wim@fluendo.com>
12616 * gst/gstcaps.c: (gst_caps_is_equal):
12617 Comparing NULL against !NULL yields different caps, not a
12620 2005-12-05 Wim Taymans <wim@fluendo.com>
12622 * gst/gstpipeline.c:
12623 Fix small typo in docs.
12625 2005-12-05 Andy Wingo <wingo@pobox.com>
12627 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12629 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12630 registries/plugins with a MAJORMINOR one.
12631 (plugin_desc): Rename library from gstcoreleements to
12632 staticelements. Fixes #323222.
12634 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12636 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12637 Change debug category to 'collectpads' from 'collect_pads'
12640 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12642 patch by: Sebastien Moutte
12644 * libs/gst/controller/gstinterpolation.c:
12645 use convert function for uint64/double
12646 * win32/vs6/libgstcontroller.dsp:
12649 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12651 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12652 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12654 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12655 add tests that seem to show that the guint64/gdouble conversions
12658 2005-12-02 Wim Taymans <wim@fluendo.com>
12660 * gst/gstregistry.c: (gst_registry_add_path):
12661 * gst/gstregistry.h:
12662 * gst/gstregistryxml.c:
12665 2005-12-02 Wim Taymans <wim@fluendo.com>
12667 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12668 (gst_util_uint64_scale_int):
12671 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12672 Add debug log line.
12674 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12677 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12680 * win32/common/config.h:
12681 * win32/vs6/gstreamer.dsw:
12682 * win32/vs6/libgstcoreelements.dsp:
12683 * win32/vs6/libgstelements.dsp:
12684 renamed core elements plugin
12686 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12688 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12690 do piece-wise major/minor comparison so 0.9 < 0.10
12691 also allow .exe extensions for tools
12693 2005-12-02 Michael Smith <msmith@fluendo.com>
12696 Escape a % to make gtkdoc happier; bug 322958.
12698 === release 0.9.7 ===
12700 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12703 releasing 0.9.7, "My Dog Has No Nose"
12705 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12707 * common/gst-xmlinspect.py:
12709 * docs/libs/tmpl/gstdataprotocol.sgml:
12710 * docs/random/release:
12729 * win32/common/config.h:
12730 * win32/common/config.h.in:
12731 * win32/vs6/gst_inspect.dsp:
12732 * win32/vs6/gst_launch.dsp:
12733 * win32/vs6/libgstbase.dsp:
12734 * win32/vs6/libgstelements.dsp:
12735 * win32/vs6/libgstreamer.dsp:
12736 * win32/vs7/GStreamer.vcproj:
12737 * win32/vs7/gst-inspect.vcproj:
12738 * win32/vs7/gst-launch.vcproj:
12739 * win32/vs7/libgstbase.vcproj:
12740 bump GST_MAJORMINOR to 0.10
12741 reset libtool version
12743 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12747 Added Bulgarian translation by (Alexander Shopov)
12749 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12751 * tests/check/gst/gstplugin.c:
12754 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12756 * common/gst-xmlinspect.py:
12757 * common/gtk-doc-plugins.mak:
12759 * docs/Makefile.am:
12760 * docs/gst/Makefile.am:
12761 * docs/gst/gstreamer-docs.sgml:
12762 * docs/gst/gstreamer-sections.txt:
12763 * docs/gst/gstreamer.types:
12764 * docs/gst/gstreamer.types.in:
12765 * docs/plugins/Makefile.am:
12766 * docs/plugins/gstreamer-plugins-docs.sgml:
12767 * docs/plugins/gstreamer-plugins-sections.txt:
12768 * docs/plugins/gstreamer-plugins.types:
12769 * docs/plugins/inspect.stamp:
12770 * docs/plugins/inspect/plugin-coreelements.xml:
12771 * docs/plugins/inspect/plugin-coreindexers.xml:
12772 * docs/plugins/scanobj-build.stamp:
12773 * gstreamer.spec.in:
12774 * plugins/elements/Makefile.am:
12775 * plugins/elements/gstelements.c:
12776 * plugins/elements/gstfakesink.c:
12777 * plugins/elements/gstfakesrc.c:
12778 * plugins/elements/gstfilesink.c:
12779 * plugins/elements/gstfilesrc.c:
12780 * plugins/elements/gstqueue.c:
12781 * plugins/indexers/Makefile.am:
12782 * plugins/indexers/gstindexers.c:
12783 document core plugins in a separate document just like all the
12785 rename these plugins to something starting with core
12787 2005-12-01 Andy Wingo <wingo@pobox.com>
12789 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12790 padding here before, but it missed the commit.
12792 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12794 * libs/gst/controller/gstinterpolation.c:
12795 whitespace prices have crashed, we should feel free to use some now
12796 use gst_guint64_to_gdouble
12798 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12800 * libs/gst/controller/gstcontroller.c:
12801 * libs/gst/controller/gsthelper.c:
12802 * libs/gst/controller/gstinterpolation.c:
12803 * libs/gst/controller/lib.c:
12804 wrap config.h include
12806 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12808 * docs/gst/gstreamer-sections.txt:
12811 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12813 * plugins/elements/gstelements.c:
12814 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12815 (gst_fd_sink__class_init), (gst_fd_sink__init),
12816 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12817 (gst_fd_sink__get_property):
12818 * plugins/elements/gstfdsink.h:
12819 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12820 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12821 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12822 (gst_fd_src_unlock), (gst_fd_src_set_property),
12823 (gst_fd_src_get_property), (gst_fd_src_create),
12824 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12825 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12826 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12827 (gst_fd_src_uri_handler_init):
12828 * plugins/elements/gstfdsrc.h:
12829 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12832 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12834 * docs/gst/Makefile.am:
12835 * docs/gst/gstreamer.types.in:
12839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12845 * gst/gstregistry.h:
12846 * tests/benchmarks/complexity.c:
12847 * tests/benchmarks/mass-elements.c:
12848 * tests/check/Makefile.am:
12849 * tools/Makefile.am:
12850 * tools/gst-inspect.c:
12851 * tools/gst-xmlinspect.c:
12852 various fixes to make
12853 --disable-nls --disable-registry --disable-loadsave
12854 --disable-parse --disable-gst-debug
12855 work and get the core .so down to 360444 bytes after stripping
12857 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12862 * docs/random/thomasvs/TODO:
12863 * tests/Makefile.am:
12867 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12869 * win32/GStreamer.vcproj:
12872 * win32/Makefile.inspect:
12873 * win32/Makefile.launch:
12874 * win32/Makefile.register:
12875 * win32/README.txt:
12876 * win32/gst-inspect.vcproj:
12877 * win32/gst-launch.vcproj:
12878 * win32/gst-register.vcproj:
12879 * win32/gstelements.vcproj:
12880 * win32/gstgetbits.def:
12881 * win32/gstgetbits.vcproj:
12882 * win32/gstreamer-dbg.def:
12883 * win32/gstreamer.def:
12884 * win32/libgstbase.def:
12885 * win32/libgstbase.vcproj:
12886 * win32/link_oldruntime.c:
12890 * win32/msvc71.sln:
12891 move even more stuff, win32/ is nice and clean now
12893 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12895 * libs/gst/control/.cvsignore:
12900 * win32/gstbytestream.def:
12901 * win32/gstbytestream.vcproj:
12902 * win32/gstconfig.h:
12903 * win32/gstenumtypes.c:
12904 * win32/gstenumtypes.h:
12905 * win32/gstoptimalscheduler.vcproj:
12906 * win32/gstversion.h:
12908 * win32/testsuite/bins.vcproj:
12909 * win32/testsuite/bytestream.vcproj:
12910 * win32/testsuite/caps.vcproj:
12911 * win32/testsuite/cleanup.vcproj:
12912 * win32/testsuite/clock.vcproj:
12913 * win32/testsuite/debug.vcproj:
12914 * win32/testsuite/dlopen.vcproj:
12915 * win32/testsuite/dynparams.vcproj:
12916 * win32/testsuite/elements.vcproj:
12917 * win32/testsuite/ghostpads.vcproj:
12918 * win32/testsuite/indexers.vcproj:
12919 * win32/testsuite/negotiation.vcproj:
12920 * win32/testsuite/parse.vcproj:
12921 * win32/testsuite/plugin.vcproj:
12922 * win32/testsuite/refcounting.vcproj:
12923 * win32/testsuite/schedulers.vcproj:
12924 * win32/testsuite/states.vcproj:
12925 * win32/testsuite/tags.vcproj:
12926 * win32/testsuite/threads.vcproj:
12927 remove old win32 stuff that isn't maintained and should be
12930 2005-11-30 Andy Wingo <wingo@pobox.com>
12932 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12933 loading the gst.interfaces python module bork.
12935 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12936 available since GLib 2.2. Fixes #318031.
12938 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12941 * check/.cvsignore:
12942 * check/Makefile.am:
12943 * check/elements/.cvsignore:
12944 * check/elements/fakesrc.c:
12945 * check/elements/fdsrc.c:
12946 * check/elements/identity.c:
12947 * check/generic/.cvsignore:
12948 * check/generic/states.c:
12949 * check/gst-libs/.cvsignore:
12950 * check/gst-libs/controller.c:
12951 * check/gst-libs/gdp.c:
12952 * check/gst/.cvsignore:
12953 * check/gst/capslist.h:
12955 * check/gst/gstbin.c:
12956 * check/gst/gstbuffer.c:
12957 * check/gst/gstbus.c:
12958 * check/gst/gstcaps.c:
12959 * check/gst/gstelement.c:
12960 * check/gst/gstevent.c:
12961 * check/gst/gstghostpad.c:
12962 * check/gst/gstiterator.c:
12963 * check/gst/gstmessage.c:
12964 * check/gst/gstminiobject.c:
12965 * check/gst/gstobject.c:
12966 * check/gst/gstpad.c:
12967 * check/gst/gstpipeline.c:
12968 * check/gst/gstplugin.c:
12969 * check/gst/gstsegment.c:
12970 * check/gst/gststructure.c:
12971 * check/gst/gstsystemclock.c:
12972 * check/gst/gsttag.c:
12973 * check/gst/gstutils.c:
12974 * check/gst/gstvalue.c:
12975 * check/net/.cvsignore:
12976 * check/net/gstnetclientclock.c:
12977 * check/net/gstnettimeprovider.c:
12978 * check/pipelines/.cvsignore:
12979 * check/pipelines/cleanup.c:
12980 * check/pipelines/simple_launch_lines.c:
12981 * check/pipelines/stress.c:
12982 * check/states/.cvsignore:
12983 * check/states/sinks.c:
12985 * examples/Makefile.am:
12986 * examples/appreader/.cvsignore:
12987 * examples/appreader/Makefile.am:
12988 * examples/appreader/appreader.c:
12989 * examples/controller/.cvsignore:
12990 * examples/controller/Makefile.am:
12991 * examples/controller/audio-example.c:
12992 * examples/cutter/.cvsignore:
12993 * examples/cutter/Makefile.am:
12994 * examples/cutter/cutter.c:
12995 * examples/cutter/cutter.h:
12996 * examples/events/Makefile.am:
12997 * examples/events/seek.c:
12998 * examples/helloworld/.cvsignore:
12999 * examples/helloworld/Makefile.am:
13000 * examples/helloworld/helloworld.c:
13001 * examples/helloworld2/.cvsignore:
13002 * examples/helloworld2/Makefile.am:
13003 * examples/helloworld2/helloworld2.c:
13004 * examples/launch/.cvsignore:
13005 * examples/launch/Makefile.am:
13006 * examples/launch/mp3parselaunch.c:
13007 * examples/launch/mp3play:
13008 * examples/manual/.cvsignore:
13009 * examples/manual/Makefile.am:
13010 * examples/manual/extract.pl:
13011 * examples/metadata/Makefile.am:
13012 * examples/metadata/read-metadata.c:
13013 * examples/mixer/.cvsignore:
13014 * examples/mixer/Makefile.am:
13015 * examples/mixer/mixer.c:
13016 * examples/mixer/mixer.h:
13017 * examples/pingpong/.cvsignore:
13018 * examples/pingpong/Makefile.am:
13019 * examples/pingpong/pingpong.c:
13020 * examples/plugins/.cvsignore:
13021 * examples/plugins/Makefile.am:
13022 * examples/plugins/example.c:
13023 * examples/plugins/example.h:
13024 * examples/pwg/.cvsignore:
13025 * examples/pwg/Makefile.am:
13026 * examples/pwg/extract.pl:
13027 * examples/queue/.cvsignore:
13028 * examples/queue/Makefile.am:
13029 * examples/queue/queue.c:
13030 * examples/queue2/.cvsignore:
13031 * examples/queue2/Makefile.am:
13032 * examples/queue2/queue2.c:
13033 * examples/queue3/.cvsignore:
13034 * examples/queue3/Makefile.am:
13035 * examples/queue3/queue3.c:
13036 * examples/queue4/.cvsignore:
13037 * examples/queue4/Makefile.am:
13038 * examples/queue4/queue4.c:
13039 * examples/retag/.cvsignore:
13040 * examples/retag/Makefile.am:
13041 * examples/retag/retag.c:
13042 * examples/retag/transcode.c:
13043 * examples/thread/.cvsignore:
13044 * examples/thread/Makefile.am:
13045 * examples/thread/thread.c:
13046 * examples/typefind/.cvsignore:
13047 * examples/typefind/Makefile.am:
13048 * examples/typefind/typefind.c:
13049 * examples/xml/.cvsignore:
13050 * examples/xml/Makefile.am:
13051 * examples/xml/createxml.c:
13052 * examples/xml/runxml.c:
13053 * tests/Makefile.am:
13054 * tests/check/Makefile.am:
13055 * testsuite/.cvsignore:
13056 * testsuite/Makefile.am:
13058 * testsuite/caps/.cvsignore:
13059 * testsuite/caps/Makefile.am:
13060 * testsuite/caps/app_fixate.c:
13061 * testsuite/caps/audioscale.c:
13062 * testsuite/caps/caps.c:
13063 * testsuite/caps/caps.h:
13064 * testsuite/caps/caps_strings:
13065 * testsuite/caps/compatibility.c:
13066 * testsuite/caps/deserialize.c:
13067 * testsuite/caps/enumcaps.c:
13068 * testsuite/caps/eratosthenes.c:
13069 * testsuite/caps/filtercaps.c:
13070 * testsuite/caps/fixed.c:
13071 * testsuite/caps/fraction-convert.c:
13072 * testsuite/caps/fraction-multiply-and-zero.c:
13073 * testsuite/caps/intersect2.c:
13074 * testsuite/caps/intersection.c:
13075 * testsuite/caps/normalisation.c:
13076 * testsuite/caps/random.c:
13077 * testsuite/caps/renegotiate.c:
13078 * testsuite/caps/sets.c:
13079 * testsuite/caps/simplify.c:
13080 * testsuite/caps/string-conversions.c:
13081 * testsuite/caps/structure.c:
13082 * testsuite/caps/subtract.c:
13083 * testsuite/caps/union.c:
13084 * testsuite/debug/.cvsignore:
13085 * testsuite/debug/Makefile.am:
13086 * testsuite/debug/category.c:
13087 * testsuite/debug/commandline.c:
13088 * testsuite/debug/global.c:
13089 * testsuite/debug/output.c:
13090 * testsuite/debug/printf_extension.c:
13091 * testsuite/dlopen/.cvsignore:
13092 * testsuite/dlopen/Makefile.am:
13093 * testsuite/dlopen/dlopen_gst.c:
13094 * testsuite/dlopen/loadgst.c:
13095 * testsuite/elements/.cvsignore:
13096 * testsuite/elements/Makefile.am:
13097 * testsuite/elements/gst-inspect-check.in:
13098 * testsuite/elements/struct_i386.h:
13099 * testsuite/elements/struct_size.c:
13100 * testsuite/indexers/.cvsignore:
13101 * testsuite/indexers/Makefile.am:
13102 * testsuite/indexers/cache1.c:
13103 * testsuite/indexers/indexdump.c:
13104 * testsuite/parse/.cvsignore:
13105 * testsuite/parse/Makefile.am:
13106 * testsuite/parse/parse1.c:
13107 * testsuite/parse/parse2.c:
13108 * testsuite/plugin/.cvsignore:
13109 * testsuite/plugin/Makefile.am:
13110 * testsuite/plugin/README:
13111 * testsuite/plugin/dynamic.c:
13112 * testsuite/plugin/linked.c:
13113 * testsuite/plugin/loading.c:
13114 * testsuite/plugin/registry.c:
13115 * testsuite/plugin/static.c:
13116 * testsuite/plugin/static2.c:
13117 * testsuite/plugin/testplugin.c:
13118 * testsuite/plugin/testplugin2.c:
13119 * testsuite/plugin/testplugin2_s.c:
13120 * testsuite/plugin/testplugin_s.c:
13121 * testsuite/refcounting/.cvsignore:
13122 * testsuite/refcounting/Makefile.am:
13123 * testsuite/refcounting/bin.c:
13124 * testsuite/refcounting/element.c:
13125 * testsuite/refcounting/element_pad.c:
13126 * testsuite/refcounting/mainloop.c:
13127 * testsuite/refcounting/mem.c:
13128 * testsuite/refcounting/mem.h:
13129 * testsuite/refcounting/object.c:
13130 * testsuite/refcounting/pad.c:
13131 * testsuite/refcounting/sched.c:
13132 * testsuite/refcounting/thread.c:
13133 * testsuite/states/.cvsignore:
13134 * testsuite/states/Makefile.am:
13135 * testsuite/states/bin.c:
13136 * testsuite/states/locked.c:
13137 * testsuite/states/parent.c:
13138 * testsuite/threads/.cvsignore:
13139 * testsuite/threads/159566.c:
13140 * testsuite/threads/159852.c:
13141 * testsuite/threads/Makefile.am:
13142 * testsuite/threads/queue.c:
13143 * testsuite/threads/signals.c:
13144 * testsuite/threads/staticrec.c:
13145 * testsuite/threads/thread.c:
13146 * testsuite/threads/threadb.c:
13147 * testsuite/threads/threadc.c:
13148 * testsuite/threads/threadd.c:
13149 * testsuite/threads/threade.c:
13150 * testsuite/threads/threadf.c:
13151 * testsuite/threads/threadg.c:
13152 * testsuite/threads/threadh.c:
13153 * testsuite/threads/threadi.c:
13154 move all of these under tests
13156 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13159 * tests/Makefile.am:
13162 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13164 * docs/gst/gstreamer-sections.txt:
13165 * tests/sched/.cvsignore:
13166 * tests/sched/Makefile.am:
13167 * tests/sched/cases/(fs-fs).xml:
13168 * tests/sched/cases/(fs-i-fs).xml:
13169 * tests/sched/cases/(fs-i-i-fs).xml:
13170 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13171 * tests/sched/dynamic-pipeline.c:
13172 * tests/sched/interrupt1.c:
13173 * tests/sched/interrupt2.c:
13174 * tests/sched/interrupt3.c:
13175 * tests/sched/runtestcases:
13176 * tests/sched/runxml.c:
13177 * tests/sched/sched-stress.c:
13178 * tests/sched/sort.c:
13179 * tests/sched/testcases:
13180 * tests/sched/testcases1.tc:
13181 * tests/seeking/.cvsignore:
13182 * tests/seeking/Makefile.am:
13183 * tests/seeking/seeking1.c:
13184 * tests/threadstate/.cvsignore:
13185 * tests/threadstate/Makefile.am:
13186 * tests/threadstate/test1.c:
13187 * tests/threadstate/test2.c:
13188 * tests/threadstate/threadstate1.c:
13189 * tests/threadstate/threadstate2.c:
13190 * tests/threadstate/threadstate3.c:
13191 * tests/threadstate/threadstate4.c:
13192 * tests/threadstate/threadstate5.c:
13193 remove obsolete tests
13195 * tests/bench-complexity.scm:
13196 * tests/bench-mass_elements.scm:
13197 * tests/complexity.c:
13198 * tests/complexity.gnuplot:
13199 * tests/instantiate/.cvsignore:
13200 * tests/instantiate/Makefile.am:
13201 * tests/instantiate/caps.c:
13202 * tests/mass_elements.c:
13203 * tests/network-clock-utils.scm:
13204 * tests/network-clock.scm:
13206 First pass at cleaning up tests/ dir before moving the rest
13207 Combined with CVS surgery
13209 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13212 queue has moved, update
13214 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13216 * docs/gst/gstreamer-sections.txt:
13217 remove double entries from the docs
13218 * gst/gst_private.h:
13219 * gst/gstinfo.c: (_gst_debug_init):
13220 remove the THREAD debug category
13224 * docs/gst/gstreamer.types:
13225 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13226 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13227 completely move queue and fix up debugging categories
13229 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13231 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13232 make initialization portable, using LL is not
13234 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13236 * win32/common/gstconfig.h:
13239 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13241 * win32/common/libgstreamer.def:
13242 rename symbols; sort base section
13244 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13246 * gst/gstclock.c: (do_linear_regression):
13247 remove crack non-portable handrolled DEBUG macro
13249 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13251 * docs/random/release:
13253 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13254 (gst_object_flags_get_type), (register_gst_bin_flags),
13255 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13256 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13257 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13258 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13259 (gst_caps_flags_get_type), (register_gst_clock_return),
13260 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13261 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13262 (gst_clock_flags_get_type), (register_gst_state),
13263 (gst_state_get_type), (register_gst_state_change_return),
13264 (gst_state_change_return_get_type), (register_gst_state_change),
13265 (gst_state_change_get_type), (register_gst_element_flags),
13266 (gst_element_flags_get_type), (register_gst_core_error),
13267 (gst_core_error_get_type), (register_gst_library_error),
13268 (gst_library_error_get_type), (register_gst_resource_error),
13269 (gst_resource_error_get_type), (register_gst_stream_error),
13270 (gst_stream_error_get_type), (register_gst_event_type_flags),
13271 (gst_event_type_flags_get_type), (register_gst_event_type),
13272 (gst_event_type_get_type), (register_gst_seek_type),
13273 (gst_seek_type_get_type), (register_gst_seek_flags),
13274 (gst_seek_flags_get_type), (register_gst_format),
13275 (gst_format_get_type), (register_gst_index_certainty),
13276 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13277 (gst_index_entry_type_get_type),
13278 (register_gst_index_lookup_method),
13279 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13280 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13281 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13282 (gst_index_flags_get_type), (register_gst_debug_level),
13283 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13284 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13285 (gst_iterator_result_get_type), (register_gst_iterator_item),
13286 (gst_iterator_item_get_type), (register_gst_message_type),
13287 (gst_message_type_get_type), (register_gst_mini_object_flags),
13288 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13289 (gst_pad_link_return_get_type), (register_gst_flow_return),
13290 (gst_flow_return_get_type), (register_gst_activate_mode),
13291 (gst_activate_mode_get_type), (register_gst_pad_direction),
13292 (gst_pad_direction_get_type), (register_gst_pad_flags),
13293 (gst_pad_flags_get_type), (register_gst_pad_presence),
13294 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13295 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13296 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13297 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13298 (gst_plugin_flags_get_type), (register_gst_rank),
13299 (gst_rank_get_type), (register_gst_query_type),
13300 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13301 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13302 (gst_tag_flag_get_type), (register_gst_task_state),
13303 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13304 (gst_alloc_trace_flags_get_type),
13305 (register_gst_type_find_probability),
13306 (gst_type_find_probability_get_type), (register_gst_uri_type),
13307 (gst_uri_type_get_type), (register_gst_parse_error),
13308 (gst_parse_error_get_type):
13309 * win32/common/gstenumtypes.h:
13310 * win32/common/gstversion.h:
13311 update visual studio generated files
13313 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13315 * win32/vs6/libgstbase.dsp:
13316 * win32/vs6/libgstelements.dsp:
13317 update project files for new locations
13319 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13324 reinstate and update
13329 * docs/random/LICENSE:
13332 2005-11-30 Edward Hervey <edward@fluendo.com>
13334 * gst/gsttypefind.c: (gst_type_find_register):
13335 * gst/gsttypefind.h:
13336 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13337 (gst_type_find_factory_dispose):
13338 * gst/gsttypefindfactory.h:
13339 Fix memory leak in GstTypeFindFactory.
13341 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13344 * plugins/elements/Makefile.am:
13345 * plugins/elements/gstelements.c:
13346 * plugins/elements/gstqueue.c:
13347 move queue from core to the elements plugin
13349 2005-11-29 Andy Wingo <wingo@pobox.com>
13351 * libs/gst/base/gstbasetransform.h:
13352 * libs/gst/base/gstbasesrc.h:
13353 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13355 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13356 of pointers by which to pad very extensible base classes (like the
13357 ones in libs/gst/base).
13359 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13361 * docs/gst/gstreamer-docs.sgml:
13362 * docs/gst/gstreamer-sections.txt:
13363 * docs/libs/gstreamer-libs-docs.sgml:
13364 * docs/libs/gstreamer-libs-sections.txt:
13365 moving documentation from core to lib
13367 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13369 * check/Makefile.am:
13371 * docs/gst/Makefile.am:
13373 * gst/base/.cvsignore:
13374 * gst/base/Makefile.am:
13376 * gst/base/gstadapter.c:
13377 * gst/base/gstadapter.h:
13378 * gst/base/gstbasesink.c:
13379 * gst/base/gstbasesink.h:
13380 * gst/base/gstbasesrc.c:
13381 * gst/base/gstbasesrc.h:
13382 * gst/base/gstbasetransform.c:
13383 * gst/base/gstbasetransform.h:
13384 * gst/base/gstcollectpads.c:
13385 * gst/base/gstcollectpads.h:
13386 * gst/base/gstpushsrc.c:
13387 * gst/base/gstpushsrc.h:
13388 * gst/base/gsttypefindhelper.c:
13389 * gst/base/gsttypefindhelper.h:
13390 * gst/check/Makefile.am:
13391 * gst/check/gstcheck.c:
13392 * gst/check/gstcheck.h:
13393 * gst/net/Makefile.am:
13394 * gst/net/gstnet.h:
13395 * gst/net/gstnetclientclock.c:
13396 * gst/net/gstnetclientclock.h:
13397 * gst/net/gstnettimepacket.c:
13398 * gst/net/gstnettimepacket.h:
13399 * gst/net/gstnettimeprovider.c:
13400 * gst/net/gstnettimeprovider.h:
13401 * libs/gst/Makefile.am:
13402 * libs/gst/base/Makefile.am:
13403 * libs/gst/base/gstbasetransform.c:
13404 * libs/gst/check/Makefile.am:
13405 * plugins/elements/Makefile.am:
13407 CVS surgery + support to move base, check, and net out of gst
13410 2005-11-29 Andy Wingo <wingo@pobox.com>
13412 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13414 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13417 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13419 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13421 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13423 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13424 padding; reduces object size by about 30%. We don't expect
13425 anything else to go into gstobject.
13427 * gst/gstminiobject.h (struct _GstMiniObject)
13428 (struct _GstMiniObjectClass): Only one pointer of padding; the
13429 payload is only a pointer and two ints anyway. For the class there
13430 are only two methods as well.
13432 * gst/gstelement.h (struct _GstElementClass): Removed
13433 the state_changed signal callback, it is not used.
13435 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13437 * docs/gst/gstreamer.types:
13438 fix includes, though they are a little dinky
13440 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13442 * check/Makefile.am:
13443 look in the right place for elements, a lot more chance of
13446 remove indexers and elements subdirs
13447 * plugins/Makefile.am:
13448 make indexers conditional
13450 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13454 * plugins/elements/Makefile.am:
13455 * plugins/elements/gstcapsfilter.c:
13456 * plugins/elements/gstfilesink.c:
13457 * plugins/elements/gstfilesrc.c:
13458 * plugins/elements/gstidentity.c:
13459 * plugins/indexers/Makefile.am:
13460 do CVS surgery and related build fixery to move elements
13461 and indexers in a new gstreamer/plugins directory, out of the
13464 2005-11-29 Andy Wingo <wingo@pobox.com>
13466 * check/Makefile.am:
13467 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13468 * pkgconfig/gstreamer-net.pc.in:
13469 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13472 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13474 * tools/Makefile.am:
13475 * tools/gst-complete.1.in:
13476 * tools/gst-complete.c:
13477 * tools/gst-compprep.1.in:
13478 * tools/gst-compprep.c:
13479 removing -compprep and -complete
13481 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13483 * gst/gstevent.c: (gst_event_new_new_segment),
13484 (gst_event_parse_new_segment):
13486 fix #320529 - clean up new_segment API and structure.
13487 Let's hope everyone was using the methods, and not the structure.
13489 2005-11-29 Edward Hervey <edward@fluendo.com>
13491 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13492 (gst_base_sink_event), (gst_base_sink_do_sync),
13493 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13494 Properly handle non GST_FORMAT_TIME segment
13495 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13496 Properly handle non GST_FORMAT_TIME segment
13497 * gst/gstsegment.c:
13498 This function is valid if the accumulator is 0 and the format
13499 is different from the requested format.
13501 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13503 * docs/gst/gstreamer-sections.txt:
13504 Add gst_query_new_seeking and gst_query_parse_seeking to the
13507 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13509 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13510 Treat a pad alloc with new caps the same as if we were not
13511 negotiated, in order to allow a changing upstream output
13512 to produce a new format of data.
13514 2005-11-29 Edward Hervey <edward@fluendo.com>
13516 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13517 (gst_base_transform_event), (gst_base_transform_eventfunc):
13518 The event virtual method is now properly implemented, with a default
13520 Sub classes should call the parent_class event method. They should
13521 return FALSE if they had a problem handling the given event, or don't
13522 want GstBaseTransform to send that even downstream
13523 * gst/elements/gstidentity.c: (gst_identity_class_init),
13524 (gst_identity_init), (gst_identity_event),
13525 (gst_identity_transform_ip), (gst_identity_set_property),
13526 (gst_identity_get_property):
13527 * gst/elements/gstidentity.h:
13528 Added the single-segment boolean property.
13529 If set to TRUE, it will output a single segment of data, starting from
13530 0, will eat up all incoming newsegment, and modify the timestamp of the
13531 buffers accordingly
13533 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13535 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13536 Don't ref NULL target pad (#322751). Improve docs.
13538 2005-11-29 Michael Smith <msmith@fluendo.com>
13540 * gst/gstregistryxml.c: (load_plugin):
13541 Don't crash if we failed to load a feature from a plugin.
13543 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13545 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13547 use more check API and less GLib API
13549 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13552 don't run checks if we don't have check
13553 * common/check.mak:
13554 remove the registry when running make torture
13555 * docs/gst/gstreamer-sections.txt:
13556 remove second multiply
13557 * gst/gstqueue.c: (gst_queue_loop):
13558 fix a compile warning when disabling debug
13560 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13563 Hey! Let's print the pad name if the pointer != NULL instead
13564 of when it == NULL :-)
13566 2005-11-28 Wim Taymans <wim@fluendo.com>
13568 * check/gst/gstutils.c: (GST_START_TEST):
13569 Updated check, add some scaling accuracy checking code.
13571 * gst/gstutils.c: (gst_util_div128_64),
13572 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13573 (gst_util_uint64_scale_int):
13574 Fix 6 times faster division code. Optimize for common
13575 1/1 and less common X/1 cases.
13577 2005-11-28 Wim Taymans <wim@fluendo.com>
13579 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13582 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13583 (do_linear_regression), (gst_clock_add_observation):
13585 Release lock when the clock cannot be slaved.
13586 Catch the case where the regression returned an invalid denominator.
13588 * gst/gstutils.c: (gst_util_div128_64_iterate),
13589 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13590 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13591 Add protentially more performant non-iterative 128/64 divide function
13592 that unfortunatly does not work yet.
13593 Shortcut the trivial 0/X = 0 case.
13594 Remove the warnings on overflow.
13596 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13598 * gst/gstplugin.c: (gst_plugin_register_func):
13599 everything causing a plugin not to load should be at least a WARNING
13601 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13603 * docs/random/ensonic/dparams.txt:
13604 some TODOs for the next dev cycle
13605 * libs/gst/controller/gstcontroller.c:
13606 (gst_controlled_property_set_interpolation_mode),
13607 (gst_controlled_property_new):
13608 * libs/gst/controller/gstcontroller.h:
13609 use base type to assign acccessor functions
13611 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13613 * check/Makefile.am:
13614 Oops, that should have been top_srcdir
13616 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13618 * check/Makefile.am:
13619 * check/elements/fdsrc.c: (GST_START_TEST):
13620 Use a cmdline define to specify the location of a file to use for
13621 testing, to avoid breaking distcheck.
13623 2005-11-28 Andy Wingo <wingo@pobox.com>
13625 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13627 2005-11-28 Edward Hervey <edward@fluendo.com>
13629 * tools/gst-launch.c: (main):
13630 Clarify the output strings, makes it easier to translate.
13633 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13636 don't try and build net if we don't even have <sys/socket.h>
13638 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13640 * check/Makefile.am:
13641 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13642 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13643 Add tests for fdsrc seekability
13645 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13646 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13647 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13648 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13649 * gst/elements/gstfdsrc.h:
13650 fdsrc should not be a 'live' source.
13651 Implement seeking on seekable fd's.
13653 * gst/gstquery.c: (gst_query_new_seeking),
13654 (gst_query_parse_seeking):
13656 Implement SEEKING query functions:
13657 *_new_seeking and *_parse_seeking
13659 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13661 * gst/gstelement.c: (gst_element_dispose):
13664 * gst/gstiterator.c:
13665 * gst/gststructure.c:
13668 * libs/gst/controller/gstcontroller.c:
13669 (gst_controlled_property_set_interpolation_mode):
13670 * libs/gst/controller/gstcontroller.h:
13671 * libs/gst/controller/gstinterpolation.c:
13672 (interpolate_none_get_enum_value_array):
13673 support controlling enums
13675 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13678 Improve documentation for gst_value_union().
13681 Change return value for union, intersect and subtract functions
13682 from gint to gboolean.
13684 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13686 * gst/gstvalue.c: (gst_value_serialize_any_list),
13687 (gst_value_transform_any_list_string),
13688 (gst_value_deserialize_list), (gst_value_deserialize_array),
13689 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13690 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13691 (gst_value_set_fraction_range_full),
13692 (gst_value_deserialize_fraction_range),
13693 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13694 (gst_value_deserialize_boolean),
13695 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13696 (gst_value_serialize_float), (gst_value_deserialize_float),
13697 (gst_string_wrap), (gst_value_deserialize_string),
13698 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13699 (gst_value_union_int_range_int_range),
13700 (gst_value_intersect_int_range_int_range),
13701 (gst_value_intersect_double_range_double_range),
13702 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13703 (gst_value_subtract_int_range_int_range),
13704 (gst_value_subtract_double_double_range),
13705 (gst_value_subtract_double_range_double_range),
13706 (gst_value_deserialize_fraction):
13708 Use gint, gdouble and gchar in our API instead of int, double and
13709 char (and make usage in gstvalue.c more consistent).
13711 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13713 * check/Makefile.am:
13714 * libs/gst/controller/Makefile.am:
13715 * libs/gst/dataprotocol/Makefile.am:
13716 fix up Makefile.am and remove GST_ENABLE_NEW
13718 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13722 * gst/base/Makefile.am:
13723 * gst/check/Makefile.am:
13724 * gst/elements/Makefile.am:
13725 * gst/net/Makefile.am:
13726 update LDFLAGS use some more
13728 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13730 * common/m4/gst-doc.m4:
13733 2005-11-26 Edward Hervey <edward@fluendo.com>
13735 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13736 This shouldn't issue a g_warning since it returns NULL if it
13737 couldn't find the plugin, and all functions using this behave
13738 properly on a NULL return. Switching to a GST_WARNING.
13740 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13742 * gst/gstbin.c: (gst_bin_handle_message_func):
13743 Don't leak clock messages.
13745 2005-11-25 Wim Taymans <wim@fluendo.com>
13747 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13748 (gst_util_uint64_scale_int):
13749 Optimisations, remove unneeded vars.
13751 2005-11-25 Wim Taymans <wim@fluendo.com>
13753 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13754 Added more checks for the high precision uint64 cases.
13756 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13757 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13758 Implement high precision (guint64 * guint64) / guint64.
13760 2005-11-24 Wim Taymans <wim@fluendo.com>
13762 * gst/base/gstbasesrc.c: (gst_base_src_query):
13763 Fix wrong percentage query.
13765 * gst/gstutils.c: (gst_util_uint64_scale),
13766 (gst_util_uint64_scale_int):
13767 Add some more common cases that can be handled
13768 efficiently to _scale.
13770 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13772 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13773 (gst_mini_object_suite):
13774 don't use check calls from threads; check probably isn't
13775 threadsafe and using a lock to make it threadsafe would
13776 defeat the purpose of this check
13777 * gst/check/gstcheck.c:
13778 * gst/check/gstcheck.h:
13779 use GST_DEBUG some more
13781 2005-11-24 Wim Taymans <wim@fluendo.com>
13783 * gst/gstutils.c: (gst_util_uint64_scale),
13784 (gst_util_uint64_scale_int):
13785 Chain trivial case to _scale_int.
13787 2005-11-24 Wim Taymans <wim@fluendo.com>
13789 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13790 Added test for scaling.
13795 * gst/gstutils.c: (gst_util_uint64_scale_int):
13796 Implemented high precision scaling code.
13798 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13801 do not crash on pad==NULL
13803 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13805 Patch by: Stefan Kost
13807 * common/gtk-doc.mak:
13808 * docs/gst/Makefile.am:
13809 * docs/libs/Makefile.am:
13810 Fix distcheck issues for the libraries docs build
13813 2005-11-24 Michael Smith <msmith@fluendo.com>
13815 * docs/manual/basics-helloworld.xml:
13816 Fix bug #315027: memory leak in example code in docs.
13818 2005-11-24 Michael Smith <msmith@fluendo.com>
13820 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13821 Unlock the PREROLL_LOCK in a failure case.
13823 2005-11-24 Wim Taymans <wim@fluendo.com>
13825 * docs/gst/gstreamer-sections.txt:
13826 * gst/base/gstadapter.h:
13827 * gst/base/gstbasesink.h:
13828 * gst/base/gstbasesrc.h:
13829 * gst/base/gstbasetransform.h:
13830 * gst/base/gstpushsrc.h:
13831 * gst/elements/gstfakesink.h:
13832 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13833 * gst/elements/gstfakesrc.h:
13834 * gst/elements/gstfilesink.h:
13835 * gst/elements/gstfilesrc.h:
13838 * gst/gstbuffer.c: (_gst_buffer_copy):
13841 * gst/gstchildproxy.c:
13843 * gst/gstelement.c:
13844 * gst/gstelementfactory.c:
13845 * gst/gstelementfactory.h:
13847 * gst/gstghostpad.h:
13849 * gst/gstinterface.h:
13850 * gst/gstminiobject.c:
13851 * gst/gstminiobject.h:
13854 * gst/gstpadtemplate.h:
13855 * gst/gstpipeline.h:
13856 * gst/gstpluginfeature.h:
13859 * gst/gsttaglist.c:
13860 * gst/gsttaglist.h:
13861 * gst/gsttagsetter.c:
13862 * gst/gsttagsetter.h:
13865 * gst/gsttypefind.h:
13868 * gst/net/gstnetclientclock.c:
13869 * gst/net/gstnetclientclock.h:
13870 * gst/net/gstnettimepacket.c:
13871 * gst/net/gstnettimeprovider.c:
13872 * gst/net/gstnettimeprovider.h:
13875 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13877 * configure.ac: back to HEAD
13879 === release 0.9.6 ===
13881 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13884 releasing 0.9.6, "Always On Time"
13886 2005-11-23 Wim Taymans <wim@fluendo.com>
13888 * docs/gst/gstreamer-sections.txt:
13889 * gst/glib-compat.c:
13890 * gst/gsttagsetter.c:
13892 * gst/net/gstnetclientclock.c:
13893 * gst/net/gstnettimepacket.h:
13896 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13898 * docs/faq/using.xml:
13899 * docs/libs/tmpl/gstcontrol.sgml:
13900 * docs/manual/advanced-dparams.xml:
13901 * docs/manual/appendix-checklist.xml:
13902 * docs/manual/basics-elements.xml:
13903 * docs/pwg/other-source.xml:
13904 * docs/random/moving-plugins:
13906 * tools/gst-launch.1.in:
13907 remove mentions of sinesrc
13909 2005-11-23 Michael Smith <msmith@fluendo.com>
13911 * docs/gst/gstreamer-sections.txt:
13912 Update for new API and API changes.
13914 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13916 Documentation typo fix.
13917 * gst/net/gstnettimepacket.c:
13918 Documentation fixes for arguments.
13920 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13922 * gst/gststructure.c: (gst_structure_get_fraction),
13923 (gst_structure_parse_value),
13924 (gst_structure_fixate_field_nearest_fraction):
13925 * gst/gststructure.h:
13926 * gst/gstutils.c: (gst_util_uint64_scale_int):
13928 * scripts/update-funcnames:
13930 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13931 Make gst_structure_fixate_field_nearest_fraction take a numerator
13932 and denominator argument instead of a GValue
13933 add gst_structure_get_fraction helper function.
13935 2005-11-23 Wim Taymans <wim@fluendo.com>
13937 * docs/design/part-TODO.txt:
13940 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13941 * gst/net/gstnetclientclock.h:
13942 Use parent fields for timeout and window_size.
13944 2005-11-23 Andy Wingo <wingo@pobox.com>
13946 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13947 rate_num/rate_denom change.
13949 * gst/net/gstnetclientclock.c
13950 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13951 OBJECT_LOCK. Don't call add_observation with the lock.
13953 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13955 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13957 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13958 deal with rate as a fraction whose numerator and denominator are
13959 GstClockTime values.
13960 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13961 master; the other fields are protected by the SLAVE_LOCK.
13962 (do_linear_regression): Note that this must be called with the
13964 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13965 OBJECT_LOCK. Call set_calibration instead of touching the
13966 variables directly.
13967 (gst_clock_set_property, gst_clock_get_property): Protect
13968 master/slave parameters with the SLAVE_LOCK.
13970 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13971 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13972 note that all of the instance variables that add_observation and
13973 the set_master functions use are protected by that lock and not
13975 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13977 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13978 the caller to take the object lock.
13980 2005-11-23 Wim Taymans <wim@fluendo.com>
13982 * gst/gsterror.c: (_gst_core_errors_init):
13984 Add error for clock stuff.
13986 * gst/gstpipeline.c: (gst_pipeline_change_state),
13987 (gst_pipeline_set_clock):
13988 Post clock error when clock cannot be used in a pipeline.
13990 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13992 * docs/gst/gstreamer-sections.txt:
13993 make two symbols from gstinfo private for the docs
13994 * gst/base/gstcollectpads.h:
13996 fix doc typos, update docs
13998 2005-11-22 Wim Taymans <wim@fluendo.com>
14000 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14001 (gst_base_sink_wait), (gst_base_sink_do_sync),
14002 (gst_base_sink_handle_event):
14003 * gst/base/gstbasesink.h:
14004 No need to store the clock, the parent element class already
14007 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14008 Updates for clock_set returning a gboolean
14010 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14011 (gst_clock_id_wait_async), (gst_clock_class_init),
14012 (gst_clock_init), (gst_clock_finalize),
14013 (gst_clock_get_internal_time), (gst_clock_get_time),
14014 (gst_clock_slave_callback), (gst_clock_set_master),
14015 (gst_clock_get_master), (do_linear_regression),
14016 (gst_clock_add_observation), (gst_clock_set_property),
14017 (gst_clock_get_property):
14019 Implement master/slave. When setting a clock as a slave, a
14020 periodic timeout is scheduled to sample master and slave times.
14021 Then the slave clock is recalibrated to match offset and rate
14022 of the master clock.
14023 Update logging a bit.
14024 Add flag so that a clock can state that is cannot be slaved to
14027 * gst/gstelement.c: (gst_element_set_clock):
14028 * gst/gstelement.h:
14029 The set clock returns a gboolean for when an element cannot
14030 deal with the selected clock in the pipeline.
14032 * gst/gstpipeline.c: (gst_pipeline_change_state),
14033 (gst_pipeline_set_clock):
14034 * gst/gstpipeline.h:
14035 Handle the case where the selected clock cannot be set on
14038 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14039 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14040 (gst_net_client_clock_set_property),
14041 (gst_net_client_clock_get_property),
14042 (gst_net_client_clock_observe_times):
14043 * gst/net/gstnetclientclock.h:
14044 Use regression code in GstClock parent, remove duplicated
14047 2005-11-22 Michael Smith <msmith@fluendo.com>
14049 * gst/gstutils.c: (gst_util_clock_time_scale):
14051 * docs/gst/gstreamer-sections.txt:
14052 Rename method to have extra underscore.
14054 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14056 * gst/elements/Makefile.am:
14057 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14058 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14059 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14060 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14061 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14062 * gst/elements/gstfakesrc.h:
14063 * gst/gstqueue.c: (queue_leaky_get_type):
14064 correctly fix GEnumValues so that nick is the short lowercase
14066 * tools/gst-inspect.c: (print_element_properties_info):
14067 also show the nick, since it's useful to use from parse_launch
14071 2005-11-22 Michael Smith <msmith@fluendo.com>
14073 * gst/gstutils.c: (gst_util_clocktime_scale):
14075 * docs/gst/gstreamer-sections.txt:
14076 Add util method for scaling a clocktime by a fraction. Useful
14077 implementation is left as an exercise for the reader.
14079 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14081 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14082 If needed, allocate storage in the destination value during
14085 2005-11-22 Edward Hervey <edward@fluendo.com>
14087 * docs/gst/gstreamer-sections.txt:
14090 * gst/gsturitype.c:
14091 * gst/gsturitype.h:
14092 * gst/gstutils.c: (gst_util_set_object_arg):
14093 * tools/gst-compprep.c: (main):
14094 * tools/gst-inspect.c: (print_element_properties_info):
14095 Removed GstURI, closes bug #321061
14097 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14099 * check/gst/gststructure.c: (GST_START_TEST):
14100 * gst/gststructure.c: (gst_structure_parse_value):
14101 Oops, broke automatic string type parsing.
14102 Add a test to catch it in future.
14104 2005-11-22 Andy Wingo <wingo@pobox.com>
14106 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14107 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14108 Actually rename the function implementations. Grr.
14110 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14112 * check/gst/capslist.h:
14114 * check/gst/gststructure.c: (GST_START_TEST),
14115 (gst_structure_suite):
14116 Test automatic value type detection in gst_structure_from_string.
14117 * gst/gststructure.c: (gst_structure_parse_value):
14118 Add fraction as a type we try and guess automatically in
14119 caps/structure strings.
14121 2005-11-22 Andy Wingo <wingo@pobox.com>
14123 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14125 * gst/gsttagsetter.h:
14126 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14127 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14128 (gst_tag_setter_add_tag_valist)
14129 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14130 _add_values, _add_valist, and _add_valist_values. Since this is an
14131 interface the function suffixes should be more explicit so
14132 language binding don't end up with element.add_valist ->
14133 gst_tag_setter_add_valist, for example. Fixes #322069.
14135 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14137 * check/gst/gstcaps.c: (GST_START_TEST):
14138 Extend caps string tests to check that a caps to string
14139 conversion is reversible and produces the same caps.
14141 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14142 Output "fraction" as the generic type fraction range, so caps
14143 serialisation and deserialisation works.
14144 * check/gst/capslist.h:
14145 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14146 Support 'MIN' and 'MAX' for deserialising fractions.
14148 2005-11-22 Andy Wingo <wingo@pobox.com>
14150 * gst/gstevent.h (gst_event_new_new_segment)
14151 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14152 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14153 Renamed from *_newsegment, *_buffersize, *_notarget.
14155 * scripts/update-funcnames: New script, performs the changes
14158 2005-11-22 Wim Taymans <wim@fluendo.com>
14160 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14161 Make sure the GstFlowReturn is returned.
14163 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14164 (gst_bus_add_signal_watch):
14166 add gst_bus_add_signal_watch_full.
14168 * gst/gstplugin.c: (gst_plugin_load_file):
14169 Small style cleanup.
14171 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14173 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14174 Block the fakesrc srcpad when we send an event, to avoid
14175 contention on the stream_lock causing random test failures.
14177 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14179 * check/gst/gstvalue.c: (GST_START_TEST):
14180 * gst/gstvalue.c: (gst_value_fraction_subtract):
14183 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14186 include "gstchildproxy.h"
14187 * gst/gstchildproxy.h:
14188 * libs/gst/controller/gstcontroller.h:
14189 use G_GNUC_NULL_TERMINATED
14191 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14193 * check/gst/capslist.h:
14194 * check/gst/gstcaps.c: (GST_START_TEST):
14195 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14196 * gst/gststructure.c: (gst_structure_parse_range),
14197 (gst_structure_fixate_field_nearest_fraction):
14198 * gst/gststructure.h:
14199 * gst/gstvalue.c: (gst_value_init_fraction_range),
14200 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14201 (gst_value_collect_fraction_range),
14202 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14203 (gst_value_set_fraction_range_full),
14204 (gst_value_get_fraction_range_min),
14205 (gst_value_get_fraction_range_max),
14206 (gst_value_serialize_fraction_range),
14207 (gst_value_transform_fraction_range_string),
14208 (gst_value_compare_fraction_range),
14209 (gst_value_deserialize_fraction_range),
14210 (gst_value_intersect_fraction_fraction_range),
14211 (gst_value_intersect_fraction_range_fraction_range),
14212 (gst_value_subtract_fraction_fraction_range),
14213 (gst_value_subtract_fraction_range_fraction),
14214 (gst_value_subtract_fraction_range_fraction_range),
14215 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14216 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14217 (gst_value_transform_string_fraction), (_gst_value_initialize):
14219 Implement fraction ranges and extend GstFraction to support
14220 arithmetic subtraction, as well as deserialization from integer
14221 strings such as "100"
14222 Add a testsuite as for int and double range set operations
14224 2005-11-21 Andy Wingo <wingo@pobox.com>
14226 * gst/gsttaglist.h:
14228 * gst/gststructure.h: Add glib-compat.h.
14230 2005-11-21 Wim Taymans <wim@fluendo.com>
14232 * gst/gstbin.c: (gst_bin_change_state_func):
14235 2005-11-21 Wim Taymans <wim@fluendo.com>
14237 * gst/gstsegment.h:
14238 And add a nice define too.
14240 2005-11-21 Wim Taymans <wim@fluendo.com>
14242 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14243 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14244 (gst_segment_set_duration), (gst_segment_set_last_stop),
14245 (gst_segment_set_seek), (gst_segment_set_newsegment),
14246 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14247 (gst_segment_clip):
14248 * gst/gstsegment.h:
14249 Make binding friendly.
14251 2005-11-21 Andy Wingo <wingo@pobox.com>
14253 * gst/gsttagsetter.h:
14254 * gst/gsttaglist.h:
14255 * gst/gststructure.h:
14257 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14260 * gst/gsterror.c (_gst_core_errors_init):
14261 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14264 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14265 (noinst_HEADERS): noinst the -private.
14267 2005-11-21 Michael Smith <msmith@fluendo.com>
14270 * gst/gstregistry.h:
14271 Remove unimplemented declarations for which we can see no sensible
14274 2005-11-21 Andy Wingo <wingo@pobox.com>
14276 * gst/gst.h: Include glib-compat.h.
14278 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14280 * gst/glib-compat.c: Include the public and the private header.
14282 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14286 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14288 * check/gst/gstevent.c (create_custom_events): Check that
14289 FLUSH_STOP is serialized.
14291 * check/elements/identity.c (event_func):
14292 * check/elements/fakesrc.c (event_func): No stream lock, the core
14295 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14296 stream lock taking, yay.
14298 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14299 ensure that core takes the stream lock.
14301 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14304 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14305 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14306 it already. For the flush start we do take it though so we get the
14307 right preroll state change messages.
14309 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14310 the stream lock here, the core does it for us.
14312 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14313 GST_STREAM_GET_LOCK.
14314 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14315 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14316 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14317 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14318 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14319 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14321 * gst/gstpad.c: Update for stream lock name change.
14323 * gst/base/gstbasesink.c: Update for preroll lock name change.
14325 2005-11-21 Wim Taymans <wim@fluendo.com>
14327 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14328 (gst_clock_get_master):
14330 * gst/gstsystemclock.c: (gst_system_clock_init):
14331 Convert Clock flags to object flags.
14332 Added methods to manage master/slave clocks.
14334 2005-11-21 Wim Taymans <wim@fluendo.com>
14336 * check/gst/gstsegment.c: (GST_START_TEST):
14337 * docs/design/part-TODO.txt:
14338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14339 (gst_base_sink_event), (gst_base_sink_do_sync),
14340 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14341 (gst_base_sink_query), (gst_base_sink_change_state):
14342 * gst/base/gstbasesink.h:
14343 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14344 (gst_base_src_default_newsegment),
14345 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14346 (gst_base_src_get_range), (gst_base_src_loop),
14347 (gst_base_src_change_state):
14348 * gst/base/gstbasesrc.h:
14349 * gst/base/gstbasetransform.c:
14350 (gst_base_transform_prepare_output_buf),
14351 (gst_base_transform_event), (gst_base_transform_change_state):
14352 * gst/base/gstbasetransform.h:
14353 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14354 (gst_collect_pads_event):
14355 * gst/base/gstcollectpads.h:
14356 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14357 (gst_fake_src_create):
14358 * gst/elements/gstfakesrc.h:
14359 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14360 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14361 (gst_segment_set_last_stop), (gst_segment_set_seek),
14362 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14363 (gst_segment_to_running_time), (gst_segment_clip):
14364 * gst/gstsegment.h:
14365 More segment updates, replace code in plugins with segment
14368 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14370 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14371 Don't ignore sscanf results
14373 2005-11-21 Andy Wingo <wingo@pobox.com>
14375 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14378 * *.c: Ran scripts/update-macros. Oh yes.
14380 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14381 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14384 * scripts/update-macros: New script. Run it on your files to
14385 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14388 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14390 * docs/gst/Makefile.am:
14391 * docs/gst/gstreamer-docs.sgml:
14392 * docs/gst/gstreamer-sections.txt:
14393 * docs/gst/gstreamer.types:
14395 more docs fixes, add new api to the docs
14397 2005-11-21 Andy Wingo <wingo@pobox.com>
14399 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14400 state_broadcast call.
14402 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14404 2005-11-21 Julien MOUTTE <julien@moutte.net>
14406 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14407 function calls for arrays.
14409 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14411 * docs/random/ensonic/media-device-daemon.txt:
14412 wild idea, can this be done?
14413 * docs/gst/gstreamer-sections.txt:
14418 * gst/gstpluginfeature.c:
14422 doc fixes and additions
14424 2005-11-21 Andy Wingo <wingo@pobox.com>
14426 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14427 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14428 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14429 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14430 private to the basesrc implementation.
14432 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14433 behalf of event function if necessary. It should no longer be
14434 necessary to take the stream lock in pad's event functions. Fixes
14437 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14438 * docs/gst/gstreamer-sections.txt:
14439 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14440 (gst_structure_fixate_field_nearest_double),
14441 (gst_structure_fixate_field_boolean):
14442 * gst/gststructure.h:
14443 * win32/common/libgstreamer.def:
14444 * win32/gstreamer.def:
14446 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14449 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14451 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14452 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14453 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14454 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14455 (gst_fdsrc_uri_handler_init):
14456 * gst/elements/gstfdsrc.h:
14457 Port fd:// URI handler from 0.8 to fdsrc
14459 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14461 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14462 (gst_value_serialize_fourcc):
14464 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14465 consistent with our other format defines (#320324).
14467 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14469 * gst/gstvalue.c: (gst_value_is_fixed):
14470 Revert previous commit. Value lists are by definition
14471 not fixed, as they are a list of possible values.
14473 2005-11-21 Andy Wingo <wingo@pobox.com>
14475 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14476 during the stable series if we need it. Fixes #319178.
14478 * gst/gstevent.c (gst_event_new_filler): Removed.
14480 * check/gst/gstevent.c: Update comment about filler events.
14482 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14484 * gst/gstvalue.c: (gst_value_is_fixed):
14485 Should handle both value arrays and value lists.
14487 2005-11-21 Andy Wingo <wingo@pobox.com>
14489 patch by: Alessandro Dessina <alessandro nnva org>
14491 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14492 functions to access arrays. Fixes #321962.
14494 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14496 * docs/gst/gstreamer.types:
14497 gst_collectpads_get_type => gst_collect_pads_get_type.
14499 * gst/base/gstbasetransform.c:
14500 Remove unused SIGNAL_HANDOFF enum.
14502 2005-11-21 Andy Wingo <wingo@pobox.com>
14504 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14505 the event type (upstream, downstream, serialized). Renamed
14506 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14507 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14508 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14510 * gst/gstevent.c: Update for new CUSTOM event names.
14512 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14515 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14518 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14520 * docs/gst/gstreamer-sections.txt:
14521 * win32/common/libgstbase.def:
14522 * win32/libgstbase.def:
14523 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14524 (gst_collect_pads_class_init), (gst_collect_pads_init),
14525 (gst_collect_pads_finalize), (gst_collect_pads_new),
14526 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14527 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14528 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14529 (gst_collect_pads_start), (gst_collect_pads_stop),
14530 (gst_collect_pads_peek), (gst_collect_pads_pop),
14531 (gst_collect_pads_available), (gst_collect_pads_read),
14532 (gst_collect_pads_flush), (gst_collect_pads_event),
14533 (gst_collect_pads_chain):
14534 * gst/base/gstcollectpads.h:
14535 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14536 unimplemented functions as unimplemented. Add padding to
14537 GstCollectData. (#320766, #320423)
14539 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14541 * gst/gstmessage.c:
14542 Improve docs for DURATION message (usage of duration parameter)
14545 2005-11-20 Wim Taymans <wim@fluendo.com>
14547 * check/Makefile.am:
14548 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14552 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14553 (gst_segment_set_seek), (gst_segment_set_newsegment),
14554 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14555 (gst_segment_clip):
14556 * gst/gstsegment.h:
14557 Added segment helper structure and methods. Not fully implemented
14559 Added segment check.
14561 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14563 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14564 Add a deserialisation test for fractions
14565 * examples/metadata/read-metadata.c: (message_loop),
14566 (make_pipeline), (main):
14567 Fix up metadata reading sample.
14568 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14570 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14571 Don't try and fixate empty caps
14572 * gst/gst_private.h:
14573 Wrap in G_BEGIN_DECLS/G_END_DECLS
14574 * gst/gstvalue.c: (gst_value_collect_fraction),
14575 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14576 (gst_value_transform_string_fraction),
14577 (gst_value_compare_fraction):
14578 Add some extra guards to ensure that we don't end up
14579 with an invalid denominator of 0 in a gstfraction and
14580 that fractions always get reduced.
14582 2005-11-20 Wim Taymans <wim@fluendo.com>
14584 * docs/gst/gstreamer-sections.txt:
14586 * gst/gstelement.c:
14595 2005-11-20 Wim Taymans <wim@fluendo.com>
14597 * docs/design/part-TODO.txt:
14599 Make a proper enum of the flag.
14601 2005-11-19 Wim Taymans <wim@fluendo.com>
14603 * docs/design/part-TODO.txt:
14604 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14605 (gst_format_to_quark), (gst_format_register):
14607 * gst/gstquery.c: (_gst_query_initialize),
14608 (gst_query_type_get_name), (gst_query_type_to_quark),
14609 (gst_query_type_register):
14611 Add type to quark and type to string conversions.
14613 2005-11-19 Andy Wingo <wingo@pobox.com>
14615 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14618 2005-11-19 Wim Taymans <wim@fluendo.com>
14620 * docs/design/part-TODO.txt:
14621 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14622 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14623 (gst_bin_handle_message_func):
14625 Make message handling overridable.
14627 2005-11-19 Andy Wingo <wingo@pobox.com>
14629 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14632 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14634 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14635 is a GstClockTime. Fixes #321710.
14637 * gst/gstclock.h (GstClock): Remove offset property. Add
14638 internal_calibration and external_calibration. Fix padding. Pad
14639 also by GstClockTime so we don't run into problems.
14641 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14642 (gst_clock_get_rate_offset): Remove.
14643 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14646 * gst/gstutils.c (g_static_rec_cond_wait)
14647 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14649 * gst/gstbin.c: Remove terrible continue_state prototype.
14651 * gst/gstelement.h (gst_element_continue_state): Make public.
14653 * gst/gstelement.h:
14654 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14655 by continue_state. Fixes #319389.
14657 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14658 Really fixes #168438. However I don't see anywhere where the
14659 filter function is called... stupid GStreamer...
14661 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14662 don't have a dispose function, so it won't get called when the
14663 object is unreffed, but oh well!
14665 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14666 allows a destroy function to be set so user_data can be freed.
14668 (gst_index_set_filter): Call gst_index_set_filter_full.
14670 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14672 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14673 string should produce an error, given the lack of a way to
14674 represent NULL strings. Fixes #165650.
14677 * gst/gstvalue.c (gst_value_array_append_value)
14678 (gst_value_array_prepend_value, gst_value_array_get_size)
14679 (gst_value_array_get_value): New API, copied from
14680 gst_value_list_*, only operates on arrays.
14681 (gst_value_list_append_value, gst_value_list_prepend_value)
14682 (gst_value_list_concat, gst_value_list_get_size)
14683 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14685 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14686 init_list, because it works on both.
14687 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14688 (gst_value_copy_list_or_array): Renamed from copy_list.
14689 (gst_value_free_list_or_array): Renamed from free_list.
14690 (gst_value_collect_list_or_array): Renamed from collect_list.
14691 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14692 (gst_value_list_or_array_peek_pointer): Renamed from
14694 (_gst_value_array_value_table, _gst_value_list_value_table):
14695 Update value table functions.
14696 (gst_value_compare_list_or_array): Renamed from compare_list.
14698 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14701 * gst/gsttaglist.c:
14702 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14703 GstTagList*. Fixes #143472.
14705 * gst/gststructure.h: Clarify what the foreach/map functions can
14706 or can't do to their arguments.
14708 2005-11-18 Wim Taymans <wim@fluendo.com>
14710 * gst/gstclock.c: (gst_clock_set_calibration),
14711 (gst_clock_get_calibration):
14713 Calibration can be set with internal time equal to current
14716 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14722 2005-11-18 Andy Wingo <wingo@pobox.com>
14725 * pkgconfig/gstreamer-net.pc.in:
14726 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14727 * pkgconfig/Makefile.am: Add net pkgconfig files.
14729 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14732 * gst/gstghostpad.c:
14738 2005-11-18 Andy Wingo <wingo@pobox.com>
14740 * gst/net/gstnetclientclock.c: Turn off debugging.
14742 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14743 times connverge somewhat. Can't make a real test.
14745 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14746 integer arithmetic. Return the minimum of the domain, which can be
14747 set as "internal" for gst_clock_set_calibration.
14748 (gst_net_client_clock_observe_times): Call _set_calibration.
14749 (gst_net_client_clock_new): Call _set_calibration instead of
14752 * check/net/gstnetclientclock.c (test_functioning): Use the right
14756 * gst/gstclock.c (gst_clock_get_calibration)
14757 (gst_clock_set_calibration): New functions, obsolete the ones I
14758 added yesterday. Doh. Precision issues mean we have to extrapolate
14759 from a point in the more recent past than 1970.
14760 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14762 (gst_clock_adjust_unlocked): Use the right calibration data.
14764 2005-11-18 Edward Hervey <edward@fluendo.com>
14766 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14767 Also reset the ->current_* values in READY->PAUSED
14769 2005-11-18 Andy Wingo <wingo@pobox.com>
14771 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14772 Whoops, check the right fd. Also add some debugging.
14773 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14774 (do_linear_regression): Add a crapload of debugging. Subtract off
14775 the minimum values from the input series to discard unneeded bits.
14776 Use only int arithmetic. There is still double arithmetic when
14777 calculating the intercept that needs fixing. Return boolean to
14778 indicate success; FALSE would mean the domain or range is too
14779 great. Still needs fixes.
14781 2005-11-18 Wim Taymans <wim@fluendo.com>
14783 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14784 For the current position in stream time, we need to subtract
14787 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14788 Release lock before calling the callback function of async
14791 2005-11-18 Andy Wingo <wingo@pobox.com>
14793 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14794 Port goes all the way to MAXUINT16.
14796 * gst/net/gstnettimeprovider.c: Make the port range the same as
14797 for the kernel: 0 assigns, otherwise ports are less than
14800 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14803 * check/net/gstnetclientclock.c (test_functioning): Add the start
14806 2005-11-18 Wim Taymans <wim@fluendo.com>
14808 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14809 (gst_bin_remove_func), (bin_bus_handler):
14811 Removing a clock provider from a bin, triggers a clock lost message
14812 so that a new clock will be selected.
14813 Adding a clock to a bin triggers a clock provider message.
14814 Make sure we reselect a clock when we received a clock lost message.
14815 Keep a reference to the element that provided the clock.
14817 2005-11-18 Andy Wingo <wingo@pobox.com>
14819 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14820 the clock initially so it produces values around the base time.
14821 (gst_net_client_clock_class_init): Typo fix.
14822 (gst_net_client_clock_thread): Add note on when the socket gets
14825 2005-11-17 Wim Taymans <wim@fluendo.com>
14827 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14828 Free remote and local time arrays.
14830 2005-11-17 Wim Taymans <wim@fluendo.com>
14832 * gst/net/gstnetclientclock.c: (do_linear_regression),
14833 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14834 Fix compilation, uninitialized vars and a forgotten continue.
14836 2005-11-17 Andy Wingo <wingo@pobox.com>
14838 * check/Makefile.am (check_PROGRAMS):
14839 * check/net/gstnetclientclock.c: Add a most minimal test for the
14840 net client clock. More to come later.
14842 * gst/net/gstnet.h:
14843 * gst/net/Makefile.am: Add netclientclock.
14845 * gst/net/gstnetclientclock.h:
14846 * gst/net/gstnetclientclock.c: New files, implement an untested
14847 GstClock that takes its time from a network time provider.
14848 Implements the algorithm in network-clock.scm.
14850 * tests/network-clock.scm (*window-size*): Rename from
14852 * tests/network-clock.scm (network-time):
14853 * tests/network-clock-utils.scm (q-push): Update callers.
14855 2005-11-17 Wim Taymans <wim@fluendo.com>
14857 * gst/gstbin.c: (gst_bin_provide_clock_func),
14858 (gst_bin_sort_iterator_new):
14859 And unref the child too..
14861 2005-11-17 Wim Taymans <wim@fluendo.com>
14863 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14864 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14865 Refactor the sort iterator so it can be used while holding the
14867 Make clock selection select a clock closest to the source.
14869 2005-11-17 Michael Smith <msmith@fluendo.com>
14871 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14872 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14874 Anonymous structs are a gcc (and some other compilers) extension, so
14875 don't use them. Since this is only for ABI-compatibility, and our
14876 API/ABI freeze is over in a few days, this whole thing will only
14877 last a few days, so don't bother trying to think up a meaningful
14878 name for the struct.
14880 2005-11-17 Andy Wingo <wingo@pobox.com>
14882 * gst/gstclock.h (GstClock): Add rate and offset properties,
14883 preserving ABI stability. Add rate/offset accessors. Will file bug
14884 for the freeze break.
14886 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14887 and offset, trying to keep precision and avoiding
14888 underflow/overflow.
14889 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14890 functions. Make gst_clock_set_time_adjust obsolete.
14891 (gst_clock_set_time_adjust): Note that this function is obsolete.
14892 Will file bug soon.
14894 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14895 greppable by using GST_PADDING-1+1.
14897 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14899 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14901 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14902 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14904 * gst/gstpadtemplate.h:
14905 * gst/gstpluginfeature.h:
14906 Don't use c++ style comments in headers (#321638).
14908 2005-11-16 Andy Wingo <wingo@pobox.com>
14910 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14913 * check/net/gstnettimeprovider.c: Check to see that the time
14914 provider actually provides times. Works, yo!
14916 2005-11-16 Wim Taymans <wim@fluendo.com>
14918 * check/Makefile.am:
14921 * check/elements/fakesrc.c: (GST_START_TEST):
14922 Set element to NULL before disposing it.
14924 2005-11-16 Andy Wingo <wingo@pobox.com>
14926 * gst/net/Makefile.am:
14927 * gst/net/gstnet.h:
14928 * gst/net/gstnettimeprovider.c:
14929 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14930 provider, include it from gstnet.h, and add it to the build.
14932 * gst/net/gstnettimepacket.h:
14933 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14934 sending and receiving.
14936 2005-11-16 Wim Taymans <wim@fluendo.com>
14938 * check/Makefile.am:
14939 Enable valgrind check.
14941 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14942 (gst_fake_src_alloc_buffer):
14945 2005-11-16 Wim Taymans <wim@fluendo.com>
14947 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14948 Call parent finalize too.
14950 2005-11-16 Wim Taymans <wim@fluendo.com>
14952 * check/Makefile.am:
14953 Enable valgrind check that should work fine now.
14955 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14956 * gst/gstqueue.c: (gst_queue_init):
14957 Fix memleaks in pad allocation.
14959 2005-11-16 Andy Wingo <wingo@pobox.com>
14961 * gst/net/Makefile.am:
14962 * gst/net/gstnet.h: New part of core to hold network elements and
14963 objects. Put in core because it exposes API that applications want
14964 to use. The library is named libgstnet-tempname right now because
14965 of the existing libgstnet in gst-plugins-base. Solution is
14966 probably to rename the one in plugins-base; will file a bug for
14969 * gst/net/gstnettimeprovider.c:
14970 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14971 get_time call over the network.
14974 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14976 * check/Makefile.am:
14977 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14978 get additions shortly.
14980 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14982 * gst/gstpad.c: (gst_pad_new_from_static_template):
14984 add gst_pad_new_from_static_template functions
14985 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14986 (gst_check_setup_sink_pad):
14987 * gst/elements/gsttee.c: (gst_tee_init):
14990 2005-11-16 Wim Taymans <wim@fluendo.com>
14992 * gst/gstpad.c: (gst_pad_pause_task):
14993 Removed warning, it's not really an error either.
14995 2005-11-16 Wim Taymans <wim@fluendo.com>
14997 * gst/base/gstbasetransform.c:
14998 (gst_base_transform_prepare_output_buf),
14999 (gst_base_transform_event):
15000 Check if the caps are NULL, this can happen if the element
15001 is shutting down and the pad caps are set to NULL.
15003 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15005 * gst/elements/gsttee.c: (gst_tee_init):
15006 fix pad template leak in tee
15008 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15010 * gst/glib-compat.c: (g_value_dup_gst_object):
15011 * gst/glib-compat.h:
15012 * gst/gstpad.c: (gst_pad_set_property):
15013 use gst_object_ref when setting the pad template; this will
15014 trigger the pad template leaks on GLib 2.6 and the slaves
15016 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15018 * gst/glib-compat.c: (gst_flags_get_first_value):
15019 * gst/glib-compat.h:
15020 * gst/gstregistryxml.c:
15021 remove functions copied from GLib 2.6
15023 2005-11-16 Michael Smith <msmith@fluendo.com>
15026 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15027 do, but only breaks with newer valgrind versions. We're not a
15028 valgrind tool, we have no link-time dependencies on libcoregrind.
15030 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15032 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15034 * gst/gstmessage.h:
15037 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15039 * gst/base/gstbasesrc.c: (gst_base_src_init):
15040 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15041 * gst/gstqueue.c: (gst_queue_init):
15042 * gst/gstregistryxml.c: (load_feature):
15043 Revert all these unrefs, they don't even pass make check !
15045 2005-11-15 Johan Dahlin <johan@gnome.org>
15047 * gst/base/gstbasesrc.c: (gst_base_src_init):
15048 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15049 * gst/gstqueue.c: (gst_queue_init):
15050 Free pad templates, fixes a couple of leaks.
15052 2005-11-15 Daniel Fischer <dan at f3c dot com>
15054 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15056 * gst/gstpad.c: (gst_pad_get_property):
15057 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15058 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15061 2005-11-15 Wim Taymans <wim@fluendo.com>
15066 2005-11-15 Andy Wingo <wingo@pobox.com>
15068 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15070 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15071 using GST_CLOCK_TIME_NONE to disable base time management.
15072 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15073 time if it was NONE before.
15074 (gst_pipeline_change_state): Only munge the base time if
15075 stream_time != GST_CLOCK_TIME_NONE.
15077 * check/gst/gstpipeline.c (test_base_time): Punt around the
15078 problem of the probe not being called, because that's not the
15079 issue I'm looking at. Add a check that setting stream_time to NONE
15080 disables base time management.
15082 2005-11-15 Wim Taymans <wim@fluendo.com>
15084 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15085 segment_stop == -1 at startup.
15087 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15088 (gst_base_transform_change_state):
15089 Init segment values at start.
15091 2005-11-15 Wim Taymans <wim@fluendo.com>
15093 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15094 0 segment values are 0 in any format.
15096 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15097 * gst/base/gstbasetransform.h:
15098 Parse newsegment correctly in basetransform
15100 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15101 Sync to clock using updated segment values.
15103 2005-11-15 Andy Wingo <wingo@pobox.com>
15105 * check/gst/gstpipeline.c (test_base_time): Add check that the
15106 base time and stream time are reset correctly.
15108 2005-11-15 Wim Taymans <wim@fluendo.com>
15110 * docs/design/part-TODO.txt:
15111 Some more TODO items.
15113 2005-11-15 Andy Wingo <wingo@pobox.com>
15115 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15116 error if the user selected "no clock" as the clocking method.
15118 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15119 timestamps with live capture.
15121 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15122 is 0 but we are a live source, timestamp the buffers using the
15125 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15127 * docs/gst/gstreamer-sections.txt:
15129 * gst/gstghostpad.c:
15134 2005-11-14 Wim Taymans <wim@fluendo.com>
15137 add suppressions from Wim's Debian machine
15139 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15142 add suppressions from Andy's AMD64 Ubuntu machine
15144 2005-11-14 Andy Wingo <wingo@pobox.com>
15146 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15147 STATE_LOCK not necessary. Fixes #311489.
15149 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15152 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15153 this function is not implemented.
15155 2005-11-14 Julien MOUTTE <julien@moutte.net>
15157 * gst/base/gstbasetransform.c:
15158 (gst_base_transform_prepare_output_buf):
15159 Ref the source pad caps while we need them.
15162 2005-11-11 Wim Taymans <wim@fluendo.com>
15164 * docs/gst/gstreamer-sections.txt:
15165 Added some docs for GstCollectData.
15167 * gst/base/gstadapter.c:
15168 Some small code example fix.
15170 * gst/base/gstcollectpads.c:
15171 * gst/base/gstcollectpads.h:
15172 Document some more.
15174 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15176 * configure.ac: back to HEAD
15178 === release 0.9.5 ===
15180 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15183 releasing 0.9.5, "Bike Lunch Day"
15185 2005-11-11 Wim Taymans <wim@fluendo.com>
15187 * gst/gstbuffer.c: (_gst_buffer_copy):
15190 * gst/gstcaps.c: (gst_caps_is_equal):
15192 Make _is_equal fast in the trivial cases.
15194 * gst/gstminiobject.c:
15195 * gst/gstminiobject.h:
15196 More docs. Spifify .h file.
15201 2005-11-11 Wim Taymans <wim@fluendo.com>
15203 * gst/base/gstbasetransform.c:
15204 (gst_base_transform_prepare_output_buf),
15205 (gst_base_transform_handle_buffer):
15207 If we're processing a buffer and need to allocate an output
15208 buffer, we cannot accept a format change. If we did get a
15209 format change, we have to alloc a buffer ourselves of the
15212 2005-11-11 Wim Taymans <wim@fluendo.com>
15214 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15215 While checking the flag for reentrancy in the gstcaps function
15216 is nice to detect recursive invocations, it also makes it
15217 impossible to call getcaps from multiple threads, which must be
15218 possible. So, checking for recursive calls has to go.
15220 2005-11-11 Michael Smith <msmith@fluendo.com>
15222 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15223 Don't sync on buffers that fall partially outside our current
15224 segment. Prevents an assertion failure/abort playing some files.
15226 2005-11-10 Andy Wingo <wingo@pobox.com>
15228 * check/gst/gstbin.c (test_message_state_changed_children): Style
15231 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15232 gst_bus_poll with the signal watch. Ensures that poll and a signal
15233 watch see the same messages.
15235 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15236 a poll and a watch at the same time get the same messages.
15238 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15240 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15241 * gst/gstcaps.c: (gst_caps_intersect):
15242 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15243 and it's not needed.
15245 2005-11-10 Wim Taymans <wim@fluendo.com>
15247 * docs/design/part-TODO.txt:
15250 2005-11-10 Wim Taymans <wim@fluendo.com>
15252 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15253 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15254 (gst_base_src_do_sync), (gst_base_src_get_range):
15255 Implement clock sync in base class.
15257 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15259 patch by: Tim-Philipp Müller <tim at centricular dot net>
15261 * gst/gststructure.c: (gst_structure_parse_field),
15262 (gst_structure_from_string):
15263 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15264 so that gst_parse_launch() can deal with spaces in filtered link
15265 caps (fixes #164479)
15266 * check/gst/capslist.h:
15267 * check/gst/gststructure.c: (GST_START_TEST):
15268 add unit tests for this change
15270 2005-11-10 Wim Taymans <wim@fluendo.com>
15272 * docs/gst/gstreamer-sections.txt:
15273 * gst/gstelement.c:
15274 * gst/gstelement.h:
15275 Fix docs, move some STATE macros to private.
15277 2005-11-10 Wim Taymans <wim@fluendo.com>
15279 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15280 Added check for bug #317341
15284 Some more spiffifying.
15286 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15287 Call peer linkfunction if we are a source pad. Totally fixes
15291 Update docs, source pads should call the peer linkfunction
15292 so they can atomically perform the pad link.
15294 2005-11-09 Wim Taymans <wim@fluendo.com>
15298 Uber-spiffy-spiffify some more.
15300 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15302 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15303 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15304 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15305 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15306 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15307 * gst/gstpad.c: (gst_pad_init):
15308 Use GST_DEBUG_FUNCPTR() more extensively.
15310 2005-11-09 Wim Taymans <wim@fluendo.com>
15312 * gst/gstobject.c: (gst_object_class_init):
15314 Documentation fixes.
15316 2005-11-09 Edward Hervey <edward@fluendo.com>
15318 * gst/gsttypefindfactory.c:
15321 2005-11-09 Edward Hervey <edward@fluendo.com>
15323 * gst/base/gsttypefindhelper.c:
15324 * gst/gsttypefind.c:
15325 * gst/gsttypefind.h:
15328 2005-11-09 Wim Taymans <wim@fluendo.com>
15330 * gst/gstiterator.c:
15337 2005-11-09 Wim Taymans <wim@fluendo.com>
15343 2005-11-09 Wim Taymans <wim@fluendo.com>
15345 * docs/gst/gstreamer-sections.txt:
15346 Moved the message async delivery private lock and cond
15347 to the private section.
15349 * gst/gstmessage.c:
15350 * gst/gstmessage.h:
15353 2005-11-09 Edward Hervey <edward@fluendo.com>
15355 * docs/gst/gstreamer-sections.txt:
15358 Document GstURIHandler
15360 2005-11-09 Wim Taymans <wim@fluendo.com>
15362 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15363 (gst_iterator_find_custom):
15364 * gst/gstiterator.h:
15367 2005-11-09 Wim Taymans <wim@fluendo.com>
15370 Document another field.
15372 * gst/gststructure.c:
15373 * gst/gststructure.h:
15376 2005-11-09 Wim Taymans <wim@fluendo.com>
15379 Documented structs.
15381 2005-11-09 Wim Taymans <wim@fluendo.com>
15383 * docs/gst/gstreamer-sections.txt:
15384 Added some new macros.
15391 2005-11-09 Wim Taymans <wim@fluendo.com>
15393 * docs/design/part-TODO.txt:
15394 Some more items for the TODO
15400 2005-11-09 Andy Wingo <wingo@pobox.com>
15402 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15403 to work on something else now tho...
15405 * gst/base/gstadapter.c: More adapter docs.
15407 * gst/elements/gstfilesink.c (gst_file_sink_start)
15408 (gst_file_sink_stop): New functions, replace the state change
15410 (gst_file_sink_class_init): Hook up the start and stop functions.
15411 (gst_file_sink_base_init): Don't set the state change handler any
15412 more. It was a bit ugly too, being set from here...
15413 (gst_file_sink_get_property, gst_file_sink_set_property):
15415 (gst_file_sink_set_location): More robust check that doesn't call
15416 GST_STATE. Ugggggg.
15418 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15420 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15421 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15423 2005-11-08 Wim Taymans <wim@fluendo.com>
15425 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15426 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15427 (gst_base_sink_chain), (gst_base_sink_change_state):
15428 * gst/base/gstbasesink.h:
15429 * gst/base/gstbasesrc.h:
15430 * gst/gstelement.h:
15432 Avoid excessive typechecking in macros.
15434 * gst/gstminiobject.c: (gst_mini_object_get_type),
15435 (gst_mini_object_init), (gst_mini_object_new),
15436 (gst_mini_object_free):
15437 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15438 (gst_object_finalize):
15439 Remove cruft code, optimize alloc_trace.
15441 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15443 * docs/faq/gst-uninstalled:
15444 fix up PS1 for systems that try to reset it
15446 2005-11-07 Wim Taymans <wim@fluendo.com>
15448 * gst/base/gstbasesrc.c: (gst_base_src_init),
15449 (gst_base_src_get_range):
15450 Set the segment_end to -1 initially. Fixed typefind.
15452 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15454 * gst/base/gstadapter.c:
15455 Debug category should be 'adapter', not 'GstAdapter'.
15457 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15458 (gst_collectpads_class_init), (gst_collectpads_init),
15459 (gst_collectpads_peek), (gst_collectpads_pop),
15460 (gst_collectpads_event), (gst_collectpads_chain):
15461 Add debug category and some debugging output. Use boilerplate
15462 macros. Remove some extraneous words from docs.
15464 2005-11-05 Andy Wingo <wingo@pobox.com>
15466 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15469 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15471 * docs/gst/gstreamer-sections.txt:
15474 * gst/gstminiobject.h:
15479 2005-11-04 Wim Taymans <wim@fluendo.com>
15481 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15482 Small update to stop at the configured segment_end
15485 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15487 * gst/gstregistry.c:
15488 * gst/gstregistry.h:
15491 2005-11-04 Edward Hervey <edward@fluendo.com>
15493 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15494 Check if we are doing a segment seek and have arrived at the
15495 end of that segment.
15497 2005-11-04 Wim Taymans <wim@fluendo.com>
15499 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15500 Don't leak a mutex unlock in case of an error.
15505 2005-11-04 Wim Taymans <wim@fluendo.com>
15507 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15509 Get the context to wake up only once.
15511 2005-11-03 Wim Taymans <wim@fluendo.com>
15513 * check/states/sinks.c: (GST_START_TEST):
15514 Uncomment fixed check.
15516 * docs/design/part-TODO.txt:
15519 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15520 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15521 (gst_base_sink_get_position):
15522 If we are going to PLAYING, post the right pending state
15523 when we post the intermediate paused message.
15525 * gst/gstelement.c: (gst_element_continue_state),
15526 (gst_element_set_state_func), (gst_element_change_state):
15527 Don't post state changes that were between the same state
15528 and were not ASYNC.
15530 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15532 * docs/gst/gstreamer-sections.txt:
15535 * gst/gstminiobject.h:
15538 more docs and doc style fixes
15540 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15542 * docs/gst/gstreamer-sections.txt:
15543 * gst/gstelement.c:
15544 * gst/gstminiobject.c:
15547 2005-11-03 Andy Wingo <wingo@pobox.com>
15549 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15550 state-changed messages actually have the right order and the right
15553 2005-11-03 Wim Taymans <wim@fluendo.com>
15555 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15556 Added some more checks. Specifically the case where NO_PREROLL
15557 elements are in the pipeline.
15559 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15560 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15561 (gst_base_sink_get_position):
15562 Post READY->PAUSED state change messages too.
15563 Fix bug where VOID was posted as pending state...
15565 * gst/gstbin.c: (gst_bin_recalc_state):
15566 use _element_continue_state() to continue the state change.
15568 * gst/gstelement.c: (gst_element_continue_state),
15569 (gst_element_commit_state), (gst_element_set_state_func),
15570 (gst_element_change_state), (gst_element_change_state_func):
15571 Lots of state change cleanups, assign the STATE_RETURN in
15572 a new continue_state() function that also propagates the
15573 last return value from a state change to the app.
15574 Update some debug statements with proper category.
15576 2005-11-03 Wim Taymans <wim@fluendo.com>
15578 * docs/design/part-events.txt:
15579 * docs/design/part-gstpipeline.txt:
15580 * docs/design/part-messages.txt:
15581 * docs/design/part-overview.txt:
15582 * docs/design/part-seeking.txt:
15583 * docs/design/part-states.txt:
15584 * docs/design/part-trickmodes.txt:
15585 * docs/manual/advanced-position.xml:
15586 Small docs updates.
15589 People think !! is ugly, this looks better.
15591 * gst/gstpad.c: (gst_pad_set_blocked_async):
15592 Remove !! since it's fixed elsewhere now.
15594 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15596 * gst/gstminiobject.h:
15598 Add !! to _FLAG_IS_SET macros to make the result boolean.
15600 2005-11-03 Edward Hervey <edward@fluendo.com>
15602 * gst/gstpad.c: (gst_pad_set_blocked_async):
15603 comparing a flag and a gboolean rarely returns coherent results...
15604 Added two characters (!!) to make that work correctly.
15606 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15608 * gst/gstbus.c: (gst_bus_class_init):
15611 * gst/gstqueue.c: (gst_queue_loop):
15612 Don't assume a miniobject that isn't a buffer is an
15613 event (it could be that there is a refcounting
15614 problem somewhere and the pointer is stale and
15615 refers to an already destroyed miniobject).
15617 2005-11-03 Julien MOUTTE <julien@moutte.net>
15619 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15621 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15623 * docs/manual/advanced-position.xml:
15624 Update seek example and explanations to current 0.9 API.
15626 * gst/elements/gsttypefindelement.c:
15627 (gst_type_find_element_activate):
15628 Remove FIXME comment now that the found caps
15631 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15633 * gst/gstregistryxml.c: (load_feature):
15634 Add another GST_STR_NULL instance
15636 2005-11-02 Edward Hervey <edward@fluendo.com>
15638 * gst/gstpad.c: (handle_pad_block):
15639 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15641 2005-11-02 Wim Taymans <wim@fluendo.com>
15646 * gst/gstelement.c: (gst_element_commit_state):
15647 Remove unused value.
15649 * gst/gstiterator.c:
15650 Mention that the returned element is reffed in the docs.
15652 2005-11-02 Wim Taymans <wim@fluendo.com>
15654 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15655 (gst_pad_push), (gst_pad_push_event):
15656 Unlock blocked pads when they are flushed.
15658 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15661 * docs/gst/gstreamer-sections.txt:
15664 * gst/gstregistry.c: (gst_registry_scan_path_level):
15665 fix for a nasty little missed situation where an installed plug-in
15666 which was in the cache did not get overridden by an uninstalled one
15667 which was earlier in the plugin path because the newly created plugin
15668 for the uninstalled one (not in the registry) didn't get its
15669 ->registered set to TRUE
15671 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15673 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15674 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15675 (gst_collectpads_is_active), (gst_collectpads_collect),
15676 (gst_collectpads_collect_range), (gst_collectpads_start),
15677 (gst_collectpads_stop), (gst_collectpads_peek),
15678 (gst_collectpads_pop), (gst_collectpads_available),
15679 (gst_collectpads_read), (gst_collectpads_flush):
15680 Guard public API with assertions.
15683 Fix docs for gst_pad_set_link_function().
15685 2005-11-02 Johan Dahlin <johan@gnome.org>
15687 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15688 Unref found_caps after we used it.
15690 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15692 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15693 Don't try to ref NULL.
15695 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15697 * win32/common/config.h.in:
15698 provide a GST_FUNCTION that just gives a string for now
15700 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15702 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15703 (gst_object_flags_get_type), (register_gst_bin_flags),
15704 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15705 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15706 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15707 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15708 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15709 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15710 (gst_clock_flags_get_type), (register_gst_state),
15711 (gst_state_get_type), (register_gst_state_change_return),
15712 (gst_state_change_return_get_type), (register_gst_state_change),
15713 (gst_state_change_get_type), (register_gst_element_flags),
15714 (gst_element_flags_get_type), (register_gst_core_error),
15715 (gst_core_error_get_type), (register_gst_library_error),
15716 (gst_library_error_get_type), (register_gst_resource_error),
15717 (gst_resource_error_get_type), (register_gst_stream_error),
15718 (gst_stream_error_get_type), (register_gst_event_type),
15719 (gst_event_type_get_type), (register_gst_seek_type),
15720 (gst_seek_type_get_type), (register_gst_seek_flags),
15721 (gst_seek_flags_get_type), (register_gst_format),
15722 (gst_format_get_type), (register_gst_index_certainty),
15723 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15724 (gst_index_entry_type_get_type),
15725 (register_gst_index_lookup_method),
15726 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15727 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15728 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15729 (gst_index_flags_get_type), (register_gst_debug_level),
15730 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15731 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15732 (gst_iterator_result_get_type), (register_gst_iterator_item),
15733 (gst_iterator_item_get_type), (register_gst_message_type),
15734 (gst_message_type_get_type), (register_gst_mini_object_flags),
15735 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15736 (gst_pad_link_return_get_type), (register_gst_flow_return),
15737 (gst_flow_return_get_type), (register_gst_activate_mode),
15738 (gst_activate_mode_get_type), (register_gst_pad_direction),
15739 (gst_pad_direction_get_type), (register_gst_pad_flags),
15740 (gst_pad_flags_get_type), (register_gst_pad_presence),
15741 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15742 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15743 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15744 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15745 (gst_plugin_flags_get_type), (register_gst_rank),
15746 (gst_rank_get_type), (register_gst_query_type),
15747 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15748 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15749 (gst_tag_flag_get_type), (register_gst_task_state),
15750 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15751 (gst_alloc_trace_flags_get_type),
15752 (register_gst_type_find_probability),
15753 (gst_type_find_probability_get_type), (register_gst_uri_type),
15754 (gst_uri_type_get_type), (register_gst_parse_error),
15755 (gst_parse_error_get_type):
15756 * win32/common/gstversion.h:
15757 update win32 copies
15759 2005-11-01 Luca Ognibene <luogni@tin.it>
15762 fix docs. popt is dead, long live GOption.
15764 2005-10-31 Wim Taymans <wim@fluendo.com>
15769 2005-10-31 Andy Wingo <wingo@pobox.com>
15773 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15775 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15776 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15777 the possibility of deadlocks here if code calling notify() or
15778 set() has a lock that can be taken in another notify handler (ABBA
15779 with class lock and e.g. python GIL state lock).
15781 2005-10-28 Julien MOUTTE <julien@moutte.net>
15783 * gst/gstbus.c: Doc updates.
15785 2005-10-28 Wim Taymans <wim@fluendo.com>
15787 * docs/design/part-TODO.txt:
15788 * gst/gstiterator.c:
15789 * gst/gstsystemclock.c:
15790 * gst/gstsystemclock.h:
15793 2005-10-28 Edward Hervey <edward@fluendo.com>
15795 * docs/gst/gstreamer-docs.sgml:
15796 * docs/gst/gstreamer-sections.txt:
15797 the GstURIType documentation page is private, it only defines GstURIType
15798 which should be defined in the GstURIHandler page
15800 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15802 * gst/gstbin.c: (gst_bin_class_init):
15805 Documentation updates.
15807 2005-10-28 Wim Taymans <wim@fluendo.com>
15809 * docs/gst/gstreamer-sections.txt:
15812 Documented the clocks.
15814 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15816 * docs/gst/gstreamer-sections.txt:
15817 move some macros to private sections
15818 * gst/gstminiobject.c:
15819 * gst/gstminiobject.h:
15820 add descriptions provided by ds and some more
15822 mark macro as to be removed
15824 2005-10-28 Wim Taymans <wim@fluendo.com>
15826 * docs/design/part-TODO.txt:
15827 Add an item to TODO.
15829 * gst/gstiterator.c: (gst_iterator_fold),
15830 (gst_iterator_find_custom):
15831 * gst/gstiterator.h:
15834 2005-10-28 Wim Taymans <wim@fluendo.com>
15836 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15837 (gst_base_transform_init):
15840 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15841 An EOS event marks the queue as completely filled.
15843 2005-10-27 Wim Taymans <wim@fluendo.com>
15845 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15846 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15847 Some more debugging.
15849 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15850 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15851 (gst_base_transform_event), (gst_base_transform_getrange),
15852 (gst_base_transform_chain):
15853 * gst/base/gstbasetransform.h:
15855 Protect transform and concurrent buffer alloc with a new lock.
15856 Try not to break ABI/API.
15858 2005-10-27 Wim Taymans <wim@fluendo.com>
15860 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15861 (gst_base_src_init), (gst_base_src_query),
15862 (gst_base_src_default_newsegment),
15863 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15864 (gst_base_src_send_event), (gst_base_src_event_handler),
15865 (gst_base_src_pad_get_range), (gst_base_src_loop),
15866 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15867 (gst_base_src_start), (gst_base_src_deactivate),
15868 (gst_base_src_activate_push), (gst_base_src_change_state):
15869 Move some stuff around and cleanup things.
15871 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15873 * gst/base/gstbasesrc.c: (gst_base_src_query):
15874 Add missing break statements.
15876 2005-10-27 Wim Taymans <wim@fluendo.com>
15878 * check/gst/gstbin.c: (GST_START_TEST):
15879 An extra refcount is taken in basesrc.
15881 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15882 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15883 (gst_base_src_loop):
15884 Small cleanups, check for flushing after being unlocked from the
15885 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15886 Don't send out EOS when going to READY.
15888 2005-10-27 Wim Taymans <wim@fluendo.com>
15890 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15891 (gst_base_sink_get_position):
15894 * gst/gstbin.c: (message_check), (bin_replace_message),
15895 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15896 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15897 (bin_query_duration_init), (bin_query_duration_fold),
15898 (bin_query_duration_done), (bin_query_generic_fold),
15900 * tools/gst-launch.c: (main):
15903 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15905 * examples/controller/audio-example.c: (main):
15906 * examples/queue/queue.c: (event_loop):
15907 * gst/base/gstbasetransform.h:
15908 * gst/gstelement.c: (gst_element_send_event):
15910 * gst/gstpad.c: (gst_pad_send_event):
15913 changing log priority in error situations
15915 2005-10-25 Wim Taymans <wim@fluendo.com>
15917 * gst/gstbin.c: (message_check), (bin_replace_message),
15918 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15919 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15920 (bin_query_duration_init), (bin_query_duration_fold),
15921 (bin_query_duration_done), (bin_query_generic_fold),
15923 Some doc and debug updates.
15924 Cache previously requested query DURATION for speed. invalidate
15925 cached duration if element posts a DURATION message.
15927 2005-10-25 Wim Taymans <wim@fluendo.com>
15929 * docs/design/part-TODO.txt:
15932 * gst/gstbin.c: (message_check), (bin_replace_message),
15933 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15934 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15935 (bin_query_duration_init), (bin_query_duration_fold),
15936 (bin_query_duration_done), (bin_query_generic_fold),
15938 Handle SEGMENT_START/DONE messages correctly.
15939 More evolved query algorithm that handles duration queries
15942 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15943 (gst_element_get_state_func), (gst_element_abort_state),
15944 (gst_element_commit_state), (gst_element_lost_state):
15945 Some more debugging.
15947 * gst/gstmessage.h:
15950 2005-10-25 Wim Taymans <wim@fluendo.com>
15952 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15953 Don't use invalid stream_time.
15955 * gst/gstevent.c: (gst_event_new_newsegment):
15956 stream_time in newsegment cannot be undefined.
15958 2005-10-24 Wim Taymans <wim@fluendo.com>
15963 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15965 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15967 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15969 * docs/libs/tmpl/gstdparam.sgml:
15970 * docs/libs/tmpl/gstdplinint.sgml:
15971 * docs/libs/tmpl/gstdpman.sgml:
15972 * docs/libs/tmpl/gstdpsmooth.sgml:
15973 * docs/libs/tmpl/gstunitconvert.sgml:
15976 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15981 === release 0.9.4 ===
15983 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15986 releasing 0.9.4, "Tyrannosaurus Rex"
15988 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15990 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15991 (gst_file_sink_get_current_offset):
15992 Use fseeko() and ftello() if available. When falling back on
15993 lseek() to get the current offset, fflush() first to make sure
15994 everything is up-to-date and we get the right offset.
15996 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15998 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15999 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16000 * gst/gsterror.c: (_gst_stream_errors_init):
16002 * gst/gstqueue.c: (gst_queue_loop):
16004 remove prematurely added error category and clean up the instances
16006 2005-10-21 Wim Taymans <wim@fluendo.com>
16008 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16009 (gst_base_sink_get_position), (gst_base_sink_query),
16010 (gst_base_sink_change_state):
16011 Simply set the right flag when going to playing, that's all
16012 we need to do instead of calling a function inside the object
16013 lock (that could take the lock as well and deadlock)
16015 2005-10-21 Wim Taymans <wim@fluendo.com>
16017 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16018 (gst_base_src_loop):
16019 Don't warn, the peer element knows what to do best when
16020 the seek failed, it might try something else.
16022 2005-10-21 Wim Taymans <wim@fluendo.com>
16024 * gst/base/gstbasesrc.c: (gst_base_src_init),
16025 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16028 2005-10-21 Wim Taymans <wim@fluendo.com>
16030 * docs/design/part-segments.txt:
16033 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16034 Correctly set caps, even on the subbufer.
16036 2005-10-21 Wim Taymans <wim@fluendo.com>
16038 * docs/gst/gstreamer-docs.sgml:
16039 * docs/gst/gstreamer-sections.txt:
16040 * gst/gstelement.h:
16043 * gst/gstmessage.h:
16046 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16050 And 2% more doc coverage.
16052 2005-10-21 Andy Wingo <wingo@pobox.com>
16054 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16055 position reporting.
16057 2005-10-20 Wim Taymans <wim@fluendo.com>
16059 * gst/gsterror.c: (gst_error_get_message):
16062 * gst/gststructure.c:
16067 2005-10-20 Wim Taymans <wim@fluendo.com>
16072 Another 1% more coverage.
16074 2005-10-20 Wim Taymans <wim@fluendo.com>
16076 * docs/gst/gstreamer-sections.txt:
16077 * gst/gstelement.c: (gst_element_get_state_func),
16078 (gst_element_abort_state), (gst_element_commit_state),
16079 (gst_element_lost_state):
16081 * gst/gstquery.c: (gst_query_set_position),
16082 (gst_query_parse_position), (gst_query_set_duration),
16083 (gst_query_parse_duration), (gst_query_new_convert):
16085 Yay! 1% more docs coverage.
16087 2005-10-20 Wim Taymans <wim@fluendo.com>
16090 * gst/gstquery.c: (gst_query_set_position),
16091 (gst_query_parse_position), (gst_query_set_duration),
16092 (gst_query_parse_duration), (gst_query_new_convert):
16094 * gst/gstutils.c: (gst_element_query_convert):
16096 Docs and consistency fixes.
16098 2005-10-20 Wim Taymans <wim@fluendo.com>
16104 2005-10-20 Wim Taymans <wim@fluendo.com>
16106 * gst/gstbin.c: (message_check), (bin_replace_message),
16107 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16108 (update_degree), (gst_bin_sort_iterator_next),
16109 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16110 Reworked the message handling a bit, cache the messages instead of
16111 only the senders. alows us to do more in the future.
16113 2005-10-20 Wim Taymans <wim@fluendo.com>
16115 * docs/design/part-TODO.txt:
16118 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16119 (gst_base_sink_query):
16120 Don't use clock time to report position when in EOS.
16122 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16124 * tools/gst-inspect.c: (print_interfaces),
16125 (print_element_properties_info), (print_element_info):
16126 Fix interface output with gst-inspect -a; don't print
16127 newlines after double/float properties.
16129 2005-10-20 Wim Taymans <wim@fluendo.com>
16131 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16132 (gst_base_sink_query):
16133 Speed up current position calculation.
16135 * gst/base/gstbasesrc.c: (gst_base_src_query),
16136 (gst_base_src_default_newsegment):
16137 Correctly set stream position in newsegment.
16139 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16140 (update_degree), (gst_bin_sort_iterator_next),
16141 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16142 * gst/gstmessage.c: (gst_message_new_custom):
16143 Clean up debugging info
16145 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16146 (gst_queue_loop), (gst_queue_handle_src_query):
16149 2005-10-19 Wim Taymans <wim@fluendo.com>
16151 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16152 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16153 Fix query handling again.
16155 2005-10-19 Wim Taymans <wim@fluendo.com>
16157 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16158 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16159 * gst/base/gstbasesrc.c: (gst_base_src_query):
16160 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16161 * gst/elements/gsttypefindelement.c:
16162 (gst_type_find_handle_src_query), (find_element_get_length),
16163 (gst_type_find_element_activate):
16166 * gst/gstquery.c: (gst_query_new_position),
16167 (gst_query_set_position), (gst_query_parse_position),
16168 (gst_query_new_duration), (gst_query_set_duration),
16169 (gst_query_parse_duration), (gst_query_set_segment),
16170 (gst_query_parse_segment):
16172 Bundling query position/duration is not a good idea since duration
16173 does not change much and we don't want to recalculate it for every
16174 position query, so they are separated again..
16175 Base value in segment query is not needed.
16177 * gst/gstqueue.c: (gst_queue_handle_src_query):
16178 * gst/gstutils.c: (gst_element_query_position),
16179 (gst_element_query_duration), (gst_pad_query_position),
16180 (gst_pad_query_duration):
16182 Updates for query API change.
16183 Added some docs here and there.
16185 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16187 * check/gst/gstbin.c: (GST_START_TEST):
16188 * check/gst/gstghostpad.c: (GST_START_TEST):
16189 * check/pipelines/cleanup.c: (GST_START_TEST):
16190 wait on thread to die so we can check refcount correctly
16192 2005-10-18 Wim Taymans <wim@fluendo.com>
16194 * check/pipelines/stress.c: (GST_START_TEST):
16195 Make check a little more time consuming.
16197 2005-10-18 Wim Taymans <wim@fluendo.com>
16199 * check/Makefile.am:
16200 * check/pipelines/stress.c: (GST_START_TEST),
16201 (simple_launch_lines_suite), (main):
16202 Small state change torture test.
16204 * docs/design/part-states.txt:
16205 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16206 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16207 (gst_base_sink_change_state):
16208 Never take state lock from streaming thread, clean up ugly
16209 hacks. Unfortunatly core does not yet support nice ways to
16210 async commit state.
16212 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16214 Start state recalc if a STATE_DIRTY message is posted, but only
16215 on the toplevel bin.
16217 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16218 (gst_element_get_state_func), (gst_element_abort_state),
16219 (gst_element_commit_state), (gst_element_lost_state),
16220 (gst_element_set_state_func), (gst_element_change_state):
16221 * gst/gstelement.h:
16222 State variables are now protected with the LOCK, the state
16223 lock is only used to serialize _set_state().
16225 2005-10-18 Wim Taymans <wim@fluendo.com>
16227 * check/gst/gstbin.c: (GST_START_TEST):
16228 * check/gst/gstmessage.c: (GST_START_TEST):
16229 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16230 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16232 * gst/gstelement.c: (gst_element_abort_state),
16233 (gst_element_commit_state), (gst_element_lost_state):
16234 * gst/gstmessage.c: (gst_message_new_state_changed),
16235 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16236 (gst_message_new_segment_done), (gst_message_new_duration),
16237 (gst_message_parse_state_changed),
16238 (gst_message_parse_segment_start),
16239 (gst_message_parse_segment_done), (gst_message_parse_duration):
16240 * gst/gstmessage.h:
16241 * tools/gst-launch.c: (event_loop):
16242 Seriously, this is better than a previous commit as we only need
16243 to notify the fact that an element changed state in a streaming
16244 thread, marking the state of the parents dirty, hence the
16245 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16248 2005-10-18 Wim Taymans <wim@fluendo.com>
16250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16251 (gst_bin_recalc_func):
16252 * gst/gstelement.c: (gst_element_set_clock),
16253 (gst_element_abort_state), (gst_element_lost_state):
16254 Cleanups, prepare for state change fixes.
16256 2005-10-18 Wim Taymans <wim@fluendo.com>
16259 * gst/gstelement.c: (gst_element_class_init),
16260 (gst_element_set_state), (gst_element_set_state_func):
16261 * gst/gstelement.h:
16262 Pending ABI changes.
16263 GThreadPool in GstBinClass to monitor async state changes.
16264 state_cookie in GstElement to detect concurrent gst/set state.
16265 set_state is now virtual too in case a very complicated element
16266 has to be constructed.
16268 2005-10-18 Wim Taymans <wim@fluendo.com>
16270 * check/gst/gstbin.c: (GST_START_TEST):
16271 * check/gst/gstmessage.c: (GST_START_TEST):
16272 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16273 * gst/gstbin.c: (bin_bus_handler):
16274 * gst/gstelement.c: (gst_element_commit_state),
16275 (gst_element_lost_state):
16276 * gst/gstmessage.c: (gst_message_new_state_changed),
16277 (gst_message_new_segment_start), (gst_message_new_segment_done),
16278 (gst_message_new_duration), (gst_message_parse_state_changed),
16279 (gst_message_parse_segment_start),
16280 (gst_message_parse_segment_done), (gst_message_parse_duration):
16281 * gst/gstmessage.h:
16282 * tools/gst-launch.c: (event_loop):
16283 Make messages future proof.
16284 state-change gets a flag if it was a message comming from the
16286 segment-start/stop can also be specified in other formats.
16287 A message to notify an app that a pipeline changed playback
16289 Also fix a GstMessage leak in -launch
16291 2005-10-18 Andy Wingo <wingo@pobox.com>
16293 * gst/gstelement.c (gst_element_dispose): More helpful message.
16295 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16297 reviewed by: <delete if not using a buddy>
16299 * common/gtk-doc.mak:
16301 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16303 * gst/gstregistry.c: (gst_registry_scan_path_level):
16304 unref a plug-in we get that was already initialized
16306 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16308 * docs/gst/gstreamer-sections.txt:
16309 * docs/libs/gstreamer-libs-sections.txt:
16310 * gst/gstelement.h:
16311 add new api entries
16312 hide internal macro
16314 2005-10-17 Andy Wingo <wingo@pobox.com>
16316 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16319 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16321 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16323 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16324 (gst_element_get_state_func): Better debug message.
16325 (gst_element_commit_state): s/INFO/DEBUG/.
16326 (gst_element_lost_state, gst_element_change_state):
16328 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16329 (gst_message_new_custom): s/INFO/LOG/.
16331 2005-10-17 Michael Smith <msmith@fluendo.com>
16333 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16334 Check if end time is valid using end time, not start time.
16336 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16338 * check/gst-libs/controller.c: (GST_START_TEST),
16339 (gst_controller_suite):
16340 * libs/gst/controller/gstcontroller.c:
16341 (gst_controlled_property_set_interpolation_mode):
16342 * libs/gst/controller/gstcontroller.h:
16343 * libs/gst/controller/gstinterpolation.c:
16344 * testsuite/controller/.cvsignore:
16345 * testsuite/controller/Makefile.am:
16346 * testsuite/controller/interpolator.c:
16347 merge controller testsuites
16349 remove mem-chunk from docs
16351 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16353 * gst/gstmemchunk.c:
16354 * gst/gstmemchunk.h:
16355 * gst/gsttrashstack.c:
16356 * gst/gsttrashstack.h:
16357 out. get out. you're fired. to the Attic !
16359 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16361 * gst/gstcaps.c: (gst_caps_intersect):
16362 fix signedness issues in a (hopefully) correct way
16363 * gst/gstelement.c: (gst_element_pads_activate):
16365 * gst/gstobject.c: (gst_object_set_parent):
16368 2005-10-17 Julien MOUTTE <julien@moutte.net>
16370 * gst/gstvalue.h: Fix prototypes.
16372 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16374 * docs/gst/gstreamer-sections.txt:
16375 * gst/gst.c: (gst_version_string):
16377 * gst/gstversion.h.in:
16378 * win32/common/libgstreamer.def:
16379 add gst_version_string ()
16381 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16385 * gst/gst.c: (init_post):
16386 * win32/common/config.h.in:
16388 * gst/gstcaps.c: (gst_caps_intersect):
16389 use gint64, the range could be bigger than a guint
16391 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16394 document potential problem in 2038
16396 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16398 * gst/gstcaps.c: (gst_caps_intersect):
16399 Fix guint j diving under 0
16401 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16404 * win32/common/config.h:
16405 * win32/common/config.h.in:
16406 check for process.h, declares getpid() on Windows
16408 include process.h if we have it
16409 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16410 * gst/gstmemchunk.h:
16411 fix signedness issues
16412 * win32/common/libgstreamer.def:
16415 2005-10-16 Julien MOUTTE <julien@moutte.net>
16417 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16418 fix. Because of unsigned ints, caps intersection was going nuts and
16419 trying to access structures with G_MAXUINT index. That fixes
16420 videotestsrc ! ffmpegcolorspace ! fakesink
16421 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16424 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16427 use the gettext macro
16428 * gst/elements/gstelements.c:
16430 * gst/indexers/gstindexers.c:
16431 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16432 * win32/common/config.h:
16434 * win32/common/config.h.in:
16435 add the template to generate config.h
16436 * win32/common/gstenumtypes.c:
16437 * win32/common/gstversion.h:
16440 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16442 * gst/gst.c: (gst_version):
16443 * gst/gstversion.h.in:
16446 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16449 Oops, add missing closing bracket.
16451 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16454 use common m4's for argument checking
16456 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16458 * docs/gst/gstreamer-sections.txt:
16460 Add GST_EVENT_TYPE_NAME() macro.
16462 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16465 * gst/gstpluginfeature.c:
16467 privatize more symbols
16469 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16472 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16473 everything that uses GStreamer API should have the includes
16475 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16477 * docs/gst/gstreamer-sections.txt:
16478 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16480 give each value a _get_type, removes the DATA exports
16482 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16486 remove _gst_registry_auto_load, not used anymore
16487 * gst/gstbin.c: (gst_bin_get_type):
16489 * gst/gstelement.c: (gst_element_get_type):
16490 * gst/gstelement.h:
16491 * gst/gstobject.c: (gst_object_get_type):
16493 * gst/gstpad.c: (gst_pad_get_type):
16495 make _get_type functions similar, fixes data export from library
16497 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16500 correctly make conditionals
16501 * gst/elements/Makefile.am:
16502 * gst/elements/gstelements.c:
16503 fix typo causing fdsrc not to build
16505 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16507 * testsuite/Makefile.am:
16508 * testsuite/bytestream/.cvsignore:
16509 * testsuite/bytestream/Makefile.am:
16510 * testsuite/bytestream/filepadsink.c:
16511 * testsuite/bytestream/gstbstest.c:
16512 * testsuite/bytestream/test1.c:
16513 * testsuite/bytestream/testfile1:
16514 * testsuite/caps/normalisation.c:
16515 * testsuite/caps/random.c: (main):
16516 * testsuite/cleanup/.cvsignore:
16517 * testsuite/cleanup/Makefile.am:
16518 * testsuite/cleanup/cleanup1.c:
16519 * testsuite/cleanup/cleanup2.c:
16520 * testsuite/cleanup/cleanup3.c:
16521 * testsuite/cleanup/cleanup4.c:
16522 * testsuite/cleanup/cleanup5.c:
16523 * testsuite/controller/interpolator.c:
16524 * testsuite/debug/printf_extension.c: (main):
16525 * testsuite/elements/tee.c:
16526 * testsuite/negotiation/.cvsignore:
16527 * testsuite/negotiation/Makefile.am:
16528 * testsuite/negotiation/pad_link.c:
16529 * testsuite/pad/Makefile.am:
16530 * testsuite/pad/chainnopull.c:
16531 * testsuite/pad/getnopush.c:
16532 * testsuite/pad/link.c:
16533 * testsuite/refcounting/sched.c: (create_pipeline):
16534 * testsuite/registry/Makefile.am:
16535 * testsuite/registry/gst-print-formats.c:
16536 * testsuite/schedulers/.cvsignore:
16537 * testsuite/schedulers/142183-2.c:
16538 * testsuite/schedulers/142183.c:
16539 * testsuite/schedulers/143777-2.c:
16540 * testsuite/schedulers/143777.c:
16541 * testsuite/schedulers/147713.c:
16542 * testsuite/schedulers/147819.c:
16543 * testsuite/schedulers/147894-2.c:
16544 * testsuite/schedulers/147894.c:
16545 * testsuite/schedulers/Makefile.am:
16546 * testsuite/schedulers/group_link.c:
16547 * testsuite/schedulers/queue_link.c:
16548 * testsuite/schedulers/relink.c:
16549 * testsuite/schedulers/unlink.c:
16550 * testsuite/schedulers/unref.c:
16551 * testsuite/schedulers/useless_iteration.c:
16552 * testsuite/states/bin.c:
16553 clean out/remove some stuff from the testsuite directories
16555 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16558 check for some headers
16559 * gst/elements/Makefile.am:
16560 * gst/elements/gstelements.c:
16561 don't compile fdsrc without sys/socket.h
16562 * gst/indexers/Makefile.am:
16563 * gst/indexers/gstindexers.c: (plugin_init):
16564 don't compile fileindex without mmap
16566 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16573 * check/Makefile.am:
16574 * docs/gst/Makefile.am:
16575 * examples/helloworld/Makefile.am:
16577 * gst/base/Makefile.am:
16578 * gst/check/Makefile.am:
16579 * gst/elements/Makefile.am:
16580 * gst/indexers/Makefile.am:
16581 * gst/parse/Makefile.am:
16582 * libs/gst/controller/Makefile.am:
16583 * libs/gst/dataprotocol/Makefile.am:
16584 * examples/helloworld/helloworld.c: (event_loop):
16585 compile fixes, though it's not being compiled currently
16587 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16589 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16590 Add some simple tests for the new taglist date API.
16592 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16594 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16595 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16596 Beautify 'last-message' output: print 'none' for buffer timestamps
16597 and durations if none is set; improve alignment with next messages.
16599 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16601 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16602 * gst/gstpluginfeature.h:
16603 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16604 * gst/gstregistry.h:
16605 * docs/gst/gstreamer-sections.txt:
16606 Add new API to check plugin feature version requirements.
16608 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16609 Some basic tests for the above.
16611 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16613 * gst/gststructure.c: (gst_structure_to_string):
16614 guard against NULL printf - happens when for example
16615 a message structure with GstClock gets serialized
16617 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16619 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16620 Fix presumable copy'n'pasto.
16622 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16624 * gst/elements/gstfakesrc.h:
16625 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16626 * gst/elements/gsttypefindelement.c:
16627 fix some signedness
16628 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16629 I wonder if this could actually write +2GB files before
16631 2005-10-13 Andy Wingo <wingo@pobox.com>
16633 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16634 Fix Timmeke Waymans bug.
16635 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16636 string of the proper length to gst_caps_from_string. There's a
16637 potential for, before this fix, that this could cause someone
16638 connecting over the network to cause a segfault if the payload is
16639 not NUL-terminated.
16641 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16643 * docs/design/draft-push-pull.txt:
16644 * docs/design/part-overview.txt:
16645 * docs/random/TODO-pre-0.9:
16646 * docs/random/old/ChangeLog.gstreamer:
16647 * gst/base/gstpushsrc.c:
16651 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16653 * gst/glib-compat.c: (gst_flags_get_first_value):
16654 * gst/glib-compat.h:
16655 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16656 (gst_value_compare_double), (gst_value_serialize_flags):
16657 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16660 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16662 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16663 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16665 * tools/gst-launch.c: (event_loop):
16666 print out clock nicely
16668 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16670 * docs/gst/gstreamer-sections.txt:
16671 * gst/gsttaglist.h:
16672 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16673 (gst_tag_list_get_date_index):
16674 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16675 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16677 2005-10-13 Julien MOUTTE <julien@moutte.net>
16679 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16680 (gst_collectpads_chain):
16681 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16684 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16686 * docs/gst/gstreamer-sections.txt:
16689 * tools/gst-inspect.c: (main):
16690 * tools/gst-launch.c: (main):
16691 * tools/gst-run.c: (main):
16692 * tools/gst-xmlinspect.c: (main):
16693 fix GOption context leaks
16696 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16700 * win32/common/config.h:
16702 * win32/vs6/grammar.dsp:
16703 * win32/vs6/libgstelements.dsp:
16704 * win32/vs6/libgstreamer.dsp:
16707 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16710 * gst/base/gstbasesrc.c: (gst_base_src_query):
16711 fix more guint64<->gdouble conversions
16713 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16716 add win32-update target
16717 * win32/common/gstconfig.h:
16718 * win32/common/gstenumtypes.c:
16719 * win32/common/gstenumtypes.h:
16720 * win32/common/gstversion.h:
16721 add files that visual studio can't generate
16723 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16726 add a win32-update target
16729 2005-10-12 Wim Taymans <wim@fluendo.com>
16731 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16732 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16733 * gst/gstelement.c: (gst_element_commit_state),
16734 (gst_element_set_state):
16735 Protect flags with proper lock.
16736 unref provided cached clock in dispose.
16738 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16741 * gst/gstminiobject.h:
16743 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16744 removed unused flags from miniobject
16747 2005-10-12 Wim Taymans <wim@fluendo.com>
16749 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16750 (gst_file_sink_event), (gst_file_sink_render):
16751 Flush before seeking.
16753 2005-10-12 Andy Wingo <wingo@pobox.com>
16755 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16756 always been the case.
16758 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16760 * check/gst/gstbin.c: (GST_START_TEST):
16761 * docs/gst/gstreamer-sections.txt:
16762 * gst/base/gstbasesink.c: (gst_base_sink_init):
16763 * gst/base/gstbasesrc.c: (gst_base_src_init),
16764 (gst_base_src_get_range), (gst_base_src_check_get_range),
16765 (gst_base_src_start), (gst_base_src_stop):
16766 * gst/base/gstbasesrc.h:
16767 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16768 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16769 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16773 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16775 * gst/gstelement.c: (gst_element_is_locked_state),
16776 (gst_element_set_locked_state), (gst_element_commit_state),
16777 (gst_element_set_state):
16778 * gst/gstelement.h:
16779 * gst/gstindex.c: (gst_index_init):
16781 * gst/gstminiobject.h:
16782 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16783 (gst_object_set_parent):
16785 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16786 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16788 * gst/gstpadtemplate.h:
16789 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16790 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16791 * gst/gstpipeline.h:
16792 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16793 (gst_file_index_commit):
16794 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16795 * testsuite/pad/link.c: (gst_test_src_init),
16796 (gst_test_filter_init), (gst_test_sink_init):
16797 * testsuite/states/locked.c: (main):
16798 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16799 moved bitshift from macro to enum definition
16801 2005-10-12 Wim Taymans <wim@fluendo.com>
16803 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16804 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16805 (gst_file_sink_render):
16806 Some more debugging info.
16808 2005-10-12 Wim Taymans <wim@fluendo.com>
16810 * docs/design/part-states.txt:
16811 * tools/gst-launch.c: (main):
16813 Revert non-intentional change.
16815 2005-10-12 Wim Taymans <wim@fluendo.com>
16817 * check/gst/gstbin.c: (GST_START_TEST):
16818 * check/gst/gstelement.c: (GST_START_TEST):
16819 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16820 * check/gst/gstghostpad.c: (GST_START_TEST):
16821 * check/gst/gstpipeline.c: (GST_START_TEST):
16822 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16823 * check/states/sinks.c: (GST_START_TEST):
16824 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16825 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16826 (gst_bin_remove_func), (gst_bin_get_state_func),
16827 (gst_bin_recalc_state), (gst_bin_change_state_func),
16829 * gst/gstelement.c: (gst_element_get_state_func),
16830 (gst_element_get_state), (gst_element_abort_state),
16831 (gst_element_commit_state), (gst_element_set_state),
16832 (gst_element_change_state), (gst_element_change_state_func):
16833 * gst/gstelement.h:
16834 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16835 (gst_pipeline_provide_clock_func):
16836 * gst/gstutils.c: (gst_element_link_pads_filtered):
16837 * tools/gst-launch.c: (main):
16838 * tools/gst-typefind.c: (main):
16839 Use GstClockTime in _get_state() instead of GTimeVal.
16840 Remove old code in gstutils.c
16842 2005-10-12 Andy Wingo <wingo@pobox.com>
16844 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16847 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16848 there is no task. Shouldn't affect any code, as nothing in our
16849 plugins checks this return value.
16850 (gst_pad_stop_task): Also take the stream lock if the pad has no
16851 task. Docs updated.
16853 2005-10-12 Wim Taymans <wim@fluendo.com>
16855 * gst/gstpad.c: (pre_activate), (post_activate),
16856 (gst_pad_activate_pull), (gst_pad_activate_push):
16857 Cleanup activation code. Reset old state if
16860 2005-10-12 Wim Taymans <wim@fluendo.com>
16862 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16863 (gst_base_sink_change_state):
16864 No need to prerol after receiving EOS.
16866 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16867 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16868 * gst/elements/gstidentity.c: (gst_identity_event):
16869 Print events more verbosely.
16871 2005-10-12 Wim Taymans <wim@fluendo.com>
16873 * check/Makefile.am:
16874 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16875 * check/states/sinks2.c:
16876 Moved sinks2 testcode in sinks check.
16878 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16879 (gst_bin_remove_func), (gst_bin_recalc_state),
16880 (gst_bin_change_state_func), (bin_bus_handler):
16881 Fix potential race condition when _get_state() iterated over an
16882 ASYNC element right before it posted a state completion.
16885 Do proper cast here.
16887 * gst/gstevent.c: (gst_event_new_newsegment),
16888 (gst_event_parse_newsegment):
16889 A playback rate of 0.0 is not allowed.
16891 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16893 * win32/common/config.h:
16894 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16895 (_trewinddir), (_ttelldir), (_tseekdir):
16896 * win32/common/dirent.h:
16897 * win32/common/gtchar.h:
16898 * win32/common/libgstbase.def:
16899 * win32/common/libgstreamer.def:
16900 * win32/vs6/grammar.dsp:
16901 * win32/vs6/gst_inspect.dsp:
16902 * win32/vs6/gst_launch.dsp:
16903 * win32/vs6/gstreamer.dsw:
16904 * win32/vs6/libgstbase.dsp:
16905 * win32/vs6/libgstelements.dsp:
16906 * win32/vs6/libgstreamer.dsp:
16907 Visual Studio 6 project files, and a new common directory.
16910 2005-10-11 Wim Taymans <wim@fluendo.com>
16912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16913 (gst_base_sink_do_sync), (gst_base_sink_query),
16914 (gst_base_sink_change_state):
16915 * gst/base/gstbasesink.h:
16916 Correctly parse newsegment info.
16918 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16920 * gst/gst.c: (init_post):
16921 split plugin paths correctly
16923 2005-10-11 Wim Taymans <wim@fluendo.com>
16925 * check/gst/gstevent.c: (GST_START_TEST):
16926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16927 (gst_base_sink_change_state):
16928 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16929 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16930 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16931 * gst/gstevent.c: (gst_event_new_newsegment),
16932 (gst_event_parse_newsegment):
16934 Added extra flag to newsegment for future API freeze.
16935 Updated check and base elements.
16937 2005-10-11 Julien MOUTTE <julien@moutte.net>
16939 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16940 (gst_collectpads_add_pad), (gst_collectpads_pop),
16941 (gst_collectpads_event), (gst_collectpads_chain):
16942 * gst/base/gstcollectpads.h: Handle EOS correctly.
16944 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16946 * tools/gst-launch.c: (main):
16947 more null protecting
16949 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16951 * gst/gst-i18n-lib.h:
16952 check for ENABLE_NLS, not GETTEXT_PACKAGE
16953 * gst/gstregistry.c: (gst_registry_add_plugin),
16954 (gst_registry_scan_path_level),
16955 (_gst_registry_remove_cache_plugins):
16956 protect possibly NULL strings
16957 * gst/parse/types.h:
16958 config.h already included before
16959 * tools/gst-inspect.c: (main):
16960 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16961 check for ENABLE_NLS, not GETTEXT_PACKAGE
16962 * tools/gst-launch.c: (main):
16963 check for ENABLE_NLS, not GETTEXT_PACKAGE
16965 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16968 if we don't have glib, fail before testing 2.8
16969 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16970 fix a leak, should fix plugins-base testsuite
16972 2005-10-11 Andy Wingo <wingo@pobox.com>
16974 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16975 take the mode we're going to as an arg. Go head and set the mode
16976 and flushing flags now, so that if the activate function starts a
16977 thread all the flags will be in the right state.
16978 (post_activate): Renamed also. Just handle making sure streaming
16979 finishes for the deactivation case, and setting the deactivated
16981 (gst_pad_set_active): Complain loudly if deactivation fails.
16982 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16983 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16984 remove the terrible hack.
16986 2005-10-11 Wim Taymans <wim@fluendo.com>
16988 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16989 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16990 (gst_bin_recalc_state), (gst_bin_change_state_func),
16991 (gst_bin_dispose), (bin_bus_handler):
16993 Prepare to make current EOS message queue more generic.
16996 * gst/gstevent.c: (gst_event_new_newsegment),
16997 (gst_event_parse_newsegment):
16999 Rename base to stream_time.
17001 * gst/gstmessage.h:
17004 2005-10-11 Wim Taymans <wim@fluendo.com>
17006 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17007 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17008 (gst_bin_change_state_func), (bin_bus_handler):
17010 Work on proper clock selection.
17012 2005-10-11 Edward Hervey <edward@fluendo.com>
17014 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17015 * libs/gst/controller/gstcontroller.h:
17016 Added GList* version of _remove_properties() in order to be able to wrap
17019 2005-10-11 Wim Taymans <wim@fluendo.com>
17021 * docs/design/part-states.txt:
17024 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17025 (gst_bin_change_state_func), (bin_bus_handler):
17026 Doc updates. Don't distribute the same clock over and over again.
17032 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17033 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17034 (gst_pad_send_event):
17036 Make probe emission threadsafe again.
17037 Register quarks and move _get_name() from utils.
17040 * gst/gstpipeline.c: (gst_pipeline_class_init),
17041 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17042 Only redistribute the clock of it changed.
17044 * gst/gstsystemclock.h:
17049 Moved the _flow_get_name() to GstPad.
17051 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17053 * check/gst-libs/gdp.c: (GST_START_TEST):
17054 * check/gst/gstcaps.c: (GST_START_TEST):
17055 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17056 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17057 (gst_dp_packet_from_caps):
17058 fix more valgrind warnings before turning up the heat
17060 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17062 * gst/parse/grammar.y:
17063 some cleanup before the hacking
17065 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17067 * gst/base/gstbasesrc.c: (gst_base_src_query):
17069 * gst/gstutils.c: (gst_guint64_to_gdouble),
17070 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17072 externalize, basesrc uses it
17073 obviously the implementation needs testing
17075 2005-10-10 Wim Taymans <wim@fluendo.com>
17077 * tests/sched/Makefile.am:
17078 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17079 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17081 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17083 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17084 apparently converting from guint64 to double is not implemented
17087 2005-10-10 Wim Taymans <wim@fluendo.com>
17089 * check/Makefile.am:
17090 * check/generic/states.c: (GST_START_TEST):
17091 * check/gst/gstbin.c: (GST_START_TEST):
17092 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17093 * check/states/sinks.c: (GST_START_TEST):
17094 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17096 Check fixes, use API as stated in design docs, remove hacks.
17098 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17099 (gst_base_sink_change_state):
17100 Catch stopping our task while we're shutting down.
17102 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17103 (gst_bin_remove_func), (gst_bin_get_state_func),
17104 (gst_bin_recalc_state), (gst_bin_change_state_func),
17107 * gst/gstelement.c: (gst_element_init),
17108 (gst_element_get_state_func), (gst_element_abort_state),
17109 (gst_element_commit_state), (gst_element_lost_state),
17110 (gst_element_set_state), (gst_element_change_state),
17111 (gst_element_change_state_func):
17112 * gst/gstelement.h:
17113 New state change algorithm (see #318116)
17115 * gst/gstpipeline.c: (gst_pipeline_class_init),
17116 (gst_pipeline_init), (gst_pipeline_set_property),
17117 (gst_pipeline_get_property), (do_pipeline_seek),
17118 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17119 * gst/gstpipeline.h:
17120 Remove crude state change hacks.
17123 Remove crude hacks.
17125 * tools/gst-launch.c: (main):
17126 Fixes for state change. Needs some more work to fully use the
17129 2005-10-10 Andy Wingo <wingo@pobox.com>
17131 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17133 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17134 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17137 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17139 * gst/gstiterator.c: (gst_iterator_new):
17140 Fix my previous commit: GTypes passed to gst_iterator_new()
17141 can be fundamental types.
17143 2005-10-10 Wim Taymans <wim@fluendo.com>
17145 * gst/gstelement.c: (gst_element_iterate_pad_list),
17146 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17147 (gst_element_iterate_sink_pads):
17148 Use src/sink pads lists for the respective iterators instead
17151 2005-10-10 Andy Wingo <wingo@pobox.com>
17153 Merged in popt removal + GOption addition patch from Ronald, bug
17156 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17157 GstElement macros around, remove popt-related symbols, add goption
17160 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17162 * docs/gst/Makefile.am:
17163 * docs/libs/Makefile.am: No POPT_CFLAGS.
17165 * examples/manual/Makefile.am:
17166 * docs/manual/basics-init.xml: Doc updates with an example.
17168 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17169 (gst_init), (parse_one_option), (parse_goption_arg):
17170 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17171 bit of hand merging and debugging to get the GOption stuff working
17174 * tests/Makefile.am:
17175 * tools/Makefile.am:
17176 * tools/gst-inspect.c: (main):
17177 * tools/gst-launch.c: (main):
17178 * tools/gst-run.c: (main):
17179 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17181 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17183 * gst/gstiterator.c: (gst_iterator_new):
17184 Add assertions to make sure passed GType is likely to really
17185 be a GType (as the compiler won't catch it if the size and
17186 GType arguments get mixed up, see #318447).
17188 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17190 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17192 * gst/gstbin.c: (gst_bin_iterate_sorted):
17193 Pass GType and size arguments to gst_iterator_new() in the right
17194 order (maybe we should make _new() take the GType as first argument
17195 just like _new_list()?) (#318447).
17198 2005-10-10 Wim Taymans <wim@fluendo.com>
17200 * gst/gstelement.c: (gst_element_finalize):
17201 And free the GStaticRecMutex too
17203 2005-10-10 Andy Wingo <wingo@pobox.com>
17205 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17206 Allocate and free the mutex properly.
17208 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17210 (GstElement): The state_lock is now recursive. Rebuild your
17211 plugins, suckers. Old macros adapted.
17213 * docs/gst/gstreamer-sections.txt: Doc updates.
17216 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17217 (g_static_rec_cond_wait): Ported from state changes patch, while
17218 we wait on bug #317802 to be solved in a well-distributed GLib.
17220 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17221 gst_element_change_state, variable name changes.
17222 (gst_element_change_state): Split out of gst_element_set_state in
17223 preparation for the state change merge. Doesn't pay attention to
17224 the 'transition' argument.
17225 (gst_element_set_state): Updates, hopefully purely cosmetic.
17226 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17227 state change patch.
17228 (gst_element_get_state_func): Renamed from get_state, cosmetic
17231 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * gst/elements/gstelements.c:
17234 * win32/GStreamer.vcproj:
17236 * win32/dirent.c: (_tseekdir):
17237 * win32/gst-inspect.vcproj:
17238 * win32/gst-launch.vcproj:
17239 * win32/gstconfig.h:
17240 * win32/gstelements.vcproj:
17241 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17242 * win32/gstreamer.def:
17243 * win32/msvc71.sln:
17244 updates for the win32 build (patch from Sebastien Moutte)
17246 2005-10-10 Andy Wingo <wingo@pobox.com>
17248 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17249 gst_bin_get_state, cleaned up (but no logic changes).
17250 (bin_element_is_sink): Comment updates.
17251 (sink_iterator_filter): Remove needless cast.
17252 (gst_bin_iterate_sinks): Doc update.
17253 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17254 cleaned up (but no logic changes).
17256 * check/states/sinks.c (test_src_sink): Cleanups from the state
17258 (test_livesrc_sink): Sync on the state.
17260 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17261 the state change patch.
17263 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17266 * check/gst/gstbin.c: Merge in some style fixes and additional
17267 checks from Wim's state change patch.
17269 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17271 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17272 (gst_type_find_helper):
17273 Check whether we have the requested data already in our list of
17274 cached buffers before pulling a new buffer; also make the buffer
17275 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17277 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17283 don't use long long, it's not portable. Replacing with
17284 gint64 seems to work; let's hope no skeletons fall out of the closet.
17286 2005-10-10 Andy Wingo <wingo@pobox.com>
17288 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17290 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17292 * docs/gst/gstreamer-sections.txt:
17297 * gst/gstmessage.c: (gst_message_parse_state_changed):
17300 more docs, fix compilation
17302 2005-10-09 Philippe Khalaf <burger@speedy.org>
17303 * gst/gstmessage.c:
17304 Fixed a few forgotten variables on previous commit
17306 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17308 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17309 Fix evil typefind crasher: getrange() might return a short
17310 buffer at the end of a file, but gst_type_find_peek() must
17311 either return the full data as requested or NULL, but
17312 never a short buffer.
17314 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17316 * gst/gstmessage.c: (gst_message_new_state_changed),
17317 (gst_message_parse_state_changed):
17318 * gst/gstmessage.h:
17319 don't use "new", it's a C++ keyword
17321 2005-10-08 Wim Taymans <wim@fluendo.com>
17323 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17324 * gst/gstelement.c: (gst_element_post_message):
17325 * gst/gstpipeline.c: (gst_pipeline_change_state):
17326 Small docs and debug updates.
17328 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17330 * docs/gst/gstreamer-sections.txt:
17331 * gst/gstelementfactory.c:
17333 * gst/gsttaglist.c:
17336 2005-10-08 Wim Taymans <wim@fluendo.com>
17338 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17339 (gst_bin_dispose), (bin_bus_handler):
17340 Fix typos, add comments.
17341 Clear EOS list when going to PAUSED from any direction and do it
17342 in a threadsafe way.
17343 Get base time in a threadsafe way too.
17344 Fix confusing debug in the change_state function.
17345 Various other small cleanups.
17347 * gst/gstelement.c: (gst_element_post_message):
17348 Fix very verbose bus posting code.
17350 * gst/gstpipeline.c: (gst_pipeline_class_init),
17351 (gst_pipeline_set_property), (gst_pipeline_get_property),
17352 (gst_pipeline_change_state):
17353 Small ARG_ -> PROP_ cleanup
17355 2005-10-08 Wim Taymans <wim@fluendo.com>
17357 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17358 Do a less CPU demanding EOS check because we can.
17360 2005-10-08 Wim Taymans <wim@fluendo.com>
17362 * libs/gst/dataprotocol/dataprotocol.c:
17363 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17364 (gst_dp_packet_from_event):
17365 * libs/gst/dataprotocol/dataprotocol.h:
17366 * libs/gst/dataprotocol/dp-private.h:
17367 It's about time we bump the version number.
17368 Since event types don't fit in the guint8 anymore describing
17369 the payload type, make payload type 16 bits wide.
17371 2005-10-08 Wim Taymans <wim@fluendo.com>
17373 * docs/design/part-TODO.txt:
17374 * docs/design/part-clocks.txt:
17375 * docs/design/part-events.txt:
17376 * docs/design/part-gstbin.txt:
17377 * docs/design/part-gstelement.txt:
17378 * docs/design/part-gstpipeline.txt:
17379 * docs/design/part-live-source.txt:
17380 * docs/design/part-messages.txt:
17381 * docs/design/part-overview.txt:
17382 * docs/design/part-states.txt:
17385 2005-10-08 Wim Taymans <wim@fluendo.com>
17389 Fix event quark registration.
17390 Add some space between events so we can insert them in the
17393 2005-10-08 Wim Taymans <wim@fluendo.com>
17395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17396 (gst_base_sink_handle_buffer):
17397 Better log message.
17400 * gst/gstelement.h:
17403 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17404 (gst_queue_set_property), (gst_queue_get_property):
17406 Remove old unused properties.
17408 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17409 * docs/gst/gstreamer-sections.txt:
17410 * gst/gstmessage.c:
17411 * gst/gstmessage.h:
17412 * gst/gstminiobject.c:
17413 * gst/gstminiobject.h:
17417 lots of new docs and doc fixes
17419 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17421 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17423 * gst/gstregistry.c: (gst_registry_lookup_locked),
17424 (gst_registry_scan_path_level):
17425 * gst/gstregistryxml.c: (load_plugin):
17426 Only ever load one plugin for a given plugin basename.
17427 This ensures correct overriding of GST_PLUGIN_PATH over
17428 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17429 system installed plugins.
17431 2005-10-08 Wim Taymans <wim@fluendo.com>
17433 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17434 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17435 Prepare for doing QOS.
17437 2005-10-08 Wim Taymans <wim@fluendo.com>
17439 * check/gst/gstbin.c: (GST_START_TEST):
17440 * check/pipelines/cleanup.c: (GST_START_TEST):
17441 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17442 Allow new clock message too.
17444 2005-10-08 Wim Taymans <wim@fluendo.com>
17446 * gst/gstmessage.c: (gst_message_new_error),
17447 (gst_message_new_warning), (gst_message_new_tag),
17448 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17449 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17450 (gst_message_new_segment_start), (gst_message_new_segment_done),
17451 (gst_message_parse_state_changed),
17452 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17453 (gst_message_parse_new_clock):
17454 * gst/gstmessage.h:
17455 Also carry the clock in question.
17457 2005-10-08 Wim Taymans <wim@fluendo.com>
17459 * gst/gstmessage.c: (gst_message_new_custom),
17460 (gst_message_new_eos), (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_new_clock), (gst_message_new_segment_start),
17464 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17465 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17466 * gst/gstmessage.h:
17468 Added clock related messages.
17470 * gst/gstpipeline.c: (gst_pipeline_change_state):
17471 Post message when the clock changed.
17473 * tools/gst-launch.c: (event_loop):
17476 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17478 * tools/gst-inspect.c: (print_element_properties_info):
17479 Can't pass NULL strings to g_print() on windows.
17481 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17483 * docs/Makefile.am:
17484 * docs/gst/Makefile.am:
17485 * docs/gst/gstreamer-docs.sgml:
17486 * docs/gst/running.xml:
17487 * docs/version.entities.in:
17488 add a chapter on running GStreamer.
17489 document GST_DEBUG and GST_PLUGIN* env vars
17491 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17496 remove PLUGINS_BUILDDIR stuff
17497 * gst/gst.c: (init_post):
17498 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17500 remove, it was condescending and not needed
17502 2005-10-08 Wim Taymans <wim@fluendo.com>
17504 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17505 (gst_base_sink_handle_object), (gst_base_sink_event),
17506 (gst_base_sink_wait), (gst_base_sink_handle_event),
17507 (gst_base_sink_change_state):
17508 * gst/base/gstbasesink.h:
17509 Repost EOS message while going to PLAYING if still EOS.
17510 Make sure that when receiving a FLUSH_START we don't attempt
17511 to sync on the clock anymore.
17513 2005-10-08 Wim Taymans <wim@fluendo.com>
17515 * tools/gst-launch.c: (event_loop):
17516 Better message printout.
17518 2005-10-08 Wim Taymans <wim@fluendo.com>
17520 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17521 (gst_bin_child_proxy_get_children_count):
17522 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17523 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17524 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17525 (gst_child_proxy_set_valist):
17526 * gst/parse/grammar.y:
17527 Make ChildProxy threadsafe and fix mem leaks.
17529 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17531 * gst/gst.c: (init_post):
17532 debug the GST_PLUGIN_ env vars
17534 2005-10-08 Wim Taymans <wim@fluendo.com>
17536 * check/gst/gstbin.c: (GST_START_TEST):
17537 * check/gst/gstmessage.c: (GST_START_TEST):
17538 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17539 * gst/gstelement.c: (gst_element_commit_state),
17540 (gst_element_lost_state):
17541 * gst/gstmessage.c: (gst_message_new_state_changed),
17542 (gst_message_parse_state_changed):
17543 * gst/gstmessage.h:
17544 * tools/gst-launch.c: (event_loop):
17545 Added extra field to STATE_CHANGE message with the pending
17546 state, which will be different from the new state soon.
17548 2005-10-08 Wim Taymans <wim@fluendo.com>
17550 * gst/gstbus.c: (gst_bus_pop):
17552 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17553 Small cleanups and doc updates.
17555 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17557 * gst/gst.c: (init_pre):
17558 * gst/gstbin.c: (gst_bin_add_func):
17559 log distributing clocks and base time
17560 * gst/gstregistry.c: (gst_registry_add_plugin),
17561 (gst_registry_scan_path_level), (gst_registry_scan_path):
17562 clean up the debugging output a little
17563 * gst/gstutils.c: (gst_element_state_get_name):
17564 warn about a memleak (I've actually seen this be used, though
17565 it was probably a bug)
17567 2005-10-07 Wim Taymans <wim@fluendo.com>
17569 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17570 (gst_base_src_init), (gst_base_src_default_newsegment),
17571 (gst_base_src_newsegment), (gst_base_src_do_seek),
17572 (gst_base_src_loop), (gst_base_src_start):
17573 * gst/base/gstbasesrc.h:
17574 Make the newsegment event customizable by subclasses.
17576 2005-10-07 Wim Taymans <wim@fluendo.com>
17578 * gst/gstevent.c: (gst_event_new_buffersize),
17579 (gst_event_parse_buffersize):
17581 New event for future idea.
17583 2005-10-07 Andy Wingo <wingo@pobox.com>
17585 * gst/gstelement.c (gst_element_post_message): Doc update.
17587 * docs/gst/gstreamer-sections.txt: Update.
17589 * gst/gstmessage.c (gst_message_new_application): Made into a
17590 function like honest API calls.
17591 (gst_message_new_element): New message type.
17593 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17595 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17596 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17599 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17600 NO_PREROLL from gst_element_change_state to fall through.
17602 2005-10-07 Wim Taymans <wim@fluendo.com>
17604 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17605 (gst_ghost_pad_do_activate_push):
17606 Activating a ghostpad with no internal pad in push mode
17609 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17612 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17613 Fixes compilation on Windows.
17615 2005-10-07 Michael Smith <msmith@fluendo.com>
17617 * tools/gst-inspect.c:
17618 Print out feature and plugin count at the end when printing out
17621 2005-10-04 Michael Smith <msmith@fluendo.com>
17623 * gst/gsterror.c: (_gst_stream_errors_init):
17624 Add another error string used in a few existing plugins.
17627 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17628 * tools/gst-inspect.c: (print_element_info):
17629 When a feature disappears from a plugin (and the feature exists in
17630 the cached registry file), things went horribly wrong. This isn't a
17631 complete fix, we should actually be removing the 'missing' features
17632 from the features list when we load the actual plugin. That's not
17635 2005-10-04 Johan Dahlin <johan@gnome.org>
17637 * check/gst/gstiterator.c: (GST_START_TEST):
17638 * gst/gstbin.c: (gst_bin_iterate_elements),
17639 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17640 * gst/gstelement.c: (gst_element_iterate_pads):
17641 * gst/gstformat.c: (gst_format_iterate_definitions):
17642 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17643 (gst_iterator_new_list), (gst_iterator_filter):
17644 * gst/gstiterator.h:
17645 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17646 Add a GType to GstIterator, update callsites and tests.
17648 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17650 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17651 give events a chance to be handled by event probes when the pad
17654 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17656 * gst/gstevent.c: (gst_event_type_get_name),
17657 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17659 add string representations for event types
17661 2005-10-06 Wim Taymans <wim@fluendo.com>
17663 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17664 Don't use NULL pointers.
17666 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17668 * gst/gst_private.h:
17670 * gst/gstelement.c:
17672 * gst/gstpluginfeature.c:
17673 widen the debug category in output to fit the biggest one we have
17674 add a bus category and use it
17675 play with the colors
17676 fix up some categories
17678 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17680 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17681 add push activation of sink ghost pads.
17682 Andye, please verify
17684 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17686 * gst/gstutils.c: (gst_element_link_pads):
17687 fix a bug in the case where neither element has a pad
17688 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17689 add a test for that case
17691 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17693 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17694 emit have-data before checking for peers. This allows
17695 for probe handlers to connect elements. This helps autopluggers.
17696 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17698 add six checks, linked/unlinked with no/true/false probe
17700 2005-10-04 Wim Taymans <wim@fluendo.com>
17702 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17703 (gst_fake_sink_event), (gst_fake_sink_preroll),
17704 (gst_fake_sink_render), (gst_fake_sink_change_state):
17705 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17706 (gst_fake_src_get_property), (gst_fake_src_create),
17707 (gst_fake_src_stop):
17708 * gst/elements/gstidentity.c: (gst_identity_stop):
17709 Protect last_message with lock.
17711 2005-10-04 Edward Hervey <edward@fluendo.com>
17714 Added precision in the comments for GST_FORMAT_DEFAULT
17716 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17718 * tools/gst-launch.c: (main):
17719 Don't try to run erroneous pipelines.
17721 2005-10-04 Julien MOUTTE <julien@moutte.net>
17723 * gst/gstbus.c: We don't need this header.
17725 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17728 back to development
17730 === release 0.9.3 ===
17732 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17736 Releasing 0.9.3, "Unregistered"
17738 2005-10-03 Andy Wingo <wingo@pobox.com>
17740 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17741 whereby calling a pad's activatepush() function can start a thread
17742 that starts to push or pull before the pad gets the FLUSHING flag
17743 unset. Hack around it by holding the stream lock until the flag is
17744 set. Need to replace this with a proper solution. Together with
17745 the ghost pad fixes, this fixes mp3 playing/tagreading.
17747 * docs/design/part-gstghostpad.txt: Add a note about activation of
17748 proxy pads outside of ghost pads.
17750 * gst/gstghostpad.c: Implement the ghost pad activation design.
17752 2005-10-02 Andy Wingo <wingo@pobox.com>
17754 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17755 It is volatile, after all.
17757 * docs/design/part-gstghostpad.txt: Flesh out activation with
17760 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17763 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17766 Fix (unused) AM_CONDITIONAL tests.
17768 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17770 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17772 * gst/gstutils.c: (gst_pad_query_convert):
17773 Add assertion that makes sure src_val is >=0, just like
17774 gst_query_new_convert() has. (#315895)
17776 2005-09-30 Edward Hervey <edward@fluendo.com>
17778 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17779 Let's not iterate pads we're not interested in, it avoids getting
17780 sky-high refcounts on sinkpad.
17782 2005-09-30 Wim Taymans <wim@fluendo.com>
17784 * gst/gstelement.c: (gst_element_set_state),
17785 (gst_element_change_state):
17786 Small tweak, element in ASYNC remains ASYNC.
17788 2005-09-30 Wim Taymans <wim@fluendo.com>
17790 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17791 Only error is an error.
17793 * gst/gstbin.c: (gst_bin_change_state):
17796 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17797 Also call pad_block in pad alloc.
17799 * gst/gstutils.c: (gst_flow_get_name):
17802 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17804 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17805 (gst_base_src_get_range):
17806 Fix documentation typos. Add some more debug info.
17808 2005-09-29 David Schleef <ds@schleef.org>
17810 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17811 more end-user friendly.
17812 * tools/gst-inspect.c: (main): Check if command-line argument is
17813 a file and attempt to load that file as a plugin.
17815 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * check/gst/gstbin.c:
17818 * check/states/sinks.c:
17819 fix tests for the new warning
17820 * check/gst/gstpipeline.c:
17821 add a test for pipeline and bus interaction
17822 * gst/gstelement.c:
17823 elements should be NULL if they get disposed; add a warning if not
17825 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17828 for 2.6 refcounting, make debug log more correct by printing
17829 the actual refcounts at the time of swap (Wim)
17831 2005-09-29 Andy Wingo <wingo@pobox.com>
17833 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17834 removes signal watches previously added via
17835 gst_bus_add_signal_watch.
17836 (gst_bus_add_signal_watch): Don't return the source id, just store
17837 it on the bus if there wasn't an id already.
17839 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17840 add_signal_watch and remove_signal_watch.
17842 2005-09-29 Edward Hervey <edward@fluendo.com>
17844 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17845 Better if we actually iterate the list :)
17847 2005-09-29 Wim Taymans <wim@fluendo.com>
17849 * check/gst/gstbin.c: (GST_START_TEST):
17850 Change for new bus API.
17852 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17853 (send_messages), (GST_START_TEST), (gstbus_suite):
17854 Change for new bus signal API.
17856 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17857 (gst_bus_source_prepare), (gst_bus_source_check),
17858 (gst_bus_create_watch), (gst_bus_add_watch_full),
17859 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17860 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17862 Remove support for multiple GSources operating on different
17863 message types as it is too complex and unneeded when using
17865 Added support for receiving signals from the bus.
17867 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17869 * docs/libs/tmpl/gstdataprotocol.sgml:
17870 * docs/manual/advanced-dataaccess.xml:
17871 * gst/elements/gstcapsfilter.c:
17873 rename filter-caps to caps property
17875 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17877 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17878 More robust fraction string parsing.
17880 * docs/pwg/appendix-porting.xml:
17881 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17883 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17885 * gst/gstcaps.c: (gst_caps_do_simplify):
17886 Thou shalt not free a structure and then continue using it
17887 in the next loop iteration.
17889 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17891 Add test case for caps simplification.
17893 2005-09-29 Wim Taymans <wim@fluendo.com>
17895 * check/gst/gstbin.c: (GST_START_TEST):
17898 2005-09-29 Wim Taymans <wim@fluendo.com>
17900 * check/gst/gstbin.c: (GST_START_TEST):
17903 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17904 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17905 (find_element), (gst_bin_sort_iterator_next),
17906 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17907 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17908 (gst_bin_change_state), (gst_bin_dispose):
17909 A bin does not have a bus, it gets the bus from the parent.
17911 * gst/gstelement.c: (gst_element_requires_clock),
17912 (gst_element_provides_clock), (gst_element_is_indexable),
17913 (gst_element_is_locked_state), (gst_element_change_state),
17914 (gst_element_set_bus_func):
17917 * gst/gstpipeline.c: (gst_pipeline_class_init),
17918 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17919 The pipeline provides a bus.
17921 2005-09-28 Johan Dahlin <johan@gnome.org>
17923 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17924 gst_structure_get_enum instead of gst_structure_get_int
17926 * gst/gststructure.c (gst_structure_get_enum): Impl.
17928 * gst/gststructure.h (gst_structure_get_enum): Add
17930 * docs/gst/gstreamer-sections.txt: Ditto
17932 * gst/gstmessage.c (gst_message_new_state_changed): Use
17933 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17934 which does introspection.
17935 Reviewed by Christian Schaller
17937 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17939 * gst/gstinfo.c: (gst_debug_log_default):
17940 don't do dummy g_strdup()s
17941 * libs/gst/controller/gstcontroller.c:
17942 (on_object_controlled_property_changed),
17943 (gst_controlled_property_new), (gst_controller_new_valist),
17944 (gst_controller_new_list),
17945 (gst_controller_remove_properties_valist), (gst_controller_set),
17946 (gst_controller_get), (gst_controller_sync_values),
17947 (gst_controller_get_value_array), (_gst_controller_class_init),
17948 (gst_controller_get_type):
17949 * libs/gst/controller/gstcontroller.h:
17950 * libs/gst/controller/gstinterpolation.c:
17951 (gst_controlled_property_find_timed_value_node):
17952 convert // to /**/ comments
17954 2005-09-28 Wim Taymans <wim@fluendo.com>
17956 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17957 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17958 (gst_bus_sync_signal_handler):
17960 Added async-message and sync-message signals to the bus.
17961 Added helper BusFunc to emit signals for all posted messages.
17963 * gst/gstmessage.c: (gst_message_type_get_name),
17964 (gst_message_type_to_quark), (gst_message_get_type):
17965 * gst/gstmessage.h:
17966 Register quarks for message names.
17968 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17970 * docs/libs/gstreamer-libs-sections.txt:
17971 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17972 (gst_controller_new_list):
17973 * libs/gst/controller/gstcontroller.h:
17974 added another constructor for language bindings
17976 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17978 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17982 * gst/gstinfo.c: (_gst_debug_init):
17983 slightly more readable color for refcount debugging
17985 2005-09-28 Wim Taymans <wim@fluendo.com>
17987 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17988 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17989 (find_element), (gst_bin_sort_iterator_next),
17990 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17991 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17992 (gst_bin_change_state), (gst_bin_dispose):
17993 Small doc fixes. get_clock -> provide_clock.
17995 * gst/gstelement.c: (gst_element_class_init),
17996 (gst_element_provides_clock), (gst_element_provide_clock),
17997 (gst_element_get_clock), (gst_element_commit_state),
17998 (gst_element_lost_state):
17999 * gst/gstelement.h:
18000 Make get/set_clock() symetric. Add provide_clock vmethod since
18001 that is actually what this function does.
18003 * gst/gstpipeline.c: (gst_pipeline_class_init),
18004 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18005 (gst_pipeline_get_clock):
18006 get_clock -> provide_clock.
18008 2005-09-28 Andy Wingo <wingo@pobox.com>
18010 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18011 lieu of real docs...
18013 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18015 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18017 * gst/elements/gstcapsfilter.c:
18018 * gst/elements/gstfakesink.c:
18019 * gst/elements/gstfakesrc.c:
18020 * gst/elements/gstfdsink.c:
18021 * gst/elements/gstfdsrc.c:
18022 * gst/elements/gstfilesink.c:
18023 * gst/elements/gstfilesrc.c:
18024 * gst/elements/gstidentity.c:
18025 * gst/elements/gsttee.c:
18026 * gst/elements/gsttypefindelement.c:
18027 Make element details static.
18029 2005-09-28 Wim Taymans <wim@fluendo.com>
18031 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18032 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18033 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18034 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18035 (gst_bin_change_state), (gst_bin_dispose):
18036 Some documentation updates.
18037 Clean up dispose handlers.
18039 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18040 * gst/gstpad.c: (gst_pad_dispose):
18041 Clean up dispose handler.
18043 * gst/gstpipeline.c: (gst_pipeline_change_state):
18044 Removed spurious UNLOCK.
18046 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18048 * docs/gst/gstreamer-sections.txt:
18049 * gst/base/gstbasesrc.h:
18050 * gst/gstelement.h:
18054 * gst/gstpipeline.c:
18055 * gst/gstpipeline.h:
18058 added two new functions to the docs
18059 documents all undocumented GstXXXFlags
18060 completed some incomplete docs
18062 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18064 * gst/gstbin.c: (gst_bin_dispose):
18065 * gst/gstelement.c: (gst_element_dispose):
18066 remove now useless and leaky resurrection code in dispose
18067 * gst/base/gstbasesrc.c: (gst_base_src_init):
18068 * gst/gstelementfactory.c: (gst_element_factory_create):
18069 * gst/gstobject.c: (gst_object_set_parent):
18072 2005-09-27 Wim Taymans <wim@fluendo.com>
18074 * docs/design/part-TODO.txt:
18077 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18078 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18079 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18080 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18081 (gst_bin_change_state):
18082 * gst/gstelement.h:
18083 Remove element variable, we keep element info in the iterator now.
18085 2005-09-27 Andy Wingo <wingo@pobox.com>
18087 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18090 2005-09-27 Wim Taymans <wim@fluendo.com>
18092 * check/gst/gstbin.c: (GST_START_TEST):
18093 Enable check that works now.
18095 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18096 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18097 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18098 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18099 (gst_bin_change_state):
18101 Redid the state change algorithm using a topological sort algo.
18102 Handles all cases correctly.
18103 Exposed iterator for state change order.
18105 * gst/gstelement.h:
18106 Temp storage for state changes. Need to get rid of this soon.
18108 2005-09-27 Wim Taymans <wim@fluendo.com>
18110 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18111 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18112 (link_fold_func), (gst_pad_proxy_setcaps):
18113 Leak fixes, the fold functions need to unref the passed object and
18114 _get_parent_*() returns ref to parent.
18116 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18118 * check/gst/gstbuffer.c: (test_make_writable):
18119 Plug leak in test case and fix 'make check-valgrind'
18121 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18123 * gst/gstbuffer.c: (gst_subbuffer_init):
18124 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18125 works correctly in all circumstances (we could have just copied
18126 the parent buffer's readonly flag, but conceptually it seems
18127 cleaner to mark all subbuffers as read-only). (based on patch
18128 by Alessandro Decina, #314710).
18130 * check/gst/gstbuffer.c: (create_read_only_buffer),
18131 (test_make_writable), (test_subbuffer_make_writable),
18133 Add some tests for gst_buffer_make_writable().
18135 2005-09-27 Wim Taymans <wim@fluendo.com>
18137 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18138 use gst_object_has_ancestor().
18140 * gst/gstobject.c: (gst_object_has_ancestor):
18142 gst_object_has_ancestor() copied from gstbin.c as it is a
18145 * tests/instantiate/create.c: (create_all_elements):
18146 * tests/lat.c: (handoff_src), (handoff_sink):
18147 * tests/sched/runxml.c: (main):
18148 * tests/seeking/seeking1.c: (main):
18149 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18151 Fix compilation of some tests.
18153 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18156 Remove comment. GST_TYPE_G_ERROR is here to stay,
18157 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18158 (#316961, #300610).
18160 2005-09-26 Wim Taymans <wim@fluendo.com>
18162 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18163 Added check that shows error in state change order.
18165 2005-09-26 Wim Taymans <wim@fluendo.com>
18167 * gst/gstbin.c: (gst_bin_change_state):
18168 Make state change function use 3 queues again, we were
18169 adding elements in the wrong order.
18171 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18174 * gst/gstpad.c: (gst_pad_dispose):
18175 Added some debug info first.
18177 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18179 * docs/design/draft-push-pull.txt:
18180 * docs/design/part-events.txt:
18181 * docs/design/part-overview.txt:
18182 * docs/design/part-scheduling.txt:
18183 Replace all _pull_region() with _pull_range()
18185 2005-09-26 Andy Wingo <wingo@pobox.com>
18187 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18189 * check/gst-libs/controller.c: Update for controller api change.
18192 * tests/Makefile.am:
18193 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18194 over by GLib bug 118439.
18196 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18197 routines to a function.
18199 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18201 * libs/gst/controller/gsthelper.c:
18202 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18203 (gst_object_sync_values): Renamed from sink_values. Ugh.
18205 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18207 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18208 Renamed from controller_key, as it is exported.
18210 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18212 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18217 * gst/gstpadtemplate.h:
18220 * gst/gstqueryutils.c:
18221 * gst/gstqueryutils.h:
18222 remove queryutils headers after moving the two used functions
18223 to gstquery. also fixes build problem for gstsiddec
18225 2005-09-26 Michael Smith <msmith@fluendo.com>
18227 * tools/gst-launch.1.in:
18228 Correct documentation in manpage of debug syntax
18230 2005-09-26 Wim Taymans <wim@fluendo.com>
18232 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18233 (gst_base_src_is_seekable), (gst_base_src_change_state):
18234 Some more debugging info.
18236 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18238 * docs/gst/gstreamer-sections.txt:
18239 * gst/base/gstbasetransform.h:
18243 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18245 * docs/gst/.cvsignore:
18246 * docs/gst/tmpl/.cvsignore:
18247 * docs/gst/tmpl/gstpipeline.sgml:
18248 * docs/gst/tmpl/gstplugin.sgml:
18249 * gst/gstpipeline.c:
18252 inlined the last two docs files
18253 removed the tmpl directory from cvs (no more conflicts here!)
18255 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18257 * docs/gst/gstreamer-sections.txt:
18258 * docs/gst/tmpl/.cvsignore:
18259 * docs/gst/tmpl/gstpad.sgml:
18260 * docs/gst/tmpl/gstpadtemplate.sgml:
18262 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18263 (gst_pad_finalize), (gst_pad_set_pad_template):
18265 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18266 (gst_pad_template_class_init), (gst_pad_template_init),
18267 (gst_pad_template_dispose), (name_is_valid),
18268 (gst_static_pad_template_get), (gst_pad_template_new),
18269 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18270 (gst_pad_template_pad_created):
18271 * gst/gstpadtemplate.h:
18272 inlined two more docs
18273 factored gstpadtemplate out of gstpad
18275 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18277 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18278 (test_children_state_change_order_semi_sink):
18279 Fix test case: we can't rely on a fixed state change order when
18280 going from READY => PAUSED because the sink might commit its
18281 new state first when the first buffer created by the source
18282 reaches the sink before the source has finished its change state.
18283 (Test case still fails at times, see #316856, comment 5 onwards)
18285 2005-09-24 Wim Taymans <wim@fluendo.com>
18287 * docs/design/part-events.txt:
18288 * docs/design/part-gstbus.txt:
18289 * docs/design/part-gstpipeline.txt:
18290 * docs/design/part-messages.txt:
18291 * docs/design/part-overview.txt:
18292 * docs/design/part-segments.txt:
18296 * gst/gstelement.c:
18299 * gst/gstiterator.c:
18300 Various documentation updates.
18302 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18305 Well, that's embarassing. Luckily we weren't using
18306 GST_CLOCK_DIFF anywhere.
18308 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18310 * common/gtk-doc.mak:
18311 don't fail on building XML, FC4 slave shows a bunch of doc
18312 missing bits that I don't get
18314 * gst/gstpipeline.c:
18315 * gst/gststructure.c:
18318 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18320 * docs/design/part-gstbin.txt:
18321 * docs/design/part-gstbus.txt:
18323 Add blurb about how the bus goes into flushing mode and
18324 drops all messages when its bin goes from READY into NULL
18327 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18329 * docs/gst/gstreamer-sections.txt:
18330 * gst/gststructure.c: (gst_structure_get_clock_time):
18331 * gst/gststructure.h:
18332 add a method to get a GstClockTime out of a structure
18334 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18336 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18337 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18338 Added test to check state change order in bins (can still be made
18339 to fail here under heavy disk load; bails out with 'Push on pad
18340 fakesink:sink0, but it was not activated in push mode').
18342 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18343 Fix state change order when there is only a semi sink (#316856)
18345 * gst/gstbus.c: (gst_bus_class_init):
18346 Use _class_peek_parent(), not _class_ref(); fix docs to say
18347 'default main context' instead of 'mainloop' where that is
18350 * gst/gstelement.c: (gst_element_commit_state),
18351 (gst_element_set_state):
18352 Fix typos in debug messages
18354 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18357 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18358 * gst/gstpluginfeature.c:
18360 various doc updates
18361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18362 change an assert into an error until it gets fixed properly
18364 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18366 * docs/gst/gstreamer-sections.txt:
18367 * docs/gst/tmpl/.cvsignore:
18368 * docs/gst/tmpl/gstelement.sgml:
18369 * docs/gst/tmpl/gstinfo.sgml:
18370 * docs/gst/tmpl/gstobject.sgml:
18371 * gst/gstelement.c:
18372 * gst/gstelement.h:
18375 * gst/gstobject.c: (gst_object_class_init):
18377 inlined 3 more biiiig doc files and added some missing docs on the fly
18379 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18381 * check/gst/.cvsignore:
18382 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18383 * gst/gstregistryxml.c: (load_plugin),
18384 (gst_registry_xml_save_plugin):
18385 put back source in registry. add checks for find_plugin.
18386 * testsuite/states/bin.c: (assert_state), (empty_bin),
18387 (test_adding_one_element), (main):
18388 * testsuite/states/locked.c: (main):
18389 some compile/run fixes
18391 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18393 * check/gst/gstvalue.c: (GST_START_TEST):
18394 fix leaks in the test itself
18396 2005-09-22 Wim Taymans <wim@fluendo.com>
18398 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18399 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18400 (gst_base_sink_query):
18401 Prepare for more accurate position reporting and query
18404 * gst/gstelement.c: (gst_element_send_event),
18405 (gst_element_set_state):
18408 2005-09-22 Wim Taymans <wim@fluendo.com>
18410 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18411 (gst_query_parse_segment):
18413 More documentation.
18414 Add segment query for future use.
18416 2005-09-22 Wim Taymans <wim@fluendo.com>
18418 * gst/gstbin.c: (gst_bin_add_func):
18419 Some more debug info.
18421 * gst/gstelement.c: (gst_element_send_event):
18422 Simplify send_event
18424 * gst/gstelement.h:
18425 Don't know how flags got broken.
18430 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18432 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18433 Add simplistic test suite for GST_TYPE_DATE serialisation and
18436 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18438 * docs/gst/gstreamer-sections.txt:
18439 * gst/gststructure.c: (gst_structure_set_valist),
18440 (gst_structure_get_date):
18441 * gst/gststructure.h:
18442 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18443 (gst_date_copy), (gst_value_compare_date),
18444 (gst_value_serialize_date), (gst_value_deserialize_date),
18445 (gst_value_transform_date_string),
18446 (gst_value_transform_string_date), (_gst_value_initialize):
18448 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18449 bunch of utility functions along with a hack that checks that
18450 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18451 is required. Part of the grand scheme in #170777.
18453 2005-09-22 Andy Wingo <wingo@pobox.com>
18455 * gst/gstconfig.h.in: Psych out gtk-doc.
18457 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18459 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18461 * tools/gst-inspect.c (print_element_list): Plug some
18462 inconsequential leaks.
18464 * gst/gstregistry.c (gst_registry_get_default): Doc.
18466 * check/gst/gstplugin.c:
18467 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18468 * gst/gstelementfactory.c (gst_element_factory_create):
18469 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18472 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18473 (gst_plugin_feature_load): Doc, don't eat refs.
18475 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18476 (gst_plugin_list_free): Doc.
18477 (gst_plugin_load_file): Doc updates.
18479 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18480 accessors returning refcounted objects, return a ref.
18482 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18483 accessor for caps. IDEMPOTENCE. Oh yes.
18485 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18487 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18489 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18490 (_gst_debug_register_funcptr):
18491 Add mutex to serialise access to the hash table with
18492 the function pointer => function name string mapping;
18493 make that hash table static scope (#316809).
18495 * gst/registries/.cvsignore:
18496 Remove left-over file.
18498 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18500 * docs/pwg/appendix-porting.xml:
18501 And something about newsegment events and caps-on-buffers to
18502 the porting guide (feel free to improve).
18504 2005-09-21 Andy Wingo <wingo@pobox.com>
18506 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18507 data and event probes on the same pad.
18508 (test_buffer_probe_once): Test that removing probes from within
18509 the probe functions works.
18511 2005-09-21 Andy Wingo <wingo@pobox.com>
18513 * check/gst/gstutils.c: New file.
18514 (test_buffer_probe_n_times): A simple buffer probe test. More to
18517 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18518 have-data::buffer, not have-data.
18519 (gst_pad_add_event_probe): Likewise for have-data::event.
18520 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18521 peer' isn't quite right yet though.
18522 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18523 (gst_pad_remove_data_probe): Change to take the guint handler_id
18524 as their arg, not the function+data, which is more glib-like.
18526 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18527 the signal emission to indicate if the data is a buffer or an
18529 (gst_pad_get_type): Initialize buffer and event quarks.
18530 (gst_pad_class_init): have-data is now a detailed signal, yes it
18533 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18535 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18536 * gst/gstutils.c: (gst_util_set_value_from_string),
18537 (gst_util_set_object_arg):
18538 Don't put functional code in g_return_if_fail() or
18539 g_return_val_if_fail() statements, otherwise things will
18540 break when G_DISABLE_CHECKS is defined during compilation.
18542 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18544 * docs/gst/tmpl/.cvsignore:
18545 * docs/gst/tmpl/gstvalue.sgml:
18548 inlied another one and added some obvious docs
18550 2005-09-21 Wim Taymans <wim@fluendo.com>
18552 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18553 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18554 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18555 (gst_fdsrc_get_property), (gst_fdsrc_create):
18556 * gst/elements/gstfdsrc.h:
18557 Properly implement fdsrc. Removed signal and timeout,
18558 better implemented somewhere else.
18560 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18562 * docs/gst/tmpl/.cvsignore:
18563 * docs/gst/tmpl/gstimplementsinterface.sgml:
18564 * gst/gstinterface.c:
18567 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18569 * docs/gst/gstreamer-sections.txt:
18570 * docs/gst/tmpl/.cvsignore:
18571 * docs/gst/tmpl/gstenumtypes.sgml:
18572 remove obsolete doc file
18574 2005-09-21 David Schleef <ds@schleef.org>
18576 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18577 little beer, fix a little leak.
18579 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18581 * docs/gst/gstreamer-docs.sgml:
18582 * docs/gst/gstreamer-sections.txt:
18583 * docs/gst/tmpl/.cvsignore:
18587 * gst/gstelement.h:
18588 * gst/gstindex.c: (gst_index_class_init):
18590 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18591 (gst_index_factory_class_init), (gst_index_factory_init),
18592 (gst_index_factory_finalize), (gst_index_factory_new),
18593 (gst_index_factory_destroy), (gst_index_factory_find),
18594 (gst_index_factory_create), (gst_index_factory_make):
18595 * gst/gstindexfactory.h:
18596 * gst/gstpluginfeature.c:
18597 * gst/gstpluginfeature.h:
18598 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18599 more docs inlined, splitted gstindex.{c,h}
18601 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18603 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18606 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18608 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18609 Set sync to FALSE by default.
18611 2005-09-20 Wim Taymans <wim@fluendo.com>
18613 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18614 (gst_base_sink_init):
18615 Make sync property settable from subclass.
18617 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18618 (gst_fake_sink_change_state):
18619 Set sync to FALSE by default.
18621 2005-09-20 Wim Taymans <wim@fluendo.com>
18623 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18624 * tools/gst-launch.c: (main):
18625 The timeout handler should have lower priority than the source
18626 so we don't timeout before popping a message with 0 timeout.
18627 Dump error messages after failed state change.
18629 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18631 * tools/gst-inspect.c: (print_element_properties_info):
18634 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18636 * check/gst/gstevent.c:
18637 * gst/elements/gstfakesink.c:
18638 * gst/elements/gstfakesink.h:
18639 remove the sync property from fakesink.
18640 has the side effect of setting sync TRUE
18641 for fakesink, which is a change. Anyone who knows how
18642 to fix this nicely in a GObject-y way, feel free.
18644 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18646 * docs/gst/gstreamer-docs.sgml:
18647 remove probe refsection
18649 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18651 * check/Makefile.am:
18652 disable valgrinding the controller test again
18653 * docs/gst/gstreamer-sections.txt:
18654 update for api-changes
18656 2005-09-20 Wim Taymans <wim@fluendo.com>
18658 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18659 (gst_base_sink_set_property), (gst_base_sink_get_property),
18660 (gst_base_sink_do_sync):
18661 * gst/base/gstbasesink.h:
18662 Added sync property to basesink to disable clock sync.
18664 2005-09-20 Andy Wingo <wingo@pobox.com>
18666 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18667 eating the caller's refcount.
18669 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18670 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18673 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18674 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18675 of GLib 2.8 public, so we can know which refcount to check in
18678 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18679 (gst_object_init): Only set the gst refcount if we're going ahead
18680 with the refcount hack.
18682 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18684 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18685 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18686 more leaks plumbed, added more debug-logging
18690 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18692 * gst/gstmessage.c:
18693 remove include of gstmemchunk.h
18695 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18697 * gst/gstclock.c: (_gst_clock_id_free):
18698 Commit from the Political Party For More Atomic CVS Commits,
18699 so that people don't waste too much of their day fishing
18700 out obvious leaks out of massive commits.
18701 Oh, and fix a pretty damn obvious leak in the memchunk
18704 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18706 * check/Makefile.am:
18707 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18708 plug mem-leak, re-add to valgrindable tests
18710 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18713 unbreak the build for those who have chronic arthritis
18714 and typing "make check" is just too taxing on the hands
18716 2005-09-20 Andy Wingo <wingo@pobox.com>
18718 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18719 really want it out, you should fix plugins at the same time.
18721 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18724 * docs/gst/gstreamer-sections.txt:
18726 added missing symbols to api docs
18727 disable ref-count hack if we have glib >= 2.8
18729 2005-09-19 David Schleef <ds@schleef.org>
18731 * docs/gst/Makefile.am: Ignore a few more internal headers
18732 * docs/gst/gstreamer-docs.sgml: Remove old sections
18733 * docs/gst/gstreamer-sections.txt: Remove old sections
18734 * docs/gst/tmpl/gstobject.sgml: update
18735 * docs/gst/tmpl/gstplugin.sgml: update
18736 * docs/gst/tmpl/gstpluginfeature.sgml: update
18737 * docs/random/ds/0.9-suggested-changes: update.
18738 * gst/Makefile.am: remove memchunk and trashstack, since they're
18740 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18741 * gst/gst.h: don't include some headers
18742 * gst/gstchildproxy.c: add gstmarshal.h
18743 * gst/gstclock.c: Don't use memchunks
18744 * gst/gstminiobject.c: Add some docs
18745 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18746 * gst/gstobject.h: same
18747 * gst/gstplugin.c: include gstmacros.h
18748 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18749 * gst/gstquery.c: don't use memchunks
18750 * gst/gstregistry.c: rename gst_registry_deinit()
18751 * gst/gstregistry.h: same
18753 2005-09-19 David Schleef <ds@schleef.org>
18755 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18756 * docs/libs/gstreamer-libs-sections.txt:
18757 * docs/libs/tmpl/gstgetbits.sgml:
18758 * docs/libs/tmpl/gstputbits.sgml:
18760 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18762 * win32/gstenumtypes.c:
18763 * win32/gstenumtypes.h:
18766 2005-09-19 Wim Taymans <wim@fluendo.com>
18768 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18769 Automatically PAUSE and RESUME a pipeline when a flushing seek
18772 2005-09-19 Andy Wingo <wingo@pobox.com>
18774 * gst/gstregistry.h: Spacing fixen.
18776 2005-09-19 Wim Taymans <wim@fluendo.com>
18778 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18779 Handle state change failure more correctly.
18781 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18783 * check/Makefile.am:
18784 * check/pipelines/cleanup.c: (run_pipeline):
18785 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18787 enable cleanup again after fixing the leak
18789 some more info on docs
18791 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18793 * check/Makefile.am:
18794 re-enable tests now that leaks are plugged
18796 * check/gst/gstbin.c:
18797 * check/gst/gstpipeline.c:
18798 add some more tests while fixing leaks
18799 * common/check.mak:
18800 make sure binaries are uptodate when valgrinding/gdbing
18802 * gst/gstelementfactory.c:
18803 remove a ref too many, and add a FIXME for when we get
18804 round to disposing of classes
18806 fix the refcounting when loading a plugin from a file and
18807 the code pretends that the pointer is the same even though
18808 of course it can change
18809 * gst/gstpluginfeature.c:
18810 unref plugins marked cached (a bit confusing as a name)
18811 as the docs state should be done
18812 various doc additions to explain refcounting
18813 * gst/gstregistry.c:
18814 * gst/gstregistryxml.c:
18817 2005-09-19 Wim Taymans <wim@fluendo.com>
18819 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18820 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18821 (send_messages), (GST_START_TEST), (gstbus_suite):
18822 * check/gst/gstpipeline.c: (GST_START_TEST):
18823 * check/pipelines/cleanup.c: (run_pipeline):
18824 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18826 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18827 (gst_bus_source_check), (gst_bus_source_dispatch),
18828 (gst_bus_create_watch), (gst_bus_add_watch_full),
18829 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18831 * tools/gst-launch.c: (event_loop):
18832 * tools/gst-md5sum.c: (event_loop):
18833 GstBusHandler -> GstBusFunc, return value has the same meaning as
18834 any other GSource (FALSE == remove source).
18835 _add_watch() and _add_watch_full() now take a MessageType mask to
18836 only handle specific types of messages.
18837 _poll() returns the GstMessage instead of the message type to avoid
18839 _have_pending() takes a MessageType mask now too.
18840 Added testsuite for multiple bus watches.
18841 Fix testsuites and applications for new bus API.
18843 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18845 * check/Makefile.am:
18846 mark a bunch of the tests as to fix until we fix them
18848 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18850 * common/check.mak:
18851 use GST_PLUGIN settings for valgrind tests as well, so we're
18852 valgrinding the correct thing
18853 * gst/gst.c: (init_post):
18856 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18858 * gst/gst.c: (init_post), (gst_deinit):
18859 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18860 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18861 * gst/gstindex.c: (gst_index_factory_class_init),
18862 (gst_index_factory_finalize):
18863 * gst/gstobject.c: (gst_object_dispose):
18864 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18865 (gst_plugin_load_file), (gst_plugin_desc_free):
18866 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18867 (gst_plugin_feature_finalize):
18868 * gst/gstregistry.c: (gst_registry_class_init),
18869 (gst_registry_init), (gst_registry_finalize),
18870 (gst_registry_get_default), (gst_registry_deinit):
18871 * gst/gstregistry.h:
18872 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18873 various cleanups and memleak plugging. make valgrind is happy now.
18875 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18877 * common/check.mak:
18878 add a check-valgrind target
18880 2005-09-18 David Schleef <ds@schleef.org>
18882 * tools/gst-inspect.c: Revert the GOption code.
18884 2005-09-17 David Schleef <ds@schleef.org>
18886 * check/Makefile.am: Fix environment variables.
18887 * check/gst/gstplugin.c: Fix for API changes.
18888 * tools/gst-inspect.c: Fix for API changes.
18889 * tools/gst-xmlinspect.c: Fix for API changes.
18890 * gst/gstelementfactory.c:
18893 * gst/gstpluginfeature.c:
18894 * gst/gstpluginfeature.h:
18895 * gst/gstregistry.c:
18896 * gst/gstregistry.h:
18897 * gst/gstregistryxml.c:
18898 * gst/gsttypefind.c:
18899 * gst/gsttypefindfactory.c:
18900 * gst/indexers/gstfileindex.c:
18901 * gst/indexers/gstmemindex.c:
18902 * gst/schedulers/Makefile.am:
18903 Change registry to keep track of both plugins and features,
18904 removing the feature tracking from plugins themselves.
18906 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18908 * check/Makefile.am:
18909 * tools/gst-register.1.in:
18910 remove gst-register
18912 2005-09-15 David Schleef <ds@schleef.org>
18914 * check/gst/gstplugin.c:
18915 * gst/gstelementfactory.c:
18917 * gst/gstpluginfeature.c:
18918 * gst/gstregistry.c:
18919 Getting tired of debugging. Disabled all the unreffing of
18920 plugins and features, which fixes the segfaults, but of
18921 course leaks like crazy. At least playbin works.
18923 2005-09-15 David Schleef <ds@schleef.org>
18925 * check/gst/gstplugin.c: (register_check_elements),
18926 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18928 * gst/elements/gsttypefindelement.c: Fix refcounting.
18929 * gst/gsttypefind.c:
18930 * gst/gsttypefindfactory.c:
18931 * gst/gsttypefindfactory.h:
18933 2005-09-15 David Schleef <ds@schleef.org>
18935 * gst/gstindex.c: get refcounting correct.
18936 * gst/gstregistry.c: Handle the case where a feature/plugin is
18939 2005-09-15 David Schleef <ds@schleef.org>
18941 * check/Makefile.am:
18942 * check/gst/gstplugin.c: Add test
18943 * gst/gstplugin.c: Fix problems noticed by testsuite
18945 * gst/gstregistry.c:
18946 * gst/gstregistry.h:
18948 2005-09-15 David Schleef <ds@schleef.org>
18950 * gst/gstplugin.c: Implement semi-decent recounting and locking
18951 in plugins and plugin features.
18953 * gst/gstpluginfeature.c:
18954 * gst/gstpluginfeature.h:
18955 * gst/gstregistry.c:
18957 2005-09-15 Michael Smith <msmith@fluendo.com>
18959 * gst/gstregistry.c: (gst_registry_get_feature_list):
18960 Implement this. Makes oggdemux work; decodebin still broken.
18962 2005-09-14 David Schleef <ds@schleef.org>
18964 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18966 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18967 * gst/check/Makefile.am:
18968 * libs/gst/controller/Makefile.am:
18969 * libs/gst/dataprotocol/Makefile.am:
18971 2005-09-14 David Schleef <ds@schleef.org>
18973 * configure.ac: Remove getbits library. Nothing uses it, and
18974 it should be in something like liboil if someone did want
18976 * libs/gst/Makefile.am:
18977 * libs/gst/getbits/Makefile.am:
18978 * libs/gst/getbits/gbtest.c:
18979 * libs/gst/getbits/getbits.c:
18980 * libs/gst/getbits/getbits.h:
18981 * libs/gst/getbits/gstgetbits_generic.c:
18982 * libs/gst/getbits/gstgetbits_i386.s:
18983 * libs/gst/getbits/gstgetbits_inl.h:
18985 2005-09-14 David Schleef <ds@schleef.org>
18987 * gst/Makefile.am: Dist glib-compat.h
18989 2005-09-14 David Schleef <ds@schleef.org>
18991 * configure.ac: Remove gst/registries, since it's no longer used.
18992 * gst/registries/Makefile.am:
18993 * gst/registries/gstlibxmlregistry.c:
18994 * gst/registries/gstlibxmlregistry.h:
18995 * gst/registries/gstxmlregistry.c:
18996 * gst/registries/gstxmlregistry.h:
18997 * gst/registries/registrytest.c:
18999 2005-09-14 David Schleef <ds@schleef.org>
19001 * gst/glib-compat.h:
19002 * gst/gstregistryxml.c:
19003 Convergence is near. Seriously.
19005 2005-09-14 David Schleef <ds@schleef.org>
19007 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19008 * gst/glib-compat.h:
19009 Attempt #4 to appease the buildbots.
19011 2005-09-14 David Schleef <ds@schleef.org>
19013 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19016 2005-09-14 David Schleef <ds@schleef.org>
19018 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19021 2005-09-14 David Schleef <ds@schleef.org>
19023 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19026 2005-09-14 David Schleef <ds@schleef.org>
19028 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19029 * gst/glib-compat.h: Add some functions that are in newer versions
19030 of glib than we care to require.
19031 * gst/gstregistryxml.c: Use them.
19033 2005-09-14 David Schleef <ds@schleef.org>
19035 * po/POTFILES.in: remove gst-register.c
19037 2005-09-14 David Schleef <ds@schleef.org>
19039 * docs/gst/gstreamer-docs.sgml:
19040 * docs/gst/gstreamer-sections.txt:
19041 * docs/gst/gstreamer.types:
19042 * docs/gst/tmpl/gstelement.sgml:
19043 * docs/gst/tmpl/gstplugin.sgml:
19044 * docs/gst/tmpl/gstpluginfeature.sgml:
19045 Documentation updates for registry changes.
19047 2005-09-14 David Schleef <ds@schleef.org>
19049 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19050 because we don't require glib-2.8.
19052 2005-09-14 David Schleef <ds@schleef.org>
19054 * gst/gstregistryxml.c: Added. Essentially moved out of the
19055 registries directory.
19057 2005-09-14 David Schleef <ds@schleef.org>
19059 * check/Makefile.am:
19060 * check/generic/states.c:
19064 * gst/gst_private.h:
19065 * gst/gstelementfactory.c:
19070 * gst/gstpluginfeature.c:
19071 * gst/gstpluginfeature.h:
19072 * gst/gstregistry.c:
19073 * gst/gstregistry.h:
19074 * gst/gstregistrypool.c: remove
19075 * gst/gstregistrypool.h: remove
19076 * gst/gsttypefind.c:
19077 * gst/gsttypefindfactory.c:
19079 * tools/Makefile.am:
19080 * tools/gst-compprep.c:
19081 * tools/gst-inspect.c:
19082 * tools/gst-register.c: remove
19083 * tools/gst-xmlinspect.c:
19084 Registry rewrite. Changes registry from being a file created
19085 by a tool into a simple cache file created automatically by
19086 libgstreamer. Removed gst-register (because it's no longer
19087 needed). Remove registry pools, because we only have one
19088 registry implementation (XML). Fix up other subsystems as
19091 2005-09-13 Michael Smith <msmith@fluendo.com>
19093 * gst/gstconfig.h.in:
19094 Don't Use windows linking attributes for MinGW. Fixes #316157
19096 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19098 * gst/gstutils.c: (set_state_async_thread_func),
19099 (gst_element_set_state_async):
19100 Apparently people think it's better if this function doesn't
19101 try to set the state to whatever state was asked for on the first
19102 call to this function for any object. Seriously.
19104 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19106 * check/gst/gstpipeline.c: (GST_START_TEST):
19107 * docs/gst/gstreamer-sections.txt:
19108 * gst/gstutils.c: (set_state_async_thread_func),
19109 (gst_element_set_state_async):
19111 add a "gst_element_set_state_async" method that
19112 sets the state and starts a thread to make sure the state
19113 change completes as best as it can
19115 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19117 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19118 codify design+behaviour in testsuite after discussion
19120 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19122 * docs/gst/tmpl/gstelement.sgml:
19123 * docs/manual/appendix-quotes.xml:
19125 * gst/gstelement.c: (gst_element_set_state):
19128 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19130 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19131 (gst_base_transform_prepare_output_buf),
19132 (gst_base_transform_handle_buffer):
19133 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19134 (gst_capsfilter_prepare_buf):
19135 Remove the requirement for sub-classes to call the parent
19136 implementation of prepare_output_buffer with a wrapper function.
19138 * gst/gsttaglist.h:
19139 * gst/gsttagsetter.h:
19140 Fix #define wrapper
19142 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19144 * docs/gst/gstreamer-sections.txt:
19147 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19149 * docs/gst/gstreamer-sections.txt:
19150 * docs/gst/tmpl/gstelement.sgml:
19151 * docs/gst/tmpl/gstplugin.sgml:
19152 * gst/gstminiobject.c:
19154 docs now stop throwing warnings
19156 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19158 * docs/gst/gstreamer-sections.txt:
19159 * docs/gst/gstreamer.types:
19160 * docs/gst/tmpl/gstpad.sgml:
19161 * docs/gst/tmpl/gsttypes.sgml:
19162 * gst/base/gstadapter.h:
19163 * gst/base/gstbasesink.h:
19164 * gst/base/gstbasesrc.h:
19170 * gst/gstelement.h:
19172 * gst/gstmessage.h:
19174 * gst/gststructure.c:
19175 * gst/registries/gstlibxmlregistry.h:
19176 various documentation fixes
19178 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19180 * docs/gst/gstreamer-sections.txt:
19181 * docs/gst/tmpl/gstvalue.sgml:
19182 rearrange gstvalue section
19183 * gst/gstutils.c: (gst_element_state_get_name):
19185 * gst/gstvalue.c: (_gst_value_initialize):
19189 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19191 * check/gst-libs/controller.c:
19192 Header include fix.
19193 * gst/base/gstbasetransform.c:
19194 (gst_base_transform_default_prepare_buf),
19195 (gst_base_transform_handle_buffer):
19196 * gst/base/gstbasetransform.h:
19197 Some more basetransform changes and fixes to enable sub-classes
19198 that modify buffer metadata only.
19199 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19200 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19201 (gst_capsfilter_prepare_buf):
19202 If the output pad has fixed allowed caps and input buffers
19203 don't have any, set the fixed caps on outgoing buffers.
19205 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19206 * check/elements/identity.c: (GST_START_TEST):
19207 Make the error a little clearer when the test fails because
19208 identity made a copy of the buffer.
19209 * docs/gst/gstreamer-sections.txt:
19210 New symbols in gstbasetransform.h
19211 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19212 (gst_base_transform_init), (gst_base_transform_transform_size),
19213 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19214 (gst_base_transform_default_prepare_buf),
19215 (gst_base_transform_get_unit_size),
19216 (gst_base_transform_buffer_alloc),
19217 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19218 (gst_base_transform_change_state),
19219 (gst_base_transform_set_passthrough),
19220 (gst_base_transform_set_in_place),
19221 (gst_base_transform_is_in_place):
19222 * gst/base/gstbasetransform.h:
19223 Change BaseTransform to separate in_place operate from same_caps
19224 output. in_place implies that the element can perform the transform
19225 on incoming buffers in-place, even if the caps on the output are
19227 Sub-class elements can now implement special buffer allocation
19228 methods for outgoing buffers if they wish to.
19229 Big documentation addition.
19230 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19231 * gst/elements/gstelements.c:
19232 Changes for basetransform modifications.
19233 * gst/elements/Makefile.am:
19234 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19235 Compile fix. Extra debug output.
19237 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19239 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19241 add tests for valid pad naming
19242 * gst/check/gstcheck.c: (gst_check_log_message_func),
19243 (gst_check_log_critical_func):
19245 remove printing of code, it is fragile when the code contains
19246 % and the line number is enough info
19247 * gst/check/gstcheck.h:
19248 * gst/gstpad.c: (gst_pad_template_new):
19251 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19254 say what CHECK flags we use
19255 * docs/libs/gstreamer-libs.types:
19256 * libs/gst/controller/Makefile.am:
19257 * libs/gst/controller/gst-controller.c:
19258 * libs/gst/controller/gst-controller.h:
19259 * libs/gst/controller/gst-helper.c:
19260 * libs/gst/controller/gst-interpolation.c:
19261 * libs/gst/controller/gstcontroller.c:
19262 * libs/gst/controller/gsthelper.c:
19263 * libs/gst/controller/gstinterpolation.c:
19264 * tools/gst-inspect.c: (print_plugin_info):
19265 we don't use dashes in header names
19267 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19269 * check/Makefile.am:
19270 * check/gst/.cvsignore:
19271 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19272 (gst_pipeline_suite), (main):
19273 adding a test for pipelines and state changes
19274 * gst/gstutils.c: (get_state_func):
19276 * gstreamer.spec.in:
19279 2005-09-08 Michael Smith <msmith@fluendo.com>
19281 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19282 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19283 (gst_file_src_is_seekable), (gst_file_src_get_size),
19284 (gst_file_src_start):
19285 * gst/elements/gstfilesrc.h:
19286 Various fixes for unseekable, unmmapable, and non-normal files, so
19287 that fallback to read() rather than mmap() works.
19288 * gst/gstevent.c: (gst_event_new_newsegment):
19289 Allow newsegment events with segment_start == segment_end, as will
19290 correctly happen if you use filesrc on a zero-size file, for
19293 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19295 * gst/gstplugin.c: (gst_plugin_load_file):
19296 Call g_module_close when we don't load the module
19298 * gst/registries/gstlibxmlregistry.c:
19299 (gst_xml_registry_get_property):
19300 Port leak fix from 0.8
19302 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19304 * docs/gst/gstreamer-docs.sgml:
19305 * docs/gst/tmpl/.cvsignore:
19306 * docs/gst/tmpl/gsttrace.sgml:
19307 * docs/gst/tmpl/gsttrashstack.sgml:
19310 * gst/gstelement.h:
19312 * gst/gstmessage.c:
19313 * gst/gstmessage.h:
19316 * gst/gsttaginterface.c:
19317 * gst/gsttaginterface.h:
19318 * gst/gsttaglist.c:
19319 * gst/gsttaglist.h:
19320 * gst/gsttagsetter.c:
19321 * gst/gsttagsetter.h:
19324 * gst/gsttrashstack.c:
19325 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19326 inlined docs for gsttrace, gsttrashstack
19328 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19331 * gst/elements/gstbufferstore.h:
19332 * gst/elements/gsttypefindelement.c:
19333 * gst/elements/gsttypefindelement.h:
19335 * gst/gsttypefind.c:
19336 * gst/gsttypefind.h:
19337 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19338 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19339 (gst_type_find_factory_dispose),
19340 (gst_type_find_factory_unload_thyself),
19341 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19342 (gst_type_find_factory_get_caps),
19343 (gst_type_find_factory_get_extensions),
19344 (gst_type_find_factory_call_function):
19345 * gst/gsttypefindfactory.h:
19346 * gst/registries/gstlibxmlregistry.c:
19347 * gst/registries/gstxmlregistry.c:
19348 splitted gsttypefind into gsttypefind, gsttypefindfactory
19350 2005-09-07 Andy Wingo <wingo@pobox.com>
19352 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19353 condition whereby the pad's task function is entered before the
19354 pad_mode variable was set.
19356 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19358 * gst/gstpad.c: (gst_pad_alloc_buffer):
19359 Catch misbehaving pad_alloc functions that don't
19360 set up caps and do it for them.
19362 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19364 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19365 test for pipe!=NULL
19366 * docs/gst/tmpl/.cvsignore:
19367 * docs/gst/tmpl/gstmemchunk.sgml:
19368 * docs/gst/tmpl/gstparse.sgml:
19369 * docs/gst/tmpl/gsttaglist.sgml:
19370 * docs/gst/tmpl/gsttagsetter.sgml:
19371 * docs/gst/tmpl/gsttypefind.sgml:
19372 * docs/gst/tmpl/gsttypefindfactory.sgml:
19373 * gst/gstmemchunk.c:
19376 * gst/gsttaginterface.c:
19377 * gst/gsttypefind.c:
19378 * gst/gsttypefind.h:
19381 === release 0.9.2 ===
19383 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19388 releasing 0.9.2, "South"
19390 2005-09-05 Andy Wingo <wingo@pobox.com>
19392 * gst/registries/gstxmlregistry.h:
19393 * gst/registries/gstxmlregistry.c: Um... resurrect...
19395 * gst/registries/gstxmlregistry.h:
19396 * gst/registries/gstxmlregistry.c: and update to newer API.
19397 Incidentally they should be a bit faster now that they don't have
19400 2005-09-05 Andy Wingo <wingo@pobox.com>
19402 * gst/registries/gstxmlregistry.h:
19403 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19404 replaced by the libxml registry a while back
19406 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19408 * docs/gst/tmpl/gstplugin.sgml:
19409 * gst/elements/gstelements.c:
19411 * gst/gstplugin.c: (gst_plugin_register_func),
19412 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19413 (gst_plugin_get_source):
19415 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19416 (gst_xml_registry_save_plugin):
19417 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19418 (gst_xml_registry_save_plugin):
19419 * tools/gst-inspect.c: (print_plugin_info):
19420 add a "source" plugin description field, to represent the source
19421 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19422 will set it to PACKAGE, which is automake's idea of the name of
19423 the source project.
19425 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19430 * docs/Makefile.am:
19431 * docs/faq/Makefile.am:
19432 * docs/gst/tmpl/gstelement.sgml:
19433 * docs/gst/tmpl/gsttypes.sgml:
19434 * docs/htmlinstall.mak:
19435 * docs/manual/Makefile.am:
19436 * docs/pwg/Makefile.am:
19437 reorganize doc build a little
19438 split out docbook and gtk-doc stuff
19439 have two separate --enable's and enable them through autogen
19440 but disable by default in configure (to be similar to other
19442 * gstreamer.spec.in:
19443 clean up docs install
19461 translation updates
19463 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19465 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19468 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19469 (gst_fake_sink_change_state):
19470 Make state change function thread-safe.
19472 * gst/gstpad.c: (gst_pad_alloc_buffer):
19473 Set offset on generic buffer allocated by fallback.
19475 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19477 * docs/gst/gstreamer-sections.txt:
19478 * docs/gst/tmpl/gstelement.sgml:
19480 * libs/gst/controller/gst-controller.c:
19481 (gst_controlled_property_set_interpolation_mode),
19482 (gst_controlled_property_new),
19483 (gst_controller_find_controlled_property):
19484 run the wingo-magic script against the docs
19486 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19488 * docs/gst/gstreamer-docs.sgml:
19489 * docs/gst/gstreamer-sections.txt:
19490 * docs/gst/tmpl/.cvsignore:
19491 * docs/gst/tmpl/gstelementdetails.sgml:
19492 * docs/gst/tmpl/gstelementfactory.sgml:
19495 * gst/gstelementfactory.c:
19496 * gst/gstelementfactory.h:
19497 merged elementdetails docs into elementfactory docs
19500 2005-09-02 Andy Wingo <wingo@pobox.com>
19502 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19503 consider this enum an enum and not a flags.
19505 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19507 * docs/gst/gstreamer-docs.sgml:
19508 * docs/gst/tmpl/.cvsignore:
19509 * docs/gst/tmpl/gstghostpad.sgml:
19510 * docs/gst/tmpl/gstiterator.sgml:
19511 * docs/gst/tmpl/gstmacros.sgml:
19512 * docs/gst/tmpl/gstrealpad.sgml:
19513 * docs/gst/tmpl/gstregistry.sgml:
19514 * docs/gst/tmpl/gstregistrypool.sgml:
19515 * docs/gst/tmpl/gststructure.sgml:
19516 * docs/gst/tmpl/gstsystemclock.sgml:
19517 * docs/gst/tmpl/gsttrace.sgml:
19518 * gst/gstghostpad.c:
19520 * gst/gstmemchunk.c:
19521 * gst/gstmemchunk.h:
19523 * gst/gstregistry.c:
19524 * gst/gstregistrypool.c:
19525 * gst/gststructure.c:
19526 * gst/gstsystemclock.c:
19529 2005-09-02 Andy Wingo <wingo@pobox.com>
19531 * gst/gstelement.h (GstState): Renamed from GstElementState,
19532 changed to be a normal enum instead of flags.
19533 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19534 munged to be GST_STATE_CHANGE_*.
19535 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19536 work with the new state representation.
19537 (GstStateChange): New enumeration of possible state transitions.
19538 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19539 (GstElementClass::change_state): Pass the GstStateChange along as
19540 an argument. Helps language bindings, so they don't have to use
19541 tricky lock-needing macros like GST_STATE_CHANGE ().
19543 * scripts/update-states (file): New script. Run it on a file to
19544 update it for state naming and API changes. Updates files in
19547 * All files updated for the new API.
19549 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19551 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19552 * gst/gstutils.c: (gst_util_set_value_from_string),
19553 (gst_util_set_object_arg):
19554 fix a bunch of unchecked return values
19555 * tools/gst-complete.c: (main):
19556 * gstreamer.spec.in:
19559 2005-09-01 Wim Taymans <wim@fluendo.com>
19561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19562 (gst_base_sink_event), (gst_base_sink_do_sync),
19563 (gst_base_sink_handle_event):
19564 * gst/base/gstbasesink.h:
19565 Handle newsegments more correctly.
19570 * gst/gstevent.c: (gst_event_new_newsegment):
19571 A newsegment cannot have a start_time of -1
19573 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19575 * win32/gstenumtypes.c:
19576 * win32/gstenumtypes.h:
19579 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19581 * libs/gst/controller/gst-controller.c:
19582 (gst_controlled_property_set_interpolation_mode),
19583 (gst_controlled_property_new):
19584 fixed boolean again
19586 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19588 * docs/faq/gst-uninstalled:
19593 * gst/gstutils.c: (gst_element_link_filtered):
19595 add gst_element_link_filtered
19597 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19599 * docs/gst/gstreamer-docs.sgml:
19600 * docs/gst/gstreamer-sections.txt:
19601 * docs/gst/tmpl/.cvsignore:
19602 * docs/gst/tmpl/gsterror.sgml:
19603 * docs/gst/tmpl/gstfilter.sgml:
19604 * docs/gst/tmpl/gsturihandler.sgml:
19605 * docs/gst/tmpl/gsturitype.sgml:
19606 * docs/gst/tmpl/gstutils.sgml:
19607 * docs/gst/tmpl/gstxml.sgml:
19612 * gst/gsturitype.c:
19615 inlined more docs, fixed double id-ref
19617 2005-08-31 Wim Taymans <wim@fluendo.com>
19619 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19620 (gst_base_transform_handle_buffer):
19621 Passthrough elements don't need the caps as they don't care.
19623 2005-08-31 Wim Taymans <wim@fluendo.com>
19625 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19626 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19627 Don't leak refcounts on buffers.
19629 2005-08-31 Wim Taymans <wim@fluendo.com>
19631 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19632 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19633 (gst_base_transform_chain), (gst_base_transform_change_state):
19634 * gst/base/gstbasetransform.h:
19635 Handle the case where we are not negotiated more gracefully.
19637 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19639 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19640 (gst_file_src_map_region):
19641 Set READONLY flag on mmap'ed buffers, otherwise
19642 gst_buffer_make_writable() won't work properly (#314708).
19644 2005-08-31 Wim Taymans <wim@fluendo.com>
19646 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19647 passthrough elements can even do inplace on non writable
19648 buffers (as they don't touch them).
19650 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19652 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19653 (gst_test_mono_source_set_property),
19654 (gst_test_mono_source_class_init), (GST_START_TEST),
19655 (gst_controller_suite):
19656 more tests (hehe I have the most)
19658 describe popping messages whenusing mulltiple sources
19659 * libs/gst/controller/gst-controller.c:
19660 (gst_controlled_property_set_interpolation_mode),
19661 (gst_controlled_property_new):
19662 * libs/gst/controller/gst-controller.h:
19663 * libs/gst/controller/gst-interpolation.c:
19664 implement boolean properties
19666 2005-08-31 Wim Taymans <wim@fluendo.com>
19668 * gst/gstminiobject.c: (gst_mini_object_ref):
19669 Cannot assert that the refcount has to be positive
19670 since a disposed object can be resurrected.
19672 2005-08-31 Wim Taymans <wim@fluendo.com>
19674 * gst/gstpad.c: (gst_pad_init):
19675 Revert change, need to first fix badly behaving
19678 2005-08-30 Wim Taymans <wim@fluendo.com>
19680 * check/elements/fakesrc.c: (setup_fakesrc):
19681 * check/elements/identity.c: (setup_identity):
19682 Activate pads before using them.
19684 2005-08-30 Wim Taymans <wim@fluendo.com>
19686 * gst/base/gstadapter.c: (gst_adapter_flush):
19687 Flushing out 0 bytes is ok for this function.
19689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19690 no newsegment gives a warning and sets the start/stop to
19693 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19694 (gst_base_transform_set_passthrough):
19697 * gst/gstminiobject.c: (gst_mini_object_ref):
19698 Check refcount here too.
19700 * gst/gstpad.c: (gst_pad_init):
19701 Pads are initially flushing and refusing data.
19703 * gst/gstutils.c: (gst_element_link_pads_filtered):
19704 When adding a capsfilter element make sure it has the
19705 same state as the parent bin.
19707 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19709 * docs/gst/tmpl/.cvsignore:
19710 * docs/gst/tmpl/gstformat.sgml:
19711 * docs/gst/tmpl/gstversion.sgml:
19715 * gst/gstversion.h.in:
19716 more docs and two more inlined
19718 2005-08-30 Wim Taymans <wim@fluendo.com>
19720 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19721 Don't sync to clock.
19723 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19725 * docs/gst/gstreamer-sections.txt:
19726 ultral33t func10ns deserve to appear in the docs actually
19727 * docs/gst/tmpl/.cvsignore:
19728 * docs/gst/tmpl/gstcompat.sgml:
19729 * docs/gst/tmpl/gstconfig.sgml:
19730 * gst/check/gstcheck.c:
19732 * gst/gstconfig.h.in:
19735 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19737 * docs/gst/tmpl/.cvsignore:
19738 * docs/gst/tmpl/gstquery.sgml:
19739 * docs/gst/tmpl/gstutils.sgml:
19742 inlined and extended docs
19744 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19746 * check/gst-libs/controller.c: (GST_START_TEST),
19747 (gst_controller_suite):
19749 * docs/gst/tmpl/gstutils.sgml:
19750 * docs/libs/gstreamer-libs-sections.txt:
19751 * docs/libs/tmpl/gstdataprotocol.sgml:
19753 * examples/controller/audio-example.c: (main):
19754 controller example works now
19757 * tools/gst-inspect.c: (print_element_properties_info):
19758 show param spec flags
19760 2005-08-29 Andy Wingo <wingo@pobox.com>
19762 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19764 2005-08-28 Andy Wingo <wingo@pobox.com>
19766 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19767 as having two arguments instead of just one. Allows superclasses
19768 to access information on subclasses -- see the terrible for() loop
19769 in gtype.c:g_type_create_instance for the reason why. All callers
19772 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19774 * docs/design/part-messages.txt:
19776 * docs/gst/tmpl/.cvsignore:
19777 * docs/gst/tmpl/gstcaps.sgml:
19778 * docs/gst/tmpl/gstclock.sgml:
19784 * gst/gstmessage.c:
19785 added descriptions for bus and message
19786 inline caps and clock docs
19788 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19790 * gst/gstmessage.c:
19791 * gst/gstmessage.h:
19794 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19796 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19799 2005-08-26 Andy Wingo <wingo@pobox.com>
19801 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19802 element_set_state's return val.
19803 (test_2_elements): Add test that's been disabled for months.
19805 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19806 can-activate-pull properties.
19808 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19809 can-activate-pull properties. Implement is_seekable so fakesrc can
19810 operate in pull mode.
19812 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19814 (gst_base_sink_activate, gst_base_sink_activate_pull)
19815 (gst_base_sink_activate_push): Make activation mode choosing work.
19817 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19818 is right. Make pull mode work. Post an eos before pausing in pull
19820 (gst_base_sink_change_state): Pay attention to the core's
19821 change_state() return val.
19823 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19824 has-getrange properties. Cleanups.
19826 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19827 has_getrange and replace with can_activate_pull and
19830 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19831 locking comments. Remove has_loop, has_chain and replace with
19832 can_activate_pull and can_activate_push.
19834 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19837 * examples/Makefile.am:
19838 * examples/metadata/Makefile.am:
19839 * examples/metadata/read-metadata.c: (message_loop),
19840 (have_pad_handler), (make_pipeline), (print_tag), (main):
19841 Add metadata reading example that loops over a list of filenames,
19842 dumping any tags found.
19844 * gst/gstbus.c: (gst_bus_dispose):
19845 * gst/gstelement.c: (gst_element_dispose):
19846 Release a few potentially-held references in dispose.
19848 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19850 * docs/gst/tmpl/gstminiobject.sgml:
19851 do *not* add tmpl/*.sgml files to CVS!
19853 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19855 * libs/gst/bytestream/.cvsignore:
19856 * libs/gst/bytestream/Makefile.am:
19857 * libs/gst/bytestream/adapter.c:
19858 * libs/gst/bytestream/adapter.h:
19859 * libs/gst/bytestream/bytestream.c:
19860 * libs/gst/bytestream/bytestream.h:
19861 * libs/gst/bytestream/filepad.c:
19862 * libs/gst/bytestream/filepad.h:
19863 removing obsolete files
19865 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19867 * docs/gst/gstreamer-docs.sgml:
19868 * docs/libs/gstreamer-libs-docs.sgml:
19869 disabed additional index entries again, as this makes docs-gen just
19870 slow and they aren't useful yet
19871 * docs/libs/gstreamer-libs-sections.txt:
19872 little -section.txt cleanup for libs
19874 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19878 fix up some debugging
19879 (gst_base_transform_get_unit_size),
19880 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19881 (gst_base_transform_handle_buffer):
19882 * gst/base/gstbasetransform.h:
19883 handle and store timed NEWSEGMENT events so that subclasses that
19884 calculate time by counting samples have a segment_start time they
19885 need to add to their timestamps - see audioresample
19887 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19890 removed ';' from the end of macro defs
19891 * docs/gst/gstreamer-docs.sgml:
19892 * docs/gst/gstreamer-sections.txt:
19893 * docs/gst/tmpl/.cvsignore:
19895 * gst/gstelement.c: (gst_element_class_init),
19896 (gst_element_set_state), (activate_pads),
19897 (gst_element_save_thyself):
19898 * gst/gstevent.c: (gst_event_new_newsegment):
19900 * gst/gstiterator.c:
19901 * gst/gstiterator.h:
19904 * gst/gstutils.c: (gst_pad_query_convert):
19906 fixed parameter name mismatches between source, header and docs
19907 added some more docs, resolved the last batch of unused elements in
19908 docs (now someone needs to doc them)
19910 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19912 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19913 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19914 don't walk through the plugins backwards. Where is all this
19915 reversed logic coming from ?
19917 2005-08-25 Wim Taymans <wim@fluendo.com>
19919 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19920 (gst_base_transform_transform_size),
19921 (gst_base_transform_configure_caps),
19922 (gst_base_transform_get_unit_size),
19923 (gst_base_transform_buffer_alloc),
19924 (gst_base_transform_change_state):
19925 * gst/base/gstbasetransform.h:
19926 Cache caps unit_size.
19927 Make sure we cannot negotiate up and downstream at the
19930 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19932 * gst/gst.c: (init_pre), (init_post):
19933 register the installed plugin path after the env var
19934 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19935 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19936 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19937 directories, so the tests can prefer uninstalled over installed
19939 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19941 * gst/base/gstbasetransform.h:
19946 2005-08-25 Wim Taymans <wim@fluendo.com>
19948 * gst/gstbin.c: (bin_bus_handler):
19949 Be a bit more conservative about the posted message.
19951 * gst/gstbus.c: (gst_bus_post):
19952 Some cleanups, warn wrong return values.
19954 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19956 * check/gst/gstbin.c: (GST_START_TEST):
19957 * gst/gstbin.c: (bin_bus_handler):
19958 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19959 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19960 (gst_message_new_warning), (gst_message_new_tag),
19961 (gst_message_new_state_changed), (gst_message_new_segment_start),
19962 (gst_message_new_segment_done), (gst_message_new_custom):
19963 * gst/gstmessage.h:
19964 * tools/gst-launch.c: (event_loop):
19965 * tools/gst-md5sum.c: (event_loop):
19966 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19968 2005-08-25 Wim Taymans <wim@fluendo.com>
19970 * check/generic/states.c: (GST_START_TEST):
19971 Cleanup can be done at the end.
19973 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19974 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19975 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19976 Oh boy.. Thanks for finding this, Thomas.
19978 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19980 * docs/gst/gstreamer.types:
19981 added missing types
19983 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19985 * docs/gst/gstreamer-docs.sgml:
19986 * docs/gst/gstreamer-sections.txt:
19987 * docs/gst/tmpl/.cvsignore:
19989 * gst/gstiterator.c:
19991 * gst/registries/gstxmlregistry.h:
19992 added missing classes and symbols (123 more to go)
19993 removed removed symbols from section file
19994 fixed many doc-comments
19996 2005-08-24 Wim Taymans <wim@fluendo.com>
19998 * check/generic/states.c: (GST_START_TEST):
19999 Make sure all tasks are stopped.
20001 * check/gst/gstbin.c: (GST_START_TEST):
20002 Unref after usage for proper valgrinding.
20004 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20005 Really wait for the task to stop before destroying the
20008 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20009 (gst_queue_src_activate_push):
20010 Small cleanups. Don't stop the task when we did not start
20013 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20014 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20015 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20018 Protect the stream lock with the object lock.
20019 Disallow setting the stream lock when running.
20020 Add cleanup_all to wait for the threadpool to finish.
20021 Remove code to autoallocate a mutex if none was provided.
20022 Add _join() to wait for a task to stop.
20023 Protect the thread pool with a global lock.
20025 2005-08-24 Wim Taymans <wim@fluendo.com>
20027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20028 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20029 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20030 * gst/base/gstbasesink.h:
20031 Handle newsegment events correctly.
20032 Drop buffers out of the segment range.
20034 2005-08-22 Andy Wingo <wingo@pobox.com>
20036 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20037 macro, implements an interface and gstimplementsinterface for a
20040 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20042 * check/Makefile.am:
20043 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20044 add a test that does a bunch of state changes on elements
20045 needs some fixing for valgrind
20046 * check/states/sinks.c: (gst_object_suite):
20049 add prototype for gst_caps_is_equal_fixed
20051 * gst/gstregistrypool.c:
20054 2005-08-24 Andy Wingo <wingo@pobox.com>
20056 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20057 convert a negative value. Doesn't make much sense. Mostly this is
20058 here to force callers to ensure -1 maps to -1.
20060 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20062 * docs/pwg/advanced-types.xml:
20063 Well done to Michael for catching my deliberate introduction
20064 of this spelling mistake.
20065 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20066 * gst/gstelement.h:
20067 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20068 unlink pads before removing the element from the bin.
20070 2005-08-24 Andy Wingo <wingo@pobox.com>
20072 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20073 the same thing as GST_DEBUG=*:4.
20074 (parse_debug_level, parse_debug_category): New helper parsers.
20076 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20078 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20079 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20080 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20081 (gst_base_transform_buffer_alloc),
20082 (gst_base_transform_handle_buffer):
20083 use gboolean return values and pointers to size so we can use the
20084 full GST_BUFFER_SIZE range (guint) for buffer sizes
20085 use GstPadDirection for transform_caps
20086 * gst/base/gstbasetransform.h:
20087 rename get_size to get_unit_size since that's what it is
20088 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20089 use GstPadDirection for transform_caps
20090 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20092 cleanup and debugging
20094 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20096 * gst/gstelement.c: (gst_element_class_init),
20097 (gst_element_set_state), (activate_pads),
20098 (gst_element_save_thyself):
20099 * tools/gst-compprep.c: (main):
20100 * tools/gst-inspect.c: (print_element_properties_info):
20101 * tools/gst-xmlinspect.c: (print_element_properties):
20102 Fixed long standing mem-leak
20104 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20106 * check/gst/gstbin.c: (GST_START_TEST):
20107 * gst/gstbin.c: (bin_bus_handler):
20108 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20109 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20110 (gst_message_new_warning), (gst_message_new_tag),
20111 (gst_message_new_state_changed), (gst_message_new_segment_start),
20112 (gst_message_new_segment_done), (gst_message_new_custom):
20113 * gst/gstmessage.h:
20114 * tools/gst-launch.c: (event_loop):
20115 * tools/gst-md5sum.c: (event_loop):
20116 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20117 that applications can sensibly post custom messages with references
20118 to their own objects.
20120 2005-08-24 Andy Wingo <wingo@pobox.com>
20122 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20125 2005-08-24 Wim Taymans <wim@fluendo.com>
20127 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20128 (gst_base_transform_transform_caps),
20129 (gst_base_transform_transform_size),
20130 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20131 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20132 (gst_base_transform_handle_buffer):
20133 * gst/base/gstbasetransform.h:
20134 Many fixes and new features added by Thomas. Can now also do
20135 transforms with variable sizes and a custom fixate_caps function.
20137 2005-08-24 Wim Taymans <wim@fluendo.com>
20139 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20143 Cast to ClockTime before formatting to time.
20148 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20150 * check/gst-libs/controller.c: (GST_START_TEST),
20151 (gst_controller_suite):
20152 * docs/gst/tmpl/gstcaps.sgml:
20153 * docs/gst/tmpl/gstghostpad.sgml:
20154 * docs/gst/tmpl/gstquery.sgml:
20155 * docs/gst/tmpl/gstutils.sgml:
20156 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20157 (gst_object_sink_values), (gst_object_get_value_arrays),
20158 (gst_object_get_value_array):
20159 gracefully handle helper method calls to objects that are not beeing
20160 controlled, added test case for that
20162 2005-08-23 Wim Taymans <wim@fluendo.com>
20164 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20165 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20166 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20167 (gst_event_parse_qos), (gst_event_new_seek),
20168 (gst_event_parse_seek):
20170 Some more debugging output and doc cleanups.
20172 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20173 Fix possible deadlock.
20175 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20177 * docs/gst/gstreamer-docs.sgml:
20178 * docs/gst/gstreamer-sections.txt:
20179 * docs/gst/gstreamer.types:
20180 * docs/gst/tmpl/.cvsignore:
20183 * gst/gstelement.c:
20185 added 100 symbols from gstreamer-unused.txt to the right sections
20186 fixed more broken comments
20187 added GstBus to docs
20189 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20191 * docs/gst/gstreamer-sections.txt:
20192 * docs/gst/tmpl/.cvsignore:
20193 * docs/gst/tmpl/gstbin.sgml:
20194 * docs/gst/tmpl/gstbuffer.sgml:
20195 * gst/base/gstbasesrc.c:
20196 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20199 * tools/gst-launch.1.in:
20200 inlined more doc comments, added missing comments and fixed comments
20203 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20205 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20209 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20211 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20212 * gst/gststructure.h:
20213 add a fixate function for booleans; add a FIXME that these func
20214 names should probably be gst_structure_fixate_*
20216 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20218 * docs/gst/gstreamer-docs.sgml:
20219 * docs/gst/gstreamer-sections.txt:
20221 * gst/gstbin.c: (gst_bin_get_type),
20222 (gst_bin_child_proxy_get_child_by_index),
20223 (gst_bin_child_proxy_get_children_count),
20224 (gst_bin_child_proxy_init):
20225 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20226 (gst_child_proxy_get_child_by_index),
20227 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20228 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20229 (gst_child_proxy_get), (gst_child_proxy_set_property),
20230 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20231 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20232 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20233 * gst/gstchildproxy.h:
20234 * gst/parse/grammar.y:
20235 * tools/gst-inspect.c: (print_interfaces),
20236 (print_element_properties_info), (print_element_info):
20237 ported gstchildproxy over from 0.8
20238 ported gst-inspect fixes and enhancements over from 0.8
20240 2005-08-22 Wim Taymans <wim@fluendo.com>
20242 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20243 (gst_base_transform_handle_buffer):
20244 Also call the transform function if we have ANY caps.
20246 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20249 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20251 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20252 Don't pretend to handle seek events if the source is not seekable
20254 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20257 Remove extra parameter to debug output
20259 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20260 (gst_base_src_do_seek), (gst_base_src_activate_push):
20261 Fix seek event handling.
20263 * gst/gstpipeline.c: (gst_pipeline_change_state):
20264 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20265 (gst_queue_src_activate_push):
20266 Don't start the src pad task on FLUSH_STOP if the pad
20270 2005-08-22 Wim Taymans <wim@fluendo.com>
20272 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20273 Added check for gst_static_caps_get() refcounting.
20275 2005-08-22 Wim Taymans <wim@fluendo.com>
20277 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20278 Make _static_caps_get() refcounting sane.
20280 * gst/gstelement.c: (gst_element_set_state):
20281 Add g_return_val_if_fail() to protect against segfaults.
20283 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20285 * docs/gst/tmpl/gstevent.sgml:
20288 inlined remaining docs, added missing doc comments
20290 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20292 * check/gst/gstbin.c: (GST_START_TEST):
20293 since we don't know when preroll is done, use refcount range
20295 * gst/check/gstcheck.h:
20296 add macro for checking refcount range
20298 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20300 * check/Makefile.am:
20301 clean up environment for when registry gets built versus
20302 when actual tests are run; valgrind seems to not report
20303 leaks if GST_PLUGIN_PATH is set to some specific values
20304 * check/gst/gstbin.c: (GST_START_TEST):
20305 add more refcounting checks; maybe this exposes a
20307 * common/check.mak:
20308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20309 * gst/check/gstcheck.h:
20310 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20311 (gst_bin_change_state):
20312 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20313 add/fix debugging/whitespace
20315 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20317 * check/gst/gstevent.c: (event_probe), (test_event),
20319 Er, don't call gst_bin_watch_for_state_change you idiot.
20321 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20323 * check/Makefile.am:
20324 Use CHECK_CFLAGS and CHECK_LIBS
20325 * check/gst/gstevent.c: (event_probe), (test_event),
20328 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20329 (gst_base_src_start), (gst_base_src_stop),
20330 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20331 (gst_base_src_change_state):
20332 Sprinkle gst_base_src_stop liberally around error paths to fix
20333 problems reusing a source after failed state changes.
20334 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20335 (helper_find_suggest), (gst_type_find_helper):
20336 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20338 * docs/gst/tmpl/gstevent.sgml:
20339 Migrate part of the docs from the SGML file. Wait for ensonic to
20340 tell me how I did it wrong ;)
20341 * tools/gst-typefind.c: (main):
20342 Extra robustness to state changes between files.
20344 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20346 * check/Makefile.am:
20347 don't valgrind the controller test - it's leaking - Stefan, HELP
20348 * gst/check/gstcheck.c: (gst_check_message_error),
20349 (gst_check_chain_func), (gst_check_setup_element),
20350 (gst_check_teardown_element), (gst_check_setup_src_pad),
20351 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20352 (gst_check_teardown_sink_pad):
20353 * gst/check/gstcheck.h:
20354 add a bunch of methods to set up elements, and src and sink pads
20355 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20356 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20359 * gst/gstmessage.c:
20361 whitespace/doc fixes
20363 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20365 * gst/gstelement.h:
20366 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20367 be handled by the application and not always printed as well
20369 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20371 * check/Makefile.am:
20373 * gst/check/gstcheck.c: (gst_check_message_error):
20374 * gst/check/gstcheck.h:
20375 add a fail_unless_equals_int
20376 add fail_unless for error messages
20378 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20380 * check/Makefile.am:
20382 * common/Makefile.am:
20383 * common/check.mak:
20385 factor out some of the common stuff so we can use it
20387 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20389 * check/Makefile.am:
20390 * check/gst/gstiterator.c: (GST_START_TEST):
20391 * check/gst/gstsystemclock.c: (GST_START_TEST),
20392 (gst_systemclock_suite):
20393 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20395 valgrind more tests
20397 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20399 * check/elements/.cvsignore:
20400 * check/elements/gstfakesrc.c:
20401 rename to name of element
20402 * check/elements/identity.c: (chain_func), (event_func),
20403 (setup_identity), (cleanup_identity), (GST_START_TEST),
20404 (identity_suite), (main):
20405 add a test for identity
20406 * check/Makefile.am:
20407 * pkgconfig/Makefile.am:
20408 * pkgconfig/gstreamer-check.pc.in:
20409 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20413 move the check stuff to a library that gets installed
20414 * check/gst-libs/controller.c: (GST_START_TEST):
20415 * check/gst-libs/gdp.c:
20416 * check/gst/gst.c: (GST_START_TEST):
20417 * check/gst/gstbin.c:
20418 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20419 * check/gst/gstbus.c:
20420 * check/gst/gstcaps.c: (GST_START_TEST):
20421 * check/gst/gstelement.c:
20422 * check/gst/gstghostpad.c:
20423 * check/gst/gstiterator.c:
20424 * check/gst/gstmessage.c:
20425 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20426 * check/gst/gstobject.c:
20427 * check/gst/gstpad.c: (GST_START_TEST):
20428 * check/gst/gststructure.c: (GST_START_TEST):
20429 * check/gst/gstsystemclock.c: (GST_START_TEST),
20430 (gst_systemclock_suite):
20431 * check/gst/gsttag.c: (gst_tag_suite):
20432 * check/gst/gstvalue.c:
20433 * check/pipelines/cleanup.c:
20434 * check/pipelines/simple_launch_lines.c:
20435 * check/states/sinks.c:
20436 change include statement
20438 * docs/gst/gstreamer-sections.txt:
20439 * docs/gst/tmpl/gstpad.sgml:
20440 document more pad stuff
20441 * gst/gstminiobject.c: (gst_mini_object_ref),
20442 (gst_mini_object_unref):
20445 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20447 * docs/gst/tmpl/gst.sgml:
20449 eliminate another tmpl file, fix spelling in the long-description
20451 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20453 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20454 (test_event), (timediff), (gstevents_suite):
20455 Should fix build on 64-bit arch's
20457 2005-08-18 Andy Wingo <wingo@pobox.com>
20459 Make sure that when a pipeline goes to PLAYING, that data has
20460 actually hit the sink.
20462 * check/states/sinks.c (test_sink): A sink that doesn't get any
20463 data shouldn't return SUCCESS for going to either PLAYING or
20464 PAUSED. Test also the return values on the way back down.
20466 * gst/gstelement.c (gst_element_set_state): When changing the
20467 state of an element currently changing state asynchronously, go to
20468 lost-state after commiting the pending state. Makes future calls
20469 to get_state continue to return ASYNC.
20471 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20472 ASYNC when going to PLAYING if we still don't have preroll, as can
20473 happen with live sources.
20475 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20477 * docs/pwg/advanced-types.xml:
20478 Hack long paragraph into 2 chunks as a workaround for buggy
20479 jadetex version in sid and breezy that loops infinitely and
20482 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20484 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20485 (test_event), (timediff), (gstevents_suite):
20486 Provide more error margin in clock measurements to allow for
20487 g_get_current_time inaccuracies.
20489 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20491 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20492 (test_event), (timediff), (gstevents_suite):
20493 Fix error message output so I might be able to tell why the
20494 test works here but fails on the build farm.
20496 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20498 * check/Makefile.am:
20499 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20500 (test_event), (timediff), (gstevents_suite), (main):
20503 * docs/design/part-seeking.txt:
20504 Spelling correction
20506 * docs/gst/tmpl/gstevent.sgml:
20507 * docs/gst/tmpl/gstfakesrc.sgml:
20510 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20511 Treat a buffer-without-newsegment the same as a receiving
20512 a newsegment not in time format, and disable syncing to the clock
20515 * gst/gstbus.c: (gst_bus_set_sync_handler):
20516 Assert if anyone tries to replace the existing sync_handler for bus,
20517 as only the owner should be setting it.
20520 Have a fixed set of custom event enums with events identified by
20521 their structure name (as in 0.8), rather than a free-for-all
20522 allowing collisions between enum values from different plugins.
20524 * gst/gstpad.c: (gst_pad_class_init):
20527 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20528 Handle out-of-band downstream events from the sending thread.
20530 2005-08-17 Andy Wingo <wingo@pobox.com>
20532 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20533 play-timeout==0 to mean no timeout at all. In that case, don't
20534 bother with a get_state or a warning, just return directly, even
20537 * gst/base/gstbasetransform.c: Debug changes.
20540 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20541 ensure bins post state change messages. A bit of a hack but I can't
20542 think of a way to avoid it.
20544 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20546 2005-08-16 Andy Wingo <wingo@pobox.com>
20548 * gst/base/gstadapter.h:
20549 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20550 peek() but you own the data. Not terribly efficient atm.
20552 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20554 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20555 (gst_element_found_tags):
20557 Add two utility functions for tag handling.
20559 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20561 * docs/manual/advanced-dataaccess.xml:
20562 * docs/manual/basics-helloworld.xml:
20563 Fix docs to use _bin_add() before _link(), which fixes the examples
20564 with recent core versions (reported by Madhan Raj M
20565 <raj_madan@rediffmail.com>, #313199).
20567 2005-08-16 Wim Taymans <wim@fluendo.com>
20569 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20570 Added subtract checks.
20572 * docs/design/part-events.txt:
20573 Some more docs about newsegment
20575 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20578 * gst/gstcaps.c: (gst_caps_to_string):
20579 Add comments, cleanups.
20581 * gst/gstelement.c: (gst_element_save_thyself):
20584 * gst/gstvalue.c: (gst_value_collect_int_range),
20585 (gst_string_unwrap), (gst_value_union_int_int_range),
20586 (gst_value_union_int_range_int_range),
20587 (gst_value_intersect_int_int_range),
20588 (gst_value_intersect_int_range_int_range),
20589 (gst_value_intersect_double_double_range),
20590 (gst_value_intersect_double_range_double_range),
20591 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20592 (gst_value_subtract_int_range_int),
20593 (gst_value_subtract_double_range_double),
20594 (gst_value_subtract_double_range_double_range),
20595 (gst_value_subtract_from_list), (gst_value_subtract_list),
20596 (gst_value_can_compare), (gst_value_compare_fraction):
20597 Cleanups, add comments, remove unneeded asserts.
20599 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20601 * tools/gst-launch.c: (event_loop):
20602 don't convert NULL structures to strings
20604 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20606 * docs/gst/gstreamer-sections.txt:
20607 made some defines private
20608 * docs/gst/tmpl/gstconfig.sgml:
20609 * docs/gst/tmpl/gstqueue.sgml:
20610 * docs/gst/tmpl/gsttaglist.sgml:
20611 * docs/gst/tmpl/gsttypes.sgml:
20612 * docs/gst/tmpl/gstutils.sgml:
20613 * docs/pwg/appendix-porting.xml:
20614 * gst/base/gstbasesink.h:
20615 * gst/base/gstbasesrc.c:
20616 * gst/base/gstbasesrc.h:
20617 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20618 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20619 * gst/gstelement.c: (gst_element_class_init):
20620 * gst/gstpad.c: (gst_pad_class_init):
20621 * gst/gstqueue.c: (gst_queue_class_init):
20622 * gst/gstxml.c: (gst_xml_class_init):
20623 documented all undocumented signal inline
20624 * libs/gst/controller/gst-controller.h:
20627 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20629 * docs/pwg/appendix-porting.xml:
20630 Document _set_link_function -> _set_setcaps_function.
20632 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20634 * check/Makefile.am:
20635 add a .check target for running the check
20636 * check/gst-libs/controller.c: (GST_START_TEST):
20638 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20639 complete checks for gstbuffer; would be nice if I could get the
20640 gcov stuff to work so I can see if I actually completed gstbuffer.c
20641 * check/gstcheck.h:
20642 add ASSERT_BUFFER_REFCOUNT
20644 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20646 * docs/gst/gstreamer-sections.txt:
20647 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20649 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20650 spew out a warning if a tag that is already registered
20651 is re-registered, unless it is re-registered with a
20652 different type (#308438).
20654 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20656 * docs/pwg/appendix-porting.xml:
20657 * docs/pwg/building-state.xml:
20658 Add some paragraphs about state changes in 0.9 to the PWG
20659 and the porting guide, in particular about the new meaning
20660 of GST_STATE_PAUSED and how to write state change functions
20661 with concurrent access by multiple threads in mind.
20663 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20665 * docs/gst/gstreamer-docs.sgml:
20666 * docs/libs/gstreamer-libs-docs.sgml:
20667 added deprecation and since indexes
20668 * libs/gst/controller/gst-controller.c:
20669 * libs/gst/controller/gst-helper.c:
20673 2005-08-11 Wim Taymans <wim@fluendo.com>
20675 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20676 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20677 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20678 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20679 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20680 (gst_ghost_pad_set_target):
20681 Actually implement (re)setting the target on a ghostpad
20682 as described in the docs.
20684 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20686 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20687 Check whether GST_DEBUG_NO_COLOR environment variable is
20688 set and disable coloured debug output if that is the case.
20690 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20692 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20693 (gst_type_find_helper):
20694 The memory returned by gst_type_find_peek() needs to
20695 stay valid until the end of a typefind function, and
20696 typefind functions may keep results from different
20697 offsets around, so we can't just unref the buffer from
20698 the previous _peek(), but have to save all buffers
20699 returned by _peek() until typefinding is done and only
20702 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20704 * docs/gst/gstreamer-sections.txt:
20706 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20708 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20710 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20711 Fix a pretty good memleak.
20713 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20715 * gst/gstiterator.h:
20716 Fix wrong include and 'make distcheck'.
20718 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20720 * gst/gstbin.c: (bin_bus_handler):
20721 Use gst_element_post_message() instead.
20723 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20725 * gst/base/gstadapter.h:
20726 * gst/base/gstbasesink.h:
20727 * gst/base/gstbasesrc.h:
20728 * gst/base/gstbasetransform.h:
20729 * gst/base/gstcollectpads.h:
20730 * gst/base/gstpushsrc.h:
20731 * gst/gstiterator.h:
20732 Add padding to our base elements' class and instance structs and
20733 to GstIterator (you will need to rebuild all plugins and apps!)
20735 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20737 * gst/gstbin.c: (bin_bus_handler):
20738 Make default message forwarding from child->bus to bin->bus
20739 threadsafe and make it not emit warnings if the parent has no bus.
20741 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20743 * gst/gstelement.c: (activate_pads):
20744 On paused->ready, set pad->caps to NULL, as is the documented
20745 behaviour in this state change. Fixes playback of series of
20746 media files when visualization is enabled in Totem.
20748 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20750 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20751 Allow NULL as filter-caps (which means "any").
20753 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20755 * docs/libs/gstreamer-libs-sections.txt:
20756 * libs/gst/controller/gst-controller.c:
20757 * libs/gst/controller/gst-controller.h:
20758 * libs/gst/controller/gst-helper.c:
20759 adding more entries to the docs and fix small doc-bugs
20761 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20763 * docs/gst/gstreamer-docs.sgml:
20764 * docs/gst/gstreamer-sections.txt:
20765 * docs/gst/gstreamer.types:
20766 * docs/gst/tmpl/gstbasesink.sgml:
20767 * docs/gst/tmpl/gstbasesrc.sgml:
20768 * docs/gst/tmpl/gstbasetransform.sgml:
20769 * docs/gst/tmpl/gstfakesrc.sgml:
20770 * gst/base/gstcollectpads.c:
20771 * gst/base/gstcollectpads.h:
20772 * libs/gst/controller/gst-controller.c:
20773 * libs/gst/controller/gst-controller.h:
20774 * libs/gst/controller/gst-helper.c:
20775 * libs/gst/controller/gst-interpolation.c:
20776 * libs/gst/controller/lib.c:
20777 added long/short desc for controller docs
20778 added collectpads base class docs
20779 added correct includes to base-class docs
20781 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20783 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20784 (gst_test_mono_source_set_property),
20785 (gst_test_mono_source_class_init), (GST_START_TEST),
20786 (gst_controller_suite):
20787 * docs/gst/gstreamer-docs.sgml:
20788 * docs/gst/gstreamer-sections.txt:
20789 * docs/gst/gstreamer.types:
20790 * docs/libs/gstreamer-libs-docs.sgml:
20791 * docs/libs/gstreamer-libs-sections.txt:
20792 * gst/base/gstadapter.c:
20793 * libs/gst/controller/gst-controller.c:
20794 (gst_controlled_property_new), (gst_controlled_property_free),
20795 (gst_controller_new_valist),
20796 (gst_controller_remove_properties_valist),
20797 (gst_controller_sink_values), (_gst_controller_finalize):
20798 * libs/gst/controller/gst-controller.h:
20799 * libs/gst/controller/gst-helper.c:
20800 (gst_object_control_properties), (gst_object_uncontrol_properties),
20801 (gst_object_get_controller), (gst_object_set_controller),
20802 (gst_object_sink_values), (gst_object_get_value_arrays),
20803 (gst_object_get_value_array):
20804 more tests (and fixes) for the controller
20805 more docs for the controller
20806 integrated companies docs for the adapter
20808 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20810 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20811 (GST_START_TEST), (fakesrc_suite):
20812 add tests for sizetype
20814 2005-08-04 Andy Wingo <wingo@pobox.com>
20816 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20817 fixes buffer_alloc proxying among other things.
20819 * gst/base/gstbasetransform.c:
20820 * gst/base/gstbasetransform.h:
20821 Revert patch to gstbasetransform from 7-28 removing
20824 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20825 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20826 Semantics changed, should return not the size of the output buffer
20827 but the byte size of a buffer with a given caps.
20829 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20831 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20832 out) are not the pad caps until setcaps finishes.
20833 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20834 not-in-place case as well. Deal with changing from in-place to
20835 not-in-place within calling pad_alloc_buffer. Still a bit
20836 concerned about the overhead here...
20838 2005-08-03 Andy Wingo <wingo@pobox.com>
20840 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20841 fixating is an error.
20843 2005-08-04 Edward Hervey <edward@fluendo.com>
20845 * gst/base/gstadapter.h:
20846 Added gst_adapter_get_type() to the header
20848 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20850 * check/Makefile.am:
20851 * check/gst-libs/controller.c:
20852 * libs/gst/controller/gst-controller.c:
20853 (gst_controller_new_valist):
20854 added check test suite for the controller
20855 * gst/base/gstpushsrc.c:
20858 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20860 * docs/gst/Makefile.am:
20861 * docs/gst/gstreamer-docs.sgml:
20862 * docs/gst/gstreamer-sections.txt:
20863 * docs/gst/gstreamer.types:
20864 * docs/gst/tmpl/gstfakesrc.sgml:
20866 * gst/base/gstbasesink.c:
20867 * gst/base/gstbasesink.h:
20868 * gst/base/gstbasesrc.c:
20869 * gst/base/gstbasesrc.h:
20870 * gst/base/gstbasetransform.c:
20871 * gst/base/gstpushsrc.c:
20872 * gst/base/gstpushsrc.h:
20873 add short/long description docs to base classes
20874 add pushsrc to the docs
20875 remove consolidated doc fragments
20877 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20880 * docs/libs/Makefile.am:
20881 * docs/libs/gstreamer-libs-docs.sgml:
20882 * docs/libs/gstreamer-libs-sections.txt:
20883 * docs/libs/gstreamer-libs.types:
20884 * examples/Makefile.am:
20885 * examples/controller/.cvsignore:
20886 * examples/controller/Makefile.am:
20887 * examples/controller/audio-example.c: (main):
20888 * libs/gst/Makefile.am:
20889 * libs/gst/controller/.cvsignore:
20890 * libs/gst/controller/Makefile.am:
20891 * libs/gst/controller/gst-controller.c:
20892 (on_object_controlled_property_changed), (gst_timed_value_compare),
20893 (gst_timed_value_find),
20894 (gst_controlled_property_set_interpolation_mode),
20895 (gst_controlled_property_new), (gst_controlled_property_free),
20896 (gst_controller_find_controlled_property),
20897 (gst_controller_new_valist), (gst_controller_new),
20898 (gst_controller_remove_properties_valist),
20899 (gst_controller_remove_properties), (gst_controller_set),
20900 (gst_controller_set_from_list), (gst_controller_unset),
20901 (gst_controller_get), (gst_controller_get_all),
20902 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20903 (gst_controller_get_value_array),
20904 (gst_controller_set_interpolation_mode),
20905 (_gst_controller_finalize), (_gst_controller_init),
20906 (_gst_controller_class_init), (gst_controller_get_type):
20907 * libs/gst/controller/gst-controller.h:
20908 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20909 (g_object_uncontrol_properties), (g_object_get_controller),
20910 (g_object_set_controller), (g_object_sink_values),
20911 (g_object_get_value_arrays), (g_object_get_value_array):
20912 * libs/gst/controller/gst-interpolation.c:
20913 (gst_controlled_property_find_timed_value_node),
20914 (interpolate_none_get), (interpolate_trigger_get),
20915 (interpolate_trigger_get_value_array):
20916 * libs/gst/controller/lib.c: (gst_controller_init):
20917 * pkgconfig/Makefile.am:
20918 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20919 * pkgconfig/gstreamer-control.pc.in:
20920 * testsuite/Makefile.am:
20921 * testsuite/controller/.cvsignore:
20922 * testsuite/controller/Makefile.am:
20923 * testsuite/controller/interpolator.c: (main):
20924 added controller code
20925 removed dparam pc files
20927 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20928 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20929 (gst_collectpads_stop):
20930 Broadcast the condition when shutting down, to make sure we wake all
20931 threads up. Shut down pads on finalize, for safety.
20933 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20934 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20935 (gst_base_transform_handle_buffer),
20936 (gst_base_transform_change_state):
20937 Handle PAUSED->READY->PAUSED transition after negotiation
20939 * gst/gstmessage.c: (gst_message_init):
20940 Extra piece of debug for new messages.
20942 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20945 * docs/gst/tmpl/gstbasesrc.sgml:
20946 * docs/gst/tmpl/gstelement.sgml:
20947 * docs/gst/tmpl/gstevent.sgml:
20948 * docs/gst/tmpl/gstfakesrc.sgml:
20949 * docs/gst/tmpl/gstformat.sgml:
20950 * docs/gst/tmpl/gstghostpad.sgml:
20951 * docs/gst/tmpl/gstpad.sgml:
20952 * docs/gst/tmpl/gstquery.sgml:
20953 * docs/gst/tmpl/gststructure.sgml:
20954 * docs/gst/tmpl/gsttaglist.sgml:
20955 * docs/gst/tmpl/gstvalue.sgml:
20956 * docs/libs/gstreamer-libs-docs.sgml:
20957 * docs/libs/gstreamer-libs-sections.txt:
20958 * docs/libs/gstreamer-libs.types:
20959 * libs/gst/Makefile.am:
20960 * libs/gst/control/.cvsignore:
20961 * libs/gst/control/Makefile.am:
20962 * libs/gst/control/control.c:
20963 * libs/gst/control/control.h:
20964 * libs/gst/control/dparam.c:
20965 * libs/gst/control/dparam.h:
20966 * libs/gst/control/dparam_smooth.c:
20967 * libs/gst/control/dparam_smooth.h:
20968 * libs/gst/control/dparamcommon.h:
20969 * libs/gst/control/dparammanager.c:
20970 * libs/gst/control/dparammanager.h:
20971 * libs/gst/control/dplinearinterp.c:
20972 * libs/gst/control/dplinearinterp.h:
20973 * libs/gst/control/unitconvert.c:
20974 * libs/gst/control/unitconvert.h:
20975 * testsuite/Makefile.am:
20976 * testsuite/dynparams/.cvsignore:
20977 * testsuite/dynparams/Makefile.am:
20978 * testsuite/dynparams/dparamstest.c:
20979 * tools/Makefile.am:
20980 * tools/gst-inspect.c: (print_element_info), (main):
20981 * tools/gst-xmlinspect.c: (print_element_info), (main):
20982 deactivate and remove dparams (libgstcontrol)
20984 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20986 * gst/elements/gsttypefindelement.c:
20987 (gst_type_find_element_have_type), (gst_type_find_element_init),
20988 (stop_typefinding), (gst_type_find_element_handle_event),
20989 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20990 * gst/elements/gsttypefindelement.h:
20991 Set caps on all outgoing buffers, not just the first one.
20993 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20995 * gst/elements/gsttypefindelement.c:
20996 (gst_type_find_element_have_type),
20997 (gst_type_find_element_check_set_buffer_caps),
20998 (gst_type_find_element_init), (stop_typefinding),
20999 (gst_type_find_element_handle_event),
21000 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21001 * gst/elements/gsttypefindelement.h:
21002 Set caps on first outgoing buffer when we've found the type.
21004 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21006 * docs/gst/gstreamer-docs.sgml:
21007 * docs/gst/gstreamer-sections.txt:
21008 * docs/gst/tmpl/gstscheduler.sgml:
21009 * docs/gst/tmpl/gstschedulerfactory.sgml:
21010 Remove some old cruft from docs.
21012 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21015 Fix inline docs for GstPadLinkReturn.
21017 * gst/gststructure.c: (gst_structure_has_name):
21018 * gst/gststructure.h:
21019 * docs/gst/gstreamer-sections.txt:
21020 New API: gst_structure_has_name().
21022 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21025 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21026 and _LARGEFILE_SOURCE in config.h as required. Do not
21027 export those flags in our .pc files any longer (#142209).
21029 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21031 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21032 (gst_file_sink_do_seek), (gst_file_sink_event),
21033 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21034 Redo seek/tell calls with large file support in mind; add some
21035 debugging messages; add log message that tells us when large
21036 file support is unavailable or not enabled for some reason.
21038 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21039 Add log message that tells us when large file support
21040 is unavailable or not enabled for some reason.
21042 2005-07-29 Wim Taymans <wim@fluendo.com>
21044 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21045 Added test for removing an element with ghostpad from a bin.
21046 Fixed test as current implementation does the right thing.
21048 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21049 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21050 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21051 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21052 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21053 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21054 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21055 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21056 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21057 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21058 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21059 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21060 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21061 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21062 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21063 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21064 * gst/gstghostpad.h:
21065 Clean up ghostpads, remove properties for internal stuff.
21068 Prepare for switching targets, not all use cases work yet.
21070 2005-07-29 Wim Taymans <wim@fluendo.com>
21072 * docs/design/part-gstghostpad.txt:
21075 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21076 (gst_bin_remove_func):
21077 Unlinking pads while holding the bin LOCK is not a good
21080 * gst/gstpad.c: (gst_pad_class_init),
21081 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21082 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21083 No prob setting template after creating the pad.
21085 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21087 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21088 (gst_bus_peek), (gst_bus_source_dispatch),
21089 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21090 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21091 gst_bus_poll may be called from other threads. Handle
21092 this nicely by not making poll_data disappear off the
21093 stack once gst_bus_poll returns.
21094 gst_bus_peek now increments the refcount on the returned
21097 2005-07-29 Wim Taymans <wim@fluendo.com>
21099 * docs/design/part-gstghostpad.txt:
21100 Overview of current GhostPad datastructures and use
21101 cases for changing the target.
21103 2005-07-28 Wim Taymans <wim@fluendo.com>
21105 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21106 Added checks for hierarchy consistency whan adding linked
21109 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21110 Added check to test element scheduling without bin/pipeline.
21112 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21113 First add elements to bin, then link.
21115 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21116 (gst_bin_remove_func):
21117 Unlink pads from elements added/removed from bin to maintain
21118 hierarchy consistency.
21120 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21122 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21123 (gst_base_transform_handle_buffer):
21124 * gst/base/gstbasetransform.h:
21125 Remove broken delay_configure (fixes renegotiation of software
21126 scaling pipelines); remove some leftover printf()s.
21128 2005-07-28 Wim Taymans <wim@fluendo.com>
21130 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21131 Added some more tests for wrong hierarchy
21133 * docs/design/part-overview.txt:
21136 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21139 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21140 (gst_element_dispose):
21141 Some more cleanups.
21143 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21144 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21145 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21146 (gst_pad_set_caps), (gst_pad_send_event):
21147 Check for correct hierarchy when linking pads. Moving to
21148 strict requirement for ghostpads when linking elements in
21152 Clean ups. Added WRONG_HIERARCHY return value.
21154 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21156 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21157 Better debug if no transform is possible.
21159 2005-07-27 Wim Taymans <wim@fluendo.com>
21161 * docs/random/wtay/network-transp:
21162 Some old doc I had.
21164 2005-07-27 Wim Taymans <wim@fluendo.com>
21166 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21167 (gst_dp_event_from_packet):
21168 Fix serialization of seek events.
21170 2005-07-27 Wim Taymans <wim@fluendo.com>
21172 * check/gst-libs/gdp.c: (GST_START_TEST):
21173 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21174 Fix compilation and fix event serialization.
21176 2005-07-27 Wim Taymans <wim@fluendo.com>
21179 * docs/design/part-TODO.txt:
21180 * docs/design/part-events.txt:
21183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21184 (gst_base_sink_event), (gst_base_sink_do_sync),
21185 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21186 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21187 (gst_base_src_do_seek), (gst_base_src_event_handler),
21188 (gst_base_src_loop):
21189 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21190 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21191 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21192 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21193 (gst_base_transform_set_passthrough),
21194 (gst_base_transform_is_passthrough):
21195 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21196 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21202 * gst/gstelement.c: (gst_element_seek):
21203 * gst/gstelement.h:
21204 Update gst_element_seek.
21206 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21207 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21208 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21209 (gst_event_new_eos), (gst_event_new_newsegment),
21210 (gst_event_parse_newsegment), (gst_event_new_tag),
21211 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21212 (gst_event_parse_qos), (gst_event_new_seek),
21213 (gst_event_parse_seek), (gst_event_new_navigation):
21215 Make GstEvent use GstStructure. Add parsing code, make sure the
21216 API is sufficiently generic.
21217 Mark possible directions of events and serialization.
21219 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21220 (_gst_message_copy), (gst_message_new_segment_start),
21221 (gst_message_new_segment_done), (gst_message_new_custom),
21222 (gst_message_parse_segment_start),
21223 (gst_message_parse_segment_done):
21226 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21227 (gst_pad_set_caps), (gst_pad_send_event):
21228 Update for new events.
21229 Catch events sent in wrong directions.
21231 * gst/gstqueue.c: (gst_queue_link_src),
21232 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21233 (gst_queue_handle_src_query):
21238 Remove event code from this file.
21240 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21241 (gst_dp_event_from_packet):
21244 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21246 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21247 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21248 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21249 Make debugging actually useful.
21251 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21253 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21254 (gst_pad_fixate_caps):
21255 Implement default fixation once again, so that gst_pad_fixate()
21256 actually does anything at all. This probably needs to be some
21257 sort of a last resort, and use profile-based fixation first, but
21258 since that doesn't exist yet, this is the best we have. Fixes
21259 visualization in Totem.
21261 2005-07-22 Wim Taymans <wim@fluendo.com>
21263 * docs/design/part-events.txt:
21266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21267 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21268 (gst_base_sink_activate_pull):
21269 Some more comments.
21271 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21272 (gst_fake_src_create):
21273 Fix handoff marshall.
21275 * gst/elements/gstidentity.c: (gst_identity_class_init),
21276 (gst_identity_transform_ip):
21277 We're a real inplace element.
21279 * gst/gstbus.c: (gst_bus_post):
21280 Added some comments.
21282 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21283 * tests/muxing/case1.c: (main):
21284 * tests/sched/dynamic-pipeline.c: (main):
21285 * tests/sched/interrupt1.c: (main):
21286 * tests/sched/interrupt2.c: (main):
21287 * tests/sched/interrupt3.c: (main):
21288 * tests/sched/runxml.c: (main):
21289 * tests/sched/sched-stress.c: (main):
21290 * tests/seeking/seeking1.c: (event_received), (main):
21291 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21293 * tests/threadstate/threadstate3.c: (main):
21294 * tests/threadstate/threadstate4.c: (main):
21295 * tests/threadstate/threadstate5.c: (main):
21298 2005-07-21 Wim Taymans <wim@fluendo.com>
21300 * docs/design/part-seeking.txt:
21301 Some small additions.
21303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21304 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21305 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21306 * gst/base/gstbasesink.h:
21307 discont values are gint64, handle the math correctly.
21309 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21310 Make the basesrc report error if the source pad is not linked.
21312 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21313 (gst_queue_loop), (gst_queue_handle_src_query),
21314 (gst_queue_src_activate_push):
21315 Make queue collect data even if the srcpad is not linked.
21316 Start pushing out data as soon as it is linked.
21318 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21320 Added gst_flow_get_name() to ease error reporting.
21322 2005-07-20 Wim Taymans <wim@fluendo.com>
21324 * gst/gstmessage.c: (gst_message_new_segment_start),
21325 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21326 (gst_message_parse_segment_done):
21327 * gst/gstmessage.h:
21328 Added a bunch of messages for advanced seeking.
21330 * gst/parse/grammar.y:
21331 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21332 (gst_dpman_state_changed):
21333 Fix some new-pad -> pad-added signals
21335 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21337 * docs/manual/appendix-porting.xml:
21338 * docs/pwg/appendix-porting.xml:
21339 Document new-pad/state-change signal renames and the FixedList
21342 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21344 * docs/manual/advanced-autoplugging.xml:
21345 * docs/manual/basics-helloworld.xml:
21346 * docs/manual/basics-pads.xml:
21347 * docs/random/ds/0.9-suggested-changes:
21348 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21349 * gst/gstelement.h:
21353 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21354 (gst_structure_parse_array), (gst_structure_parse_value):
21355 * gst/gstvalue.c: (gst_type_is_fixed),
21356 (gst_value_list_prepend_value), (gst_value_list_append_value),
21357 (gst_value_list_get_size), (gst_value_list_get_value),
21358 (gst_value_transform_array_string), (gst_value_serialize_array),
21359 (gst_value_deserialize_array), (gst_value_intersect_array),
21360 (gst_value_is_fixed), (_gst_value_initialize):
21362 GstElement::new-pad -> pad-added, GstElement::state-change ->
21363 state-changed, GstValueFixedList -> GstValueArray, add format and
21364 flags as their own arguments in gst_element_seek() (should improve
21365 "bindeability"), remove function generators since they don't work
21366 under a whole bunch of compilers (they were deprecated already
21369 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21371 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21372 (_gst_debug_register_funcptr):
21374 Fix illegal cast on some platforms (#309253).
21376 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21378 * gst/gstmessage.c: (gst_message_new_custom):
21379 * gst/gstmessage.h:
21380 Add _new_custom, make _new_application a macro to _new_custom.
21382 2005-07-20 Wim Taymans <wim@fluendo.com>
21384 * gst/base/gstbasesrc.c: (gst_base_src_init),
21385 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21386 * gst/base/gstbasesrc.h:
21387 Add a gboolean to decide when to push out a discont.
21389 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21390 (gst_queue_loop), (gst_queue_handle_src_query),
21391 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21392 (gst_queue_set_property), (gst_queue_get_property):
21395 * tests/threadstate/threadstate1.c: (main):
21396 Make a thread test compile and run... very silly..
21399 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21401 * docs/manual/appendix-porting.xml:
21402 Mention removal of libgstgconf-0.9.la and existence of gconf
21405 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21407 * docs/pwg/advanced-clock.xml:
21408 * docs/pwg/appendix-porting.xml:
21409 * docs/pwg/intro-preface.xml:
21410 * docs/pwg/other-base.xml:
21411 * docs/pwg/other-manager.xml:
21412 * docs/pwg/other-nton.xml:
21413 * docs/pwg/other-ntoone.xml:
21414 * docs/pwg/other-oneton.xml:
21415 * docs/pwg/pwg.xml:
21416 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21417 demuxer), remove n-to-n (was never written), fix some code examples
21418 and links and update the porting section to include all this.
21420 2005-07-19 Wim Taymans <wim@fluendo.com>
21422 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21423 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21424 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21425 (gst_queue_src_activate_push), (gst_queue_change_state),
21426 (gst_queue_get_property):
21428 Propagate GstFlowReturn more intelligently upstream and output
21429 an ERROR/EOS when streaming stopped due to fatal error.
21431 2005-07-19 Wim Taymans <wim@fluendo.com>
21433 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21434 Don't block forever for the state change to complete, the
21435 pipeline already did with a sensible timeout.
21437 2005-07-19 Wim Taymans <wim@fluendo.com>
21439 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21440 Make sure we never call the create function is we
21443 2005-07-19 Andy Wingo <wingo@pobox.com>
21445 * gst/parse/parse.l: Attempt to solve bug #172815.
21447 2005-07-19 Wim Taymans <wim@fluendo.com>
21449 * docs/design/part-clocks.txt:
21450 * docs/design/part-events.txt:
21451 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21452 Small docs updates.
21453 Only update the seeking values when we are not
21456 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21458 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21459 Oops, ignore the result of gst_pad_push_event here.
21461 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21463 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21464 (gst_base_src_activate_push):
21465 Send discont event from the loop function, as pads
21466 aren't activated yet in the activate_push handler.
21468 * gst/gstbin.c: (bin_bus_handler):
21469 Don't leak element name.
21471 2005-07-18 Andy Wingo <wingo@pobox.com>
21473 * configure.ac: Use AS_LIBTOOL_TAGS.
21475 2005-07-18 Wim Taymans <wim@fluendo.com>
21477 * docs/gst/gstreamer.types:
21478 Remove deleted types.
21480 2005-07-18 Wim Taymans <wim@fluendo.com>
21482 * check/elements/gstfakesrc.c: (GST_START_TEST):
21485 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21486 (init_popt_callback):
21488 * gst/gst_private.h:
21489 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21490 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21493 * gst/gstconfig.h.in:
21494 * gst/gstelement.c: (gst_element_class_init),
21495 (gst_element_set_base_time), (gst_element_get_base_time),
21496 (iterator_fold_with_resync), (gst_element_change_state),
21497 (gst_element_dispose), (gst_element_get_bus):
21498 * gst/gstelement.h:
21499 * gst/gstelementfactory.h:
21500 * gst/gsterror.c: (_gst_core_errors_init):
21503 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21505 * gst/gstinfo.c: (_gst_debug_init):
21506 * gst/gstmessage.c: (_gst_message_copy):
21507 * gst/gstmessage.h:
21508 * gst/gstminiobject.h:
21511 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21512 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21515 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21516 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21517 (gst_pipeline_get_last_stream_time):
21518 * gst/gstpipeline.h:
21519 * gst/gstpluginfeature.h:
21521 * gst/gstscheduler.c:
21522 * gst/gstscheduler.h:
21523 * gst/gststructure.h:
21524 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21525 (gst_task_finalize), (gst_task_func), (gst_task_create),
21526 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21527 (gst_task_stop), (gst_task_pause):
21529 * gst/gsttypefind.h:
21531 * gst/registries/gstlibxmlregistry.c: (load_feature),
21532 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21533 * gst/registries/gstxmlregistry.c:
21534 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21535 * gst/schedulers/threadscheduler.c:
21536 * libs/gst/control/dparammanager.h:
21537 * tools/gst-inspect.c: (print_element_list),
21538 (print_plugin_features), (print_element_features):
21539 * tools/gst-xmlinspect.c: (print_element_list),
21540 (print_plugin_info), (main):
21541 Removed plugable schedulers.
21542 Removed Scheduler/Manager from elements.
21543 Removed gsttypes.h, rearranged includes.
21544 Removed dependency pad<->element, element<>pipeline, and
21545 various others, fix includes.
21546 implement gst_pad_get_parent() with gst_object_get_parent()
21547 Make GstTask sefcontained.
21548 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21550 Fix endless loop in iterator_fold_with_resync.
21553 2005-07-18 Wim Taymans <wim@fluendo.com>
21559 2005-07-18 Wim Taymans <wim@fluendo.com>
21562 No more cothreads.h
21564 2005-07-18 Wim Taymans <wim@fluendo.com>
21568 Let's remove these.
21570 2005-07-18 Wim Taymans <wim@fluendo.com>
21572 * docs/design/part-dynamic.txt:
21573 * docs/design/part-events.txt:
21574 * docs/design/part-seeking.txt:
21575 Some more docs in the works.
21577 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21578 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21579 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21580 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21581 (gst_base_transform_handle_buffer),
21582 (gst_base_transform_sink_activate_push),
21583 (gst_base_transform_src_activate_pull),
21584 (gst_base_transform_set_passthrough),
21585 (gst_base_transform_is_passthrough):
21588 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21591 * gst/gstevent.c: (gst_event_finalize):
21594 * gst/gstutils.c: (gst_element_unlink),
21595 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21596 (gst_pad_proxy_setcaps):
21598 Add _get_parent_element() to get a pads parent as an element.
21600 2005-07-18 Wim Taymans <wim@fluendo.com>
21602 * check/gst/gstbin.c: (GST_START_TEST):
21605 2005-07-18 Wim Taymans <wim@fluendo.com>
21607 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21608 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21609 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21610 (gst_base_sink_event), (gst_base_sink_do_sync),
21611 (gst_base_sink_chain), (gst_base_sink_loop),
21612 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21613 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21615 Fix logic for returning ASYNC when not prerolled.
21617 2005-07-18 Wim Taymans <wim@fluendo.com>
21619 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21620 Fix nasty refcount bug.
21622 2005-07-16 Philippe Khalaf <burger@speedy.org>
21624 * gst/elements/gstfdsrc.c:
21625 * gst/elements/gstfdsrc.h:
21626 * gst/elements/gstelements.c:
21627 * gst/elements/Makefile.am:
21628 Ported fdsrc to 0.9.
21630 2005-07-16 Wim Taymans <wim@fluendo.com>
21632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21633 (gst_base_sink_do_sync):
21636 2005-07-16 Wim Taymans <wim@fluendo.com>
21638 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21639 (gst_base_sink_event), (gst_base_sink_get_times),
21640 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21641 * gst/base/gstbasesink.h:
21642 Store and use discont values when syncing buffers as described
21645 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21646 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21647 (gst_base_src_activate_push):
21648 Push discont event when starting.
21650 * gst/elements/gstidentity.c: (gst_identity_transform):
21653 * gst/gstbin.c: (gst_bin_change_state):
21654 Small cleanups in base_time distribution.
21656 * gst/gstelement.c: (gst_element_set_base_time),
21657 (gst_element_get_base_time), (gst_element_change_state):
21658 * gst/gstelement.h:
21659 Added methods for the base_time of the element.
21662 * gst/gstpipeline.c: (gst_pipeline_send_event),
21663 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21664 (gst_pipeline_get_last_stream_time):
21665 * gst/gstpipeline.h:
21667 Handle seeking as described in design doc, remove stream_time
21669 Cleanups clock and stream_time selection code. Added accessors
21670 for the stream_time.
21673 2005-07-16 Andy Wingo <wingo@pobox.com>
21675 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21678 2005-07-16 Wim Taymans <wim@fluendo.com>
21680 * check/gst/gstbin.c: (GST_START_TEST):
21681 Make elements silent as the deep_notify refs the
21682 parent, which might make the test fail.
21684 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21685 Don't hold the lock for too long.
21687 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21689 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21690 Don't unref the caps we passed to gst_caps_make_writable() after
21691 passing them. gst_caps_make_writable() will do that for us.
21693 2005-07-15 Andy Wingo <wingo@pobox.com>
21695 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21698 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21699 own marshalling function for the handoff signal. Properly type the
21700 buffer as a buffer. Fixes some warnings. Should do a more general
21702 (gst_identity_class_init): Plug into the right marshaller.
21704 2005-07-15 Wim Taymans <wim@fluendo.com>
21706 * docs/design/part-TODO.txt:
21707 * docs/design/part-clocks.txt:
21708 * docs/design/part-element-sink.txt:
21709 * docs/design/part-events.txt:
21710 * docs/design/part-gstpipeline.txt:
21711 Updated docs, mostly DISCONT related.
21713 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21715 * docs/pwg/building-pads.xml:
21716 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21718 2005-07-15 Andy Wingo <wingo@pobox.com>
21720 * tools/gst-typefind.c: Update, add copyright block.
21722 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21723 Normalize and truncate caps before fixation.
21726 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21727 discards all but the first structure from its argument.
21729 2005-07-15 Wim Taymans <wim@fluendo.com>
21731 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21732 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21733 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21734 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21735 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21736 (gst_base_transform_chain), (gst_base_transform_change_state),
21737 (gst_base_transform_set_passthrough),
21738 (gst_base_transform_is_passthrough):
21739 * gst/base/gstbasetransform.h:
21740 Make passthrough work using the bufferpools.
21741 Changed API a bit, subclasses have to write into a buffer
21742 provided by the base class.
21743 More debug info in nego functions.
21745 * gst/elements/gstidentity.c: (gst_identity_init),
21746 (gst_identity_transform):
21747 Port to new base class.
21749 2005-07-15 Wim Taymans <wim@fluendo.com>
21751 * gst/gstmessage.c: (gst_message_new_state_changed):
21752 * tools/gst-launch.c: (event_loop), (main):
21753 Totally dump messages in -launch with the -m option.
21754 Fix message name for State messages,
21756 2005-07-14 Wim Taymans <wim@fluendo.com>
21758 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21759 Post error messages on errors.
21761 2005-07-14 Wim Taymans <wim@fluendo.com>
21763 * gst/gstcaps.c: (gst_caps_do_simplify):
21767 Define error for stream stopped.
21769 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21770 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21771 Do proper return values.
21773 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21774 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21775 (gst_pad_get_range):
21776 Better return values.
21779 Reorganise return values, add macro to check for fatal errors.
21781 * gst/gstqueue.c: (gst_queue_chain):
21782 Return proper GstFlowReturn values,
21784 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21786 * docs/gst/gstreamer-sections.txt:
21787 * docs/gst/gstreamer.types:
21788 * docs/gst/tmpl/gst.sgml:
21789 * docs/gst/tmpl/gstbasesink.sgml:
21790 * docs/gst/tmpl/gstbasesrc.sgml:
21791 * docs/gst/tmpl/gstbasetransform.sgml:
21792 * docs/gst/tmpl/gstbin.sgml:
21793 * docs/gst/tmpl/gstbuffer.sgml:
21794 * docs/gst/tmpl/gstcaps.sgml:
21795 * docs/gst/tmpl/gstclock.sgml:
21796 * docs/gst/tmpl/gstcompat.sgml:
21797 * docs/gst/tmpl/gstconfig.sgml:
21798 * docs/gst/tmpl/gstelement.sgml:
21799 * docs/gst/tmpl/gstelementdetails.sgml:
21800 * docs/gst/tmpl/gstelementfactory.sgml:
21801 * docs/gst/tmpl/gstenumtypes.sgml:
21802 * docs/gst/tmpl/gsterror.sgml:
21803 * docs/gst/tmpl/gstevent.sgml:
21804 * docs/gst/tmpl/gstfakesink.sgml:
21805 * docs/gst/tmpl/gstfakesrc.sgml:
21806 * docs/gst/tmpl/gstfilesink.sgml:
21807 * docs/gst/tmpl/gstfilesrc.sgml:
21808 * docs/gst/tmpl/gstfilter.sgml:
21809 * docs/gst/tmpl/gstformat.sgml:
21810 * docs/gst/tmpl/gstghostpad.sgml:
21811 * docs/gst/tmpl/gstimplementsinterface.sgml:
21812 * docs/gst/tmpl/gstindex.sgml:
21813 * docs/gst/tmpl/gstindexfactory.sgml:
21814 * docs/gst/tmpl/gstinfo.sgml:
21815 * docs/gst/tmpl/gstiterator.sgml:
21816 * docs/gst/tmpl/gstmacros.sgml:
21817 * docs/gst/tmpl/gstmemchunk.sgml:
21818 * docs/gst/tmpl/gstminiobject.sgml:
21819 * docs/gst/tmpl/gstobject.sgml:
21820 * docs/gst/tmpl/gstpad.sgml:
21821 * docs/gst/tmpl/gstpadtemplate.sgml:
21822 * docs/gst/tmpl/gstparse.sgml:
21823 * docs/gst/tmpl/gstpipeline.sgml:
21824 * docs/gst/tmpl/gstplugin.sgml:
21825 * docs/gst/tmpl/gstpluginfeature.sgml:
21826 * docs/gst/tmpl/gstquery.sgml:
21827 * docs/gst/tmpl/gstqueue.sgml:
21828 * docs/gst/tmpl/gstregistry.sgml:
21829 * docs/gst/tmpl/gstregistrypool.sgml:
21830 * docs/gst/tmpl/gstscheduler.sgml:
21831 * docs/gst/tmpl/gstschedulerfactory.sgml:
21832 * docs/gst/tmpl/gststructure.sgml:
21833 * docs/gst/tmpl/gstsystemclock.sgml:
21834 * docs/gst/tmpl/gsttaglist.sgml:
21835 * docs/gst/tmpl/gsttagsetter.sgml:
21836 * docs/gst/tmpl/gsttrace.sgml:
21837 * docs/gst/tmpl/gsttrashstack.sgml:
21838 * docs/gst/tmpl/gsttypefind.sgml:
21839 * docs/gst/tmpl/gsttypefindfactory.sgml:
21840 * docs/gst/tmpl/gsttypes.sgml:
21841 * docs/gst/tmpl/gsturihandler.sgml:
21842 * docs/gst/tmpl/gsturitype.sgml:
21843 * docs/gst/tmpl/gstutils.sgml:
21844 * docs/gst/tmpl/gstvalue.sgml:
21845 * docs/gst/tmpl/gstversion.sgml:
21846 * docs/gst/tmpl/gstxml.sgml:
21847 * docs/libs/tmpl/gstcontrol.sgml:
21848 * docs/libs/tmpl/gstdataprotocol.sgml:
21849 * docs/libs/tmpl/gstdparam.sgml:
21850 * docs/libs/tmpl/gstdplinint.sgml:
21851 * docs/libs/tmpl/gstdpman.sgml:
21852 * docs/libs/tmpl/gstdpsmooth.sgml:
21853 * docs/libs/tmpl/gstgetbits.sgml:
21854 * docs/libs/tmpl/gstunitconvert.sgml:
21855 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21856 (gst_push_src_base_init), (gst_push_src_class_init),
21857 (gst_push_src_init), (gst_push_src_create):
21858 * gst/base/gstpushsrc.h:
21859 * gst/elements/gstelements.c:
21860 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21861 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21862 (gst_fake_sink_init), (gst_fake_sink_set_property),
21863 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21864 (gst_fake_sink_event), (gst_fake_sink_preroll),
21865 (gst_fake_sink_render), (gst_fake_sink_change_state):
21866 * gst/elements/gstfakesink.h:
21867 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21868 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21869 (gst_fake_src_base_init), (gst_fake_src_class_init),
21870 (gst_fake_src_init), (gst_fake_src_event_handler),
21871 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21872 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21873 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21874 (gst_fake_src_create_buffer), (gst_fake_src_create),
21875 (gst_fake_src_start), (gst_fake_src_stop):
21876 * gst/elements/gstfakesrc.h:
21877 * gst/elements/gstfilesink.c: (_do_init),
21878 (gst_file_sink_base_init), (gst_file_sink_class_init),
21879 (gst_file_sink_init), (gst_file_sink_dispose),
21880 (gst_file_sink_set_location), (gst_file_sink_set_property),
21881 (gst_file_sink_get_property), (gst_file_sink_open_file),
21882 (gst_file_sink_close_file), (gst_file_sink_query),
21883 (gst_file_sink_event), (gst_file_sink_render),
21884 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21885 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21886 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21887 * gst/elements/gstfilesink.h:
21888 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21889 (gst_file_src_class_init), (gst_file_src_init),
21890 (gst_file_src_finalize), (gst_file_src_set_location),
21891 (gst_file_src_set_property), (gst_file_src_get_property),
21892 (gst_file_src_map_region), (gst_file_src_map_small_region),
21893 (gst_file_src_create_mmap), (gst_file_src_create_read),
21894 (gst_file_src_create), (gst_file_src_is_seekable),
21895 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21896 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21897 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21898 (gst_file_src_uri_handler_init):
21899 * gst/elements/gstfilesrc.h:
21900 more autistic cleanliness in functions/names/defines
21902 2005-07-13 Andy Wingo <wingo@pobox.com>
21904 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21905 source couldn't negotiate.
21907 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21911 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21912 function. I am channeling Hades. Put your boots on suckers!!!
21914 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21916 * testsuite/caps/Makefile.am:
21917 * testsuite/caps/value_compare.c:
21918 * testsuite/caps/value_intersect.c:
21919 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21920 move two testsuite apps over to the check dir
21922 2005-07-12 Wim Taymans <wim@fluendo.com>
21924 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21925 Added more debug info in the negotiate process.
21927 * gst/gstmessage.h:
21928 Prepare for segment playback.
21930 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21936 * tools/gst-launch.c: (main):
21937 NULL pipeline on errors.
21939 2005-07-12 Andy Wingo <wingo@pobox.com>
21941 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21942 not it comes from a malloc region. Make sure our copy gets freed.
21944 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21946 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21947 * check/gst/gstmessage.c: (GST_START_TEST):
21948 * check/gst/gststructure.c: (GST_START_TEST),
21949 (gst_structure_suite), (main):
21951 * gst/gstelement.c: (gst_element_message_full):
21952 clean up GError and debug string now that they get copied
21953 * gst/gstmessage.c: (gst_message_new_error),
21954 (gst_message_new_warning), (gst_message_parse_error),
21955 (gst_message_parse_warning):
21956 use GST_TYPE_G_ERROR for structure_new, and take copies of
21957 arguments, so that we don't mess up refcounting
21959 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21961 * check/Makefile.am:
21962 add per-test valgrind targets
21963 * check/gst-libs/gdp.c: (GST_START_TEST),
21964 (gst_data_protocol_suite), (main):
21967 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21969 * check/Makefile.am:
21970 instate more valgrindable tests
21971 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21972 (GST_START_TEST), (fakesrc_suite):
21973 * check/gst/gstpad.c: (GST_START_TEST):
21974 * check/gst/gststructure.c: (GST_START_TEST):
21976 * docs/gst/tmpl/gstminiobject.sgml:
21977 * gst/gstpad.c: (gst_pad_finalize):
21978 fix the static mutex leak
21980 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21982 * check/Makefile.am:
21983 add two more tests for valgrinding
21984 * check/gst/gstvalue.c: (GST_START_TEST):
21985 test refcount of deserialized buffer, found a leak
21986 * docs/gst/gstreamer-docs.sgml:
21987 * docs/gst/gstreamer-sections.txt:
21988 * docs/gst/gstreamer.types:
21989 * docs/gst/tmpl/gstminiobject.sgml:
21990 add miniobject to docs
21991 * gst/gstminiobject.c:
21993 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21994 (gst_string_unwrap):
21995 fix a hard-to-find invalid write for one of the tests
21996 fix a leak for deserialized buffers
21998 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22000 * docs/pwg/advanced-events.xml:
22001 * docs/pwg/advanced-request.xml:
22002 * docs/pwg/advanced-scheduling.xml:
22003 * docs/pwg/appendix-porting.xml:
22004 * docs/pwg/building-boiler.xml:
22005 * docs/pwg/intro-preface.xml:
22006 * docs/pwg/other-ntoone.xml:
22007 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22008 of example code and explanation for pad activation, loop() and
22009 getrange() functions and a bit more. Remove old comments pointing
22011 * examples/pwg/Makefile.am:
22012 Add loop/getrange examples.
22014 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22017 check for valgrind binary + some fixes
22019 valgrind suppressions for the tests
22020 * check/Makefile.am:
22021 add a valgrind: target that valgrinds the unit tests
22022 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22023 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22024 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22025 * check/gst/gstghostpad.c:
22027 * check/gst/gstdata.c:
22029 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22030 (thread_unref), (gst_mini_object_suite), (main):
22032 * gst/gst.c: (gst_deinit):
22034 add a method to clean up.
22035 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22036 (gst_system_clock_obtain):
22037 allow for disposing the system clock.
22038 * tools/gst-launch.c: (main):
22041 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22043 * docs/gst/tmpl/gstbasesrc.sgml:
22044 * docs/gst/tmpl/gstfakesrc.sgml:
22045 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22046 (gst_base_src_init), (gst_base_src_set_property),
22047 (gst_base_src_get_property), (gst_base_src_get_range),
22048 (gst_base_src_start):
22049 * gst/base/gstbasesrc.h:
22050 add num-buffers property
22051 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22052 (gst_fakesrc_init), (gst_fakesrc_set_property),
22053 (gst_fakesrc_get_property), (gst_fakesrc_create),
22054 (gst_fakesrc_start):
22055 remove num-buffers property
22057 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22059 * docs/gst/gstreamer-sections.txt:
22060 * docs/gst/tmpl/gstbasesink.sgml:
22061 * docs/gst/tmpl/gstbasesrc.sgml:
22062 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22063 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22064 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22065 (gst_base_sink_set_property), (gst_base_sink_get_property),
22066 (gst_base_sink_handle_object), (gst_base_sink_event),
22067 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22068 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22069 (gst_base_sink_loop), (gst_base_sink_deactivate),
22070 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22071 (gst_base_sink_change_state):
22072 * gst/base/gstbasesink.h:
22073 * gst/base/gstbasesrc.h:
22074 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22075 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22076 (gst_filesink_init):
22077 more macro splitting
22079 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22081 * gst/gstelement.c: (gst_element_get_bus):
22083 * tools/gst-launch.c: (check_intr), (event_loop):
22086 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22088 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22091 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22093 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22094 (gst_base_src_finalize):
22095 add finalize method and clean up properly
22096 * gst/gstpipeline.c: (gst_pipeline_dispose):
22099 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22101 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22103 add more things to check
22104 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22105 * gst/gstelement.c:
22108 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22110 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22111 (GST_START_TEST), (fakesrc_suite):
22112 * check/gst-libs/gdp.c: (GST_START_TEST):
22113 * check/gst/gst.c: (GST_START_TEST):
22114 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22115 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22116 * check/gst/gstbus.c: (GST_START_TEST):
22117 * check/gst/gstcaps.c: (GST_START_TEST):
22118 * check/gst/gstdata.c: (GST_START_TEST):
22119 * check/gst/gstelement.c: (GST_START_TEST):
22120 * check/gst/gstghostpad.c: (GST_START_TEST):
22121 * check/gst/gstiterator.c: (GST_START_TEST):
22122 * check/gst/gstmessage.c: (GST_START_TEST):
22123 * check/gst/gstobject.c: (GST_START_TEST):
22124 * check/gst/gstpad.c: (GST_START_TEST):
22125 * check/gst/gststructure.c: (GST_START_TEST):
22126 * check/gst/gstsystemclock.c: (GST_START_TEST),
22127 (gst_systemclock_suite):
22128 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22129 * check/gst/gstvalue.c: (GST_START_TEST):
22130 * check/pipelines/cleanup.c: (GST_START_TEST):
22131 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22132 * check/states/sinks.c: (GST_START_TEST):
22133 * check/gstcheck.c: (gst_check_init):
22134 * check/gstcheck.h:
22135 add debugging category
22136 use GST_START_TEST now, so we add a debug line
22138 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22140 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22141 add test for state change message on a bin
22142 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22144 * gst/gstbin.c: (gst_bin_init):
22145 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22146 * gst/gstelement.c: (gst_element_post_message),
22147 (gst_element_set_state):
22148 * gst/gstelementfactory.c: (gst_element_factory_create):
22149 * gst/gstmessage.c: (gst_message_new):
22150 * gst/gstscheduler.c:
22151 various debugging additions and cleanups
22153 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22155 * check/Makefile.am:
22156 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22158 adding tests for elements
22159 * gst/gstelement.c: (gst_element_dispose):
22161 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22163 * gst/registries/gstlibxmlregistry.c: (load_feature):
22164 plug more leaks. A simple gst_init() now is leakfree, yay.
22166 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22168 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22169 (gst_xml_registry_load):
22170 plug another memleak
22172 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22175 use GST_SET_ERROR_CFLAGS
22176 * docs/faq/cvs.xml:
22177 change to ERROR_CFLAGS
22179 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22182 make GST_ERROR_CFLAGS overridable and re-enable Werror
22183 * docs/faq/cvs.xml:
22184 add a note about error CFLAGS
22185 * docs/gst/tmpl/gstfakesrc.sgml:
22186 * gst/elements/gstfakesrc.c:
22187 comment out some unused code
22188 * gst/gst.c: (split_and_iterate):
22189 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22193 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22195 * common/Makefile.am:
22196 * common/gtk-doc.mak:
22197 * docs/gst/Makefile.am:
22198 factor out gtk-doc.mak
22200 2005-07-07 Wim Taymans <wim@fluendo.com>
22202 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22203 (gst_thread_scheduler_dispose):
22204 Unlock the STREAM_LOCK completely.
22206 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22208 * check/Makefile.am:
22209 * check/elements/.cvsignore:
22210 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22211 (START_TEST), (fakesrc_suite), (main):
22212 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22213 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22214 (gst_fakesrc_create), (gst_fakesrc_start):
22215 * gst/elements/gstfakesrc.h:
22216 adding a first element test
22218 2005-07-07 Andy Wingo <wingo@pobox.com>
22220 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22223 2005-07-07 Wim Taymans <wim@fluendo.com>
22229 2005-07-07 Wim Taymans <wim@fluendo.com>
22231 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22232 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22233 Allow subclasses to implement their own negotiation.
22235 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22237 * docs/design/part-gstbin.txt:
22238 * docs/design/part-gstpipeline.txt:
22239 Update design notes to reflect the movement of
22240 responsibility for bus handling from GstPipeline to
22243 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22246 Remove unnecessary queue2/3/4 examples.
22248 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22250 * examples/Makefile.am:
22251 * examples/helloworld/helloworld.c: (event_loop), (main):
22252 * examples/queue/queue.c: (event_loop), (main):
22253 * examples/queue2/queue2.c: (main):
22254 Update a couple of the examples to work again.
22256 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22257 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22258 Spelling corrections and extra debug.
22260 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22261 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22262 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22264 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22265 (gst_pipeline_change_state):
22266 * gst/gstpipeline.h:
22267 Move the bus handler for children to the GstBin, and create a
22268 separate bus for receiving messages from children to the one the
22269 bus sends 'upwards' on.
22271 2005-07-06 Wim Taymans <wim@fluendo.com>
22274 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22275 (gst_base_sink_handle_object), (gst_base_sink_loop),
22276 (gst_base_sink_change_state):
22277 * gst/base/gstbasesink.h:
22278 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22279 (gst_base_src_init), (gst_base_src_setcaps),
22280 (gst_base_src_getcaps), (gst_base_src_loop),
22281 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22282 (gst_base_src_start), (gst_base_src_change_state):
22283 * gst/base/gstbasesrc.h:
22284 Make basesrc negotiate.
22285 Handle the case where preroll fails in basesink.
22288 2005-07-06 Wim Taymans <wim@fluendo.com>
22290 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22291 Implement the fixate function.
22292 Clean up acceptcaps.
22294 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22296 * docs/pwg/building-filterfactory.xml:
22297 * docs/pwg/pwg.xml:
22298 Remove never-written filter-factory chapter; I'll add the various
22299 base classes to part 4 ("other element types") later on.
22301 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22303 * docs/pwg/advanced-negotiation.xml:
22304 * docs/pwg/building-boiler.xml:
22305 * docs/pwg/building-pads.xml:
22306 * docs/pwg/pwg.xml:
22307 * examples/pwg/Makefile.am:
22308 Add a chapter on caps negotiation, simplify the original code
22309 samples a bit w.r.t. caps negotiation, add link to the advanced
22310 section. Add a bunch of examples showing different use cases of
22311 different types of caps negotiation. Upstream renegotiation isn't
22312 fully documented yet since nobody knows how that works.
22314 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22316 * check/gst/gstpad.c:
22317 * check/gstcheck.c:
22318 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22319 if pad has no parent, return NULL as list of internal links
22321 2005-07-05 Andy Wingo <wingo@pobox.com>
22323 * gst/elements/gstfilesrc.c:
22324 * gst/elements/gstfakesrc.c:
22325 * gst/base/gstpushsrc.c:
22326 * gst/base/gstbasesrc.h:
22327 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22329 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22332 better report generation target (lcov needs a patch)
22334 2005-07-05 Andy Wingo <wingo@pobox.com>
22336 * gst/elements, testsuite: Null if we got it...
22338 2005-07-05 Wim Taymans <wim@fluendo.com>
22341 * libs/gst/dataprotocol/Makefile.am:
22342 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22343 * libs/gst/dataprotocol/dataprotocol.h:
22344 * pkgconfig/Makefile.am:
22345 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22346 * pkgconfig/gstreamer-dataprotocol.pc.in:
22347 Ported dataprotol to 0.9.
22348 Added pkgconfig files.
22350 2005-07-05 Andy Wingo <wingo@pobox.com>
22352 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22353 Default to returning TRUE for the case when tranform_caps returns
22354 a fixed caps, like for identity or volume.
22356 * check/gst/gstbus.c (pound_bus_with_messages):
22357 * check/gst/gstmessage.c (START_TEST):
22358 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22359 message API change.
22361 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22362 logic weaks here: always run transform_caps, trying passthrough
22363 operation only if the original caps intersects with the transform.
22365 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22366 source and sink caps.
22368 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22369 Intersect the peer caps with the pad template before going into
22371 (gst_base_transform_transform_caps): More debugging.
22373 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22376 2005-07-04 Edward Hervey <edward@fluendo.com>
22380 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22383 2005-07-04 Andy Wingo <wingo@pobox.com>
22385 * check/gst/gstpad.c: Only set explicit caps on pads.
22387 2005-07-01 Andy Wingo <wingo@pobox.com>
22389 * tests/network-clock.scm: Commentary update.
22391 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22392 Didn't really make sense, not implementable with basetransform,
22394 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22395 attempt at implementing the sync property, needs an unlock method.
22397 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22398 New func, by default returns the same caps (the identity
22400 (gst_base_transform_getcaps): Uses transform_caps to return
22401 something sensible.
22402 (gst_base_transform_setcaps): Complicated logic to get caps on
22403 both pads, even if they are different, and to call set_caps once
22404 for every time both pads get their caps set.
22405 (gst_base_transform_handle_buffer): Give the ref to the transform
22406 function. Allows in-place modification of the buffer.
22408 * gst/base/gstbasetransform.h (transform_caps): New class method.
22409 Given caps on one side, what can I do on the other.
22410 (set_caps): Take two caps, one for each side of the element.
22413 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22414 caps in place. This is safe because we can check the mutability of
22415 the caps, and a good idea because fixate functions are just called
22416 as a matter of last resort. (Not actually implemented.)
22417 (gst_pad_set_caps): If the caps we're setting is actually the same
22418 as the existing pad caps, just update the pointer without calling
22419 setcaps. Assert that caps is either NULL or fixed, as per the
22422 * gst/gstghostpad.c: Update for fixate changes.
22424 2005-07-02 Andy Wingo <wingo@pobox.com>
22427 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22428 two refcounts makes it immutable, which is enough. Doc more.
22430 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22432 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22433 Put the mini_object into GValue as a mini_object,
22434 not a gpointer, since that's how we declared
22437 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22439 * examples/pwg/Makefile.am:
22440 Fix buildbot again.
22442 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22444 * docs/pwg/building-testapp.xml:
22446 * examples/pwg/Makefile.am:
22449 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22452 * examples/Makefile.am:
22453 * examples/pwg/Makefile.am:
22454 * examples/pwg/extract.pl:
22455 Enable building the PWG examples.
22456 * docs/pwg/advanced-interfaces.xml:
22457 Add URI interface stub.
22458 * docs/pwg/advanced-types.xml:
22459 * docs/pwg/other-autoplugger.xml:
22460 * docs/pwg/appendix-porting.xml:
22461 * docs/pwg/pwg.xml:
22462 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22463 * docs/pwg/building-boiler.xml:
22464 * docs/pwg/building-chainfn.xml:
22465 * docs/pwg/building-pads.xml:
22466 * docs/pwg/building-props.xml:
22467 * docs/pwg/building-state.xml:
22468 * docs/pwg/building-testapp.xml:
22469 Update the building-*.xml parts for 0.9 changes. All examples
22470 code blocks compile in examples/pwg/*.
22472 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22474 * docs/manual/advanced-autoplugging.xml:
22475 * docs/manual/appendix-checklist.xml:
22476 * docs/manual/appendix-integration.xml:
22477 * docs/manual/highlevel-components.xml:
22478 Fix playbin/decodebin examples, update docs a bit, mention bus
22479 instead of signals in various places, mention kmplayer and
22480 kaffeine since they have a working GStreamer backend in the KDE
22483 2005-06-30 Wim Taymans <wim@fluendo.com>
22486 * docs/design/draft-ghostpads.txt:
22487 * docs/design/draft-push-pull.txt:
22488 * docs/design/draft-query.txt:
22489 * docs/design/part-TODO.txt:
22490 * docs/design/part-query.txt:
22491 Added CHANGES-0.9 doc, updated status of other docs.
22496 2005-06-30 Wim Taymans <wim@fluendo.com>
22498 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22499 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22500 (gst_base_sink_change_state):
22501 * gst/base/gstbasesink.h:
22502 Some tweaks, only EOS and a buffer complete a preroll.
22504 2005-06-30 Andy Wingo <wingo@pobox.com>
22506 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22507 activate_push down to the internal pad as well.
22509 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22511 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22513 * gst/gsttaginterface.c:
22514 Some documentation fixes (#307394 and #307397).
22516 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22518 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22520 * gst/gstvalue.c: (gst_value_intersect_list):
22521 Fix memleak (#309125).
22523 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22525 * docs/manual/advanced-dataaccess.xml:
22526 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22527 * docs/manual/basics-pads.xml:
22528 Add reference for filtered caps to above chapter.
22530 2005-06-30 Wim Taymans <wim@fluendo.com>
22532 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22533 (gst_bin_change_state):
22535 Lame attempt at making the state change function a bit
22538 2005-06-30 Wim Taymans <wim@fluendo.com>
22540 * docs/design/part-clocks.txt:
22541 * docs/design/part-element-sink.txt:
22542 * docs/design/part-events.txt:
22543 * docs/design/part-preroll.txt:
22544 * docs/design/part-states.txt:
22545 Some more tweeks and additions to the docs.
22547 2005-06-30 Wim Taymans <wim@fluendo.com>
22549 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22550 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22551 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22552 (gst_pad_check_pull_range), (gst_pad_get_range),
22553 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22555 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22556 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22557 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22558 (gst_pad_remove_buffer_probe):
22559 Removed atomic operations, use existing LOCK.
22560 Move exception handling out of main code path.
22562 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22564 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22565 (silly_return_true_function), (gst_pad_class_init),
22566 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22567 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22568 (gst_pad_send_event):
22569 Fix accumulator, add default value by using _emitv() instead
22570 of _emit() for signal emission.
22572 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22574 * docs/manual/advanced-dataaccess.xml:
22575 * examples/manual/Makefile.am:
22577 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22580 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22582 * gst/elements/gstfilesink.c: (gst_filesink_render):
22583 Simplify code so that we don't have to handle short
22584 writes and return GST_FLOW_ERROR if an error occured.
22586 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22588 * docs/gst/gstreamer-docs.sgml:
22589 Remove probes more.
22591 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22593 * docs/gst/gstreamer-sections.txt:
22594 * docs/gst/tmpl/gstpad.sgml:
22595 * docs/gst/tmpl/gstprobe.sgml:
22597 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22598 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22599 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22600 (gst_pad_push_event), (gst_pad_send_event):
22602 * gst/gstutils.c: (gst_pad_add_data_probe),
22603 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22604 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22605 (gst_pad_remove_buffer_probe):
22607 Remove old probes, add new g-signal-based probes and some utility
22610 2005-06-29 Edward Hervey <edward@fluendo.com>
22612 * gst/gstelementfactory.c:
22615 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22616 the definition to the header file.
22618 2005-06-29 Andy Wingo <wingo@pobox.com>
22620 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22621 plugins from the source directory.
22623 2005-06-29 Wim Taymans <wim@fluendo.com>
22625 * docs/gst/tmpl/gstbuffer.sgml:
22626 * docs/gst/tmpl/gstclock.sgml:
22627 Some fixings for blantently wrong text.
22629 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22631 * check/Makefile.am:
22632 * gst/gst.c: (add_path_func), (init_pre):
22633 * gst/gstregistry.c: (gst_registry_add_path):
22634 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22635 only scan the GST_PLUGIN_PATH locations, and not add
22638 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22640 * docs/gst/gstreamer-sections.txt:
22641 * docs/gst/tmpl/gstbasesrc.sgml:
22642 * gst/gstelement.c:
22643 * gst/gstelement.h:
22648 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22650 * docs/manual/advanced-autoplugging.xml:
22651 Fix autoplugging example.
22653 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22655 * docs/manual/advanced-autoplugging.xml:
22656 * docs/manual/mime-world.fig:
22657 Try to get autoplugging working, fix type detection. Fix text
22658 in hello-world image.
22660 2005-06-29 Wim Taymans <wim@fluendo.com>
22662 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22663 (gst_base_sink_change_state):
22667 map SIGNAL and BROADCAST to the right function.
22670 Remove redundant braces.
22672 * gst/gstpad.c: (gst_pad_set_caps):
22673 Don't call setcaps function when reseting caps to NULL.
22675 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22676 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22677 (gst_system_clock_id_unschedule):
22678 Use BROADCAST as this is what we do.
22680 2005-06-29 Wim Taymans <wim@fluendo.com>
22682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22683 We are actually prerolling before commiting the state
22686 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22688 * docs/manual/advanced-clocks.xml:
22689 * docs/manual/advanced-interfaces.xml:
22690 * docs/manual/advanced-metadata.xml:
22691 * docs/manual/advanced-position.xml:
22692 * docs/manual/advanced-schedulers.xml:
22693 * docs/manual/advanced-threads.xml:
22694 * docs/manual/appendix-porting.xml:
22695 * docs/manual/basics-bins.xml:
22696 * docs/manual/basics-bus.xml:
22697 * docs/manual/basics-elements.xml:
22698 * docs/manual/basics-helloworld.xml:
22699 * docs/manual/basics-pads.xml:
22700 * docs/manual/highlevel-components.xml:
22701 * docs/manual/manual.xml:
22702 * docs/manual/thread.fig:
22703 Update (until threads/scheduling) Application Development Manual;
22704 remove GstThread, add GstBus, add simple porting checklist, add
22705 documentation for tag writing, clocks, make all examples until this
22706 part compile and run.
22707 * examples/manual/Makefile.am:
22708 Update from changes to Application Development Manual; add bus
22709 example, remove thread example.
22711 2005-06-28 Wim Taymans <wim@fluendo.com>
22713 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22714 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22715 (gst_bus_source_dispatch):
22716 Add debugging messages.
22717 Make internal methods static.
22718 Handle the case where the bus is flushed in the handler.
22720 * gst/gstelement.c: (gst_element_get_bus):
22721 Fix refcount in _get_bus();
22723 * gst/gstpipeline.c: (gst_pipeline_change_state),
22724 (gst_pipeline_get_clock_func):
22725 Clock refcounting fixes.
22726 Handle the case where preroll timed out more gracefully.
22728 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22729 Clean up the internal thread in dispose. This is needed
22730 for subclasses that actually get disposed.
22732 * gst/schedulers/threadscheduler.c:
22733 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22734 (gst_thread_scheduler_dispose):
22735 Free thread pool in dispose.
22737 2005-06-28 Andy Wingo <wingo@pobox.com>
22739 * tests/network-clock-utils.scm (debug, print-event): New utils.
22741 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22742 (*packet-loss*): Unified loss probability.
22743 (network-time): Report out-of-band events.
22745 * tests/plot-data: Add support for out-of-band events. Hack it
22746 into this script instead of passing it down the pipe; should fix
22749 2005-06-28 Wim Taymans <wim@fluendo.com>
22751 * docs/gst/gstreamer.types:
22752 * docs/gst/tmpl/gstbasesrc.sgml:
22753 * docs/gst/tmpl/gstpad.sgml:
22756 2005-06-28 Wim Taymans <wim@fluendo.com>
22758 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22759 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22760 (gst_proxy_pad_do_fixatecaps):
22761 Correctly proxy the check_pull_range function.
22763 2005-06-28 Andy Wingo <wingo@pobox.com>
22765 * tests/network-clock.scm: Removed need for slib.
22767 2005-06-28 Wim Taymans <wim@fluendo.com>
22769 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22770 (gst_basesink_preroll_queue_flush):
22771 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22772 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22773 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22774 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22775 (gst_proxy_pad_set_property):
22778 * gst/gstqueue.c: (gst_queue_init):
22779 The deprecated pad loop function is removed now.
22781 2005-06-28 Andy Wingo <wingo@pobox.com>
22783 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22784 New parameters, simulate network packet loss.
22786 * tests/network-clock-utils.scm: Initialize the RNG.
22788 2005-06-28 Wim Taymans <wim@fluendo.com>
22790 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22791 (gst_basesink_event), (gst_basesink_deactivate):
22792 Flushing the preroll queue always needs to unlock the waiters.
22794 2005-06-28 Edward Hervey <edward@fluendo.com>
22796 * gst/gstpipeline.c: (gst_pipeline_send_event):
22797 Wheen a seek was successful on a pipeline, set the stream_time to the
22798 seek offset in order to have a synchronized stream_time.
22800 2005-06-28 Wim Taymans <wim@fluendo.com>
22802 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22803 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22804 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22805 (gst_proxy_pad_do_fixatecaps):
22806 Call wrapper function instead of just calling the function
22807 pointers. This takes care of any locking and whatmore.
22809 2005-06-28 Wim Taymans <wim@fluendo.com>
22811 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22812 (gst_pad_pull_range):
22814 CONNECTED -> LINKED.
22816 2005-06-28 Andy Wingo <wingo@pobox.com>
22818 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22819 source-munging commit!!!
22821 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22822 (gst_object_sink): Take gpointer arguments, not GstObject --
22823 avoids casts. Like GLib.
22825 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22828 2005-06-27 Andy Wingo <wingo@pobox.com>
22830 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22833 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22834 returns a sorted copy of the trace list.
22835 (gst_alloc_trace_print_live): New API, only prints traces with
22836 live objects. Sort the list.
22837 (gst_alloc_trace_print_all): Sort the list.
22838 (gst_alloc_trace_print): Align columns.
22840 * gst/elements/gstttypefindelement.c:
22841 * gst/elements/gsttee.c:
22842 * gst/base/gstbasesrc.c:
22843 * gst/base/gstbasesink.c:
22844 * gst/base/gstbasetransform.c:
22845 * gst/gstqueue.c: Adapt for pad activation changes.
22847 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22849 (gst_pipeline_dispose): Drop ref on sched.
22851 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22852 (gst_pad_activate_default): Push mode by default.
22853 (pre_activate_switch, post_activate_switch): New stubs, things to
22854 do before and after switching activation modes on pads.
22855 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22856 the pad's activate function to choose which mode to activate.
22857 Shortcut on deactivation and call the right function directly.
22858 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22860 (gst_pad_activate_push): New API, same for push mode.
22861 (gst_pad_set_activate_function)
22862 (gst_pad_set_activatepull_function)
22863 (gst_pad_set_activatepush_function): Setters for new API.
22865 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22866 Trace all miniobjects.
22867 (gst_mini_object_make_writable): Unref the arg if we copy, like
22868 gst_caps_make_writable.
22870 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22872 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22873 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22874 Adapt for new pad API.
22876 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22878 * gst/gstelement.h:
22879 * gst/gstelement.c (gst_element_iterate_src_pads)
22880 (gst_element_iterate_sink_pads): New API functions.
22882 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22883 should fold into gstiterator.c in some form.
22884 (gst_element_pads_activate): Simplified via use of fold and
22885 delegation of decisions to gstpad->activate.
22887 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22890 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22891 class once in init, like gstmessage. Didn't run into this issue
22892 but it seems correct. Don't initialize a trace, gstminiobject does
22895 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22896 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22898 (assert_live_count): New util function, uses alloc traces to check
22901 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22902 To be modified when unlink drops the internal pad.
22904 2005-06-27 Wim Taymans <wim@fluendo.com>
22906 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22907 (gst_bin_change_state):
22908 Cleanup the get_state() function a little, make sure it
22909 iterates the same set of elements.
22910 Added stub iterate_state_order().
22912 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22914 * docs/gst/gstreamer-docs.sgml:
22915 * docs/gst/gstreamer-sections.txt:
22916 * docs/gst/gstreamer.types:
22917 * docs/gst/tmpl/gstbasesink.sgml:
22918 * docs/gst/tmpl/gstbasesrc.sgml:
22919 * docs/gst/tmpl/gstbasetransform.sgml:
22920 * docs/gst/tmpl/gstelement.sgml:
22921 * docs/gst/tmpl/gstiterator.sgml:
22922 * gst/base/gstbasesrc.c:
22923 * gst/base/gstbasesrc.h:
22924 * gst/base/gstbasetransform.h:
22925 * gst/gstelement.c:
22926 * gst/gstiterator.h:
22927 adding basetransform and iterator docs
22929 2005-06-27 Andy Wingo <wingo@pobox.com>
22931 * docs/design/part-activation.txt: Notes on how activation should
22932 work -- not quite implemented yet.
22934 2005-06-25 Wim Taymans <wim@fluendo.com>
22936 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22937 At least get the chain function correct, needs more
22940 2005-06-25 Wim Taymans <wim@fluendo.com>
22942 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22943 (gst_basesink_handle_object), (gst_basesink_event),
22944 (gst_basesink_do_sync), (gst_basesink_handle_event),
22945 (gst_basesink_change_state):
22947 Right, two problems here: ghostpads don't take locks and
22948 glib _rec_mutex_lock_full() with depth==0 still locks.
22949 Catch illegal locking and g_warn them.
22951 2005-06-25 Wim Taymans <wim@fluendo.com>
22953 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22954 Have to check for completion now...
22956 2005-06-25 Wim Taymans <wim@fluendo.com>
22958 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22959 (gst_basesink_handle_object), (gst_basesink_event),
22960 (gst_basesink_do_sync), (gst_basesink_handle_event),
22961 (gst_basesink_change_state):
22963 Unlock STREAM_LOCK whatever the recursion was.
22965 2005-06-25 Wim Taymans <wim@fluendo.com>
22967 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22968 (gst_basesink_preroll_queue_empty),
22969 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22970 (gst_basesink_event), (gst_basesink_do_sync),
22971 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22972 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22973 (gst_basesink_change_state):
22974 Reworked the base sink, handle event and buffer serialisation
22975 correctly and removed possible deadlock.
22976 Handle EOS correctly.
22978 2005-06-25 Wim Taymans <wim@fluendo.com>
22980 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22981 (gst_pipeline_change_state):
22982 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22983 Allow elements to post EOS in the state change function.
22984 Fix up -launch, make it exit the poll loop when the
22985 pipeline actually changed state.
22986 Fix up warning parsing in -launch.
22988 2005-06-25 Wim Taymans <wim@fluendo.com>
22990 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22991 (gst_tee_sink_activate):
22992 Core takes STREAM_LOCK for us now.
22994 2005-06-25 Wim Taymans <wim@fluendo.com>
22996 * gst/gstelement.c: (gst_element_get_state_func),
22997 (gst_element_set_state):
22998 * gst/gstelement.h:
22999 * gst/gstmessage.c: (gst_message_parse_error),
23000 (gst_message_parse_warning):
23001 Keep track of current target state while performing a state
23002 change so that subclasses can do something interesting.
23003 Fix parsing of warning/error messages when GError is NULL.
23005 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23007 * docs/gst/Makefile.am:
23008 * docs/gst/gstreamer-docs.sgml:
23009 * docs/gst/gstreamer-sections.txt:
23010 * docs/gst/gstreamer.types:
23011 * docs/gst/tmpl/gstbasesink.sgml:
23012 * docs/gst/tmpl/gstbasesrc.sgml:
23013 * docs/gst/tmpl/gstbin.sgml:
23014 * docs/gst/tmpl/gstcompat.sgml:
23015 * docs/gst/tmpl/gstfakesink.sgml:
23016 * docs/gst/tmpl/gstfakesrc.sgml:
23017 * docs/gst/tmpl/gstfilesink.sgml:
23018 * docs/gst/tmpl/gstfilesrc.sgml:
23019 * docs/gst/tmpl/gstindex.sgml:
23020 * docs/manual/appendix-quotes.xml:
23021 * gst/base/gstbasesrc.h:
23022 * gst/elements/gstfakesrc.h:
23023 * gst/gstmessage.h:
23024 start pulling in base classes and elements in our docs
23026 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23028 * docs/gst/Makefile.am:
23029 * docs/libs/Makefile.am:
23030 fixed make distcheck with gtk-doc 1.3
23032 2005-06-23 Wim Taymans <wim@fluendo.com>
23034 * gst/gstelement.c: (gst_element_get_state_func),
23035 (gst_element_set_state), (gst_element_change_state):
23036 When the state did not change, also report NO_PREROLL
23039 2005-06-23 Wim Taymans <wim@fluendo.com>
23041 * gst/gstpad.c: (gst_pad_event_default):
23042 * gst/gstqueue.c: (gst_queue_loop):
23043 No unsafe task pausing please.
23045 2005-06-23 Wim Taymans <wim@fluendo.com>
23047 * gst/schedulers/threadscheduler.c:
23048 (gst_thread_scheduler_task_start),
23049 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23050 Ref the task before pushing it on the threadpool. This
23051 makes sure that we have a ref when the threadfunction is
23054 2005-06-23 Andy Wingo <wingo@pobox.com>
23056 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23057 offset is greater than the file's size.
23059 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23060 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23061 * gst/gstobject.c (gst_object_class_init): Make the class lock
23062 recursive. Wim won't let me drop deep_notify. Decodebin works
23063 again, whoopdy doo.
23065 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23066 internal pad, and hacks accordingly. Doesn't do it on the target
23067 pad because we change its caps. Probably catches all cases of
23069 (gst_ghost_pad_set_property): Connect to notify::caps as
23072 * tests/network-clock.scm (plot-simulation): Pipe data to the
23073 elite python skript.
23075 * tests/network-clock-utils.scm (define-parameter): New macro,
23076 defines a parameter that can be set via the command line.
23077 (set-parameter!, parse-parameter-arguments): Command line args
23080 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23083 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23085 * gst/elements/gsttypefindelement.c:
23086 (gst_type_find_element_handle_event):
23087 Don't restart typefinding on a discont.
23088 * gst/gstelement.c: (gst_element_set_state):
23089 Debug spelling fix.
23090 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23091 Allow changing mode of an active pad.
23092 Debug output fixes.
23093 * gst/registries/gstlibxmlregistry.c: (load_feature):
23094 Don't cast a static pad template to a normal pad template.
23096 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23098 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23099 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23100 remove gst_strtoll completely, since it didn't actually do
23101 anything more than what g_ascii_strtoull already does.
23102 check for range errors when deserializing
23103 do a cast for the unsigned cases; but further fixing needs
23104 a decision on what the interpretation of "(int)" and
23105 deserialization should be for values that fall outside the
23106 type's boundaries (ie, refuse, or interpret as casting)
23108 2005-06-23 Wim Taymans <wim@fluendo.com>
23110 * check/Makefile.am:
23111 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23112 * docs/design/part-live-source.txt:
23113 * docs/design/part-states.txt:
23114 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23115 (gst_basesrc_set_live), (gst_basesrc_is_live),
23116 (gst_basesrc_get_range), (gst_basesrc_activate),
23117 (gst_basesrc_change_state):
23118 * gst/base/gstbasesrc.h:
23119 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23120 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23121 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23122 * gst/gstelement.c: (gst_element_get_state_func),
23123 (gst_element_set_state):
23124 * gst/gstelement.h:
23126 * tools/gst-launch.c: (event_loop), (main):
23127 Added support for live sources and other elements that
23129 Updated design docs, added live-source design doc.
23130 Implemented live source functionality in basesrc
23131 Fix error condition in _bin_get_state()
23132 Implement live source handling in -launch.
23133 Added check for live sources.
23134 Fixed case in GstBin where elements were changed state
23138 2005-06-23 Andy Wingo <wingo@pobox.com>
23140 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23141 borken refcounting.
23143 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23144 gst_caps_replace takes care of this for us.
23146 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23147 gst_pad_set_caps on the target, not just its setcaps() function.
23149 * tests/network-clock.scm:
23150 * tests/network-clock-utils.scm: A network clock simulator.
23151 Something of an algorithmic testbed before doing something in C.
23153 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23155 * check/Makefile.am:
23156 * check/gst/capslist.h:
23157 copy over from 0.8, and add two with bitmasks specified with
23159 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23160 add test to parse everything from capslist.h
23161 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23163 add test for structure deserialization
23164 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23165 add tests for deserialization of strings to int types
23166 * gst/gststructure.c: (gst_structure_nth_field_name):
23167 * gst/gststructure.h:
23168 add a way to get the name of a field referenced by index
23169 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23170 instead of checking if the resulting long long lies between
23171 min and max, we check if the long long would fit into
23172 a number of bytes for the final type.
23173 This fixes cases where a string represents 2^32 - 1, which
23174 when cast to int would be the (valid) -1, but is bigger than
23177 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23179 * gst/parse/grammar.y:
23180 add a log line for type deserialization
23182 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23184 * check/gst/gstvalue.c: (START_TEST):
23185 * gst/gstvalue.c: (gst_value_deserialize):
23186 return long long, not int, so gint64 deserialization actually
23187 works. Is there any flag that makes the compiler check this ?
23190 2005-06-22 Wim Taymans <wim@fluendo.com>
23193 Added convenience macros for setting buffers in GValue.
23195 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23197 * check/gst/.cvsignore:
23198 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23199 add a test deserializing int64, and comment part out because
23202 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23204 * check/Makefile.am:
23205 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23206 * testsuite/Makefile.am:
23207 * testsuite/caps/Makefile.am:
23208 * testsuite/caps/value_serialize.c:
23209 * testsuite/test_gst_init.c:
23210 move a value_serialize test over
23212 2005-06-20 Wim Taymans <wim@fluendo.com>
23217 * gst/gstvalue.c: (gst_value_compare_buffer),
23218 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23219 (gst_value_compare_flags), (gst_value_serialize_flags),
23220 (gst_value_deserialize_flags), (_gst_value_initialize):
23221 Fix serialisation of buffers, they are not boxed types anymore
23223 2005-06-20 Wim Taymans <wim@fluendo.com>
23225 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23226 Testcase to show error in buffer-on-caps serialisation.
23228 2005-06-20 Andy Wingo <wingo@pobox.com>
23230 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23231 will be adding to later.
23233 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23234 if its socks fill with rocks.
23235 (gst_system_clock_obtain): Set the name on object construction.
23236 Avoid double-checked locking.
23238 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23240 * gst/gsturi.c: (gst_element_make_from_uri):
23241 Fix potential endless loop.
23243 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23245 * check/Makefile.am:
23247 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23249 move over from testsuite dir and clean up
23252 * testsuite/Makefile.am:
23253 * testsuite/tags/.cvsignore:
23254 * testsuite/tags/Makefile.am:
23255 * testsuite/tags/merge.c:
23256 remove testsuite/tags
23258 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23260 * docs/gst/gstreamer-sections.txt:
23261 * docs/gst/tmpl/gstenumtypes.sgml:
23262 * win32/gstenumtypes.c:
23263 clean up documentation build a little
23265 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23267 * check/gstcheck.h:
23268 add macros for checking refcounts on objects and caps
23269 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23270 add some more unit tests
23271 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23272 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23273 fix leaked refcounts (I hope :)) so unittest works
23277 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23279 * configure.ac: back to HEAD
23281 === release 0.9.1 ===
23283 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23289 2005-06-17 Andy Wingo <wingo@pobox.com>
23291 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23292 assert; it's always possible that the pad gets deactivated in
23293 between the checks in gstpad.c and the implementation. Rely on
23294 finish_preroll() to return a FLUSHING or similar instead of on the
23297 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23298 clock and post an EOS message if we come out of finish_preroll in
23301 2005-06-16 David Schleef <ds@schleef.org>
23303 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23304 (gst_capsfilter_set_property): Allow NULL as possible value
23305 for filter_caps property, indicating GST_CAPS_ANY.
23307 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23309 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23311 * gst/schedulers/Makefile.am:
23313 * gstreamer.spec.in:
23316 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23318 * gstreamer.spec.in:
23321 2005-06-08 Andy Wingo <wingo@pobox.com>
23323 * gst/gstutils.c: RPAD fixes all around.
23324 (gst_element_link_pads): Refcounting fixes.
23326 * tools/gst-inspect.c:
23327 * tools/gst-xmlinspect.c:
23329 * gst/base/gsttypefindhelper.c:
23330 * gst/base/gstbasesink.c:
23331 * gst/gstqueue.c: RPAD fixes.
23333 * gst/gstghostpad.h:
23334 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23335 pads. The tricky thing is they provide both source and sink
23336 interfaces, since they proxy the internal pad for the external
23337 pad, and vice versa. Implement with lower-level ProxyPad objects,
23338 with the interior proxy pad as a child of the exterior ghost pad.
23339 Should write a doc on this.
23341 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23342 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23345 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23346 pads are real pads. No ghost pads in this file. Not documenting
23347 the myriad s/RPAD/PAD/ and REALIZE fixes.
23348 (gst_pad_class_init): Add properties for "direction" and
23349 "template". Both are construct-only, so they can't change during
23350 the life of the pad. Fixes properly deriving from GstPad.
23351 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23352 derived objects, just set properties when creating the objects via
23354 (gst_pad_get_parent): Implement as a function, return NULL if the
23355 parent is not an element.
23356 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23357 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23359 * gst/gstobject.c (gst_object_class_init): Make name a construct
23360 property. Don't set it in the object init.
23362 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23363 with UNKNOWN direction.
23364 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23365 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23366 (gst_element_remove_pad): Remove ghost-pad special cases.
23367 (gst_element_pads_activate): Remove rpad cruft.
23369 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23370 catch the pad's-parent-not-an-element case.
23372 * gst/gst.h: Include gstghostpad.h.
23374 * gst/gst.c (init_post): No more real, ghost pads.
23376 * gst/Makefile.am: Add gstghostpad.[ch].
23378 * check/Makefile.am:
23379 * check/gst/gstbin.c:
23380 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23381 into a bin creates ghost pads, and that the refcounts are right.
23382 Partly moved from gstbin.c.
23384 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23386 * check/gst-libs/.cvsignore:
23387 * check/gst/.cvsignore:
23388 * check/pipelines/.cvsignore:
23390 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23391 (START_TEST), (cleanup_suite), (main):
23392 add some tests related to cleanup after running pipelines
23394 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23396 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23397 add a testsuite for GstBuffer
23399 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23401 * gst/gstminiobject.h:
23402 add defines for accessing the refcount
23404 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23406 * Makefile.am: added support for html unit test coverage reports
23408 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23410 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23411 Free existing caps if the capsfilter changes. Add a FIXME about
23412 setting those caps on the pads.
23414 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23415 Before adding a ghost pad to a parent bin, check that there isn't
23416 already one for the element on the bin. Prevents infinite recursion
23417 when using decodebin in parse pipelines. Andy says he'll rewrite the
23418 way this works anyway, so ignore the hack.
23420 2005-06-02 Andy Wingo <wingo@pobox.com>
23422 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23423 file size, pass it on to the type find helper.
23425 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23426 segment_start and segment_end properly according to the seek
23427 method. Segment_end is still a bit flaky because offset can be
23428 negative for CUR and END cases, but it takes -1 as an "unset"
23431 2005-06-02 Wim Taymans <wim@fluendo.com>
23433 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23434 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23435 (gst_basesink_activate):
23436 * gst/base/gstbasesink.h:
23437 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23438 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23439 (gst_pad_query), (gst_pad_start_task):
23441 * gst/gstqueue.c: (gst_queue_bufferalloc),
23442 (gst_queue_handle_sink_event), (gst_queue_chain):
23443 Bufferalloc: return GstFlowReturn to more accuratly report
23444 why allocation failed.
23446 2005-06-02 Wim Taymans <wim@fluendo.com>
23448 * gst/gstpipeline.c: (gst_pipeline_send_event):
23449 Take snapshot of state without blocking.
23451 2005-06-02 Wim Taymans <wim@fluendo.com>
23453 * docs/design/part-TODO.txt:
23454 * docs/design/part-caps.txt:
23455 * docs/design/part-clocks.txt:
23456 * docs/design/part-negotiation.txt:
23457 * docs/design/part-preroll.txt:
23460 2005-05-30 Wim Taymans <wim@fluendo.com>
23462 * gst/elements/gstidentity.c: (gst_identity_event),
23463 (gst_identity_transform), (gst_identity_get_property):
23464 Protect last_message property as it is accessed from
23467 2005-05-30 Wim Taymans <wim@fluendo.com>
23469 * gst/gstelement.c: (gst_element_init),
23470 (gst_element_pads_activate), (gst_element_change_state):
23471 Slicker pad activation code.
23473 2005-05-30 Wim Taymans <wim@fluendo.com>
23476 * gst/gstelement.h:
23477 * gst/gstelementfactory.h:
23479 Move elementfactory methods to separate .h file.
23481 2005-05-30 Wim Taymans <wim@fluendo.com>
23483 * docs/design/part-overview.txt:
23484 * gst/gstsystemclock.h:
23485 Small typo fixes, doc updates.
23487 2005-05-30 Wim Taymans <wim@fluendo.com>
23489 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23490 (init_popt_callback):
23491 Remove cpu-opt flag.
23493 2005-05-30 Wim Taymans <wim@fluendo.com>
23495 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23496 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23498 Avoid typechecking in places where not needed.
23499 Added accessor for malloc_data.
23501 2005-05-30 Wim Taymans <wim@fluendo.com>
23503 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23504 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23505 (gst_pad_configure_sink), (gst_pad_configure_src),
23506 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23507 (gst_pad_start_task):
23508 Propagate errors from _set_caps() in configure_src/sink
23509 functions instead of returning TRUE.
23510 FLUSH events can travel up and downstream
23513 2005-05-30 Wim Taymans <wim@fluendo.com>
23515 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23516 (gst_basesink_activate):
23517 Handle EOS in preroll.
23519 2005-05-30 Wim Taymans <wim@fluendo.com>
23521 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23522 (gst_queue_loop), (gst_queue_handle_src_event):
23523 Remove old pieces of code
23524 Flushing the queue in an upstream event is a very bad idea.
23526 2005-05-26 Andy Wingo <wingo@pobox.com>
23528 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23529 gst_value_set_mini_object so as to add a ref on the object (which
23530 will be removed when the value is unset).
23532 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23533 arg type in ::handoff.
23535 * gst/gstelement.c (gst_element_change_state): Also deactivate
23536 pads in READY->NULL, just in case the element didn't make it to
23537 PAUSED. Wingo tested, Wim approved.
23539 2005-05-26 Wim Taymans <wim@fluendo.com>
23541 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23542 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23543 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23544 A flushing pad cannot be used to alloc_buffer from.
23546 2005-05-26 Wim Taymans <wim@fluendo.com>
23548 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23549 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23550 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23551 (gst_bus_create_watch), (gst_bus_add_watch_full):
23553 Implement a real GSource and use g_main_context_wakeup() to
23554 signal new messages instead of the socketpair.
23556 2005-05-25 Wim Taymans <wim@fluendo.com>
23558 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23559 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23560 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23561 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23562 (gst_pad_send_event), (gst_pad_start_task):
23563 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23564 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23565 (gst_queue_sink_activate), (gst_queue_src_activate),
23566 (gst_queue_change_state):
23568 Fix state changes for non sinks. We now change sinks, then elements
23569 with unconnected srcpads, then the rest.
23570 More efficient queue unlocking in flush and state changes.
23571 Set the pad activate mode even if it does not have an activate
23574 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23576 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23577 Don't go in pull mode for non-seekable sources.
23578 * gst/elements/gsttypefindelement.h:
23579 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23580 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23581 (free_entry), (stop_typefinding),
23582 (gst_type_find_element_handle_event), (find_peek),
23583 (gst_type_find_element_chain), (do_pull_typefind),
23584 (gst_type_find_element_change_state):
23585 Allow typefinding (w/o seeking) in push-mode, simplified version
23586 of what was in 0.8.
23587 * gst/gstutils.c: (gst_buffer_join):
23589 gst_buffer_join() from 0.8.
23591 2005-05-25 Wim Taymans <wim@fluendo.com>
23593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23594 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23595 (gst_pad_send_event), (gst_pad_start_task):
23596 Disable attempt at mode switching until it is figured out.
23598 2005-05-25 Wim Taymans <wim@fluendo.com>
23600 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23601 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23602 (gst_basesink_finish_preroll), (gst_basesink_chain),
23603 (gst_basesink_loop), (gst_basesink_activate),
23604 (gst_basesink_change_state):
23605 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23606 (gst_basesrc_get_range), (gst_basesrc_loop),
23607 (gst_basesrc_activate):
23608 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23609 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23610 (gst_real_pad_init), (gst_real_pad_set_property),
23611 (gst_real_pad_get_property), (gst_pad_set_active),
23612 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23613 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23614 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23615 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23616 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23617 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23618 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23619 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23620 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23621 (gst_pad_stop_task):
23623 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23624 (gst_queue_loop), (gst_queue_src_activate):
23625 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23626 (gst_task_get_state):
23628 * gst/schedulers/threadscheduler.c:
23629 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23630 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23632 Remove ACTIVE pad flag, use FLUSHING everywhere
23633 Added _pad_chain(), _pad_get_range() to call chain/getrange
23635 Add locks around IS_FLUSHING when reading.
23636 Take STREAM lock in chain(), get_range() functions so plugins
23637 don't need to take it anymore.
23641 2005-05-25 Wim Taymans <wim@fluendo.com>
23643 * tools/gst-launch.c: (event_loop):
23644 Unref message after using its contents instead of
23647 2005-05-24 Wim Taymans <wim@fluendo.com>
23649 * docs/design/draft-ghostpads.txt:
23650 * docs/design/draft-push-pull.txt:
23651 * docs/design/draft-query.txt:
23652 * docs/design/part-overview.txt:
23653 Docs updates, added general overview doc.
23655 2005-05-21 David Schleef <ds@schleef.org>
23657 * docs/gst/tmpl/old/GstBin.sgml:
23658 * docs/gst/tmpl/old/GstBuffer.sgml:
23659 * docs/gst/tmpl/old/GstCaps.sgml:
23660 * docs/gst/tmpl/old/GstClock.sgml:
23661 * docs/gst/tmpl/old/GstCompat.sgml:
23662 * docs/gst/tmpl/old/GstData.sgml:
23663 * docs/gst/tmpl/old/GstElement.sgml:
23664 * docs/gst/tmpl/old/GstEvent.sgml:
23665 * docs/gst/tmpl/old/GstIndex.sgml:
23666 * docs/gst/tmpl/old/GstStructure.sgml:
23667 * docs/gst/tmpl/old/GstTag.sgml:
23668 * docs/gst/tmpl/old/cothreads.sgml:
23669 * docs/gst/tmpl/old/cothreads_compat.sgml:
23670 * docs/gst/tmpl/old/gettext.sgml:
23671 * docs/gst/tmpl/old/gobject2gtk.sgml:
23672 * docs/gst/tmpl/old/grammar.tab.sgml:
23673 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23674 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23675 * docs/gst/tmpl/old/gst_private.sgml:
23676 * docs/gst/tmpl/old/gstaggregator.sgml:
23677 * docs/gst/tmpl/old/gstarch.sgml:
23678 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23679 * docs/gst/tmpl/old/gstbufferstore.sgml:
23680 * docs/gst/tmpl/old/gstdata_private.sgml:
23681 * docs/gst/tmpl/old/gstdisksink.sgml:
23682 * docs/gst/tmpl/old/gstdisksrc.sgml:
23683 * docs/gst/tmpl/old/gstelementfactory.sgml:
23684 * docs/gst/tmpl/old/gstextratypes.sgml:
23685 * docs/gst/tmpl/old/gstfakesink.sgml:
23686 * docs/gst/tmpl/old/gstfakesrc.sgml:
23687 * docs/gst/tmpl/old/gstfdsink.sgml:
23688 * docs/gst/tmpl/old/gstfdsrc.sgml:
23689 * docs/gst/tmpl/old/gstfilesink.sgml:
23690 * docs/gst/tmpl/old/gstfilesrc.sgml:
23691 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23692 * docs/gst/tmpl/old/gstidentity.sgml:
23693 * docs/gst/tmpl/old/gstindexfactory.sgml:
23694 * docs/gst/tmpl/old/gstmarshal.sgml:
23695 * docs/gst/tmpl/old/gstmd5sink.sgml:
23696 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23697 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23698 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23699 * docs/gst/tmpl/old/gstpipefilter.sgml:
23700 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23701 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23702 * docs/gst/tmpl/old/gstshaper.sgml:
23703 * docs/gst/tmpl/old/gstspider.sgml:
23704 * docs/gst/tmpl/old/gstspideridentity.sgml:
23705 * docs/gst/tmpl/old/gststatistics.sgml:
23706 * docs/gst/tmpl/old/gsttee.sgml:
23707 * docs/gst/tmpl/old/gsttimecache.sgml:
23708 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23709 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23710 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23711 * docs/gst/tmpl/old/types.sgml:
23712 I didn't intend to add these or check them in.
23714 2005-05-19 David Schleef <ds@schleef.org>
23716 * configure.ac: Use -no-common everywhere. In a sane world, it
23717 would be the default in libtool, because without it, you can't
23718 build DLLs on Windows.
23719 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23720 * docs/gst/gstreamer-sections.txt:
23721 * docs/gst/tmpl/gstcpu.sgml:
23722 * docs/gst/tmpl/gstdata.sgml:
23723 * docs/gst/tmpl/gstthread.sgml:
23725 2005-05-19 David Schleef <ds@schleef.org>
23727 * gst/gstminiobject.c: (gst_value_set_mini_object),
23728 (gst_value_take_mini_object), (gst_value_get_mini_object):
23729 * gst/gstminiobject.h: Add GValue set/get functions.
23731 2005-05-19 Wim Taymans <wim@fluendo.com>
23733 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23734 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23735 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23737 * gst/gstbus.c: (gst_bus_post):
23738 * gst/gstelement.c: (gst_element_get_random_pad):
23739 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23740 Make subbufer unref the parent in finalize.
23741 some more debugging info.
23744 2005-05-19 Wim Taymans <wim@fluendo.com>
23746 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23747 (gst_basesink_init), (gst_basesink_finalize),
23748 (gst_basesink_activate), (gst_basesink_change_state):
23749 Don't free preroll queue too early.
23751 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23755 Hi, I'm outdated. Please shoot me.
23757 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23759 * gst/gstpipeline.c: (gst_pipeline_send_event):
23760 Do not access variables after they have been deleted.
23762 2005-05-19 Wim Taymans <wim@fluendo.com>
23764 * tools/gst-inspect.c: (print_plugin_features):
23765 A plugin feature does unfortunatly not use the
23768 2005-05-18 Wim Taymans <wim@fluendo.com>
23770 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23771 Port _span() functions to new subbuffers.
23773 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23775 * gst/gstbin.c: (gst_bin_add_func):
23776 Fix clock settery in bins when adding kids after the clock has
23779 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23781 * gst/elements/gstidentity.c: (gst_identity_class_init):
23782 Workaround until signals support GstMiniObject.
23784 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23787 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23789 2005-05-18 Wim Taymans <wim@fluendo.com>
23791 * gst/base/Makefile.am:
23792 * gst/base/gstadapter.c: (gst_adapter_base_init),
23793 (gst_adapter_class_init), (gst_adapter_init),
23794 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23795 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23796 (gst_adapter_flush), (gst_adapter_available),
23797 (gst_adapter_available_fast):
23798 * gst/base/gstadapter.h:
23799 Ported and added adapter to the base classes.
23801 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23804 * gst/gstmessage.c:
23805 Make sure the class is reffed/unreffed once before threads can be
23806 used. Fixes #304551.
23808 2005-05-17 Wim Taymans <wim@fluendo.com>
23810 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23811 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23812 * gst/gstminiobject.c: (gst_mini_object_get_type),
23813 (gst_mini_object_free):
23814 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23815 (gst_pad_push), (gst_pad_push_event):
23816 * gst/gstqueue.c: (gst_queue_change_state):
23817 Don't queue buffers in basesink when we are flushing.
23818 Unref buffer when flushing in basesink.
23819 Flush queue when going to READY
23820 Unref buffer when _push() returns an error.
23821 Don't free MiniObject instance when refcount is incremented
23822 in _finalize() so that we can recover objects.
23824 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23826 * docs/manual/advanced-schedulers.xml:
23827 * docs/manual/appendix-checklist.xml:
23828 * docs/pwg/advanced-clock.xml:
23829 * docs/pwg/advanced-interfaces.xml:
23830 * docs/pwg/advanced-request.xml:
23831 * docs/pwg/advanced-types.xml:
23832 * docs/pwg/intro-preface.xml:
23833 * examples/plugins/example.c: (gst_example_get_type),
23834 (gst_example_class_init), (gst_example_chain),
23835 (gst_example_set_property), (gst_example_get_property),
23836 (gst_example_change_state), (plugin_init):
23837 * examples/plugins/example.h:
23840 2005-05-17 Wim Taymans <wim@fluendo.com>
23842 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23843 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23844 * gst/gstqueue.c: (gst_queue_change_state):
23845 Clear queue when going to READY.
23846 Remove IN_SETCAPS flag too.
23848 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23850 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23851 Remove implicit cast from gboolean to GstElementStateReturn;
23852 make sure we still return failure in paused => ready case if
23853 the parent class fails to change state and our own stop
23856 2005-05-17 Wim Taymans <wim@fluendo.com>
23858 * tools/gst-launch.c: (event_loop):
23859 Message was unreffed too soon.
23861 2005-05-16 Andy Wingo <wingo@pobox.com>
23863 * gst/gstbin.c (sink_iterator_filter): Err... um...
23865 * check/gst/gstbin.c (test_ghost_pads): New test for the
23866 ghosting-if-elements-not-in-same-bin behavior.
23868 2005-05-16 David Schleef <ds@schleef.org>
23870 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23871 accessing refcount directly.
23873 2005-05-15 David Schleef <ds@schleef.org>
23875 * check/Makefile.am: remove GstData checks
23876 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23877 * gst/Makefile.am: add miniobject, remove data
23878 * gst/gst.h: add miniobject, remove data
23879 * gst/gstdata.c: remove
23880 * gst/gstdata.h: remove
23881 * gst/gstdata_private.h: remove
23882 * gst/gsttypes.h: remove GstEvent and GstMessage
23883 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23884 * gst/gstmarshal.list: change BOXED -> OBJECT
23886 Implement GstMiniObject.
23887 * gst/gstminiobject.c:
23888 * gst/gstminiobject.h:
23890 Modify to be subclasses of GstMiniObject.
23891 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23892 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23893 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23894 (gst_subbuffer_get_type), (gst_subbuffer_init),
23895 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23898 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23899 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23900 (_gst_event_copy), (gst_event_new):
23902 * gst/gstmessage.c: (_gst_message_initialize),
23903 (gst_message_get_type), (gst_message_class_init),
23904 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23905 (gst_message_new), (gst_message_new_error),
23906 (gst_message_new_warning), (gst_message_new_tag),
23907 (gst_message_new_state_changed), (gst_message_new_application):
23908 * gst/gstmessage.h:
23909 * gst/gstprobe.c: (gst_probe_perform),
23910 (gst_probe_dispatcher_dispatch):
23912 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23913 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23914 (_gst_query_copy), (gst_query_new):
23916 Update elements for GstData -> GstMiniObject changes
23918 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23919 (gst_queue_chain), (gst_queue_loop):
23920 * gst/elements/gstbufferstore.c:
23921 (gst_buffer_store_add_buffer_func),
23922 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23923 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23924 (gst_fakesink_render):
23925 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23926 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23927 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23928 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23929 (gst_filesrc_create_read):
23930 * gst/elements/gstidentity.c: (gst_identity_class_init):
23931 * gst/elements/gsttypefindelement.c:
23932 (gst_type_find_element_src_event), (free_entry_buffers),
23933 (gst_type_find_element_handle_event):
23934 * libs/gst/dataprotocol/dataprotocol.c:
23935 (gst_dp_header_from_buffer):
23936 * libs/gst/dataprotocol/dataprotocol.h:
23937 * libs/gst/dataprotocol/dp-private.h:
23939 2005-05-15 David Schleef <ds@schleef.org>
23941 * gst/elements/gstelements.c: Don't include headers that were
23944 2005-05-15 David Schleef <ds@schleef.org>
23946 * gst/elements/Makefile.am: Remove some elements that don't
23947 need to be in the core (or even exist at all).
23948 * gst/elements/gstaggregator.c:
23949 * gst/elements/gstaggregator.h:
23950 * gst/elements/gstmd5sink.c:
23951 * gst/elements/gstmd5sink.h:
23952 * gst/elements/gstmultifilesrc.c:
23953 * gst/elements/gstmultifilesrc.h:
23954 * gst/elements/gstpipefilter.c:
23955 * gst/elements/gstpipefilter.h:
23956 * gst/elements/gstshaper.c:
23957 * gst/elements/gstshaper.h:
23958 * gst/elements/gststatistics.c:
23959 * gst/elements/gststatistics.h:
23960 * po/POTFILES.in: Remove above files.
23962 2005-05-14 Andy Wingo <wingo@pobox.com>
23964 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23965 so as to get the refs right.
23966 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23967 unreffing objects that don't pass the filter.
23969 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23970 gst_element_set_bus.
23971 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23972 normal cases, this will destroy the bus.
23974 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23977 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23980 2005-05-13 Andy Wingo <wingo@pobox.com>
23982 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23983 gst_pad_link, call pad_link_maybe_ghosting,
23984 (pad_link_maybe_ghosting): Links pads, making sure that the
23985 elements being linked are in the same bin.
23986 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23987 Helpers for pad_link_maybe_ghosting.
23989 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23992 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23994 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23996 * docs/design/part-element-source.txt:
23999 2005-05-12 Wim Taymans <wim@fluendo.com>
24001 * gst/base/gstbasesink.c: (gst_basesink_init),
24002 (gst_basesink_activate):
24003 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24004 (gst_basesrc_is_seekable):
24005 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24006 (bin_element_is_sink), (gst_bin_change_state):
24007 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24008 * gst/gstelement.h:
24009 Identify sinks by their flag to avoid overly complicated
24011 Do state changes even for elements not reachable from the
24013 BaseSink is a sink now :)
24014 Some more debugging info in the basesrc.
24017 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24019 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24020 Implement _query on a bin, similar to _send_event.
24022 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24024 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24025 Discont event offset format should be GST_FORMAT_BYTES,
24026 not GST_FORMAT_TIME.
24028 2005-05-12 Wim Taymans <wim@fluendo.com>
24030 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24031 Same fix as Ronald's but without the signal.
24033 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24035 * gst/gstutils.c: (gst_element_query_position):
24036 No, an element is not a pad.
24038 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24040 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24041 (gst_bin_get_state):
24042 If a child is removed from a bin while we remove the child from
24043 the bin and while we're retrieving its state, signal this to the
24044 get_state function so we abort the wait (instead of waiting for
24045 a timeout) and can immediately re-iterate over all other elements.
24047 2005-05-12 Wim Taymans <wim@fluendo.com>
24049 * gst/base/Makefile.am:
24050 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24051 (gst_basesrc_start):
24052 * gst/base/gstbasesrc.h:
24053 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24054 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24055 (gst_pushsrc_init), (gst_pushsrc_create):
24056 * gst/base/gstpushsrc.h:
24057 Added is_seekable to BaseSrc
24058 Added simple PushSrc.
24060 2005-05-11 Wim Taymans <wim@fluendo.com>
24062 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24063 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24064 (gst_element_link_pads), (gst_element_query_position),
24065 (gst_element_query_convert), (intersect_caps_func),
24066 (gst_pad_query_position), (gst_pad_query_convert):
24067 Fix refcounting in utils function.
24068 No point in trying to activate a pad when it's added, it could
24069 be added from the state change function and then we deadlock, the
24070 element has to decide what to do.
24072 2005-05-10 Andy Wingo <wingo@pobox.com>
24074 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24075 *all* the arguments.
24077 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24078 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24079 lock (according to the docs -- if this is wrong change the docs).
24081 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24082 flush messages in the NULL state.
24084 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24085 message immediately and return.
24086 (gst_bus_set_flushing): New function. If a bus is flushing, it
24087 flushes out any queued messages and immediately unrefs new
24088 messages. This is so when an element goes to NULL, all of the
24089 unhandled messages coming from it can be freed, and their
24090 references to the element dropped. In other words: message source
24091 ref considered harmful :P
24093 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24094 we're finished with it.
24096 * gst/gstmessage.c (gst_message_new_state_changed):
24098 2005-05-10 Wim Taymans <wim@fluendo.com>
24100 * gst/gstvalue.c: (gst_value_compare_flags),
24101 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24102 (_gst_value_initialize):
24103 Added flags serialize/deserialize/compare code.
24105 2005-05-09 Andy Wingo <wingo@pobox.com>
24107 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24108 Intersect the peer's caps with our caps.
24110 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24112 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24113 * gst/elements/gsttypefindelement.c: (find_peek):
24114 Handle negative offsets better. Fixes decodebin.
24116 2005-05-09 Wim Taymans <wim@fluendo.com>
24118 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24119 (gst_base_transform_event):
24120 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24121 Implement accept_caps.
24122 Fix silly lock/unlock mismatch in base class.
24124 2005-05-09 Wim Taymans <wim@fluendo.com>
24126 * docs/design/draft-push-pull.txt:
24127 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24128 * gst/elements/gstfilesink.c: (gst_filesink_init),
24129 (gst_filesink_query):
24130 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24131 (gst_type_find_handle_src_query), (find_element_get_length):
24132 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24133 * gst/gstelement.h:
24134 * gst/gstmessage.c:
24135 * gst/gstmessage.h:
24136 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24137 (gst_real_pad_get_caps_unlocked),
24138 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24139 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24140 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24141 (gst_real_pad_dispose), (gst_real_pad_finalize),
24142 (gst_pad_load_and_link), (gst_pad_save_thyself),
24143 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24144 (gst_pad_check_pull_range), (gst_pad_pull_range),
24145 (gst_pad_template_get_type), (gst_pad_template_class_init),
24146 (gst_pad_template_init), (gst_pad_template_dispose),
24147 (name_is_valid), (gst_static_pad_template_get),
24148 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24149 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24150 (gst_pad_get_element_private), (gst_pad_start_task),
24151 (gst_pad_pause_task), (gst_pad_stop_task),
24152 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24153 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24154 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24155 (gst_ghost_pad_new):
24157 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24158 (gst_query_new_position), (gst_query_set_position),
24159 (gst_query_parse_position), (gst_query_new_convert),
24160 (gst_query_set_convert), (gst_query_parse_convert):
24162 * gst/gstqueryutils.c:
24163 * gst/gstqueryutils.h:
24164 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24165 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24166 (gst_queue_handle_src_query):
24167 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24168 (gst_element_query_position), (gst_element_query_convert),
24169 (intersect_caps_func), (gst_pad_query_position),
24170 (gst_pad_query_convert):
24172 * tools/gst-inspect.c: (print_pad_info):
24173 * tools/gst-xmlinspect.c: (print_element_info):
24174 Remove old query functions. Ported old code.
24175 Added position/convert helper functions to gstutils.
24176 Reordered gstpad.c code, grouping relevant things.
24177 Remove gst_message_new(), always need to speficy a specific
24181 2005-05-09 Andy Wingo <wingo@pobox.com>
24183 * gst/gstiterator.h: Add some includes.
24185 * gst/gstqueryutils.h: Include more headers.
24188 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24189 some uses of gst_pad_query.
24191 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24192 NULL out parameters.
24193 (gst_query_new_position): New proc, allocates a new position
24196 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24197 gstqueryutils.c to the build.
24199 * gst/gststructure.c (gst_structure_set_valist): Implement with
24200 the generic G_VALUE_COLLECT.
24202 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24204 * gst/Makefile.am: (gst_headers):
24205 Added gstqueryutils.h to the list of headers to install, that was
24206 a 'nachty' move wingo :)
24208 2005-05-06 Andy Wingo <wingo@pobox.com>
24211 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24212 GstData, init a memchunk.
24213 (standard_definitions): Add a few query types, deprecate a few.
24214 (gst_query_get_type): New proc.
24215 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24217 (gst_query_new_application, gst_query_get_structure): New public
24220 * docs/design/draft-query.txt: Removed LINKS from the query types,
24221 because all the rest can be dispatched to other pads -- seemed
24222 ugly to have a query that couldn't be dispatched. internal_links
24223 is fine as a pad method.
24225 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24226 in gstpad.c, but maintain binary compatibility for the moment.
24227 Will fix before 0.9 is out.
24229 * gst/gstqueryutils.c:
24230 * gst/gstqueryutils.h: New files, implement 3 methods for each
24231 query type: parse_query, parse_response, and set. Probably need an
24234 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24236 * gst/elements/gstfilesink.c (gst_filesink_query2):
24237 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24238 query_types, and formats methods.
24240 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24241 (gst_pad_set_query2_function): New functions.
24242 (gst_real_pad_init): Set query2_default as the default query2
24243 function. Basically just dispatches to internally linked pads.
24247 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24248 without using the atomic operations. Only one thread can possibly
24249 be accessing the data at this point. Changed so as to avoid
24250 gst_atomic operations.
24252 2005-05-06 Wim Taymans <wim@fluendo.com>
24254 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24255 Also set caps if we use the fallback buffer alloc.
24257 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24259 * docs/gst/Makefile.am:
24260 * docs/gst/gstreamer-docs.sgml:
24261 * docs/gst/gstreamer-sections.txt:
24262 * docs/gst/tmpl/gstatomic.sgml:
24263 * docs/gst/tmpl/gstmemchunk.sgml:
24264 * testsuite/elements/struct_i386.h:
24265 * win32/GStreamer.vcproj:
24267 Purge GstAtomic stuff from docs and win32 makefiles as well
24269 2005-05-06 Wim Taymans <wim@fluendo.com>
24271 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24272 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24273 * gst/gstpad.c: (gst_pad_peer_get_caps):
24274 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24275 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24276 (gst_queue_src_activate), (gst_queue_change_state):
24278 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24279 (intersect_caps_func):
24280 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24281 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24282 Some fixes for the peer_get_caps() change.
24284 2005-05-06 Wim Taymans <wim@fluendo.com>
24286 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24287 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24288 (gst_basesink_activate):
24289 Actually do something with error codes returned from the push
24292 2005-05-06 Wim Taymans <wim@fluendo.com>
24294 * docs/design/part-element-sink.txt:
24295 * docs/design/part-element-source.txt:
24296 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24297 (gst_basesink_event), (gst_basesink_activate):
24298 * gst/base/gstbasesink.h:
24299 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24300 (gst_basesrc_activate):
24301 * gst/base/gstbasesrc.h:
24302 * gst/gstelement.c: (gst_element_pads_activate):
24303 Some more documentation.
24304 Fixed scheduling decision in _pads_activate().
24306 2005-05-05 Andy Wingo <wingo@pobox.com>
24308 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24311 2005-05-05 Wim Taymans <wim@fluendo.com>
24313 * gst/base/Makefile.am:
24314 * gst/base/gstbasesink.h:
24315 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24316 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24317 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24318 (gst_collectpads_class_init), (gst_collectpads_init),
24319 (gst_collectpads_finalize), (gst_collectpads_new),
24320 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24321 (find_pad), (gst_collectpads_remove_pad),
24322 (gst_collectpads_is_active), (gst_collectpads_collect),
24323 (gst_collectpads_collect_range), (gst_collectpads_start),
24324 (gst_collectpads_stop), (gst_collectpads_peek),
24325 (gst_collectpads_pop), (gst_collectpads_available),
24326 (gst_collectpads_read), (gst_collectpads_flush),
24327 (gst_collectpads_chain):
24328 * gst/base/gstcollectpads.h:
24329 * gst/elements/Makefile.am:
24330 * gst/elements/gstelements.c:
24331 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24332 (gst_fakesink_get_times), (gst_fakesink_event),
24333 (gst_fakesink_preroll), (gst_fakesink_render):
24334 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24335 (gst_filesink_init), (gst_filesink_set_location),
24336 (gst_filesink_open_file), (gst_filesink_close_file),
24337 (gst_filesink_pad_query), (gst_filesink_event),
24338 (gst_filesink_render), (gst_filesink_change_state):
24339 * gst/elements/gstfilesink.h:
24340 Added object to help in making collect pad based elements.
24342 Make event function in sink baseclass return gboolean.
24344 2005-05-05 Wim Taymans <wim@fluendo.com>
24346 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24347 (gst_bin_get_by_name):
24349 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24350 (gst_clock_finalize):
24351 * gst/gstdata.c: (gst_data_replace):
24353 * gst/gstelement.c: (gst_element_request_pad),
24354 (gst_element_pads_activate):
24355 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24356 (gst_object_unref):
24357 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24358 (gst_pad_set_checkgetrange_function),
24359 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24360 (gst_pad_check_pull_range), (gst_pad_pull_range),
24361 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24362 (gst_pad_pause_task), (gst_pad_stop_task):
24363 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24364 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24365 Fix name lookup in GstBin.
24366 Added _data_replace() function and _buffer_replace()
24367 Use finalize method to clean up clock.
24368 Fix refcounting on request pads.
24369 Fix pad schedule mode error.
24370 Some more object refcounting debug info,
24373 2005-05-04 Andy Wingo <wingo@pobox.com>
24375 * check/Makefile.am:
24376 * docs/gst/tmpl/gstatomic.sgml:
24377 * docs/gst/tmpl/gstplugin.sgml:
24378 * gst/base/gstbasesink.c: (gst_basesink_activate):
24379 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24380 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24381 (gst_basesrc_query), (gst_basesrc_set_property),
24382 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24383 (gst_basesrc_activate):
24384 * gst/base/gstbasesrc.h:
24385 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24386 (gst_base_transform_src_activate):
24387 * gst/elements/gstelements.c:
24388 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24389 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24390 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24391 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24392 (gst_type_find_element_checkgetrange),
24393 (gst_type_find_element_activate):
24394 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24395 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24396 (gst_caps_load_thyself):
24397 * gst/gstelement.c: (gst_element_pads_activate),
24398 (gst_element_save_thyself), (gst_element_restore_thyself):
24399 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24400 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24402 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24403 (gst_xml_parse_file), (gst_xml_parse_memory),
24404 (gst_xml_get_element), (gst_xml_make_element):
24405 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24406 (_file_index_id_save_xml), (gst_file_index_commit):
24407 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24408 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24410 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24411 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24412 * tools/gst-complete.c: (main):
24413 * tools/gst-compprep.c: (main):
24414 * tools/gst-inspect.c: (print_element_properties_info):
24415 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24416 * tools/gst-xmlinspect.c: (print_element_properties):
24419 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24421 * gst/gstplugin.c: (gst_plugin_check_module),
24422 (gst_plugin_check_file), (gst_plugin_load_file):
24423 apply patch from #172526 to make register work on MacOSX
24425 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24427 * docs/gst/tmpl/gstconfig.sgml:
24428 * gst/gstconfig.h.in:
24429 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24430 * testsuite/debug/printf_extension.c: (main):
24431 Do not use GST_PTR_FORMAT on pointers to types with
24432 sizeof < sizeof(gpointer). Fixes test on 64-bit
24433 * testsuite/elements/property.h:
24434 use correct printf format
24436 2005-05-02 Wim Taymans <wim@fluendo.com>
24438 * docs/design/draft-push-pull.txt:
24439 * docs/design/draft-query.txt:
24440 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24441 (gst_basesrc_start):
24442 Added draft for new query API.
24443 Added draft for better selecting scheduling methods.
24444 Make basesrc ignore length if the subclass does not support
24447 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24450 possible fixes for automake-1.5 - _LIBADD is reserved
24452 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24454 * docs/faq/Makefile.am:
24455 * docs/manual/Makefile.am:
24456 * docs/manuals.mak:
24457 * docs/pwg/Makefile.am:
24459 possible fixes for automake-1.5
24461 2005-04-28 Wim Taymans <wim@fluendo.com>
24463 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24464 (gst_basesink_pad_getcaps), (gst_basesink_init),
24465 (gst_basesink_do_sync):
24466 * gst/gstclock.c: (gst_clock_entry_new):
24467 * gst/gstevent.c: (gst_event_discont_get_value):
24468 * gst/gstpipeline.c: (pipeline_bus_handler),
24469 (gst_pipeline_change_state):
24470 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24471 Better debugging of clocking info.
24472 Allow NULL values when getting discont values.
24474 2005-04-27 Wim Taymans <wim@fluendo.com>
24476 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24477 * check/gst/gstpad.c: (gst_pad_suite):
24478 Increase timeout for checks.
24480 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24482 * check/Makefile.am:
24483 fix the broken rule for cleanup. Apparently this rule is
24484 only needed on FC2, so maybe this warrants further autotool
24487 2005-04-26 Wim Taymans <wim@fluendo.com>
24489 * gst/gsttrashstack.h:
24490 Ooohh. a nasty one! After having a failed pop() from the stack,
24491 it's possible that the stack is empty. In that case, don't
24492 follow the NULL pointer.
24494 2005-04-25 Wim Taymans <wim@fluendo.com>
24496 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24497 (gst_pad_set_checkgetrange_function),
24498 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24499 (gst_pad_check_pull_range), (gst_pad_pull_range),
24500 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24501 (gst_pad_pause_task), (gst_pad_stop_task):
24502 * gst/gstplugin.c: (gst_plugin_load):
24504 Remove gst_library_load as it does more harm than good with
24505 the new g_module flags.
24506 Revert bogus caps template check in pad linking, pad caps
24507 are important when linking not the template, which is more
24508 general than the current caps.
24510 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24512 * gst/autoplug/.cvsignore:
24513 * gst/autoplug/Makefile.am:
24514 * gst/autoplug/gstsearchfuncs.c:
24515 * gst/autoplug/gstsearchfuncs.h:
24516 * gst/autoplug/gstspider.c:
24517 * gst/autoplug/gstspider.h:
24518 * gst/autoplug/gstspideridentity.c:
24519 * gst/autoplug/gstspideridentity.h:
24520 * gst/autoplug/spidertest.c:
24523 2005-04-25 Wim Taymans <wim@fluendo.com>
24525 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24526 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24527 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24528 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24530 Added stubs for unimplemented functions.
24532 2005-04-24 David Schleef <ds@schleef.org>
24534 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24537 2005-04-24 David Schleef <ds@schleef.org>
24539 Convert everything from GstAtomicInt to g_atomic_int_*, and
24544 * gst/gstatomic_impl.h:
24552 * gst/gstdata_private.h:
24556 * gst/gstmessage.c:
24559 * gst/gststructure.c:
24560 * gst/gststructure.h:
24561 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24564 2005-04-24 David Schleef <ds@schleef.org>
24566 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24567 make the regressions tests work. Remove some code that is no
24569 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24570 Disable warning for pads without templates.
24572 2005-04-24 David Schleef <ds@schleef.org>
24574 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24575 functions that handle filtered links.
24576 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24578 * gst/gstutils.c: Fix/remove utility functions that handle
24581 * gst/gstvalue.c: Add serialization/deserialization of caps
24582 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24583 requires fixing so that the filter caps notation creates
24584 a capsfilter element and sets the filter_caps property. I
24585 think everyone probably wants to keep the shorthand notation.
24586 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24587 * docs/gst/tmpl/gstpad.sgml:
24589 * gst/elements/gstelements.c: Register capsfilter element.
24590 * gst/Makefile.am: fix spacing
24591 * docs/random/ds/0.9-suggested-changes: random
24593 2005-04-23 David Schleef <ds@schleef.org>
24595 * gst/elements/Makefile.am:
24596 * gst/elements/gstcapsfilter.c: New element that acts like an
24597 identity, but filters caps. Will eventually replace filtered
24598 caps in pad linking.
24599 * gst/gstutils.c: (gst_element_create_all_pads): New function
24600 to create all the ALWAYS pads that are registered with an
24601 element class. This functionality should eventually be
24602 merged in with GstElement initialization.
24604 * testsuite/trigger/README: part of trigger test code that should
24605 have been checked in a long time ago.
24607 2005-04-23 David Schleef <ds@schleef.org>
24609 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24610 needed with new versions of libtool (nobody will confirm this),
24611 and hard to carry around.
24612 * gst/autoplug/Makefile.am:
24613 * gst/base/Makefile.am:
24614 * gst/elements/Makefile.am:
24615 * gst/indexers/Makefile.am:
24616 * gst/schedulers/Makefile.am:
24617 * libs/gst/bytestream/Makefile.am:
24618 * libs/gst/control/Makefile.am:
24619 * libs/gst/dataprotocol/Makefile.am:
24620 * libs/gst/getbits/Makefile.am:
24622 2005-04-21 Wim Taymans <wim@fluendo.com>
24624 * docs/design/draft-push-pull.txt:
24625 * docs/design/part-MT-refcounting.txt:
24626 * docs/design/part-TODO.txt:
24627 * docs/design/part-caps.txt:
24628 * docs/design/part-events.txt:
24629 * docs/design/part-gstbus.txt:
24630 * docs/design/part-gstpipeline.txt:
24631 * docs/design/part-messages.txt:
24632 * docs/design/part-push-pull.txt:
24633 * docs/design/part-query.txt:
24636 2005-04-21 Wim Taymans <wim@fluendo.com>
24638 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24639 (gst_message_new), (gst_message_new_error),
24640 (gst_message_new_warning), (gst_message_new_tag),
24641 (gst_message_new_state_changed), (gst_message_new_application),
24642 (gst_message_get_structure):
24643 * gst/gstmessage.h:
24644 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24645 (gst_structure_copy_conditional):
24646 Use parent refcount in GstMessage to ensure GstStructure
24648 Cleaned up headers a bit.
24651 2005-04-20 Wim Taymans <wim@fluendo.com>
24653 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24654 (gst_basesink_pad_getcaps), (gst_basesink_init),
24655 (gst_basesink_chain_unlocked):
24656 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24657 (gst_type_find_helper):
24658 * gst/elements/gsttypefindelement.c:
24659 (gst_type_find_element_have_type), (gst_type_find_element_init),
24660 (stop_typefinding), (gst_type_find_element_handle_event),
24661 (find_suggest), (gst_type_find_element_chain),
24662 (gst_type_find_element_checkgetrange),
24663 (gst_type_find_element_getrange), (do_typefind),
24664 (gst_type_find_element_activate):
24665 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24666 (gst_buffer_default_free), (gst_buffer_default_copy),
24667 (gst_buffer_set_caps):
24668 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24669 (gst_caps_replace):
24670 * gst/gstmessage.c: (gst_message_new),
24671 (gst_message_new_state_changed):
24672 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24673 (gst_pad_set_checkgetrange_function),
24674 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24675 (gst_pad_set_caps), (gst_pad_check_pull_range),
24676 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24678 * gst/gsttypefind.c: (gst_type_find_register):
24679 Make gst_caps_replace() work like other _replace() functions.
24680 Use _caps_replace() where possible.
24681 Make sure _message_new() initialises its field.
24682 Add gst_static_pad_template_get_caps()
24685 2005-04-18 Andy Wingo <wingo@pobox.com>
24687 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24688 on the peer, not the pad. I think that was a typo. Pass an extra
24689 arg to see if random access is possible. Activate the pads as
24690 PULL_RANGE if possible.
24692 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24694 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24695 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24698 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24700 * docs/faq/using.xml:
24701 Add note on gstreamer-properties (#154996).
24703 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24705 * docs/random/bbb/optional-properties:
24706 Some analysis on optional properties.
24708 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24710 * docs/gst/tmpl/gstelementfactory.sgml:
24711 * gst/gstelement.h:
24712 * gst/gstelementfactory.c: (gst_element_factory_init),
24713 (gst_element_factory_cleanup), (gst_element_register),
24714 (__gst_element_factory_add_static_pad_template),
24715 (gst_element_factory_get_static_pad_templates),
24716 (gst_element_factory_can_src_caps),
24717 (gst_element_factory_can_sink_caps):
24718 * gst/registries/Makefile.am:
24719 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24720 (gst_xml_registry_class_init), (gst_xml_registry_init),
24721 (gst_xml_registry_new), (gst_xml_registry_set_property),
24722 (gst_xml_registry_get_property), (get_time), (make_dir),
24723 (gst_xml_registry_get_perms_func),
24724 (plugin_times_older_than_recurse), (plugin_times_older_than),
24725 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24726 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24727 (add_to_char_array), (read_string), (read_uint), (read_enum),
24728 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24729 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24730 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24731 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24732 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24733 (gst_xml_registry_rebuild):
24734 * gst/registries/gstlibxmlregistry.h:
24735 * tools/gst-compprep.c: (main):
24736 * tools/gst-inspect.c: (print_pad_templates_info):
24737 * tools/gst-xmlinspect.c: (print_element_info):
24738 Use libxml2 for registry parsing, use staticpadtemplates in
24739 elementfactories. Makes gst_init() +/- 10x faster.
24741 2005-04-12 Wim Taymans <wim@fluendo.com>
24743 * gst/base/Makefile.am:
24744 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24745 (gst_basesink_pad_getcaps), (gst_basesink_init),
24746 (gst_basesink_event), (gst_basesink_change_state):
24747 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24748 (gst_basesrc_init), (gst_basesrc_query),
24749 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24750 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24751 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24752 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24753 (gst_basesrc_stop), (gst_basesrc_activate),
24754 (gst_basesrc_change_state):
24755 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24756 (helper_find_suggest), (gst_type_find_helper):
24757 * gst/base/gsttypefindhelper.h:
24758 * gst/elements/Makefile.am:
24759 * gst/elements/gstelements.c:
24760 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24761 (gst_fakesink_get_times), (gst_fakesink_event),
24762 (gst_fakesink_preroll), (gst_fakesink_render):
24763 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24764 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24765 (gst_fakesrc_get_property), (gst_fakesrc_create),
24766 (gst_fakesrc_start), (gst_fakesrc_stop):
24767 * gst/elements/gstfakesrc.h:
24768 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24769 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24770 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24771 (gst_filesrc_create_read), (gst_filesrc_create),
24772 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24773 (gst_filesrc_start):
24774 * gst/elements/gsttypefindelement.c:
24775 (gst_type_find_element_have_type), (gst_type_find_element_init),
24776 (start_typefinding), (stop_typefinding), (push_buffer_store),
24777 (gst_type_find_element_handle_event),
24778 (gst_type_find_element_chain),
24779 (gst_type_find_element_checkgetrange),
24780 (gst_type_find_element_getrange), (do_typefind),
24781 (gst_type_find_element_activate),
24782 (gst_type_find_element_change_state):
24783 * gst/elements/gsttypefindelement.h:
24784 * gst/gstpipeline.c: (pipeline_bus_handler):
24785 Added typefind helper.
24786 Small preroll fix in the base sink.
24787 Disable typefind code in basesrc.
24788 Crude port of typefindelement.
24792 2005-04-11 Wim Taymans <wim@fluendo.com>
24794 * check/gst/gstbus.c: (gstbus_suite):
24795 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24796 * check/gstcheck.h:
24797 Fix up the timeout so that the test does not fail.
24799 2005-04-06 Wim Taymans <wim@fluendo.com>
24802 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24803 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24804 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24805 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24806 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24807 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24808 (gst_basesrc_stop), (gst_basesrc_activate),
24809 (gst_basesrc_change_state), (basesrc_find_peek),
24810 (basesrc_find_suggest), (gst_basesrc_type_find):
24811 * gst/base/gstbasesrc.h:
24812 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24813 (gst_filesrc_class_init), (gst_filesrc_init),
24814 (gst_filesrc_finalize), (gst_filesrc_set_location),
24815 (gst_filesrc_set_property), (gst_filesrc_get_property),
24816 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24817 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24818 (gst_filesrc_create_read), (gst_filesrc_create),
24819 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24820 * gst/elements/gstfilesrc.h:
24821 * gst/gstelement.c: (gst_element_get_state_func),
24822 (gst_element_lost_state), (gst_element_pads_activate):
24823 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24824 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24825 (gst_pad_pull_range):
24827 More work on the generic source base class, implement seeking,
24829 Make filesrc extend the base source class.
24830 Added gst_pad_set_checkgetrange_function to GstPad.
24832 2005-04-06 Andy Wingo <wingo@pobox.com>
24834 * pkgconfig/gstreamer-base.pc.in:
24835 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24837 * pkgconfig/Makefile.am:
24838 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24840 2005-04-04 Wim Taymans <wim@fluendo.com>
24842 * gst/base/Makefile.am:
24844 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24845 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24846 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24847 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24848 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24849 (gst_basesrc_base_init), (gst_basesrc_class_init),
24850 (gst_basesrc_init), (gst_basesrc_get_formats),
24851 (gst_basesrc_get_query_types), (gst_basesrc_query),
24852 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24853 (gst_basesrc_set_property), (gst_basesrc_get_property),
24854 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24855 (gst_basesrc_loop), (gst_basesrc_activate),
24856 (gst_basesrc_change_state):
24857 * gst/base/gstbasesrc.h:
24858 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24859 (gst_fakesrc_class_init), (gst_fakesrc_init),
24860 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24861 (gst_fakesrc_get_property), (gst_fakesrc_create):
24862 * gst/elements/gstfakesrc.h:
24863 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24864 (gst_filesrc_open_file), (gst_filesrc_loop),
24865 (gst_filesrc_activate), (filesrc_find_peek),
24866 (gst_filesrc_type_find):
24867 Made base source class, make fakesrc extend it.
24868 Add comments to basesink class.
24869 Some filesrc cleanup.
24871 2005-03-31 David Schleef <ds@schleef.org>
24873 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24874 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24875 expected to link against libgstreamer.
24876 * gst/base/Makefile.am: link against libgstreamer
24877 * gst/elements/Makefile.am: same
24879 2005-03-31 Andy Wingo <wingo@pobox.com>
24881 * tests/instantiate/Makefile.am:
24882 * tests/instantiate/caps.c: Add test to test speed of caps copy
24885 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24886 GMemChunk to be fair.
24888 * gst/gsttrashstack.h: Remove warning about using the fallback
24889 trash stack implementation, it's still faster than malloc.
24891 2005-03-30 Andy Wingo <wingo@pobox.com>
24893 * tests/complexity.c: Add a copyright.
24895 2005-03-31 Wim Taymans <wim@fluendo.com>
24897 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24898 (gst_base_transform_class_init), (gst_base_transform_init),
24899 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24900 (gst_base_transform_get_property),
24901 (gst_base_transform_sink_activate),
24902 (gst_base_transform_src_activate),
24903 (gst_base_transform_change_state):
24904 * gst/base/gstbasetransform.h:
24905 * gst/elements/gstidentity.c: (gst_identity_class_init),
24906 (gst_identity_event), (gst_identity_check_perfect),
24907 (gst_identity_transform), (gst_identity_start),
24908 (gst_identity_stop):
24909 Added start/stop methods to transform base class so subclasses
24910 don't need to deal with state changes even.
24912 2005-03-31 Wim Taymans <wim@fluendo.com>
24914 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24915 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24917 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24918 (gst_pad_pull_range):
24919 Added rate to the discont event to prepare for variable speed
24920 and reverse playback.
24922 2005-03-29 David Schleef <ds@schleef.org>
24925 * testsuite/trigger/Makefile.am:
24926 * testsuite/trigger/trigger.c: A little example program to show
24927 how trigger-based elements can work.
24929 2005-03-29 Wim Taymans <wim@fluendo.com>
24931 * gst/base/Makefile.am:
24933 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24934 (gst_basesink_base_init), (gst_basesink_class_init),
24935 (gst_basesink_pad_getcaps), (gst_basesink_init),
24936 (gst_basesink_activate), (gst_basesink_change_state):
24937 * gst/base/gstbasesink.h:
24938 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24939 (gst_base_transform_base_init), (gst_base_transform_finalize),
24940 (gst_base_transform_class_init), (gst_base_transform_init),
24941 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24942 (gst_base_transform_event), (gst_base_transform_getrange),
24943 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24944 (gst_base_transform_set_property),
24945 (gst_base_transform_get_property),
24946 (gst_base_transform_sink_activate),
24947 (gst_base_transform_src_activate),
24948 (gst_base_transform_change_state):
24949 * gst/base/gstbasetransform.h:
24950 * gst/elements/gstidentity.c: (gst_identity_finalize),
24951 (gst_identity_class_init), (gst_identity_init),
24952 (gst_identity_event), (gst_identity_check_perfect),
24953 (gst_identity_transform), (gst_identity_set_property),
24954 (gst_identity_get_property), (gst_identity_change_state):
24955 * gst/elements/gstidentity.h:
24956 * gst/gstelement.c: (gst_element_get_state_func),
24957 (gst_element_lost_state), (gst_element_pads_activate):
24958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24959 (gst_pad_check_pull_range), (gst_pad_pull_range):
24961 Simplify pad activation.
24962 Added function to check if pull_range can be performed.
24963 Error out when pulling inactive or flushing pads.
24964 Removed const from refcounted types as it does not make sense.
24965 Simplify pad templates in basesink
24966 Added base class for simple 1-to-1 transforms.
24967 Make identity subclass the base transform.
24969 2005-03-29 Andy Wingo <wingo@pobox.com>
24971 * docs/libs/gstreamer-libs-overrides.txt:
24972 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24973 really don't understand what's going on, but like whatever. I want
24976 * docs/gst/Makefile.am:
24977 * docs/libs/Makefile.am: Dist the overrides files.
24979 * check/Makefile.am (clean-local): Remove .libs directories.
24981 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24982 elements to EXTRA_DIST, so po/ files are happy.
24984 * po/POTFILES.in: Er, remove it here.
24986 * po/POTFILES: Remove gstspider.c.
24988 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24990 * docs/libs/gstreamer-libs-docs.sgml:
24991 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24994 * tests/complexity.c (main): Set the length of the preroll queue
24995 on the sinks to prevent a lockup.
24997 * libs/gst/dataprotocol/Makefile.am:
24998 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24999 the same as the one in check/gst-libs/gdp.c.
25001 * po/, docs/gst/: Commit automatic changes to docs and po files.
25003 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25004 the versioned libgstbase.
25006 * check/Makefile.am: Depend on an unversioned gst-register, seems
25007 to make autoconf happier.
25009 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25011 2005-03-28 Wim Taymans <wim@fluendo.com>
25014 * docs/design/part-gstelement.txt:
25015 * docs/design/part-negotiation.txt:
25016 * docs/design/part-preroll.txt:
25017 * docs/design/part-scheduling.txt:
25018 * docs/design/part-states.txt:
25020 * gst/base/Makefile.am:
25022 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25023 (gst_basesink_base_init), (gst_basesink_class_init),
25024 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25025 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25026 (gst_basesink_set_pad_functions),
25027 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25028 (gst_basesink_set_property), (gst_basesink_get_property),
25029 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25030 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25031 (gst_basesink_preroll_queue_push),
25032 (gst_basesink_preroll_queue_empty),
25033 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25034 (gst_basesink_event), (gst_basesink_get_times),
25035 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25036 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25037 (gst_basesink_loop), (gst_basesink_activate),
25038 (gst_basesink_change_state):
25039 * gst/base/gstbasesink.h:
25040 * gst/elements/Makefile.am:
25041 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25042 (gst_fakesink_class_init), (gst_fakesink_init),
25043 (gst_fakesink_set_property), (gst_fakesink_get_property),
25044 (gst_fakesink_get_times), (gst_fakesink_event),
25045 (gst_fakesink_preroll), (gst_fakesink_render),
25046 (gst_fakesink_change_state):
25047 * gst/elements/gstfakesink.h:
25048 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25049 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25050 * gst/gstelement.c: (gst_element_add_pad),
25051 (gst_element_get_state_func), (gst_element_abort_state),
25052 (gst_element_commit_state), (gst_element_lost_state),
25053 (gst_element_set_state), (gst_element_pads_activate):
25054 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25055 * gst/gstpipeline.c: (gst_pipeline_send_event),
25056 (gst_pipeline_change_state):
25057 Added state change code.
25058 Added/updated docs.
25059 Added sink base class, make fakesink extend the base class.
25060 Small cleanups in GstPipeline.
25062 2005-03-26 David Schleef <ds@schleef.org>
25064 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25065 is broken and should be implemented in a different library.
25066 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25067 * gst/gst.h: remove gstcpu.h
25068 * gst/gstcpu.c: remove
25069 * gst/gstcpu.h: remove
25070 * gst/Makefile.am.future: Remove this file. It's ancient.
25072 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25074 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25075 (gst_bin_send_event):
25076 Add default event/set_manager handlers. The set_manager handler
25077 takes care that the manager is distributed over kids that were
25078 already in the bin before the manager was set. The event handler
25079 is a utility virtual function that sends the event over all sinks,
25080 so that gst_element_send_event (bin, event); has the expected
25082 * gst/gstpad.c: (gst_pad_event_default):
25083 Re-install default event handling for discontinuities, so that
25084 seeking works without requiring hacks in applications or extra
25086 * gst/gstpipeline.c: (gst_pipeline_class_init),
25087 (gst_pipeline_send_event):
25088 Half hack, half utility: set a pipeline to PAUSED for seek events,
25089 since that is the only way we can guarantee a/v sync. Means that
25090 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25091 and it "just works".
25093 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25095 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25096 Lock/unlock mismatch.
25098 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25100 * docs/faq/gst-uninstalled:
25101 add gst-plugins-base
25102 * docs/gst/Makefile.am:
25103 don't error out until docs are fixed
25104 * docs/gst/gstreamer.types:
25107 2005-03-22 Wim Taymans <wim@fluendo.com>
25109 * check/Makefile.am:
25110 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25111 * gst/gststructure.c: (gst_structure_set_valist),
25112 (gst_structure_copy_conditional):
25113 Activated more tests.
25114 Added message test.
25115 Added G_TYPE_POINTER to GstStructure.
25118 2005-03-22 Wim Taymans <wim@fluendo.com>
25120 * docs/design/part-TODO.txt:
25121 * docs/design/part-events.txt:
25122 * docs/design/part-gstbin.txt:
25123 * docs/design/part-gstbus.txt:
25124 * docs/design/part-gstpipeline.txt:
25125 * docs/design/part-messages.txt:
25127 * gst/gstmessage.c:
25130 2005-03-21 Wim Taymans <wim@fluendo.com>
25132 * gst/gstbus.c: (gst_bus_post):
25133 Fix copy-and-paste error.
25135 2005-03-21 Wim Taymans <wim@fluendo.com>
25137 * check/Makefile.am:
25139 * gst/elements/Makefile.am:
25140 * gst/elements/gstelements.c:
25141 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25142 (gst_fakesink_event), (gst_fakesink_chain):
25143 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25144 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25145 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25146 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25147 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25148 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25149 (gst_fakesrc_loop), (gst_fakesrc_activate),
25150 (gst_fakesrc_change_state):
25151 * gst/elements/gstfakesrc.h:
25152 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25153 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25154 (gst_filesrc_open_file), (gst_filesrc_loop),
25155 (gst_filesrc_activate), (gst_filesrc_change_state),
25156 (filesrc_find_peek), (filesrc_find_suggest),
25157 (gst_filesrc_type_find):
25158 * gst/elements/gstidentity.c: (gst_identity_finalize),
25159 (gst_identity_class_init), (gst_identity_init),
25160 (gst_identity_proxy_getcaps), (identity_queue_push),
25161 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25162 (gst_identity_getrange), (gst_identity_chain),
25163 (gst_identity_sink_loop), (gst_identity_src_loop),
25164 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25165 (gst_identity_set_property), (gst_identity_get_property),
25166 (gst_identity_change_state):
25167 * gst/elements/gstidentity.h:
25168 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25169 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25170 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25171 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25172 (gst_tee_sink_activate):
25173 * gst/elements/gsttee.h:
25174 * gst/gst.c: (gst_register_core_elements), (init_post):
25176 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25177 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25178 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25179 (gst_bin_change_state):
25181 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25182 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25183 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25184 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25185 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25186 (bus_watch_callback), (bus_watch_destroy),
25187 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25188 (poll_timeout), (gst_bus_poll):
25192 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25193 (gst_element_post_message), (gst_element_message_full),
25194 (gst_element_get_state_func), (gst_element_get_state),
25195 (gst_element_abort_state), (gst_element_commit_state),
25196 (gst_element_lost_state), (gst_element_set_state),
25197 (gst_element_pads_activate), (gst_element_change_state),
25198 (gst_element_dispose), (gst_element_set_manager_func),
25199 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25200 (gst_element_set_manager), (gst_element_get_manager),
25201 (gst_element_set_bus), (gst_element_get_bus),
25202 (gst_element_set_scheduler), (gst_element_get_scheduler):
25203 * gst/gstelement.h:
25204 * gst/gstevent.c: (gst_event_new_segment_seek),
25205 (gst_event_new_flush):
25207 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25208 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25209 (gst_message_new_eos), (gst_message_new_error),
25210 (gst_message_new_warning), (gst_message_new_tag),
25211 (gst_message_new_state_changed), (gst_message_new_application),
25212 (gst_message_get_structure), (gst_message_parse_tag),
25213 (gst_message_parse_state_changed), (gst_message_parse_error),
25214 (gst_message_parse_warning):
25215 * gst/gstmessage.h:
25216 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25217 (gst_real_pad_set_property), (gst_pad_set_active),
25218 (gst_pad_is_active), (gst_pad_set_blocked_async),
25219 (gst_pad_set_blocked), (gst_pad_is_blocked),
25220 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25221 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25222 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25223 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25224 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25225 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25226 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25227 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25228 (gst_pad_set_caps), (gst_pad_configure_sink),
25229 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25230 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25231 (gst_real_pad_dispose), (gst_real_pad_finalize),
25232 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25233 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25234 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25236 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25237 (pipeline_bus_handler), (gst_pipeline_change_state),
25238 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25239 * gst/gstpipeline.h:
25241 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25242 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25243 (gst_queue_link_src), (gst_queue_bufferalloc),
25244 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25245 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25246 (gst_queue_loop), (gst_queue_handle_src_event),
25247 (gst_queue_handle_src_query), (gst_queue_src_activate),
25248 (gst_queue_change_state):
25250 * gst/gstscheduler.c: (gst_scheduler_init),
25251 (gst_scheduler_dispose), (gst_scheduler_create_task),
25252 (gst_scheduler_factory_create):
25253 * gst/gstscheduler.h:
25254 * gst/gststructure.c: (gst_structure_get_type),
25255 (gst_structure_copy_conditional):
25256 * gst/gststructure.h:
25257 * gst/gsttaginterface.h:
25258 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25259 (gst_task_init), (gst_task_dispose), (gst_task_create),
25260 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25266 * gst/schedulers/Makefile.am:
25267 * gst/schedulers/cothreads_compat.h:
25268 * gst/schedulers/entryscheduler.c:
25269 * gst/schedulers/faircothreads.c:
25270 * gst/schedulers/faircothreads.h:
25271 * gst/schedulers/fairscheduler.c:
25272 * gst/schedulers/gstbasicscheduler.c:
25273 * gst/schedulers/gstoptimalscheduler.c:
25274 * gst/schedulers/gthread-cothreads.h:
25275 * gst/schedulers/threadscheduler.c:
25276 (gst_thread_scheduler_task_get_type),
25277 (gst_thread_scheduler_task_class_init),
25278 (gst_thread_scheduler_task_init),
25279 (gst_thread_scheduler_task_start),
25280 (gst_thread_scheduler_task_stop),
25281 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25282 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25283 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25284 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25286 * libs/gst/Makefile.am:
25287 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25288 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25289 (gst_file_pad_parent_set):
25290 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25291 (gst_dp_event_from_packet):
25292 * tests/complexity.c: (main):
25293 * tests/mass_elements.c: (main):
25294 * testsuite/states/locked.c: (message_received), (main):
25295 * testsuite/states/parent.c: (main):
25296 * tools/gst-inspect.c: (print_element_flag_info),
25297 (print_implementation_info), (print_pad_info):
25298 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25300 * tools/gst-md5sum.c: (event_loop), (main):
25301 * tools/gst-typefind.c: (main):
25302 * tools/gst-xmlinspect.c: (print_element_info):
25304 Added GstBus for mainloop integration.
25305 Added GstMessage for sending notifications on the bus.
25306 Added GstTask as an abstraction for pipeline entry points.
25308 Removed Schedulers.
25309 Simplified GstQueue for multithreaded core.
25310 Made _link threadsafe, removed old capsnego.
25311 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25312 Added pad blocking functions.
25313 Reworked scheduling functions in GstPad to prepare for
25314 scheduling updates soon.
25315 Moved events out of data stream.
25316 Simplified GstEvent types.
25317 Added return values to push/pull.
25318 Removed clocking from GstElement.
25319 Added prototypes for state change function for next merge.
25320 Removed iterate from bins and state change management.
25321 Fixed some elements, disabled others for now.
25322 Fixed -inspect and -launch.
25323 Added check for GstBus.
25325 2005-03-10 Wim Taymans <wim@fluendo.com>
25327 * docs/design/part-MT-refcounting.txt:
25328 * docs/design/part-clocks.txt:
25329 * docs/design/part-gstelement.txt:
25330 * docs/design/part-gstobject.txt:
25331 * docs/design/part-standards.txt:
25332 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25333 (gst_bin_remove_func), (gst_bin_remove):
25337 * testsuite/clock/clock1.c: (main):
25338 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25340 * testsuite/dlopen/loadgst.c: (do_test):
25341 * testsuite/refcounting/bin.c: (add_remove_test1),
25342 (add_remove_test2), (main):
25343 * testsuite/refcounting/element.c: (main):
25344 * testsuite/refcounting/element_pad.c: (main):
25345 * testsuite/refcounting/pad.c: (main):
25346 * tools/gst-launch.c: (sigint_handler_sighandler):
25347 * tools/gst-typefind.c: (main):
25349 Added doc about clock.
25350 removed gst_bin_iterate_recurse_up(), marked methods
25352 Fix more testsuites.
25354 2005-03-09 Wim Taymans <wim@fluendo.com>
25356 * gst/gstpad.c: (gst_pad_get_direction),
25357 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25358 (gst_pad_collect_valist):
25359 * testsuite/bins/interface.c: (main):
25360 * testsuite/caps/audioscale.c: (test_caps):
25361 * testsuite/caps/caps.c: (test1), (test2), (test3):
25362 * testsuite/caps/deserialize.c: (main):
25363 * testsuite/caps/enumcaps.c: (main):
25364 * testsuite/caps/filtercaps.c: (main):
25365 * testsuite/caps/intersect2.c: (main):
25366 * testsuite/caps/random.c: (main):
25367 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25368 * testsuite/caps/sets.c: (check_caps):
25369 * testsuite/caps/simplify.c: (check_caps), (main):
25370 * testsuite/caps/subtract.c: (check_caps):
25371 Fix _pad_get_direction wrt ghostpads.
25372 Fix caps testsuite.
25374 2005-03-09 Wim Taymans <wim@fluendo.com>
25376 * check/Makefile.am:
25377 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25378 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25379 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25380 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25381 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25382 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25383 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25384 (bin_element_is_sink), (gst_bin_iterate_sinks),
25385 (gst_bin_iterate_all_by_interface):
25387 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25388 (gst_element_change_state), (gst_element_dispose),
25389 (gst_element_finalize), (gst_element_set_loop_function):
25390 * gst/gstelement.h:
25391 * gst/gstiterator.c: (find_custom_fold_func):
25392 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25393 (gst_pad_collectv), (gst_pad_collect_valist),
25394 (gst_pad_template_new):
25395 * gst/gstpipeline.c: (gst_pipeline_class_init),
25396 (gst_pipeline_dispose), (gst_pipeline_set_property),
25397 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25398 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25399 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25401 * gst/schedulers/entryscheduler.c:
25402 * gst/schedulers/gstbasicscheduler.c:
25403 (gst_basic_scheduler_cothreaded_chain),
25404 (gst_basic_scheduler_chain_add_element):
25405 * testsuite/bins/interface.c: (main):
25407 Added GstSystemClock test.
25408 Implemented clock distribution code in GstBin.
25409 Implemented iterate sinks method for future use.
25410 Rearranged gstelement.h
25411 Fix GstIterator comparison bug.
25412 Moved some code to GstPipeline, mostly clocking related.
25414 2005-03-09 Wim Taymans <wim@fluendo.com>
25417 * gst/gst_private.h:
25418 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25419 (gst_bin_remove_func), (gst_bin_remove),
25420 (gst_bin_get_by_name_recurse_up):
25421 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25422 (gst_clock_id_compare_func), (gst_clock_id_wait),
25423 (gst_clock_id_wait_async), (gst_clock_init),
25424 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25425 * gst/gstelement.h:
25426 * gst/gstinfo.c: (_gst_debug_init):
25428 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25429 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25431 Bump version number, we're now 0.9.0
25432 Add future debugging category.
25433 Fix NULL _unref() in _get_by_name_recurse_up
25434 Rearrange gstpad.h.
25437 2005-03-08 Wim Taymans <wim@fluendo.com>
25439 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25440 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25441 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25442 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25443 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25444 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25445 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25446 * gst/elements/gstidentity.c: (gst_identity_class_init):
25447 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25448 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25449 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25450 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25451 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25453 * gst/gstelement.c: (gst_element_class_init),
25454 (gst_element_base_class_init), (gst_element_init),
25455 (gst_element_get_random_pad), (gst_element_wait_state_change),
25456 (gst_element_change_state), (gst_element_dispose),
25457 (gst_element_finalize), (gst_element_set_loop_function):
25458 * gst/gstelement.h:
25459 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25460 * gst/gstthread.c: (gst_thread_class_init),
25461 (gst_thread_release_children_locks), (gst_thread_change_state):
25462 * gst/schedulers/gstbasicscheduler.c:
25463 (gst_basic_scheduler_loopfunc_wrapper),
25464 (gst_basic_scheduler_chain_wrapper),
25465 (gst_basic_scheduler_src_wrapper),
25466 (gst_basic_scheduler_remove_element):
25467 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25468 Remove threadsafe properties. Fix elements because GObject
25469 complains when installing a property before declaring a
25470 set/get_property handler.
25471 Rearrange gstelement.h file, use STATE macros for state locks.
25472 Free mutexes in the finalize method instead of dispose.
25474 2005-03-08 Wim Taymans <wim@fluendo.com>
25476 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25477 * gst/gstthread.c: (gst_thread_release_children_locks):
25478 Added parentage check.
25479 Fix build og GstThread again.
25481 2005-03-08 Wim Taymans <wim@fluendo.com>
25483 * docs/design/part-MT-refcounting.txt:
25484 * docs/design/part-conventions.txt:
25485 * docs/design/part-gstobject.txt:
25486 * docs/design/part-relations.txt:
25487 * docs/design/part-standards.txt:
25488 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25489 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25490 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25491 (gst_bin_iterate_all_by_interface):
25494 * gst/gstelement.c: (gst_element_class_init),
25495 (gst_element_change_state), (gst_element_set_loop_function):
25496 * gst/gstelement.h:
25497 * gst/gstiterator.c:
25498 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25499 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25500 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25501 (gst_object_set_parent), (gst_object_unparent),
25502 (gst_object_check_uniqueness):
25504 Docs updates, clean up some headers.
25506 2005-03-07 Wim Taymans <wim@fluendo.com>
25508 * check/.cvsignore:
25509 * check/Makefile.am:
25510 * check/gst-libs/.cvsignore:
25511 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25512 * check/gst/.cvsignore:
25513 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25514 (START_TEST), (gstbus_suite), (main):
25515 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25516 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25517 (gst_data_suite), (main):
25518 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25519 (add_fold_func), (gstiterator_suite), (main):
25520 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25521 (thread_name_object), (thread_name_object_default),
25522 (gst_object_name_compare), (gst_object_suite), (main):
25523 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25524 (gst_pad_suite), (main):
25525 * check/gstcheck.c: (gst_check_log_message_func),
25526 (gst_check_log_critical_func), (gst_check_init):
25527 * check/gstcheck.h:
25528 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25529 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25532 2005-03-07 Wim Taymans <wim@fluendo.com>
25534 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25535 (gst_list_iterator_next), (gst_list_iterator_resync),
25536 (gst_list_iterator_free), (gst_iterator_new_list),
25537 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25538 (gst_iterator_free), (gst_iterator_push), (filter_next),
25539 (filter_resync), (filter_uninit), (filter_free),
25540 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25541 (gst_iterator_foreach), (find_custom_fold_func),
25542 (gst_iterator_find_custom):
25543 * gst/gstiterator.h:
25544 Added missing files.
25546 2005-03-07 Wim Taymans <wim@fluendo.com>
25550 * docs/design/part-MT-refcounting.txt:
25551 * docs/design/part-conventions.txt:
25552 * docs/design/part-gstobject.txt:
25553 * docs/design/part-relations.txt:
25554 * examples/mixer/mixer.c: (main):
25555 * examples/thread/thread.c: (eos), (main):
25557 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25558 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25559 (gst_spider_plug_from_srcpad):
25560 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25561 (gst_spider_identity_change_state),
25562 (gst_spider_identity_sink_loop_type_finding):
25563 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25564 * gst/elements/gstidentity.c: (gst_identity_init):
25565 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25566 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25567 * gst/elements/gsttypefindelement.c: (free_entry):
25570 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25571 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25572 (gst_bin_set_index), (gst_bin_set_element_sched),
25573 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25574 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25575 (gst_bin_iterate_elements), (iterate_child_recurse),
25576 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25577 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25578 (compare_interface), (gst_bin_get_by_interface),
25579 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25581 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25582 (gst_buffer_default_free), (gst_buffer_default_copy),
25583 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25584 (gst_buffer_create_sub):
25586 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25587 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25588 (gst_caps_unref), (gst_static_caps_get),
25589 (gst_caps_remove_and_get_structure), (gst_caps_append),
25590 (gst_caps_append_structure), (gst_caps_remove_structure),
25591 (gst_caps_copy_nth), (gst_caps_set_simple),
25592 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25593 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25594 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25595 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25596 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25597 (gst_caps_structure_figure_out_union),
25598 (gst_caps_switch_structures), (gst_caps_do_simplify),
25599 (gst_caps_replace), (gst_caps_from_string),
25600 (gst_caps_copy_conditional):
25602 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25603 (_gst_clock_id_free), (gst_clock_id_unref),
25604 (gst_clock_id_compare_func), (gst_clock_id_wait),
25605 (gst_clock_id_wait_async), (gst_clock_class_init),
25606 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25607 (gst_clock_get_time), (gst_clock_set_time_adjust),
25608 (gst_clock_set_property), (gst_clock_get_property):
25611 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25612 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25614 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25615 (gst_element_requires_clock), (gst_element_provides_clock),
25616 (gst_element_set_clock), (gst_element_clock_wait),
25617 (gst_element_wait), (gst_element_set_time_delay),
25618 (gst_element_is_indexable), (gst_element_add_pad),
25619 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25620 (pad_compare_name), (gst_element_get_static_pad),
25621 (gst_element_request_pad), (gst_element_get_request_pad),
25622 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25623 (gst_element_class_get_pad_template_list),
25624 (gst_element_class_get_pad_template), (gst_element_error_func),
25625 (gst_element_get_random_pad), (gst_element_get_event_masks),
25626 (gst_element_send_event), (gst_element_seek),
25627 (gst_element_get_query_types), (gst_element_query),
25628 (gst_element_get_formats), (gst_element_convert),
25629 (gst_element_is_locked_state), (gst_element_set_locked_state),
25630 (gst_element_sync_state_with_parent), (gst_element_change_state),
25631 (gst_element_finalize), (gst_element_yield),
25632 (gst_element_interrupt), (gst_element_set_scheduler),
25633 (gst_element_get_scheduler), (gst_element_set_loop_function):
25634 * gst/gstelement.h:
25636 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25637 (gst_format_get_by_nick), (gst_format_get_details),
25638 (gst_format_iterate_definitions):
25640 * gst/gstindex.c: (gst_index_gtype_resolver):
25643 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25644 (gst_mem_chunk_free):
25645 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25646 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25647 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25648 (gst_object_dispatch_properties_changed),
25649 (gst_object_set_name_default), (gst_object_set_name),
25650 (gst_object_get_name), (gst_object_set_name_prefix),
25651 (gst_object_get_name_prefix), (gst_object_set_parent),
25652 (gst_object_get_parent), (gst_object_unparent),
25653 (gst_object_check_uniqueness), (gst_object_save_thyself),
25654 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25655 (gst_object_set_property), (gst_object_get_property),
25656 (gst_object_get_path_string):
25658 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25659 (gst_real_pad_init), (gst_real_pad_get_property),
25660 (gst_pad_custom_new), (gst_pad_get_direction),
25661 (gst_pad_set_active), (gst_pad_is_active),
25662 (gst_pad_set_event_function), (gst_pad_is_linked),
25663 (gst_pad_link_free), (gst_pad_link_intersect),
25664 (gst_pad_link_fixate), (gst_pad_set_caps),
25665 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25666 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25667 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25668 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25669 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25670 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25671 (gst_pad_realize), (gst_pad_get_allowed_caps),
25672 (gst_real_pad_dispose), (gst_real_pad_finalize),
25673 (gst_pad_collectv), (gst_pad_collect_valist),
25674 (gst_pad_template_dispose), (gst_pad_template_new),
25675 (gst_pad_get_internal_links):
25677 * gst/gstpipeline.c: (gst_pipeline_dispose),
25678 (gst_pipeline_change_state):
25679 * gst/gstpipeline.h:
25681 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25682 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25683 * gst/gstpluginfeature.h:
25684 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25685 * gst/gstquery.c: (_gst_query_type_initialize),
25686 (gst_query_type_register), (gst_query_type_get_by_nick),
25687 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25689 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25690 * gst/gstscheduler.c: (gst_scheduler_add_element),
25691 (gst_scheduler_factory_create):
25692 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25693 (gst_structure_free), (gst_structure_set_name),
25694 (gst_structure_id_set_value), (gst_structure_set_value),
25695 (gst_structure_set_valist), (gst_structure_remove_field),
25696 (gst_structure_remove_fields),
25697 (gst_structure_remove_fields_valist),
25698 (gst_structure_remove_all_fields), (gst_structure_foreach),
25699 (gst_structure_map_in_place),
25700 (gst_caps_structure_fixate_field_nearest_int),
25701 (gst_caps_structure_fixate_field_nearest_double):
25702 * gst/gststructure.h:
25703 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25704 (gst_system_clock_init), (gst_system_clock_dispose),
25705 (gst_system_clock_async_thread),
25706 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25707 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25708 * gst/gstsystemclock.h:
25709 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25710 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25711 * gst/gsttaginterface.c:
25712 * gst/gstthread.c: (gst_thread_dispose),
25713 (gst_thread_release_children_locks), (gst_thread_change_state),
25714 (gst_thread_main_loop):
25715 * gst/gsttrashstack.h:
25716 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25718 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25719 (gst_element_request_pad), (gst_element_get_pad_from_template),
25720 (gst_element_request_compatible_pad),
25721 (gst_element_get_compatible_pad_filtered),
25722 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25723 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25724 (gst_element_link_many), (gst_element_link),
25725 (gst_element_link_pads), (gst_element_unlink_pads),
25726 (gst_element_unlink_many), (gst_element_unlink),
25727 (gst_pad_can_link_filtered), (gst_pad_can_link),
25728 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25729 (gst_object_default_error), (gst_bin_add_many),
25730 (gst_bin_remove_many), (gst_element_populate_std_props),
25731 (gst_element_class_install_std_props), (gst_buffer_merge),
25732 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25733 (link_fold_func), (gst_pad_proxy_setcaps):
25735 * gst/gstvalue.c: (gst_value_deserialize_string):
25736 * gst/parse/grammar.y:
25737 * gst/schedulers/gstbasicscheduler.c:
25738 (gst_basic_scheduler_cothreaded_chain),
25739 (gst_basic_scheduler_chain_recursive_add),
25740 (gst_basic_scheduler_pad_link):
25741 * gst/schedulers/gstoptimalscheduler.c:
25742 (get_group_schedule_function),
25743 (gst_opt_scheduler_state_transition),
25744 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25745 * libs/gst/bytestream/bytestream.c:
25746 * libs/gst/dataprotocol/dataprotocol.c:
25747 (gst_dp_header_from_buffer):
25750 * tests/threadstate/threadstate2.c: (eos):
25751 * tools/gst-compprep.c: (main):
25752 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25753 (print_pad_info), (print_children_info):
25754 * tools/gst-launch.c: (idle_func), (main):
25755 * tools/gst-md5sum.c: (idle_func), (main):
25756 * tools/gst-xmlinspect.c: (print_element_info):
25757 First THREADED backport attempt, focusing on adding locks and
25758 making sure the API is threadsafe. Needs more work. More docs
25761 2005-02-24 Andy Wingo <wingo@pobox.com>
25763 * tests/bench-complexity.scm:
25764 * tests/complexity.gnuplot: New files, good for running complexity
25767 * tests/Makefile.am:
25768 * tests/complexity.c: New test, sets up N elements, at each level
25769 teeing into M streams per element. Eeeenteresting.
25771 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25772 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25773 running bench-mass_elements.scm.
25775 * tests/bench-mass_elements.scm: New script, runs mass_elements
25776 for various numbers of identities, outputting the results to a
25777 file. Requires guile 1.6. Just for testing.
25779 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25781 * gst/schedulers/fairscheduler.c:
25782 compile with debug disabled
25784 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25787 hunting season on 0.9 is now OPEN