1 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3 * docs/design/draft-tagreading.txt:
4 Add some more thoughts.
6 2007-10-03 Stefan Kost <ensonic@users.sf.net>
8 * tests/check/pipelines/simple-launch-lines.c:
9 Print message name and not just number.
11 2007-10-03 Stefan Kost <ensonic@users.sf.net>
13 * libs/gst/base/gsttypefindhelper.c:
14 Speedup typefinding. This is work in progress (see #459862).
16 2007-10-03 Stefan Kost <ensonic@users.sf.net>
19 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
20 Spotted by Josep Torra Valles <josep@fluendo.com>.
22 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
25 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
26 field has moved to GstObject.
28 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
30 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
31 (gst_base_src_get_range), (gst_base_src_change_state):
32 Call unlock for live sources so that they can't get stuck in _create and
33 produce a buffer before they are set back to PLAYING.
35 2007-10-02 Edward Hervey <bilboed@bilboed.com>
37 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
38 (gst_queue_locked_dequeue):
39 Comment the segment-related code... in the PROPER function.
40 See #482147 and my commit from yesterday.
42 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
44 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
45 Also initialize the counter that calculates the first timestamp on a
46 buffer correctly for non-live sources.
48 2007-10-01 Edward Hervey <bilboed@bilboed.com>
50 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
51 Disable code that's breaking the current-time-level reporting.
54 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
56 * docs/gst/gstreamer-sections.txt:
57 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
58 as they shouldn't show up. Fixes the docs build.
60 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
63 Add an explicit variable importation needed on VS6 (only for MSC_VER)
64 Define M_PI which is used in files which are including gstinfo.h.
65 VS6 includes doesn't define it.
66 * win32/common/libgstbase.def:
67 * win32/common/libgstcontroller.def:
68 * win32/common/libgstreamer.def:
69 Add new exported functions and variables.
70 * win32/vs6/libgstcontroller.dsp:
71 * win32/vs6/libgstreamer.dsp:
72 Update the list of files to build.
74 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
76 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
78 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
79 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
80 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
81 Improve debugging. Fixes #480858.
83 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
85 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
87 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
88 First patch of code cleanups, use the macros and right arguments in the
89 macros to signal and lock the queue. See #480858.
91 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
93 * gst/gstbus.c: (poll_func):
94 Improve debugging when dealing with _poll().
96 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
98 * gst/gstregistryxml.c:
99 Fix memory leak I introduced a few days ago.
101 2007-09-26 Michael Smith <msmith@fluendo.com>
103 * gst/gstbuffer.c: (gst_buffer_finalize):
104 Make it once again possible to free GstBuffers in the default
106 The poisoning scribbles on parts of the miniobject we need in
110 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
112 * docs/gst/gstreamer-sections.txt:
115 API: add GST_TAG_COMPOSER, fixes #459809.
117 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
121 Add the 3-clause BSD license and the MIT/X11 license to the license
124 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
126 * docs/faq/getting.xml:
127 Add Q+A about different GStreamer versions (#364056).
129 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
131 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
132 (gst_base_sink_event), (gst_base_sink_change_state):
133 Return correct gboolean from query function.
135 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
137 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
138 (gst_base_sink_event), (gst_base_sink_query),
139 (gst_base_sink_change_state):
140 Simplify latency query.
141 When not synchronizing, we can report latency without querying the peer
144 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
148 Fix small typos in the docs.
150 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
152 * docs/design/draft-latency.txt:
153 * docs/design/draft-push-pull.txt:
154 * docs/design/draft-tagreading.txt:
155 * docs/design/part-MT-refcounting.txt:
156 * docs/design/part-activation.txt:
157 * docs/design/part-block.txt:
158 * docs/design/part-element-source.txt:
159 * docs/design/part-events.txt:
160 * docs/design/part-gstbin.txt:
161 * docs/design/part-gstelement.txt:
162 * docs/design/part-gstobject.txt:
163 * docs/design/part-gstpipeline.txt:
164 * docs/design/part-messages.txt:
165 * docs/design/part-preroll.txt:
166 * docs/design/part-push-pull.txt:
167 * docs/design/part-qos.txt:
168 * docs/design/part-query.txt:
169 * docs/design/part-scheduling.txt:
170 * docs/design/part-seeking.txt:
171 * docs/design/part-segments.txt:
172 * docs/design/part-states.txt:
173 Documentation updates and typo fixes.
175 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
177 * plugins/elements/gstfakesink.c:
178 Add some debug text to error message to indicate that
179 we errored out on request.
181 * tools/gst-launch.c:
182 When the state change to PLAYING fails, check for an
183 error message on the bus and print it.
185 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
187 translated by: Jorge González González <aloriel@gmail.com>
191 Added Spanish translation.
193 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
195 * plugins/elements/gstqueue.c: (gst_queue_push_one):
196 Fix printf arguments.
198 2007-09-20 Stefan Kost <ensonic@users.sf.net>
200 * tests/check/generic/states.c:
201 Improved state change unit test.
203 2007-09-20 Stefan Kost <ensonic@users.sf.net>
206 Move priv to the right place.
208 * gst/gstsystemclock.c:
209 Add FIXME: and improve log.
211 * tests/check/Makefile.am:
212 * tests/examples/manual/Makefile.am:
213 Work with all types of registries.
215 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
217 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
218 Don't unref the event after pushing it. Fixes #478401.
220 2007-09-19 Stefan Kost <ensonic@users.sf.net>
223 * tests/examples/manual/.cvsignore:
224 Ignore registries in any format.
226 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
228 * gst/glib-compat-private.h:
229 Add compatibility macro for g_intern_string() for
230 GLib-2.8 (any reason we can't just bump the
231 requirement to at least 2.10?)
233 * gst/gstpadtemplate.h:
234 * gst/gstelementfactory.c:
235 * gst/gstregistryxml.c:
236 * gst/gstregistrybinary.c:
237 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
238 up the internal code accordingly. This shouldn't be a problem, since
239 there is no reason external code could ever assume the string in such
240 a structure is dynamically allocated unless it did that itself; the
241 use of g_strdup() is private to element factories. The new code also
242 saves some memory by putting pad template name strings into the GLib
243 quark table instead of allocating them dynamically.
244 Declaring this field constant fixes warnings with g++-4.2 when using
245 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
247 2007-09-19 Stefan Kost <ensonic@users.sf.net>
249 * gst/gstelementfactory.c:
250 Release static caps. Fixes #475723.
252 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
256 Make some internal API take const gchar * instead of just
257 gchar * to avoid compiler warnings with g++-4.2.2 when
258 passing string constants (partially fixes #478092).
260 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
262 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
263 A latency query fails when one of the sinks fail.
265 * gst/gstelement.c: (gst_element_set_base_time):
268 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
270 * gst/gstbin.c: (gst_bin_continue_func):
271 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
272 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
273 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
275 Fix minor compilation warnings shown with Forte.
277 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
279 * plugins/elements/gstqueue.c: (apply_buffer),
280 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
281 Measure queue level based on the diff between head and tail timestamps
282 even when pushing the first buffer.
284 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
286 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
287 (gst_base_sink_event), (gst_base_sink_change_state):
288 Sinks that don't preroll can always be queried for the latency.
289 Don't post ASYNC start when we are not async.
291 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
293 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
294 (gst_queue_handle_sink_event), (gst_queue_chain),
295 (gst_queue_push_one), (gst_queue_handle_src_query),
296 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
297 * plugins/elements/gstqueue.h:
298 When downstream returns UNEXPECTED from pushing a buffer, don't try to
299 push more buffers but allow pushing of EOS and NEWSEGMENT.
300 Add some more debug info here and there. Fixes #476514.
302 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
304 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
305 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
306 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
307 (gst_base_sink_set_flushing), (gst_base_sink_query),
308 (gst_base_sink_change_state):
309 Latency query is allowed after we are prerolled. Introduce a new flag
310 for this and stop abusing other variables.
312 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
314 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
315 Push OOB events downstream when we get them in send_event. This allows
316 the application to insert events in the pipeline.
317 Add some more comments.
319 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
321 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
322 (do_bin_latency), (gst_bin_change_state_func):
323 * gst/gstpipeline.c: (gst_pipeline_change_state):
324 Move latency query from GstPipeline to GstBin so that we can also
325 use it when async-handling is enabled on bins.
327 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
329 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
330 (gst_base_src_do_sync), (gst_base_src_change_state):
332 Clean up the timestamping and syncing code for pseudo live sources.
334 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
336 Patch by: Steve Fink <sphink gmail com>
338 * docs/manual/appendix-checklist.xml:
339 Mention less -R switch in the section about debug output (#474055).
341 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
343 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
344 Queue can latency to the pipeline up to the configured max size in time.
345 Report this fact in the latency query.
347 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
349 Patch by: Sebastien Moutte <sebastien at moutte dot net>
351 * libs/gst/controller/gstinterpolation.c:
352 * libs/gst/controller/gstlfocontrolsource.c:
353 Use gst_guint64_to_gdouble() when converting from a uint64 or
354 GstClockTime to double to fix the build on win32. Fixes #474371.
356 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
358 * gst/gstbuffer.c: (gst_buffer_finalize):
359 Implement poisoning for GstBuffer if --enable-poisoning is specified.
360 When finalizing a buffer the complete struct is filled with 0xff,
361 thus making a use of the buffer after the final unref impossible.
363 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
365 * tests/check/libs/controller.c: (GST_START_TEST):
366 Use fail_unless_equals_int(a, b) instead of
367 fail_unless_equals (a == b) to get better output on failures.
369 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
371 * tests/check/gst/gsturi.c:
372 Also check for the other file URI variant on win32.
374 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
376 * gst/gsturi.c: (gst_uri_get_location):
377 If there's no hostname, we want to return 'c:/foo/bar.txt'
378 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
380 * tests/check/gst/gsturi.c:
381 Unit test for the above and a few more things.
383 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
385 * docs/design/part-live-source.txt:
386 Add docs on how live sources should timestamp.
388 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
389 Add some more debug info.
390 For subclasses that are live and like to sync, add aditional startup
391 latency to sync time and timestamps so that we timstamp according to the
394 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
397 Also do a g_type_class_ref() for the subbuffer type in
400 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
402 * docs/gst/gstreamer-sections.txt:
403 * gst/gstpad.c: (gst_pad_peer_query):
405 Add function to perform a query on the peer of a pad.
406 API: gst_pad_peer_query()
408 2007-09-11 Stefan Kost <ensonic@users.sf.net>
410 * tests/check/gst/gstsystemclock.c:
411 Cleanup the test a little (use gst-logging and not g_message). Improve
412 test to check if a wait reached the target.
414 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
416 * docs/libs/gstreamer-libs-sections.txt:
417 Add new API to docs and fix the build.
419 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
421 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
422 (gst_base_src_init), (gst_base_src_set_do_timestamp),
423 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
424 (gst_base_src_get_property), (gst_base_src_do_sync):
425 * libs/gst/base/gstbasesrc.h:
426 Add property to make the basesrc timestamp buffers based on the current
428 API: GstBaseSrc::do-timestamp
429 API: gst_base_src_set_do_timestamp()
430 API: gst_base_src_get_do_timestamp()
432 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
434 * docs/random/release:
435 Really make sure translations are up-to-date before
438 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
440 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
441 Always destroy the timer, also in error cases.
443 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
445 * docs/manual/highlevel-xml.xml:
446 Fix XML example code. Fixes #472714.
448 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
450 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
451 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
452 (gst_base_sink_query):
453 Protect eos and have_preroll with the OBJECT lock so we don't need to
454 take the PREROLL lock when querying the latency. Fixes #473846.
456 2007-09-05 Stefan Kost <ensonic@users.sf.net>
459 Give some log-messages a category.
461 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
463 * gst/gststructure.c:
464 (gst_structure_fixate_field_nearest_fraction):
465 Fix fraction list fixation code. Take the fraction with the smallest
466 difference with the target instead of the first one in the list.
468 * tests/check/gst/gststructure.c: (GST_START_TEST),
469 (gst_structure_suite):
470 Added test to verify correct fraction list fixation behaviour.
472 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
474 * win32/common/libgstreamer.def:
475 Export gst_bus_add_signal_watch too.
477 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
479 * docs/libs/gstreamer-libs-sections.txt:
480 Add new methods to docs.
482 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
483 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
484 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
485 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
486 * libs/gst/base/gstbasesink.h:
487 Add ts-offset property to fine-tune the synchronisation.
488 API: GstBaseSink::ts-offset property
489 API: gst_base_sink_set_ts_offset()
490 API: gst_base_sink_get_ts_offset()
492 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
494 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
495 (gst_base_sink_init), (gst_base_sink_set_sync),
496 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
497 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
498 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
499 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
500 (gst_base_sink_get_property), (gst_base_sink_change_state):
501 * libs/gst/base/gstbasesink.h:
502 Add async property to instruct the sink never to inform the parent about
503 ASYNC state changes, update docs.
504 Check argument with g_return_* for the public functions.
505 API: GstBaseSink::async property
506 API: gst_base_sink_set_async_enabled()
507 API: gst_base_sink_is_async_enabled()
509 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
511 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
514 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
515 (gst_base_src_default_query), (gst_base_src_wait),
516 (gst_base_src_do_sync), (gst_base_src_change_state):
517 Rearrange some code so that we can add support for measuring the
520 2007-08-27 Stefan Kost <ensonic@users.sf.net>
522 * docs/random/ensonic/dynlink.txt:
523 More thoughs on this.
525 * plugins/elements/gstcapsfilter.c:
526 Add bugzilla ticket number to FIXME comment.
528 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
530 * docs/design/part-TODO.txt:
531 * docs/design/part-block.txt:
534 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
537 Revert patch which uses $(gst_headers) instead of $^ because it
540 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
542 * tests/check/gst/gstbin.c: (GST_START_TEST):
543 Fix leaks in the new unit test.
545 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
548 Don't use GST_INFO before the debug system is actually initialised
549 (shouldn't do any harm, but won't print anything either, so we can
550 just as well remove it).
553 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
554 compilers that don't support variadic macros (such as MSVC), should
555 check for debug_level <= __gst_debug_min as well, since that's the
556 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
557 inline helper functions. Should improve performance a bit, but also
558 makes sure uses of GST_INFO et.al are ignored if the debugging
559 system isn't initialised yet (instead of printing an assertion
562 2007-08-23 Stefan Kost <ensonic@users.sf.net>
564 patch by: David Nečas <yeti@physics.muni.cz>
567 Replace some non portable makefile constructs.
569 2007-08-21 Stefan Kost <ensonic@users.sf.net>
571 * common/gtk-doc-plugins.mak:
572 Grrrrr. Don't remove the types file on make clean.
574 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
576 * tools/gst-launch.1.in:
577 Add colorspace to example pipeline. Fixes #458274.
579 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
581 * docs/random/release:
582 The release manager should run 'make download-po' before making a
583 release to make sure translations are up-to-date.
589 Add some new translations.
591 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
593 * tools/gst-launch.c: (event_loop), (main):
594 Don´t try to do any state management when a live pipeline posts
596 Also make the buffering string translatable.
598 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
600 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
601 (bin_handle_async_start), (gst_bin_handle_message_func):
603 When adding elements, insert messages into the bus of the newly added
604 element and make sure the element is the source of the message. This
605 allows the parent bin to intercept the message and do the
606 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
607 messages to the app (which is not allowed).
610 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
611 Fix testsuite so that is does not work around messages that should not
612 have been posted in the first place.
614 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
616 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
617 (update_degree), (gst_bin_sort_iterator_next):
618 Fix annoying bug in the sorted iterator where a sink that is not really
619 a sink (when it has downstream links) screwed up the iterator.
621 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
622 Unit test to verify the fix.
624 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
627 Add some more docs for the messages.
629 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
630 (gst_base_sink_query):
631 Add some more debugging.
633 * tools/gst-launch.c: (event_loop):
634 When interrupting, don't try to set pipeline to PAUSED twice.
636 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
639 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
640 (bin_handle_async_start), (gst_bin_handle_message_func):
641 Move ASYNC_START message posting to where it belongs, similar to
643 Don't post ASYNC_START when we are in error.
644 Post ASYNC_START when we added an async element to a bin.
646 2007-08-14 Julien MOUTTE <julien@moutte.net>
648 * gst/gstindex.c: (gst_index_add_association): Fix index entry
649 generation from vargs. Fixes #466595.
651 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
653 * gst/gstbin.c: (gst_bin_element_set_state):
654 Always change the state of a NO_PREROLL element even if it has ASYNC
655 elements inside (in case of a bin).
657 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
658 Unit test for this case.
660 2007-08-13 Stefan Kost <ensonic@users.sf.net>
662 * libs/gst/check/gstbufferstraw.c:
663 * libs/gst/check/gstcheck.h:
664 * libs/gst/controller/gstcontroller.c:
665 * libs/gst/controller/gstcontrolsource.h:
666 * libs/gst/controller/gstlfocontrolsource.h:
667 * plugins/elements/gstcapsfilter.h:
668 * plugins/elements/gstfdsink.h:
669 * plugins/elements/gstfdsrc.h:
670 Add more missing docs.
672 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
674 * gst/gststructure.c:
675 Add Since tag to docs.
677 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
679 * docs/gst/gstreamer-sections.txt:
680 * gst/gststructure.c: (gst_structure_get_uint):
681 * gst/gststructure.h:
682 Add function to get uint from a structure.
683 API: gst_structure_get_uint()
685 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
687 * gst/gstcaps.c: (gst_caps_set_simple_valist),
688 (gst_caps_intersect):
689 Fix proper check for simple caps.
691 2007-08-10 Stefan Kost <ensonic@users.sf.net>
693 * docs/gst/Makefile.am:
694 * docs/libs/Makefile.am:
695 Remove cruft and do some cleanups.
697 * docs/gst/gstreamer-docs.sgml:
698 * docs/libs/gstreamer-libs-docs.sgml:
699 Prepare for comming gtkdoc features (rebase against online docs).
701 2007-08-10 Michael Smith <msmith@fluendo.com>
703 * docs/gst/gstreamer-sections.txt:
704 Add gst_registry_add_path to docs.
706 2007-08-10 Michael Smith <msmith@fluendo.com>
709 Add gst_registry_add_path, which was missing from this header.
711 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
713 * libs/gst/controller/gstlfocontrolsource.c:
716 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
718 * libs/gst/base/gstbasesink.c:
719 Don't send an async_start message during downwards state change if
720 target state is less than READY
722 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
724 translated by: Gabor Kelemen <kelemeng@gnome.hu>
728 Added Hungarian translation.
730 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
737 Updated translations.
739 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
741 * libs/gst/controller/Makefile.am:
742 Dist gstlfocontrolsourceprivate.h
744 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
746 * docs/libs/gstreamer-libs.types:
747 Don't register the enum type gst_lfo_waveform_get_type() in the
748 .types file - only GObject derived types belong.
750 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
752 Patch by: <arenevier at fdn dot fr>
755 Remove comma from last element in enum to avoid compile errors when
756 using -pendantic. Fixes #464366.
758 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
760 * docs/design/part-TODO.txt:
761 Add some more TODO items
763 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
766 * gst/gstcaps.c: (gst_caps_intersect):
767 Optimize trivial intersection case between identical caps pointers.
769 * gst/gstelement.c: (gst_element_continue_state),
770 (gst_element_set_state_func):
772 Fix spelling and grammar mistakes.
774 2007-08-05 Stefan Kost <ensonic@users.sf.net>
778 Update POTFILES. Fixes #461599.
780 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
783 Fix confusing typo in debug output.
785 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
787 reviewed by: Stefan Kost <ensonic@users.sf.net>
789 * libs/gst/controller/Makefile.am:
790 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
791 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
792 (gst_lfo_control_source_new),
793 (gst_lfo_control_source_set_waveform),
794 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
795 (gst_lfo_control_source_finalize),
796 (gst_lfo_control_source_dispose),
797 (gst_lfo_control_source_set_property),
798 (gst_lfo_control_source_get_property),
799 (gst_lfo_control_source_class_init):
800 * libs/gst/controller/gstlfocontrolsource.h:
801 * libs/gst/controller/gstlfocontrolsourceprivate.h:
802 API: Add GstLFOControlSource, a control source that gives values
803 for specific timestamps based on several periodic waveforms.
806 * tests/check/libs/controller.c: (GST_START_TEST),
807 (gst_controller_suite):
808 * docs/libs/gstreamer-libs-docs.sgml:
809 * docs/libs/gstreamer-libs-sections.txt:
810 * docs/libs/gstreamer-libs.types:
811 Add documentation and unit tests for GstLFOControlSource.
813 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
818 === release 0.10.14 ===
820 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
823 releasing 0.10.14, "Breathing Vacuum"
825 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
827 * gst/gstelement.c: (gst_element_class_set_details_simple):
829 Make strings passed to gst_element_class_set_details_simple()
830 constant, as they should be (#462752).
832 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
834 * gst/gstbin.c: (gst_bin_change_state_func),
835 (bin_handle_async_done), (gst_bin_handle_message_func):
836 Don't forget about the fact that some element went ASYNC even after a
837 resync. This makes us post the ASYNC_DONE message correctly.
840 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
842 * gst/gstregistry.c: (gst_registry_add_feature):
843 When replacing an existing feature in the registry, make sure to
844 continue holding a reference until we've replaced the name string
845 within our feature hash table. Make sure to use g_hash_table_replace
846 instead of g_hash_table_insert to ensure the new name string is used
847 as a key instead of the old one that we're about to free.
850 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
852 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
853 (gst_plugin_feature_set_name):
854 Revert patch from #459466 until after the release and we can work
855 out exactly what the problem is (if any).
857 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
859 * docs/gst/gstreamer-sections.txt:
862 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
864 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
866 * docs/libs/Makefile.am:
867 Include our build-prefix libs and includes before the generic ones to
868 avoid linking against the installed libs when we want the build-tree
871 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
873 Patch by: Steve Fink <sphink gmail com>
875 * docs/pwg/building-testapp.xml:
876 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
877 if people try to build or install the example from the plugin
878 template against a GStreamer from package using the configure
881 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
883 Patch by: Steve Fink <sphink gmail com>
885 * tools/gst-inspect.1.in:
886 Document --print-all and --print-plugin-auto-install-info command
887 line options in man page.
889 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
891 * docs/gst/gstreamer-sections.txt:
892 Add docs for new api function.
894 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
896 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
897 * gst/gstelementfactory.h:
898 API: gst_element_factory_has_interface()
899 Added method to check if an element factory implements a named
902 2007-07-25 Stefan Kost <ensonic@users.sf.net>
905 * docs/gst/gstreamer.types.in:
906 Another conditional doc check.
909 * gst/gstparamspecs.h:
910 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
915 2007-07-24 Stefan Kost <ensonic@users.sf.net>
917 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
918 (gst_registry_binary_load_feature),
919 (gst_registry_binary_load_plugin),
920 (gst_registry_binary_read_cache):
921 Print error just once and with additional info.
923 2007-07-24 Stefan Kost <ensonic@users.sf.net>
925 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
926 (helper_find_suggest), (helper_find_get_length),
927 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
928 (gst_type_find_helper_for_buffer):
929 Cleanup the typefindhelper code and add private doc comments.
931 2007-07-24 Edward Hervey <bilboed@bilboed.com>
933 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
934 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
935 Fix capsfilter for cases where the caps set on capsfilter will provide
936 additional information.
939 2007-07-24 Stefan Kost <ensonic@users.sf.net>
941 * gst/gsttypefindfactory.c:
942 Fix docs that recommened wrong function to use.
944 2007-07-23 Stefan Kost <ensonic@users.sf.net>
946 * tools/gst-inspect.c: (print_plugin_features):
947 Also give media-type for typefinders in element output.
949 2007-07-23 Stefan Kost <ensonic@users.sf.net>
951 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
952 (gst_registry_remove_features_for_plugin_unlocked),
953 (gst_registry_add_feature), (gst_registry_remove_feature),
954 (gst_registry_lookup_feature_locked):
956 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
959 2007-07-23 Stefan Kost <ensonic@users.sf.net>
961 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
962 (gst_plugin_feature_set_name):
963 Avoid double memory usage for pluginfeature names. Fixes #459466.
965 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
968 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
969 driving the pipeline may need to explicitly check for NOT_LINKED as
970 well, since IS_FATAL doesn't cover that.
972 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
974 * docs/pwg/advanced-types.xml:
975 Fix typo and duplicate entry in video formats list.
977 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
979 * libs/gst/controller/gstinterpolation.c:
980 Also round to the nearest int when using cubic interpolation.
982 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
984 * libs/gst/controller/gstinterpolation.c:
985 When linearly interpolating integer types, round to the nearest int
986 by adding 0.5. Don't do it for float/double types.
987 Fixes the failing controller test on my machine, which is somehow
988 rounding differently than on the buildbots.
990 2007-07-20 Stefan Kost <ensonic@users.sf.net>
992 * tools/gst-plot-timeline.py:
993 Better log parsing (categories can have -). Adjust text vs. lines, so
994 that they span the same y-range.
996 2007-07-20 Stefan Kost <ensonic@users.sf.net>
998 * docs/random/ensonic/audiobaseclasses.txt:
999 * docs/random/ensonic/dynlink.txt:
1000 * docs/random/ensonic/profiling.txt:
1003 * docs/random/moving-plugins:
1004 Add note to use g_assert type macros.
1006 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1009 * libs/gst/check/Makefile.am:
1010 Add libm check as we use in for plugins.
1012 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1014 * gst/gstbin.c: (gst_bin_continue_func):
1015 Check that the state_cookie hasn't changed since the continue_func
1016 was scheduled. Avoids problems where the state changes back to
1017 something it shouldn't be because it was changed in the meantime.
1019 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1021 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1022 (gst_registry_binary_save_string),
1023 (gst_registry_binary_save_pad_template),
1024 (gst_registry_binary_save_feature),
1025 (gst_registry_binary_save_plugin),
1026 (gst_registry_binary_load_feature),
1027 (gst_registry_binary_load_plugin),
1028 (gst_registry_binary_read_cache):
1029 Fix memory leak. Be less verbose in the log.
1031 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1033 * tests/check/elements/.cvsignore:
1034 Add file to cvsignore as commanded.
1036 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1038 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1039 (mq_dummypad_event), (run_output_order_test):
1040 Use a GStaticMutex to protect all cases where libcheck
1041 fail_if/fail_unless macros might be called from multiple threads
1042 simultaneously to avoid errors like:
1043 "check_pack.c:107: :-1081725400:Bad message type arg"
1045 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1047 * tests/check/pipelines/stress.c: (GST_START_TEST):
1048 Make sure we set the pipeline back to the NULL state before
1049 dropping our final reference.
1051 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1053 * tests/check/elements/tee.c: (GST_START_TEST):
1054 Make the tee stress-test a little less stressful so it doesn't just
1055 time out on slow-machines, and remove a small race when it's starting
1056 up by adding a get_state() call.
1058 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1061 Avoid reading registry twice on startup. Fixes #457322.
1063 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1065 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1066 * pkgconfig/gstreamer-check.pc.in:
1067 Substitute the CFLAGS for libcheck into our .pc file too so that
1068 dependent modules will pick it up properly if libcheck is installed
1069 into some other prefix.
1071 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1074 Revert the pkg-config check for libcheck, since it pulls in the
1075 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1076 a proper solution, either from the check project, or something else.
1078 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1081 Use pkg-config to locate check.
1083 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1090 Add deprecation guards.
1092 * libs/gst/base/gstcollectpads.h:
1093 Don't document object (this is implicitly private).
1095 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1097 * gst/gststructure.c: (gst_structure_parse_value):
1098 When deserialising foo=bar without a type cast, check if it's a
1099 boolean before falling back to a string type, otherwise things like
1100 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1101 because the filtercaps end up having a signed=(string)true field,
1102 which causes problems later when intersection caps.
1104 * tests/check/gst/gststructure.c: (GST_START_TEST):
1105 Add a unit test for this.
1107 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1109 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1111 * libs/gst/controller/Makefile.am:
1112 * libs/gst/controller/gstcontroller.c:
1113 (gst_controlled_property_add_interpolation_control_source),
1114 (gst_controlled_property_new), (gst_controlled_property_free),
1115 (gst_controller_find_controlled_property),
1116 (gst_controller_new_valist), (gst_controller_new_list),
1117 (gst_controller_new), (gst_controller_remove_properties_valist),
1118 (gst_controller_remove_properties_list),
1119 (gst_controller_remove_properties),
1120 (gst_controller_set_property_disabled),
1121 (gst_controller_set_disabled), (gst_controller_set_control_source),
1122 (gst_controller_get_control_source), (gst_controller_get),
1123 (gst_controller_sync_values), (gst_controller_get_value_array),
1124 (_gst_controller_dispose), (gst_controller_get_type),
1125 (gst_controlled_property_set_interpolation_mode),
1126 (gst_controller_set), (gst_controller_set_from_list),
1127 (gst_controller_unset), (gst_controller_unset_all),
1128 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1129 * libs/gst/controller/gstcontroller.h:
1130 * libs/gst/controller/gstcontrollerprivate.h:
1131 * libs/gst/controller/gstcontrolsource.c:
1132 (gst_control_source_class_init), (gst_control_source_init),
1133 (gst_control_source_get_value),
1134 (gst_control_source_get_value_array), (gst_control_source_bind):
1135 * libs/gst/controller/gstcontrolsource.h:
1136 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1137 (gst_object_get_control_source):
1138 * libs/gst/controller/gstinterpolation.c:
1139 (gst_interpolation_control_source_find_control_point_node),
1140 (gst_interpolation_control_source_get_first_value),
1141 (_interpolate_none_get), (interpolate_none_get),
1142 (interpolate_none_get_boolean_value_array),
1143 (interpolate_none_get_enum_value_array),
1144 (interpolate_none_get_string_value_array),
1145 (_interpolate_trigger_get), (interpolate_trigger_get),
1146 (interpolate_trigger_get_boolean_value_array),
1147 (interpolate_trigger_get_enum_value_array),
1148 (interpolate_trigger_get_string_value_array):
1149 * libs/gst/controller/gstinterpolationcontrolsource.c:
1150 (gst_control_point_free), (gst_interpolation_control_source_reset),
1151 (gst_interpolation_control_source_new),
1152 (gst_interpolation_control_source_set_interpolation_mode),
1153 (gst_interpolation_control_source_bind),
1154 (gst_control_point_compare), (gst_control_point_find),
1155 (gst_interpolation_control_source_set_internal),
1156 (gst_interpolation_control_source_set),
1157 (gst_interpolation_control_source_set_from_list),
1158 (gst_interpolation_control_source_unset),
1159 (gst_interpolation_control_source_unset_all),
1160 (gst_interpolation_control_source_get_all),
1161 (gst_interpolation_control_source_get_count),
1162 (gst_interpolation_control_source_init),
1163 (gst_interpolation_control_source_finalize),
1164 (gst_interpolation_control_source_dispose),
1165 (gst_interpolation_control_source_class_init):
1166 * libs/gst/controller/gstinterpolationcontrolsource.h:
1167 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1168 API: Refactor GstController into the core controller which can take
1169 a GstControlSource for providing actual values for timestamps.
1170 Implement a interpolation control source and use this for backward
1171 compatibility, deprecate a bunch of functions that are now handled
1172 by GstControlSource or GstInterpolationControlSource.
1173 Make it possible to disable the controller completely or only for
1174 specific properties. Fixes #450711.
1175 * docs/libs/gstreamer-libs-docs.sgml:
1176 * docs/libs/gstreamer-libs-sections.txt:
1177 * docs/libs/gstreamer-libs.types:
1178 Add new functions and classes to the docs.
1179 * tests/check/libs/controller.c: (GST_START_TEST),
1180 (gst_controller_suite):
1181 * tests/examples/controller/audio-example.c: (main):
1182 Port unit test and example to the new API and add some new
1185 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1187 Patch by: Mark Nauwelaerts <manauw at skynet be>
1189 * plugins/elements/gstmultiqueue.c:
1190 (gst_multi_queue_get_internal_links), (apply_buffer),
1191 (single_queue_overrun_cb), (gst_single_queue_new):
1192 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1193 the pipeline layout can be tracked correctly. Fixes #453732.
1195 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1197 * docs/gst/Makefile.am:
1198 * docs/libs/Makefile.am:
1199 * docs/plugins/Makefile.am:
1200 Simplify --extra-dir as gtkdoc scans recursively.
1202 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1204 * tools/gst-launch.c: (main):
1205 When we got an error, there is no point in waiting for preroll when
1208 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1210 * plugins/elements/gsttee.c: (gst_tee_base_init),
1211 (gst_tee_request_new_pad), (gst_tee_release_pad),
1212 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1213 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1215 Be a lot smarter when deciding what srcpad to use for proxying
1216 the buffer_alloc. Also handle pad added/removed when doing so.
1218 Keep track of what pads we already pushed on in case we have pads
1219 added/removed while pushing. Fixes #374639
1221 * tests/check/Makefile.am:
1222 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1224 Added unit test for pad resync.
1226 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1230 Updated translations.
1232 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1234 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1238 Added new Finnish translation.
1240 2007-06-28 Wim Taymans <wim@fluendo.com>
1242 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1243 (single_queue_overrun_cb):
1244 When figuring out when a queue is filled, use our internal time estimate
1245 based on segments, just like check_full does.
1247 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1249 * gst/gstminiobject.c: (gst_mini_object_get_type):
1250 Remove 3 do-nothing methods.
1252 2007-06-27 Wim Taymans <wim@fluendo.com>
1254 Patch by: Tim Angus <tim at ngus dot net>
1256 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1257 (gst_capsfilter_set_property):
1258 Take a reference instead of a copy when setting "caps".
1259 Fix documentation to clarify this behaviour. Fixes #449414.
1261 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1263 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1264 * gst/gstplugin.c: (gst_plugin_init):
1265 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1266 * gst/gstquery.c: (gst_query_get_type):
1267 * gst/gstregistry.c: (gst_registry_init):
1268 * gst/gsturi.c: (gst_uri_handler_base_init):
1269 Remove empty instance_init() functions to save relocs and lessen the
1270 noise. Remove some of the function prototypes that are doubled by
1273 2007-06-27 Wim Taymans <wim@fluendo.com>
1275 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1277 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1278 Add peer and direction in the XML serialisation of ghostpads.
1281 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1284 Preserve useful information, thanks Tim.
1286 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1288 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1289 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1290 (gst_single_queue_push_one), (gst_multi_queue_loop),
1291 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1292 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1293 (compute_high_id), (gst_single_queue_new):
1294 * plugins/elements/gstmultiqueue.h:
1295 Take the multiqueue lock when updating the fill level so we don't get
1298 After applying a buffer or event on the src pad segment, make sure to
1299 call gst_data_queue_limits_changed() to get the data queue to unblock
1300 and check the filled state again.
1302 Rework the not-linked pad handling so the logic is that not-linked
1303 pads can push as fast as they like, but only so they never get
1304 ahead of any linked pads.
1306 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1307 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1308 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1310 Add a test to check that not-linked pads always stay behind
1315 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1317 * docs/random/release:
1318 Some updates to the release procedure.
1320 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1322 * gst/gstelementfactory.c: (__gst_element_details_clear):
1323 Microoptimization that saves stunning 80 bytes.
1325 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1327 * docs/plugins/gstreamer-plugins.args:
1328 * docs/plugins/inspect/plugin-coreelements.xml:
1329 * docs/plugins/inspect/plugin-coreindexers.xml:
1330 Update docs with caps info.
1332 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1335 Updated Italian translation.
1337 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1341 Update Vietnamese translations.
1343 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1345 * libs/gst/base/gstbasesink.c:
1346 Remove unused signal enum.
1348 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1350 * docs/gst/gstreamer-sections.txt:
1352 * gst/gstutils.c: (gst_type_register_static_full):
1353 Beef up and include the docs for gst_type_register_static_full and
1354 gst_element_class_set_details_simple and add the API keyword
1357 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1359 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1360 (update_time_level), (gst_single_queue_push_one),
1361 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1362 (single_queue_overrun_cb), (single_queue_underrun_cb),
1363 (single_queue_check_full):
1364 Fix setting max-* properties after adding queues.
1365 Use IS_FILLED for checking visible items.
1366 Signal overrun if multiple queues overrun.
1367 Add extra debug output.
1368 Patch by: Wim Taymans <wim@fluendo.com>
1370 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1372 * gst/gstelement.c: (gst_element_class_set_details_simple):
1374 * gst/gstutils.c: (gst_type_register_static_full):
1376 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1377 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1378 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1379 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1380 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1381 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1382 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1383 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1384 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1385 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1386 (apply_buffer), (gst_queue_chain):
1387 * plugins/elements/gsttee.c: (gst_tee_base_init):
1388 * plugins/elements/gsttypefindelement.c:
1389 (gst_type_find_element_base_init),
1390 (gst_type_find_element_class_init):
1391 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1392 API: add gst_type_register_static_full
1393 API: add gst_element_class_set_details_simple
1395 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1397 * docs/pwg/advanced-types.xml:
1398 Fix typo in iana.org URI.
1400 2007-06-19 Andy Wingo <wingo@pobox.com>
1402 * tests/check/pipelines/simple-launch-lines.c
1403 (test_state_change_returns): Enable pull-mode tests now that
1404 basesink has been fixed.
1406 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1407 Changed from gst_base_sink_is_prerolled, reversing the sense of
1408 the return value. Returns FALSE also if the sink is in pull mode,
1409 in which case it needs no preroll.
1410 (gst_base_sink_query, gst_base_sink_change_state): Update for
1411 needs_preroll change.
1412 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1413 chaining up, in which we return SUCCESS directly if we activated
1414 in pull mode instead of ASYNC. Involves countering an async_start
1415 message sent before chaining up; not sure if this is correct, in
1416 an ideal world we only send async-start when activating in push
1419 * tests/check/pipelines/simple-launch-lines.c
1420 (test_state_change_returns): New test, partially disabled until
1423 2007-06-19 Wim Taymans <wim@fluendo.com>
1425 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1426 (gst_multi_queue_sink_event):
1429 2007-06-19 Wim Taymans <wim@fluendo.com>
1431 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1432 (gst_bin_change_state_func), (bin_push_state_continue),
1433 (bin_handle_async_start), (bin_handle_async_done),
1434 (gst_bin_handle_message_func):
1435 Move the common code for posting state-change messages into
1437 Broadcast the state signal after we posted the messages.
1438 Mark the bin as busy when it's doing a state-change.
1439 Make sure async-start/done messages don't interfere with the bin's
1440 state when it's busy.
1441 After the state change, let the bin check which elements completed the
1442 state change while it was busy so that it can update its state.
1444 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1446 * docs/random/release:
1447 Add a note about updating the doap file to the release checklist
1449 2007-06-18 Wim Taymans <wim@fluendo.com>
1451 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1452 (gst_single_queue_push_one), (gst_multi_queue_chain),
1453 (gst_multi_queue_sink_event):
1454 Make sure we don't reference the buffer/event after we have given away
1455 ownership in the queue.
1457 2007-06-18 Wim Taymans <wim@fluendo.com>
1459 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1460 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1461 Update queue state _after_ adding the item in the queue because else we
1462 could end up being full without the element added yet.
1464 2007-06-18 Wim Taymans <wim@fluendo.com>
1466 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1467 (gst_bin_remove_func), (gst_bin_get_state_func),
1468 (gst_bin_element_set_state), (gst_bin_continue_func),
1469 (bin_push_state_continue), (bin_handle_async_start),
1470 (bin_handle_async_done), (gst_bin_handle_message_func):
1472 Immediatly commit the toplevel bin state when receiving an async-done
1473 message. This enables us to avoid spawning a thread to commit the state
1474 in some common cases and it also avoids some races.
1475 Avoid spawning a state thread when adding/removing async elements to a
1476 toplevel bin. Instead we immediatly update the bin state.
1477 Get rid of iterating all the children when getting the state in the bin
1478 because it is now always up-to-date.
1479 Fix bug where locked elements would always return _SUCCESS even it they
1480 returned NO_PREROLL before being locked.
1481 Fix the order of the state_change, async-start/done messages that was
1482 sometimes incorrect.
1483 Mark the state_dirty field as deprecated, we don't need it anymore as we
1484 are always up-to-date.
1486 * gst/gstelement.c: (gst_element_get_state_func),
1487 (gst_element_continue_state):
1488 Small debug inprovements.
1489 Return the previous element state return when nothing is pending instead
1490 of blindly returning SUCCESS.
1492 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1494 Add a whole bunch of new testcases.
1496 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1500 Update translations.
1502 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1505 Fix typo in the docs.
1507 2007-06-15 Wim Taymans <wim@fluendo.com>
1509 * docs/libs/gstreamer-libs-sections.txt:
1510 Add docs for new methods.
1512 2007-06-15 Wim Taymans <wim@fluendo.com>
1514 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1515 (gst_multi_queue_item_new):
1516 Don't use GSlice because we don't depend on >= 2.10 yet.
1518 2007-06-15 Wim Taymans <wim@fluendo.com>
1520 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1521 (update_time_level), (apply_segment), (apply_buffer),
1522 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1523 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1524 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1525 (single_queue_underrun_cb), (single_queue_check_full):
1526 Remove debug printf.
1528 2007-06-15 Wim Taymans <wim@fluendo.com>
1530 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1531 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1532 (gst_data_queue_set_flushing), (gst_data_queue_push),
1533 (gst_data_queue_pop), (gst_data_queue_drop_head),
1534 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1535 * libs/gst/base/gstdataqueue.h:
1537 Added methods to get the current levels and to inform the queue that the
1538 'full' limits changed.
1540 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1541 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1542 (gst_single_queue_flush), (update_time_level), (apply_segment),
1543 (apply_buffer), (gst_single_queue_push_one),
1544 (gst_multi_queue_item_steal_object),
1545 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1546 (gst_multi_queue_loop), (gst_multi_queue_chain),
1547 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1548 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1549 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1550 (single_queue_underrun_cb), (single_queue_check_full),
1551 (gst_single_queue_new):
1552 Keep track of time in the queue by measuring the difference between
1553 running_time on input and output. This gives more accurate results and
1554 can compensate for segments correctly.
1555 Make a queue by default only 5 buffers deep. We will now increase the
1556 buffer size depending on the filledness of the other queues.
1557 Factor out commong flush code.
1558 Make sure we don't add additional refcounts to buffers when we can avoid
1560 Propagate GstFlowReturn differently.
1561 Use GSlice for intermediate GstMultiQueueItems.
1563 Resize queues on over and underruns based on filled level of other
1565 When checking if the queue is filled, prefer to measure in time if we
1566 can and fall back to bytes when no time is known.
1568 * plugins/elements/gstqueue.c:
1571 2007-06-15 Wim Taymans <wim@fluendo.com>
1573 * libs/gst/base/gstbasetransform.c:
1574 (gst_base_transform_sink_event):
1575 Work around the brokenness of the event vmethod in basetransform. Prefer
1576 to return TRUE when the subclass returned FALSE (meaning don't forward
1579 * libs/gst/base/gstbasetransform.h:
1582 2007-06-15 Wim Taymans <wim@fluendo.com>
1584 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1585 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1586 (gst_base_src_default_query), (gst_base_src_get_range),
1587 (gst_base_src_start):
1588 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1591 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1593 * docs/pwg/advanced-types.xml:
1594 Added more formats to caps table.
1596 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1598 * tools/gst-launch.c: (main):
1599 Remove crufy code. GOption does not need this workaround.
1601 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1603 * libs/gst/controller/gstcontroller.c:
1604 (gst_controlled_property_set_interpolation_mode):
1605 Fix wrong getter for enums in controller.
1607 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1609 * libs/gst/check/gstcheck.c: (gst_check_init):
1610 Intercept criticals and warnings in the Gst-Phonon log domain, so
1611 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1614 2007-06-14 Edward Hervey <edward@fluendo.com>
1616 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1617 Since this file doesn't include "gst.h" it will not go through the
1618 macros that disable GST_LOG if debugging was disabled.
1620 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1622 * libs/gst/check/Makefile.am:
1623 * libs/gst/check/gstcheck.h:
1624 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1625 * pkgconfig/gstreamer-check.pc.in:
1626 Ugly 'fix' for the controller unit test on the p5 bot: in
1627 fail_unless_equals_float() check whether the values are 'almost
1628 equal' by allowing a small absolute error, which should be good
1629 enough for our use cases (normal numbers and values close to 0).
1630 Proper fixage left to floating point arithmetic aficionados.
1632 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1634 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1635 (gst_base_sink_render_object), (gst_base_sink_get_position):
1636 Add two breaks thats where missing.
1638 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1640 * docs/libs/gstreamer-libs-sections.txt:
1641 * libs/gst/check/gstcheck.h:
1642 API: add fail_unless_equals_float() and assert_equals_float().
1643 Add documentation for some of the macros.
1645 * tests/check/libs/controller.c: (GST_START_TEST):
1646 Use newly-added asserts.
1648 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1650 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1651 Show the caps change in the log to help spotting the case of not
1652 exactly matching caps.
1654 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1656 * docs/pwg/building-boiler.xml:
1657 Fix typos, spotted by Thijs Vermeir (#447190).
1659 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1661 * docs/plugins/tmpl/.cvsignore:
1662 Ignore file to keep the buildbots happy
1664 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1666 * docs/plugins/Makefile.am:
1667 * docs/plugins/gstreamer-plugins-docs.sgml:
1668 * docs/plugins/gstreamer-plugins-sections.txt:
1669 Pull fdsink into the docs too.
1671 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1673 * libs/gst/controller/gstinterpolation.c:
1674 Actually use the new functions with min/max checks for the trigger and
1675 none interpolation modes for get() and get_value_array() instead of
1678 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1680 * libs/gst/controller/gstcontroller.c:
1681 (gst_controlled_property_free):
1682 Unset the minimum and maximum GValues when freeing the corresponding
1683 GstControllerProperty struct.
1685 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1687 * libs/gst/controller/gstcontroller.c:
1688 (gst_controlled_property_new):
1689 * libs/gst/controller/gstcontrollerprivate.h:
1690 * libs/gst/controller/gstinterpolation.c:
1691 (gst_controlled_property_find_control_point_node),
1692 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1693 (interpolate_none_get_string_value_array),
1694 (interpolate_trigger_get),
1695 (interpolate_trigger_get_enum_value_array),
1696 (interpolate_trigger_get_string_value_array):
1697 Protect against values larger or smaller than the minimum or maximum
1698 allowed value for the property when using values that can be compared.
1700 Optimize trigger interpolator a bit by taking the last requested value
1701 into account instead of always looping through the complete list.
1703 Fix coding style a bit, everywhere else we use "return foo" instead
1706 * tests/check/libs/controller.c: (GST_START_TEST),
1707 (gst_controller_suite):
1708 Add unit test for the protection against too large or too small
1711 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1713 * docs/random/slomo/controller.txt:
1714 Add some thoughts about the future of the controller.
1716 2007-06-08 Wim Taymans <wim@fluendo.com>
1718 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1719 Don't overflow in retimestamping code.
1721 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1723 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1724 Use gst_util_guint64_to_gdouble for conversions.
1725 * win32/common/libgstreamer.def:
1726 Add new exported functions.
1728 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1731 Small docs addition.
1733 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1736 Remove that test line again.
1738 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1741 Test commit mail sending.
1743 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1746 Fix typo and test commit mail sending.
1748 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1750 * tests/examples/controller/audio-example.c:
1751 Improve comment and test commit mail sending.
1753 2007-06-07 Wim Taymans <wim@fluendo.com>
1755 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1756 (gst_bin_remove_func), (gst_bin_element_set_state),
1757 (bin_handle_async_start), (bin_handle_async_done),
1758 (gst_bin_handle_message_func):
1759 Add helper function to find messages.
1760 Generate the async-done messages together with the state change
1762 Small cleanups in handling toplevel bins.
1764 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1766 * libs/gst/base/gstdataqueue.c:
1767 * libs/gst/base/gstdataqueue.h:
1768 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1769 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1770 (gst_multi_queue_sink_event):
1771 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1772 Fix multiqueue leaking buffers and events when downstream or the
1773 queue are flushing. Make refcounting assumptions explicit and
1774 document them (shouldn't break existing code that uses it other than
1775 maybe leak miniobjects, but that already happens anyway). Add unit
1776 test for the most common flushing case. Fixes #423700.
1778 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1780 * libs/gst/controller/gstcontroller.c:
1781 Clarify docs: The get_all, get_value_array(s) functions
1782 don't modify the GObject properties.
1784 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1786 * libs/gst/controller/gstcontroller.c:
1787 (gst_controlled_property_set_interpolation_mode),
1788 (gst_controlled_property_prepend_default),
1789 (gst_controlled_property_new), (gst_controller_set_unlocked),
1790 (gst_controller_set), (gst_controller_set_from_list),
1791 (gst_controller_unset), (gst_controller_unset_all):
1792 * libs/gst/controller/gstcontrollerprivate.h:
1793 * libs/gst/controller/gstinterpolation.c:
1794 Factor out the 'set' logic into gst_controller_set_unlocked for the
1795 gst_controller_set and gst_controller_set_from_list functions.
1797 To make life of the interpolators easier always add a control point
1798 at timestamp zero with the default value.
1800 In the linear interpolator make things more obvious by better variable
1803 Implement cubic interpolation mode (by using a natural cubic spline)
1804 and map the quadratic interpolation mode to this too (as quadratic
1805 doesn't make much sense, see discussion on the list).
1807 * tests/check/libs/controller.c: (GST_START_TEST),
1808 (gst_controller_suite):
1809 Add unit test for the cubic interpolation mode and check everywhere
1810 if the interpolation mode could be set as expected.
1812 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1814 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1815 Don't use GLib-2.10 functions, we still depend on
1816 GLib-how-old-is-it-again-2.8.
1818 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1820 * docs/gst/gstreamer-sections.txt:
1824 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1825 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1826 (_gst_param_fraction_values_cmp),
1827 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1828 * gst/gstparamspecs.h:
1830 * tests/check/Makefile.am:
1831 * tests/check/gst/.cvsignore:
1832 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1833 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1834 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1835 (GST_START_TEST), (gst_param_spec_suite):
1836 API: add GstParamSpecFraction, so elements can have fraction
1837 properties without lots of painful string parsing (#444648).
1839 2007-06-05 Wim Taymans <wim@fluendo.com>
1841 * gst/gstobject.c: (gst_object_class_init):
1842 Fix signal signature.
1845 Add small clarification in the api docs.
1847 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1848 States are protected with object lock.
1850 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1853 I should probably be listed as an author by now.
1855 * docs/random/release:
1856 Update the release doc
1858 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1861 Make docs for gst_value_compare() mention return enums that
1864 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1869 === release 0.10.13 ===
1871 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1874 releasing 0.10.13, "With or without you"
1876 2007-05-25 Wim Taymans <wim@fluendo.com>
1878 * gst/gstbin.c: (bin_handle_async_done):
1879 Make sure that the child bin stops after completing the async state
1880 change so that the parent can continue the state change to PLAYING.
1883 2007-05-25 Wim Taymans <wim@fluendo.com>
1885 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1886 (unref_data), (gst_collect_pads_remove_pad),
1887 (gst_collect_pads_check_pads):
1888 Use additional refcounting to avoid crashes when dynamically adding and
1889 removing pads. Fixes #420206.
1891 2007-05-24 Wim Taymans <wim@fluendo.com>
1893 * tools/gst-launch.c: (event_loop):
1894 When buffering goes from a two digit to a single digit number, make sure
1895 to remove the old second digit by writing a blank over it.
1897 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1899 * libs/gst/base/gstdataqueue.c:
1900 Eliminate tabs and trailing comma in enum list; fix some typos.
1902 2007-05-24 Wim Taymans <wim@fluendo.com>
1904 * tests/check/gst/gstbin.c: (GST_START_TEST):
1905 Allow refcount of 3 and 4 because some state thread might still be busy
1908 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1910 * plugins/elements/Makefile.am:
1911 * plugins/elements/gstmultiqueue.h:
1912 * plugins/elements/gstqueue.h:
1913 These are not installed headers, no need for padding.
1915 2007-05-24 Wim Taymans <wim@fluendo.com>
1917 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1918 (gst_bin_continue_func):
1919 Enable latency for next release.
1920 Restore STATE_LOCK around recalc_state that was left out during the
1921 rewrite and could result in racy behaviour when _get_state and
1922 recalc_state are run concurrently. See #440463.
1924 2007-05-23 Wim Taymans <wim@fluendo.com>
1926 * tests/check/gst/gstsystemclock.c: (store_callback),
1928 Improve test_async_order to also work when both timers are already
1929 expired when we get scheduled to check it.
1931 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1933 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1934 (gst_bin_set_property), (gst_bin_get_property),
1935 (gst_bin_remove_func), (gst_bin_handle_message_func):
1937 'private' is a c++ keyword, let's not use that in header files,
1938 otherwise c++ compilers will throw a tantrum.
1940 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1942 * plugins/elements/gstelements.c:
1943 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1944 (gst_file_sink_get_current_offset):
1945 * plugins/indexers/gstindexers.c: (plugin_init):
1946 Use #ifdef for HAVE_XYZ for consistency.
1948 * tests/check/Makefile.am:
1949 * tests/check/elements/.cvsignore:
1950 * tests/check/elements/filesink.c: (setup_filesink),
1951 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1952 Add some unit tests for filesink.
1954 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1956 Patch by: Mark Nauwelaerts <manauw at skynet be>
1958 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1959 (gst_file_sink_query), (gst_file_sink_do_seek),
1960 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1961 * plugins/elements/gstfilesink.h:
1962 Fix position reporting; rename data_written member to current_pos to
1963 reflect its real meaning (fixes #412648).
1965 2007-05-22 Edward Hervey <edward@fluendo.com>
1967 * docs/gst/gstreamer-sections.txt:
1968 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1969 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1970 (gst_bin_remove_func), (gst_bin_handle_message_func):
1972 Add a property for bins that handle the state change of their childs.
1975 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1977 * libs/gst/controller/gstinterpolation.c:
1978 Use an array of the correct type when using _get_value_array with
1979 linear interpolation.
1981 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1983 * gst/gstelement.c (gst_element_requires_clock,
1984 gst_element_provides_clock, gst_element_request_pad,
1985 gst_element_class_set_details, gst_element_class_set_details_simple,
1986 gst_element_default_send_event, gst_element_abort_state,
1987 gst_element_continue_state, gst_element_set_state,
1988 gst_element_set_state_func, iterator_activate_fold_with_resync):
1989 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1990 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1991 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1992 gst_pad_get_range, gst_pad_pull_range):
1993 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1994 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1995 GstPadActivateModeFunction, GstPadChainFunction,
1996 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1997 GstPadFixateCapsFunction, GstPadTemplate):
1998 * gst/gstpipeline.c (gst_pipeline_change_state,
1999 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2000 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2001 gst_pipeline_get_delay):
2002 Whitespace and docs fixes.
2004 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2006 * libs/gst/controller/gstinterpolation.c:
2007 (interpolate_trigger_get_enum_value_array),
2008 (interpolate_trigger_get_string_value_array):
2009 Add support for retrieving value arrays when using the trigger
2012 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2014 * libs/gst/controller/gstcontroller.c:
2015 (gst_controller_get_value_array):
2016 * libs/gst/controller/gstcontroller.h:
2017 Clarify the docs of gst_controller_get_value_array(): The array where
2018 the values should be written to must be allocated as there seems to be
2019 no way to get the size of a random GType. This doesn't change any
2020 behaviour. Also fix some typos all over the place and remove an unused,
2021 commented function that is not necessary as g_object_set() could be
2023 * tests/check/libs/controller.c: (GST_START_TEST),
2024 (gst_controller_suite):
2025 Add unit test for gst_controller_get_value_array().
2027 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2029 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2031 Disable part of the gst_buffer_try_new_and_alloc test, because
2032 it can happily succeed on 64-bit systems where there's more address
2035 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2037 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2038 Add unit test for the improved caps checking from bug #421543.
2040 2007-05-21 Wim Taymans <wim@fluendo.com>
2042 * docs/design/part-synchronisation.txt:
2045 * gst/gstbin.c: (gst_bin_query):
2046 * plugins/elements/gstqueue.c: (apply_segment):
2052 2007-05-21 Wim Taymans <wim@fluendo.com>
2054 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2055 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2056 (gst_pad_configure_src):
2057 Added simple version of improved caps checking. It was previously
2058 assumed that a setcaps function would check the validity of the caps but
2059 people prefer us to check caps against the template automatically.
2062 2007-05-21 Wim Taymans <wim@fluendo.com>
2064 * libs/gst/base/gstbasetransform.h:
2065 Fix macro for locking/unlocking the transform lock.
2067 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2069 * docs/plugins/tmpl/.cvsignore:
2072 2007-05-18 Edward Hervey <edward@fluendo.com>
2074 * plugins/elements/gstqueue.c: (gst_queue_loop):
2075 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2076 for the subtle art of warning a potentially blocking thread that it
2077 should check the source pad return value, and relay the information
2080 2007-05-18 Edward Hervey <edward@fluendo.com>
2082 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2083 Release the queue lock !
2085 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2087 * docs/libs/gstreamer-libs-sections.txt:
2088 Add the two new controller functions to the appropiate places.
2090 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2092 reviewed by: Stefan Kost <ensonic@users.sf.net>
2094 * libs/gst/controller/gstcontroller.c:
2095 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2096 (_gst_controller_get_property), (_gst_controller_set_property),
2097 (_gst_controller_init), (_gst_controller_class_init):
2098 * libs/gst/controller/gstcontroller.h:
2099 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2100 (gst_object_get_control_rate), (gst_object_set_control_rate):
2101 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2102 Add API that provides sync suggestion timestamps for elements that
2103 call gst_object_sync_values() from which those elements can subdivide
2104 their processing loop to get the best results for the controlled
2105 properties. For now it just suggests last_sync + control_rate as
2106 new timestamp but this will be improved in the future.
2108 While doing that change the control-rate property to a GstClockTime
2109 from guint and change it's meaning from samples to nanoseconds as
2110 the GstController doesn't know anything about sampling rate. Strictly
2111 speaking this breaks ABI but as the control-rate property didn't do
2112 anything in the past and as such couldn't be used this should be no
2115 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2117 reviewed by: Stefan Kost <ensonic@users.sf.net>
2119 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2120 (gst_controller_unset_all):
2121 * libs/gst/controller/gstcontrollerprivate.h:
2122 * libs/gst/controller/gstinterpolation.c:
2123 (gst_controlled_property_find_control_point_node):
2124 Save last synced value from the list to continue searching from there
2125 in future syncs. This speeds everything up a bit.
2127 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2129 reviewed by: Stefan Kost <ensonic@users.sf.net>
2131 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2132 (gst_control_point_find), (gst_controlled_property_new),
2133 (gst_control_point_free), (gst_controlled_property_free),
2134 (gst_controller_set), (gst_controller_set_from_list),
2135 (gst_controller_unset), (gst_controller_unset_all),
2136 (gst_controller_sync_values):
2137 * libs/gst/controller/gstcontroller.h:
2138 * libs/gst/controller/gstcontrollerprivate.h:
2139 * libs/gst/controller/gstinterpolation.c:
2140 (gst_controlled_property_find_control_point_node),
2141 (interpolate_none_get), (interpolate_trigger_get):
2142 Add a new private GstControlPoint struct which "inherits" from
2143 GstTimedValue to allow different interpolators to store internal
2144 values next to each control point. From the outside everything is
2145 still a GstControlPoint so we don't loose binary compatibility.
2146 Also fixup all the GValue handling to not leak GValues or list nodes.
2147 * tests/check/libs/controller.c: (GST_START_TEST):
2148 Free the list nodes and GValues in the controller_misc test.
2150 2007-05-17 Edward Hervey <edward@fluendo.com>
2155 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2157 * gst/gstplugin.c: (gst_plugin_load_file):
2158 If we fail to load a plugin because of unresolved symbols or missing
2159 libraries and spew a warning to stderr, we may just as well mention
2160 which plugin it was that failed to load.
2162 2007-05-13 David Schleef <ds@schleef.org>
2164 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2165 handles the case when ENABLE_GTK_DOC is false, and installs
2166 the prebuilt documentation. So gtk-doc subdirs are
2167 unconditionally enabled. Fixes: #349099.
2169 2007-05-13 David Schleef <ds@schleef.org>
2171 * gst/gstutils.h: Reword some documentation.
2173 2007-05-12 David Schleef <ds@schleef.org>
2175 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2176 do anything with the passed "module" parameter, so remove it.
2177 Allows removal of additional vestigal code.
2179 2007-05-12 David Schleef <ds@schleef.org>
2182 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2183 Switch to using g_stat() because it's more portable.
2185 2007-05-12 David Schleef <ds@schleef.org>
2188 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2189 parsing for embedded systems.
2190 * gst/gstelementfactory.c:
2191 Allow gst_element_register() to be called with plugin==NULL.
2192 Did nobody notice that static elements were broken?
2194 2007-05-12 Wim Taymans <wim@fluendo.com>
2196 * tools/gst-launch.c: (event_loop):
2197 Give more interesting info when buffering starts and stops.
2198 Fix case where buffering starts but we fail to update the buffering flag
2199 because the target state is not PLAYING.
2201 2007-05-12 Wim Taymans <wim@fluendo.com>
2203 * plugins/elements/gstqueue.c: (gst_queue_init),
2204 (gst_queue_finalize), (update_time_level), (apply_segment),
2205 (apply_buffer), (gst_queue_locked_flush),
2206 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2207 (gst_queue_handle_sink_event), (gst_queue_chain),
2208 (gst_queue_push_one), (gst_queue_loop):
2209 * plugins/elements/gstqueue.h:
2210 Refactor an cleanup queue a bit.
2211 Do better time level calculations that also work when the srcpad is not
2213 Remove some unneeded debug lines.
2215 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2216 Added testcase for time level measurement.
2217 Try to make some stuff more racefree.
2219 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2221 * gst/gsturi.c: (gst_element_make_from_uri):
2222 Don't leak plugin feature.
2224 * tests/check/Makefile.am:
2225 * tests/check/gst/.cvsignore:
2226 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2227 Add brain-dead unit test.
2229 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2231 Patch by: Jeroen Wouters <woutersj at gmail com>
2233 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2234 Treat protocol strings in a case-insensitive way (#437563).
2236 2007-05-11 Michael Smith <msmith@fluendo.com>
2238 * gst/gstplugin.c: (gst_plugin_load_file):
2239 * gst/gstregistry.c: (gst_registry_scan_path_level):
2240 Don't print a g_warning for any failure to load a shared object.
2241 Instead, push this down into gstplugin.c, and warn _only_ if we
2242 failed to open the module (i.e. failure to link).
2243 Avoids warnings on normal, working, non-plugin .so files.
2245 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2247 * gst/gstplugin.c (gst_plugin_load_file):
2248 * gst/gstregistry.c (GST_CAT_DEFAULT,
2249 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2250 Print a g_warning if there was an error when loading a plugins during
2251 registry scan. The shuld help beginners starting with gst-plugin
2254 2007-05-10 Wim Taymans <wim@fluendo.com>
2256 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2257 (update_time_level), (gst_queue_locked_flush),
2258 (gst_queue_handle_sink_event), (gst_queue_chain),
2259 (gst_queue_push_one), (gst_queue_loop):
2260 * plugins/elements/gstqueue.h:
2261 Be smarter when calculating the current amount of data in the queue by
2262 measuring the difference between start and end timestamps (in running
2263 time) inside the queue. Fixes #432876.
2264 API: GstQueue::pushing to notify elements that we are pushing data again
2265 since the running signal is rather broken for this purpose.
2267 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2269 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2270 gst_queue_base_init, gst_queue_init):
2273 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2275 * win32/common/libgstreamer.def:
2276 Add new exported functions.
2277 * win32/vs6/grammar.dsp:
2278 Use grammar pre-generated files.
2280 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2282 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2285 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2287 * gst/gstutils.c: (gst_parse_bin_from_description):
2289 Maintain API and ABI when --disable-parse is used. Now that
2290 we have an appropriate error code, we can just return NULL and the
2291 appropriate error when gst_parse_launch() is used despite it having
2292 been disabled (#342564).
2294 * tests/check/Makefile.am:
2295 * tests/check/pipelines/.cvsignore:
2296 * tests/check/pipelines/parse-disabled.c:
2297 Make sure these functions exist and return NULL plus a GError when
2298 --disable-parse is used.
2300 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2302 * tests/benchmarks/complexity.c: (main):
2303 * tests/benchmarks/mass-elements.c: (main):
2304 Set a good example and don't leak messages.
2306 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2308 * docs/gst/Makefile.am:
2309 * docs/libs/Makefile.am:
2310 Correct fixxrefs options.
2312 * docs/plugins/Makefile.am:
2313 * docs/plugins/gstreamer-plugins-docs.sgml:
2314 * docs/plugins/gstreamer-plugins-sections.txt:
2315 * plugins/elements/Makefile.am:
2316 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2317 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2318 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2319 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2320 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2321 _GstCapsFilterClass, trans_class):
2322 * plugins/elements/gstelements.c (name, rank, type, _elements):
2323 * plugins/elements/gstidentity.c
2324 (gst_identity_check_imperfect_timestamp,
2325 gst_identity_check_imperfect_offset):
2326 Document capsfilter and add doc-blurb to identity.
2328 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2330 * libs/gst/controller/gstcontroller.c:
2331 (gst_controlled_property_set_interpolation_mode):
2332 * libs/gst/controller/gstinterpolation.c:
2333 Don't crash if someone tries to set an interpolation mode that
2334 is invalid or that isn't supported yet. Fixes #422295.
2336 * tests/check/libs/controller.c: (GST_START_TEST),
2337 (gst_controller_suite):
2338 Add a test case for the above.
2340 2007-05-03 Edward Hervey <edward@fluendo.com>
2342 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2343 Properly set the last_stop position on GstSegment. This will only happen
2344 if there is a buffer to push out.
2346 2007-05-03 Wim Taymans <wim@fluendo.com>
2348 * libs/gst/base/gstbasetransform.c:
2349 (gst_base_transform_buffer_alloc):
2350 always_in_place does not mean that the sink and source caps are the
2351 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2353 2007-05-03 Wim Taymans <wim@fluendo.com>
2355 * docs/libs/gstreamer-libs-sections.txt:
2356 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2357 (gst_base_src_default_query), (gst_base_src_get_range):
2358 * libs/gst/base/gstbasesrc.h:
2359 API: gst_base_src_query_latency(). Added method so that subclasses can
2360 easily get the latency values of the base source class.
2362 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2364 * tools/gst-inspect.c (print_implementation_info):
2367 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2369 * tools/Makefile.am:
2370 * tools/gst-launch.1.in:
2371 Don't create a customised man page based on the host architecture,
2372 describe the default registry path generically. That way the man
2373 page is the same for all architectures and packagers have one
2374 multilib issue less to deal with. Fixes #434926.
2376 2007-05-02 Wim Taymans <wim@fluendo.com>
2379 Fix documentation as spotted by rg on IRC.
2381 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2384 Improve docs for gst_element_{link,unlink}.
2386 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2388 * docs/design/part-events.txt:
2389 * docs/design/part-overview.txt:
2393 * libs/gst/base/gstbasesink.c:
2394 Typo fixes; minor docs addition.
2396 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2398 * docs/gst/gstreamer-sections.txt:
2399 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2400 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2402 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2403 or src that supports a given URI protocol exists.
2405 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2407 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2408 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2409 Set the location to NULL if "file://" is set as URI. Otherwise
2410 some random previous URI would still be set if "file://" is
2411 set on an already used filesink/filesrc.
2413 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2415 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2416 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2417 Special case the "file://" URI as as this is used by some
2418 applications to test with gst_element_make_from_uri if there's
2419 an element that supports the URI protocol.
2420 Also move the g_path_is_absolute() check for the location part
2421 of the URI to also check this for "file://localhost/bla" URIs.
2423 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2425 * docs/gst/gstreamer-sections.txt:
2426 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2428 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2430 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2432 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2434 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2435 (gst_registry_binary_load_pad_template),
2436 (gst_registry_binary_load_plugin),
2437 (gst_registry_binary_read_cache):
2438 * gst/gstregistrybinary.h:
2439 Implement no-mmap alternative for registry reading. Do code cleanups.
2440 Add more comments about avoiding strdups for all text data. Comments
2443 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2445 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2446 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2447 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2448 Comment structs and reformat to fix the build (that stuff should go
2449 into a priv. header).
2451 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2453 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2454 (gst_registry_binary_load_feature):
2455 * gst/gstregistrybinary.h:
2456 Refactor so that we can implement multiple features. Add support for
2457 TypeFindFactory features.
2459 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2461 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2464 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2466 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2468 * gst/gstbin.c: (gst_bin_element_set_state),
2469 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2470 (bin_handle_async_done), (gst_bin_handle_message_func):
2471 Fix build with --gst-disable-gst-debug
2473 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2475 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2476 Make sure streaming has finished before calling the ::stop() vfunc,
2477 since that vfunc might clear state which is being used in the
2478 streaming thread. This fixes a race that caused crashes in
2479 audioresample when shutting down a pipeline (#420106).
2481 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2483 * docs/gst/gstreamer-sections.txt:
2484 That was one byte missing.
2486 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2489 * docs/gst/gstreamer-sections.txt:
2491 * gst/gstconfig.h.in:
2492 * gst/gstobject.c: (gst_object_class_init),
2493 (gst_signal_object_class_init):
2495 2nd attempt to have a xml-less build as a joined effort of #413123
2498 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2500 * docs/design/draft-tagreading.txt:
2501 Added open issues/thoughts to draft.
2503 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2505 * gst/parse/grammar.tab.pre.c:
2506 * gst/parse/grammar.tab.pre.h:
2507 * gst/parse/lex._gst_parse_yy.pre.c:
2508 Update the prebuild parser sources.
2510 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2512 * gst/parse/Makefile.am:
2513 And now fix the building of the flex sources. Now everything should
2516 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2518 * gst/parse/Makefile.am:
2519 Now hopefully fix the build failures by setting proper rule
2520 dependencies and moving instead of copying.
2522 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2524 * tests/benchmarks/complexity.gnuplot:
2525 * tests/benchmarks/complexity.scm:
2526 * tests/benchmarks/mass-elements.gnuplot:
2527 * tests/benchmarks/mass-elements.scm:
2528 Total licensification.
2530 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2532 * gst/parse/Makefile.am:
2533 Fix the build by correcting the rule that gave wrong files to flex.
2535 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2537 * tests/benchmarks/complexity.c:
2538 * tests/benchmarks/mass-elements.c:
2539 Change licence to LGPL as granted by Benjamin and Andy.
2541 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2543 * gst/parse/Makefile.am:
2544 Add correct grammar.tab.h dependency if compiling without new enough
2545 flex. Fixes #431150.
2547 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2549 * gst/parse/Makefile.am:
2550 Fix typo and use outdated sources if the flex/bison sources are newer
2551 than the pregenerated ones but flex is too old. Print a warning in
2552 that case. This should fix the build on the build bot.
2554 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2556 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2557 * gst/parse/Makefile.am:
2558 * gst/parse/grammar.y:
2559 * gst/parse/parse.l:
2560 Make the parser reentrant and recursively callable. This requires flex
2561 >= 2.5.31, for older versions pregenerated sources are used as we
2562 can't bump the build dependency. Finally fixes #349180.
2564 * gst/gstparse.c: (gst_parse_launch):
2565 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2568 * docs/gst/Makefile.am:
2569 * docs/gst/Makefile.am:
2570 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2571 (__gst_parse_strfree), (__gst_parse_link_new),
2572 (__gst_parse_link_free), (__gst_parse_chain_new),
2573 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2574 (gst_parse_element_set), (gst_parse_free_link),
2575 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2576 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2577 (_gst_parse_launch):
2578 * gst/parse/grammar.tab.pre.h:
2579 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2580 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2581 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2582 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2583 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2584 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2585 (_gst_parse_yypop_buffer_state),
2586 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2587 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2588 (yy_fatal_error), (_gst_parse_yyget_extra),
2589 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2590 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2591 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2592 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2593 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2594 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2595 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2596 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2597 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2598 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2599 (_gst_parse_yyfree):
2600 If the installed flex version is too old use pre-generated parser
2601 sources. These pre-generated parser sources are always updated when
2602 the actual flex/bison sources change but require everybody who wants
2603 to change something in the parser to have flex >= 2.5.31 installed.
2605 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2607 * common/m4/gst-gettext.m4:
2608 * gst/gst-i18n-lib.h:
2609 Make --disable-nls to work
2611 2007-04-17 Wim Taymans <wim@fluendo.com>
2613 * gst/gstconfig.h.in:
2614 Revert previous change that broke the build.
2616 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2620 * gst/gstconfig.h.in:
2621 Drop libxml2 dependency when building with
2622 --enable-binary-registry --disable-loadsave
2624 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2626 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2627 (gst_registry_binary_read_cache):
2628 * gst/gstregistrybinary.h:
2629 Remove unnecessary <sys/mman.h> include which broke the win32 build
2630 with MingW; move includes from header file to .c file, even if the
2631 header file isn't installed; use g_strerror() where UTF-8 strings
2632 are expected, such as in GST_DEBUG messages.
2634 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2636 * docs/libs/gstreamer-libs-sections.txt:
2637 Remove bogus addition for API I didn't end up keeping.
2639 * libs/gst/base/gstbasesrc.h:
2640 Mention Since: 0.10.13 in the documentation.
2642 Add the API keyword to the previous ChangeLog entry.
2644 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2646 * docs/libs/gstreamer-libs-sections.txt:
2647 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2648 (gst_base_src_default_prepare_seek_segment),
2649 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2650 * libs/gst/base/gstbasesrc.h:
2651 Allow basesrc derived classes to execute seeks in other formats
2652 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2653 to prepare the GstSegment in any format that their perform_seek method
2654 will be able to understand. The default implementation provides the
2655 old behaviour of attempting to convert the seek offsets to the
2656 configured native format.
2658 API: basesrc::prepare_seek_segment vmethod.
2660 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2662 * gst/gstelement.c: (gst_element_get_state_func):
2663 Don't output the same debug statement twice.
2665 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2666 (gst_adapter_peek), (gst_adapter_take_buffer):
2667 Optimise the case where we have buffers at the head of the queue that
2668 can be joined quickly (because they're contiguous sub-buffers) by
2669 merging them together rather than copying data out into new memory.
2671 * gst/parse/grammar.y:
2672 * tests/check/pipelines/parse-launch.c:
2673 Fix a leak in an error path for parse_launch, and add a check
2674 for it to the testsuite.
2676 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2678 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2679 Don't deadlock when releasing a pad - gst_pad_set_active may try
2680 and take the multiqueue lock too.
2682 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2684 * gst/gsterror.c: (_gst_core_errors_init):
2686 API: add GST_CORE_ERROR_DISABLED (#392804).
2688 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2690 * docs/faq/gst-uninstalled:
2691 don't get empty paths on the PATH variables
2692 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2693 Don't format for the uncommon terminal width of 84 characters.
2695 2007-04-06 Wim Taymans <wim@fluendo.com>
2697 * gst/gstpipeline.c: (reset_stream_time),
2698 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2699 Only try to select a different pipeline clock when we went back to
2700 PAUSED and not when we merely got flushed.
2702 2007-04-05 Michael Smith <msmith@fluendo.com>
2704 * tools/gst-launch.1.in:
2705 fractions are better supported in gstreamer than ractions, so
2706 suggest using those.
2708 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2710 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2714 Added Danish translation.
2716 2007-04-05 Wim Taymans <wim@fluendo.com>
2718 * libs/gst/base/gstbasesink.c:
2719 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2720 Fix leak caused when refusing newsegment after EOS.
2722 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2723 (gst_fake_sink_init), (gst_fake_sink_set_property),
2724 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2725 (gst_fake_sink_render), (gst_fake_sink_change_state):
2726 * plugins/elements/gstfakesink.h:
2727 Add num-buffers property to make the element generate EOS after a
2728 configurable amount of buffers.
2729 API: fakesink::num-buffers property.
2731 * tests/check/elements/fakesink.c: (GST_START_TEST),
2733 Fix GstBus leak in test.
2734 Test for fakesink num-buffers.
2736 2007-04-05 Wim Taymans <wim@fluendo.com>
2738 * libs/gst/base/gstbasesink.c:
2739 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2740 (gst_base_sink_change_state):
2741 Don't accept anything after an EOS, return UNEXPECTED instead.
2743 * tests/check/elements/fakesink.c: (GST_START_TEST),
2745 Unit test for new EOS behaviour.
2747 2007-04-05 Wim Taymans <wim@fluendo.com>
2749 * gst/gstelement.c: (gst_element_get_request_pad):
2750 Make padtemplates also work when they don't contain %s or %d.
2752 2007-04-05 Wim Taymans <wim@fluendo.com>
2754 * docs/gst/gstreamer-sections.txt:
2755 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2756 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2758 Improve _adjust_unlocked() so that it overflows less.
2759 Add gst_clock_unadjust_unlocked to convert from external time to
2760 internal time based on calibration.
2761 Add some more debug.
2762 API: GstClock::gst_clock_unadjust_unlocked()
2764 2007-04-03 Wim Taymans <wim@fluendo.com>
2766 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2768 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2769 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2770 when releasing sink pad. Fixes #425400.
2772 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2774 * docs/random/ensonic/dynlink.txt:
2775 More work on proposal for new core api.
2777 * docs/libs/gstreamer-libs-sections.txt:
2778 * libs/gst/base/gstbasetransform.h:
2779 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2781 * libs/gst/controller/gstcontroller.c:
2782 (on_object_controlled_property_changed),
2783 (gst_controller_sync_values),
2784 (gst_controller_set_interpolation_mode):
2785 * libs/gst/controller/gstcontroller.h:
2786 Less verbose logging add docs for unimplemented parts and correctly
2787 return when using unavailable parts.
2789 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2791 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2792 Move all the debug to the CLOCK category, and associate it with
2795 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2797 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2798 Make take_buffer a bit quicker by removing redundant checks
2799 caused by calling gst_adapter_take.
2801 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2803 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2806 * tests/check/Makefile.am:
2807 * tests/check/elements/.cvsignore:
2808 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2809 (GST_START_TEST), (multiqueue_suite):
2810 Add some dead simple unit tests for the 'multiqueue' element
2811 (some bits don't work yet and are disabled for now).
2813 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2815 * gst/gstelement.c: (gst_element_get_request_pad),
2816 (gst_element_class_get_request_pad_template):
2817 Make gst_element_get_request_pad() create request pads only for
2818 request pad templates and not for, say, sometimes pad templates.
2820 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2822 * docs/design/draft-klass.txt:
2823 Add example that needs more thinking.
2825 * docs/design/draft-missing-plugins.txt:
2826 More thoughts about wrapper plugins.
2828 * docs/random/ensonic/embedded.txt:
2829 * docs/random/ensonic/profiling.txt:
2832 2007-03-25 Wim Taymans <wim@fluendo.com>
2834 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2835 (gst_base_src_loop):
2836 Only push the segment events in the PLAYING state for live sources.
2838 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2840 * gst/gstpipeline.c: (gst_pipeline_change_state):
2841 Modify the clock distribution path in PAUSED->PLAYING so that we
2842 never attempt to choose a new clock unless we're actually leaving
2843 the PAUSED state for the first time. This prevents choosing a
2844 different clock when the state_change gets called for a 2nd time due
2845 to some element doing an async state change.
2847 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2849 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2850 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2851 (gst_pad_chain_unchecked), (gst_pad_push):
2852 Revert last commit. This needs some more thoughts.
2854 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2856 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2857 (gst_pad_chain_unchecked), (gst_pad_push):
2858 Check in set_caps if the caps are compatible with the pad and remove
2859 two functions that are redundant now. Fixes #421543.
2861 2007-03-22 Wim Taymans <wim@fluendo.com>
2863 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2864 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2865 Unref some more to make valgrind happy.
2867 2007-03-22 Wim Taymans <wim@fluendo.com>
2869 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2870 (gst_system_clock_id_wait_jitter),
2871 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2872 Fix anoying regression that survived a few releases. When adding an
2873 async entry while blocking on a sync entry, the sync entry will unblock
2874 but still be busy, so it should continue to wait instead of returning
2876 Add some comments here and there.
2878 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2879 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2880 Add testcase for this.
2882 2007-03-22 Wim Taymans <wim@fluendo.com>
2884 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2885 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2886 WRONG_STATE and can silently pause the task. All other cases should
2889 2007-03-22 Wim Taymans <wim@fluendo.com>
2891 Patch by: Ville Syrjala <syrjala at sci dot fi>
2893 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2894 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2897 2007-03-21 Michael Smith <msmith@fluendo.com>
2899 * docs/pwg/advanced-types.xml:
2900 Fix some errors in the typefinding docs pointed out on irc.
2902 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2904 * libs/gst/base/gstbasesrc.c:
2905 Clarify FIXME comment in the face of having added unlock_stop()
2907 2007-03-21 Wim Taymans <wim@fluendo.com>
2909 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2910 Prepare for release where we warn against possible app breakage in the
2911 case of live pipelines along with an env var to enable/disable live
2912 preroll mode (GST_COMPAT=[no-]live-preroll).
2914 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2916 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2917 So we should use correct constants for checking for None offset.
2919 2007-03-20 Wim Taymans <wim@fluendo.com>
2921 * docs/design/part-block.txt:
2922 Mention the fact that the newly switched element should be set to at
2925 2007-03-20 Wim Taymans <wim@fluendo.com>
2928 Fix compilation with registry disabled as spotted by Saur.
2930 2007-03-20 Wim Taymans <wim@fluendo.com>
2932 Patch by: Olivier Crete <tester at tester dot ca>
2934 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2935 Look at the pending state too when syncing the element state to the
2936 parent. Fixes #420133.
2938 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2940 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2941 (gst_base_sink_change_state):
2942 * libs/gst/base/gstbasesink.h:
2943 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2944 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2945 (gst_base_src_deactivate):
2946 * libs/gst/base/gstbasesrc.h:
2947 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2948 for sub-classes to correctly clear any state they set trying to
2949 unlock, such as clearing out unlock commands from a command fd.
2950 API: basesrc::unlock_stop
2951 API: basesink::unlock_stop
2953 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2954 (gst_fd_sink_render), (gst_fd_sink_unlock),
2955 (gst_fd_sink_unlock_stop):
2956 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2957 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2958 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2960 Implement unlock_stop in fdsrc and fdsink.
2961 Implement seeking in fdsrc when a seekable fd is passed, as in
2962 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2964 2007-03-19 Wim Taymans <wim@fluendo.com>
2966 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2968 * gst/gstelement.c: (gst_element_class_init):
2969 Fix pad-added and pad-removed signal signatures so that the pad type is
2970 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2972 2007-03-19 Wim Taymans <wim@fluendo.com>
2974 * docs/gst/gstreamer-sections.txt:
2975 Add new element field and method.
2977 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2978 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2979 (gst_bin_recalc_state), (gst_bin_get_state_func),
2980 (gst_bin_element_set_state), (gst_bin_change_state_func),
2981 (gst_bin_continue_func), (bin_bus_handler),
2982 (bin_push_state_continue), (bin_handle_async_start),
2983 (bin_handle_async_done), (gst_bin_handle_message_func):
2984 Make async state changes a bit smarter by using new ASYNC_START and
2985 ASYNC_DONE messages. This reduces the number of times we run the state
2986 recalculation thread.
2987 Don't change state of element with a pending ASYNC_START message.
2988 Deprecate STATE_DIRTY messages.
2990 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2991 (gst_element_get_state_func), (gst_element_continue_state),
2992 (gst_element_lost_state), (gst_element_set_state_func),
2993 (gst_element_change_state):
2995 Keep the state that was last set by the app in a new element field.
2996 Don't allow state changes when handling an element event.
2997 Post ASYNC_START and ASYNC_DONE messages.
2998 Change lost_state so that we go to PAUSED and wait for the parent to set
2999 us to PLAYING again (so latency calculation can be performed)
3000 Export gst_element_change_state() method so that subclasses can use it.
3001 API: gst_element_change_state()
3002 API: GST_STATE_TARGET
3004 * gst/gstpipeline.c: (gst_pipeline_class_init),
3005 (reset_stream_time), (gst_pipeline_change_state),
3006 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3007 Using the new ASYNC_START message we can reset the base_time when
3008 needed. This can then be used to implement base_time redistribution in
3009 flushing seeks so that we can remove the explicit seek handling.
3010 Perform latency query and configuration when going to PLAYING.
3012 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3013 (gst_base_sink_query), (gst_base_sink_change_state):
3014 Post new ASYNC_START/ASYNC_DONE messages.
3016 * tests/check/generic/sinks.c: (GST_START_TEST):
3017 Fix test because the bin will not set the async element to PLAYING right
3020 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3021 Make the message check a little stronger.
3022 Handle ASYNC messages.
3024 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3025 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3026 Expect ASYNC_DONE messages.
3028 2007-03-19 Wim Taymans <wim@fluendo.com>
3030 * docs/gst/gstreamer-sections.txt:
3031 * gst/gstmessage.c: (gst_message_new_async_start),
3032 (gst_message_new_async_done), (gst_message_parse_info),
3033 (gst_message_parse_async_start):
3035 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3038 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3040 * tools/gst-inspect.c:
3041 (print_plugin_automatic_install_info_codecs):
3042 Now that we don't check for the 'Codec' keyword any longer in the
3043 klass, we shouldn't spew a warning if the klass isn't a decoder or
3044 encoder (since it might be a Source/Network, for example).
3046 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3048 * tools/gst-inspect.c:
3049 (print_plugin_automatic_install_info_codecs):
3050 Don't require decoder/demuxer/depayloader elements or
3051 encoder/muxer/paylader elements to have 'Codec' as part of their
3052 factory class string when introspecting a plugin's capabilities.
3053 draft-klass.txt mentions that it might be removed in future, and
3054 flump3dec doesn't have it as part of its class string, so chances
3055 are others might also not have it.
3057 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3079 Update translations from translation project
3081 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3083 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3084 (gst_child_proxy_set_property):
3085 Invert precondition check to be alike the ones in the mimiced gobject
3088 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3090 * docs/design/draft-tagreading.txt:
3091 * docs/random/ensonic/audiobaseclasses.txt:
3092 Do some Architect work.
3094 * gst/gstobject.c: (gst_object_set_name):
3098 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3100 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3102 * gst/gstsystemclock.c: (gst_system_clock_init),
3103 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3104 Defer starting the async system clock thread until the first async
3105 wait is scheduled. Fixes #414986.
3107 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3109 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3110 (gst_single_queue_free):
3111 Fix small leak (free GstSingleQueue structure too, not only contents).
3113 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3115 * gst/gstbin.c:(gst_bin_add):
3116 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3117 * win32/common/libgstbase.def:
3118 * win32/common/libgstreamer.def:
3119 Add new exported functions.
3121 2007-03-09 Wim Taymans <wim@fluendo.com>
3123 * docs/plugins/gstreamer-plugins-sections.txt:
3126 2007-03-09 Wim Taymans <wim@fluendo.com>
3128 * docs/gst/gstreamer-sections.txt:
3129 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3131 Add metadata copy functions. Fixes #393099.
3132 API: gst_buffer_copy_metadata()
3134 * gst/gstutils.c: (gst_buffer_stamp):
3135 * libs/gst/base/gstbasetransform.c:
3136 (gst_base_transform_prepare_output_buffer):
3137 Use new metadata copy functions.
3139 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3141 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3142 (gst_identity_init), (gst_identity_check_perfect),
3143 (gst_identity_check_imperfect_timestamp),
3144 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3145 (gst_identity_set_property), (gst_identity_get_property):
3146 * plugins/elements/gstidentity.h:
3147 Separate out check-imperfect-timestamp and check-imperfect-offset.
3148 Put back check-perfect as it was to keep compatibility.
3150 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3152 * gst/gstelement.c: (gst_element_dispose):
3153 There's no need to warn if VOID_PENDING is not NONE here, as
3154 long as the state is NULL it's ok, and that's checked immediately
3157 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3159 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3160 Fix check for perfect stream to ignore buffers with -1
3161 offsets/offset ends when checking data contiguity.
3163 2007-03-08 Wim Taymans <wim@fluendo.com>
3165 * tools/gst-launch.c: (event_loop):
3166 Print INFO messages.
3168 2007-03-08 Wim Taymans <wim@fluendo.com>
3170 * libs/gst/base/gstbasetransform.c:
3171 (gst_base_transform_sink_eventfunc),
3172 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3173 (gst_base_transform_activate):
3174 * libs/gst/base/gstbasetransform.h:
3175 Add support for dropping buffers with custom GstFlowReturn.
3176 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3177 buffers or dropped buffers.
3179 * docs/libs/gstreamer-libs-sections.txt:
3180 docs for new custom return code.
3182 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3183 Use drop support in base class to implement drop-probability.
3185 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3187 * gst/gst.c: (load_plugin_func):
3188 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3189 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3190 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3191 Remove newlines at end of debug log strings.
3193 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3195 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3196 Only post bus message at max, once per buffer received.
3198 2007-03-07 Wim Taymans <wim@fluendo.com>
3200 * docs/design/Makefile.am:
3201 * docs/design/part-synchronisation.txt:
3202 Add doc about synchronisation
3204 * docs/design/draft-latency.txt:
3205 * docs/design/part-TODO.txt:
3206 * docs/design/part-clocks.txt:
3207 * docs/design/part-events.txt:
3208 * docs/design/part-gstbus.txt:
3209 * docs/design/part-gstpipeline.txt:
3210 * docs/design/part-live-source.txt:
3211 * docs/design/part-messages.txt:
3212 * docs/design/part-overview.txt:
3213 * docs/design/part-streams.txt:
3214 * docs/design/part-trickmodes.txt:
3215 Documentation updates.
3217 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3220 Update the doap file.
3222 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3224 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3225 Rename non-perfect to imperfect for Mike and for the sanctity of the
3227 Also make sure bus message gets emitted for data-incontiguities.
3229 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3231 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3232 (gst_identity_start):
3233 * plugins/elements/gstidentity.h:
3234 Emit bus message if check-perfect is true and we encounter a
3235 non-perfect stream between 2 consecutive buffers.
3238 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3243 === release 0.10.12 ===
3245 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3248 releasing 0.10.12, "Inevitable Demise"
3250 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3253 Version 0.10.11.2 (0.10.12 pre-release)
3254 Bump libtool versioning.
3256 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3258 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3259 Log flow-names and not numbers.
3261 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3264 Convert to new AG_GST style.
3266 2007-02-28 Wim Taymans <wim@fluendo.com>
3268 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3269 Don't unref query twice.
3271 2007-02-28 Wim Taymans <wim@fluendo.com>
3273 * gst/gstvalue.c: (gst_value_transform_object_string),
3274 (_gst_value_initialize):
3275 Implement GstObject -> string transform so we print object names
3276 when serializing GValues containing GstObjects.
3278 2007-02-28 Wim Taymans <wim@fluendo.com>
3280 * docs/gst/gstreamer-sections.txt:
3281 Add new stuff to docs.
3283 2007-02-28 Wim Taymans <wim@fluendo.com>
3285 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3286 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3287 (gst_base_sink_change_state):
3288 Improve latency query code.
3289 Don't leak latency events.
3291 * tests/check/gst/gstbin.c: (GST_START_TEST):
3294 2007-02-28 Wim Taymans <wim@fluendo.com>
3296 * gst/gstelement.c: (gst_element_message_full),
3297 (gst_element_get_state_func):
3299 Improve docs a little. Added Since: for new macro.
3301 * gst/gstobject.c: (gst_object_sink):
3302 * gst/gstpipeline.c: (gst_pipeline_change_state),
3303 (gst_pipeline_set_new_stream_time):
3304 * gst/gstpipeline.h:
3305 Improve debugging and docs.
3307 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3310 2007-02-28 Wim Taymans <wim@fluendo.com>
3312 * gst/gstelement.c: (gst_element_message_full),
3313 (gst_element_set_locked_state), (gst_element_get_state_func),
3314 (gst_element_change_state):
3315 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3316 Documentation updates.
3317 Small code cleanups.
3319 * gst/gstmessage.c: (gst_message_new_info),
3320 (gst_message_parse_info):
3322 API: gst_message_new_info()
3323 API: gst_message_parse_info()
3324 Add INFO message create and parse code.
3326 2007-02-28 Wim Taymans <wim@fluendo.com>
3328 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3329 (bin_query_latency_done):
3330 Also report the live parameter of a latency query.
3332 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3334 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3335 Copy the current generic/states example from -base and adapt so
3336 we can use the exact same code everywhere.
3337 Check a STATES_IGNORE_ELEMENTS env var which can be used
3338 to ignore certain element factories for this test, which is
3339 what is being done in -base
3340 * tests/check/Makefile.am:
3341 Mention this environment variable.
3343 2007-02-27 Wim Taymans <wim@fluendo.com>
3345 * docs/gst/gstreamer-sections.txt:
3346 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3347 (gst_bus_timed_pop), (gst_bus_pop):
3349 API: gst_bus_timed_pop()
3350 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3351 message to arrive on the bus.
3353 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3355 Two unit tests for new _timed_pop() function.
3357 2007-02-23 Wim Taymans <wim@fluendo.com>
3359 * gst/gstpipeline.c: (gst_pipeline_change_state),
3360 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3361 Don't ref a NULL clock in _provide_clock_func().
3362 Don't allow an INVALID delay.
3363 Don't try to calculate base_time with an invalid start_time.
3364 Also distribute and notify a NULL clock when it was selected.
3366 * tools/gst-launch.c: (event_loop):
3367 Don't crash when a NULL clock was selected in the pipeline.
3369 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3371 * docs/design/Makefile.am:
3372 * docs/design/draft-missing-plugins.txt:
3373 * docs/random/draft-missing-plugins.txt:
3374 Some small updates: update plugin system identifier prefix
3375 ('gstreamer.net' to 'gstreamer'), mention our new install
3376 API in libgstbaseutils rather than libgimme-codec, add
3377 reference to the online docs.
3379 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3381 * win32/common/config.h:
3382 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3383 use moap cl ci to only check in what is mentioned in the ChangeLog.
3385 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3387 * docs/gst/gstreamer-sections.txt:
3389 Fix up documentation to link to the correct GstGError section.
3390 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3392 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3394 * tools/gst-launch.c: (event_loop):
3395 Make sure that we actually show the important message part of a
3397 No need to check if the gerror is not NULL to free; first of all
3398 g_free accepts NULL; and second the default error handler would
3399 segfault if gerror was NULL.
3401 2007-02-21 Wim Taymans <wim@fluendo.com>
3403 * docs/gst/gstreamer-sections.txt:
3404 Removed docs as well.
3406 2007-02-21 Wim Taymans <wim@fluendo.com>
3408 * gst/gstmessage.c: (gst_message_parse_duration):
3410 Remove new messages for release.
3412 2007-02-20 Wim Taymans <wim@fluendo.com>
3414 * docs/design/part-gstghostpad.txt:
3415 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3416 (gst_ghost_pad_new_full):
3417 Make the ghostpad a parent of the internal pad again for better backward
3418 compatibility. Don't write code that relies on this however.
3420 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3421 (gst_pad_link_check_hierarchy):
3422 Require that parents should be GstElements in the hierarchy check.
3424 2007-02-20 Wim Taymans <wim@fluendo.com>
3426 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3427 (gst_bin_change_state_func), (bin_query_min_max_init),
3428 (bin_query_latency_fold), (bin_query_latency_done),
3431 Implement latency query.
3433 2007-02-20 Wim Taymans <wim@fluendo.com>
3435 * docs/design/part-gstghostpad.txt:
3436 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3437 (gst_ghost_pad_internal_do_activate_push),
3438 (gst_ghost_pad_internal_do_activate_pull),
3439 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3440 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3441 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3442 Do not set the internal pad as a parent anymore so we can avoid
3443 hierarchy linking errors when the ghostpad has no parent yet. This also
3444 fixes failed activation because of unlinked internal pads, which in
3445 turn fixes the impossible case where you have to activate a pad before
3446 you can add it to a running element.
3449 * gst/gstpad.c: (pre_activate), (post_activate),
3450 (gst_pad_set_active), (gst_pad_activate_pull),
3451 (gst_pad_activate_push), (gst_pad_check_pull_range):
3452 Add some more debug info.
3453 Mark activation mode in pre_activate so that we don't try to activate in
3454 endless loops. Fixes #385084.
3456 2007-02-19 Wim Taymans <wim@fluendo.com>
3458 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3459 (gst_base_transform_check_get_range):
3460 Implement a checkgetrange function instead of relying on the default
3461 core behaviour that assumes we can operate in pull mode if we have a
3462 getrange function. First step at fixing #385084.
3464 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3466 * gst/gstchildproxy.h:
3467 * libs/gst/base/gstbasesink.h:
3468 * libs/gst/base/gstbasesrc.h:
3469 * libs/gst/base/gstbasetransform.h:
3470 More docs coverage and some ChangeLog surgery (add missing names)
3472 2007-02-15 Wim Taymans <wim@fluendo.com>
3474 * docs/design/part-TODO.txt:
3475 * docs/design/part-activation.txt:
3476 * docs/design/part-block.txt:
3477 * docs/design/part-buffering.txt:
3478 * docs/design/part-clocks.txt:
3479 * docs/design/part-element-source.txt:
3480 * docs/design/part-events.txt:
3481 * docs/design/part-gstbin.txt:
3482 * docs/design/part-gstbus.txt:
3483 * docs/design/part-gstpipeline.txt:
3484 * docs/design/part-live-source.txt:
3485 * docs/design/part-messages.txt:
3486 * docs/design/part-overview.txt:
3487 * docs/design/part-qos.txt:
3488 * docs/design/part-query.txt:
3489 * docs/design/part-states.txt:
3490 * docs/design/part-trickmodes.txt:
3491 Some doc updates. Start renaming from stream_time to running_time where
3492 it was used wrongly.
3494 2007-02-15 Wim Taymans <wim@fluendo.com>
3496 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3497 Answer LATENCY query.
3499 2007-02-15 Wim Taymans <wim@fluendo.com>
3501 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3505 2007-02-15 Wim Taymans <wim@fluendo.com>
3507 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3508 (gst_pad_dispatcher):
3509 Improve debugging of default pad dispatcher and query functions.
3511 2007-02-15 Wim Taymans <wim@fluendo.com>
3513 * docs/gst/gstreamer-sections.txt:
3514 Remove old unused method.
3516 2007-02-13 Wim Taymans <wim@fluendo.com>
3518 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3521 2007-02-13 Wim Taymans <wim@fluendo.com>
3523 * docs/design/part-seeking.txt:
3526 * gst/gstsegment.c: (gst_segment_set_seek):
3527 Revert old bogus change that should make seeking work again.
3529 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3531 * docs/random/ensonic/dynlink.txt:
3532 * docs/random/ensonic/interfaces.txt:
3533 * docs/random/ensonic/receipies.txt:
3534 Possible dynamic reconnection api, plus some type fixes the other two
3537 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3539 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3540 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3541 Also check for an absolute path following file:// in the filesrc
3542 element. Remove redundant check and call g_path_is_absolute() on the
3545 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3547 * docs/design/draft-klass.txt:
3548 Add existing category analysis.
3551 Fix doc example, framerate is a fraction.
3553 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3556 * docs/gst/Makefile.am:
3557 * docs/gst/gstreamer-sections.txt:
3558 * docs/libs/Makefile.am:
3559 Erm, forgot a bunch of --extra-dir.
3561 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3564 * docs/gst/Makefile.am:
3565 * docs/libs/Makefile.am:
3566 * docs/plugins/Makefile.am:
3567 Add crossreferences to glib/gobject docs.
3569 2007-02-12 Wim Taymans <wim@fluendo.com>
3571 * docs/design/draft-latency.txt:
3574 * docs/libs/gstreamer-libs-sections.txt:
3575 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3576 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3577 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3578 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3579 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3580 (gst_base_sink_get_position), (gst_base_sink_query),
3581 (gst_base_sink_change_state):
3582 * libs/gst/base/gstbasesink.h:
3583 API: gst_base_sink_query_latency() to let subclasses query the upstream
3585 API: gst_base_sink_get_latency() to let subclasses query the configured
3586 latency in the sink.
3587 Implement query and set latency.
3589 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3590 don't continue preroll when we are flushing. Fixes #405284.
3592 * tests/check/pipelines/stress.c: (change_state_timeout),
3593 (quit_timeout), (GST_START_TEST), (stress_suite):
3596 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3598 Patch by: René Stadler <mail at renestadler de>
3600 * docs/gst/gstreamer-sections.txt:
3601 * gst/gsttaglist.c: (_gst_tag_initialize):
3603 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3605 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3607 * docs/libs/Makefile.am:
3608 Fix path to core docs.
3610 * gst/gstbin.c: (gst_bin_get_by_interface),
3611 (gst_bin_iterate_all_by_interface):
3612 Refix docs by also renaming 'interface' to 'iface' in implementation.
3614 * docs/gst/gstreamer-sections.txt:
3616 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3617 * gst/gstchildproxy.h:
3618 * gst/gstelementfactory.c:
3619 * gst/gstpadtemplate.h:
3620 * libs/gst/controller/gstcontroller.c:
3621 (gst_controlled_property_new):
3624 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3626 * gst/gstbin.h:(gst_bin_get_by_interface),
3627 (gst_bin_iterate_all_by_interface):
3628 Replace interface parameter name by iface as interface is
3629 a reserved keyword in Visual Studio for C++ projects so it removes
3630 a build error for application developpers using VS.
3631 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3632 Fix a bug on Windows in uri format check. Now the prefix checked
3633 is file:// and next we check if the path after file:// is absolute.
3634 * win32/common/libgstbase.def:
3635 * win32/common/libgstdataprotocol.def:
3636 * win32/common/libgstgstreamer.def:
3637 Add new exported functions.
3639 2007-02-09 Andy Wingo <wingo@pobox.com>
3641 * tests/check/pipelines/simple-launch-lines.c
3642 (simple_launch_lines_suite, test_tee): Disable tee test until I
3643 have time to fix it :-(
3645 * tests/check/Makefile.am (noinst_HEADERS):
3646 * tests/check/libs/libsabi.c:
3647 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3648 * tests/check/gst/gstabi.c:
3649 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3651 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3652 tests for push and pull tee behavior.
3654 * plugins/elements/gsttee.h:
3655 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3656 mark as deprecated as well as unimplemented. It was a crack idea.
3657 Add support for tee operating in pull mode, off by default.
3659 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3660 normal-case logs down to LOG, raise errors to WARNING.
3661 (gst_registry_xml_read_cache): Don't log before calling a function
3664 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3665 exit (registry finalize).
3666 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3667 DEBUG log when we emit signals that people don't even have the
3668 chance to connect to.
3669 (gst_registry_scan_path_level): Less logging in the normal case.
3671 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3673 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3675 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3676 Correctly generate EOS for non-seekable files. We don't have a total
3677 length for them and would get an unexpected end of file if we only
3678 special-cased for regular files. (Fixes: #404569)
3680 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3682 * tests/check/elements/filesrc.c: (GST_START_TEST),
3684 Add unit test for the GstURIHandler interface in filesrc. This also
3685 tests the newly added file://localhost/foo/bar support.
3687 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3689 * gst/gstelementfactory.h:
3690 The klass string is not a hierarchy. Add reference to the design doc
3691 for more information and common types.
3693 2007-02-02 Wim Taymans <wim@fluendo.com>
3695 * gst/gstquery.c: (gst_query_new_latency):
3696 Remove old structure field.
3698 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3700 * tools/gst-launch.1.in:
3701 Give example for network streaming (#351998)
3703 2007-02-02 Wim Taymans <wim@fluendo.com>
3705 * docs/gst/gstreamer-sections.txt:
3706 Add docs for new methods.
3708 * gst/gstevent.c: (gst_event_new_latency),
3709 (gst_event_parse_latency):
3711 Add new LATENCY event to configure latency in a pipeline.
3712 API: gst_event_new_latency
3713 API: gst_event_parse_latency
3715 * gst/gstmessage.c: (gst_message_new_buffering),
3716 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3717 (gst_message_new_latency), (gst_message_parse_buffering),
3718 (gst_message_parse_lost_preroll):
3720 Added messages used in draft-latency.
3721 API: gst_message_new_lost_preroll
3722 API: gst_message_parse_lost_preroll
3723 API: gst_message_new_prerolled
3724 API: gst_message_new_latency
3726 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3727 (gst_query_parse_latency):
3729 Implemented new latency query as in design doc.
3730 API: gst_query_new_latency
3731 API: gst_query_set_latency
3732 API: gst_query_parse_latency
3734 2007-02-02 Wim Taymans <wim@fluendo.com>
3736 * docs/design/draft-latency.txt:
3737 Slight redesign to allow for dynamic latency adjustments.
3739 * docs/design/part-negotiation.txt:
3742 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3744 reviewed by: Wim Taymans <wim@fluendo.com>
3746 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3747 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3748 Allow file://localhost/foo/bar URLs and correctly fail for every other
3749 hostname that one sets. This was gnomevfssrc is linked for those if
3750 installed as it can handle it (#403172)
3752 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3754 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3756 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3757 (unref_data), (gst_collect_pads_add_pad_full):
3758 * libs/gst/base/gstcollectpads.h:
3759 Don't put the previously added destroy notify in the GstCollectData
3760 struct as all it's padding is already used and we don't want to break
3761 ABI. Instead put in the pad's GObject data for now. This should be
3762 cleaned up for 0.11 (#402393).
3764 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3766 reviewed by: Wim Taymans <wim@fluendo.com>
3768 * docs/libs/gstreamer-libs-sections.txt:
3769 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3770 (unref_data), (gst_collect_pads_add_pad),
3771 (gst_collect_pads_add_pad_full):
3772 * libs/gst/base/gstcollectpads.h:
3773 API: Add function to specify a destroy notification for custom
3774 GstCollectData when adding new pads in GstCollectPads (#402393).
3776 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3779 Update Swedish translation (#378255).
3781 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3783 * docs/design/draft-klass.txt:
3784 Fix the previous change, this is a list of categories and not a hierarchy.
3786 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3788 * docs/design/draft-klass.txt:
3789 Add info about how to get a list of used classes.
3791 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3793 * plugins/elements/gsttypefindelement.c:
3794 (gst_type_find_element_chain_do_typefinding),
3795 (gst_type_find_element_change_state):
3796 Don't leak found caps in chain function (no idea why that never
3797 showed up as a leak anywhere).
3799 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3802 Fix and expand GstPluginDesc API docs.
3804 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3807 * gst/gstelementfactory.c:
3808 * gst/gstpadtemplate.h:
3811 * libs/gst/controller/gstcontroller.c:
3812 (gst_controlled_property_new):
3813 * tests/examples/controller/audio-example.c:
3816 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3819 comment about refining the xml deps
3822 comments about moving away from jade for docs
3825 recommit the ifdefs to use the binary registry
3827 * gst/gstbin.c: (gst_bin_change_state_func):
3828 this break is obsolete
3830 * gst/gstelementfactory.h:
3831 better GST_ELEMENT_DETAILS docs, add comment about translation
3836 * gst/gstobject.c: (gst_signal_object_get_type):
3837 add G_UNLIKELY as usual
3839 * gst/gstpad.c: (gst_pad_event_default):
3840 add fall trhu comment
3842 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3843 (gst_registry_binary_initialize_magic),
3844 (gst_registry_binary_save_string),
3845 (gst_registry_binary_save_pad_template),
3846 (gst_registry_binary_save_feature),
3847 (gst_registry_binary_save_plugin),
3848 (gst_registry_binary_write_cache),
3849 (gst_registry_binary_check_magic),
3850 (gst_registry_binary_load_pad_template),
3851 (gst_registry_binary_load_feature),
3852 (gst_registry_binary_load_plugin),
3853 (gst_registry_binary_read_cache):
3854 comment typo and formatting
3856 * gst/gstutils.c: (gst_element_state_get_name),
3857 (gst_element_state_change_return_get_name):
3858 remove obsolete breaks
3860 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3861 add FIXME 0.11 and remove cpp comment
3863 2007-01-29 Edward Hervey <edward@fluendo.com>
3865 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3866 Fix print statement in an even more portable way.
3868 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3870 * docs/gst/gstreamer-sections.txt:
3872 API: add GST_ROUND_DOWN_* macros (#401781).
3874 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3876 * docs/gst/gstreamer.types.in:
3877 * gst/gstregistry.c: (gst_registry_class_init):
3878 Document registry signals and make gtk-doc pick them up (#401381).
3880 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3882 * docs/pwg/building-testapp.xml:
3883 Add some audioconverts and audioresample to the pipeline, and some
3884 more comments and error handling.
3886 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3888 * docs/manual/manual.xml:
3892 2007-01-26 Wim Taymans <wim@fluendo.com>
3894 * gst/gstcaps.c: (gst_static_caps_get):
3895 Init caps flags too.
3897 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3899 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3901 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3902 If not using mmap'ed files try to seek to the end instead of the
3903 start to determine whether we can seek at all. This fixes the case
3904 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3905 seeks for everything afterwards fail. Fixes #400656
3907 2007-01-25 Wim Taymans <wim@fluendo.com>
3909 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3910 Add some refcount debugging.
3911 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3912 in multiple streaming threads.
3914 2007-01-25 Wim Taymans <wim@fluendo.com>
3916 Patch by: David Schleef <ds at schleef dot org>
3918 * docs/libs/gstreamer-libs-sections.txt:
3919 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3920 * libs/gst/base/gstadapter.h:
3921 API: gst_adapter_copy() that can reduce the amount of memcpy when
3922 getting data from the adapter. Fixes #388201.
3924 2007-01-25 Edward Hervey <edward@fluendo.com>
3926 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3927 In print statements, "%x" is for guint. Fixes build on macosx.
3929 2007-01-24 Edward Hervey <edward@fluendo.com>
3931 * plugins/elements/gstmultiqueue.c:
3932 (gst_multi_queue_loop):
3934 (single_queue_overrun_cb), (single_queue_underrun_cb),
3935 (single_queue_check_full), (gst_single_queue_new):
3936 Implement single queue growth system.
3937 This uses the extra-size properties, and will grow single queues by
3938 that much if one goes full whereas there are others empty. This is
3939 called extra-mode in the code.
3940 When a single queue's levels go back below the initial max-size
3941 limits, it is no longer in extra-mode. This is to ensure we don't
3942 consume too much memory.
3945 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3947 * gst/gst.c: (gst_init_get_option_group):
3948 Make warning about late g_thread_init() calls a bit more explicit,
3949 so that it's more obvious to application developers what they need
3950 to do if a user files a bug against their application.
3952 2007-01-22 Edward Hervey <edward@fluendo.com>
3954 * plugins/elements/gstmultiqueue.c:
3955 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3956 Remove previous hack of unsetting the flushing flag for the source pad
3957 instead of activating it. Instead, fix the source pad activate function
3958 so that it no longer depends on having a parent set or not.
3960 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3962 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3964 * docs/manual/basics-bus.xml:
3965 Fix example code, gst_element_unref() doesn't exist any longer.
3967 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3969 Patch by: Mark Nauwelaerts <manauw at skynet be>
3972 Fix two docs typoes (#399094).
3974 2007-01-19 Edward Hervey <edward@fluendo.com>
3976 * docs/faq/gst-uninstalled:
3977 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3978 depending on libgstbaseutils can work in uninstalled environment.
3980 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3983 * gst/gsttagsetter.c:
3984 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3985 statement for new tag.
3987 2007-01-17 Edward Hervey <edward@fluendo.com>
3989 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3990 When dynamically creating single queues, activate sinkpad before adding
3992 We should be doing the same thing for the source pad, but we can't
3993 since it would call a method which needs the parent to be set in order
3994 to work propertly. Instead of activating the source pad, we just unset
3995 the flushing flag, which is the minimal requirement for adding a pad
3996 to an element in a state greater than READY.
3998 2007-01-17 Edward Hervey <edward@fluendo.com>
4000 * docs/faq/gst-uninstalled:
4001 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4004 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4006 * tests/check/gst/gstabi.c:
4007 * tests/check/gst/struct_hppa.h:
4008 * tests/check/libs/libsabi.c:
4009 * tests/check/libs/struct_hppa.h:
4010 Add ABI structs for HPPA (see #393796).
4012 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4014 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4015 Actually write ABI structs to the file specified in the GST_ABI
4016 environment variable, as the message we print claims we would.
4018 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4020 * tests/check/gst/gsttask.c:
4023 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4025 * gst/gsttaglist.c: (_gst_tag_initialize):
4026 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4027 previous two entries.
4029 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4031 * docs/gst/gstreamer-sections.txt:
4032 * gst/gsttaglist.c: (_gst_tag_initialize):
4034 Add tag support for beat-per-minute.
4036 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4038 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4039 (gst_registry_binary_initialize_magic),
4040 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4041 (gst_registry_binary_save_pad_template),
4042 (gst_registry_binary_save_feature),
4043 (gst_registry_binary_save_plugin),
4044 (gst_registry_binary_write_cache),
4045 (gst_registry_binary_check_magic),
4046 (gst_registry_binary_load_pad_template),
4047 (gst_registry_binary_load_feature),
4048 (gst_registry_binary_load_plugin),
4049 (gst_registry_binary_read_cache):
4050 * gst/gstregistrybinary.h:
4051 Use glib types, cleanup comments, impement interfaces and uri-types.
4053 2007-01-13 Andy Wingo <wingo@pobox.com>
4055 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4056 getrange() to return buffers with other caps, while we fix
4057 demuxers and typefind, or otherwise change part-negotiation.txt.
4059 2007-01-12 Andy Wingo <wingo@pobox.com>
4061 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4062 Factor start/stop into this private function instead of partially
4063 in activate functions and partially in the change_state function.
4064 Fixes setup before the element has changed from READY->PAUSED, as
4065 is the case in pull-mode pipelines.
4066 (gst_base_transform_sink_activate_push)
4067 (gst_base_transform_src_activate_pull): Refactor to use
4068 gst_base_transform_activate().
4069 (gst_base_transform_change_state): Removed, not needed any more.
4071 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4072 Truncate before fixating.
4074 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4075 Don't set_caps() if the result of fixating is ANY, as it's not
4076 supported, and not necessary in the case of a link with no
4077 template caps on either side. Fixes tests/check/libs/basesrc in
4078 some pull-mode tests.
4080 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4081 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4082 (gst_base_transform_src_activate_pull):
4083 Track the activation mode.
4084 (gst_base_transform_setcaps): In pull mode, when activating the
4085 src pad, after activating the sink pad, activate the sink pad's
4086 peer, as discussed in part-negotiation.txt.
4088 * libs/gst/base/gstbasesrc.h:
4089 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4090 vmethod, as in basesink.
4092 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4094 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4095 mode, first proxy the setcaps to the peer pad.
4096 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4098 (gst_base_sink_default_activate_pull): Rename from
4099 gst_base_sink_activate_pull.
4100 (gst_base_sink_negotiate_pull): New function, performs negotiation
4101 in pull mode before calling ::activate_pull().
4102 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4103 vmethod instead of the default implementation. I have no idea how
4104 this worked before. Negotiate before calling activate_pull.
4106 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4107 sink pads in pull mode. In addition to being correct, fixes
4108 filesrc ! decodebin ! identity ! fakesink.
4109 (gst_pad_get_range, gst_pad_pull_range): Don't call
4110 gst_pad_set_caps() if the caps changes; instead error out with
4111 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4113 2007-01-12 Andy Wingo <wingo@pobox.com>
4115 * docs/design/part-negotiation.txt: Update with more policy.
4117 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4119 * libs/gst/check/gstbufferstraw.h:
4120 * libs/gst/check/gstcheck.h:
4121 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4124 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4126 * tests/check/Makefile.am:
4127 * tests/check/gst/.cvsignore:
4128 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4129 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4130 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4131 (GST_START_TEST), (gst_tag_setter_suite):
4132 Add minimal unit test for beforementioned GstTagSetter bug.
4134 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4136 Patch by: René Stadler <mail at renestadler dot de>
4138 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4139 gst_tag_list_merge() returns a new list, so it's not the best idea
4140 to ingore its return value. Effectively meant that tags could only
4141 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4142 Also add function guard to require a non-NULL taglist as input (has
4143 always been so due to gst_tag_list_copy(), just making it explicit).
4145 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4147 * docs/random/draft-missing-plugins.txt:
4148 Some additions: mention new API that is supposed to be used at the
4149 various stages; short blob about new gst-inspect introspection
4150 option; mention potential future problem with plugins that have
4151 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4153 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4155 * tools/gst-inspect.c:
4156 (print_plugin_automatic_install_info_codecs),
4157 (print_plugin_automatic_install_info_protocols),
4158 (print_plugin_automatic_install_info), (main):
4159 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4160 introspect plugin files and get machine-parsable output that corresponds
4161 to the last bit of the missing-plugin installer string (small gotcha:
4162 doesn't take into account ranks).
4164 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4167 * docs/gst/gstreamer-sections.txt:
4169 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4170 (gst_registry_lookup_locked):
4171 * gst/gstregistry.h:
4172 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4173 (gst_registry_binary_initialize_magic),
4174 (gst_registry_binary_save_string),
4175 (gst_registry_binary_save_pad_template),
4176 (gst_registry_binary_save_feature),
4177 (gst_registry_binary_save_plugin),
4178 (gst_registry_binary_write_cache),
4179 (gst_registry_binary_check_magic),
4180 (gst_registry_binary_load_pad_template),
4181 (gst_registry_binary_load_feature),
4182 (gst_registry_binary_load_plugin),
4183 (gst_registry_binary_read_cache):
4184 * gst/gstregistrybinary.h:
4185 * gst/gstregistryxml.c: (load_feature),
4186 (gst_registry_xml_read_cache):
4187 commit binary registry (disabled by default, see #359653)
4189 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4191 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4192 Fix 'make check' too.
4194 2007-01-10 Andy Wingo <wingo@pobox.com>
4196 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4199 * docs/design/part-negotiation.txt: Update with, um, one way that
4200 pull-mode negotiation might work?
4203 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4204 that the pad must be a src pad; makes sense to call it the other
4205 way in pull mode, and the logic is symmetric anyway.
4207 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4209 * plugins/elements/gstfilesink.c:
4210 Include <stdio.h> for fseeko().
4212 2007-01-10 Wim Taymans <wim@fluendo.com>
4216 Reserve LATENCY event.
4218 2007-01-09 Wim Taymans <wim@fluendo.com>
4220 * docs/design/draft-latency.txt:
4223 2007-01-09 Wim Taymans <wim@fluendo.com>
4225 * docs/design/draft-latency.txt:
4229 * gst/gststructure.c:
4233 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4235 * tests/check/.cvsignore:
4236 Ignore test-registry.xml as well.
4238 2007-01-09 Wim Taymans <wim@fluendo.com>
4240 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4241 unref data at the end when we are done with the pad.
4243 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4245 * docs/gst/gstreamer-sections.txt:
4246 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4247 (init_post), (gst_deinit), (gst_update_registry):
4249 API: add gst_update_registry() (#391296).
4251 * tests/check/Makefile.am:
4252 * tests/check/gst/gstregistry.c:
4253 * tests/check/gst/.cvsignore:
4254 Simple unit test for the above.
4256 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4258 * gst/gstregistry.c: (gst_registry_scan_path_level):
4259 Plugin extension on HP-UX is .sl, add that to the list of approved
4260 plugin extensions (see #393796).
4262 * tests/check/gst/gstpad.c: (GST_START_TEST):
4263 ulong => gulong. Fixes compilation with HP-UX compiler.
4265 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4266 Fix compilation if valgrind headers are not available.
4268 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4270 * win32/common/libgstreamer.def:
4271 Add new exported function.
4272 * win32/vs6/libgstbase.dsp:
4273 Add gstdataqueue.c to the build.
4274 * win32/vs6/libgstcoreelements.dsp:
4275 Add gstmultiqueue.c to the build.
4277 2007-01-06 Andy Wingo <wingo@pobox.com>
4279 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4280 activate_pull(), providing for a way to specialize the process of
4281 spawning a thread to pull on the sink pad. There is a default
4284 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4285 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4286 (gst_base_sink_init): Renamed pad activation functions (inserting
4287 "_pad" in their names). Refactor to use the new activate_pull
4288 vmethod, as appropriate.
4289 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4290 default activate_pull function to start a task pulling from the
4291 sink pad, as before.
4293 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4294 on the pads if necessary, as in push()/chain(). Update docs.
4295 Shouldn't affect existing pull() usage as it is currently only
4296 being used on buffers without caps.
4298 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4300 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4302 Call g_thread_init() first thing in gst_init() / gst_check_init().
4303 When initialisation is done via gst_init_get_option_group() and
4304 GOption parsing, issue a warning if the GLib thread system has not
4305 been initialised yet by the time gst_init_get_option_group() is
4306 called, as it's quite likely other GLib functions such as
4307 g_option_context_new() have been called already then, and
4308 g_thread_init() must be called before any other GLib function. The
4309 application in question must be fixed in that case, since memory
4310 corruption might happen otherwise.
4311 We issue the warning because even if the GLib folks decide to work
4312 around the problem on their end in future, this is still an issue
4313 with all GLib versions >= 2.10.0, so we should warn until we depend
4314 on a GLib version we know to be safe.
4315 Update documentation as well.
4318 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4320 * tools/gst-inspect.c: (main):
4321 * tools/gst-launch.c: (main):
4322 * tools/gst-typefind.c: (main):
4323 * tools/gst-xmlinspect.c: (main):
4324 Call g_thread_init() really really early, before any other GLib
4325 function (see #342564 and recent discussion on gtk-devel-list).
4327 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4329 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4331 * gst/gst_private.h:
4332 * gst/gstconfig.h.in:
4334 On win32, all the __declspec stuff for symbol exporting is
4335 apparently only needed with MSVC, but doesn't work with MingW.
4336 Fixes compilation with MingW and #391909.
4338 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4340 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4341 Change some GST_ERROR_OBJECT that aren't really errors to
4342 GST_WARNING_OBJECT in order to reduce terminal spam.
4344 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4346 * tests/check/Makefile.am:
4347 disable test again, as there seem to be still race problems
4349 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4351 * tests/check/Makefile.am:
4352 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4353 (GST_START_TEST), (queue_suite):
4354 enable queue test again, add tests for the leaky behaviour
4356 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4359 * tests/examples/Makefile.am:
4360 Compile adapter test/example only if the required headers are
4361 available (fixes #391915).
4363 2007-01-01 David Schleef <ds@schleef.org>
4366 Restore the previous signal handler for SIGSEGV instead of
4367 setting to default, since we may have stolen it away from
4368 someone. (i.e., Mono)
4370 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4372 * docs/random/draft-missing-plugins.txt:
4373 Some small additions and clarifications.
4375 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4377 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4378 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4379 since that can lead to random memory corruptions and crashes
4380 (may or may not be related to #383244, #386711, and #386711).
4382 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4384 * tests/check/.cvsignore:
4385 * tests/check/Makefile.am:
4386 sync .cvsignome and CLEANFILES
4388 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4390 * tests/check/Makefile.am:
4393 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4395 * docs/design/part-states.txt:
4396 two tiny additional comments
4398 * gst/gststructure.c:
4401 * tests/check/Makefile.am:
4402 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4404 disable test for now, unless it gets fixed
4406 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4408 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4410 fix race in underrun test
4412 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4414 * tests/check/elements/.cvsignore:
4417 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4419 try to narrow test failure
4421 2006-12-21 David Schleef <ds@schleef.org>
4423 * plugins/elements/gstfakesrc.c:
4424 Use g_random_int_range(), since it produces better random
4425 numbers in a range than almost-correct floating point code.
4427 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4429 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4430 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4431 (gst_check_teardown_sink_pad):
4432 do not automatically (de)activate pads
4434 * tests/check/Makefile.am:
4435 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4436 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4437 add new, yet simple tests for queue
4439 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4440 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4441 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4443 * tests/check/elements/identity.c: (cleanup_identity):
4444 consistent pad (de)activation
4446 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4448 Patch by: Sebastian Dröge <slomo ubuntu com>
4450 * libs/gst/base/gstcollectpads.c:
4451 Fix two doc typos (#387866).
4453 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4455 * docs/manual/advanced-dparams.xml:
4456 Fix typo (g_object_control_properties() doesn't exist).
4458 2006-12-19 Edward Hervey <edward@fluendo.com>
4460 * gst/gstsegment.c: (gst_segment_set_seek):
4461 Fine tune the cases where the segment start/stop values are really
4463 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4464 Add tests for the return values of gst_segment_set_seek().
4466 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4471 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4473 Fix incorrect documentation and flesh it out a bit more.
4474 Set default values for the max properties on the GParamSpec as well,
4475 so it shows up correctly in gst-inspect.
4477 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4479 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4480 Correct docs of queue, add more detail and crosslink it more.
4482 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4484 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4485 Print additional debug info when the stream isn't perfectly
4486 timestamped; don't try to use invalid durations.
4488 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4490 * docs/design/Makefile.am:
4491 Dist new design docs.
4493 2006-12-16 Wim Taymans <wim@fluendo.com>
4495 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4497 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4498 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4499 (gst_collect_pads_stop), (gst_collect_pads_event),
4500 (gst_collect_pads_chain):
4501 * libs/gst/base/gstcollectpads.h:
4502 Add refcounting to the collectpads data so we can track when it's safe
4503 to free the data. Fixes #383382.
4505 2006-12-15 Wim Taymans <wim@fluendo.com>
4507 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4508 (gst_collect_pads_remove_pad):
4509 Automatically activate/deactivate pads when they are added to a
4510 started/stoped collectpads.
4512 2006-12-15 Wim Taymans <wim@fluendo.com>
4514 * gst/gstelement.c: (gst_element_add_pad):
4515 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4516 * gst/gstpad.c: (gst_pad_init):
4517 Set pads to FLUSHING when they are created. Check, warn and fix when a
4518 demuxer adds an inactive pad to itself when running. Fixes #339326.
4520 2006-12-15 Wim Taymans <wim@fluendo.com>
4522 * gst/gstelement.c: (gst_element_class_init),
4523 (gst_element_default_send_event), (gst_element_send_event),
4524 (gst_element_default_query), (gst_element_query):
4525 Expose default element send_event and query handling as vmethods that
4526 subclasses can chain up to.
4528 2006-12-15 Wim Taymans <wim@fluendo.com>
4530 * gst/gstelement.c: (gst_element_set_state_func):
4531 Small documentation fixes.
4533 2006-12-15 Wim Taymans <wim@fluendo.com>
4535 * docs/design/draft-latency.txt:
4536 Checked in draft for handling latency in pipelines.
4538 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4542 * gstreamer.spec.in:
4545 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4547 * gst/gst.c: (init_pre), (init_post):
4548 init_pre() and init_post() might be called via our GOptionGroup or
4549 from gst_init(), and we should skip both of them if we've already
4550 been initialised, otherwise we will init some things twice or add
4551 two default log functions.
4553 2006-12-13 Edward Hervey <edward@fluendo.com>
4555 * docs/manual/basics-bus.xml:
4556 No, gst_main_loop does not exist. Its g_main_loop.
4557 Discovered by somebody who abused the copy-paste technique of coding :)
4559 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4561 * gst/gstghostpad.c:
4562 Log ghostpad debug stuff to the GST_PADS category as well rather
4563 than just to the default category.
4565 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4568 * gst/gst.c: (init_pre):
4569 Add some basic system details such as OS and architecture
4570 to the debug output if possible, courtesy of uname().
4572 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4574 * docs/gst/running.xml:
4575 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4576 environment variables.
4578 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4580 * tests/check/gst/gstbin.c: (GST_START_TEST):
4581 It is acceptable to have a refcount of 2 or 3 at this point in the
4582 test, because the pipeline might be just posting its state_change
4583 message. The next line then waits for that message to appear using
4584 bus_poll, so that should be fine too.
4586 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4588 * gst/gst.c: (ensure_current_registry_forking):
4589 Ignore EINTR when reading from the child registry pipe.
4590 Explicitly ignore the return value from close, since it makes no
4593 * gst/gstminiobject.c: (gst_mini_object_ref),
4594 (gst_mini_object_unref):
4595 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4597 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4598 When removing cached plugins, remove their features too, so they're
4599 not visible after they've disappeared.
4601 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4602 In the unlikely case that we are linking pads with no parents, don't
4603 crash trying to get the non-existent parent bin.
4605 * gst/parse/grammar.y:
4606 Output debug in the PIPELINE category
4608 2005-03-08 Wim Taymans <wim@fluendo.com>
4610 Patch by: René Stadler <mail at renestadler dot de>
4612 * gst/gstclock.c: (gst_clock_new_periodic_id):
4613 Reject invalid clock times for interval of periodic ids.
4616 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4618 * gst/gstelementfactory.c: (gst_element_factory_create):
4619 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4620 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4621 * tools/gst-inspect.c: (print_element_info):
4622 Fix refcounting of gst_plugin_feature_load to match the docs.
4625 2006-12-07 Wim Taymans <wim@fluendo.com>
4627 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4628 (gst_base_sink_get_position):
4629 Improve debugging of events.
4631 2006-12-07 Wim Taymans <wim@fluendo.com>
4633 Patch by: René Stadler <mail at renestadler dot de>
4635 * gst/gstclock.c: (gst_clock_id_wait):
4636 Make period ids add the interval to the origial requested time instead
4637 of the possibly updated time which can be wrong when there are multiple
4638 waiters for the same id. Fixes #382592.
4640 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4641 (gst_system_clock_id_wait_jitter_unlocked),
4642 (gst_system_clock_id_wait_jitter):
4643 Fix restart in the async notify thread when an async entry is added to
4644 the front of the list. Fixes #381492.
4646 * tests/check/gst/gstsystemclock.c: (store_callback),
4647 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4648 Added test for multiple async waits.
4649 Added test for async wait order.
4651 2006-12-07 Wim Taymans <wim@fluendo.com>
4653 * gst/gstbin.c: (gst_bin_query):
4654 Add some more docs about the POSITION query.
4656 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4659 Bump version nano - back to CVS.
4661 === release 0.10.11 ===
4663 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4666 releasing 0.10.11, "Love never runs on time"
4668 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4670 * win32/common/libgstbase.def:
4671 * win32/common/libgstreamer.def:
4672 * win32/vs8/libgstbase.vcproj:
4673 * win32/vs8/libgstcoreelements.vcproj:
4674 * win32/vs8/libgstreamer.vcproj:
4675 Fix compilation on win32 under VS8
4676 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4677 Partially fixes #381175
4679 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4681 * gst/gstvalue.c: (gst_value_compare_fraction):
4682 If someone is foolish enough to compare 2 fractions with denominator =
4683 0, return UNORDERED rather than aborting.
4685 2006-11-28 Edward Hervey <edward@fluendo.com>
4687 * libs/gst/base/Makefile.am:
4688 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4689 (gst_data_queue_base_init), (gst_data_queue_class_init),
4690 (gst_data_queue_init), (gst_data_queue_new),
4691 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4692 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4693 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4694 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4695 (gst_data_queue_set_flushing), (gst_data_queue_push),
4696 (gst_data_queue_pop), (gst_data_queue_drop_head),
4697 (gst_data_queue_set_property), (gst_data_queue_get_property):
4698 * libs/gst/base/gstdataqueue.h:
4699 New GstDataQueue object for threadsafe queueing. Most useful for
4700 elements that need some queueing functionnality.
4701 * docs/libs/gstreamer-libs-docs.sgml:
4702 * docs/libs/gstreamer-libs-sections.txt:
4703 Insert documentation for GstDataQueue
4704 * plugins/elements/Makefile.am:
4705 * plugins/elements/gstelements.c:
4706 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4707 (gst_multi_queue_class_init), (gst_multi_queue_init),
4708 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4709 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4710 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4711 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4712 (gst_multi_queue_loop), (gst_multi_queue_chain),
4713 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4714 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4715 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4716 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4717 (wake_up_next_non_linked), (compute_next_non_linked),
4718 (single_queue_overrun_cb), (single_queue_underrun_cb),
4719 (single_queue_check_full), (gst_single_queue_new):
4720 * plugins/elements/gstmultiqueue.h:
4721 New multiqueue element, using GstDataQueue. Used for queuing multiple
4723 Closes #344639 and #347785
4725 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4727 * docs/pwg/advanced-types.xml:
4728 add more missing type details
4730 * tools/gst-run.c: (main):
4731 remove unused variable
4733 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4735 * docs/libs/Makefile.am:
4736 * docs/libs/gstreamer-libs.types:
4737 add types of base classes to enable gobject specific stuff in the docs
4739 * docs/random/ensonic/embedded.txt:
4740 more ideas about isolating platform specific things
4742 2006-11-20 Wim Taymans <wim@fluendo.com>
4744 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4746 * libs/gst/check/gstcheck.h:
4747 Fix compilation and running against 0.9.4. Fixes #377332.
4749 2006-11-20 Wim Taymans <wim@fluendo.com>
4751 * gst/gstsegment.c: (gst_segment_set_seek),
4752 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4753 (gst_segment_to_running_time):
4754 Fix boundary checking in to_running_time() and to_stream_time().
4757 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4758 stream and running time can now be calculated for the complete
4761 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4763 * gst/gstpad.c: (gst_pad_push_event):
4764 Can't access event structure after giving away ownership of
4767 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4769 * docs/random/ensonic/embedded.txt:
4770 * docs/random/ensonic/profiling.txt:
4771 * docs/random/ensonic/receipies.txt:
4774 2006-11-13 Wim Taymans <wim@fluendo.com>
4776 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4779 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4781 2006-11-13 Wim Taymans <wim@fluendo.com>
4783 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4785 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4786 Store new length in segment duration so we don't keep on calling the
4787 potentially expensize get_size() call. Fixes #370865.
4789 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4791 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4793 * win32/common/libgstreamer.def:
4794 Add two missing symbols (#366492).
4796 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4798 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4799 (gst_adapter_take_buffer):
4800 Fix format string to use all its arguments.
4801 Remove useless >= check on a guint
4803 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4805 * tests/examples/adapter/.cvsignore:
4806 Ignore build file as commanded by the build-bot
4808 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4810 * tests/examples/adapter/Makefile.am:
4811 * tests/examples/adapter/adapter_test.c: (run_test_take),
4812 (run_test_take_buffer), (run_tests), (main):
4814 Add new files from the previous commit
4816 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4820 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4821 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4822 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4823 * libs/gst/base/gstadapter.h:
4824 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4825 (GST_START_TEST), (gst_adapter_suite):
4826 * tests/examples/Makefile.am:
4827 Do some optimisation work in GstAdapter to avoid copies in more cases.
4828 It could still do slightly better by merging buffers when
4829 gst_buffer_is_span_fast is true, but is already faster.
4831 Also, avoid traversing a single-linked list to append each incoming
4832 buffer inside the adapter.
4834 Add simple test app that times the adapter behaviour in different
4835 situations, and extend the unit test to check that bytes enter and
4836 exit the adapter in their original order.
4838 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4840 * docs/random/draft-missing-plugins.txt:
4841 Update: use element message instead of adding a new message
4842 type to the core; don't provide GStreamer API to initiate the
4843 plugin download, just provide API to compose the strings needed
4844 and let an external libgimmestuff handle the rest.
4846 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4848 * tools/gst-inspect.c: (print_element_properties_info):
4849 Print a string instead of 'unknown type' for GValueArray properties
4851 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4853 * docs/random/draft-missing-plugins.txt:
4856 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4858 * tests/examples/typefind/typefind.c: (type_found), (main):
4859 Make typefind element example work again (#371894); add a
4862 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4864 * docs/random/draft-missing-plugins.txt:
4865 Commit initial draft about how to deal with missing plugins,
4866 needs work (API too).
4868 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4870 * docs/pwg/advanced-types.xml:
4871 documents the new caps elements (see #363118)
4873 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4875 * gst/gstplugin.c: (gst_plugin_load_file):
4876 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4877 (gst_file_src_map_region), (gst_file_src_start):
4878 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4879 (gst_file_index_commit):
4880 Use g_strerror() instead of strerror() - we want UTF-8.
4882 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4884 Patch by: Peter Kjellerstedt <pkj at axis com>
4886 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4887 Another printf fix (#371493).
4889 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4891 * tests/check/gst/gsttag.c:
4892 relicence (okay with author=company)
4894 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4896 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4897 (gst_pad_push_event):
4898 Enhance debug and improve docs
4903 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4905 * docs/random/ensonic/distributed.txt:
4906 * docs/random/ensonic/profiling.txt:
4909 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4911 * docs/gst/gstreamer-sections.txt:
4912 add new API and fix the build
4914 * gst/gstbin.c: (gst_bin_recalc_state):
4915 * gst/gstelement.c: (gst_element_message_full),
4916 (gst_element_get_state_func), (gst_element_set_state_func):
4917 use new API and improve logging
4919 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4921 API: add function to get StateChangereturn names to improve logs
4923 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4925 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4926 I'm considering shooting the next person to put strerror stuff
4927 in the translateable part of the message.
4929 2006-11-03 Wim Taymans <wim@fluendo.com>
4931 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4932 Get the type and printf conversion specifiers right.
4934 2006-11-03 Wim Taymans <wim@fluendo.com>
4936 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4938 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4939 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4940 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4941 Some small cleanups. Improve debugging.
4943 Signal all waiting threads with a broadcast instead of just one.
4946 2006-11-03 Wim Taymans <wim@fluendo.com>
4948 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4949 (gst_fd_src_create):
4951 Only update fd when it's different from the old.
4953 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4955 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4956 Printf fixes for PPC/OSX, take two (#369366).
4958 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4960 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4962 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4963 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4964 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4965 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4966 don't cast to long long for portability reasons, but use
4967 GLib's types instead.
4969 2006-10-30 Michael Smith <msmith@fluendo.com>
4971 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4972 Get the arguments to lseek() the right way around.
4975 2006-10-30 Wim Taymans <wim@fluendo.com>
4977 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4980 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4982 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4984 Patch by: Kjartan Maraas <kmaraas at gnome org>
4986 * docs/design/part-MT-refcounting.txt:
4987 * docs/random/wtay/capsnego2-docs:
4990 Typo fixes (#366212).
4992 2006-10-28 Wim Taymans <wim@fluendo.com>
4994 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4997 * win32/common/libgstbase.def:
4998 * win32/common/libgstreamer.def:
4999 * win32/vs8/libgstbase.vcproj:
5000 * win32/vs8/libgstcontroller.vcproj:
5001 Add needed entries in .def files.
5003 Rearrange def files in vs8 solutions. Fixes #366286.
5005 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5007 * win32/common/gstconfig.h:
5008 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5009 hand-made win32 gstconfig.h. Fixes #366321.
5011 2006-10-27 Wim Taymans <wim@fluendo.com>
5013 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5014 (gst_ghost_pad_new_full):
5015 Make acceptcaps return TRUE when we don't have a target, just like
5018 2006-10-27 Wim Taymans <wim@fluendo.com>
5020 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5021 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5023 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5025 * gst/gststructure.c: (gst_structure_id_set_value):
5026 If someone tries to set a non-UTF8 string field on a structure,
5027 don't just print a warning, but also ignore the request and do
5028 not change/add that field to the structure.
5030 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5033 2006-10-25 David Schleef <ds@schleef.org>
5036 g_hash_table_insert() needs a cast to a non-const pointer duh.
5038 2006-10-25 David Schleef <ds@schleef.org>
5042 Change name parameter of _gst_debug_register_funcptr to const
5043 to reflect the constness of its use in the function as well
5044 as to quiet a gcc warning.
5046 2006-10-25 Edward Hervey <edward@fluendo.com>
5048 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5049 Don't push the buffer if it's empty.
5052 2006-10-24 Wim Taymans <wim@fluendo.com>
5057 * libs/gst/base/gstbasetransform.c:
5058 (gst_base_transform_sink_eventfunc):
5059 Debug segment values *after* updating them as this is more
5062 2006-10-23 Wim Taymans <wim@fluendo.com>
5064 * docs/design/part-events.txt:
5067 * docs/design/part-block.txt:
5068 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5069 (gst_pad_push_event):
5070 Revert BLOCKING patch, it tries to be smart without really having a
5071 clear idea what or how. So, now we discard all FLUSHING events again on
5072 a blocking pad. Should fix gnonlin again.
5074 2006-10-23 Wim Taymans <wim@fluendo.com>
5076 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5078 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5079 (gst_base_src_start), (gst_base_src_activate_push):
5080 Make sure size is always initialized. Fixes #364388.
5082 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5084 * docs/random/ensonic/distributed.txt:
5085 add some ideas about doing distributed processing
5087 * docs/random/ensonic/profiling.txt:
5088 get_rusage look promising
5090 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5092 * docs/manual/basics-helloworld.xml:
5093 Add a cast in example to fix compile warning
5095 2006-10-18 Wim Taymans <wim@fluendo.com>
5097 * gst/gstsegment.c: (gst_segment_set_last_stop),
5098 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5099 Relax arg checking again, -1 is allowed.
5101 2006-10-18 Wim Taymans <wim@fluendo.com>
5103 * gst/gstsegment.c: (gst_segment_set_last_stop),
5104 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5105 _set_last_stop() must be with a value != -1
5106 A _TYPE_SET to -1 means seek to 0.
5107 Calc last_stop correctly for negative rates.
5108 Make sure we work with positive durations when updating a segment.
5110 2006-10-18 Wim Taymans <wim@fluendo.com>
5112 * docs/design/part-live-source.txt:
5116 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5119 Add an explicit cast to GstBuffer** to keep old code that added an
5120 explicit cast to GstMiniObject** for gst_mini_object_replace()
5121 compiling without warning.
5123 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5125 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5126 check for validity of dates
5128 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5130 * docs/gst/gstreamer-sections.txt:
5131 Forgot this one, makes gtk-doc shut up.
5133 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5135 Patch by: Peter Kjellerstedt <pkj at axis com>
5138 Don't define xmlNodePtr to gpointer if the core was built with
5139 --disable-loadsave and --disable-registry, this will break
5140 applications that want to use libxml2 but are buildling against a
5141 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5142 instead so we don't have to mess with the libxml2 namespace
5145 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5148 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5149 type-punned pointer warnings.
5151 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5154 Add casts to the correct return type to state <=> state transition
5157 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5159 * docs/design/part-live-source.txt:
5160 describe howto handle latency
5162 * docs/random/ensonic/profiling.txt:
5165 * tools/gst-plot-timeline.py:
5166 fix log parsing for solaris, remove unused function
5168 2006-10-16 Wim Taymans <wim@fluendo.com>
5170 * docs/design/part-trickmodes.txt:
5172 Update some docs regarding reverse playback.
5174 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5176 Patch by: Marcus Granado <mrc dot gran at gmail com>
5178 * win32/vs8/grammar.vcproj:
5179 Error out with a warning if glib-genmarshal.exe is not in path,
5180 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5182 2006-10-13 Wim Taymans <wim@fluendo.com>
5184 * gst/gstsegment.c: (gst_segment_set_seek):
5185 When seeking to stop -1, set last_stop (current position) to the
5186 duration of the segment.
5188 2006-10-13 Wim Taymans <wim@fluendo.com>
5191 Clarify _NO_PREROLL a bit more.
5196 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5197 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5198 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5199 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5200 due to wrong locking order. Fixes #361769.
5201 Remove some redundant/misplaced checks in pad_block.
5203 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5204 For negative rates, count backwards from the duration.
5206 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5208 * gst/gsterror.c: (_gst_library_errors_init):
5209 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5210 up with something better).
5212 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5214 * win32/vs6/libgstreamer.dsp:
5215 * win32/vs7/libgstreamer.vcproj:
5216 * win32/vs8/libgstreamer.vcproj:
5217 Don't reference glib-compat.c which is currently not used and not
5218 disted; add gstquark.c which was recently added. Fixes #361730.
5220 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5222 * win32/common/libgstbase.def:
5223 * win32/common/libgstcontroller.def:
5224 * win32/common/libgstreamer.def:
5225 Add gst_caps_merge() and a bunch of other recently-added functions.
5228 2006-10-11 Wim Taymans <wim@fluendo.com>
5230 * docs/plugins/gstreamer-plugins.args:
5231 * docs/plugins/inspect/plugin-coreelements.xml:
5232 * docs/plugins/inspect/plugin-coreindexers.xml:
5233 Update element args.
5235 * gst/gstsystemclock.c:
5236 Small comment update.
5238 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5239 (gst_tee_request_new_pad), (gst_tee_release_pad),
5240 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5241 (gst_tee_sink_activate_pull):
5242 * plugins/elements/gsttee.h:
5244 Add default property defines.
5245 Implement release pad function.
5246 Give properties better blubs etc.
5247 Activate pads before adding them to a running tee.
5248 Do simple buffer_alloc on the first requested pad.
5249 Post error when activation fails.
5251 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5253 * gst/gst.c: (ensure_current_registry_forking):
5254 Check return value of write() to make compiler happy.
5256 2006-10-11 Wim Taymans <wim@fluendo.com>
5258 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5260 * plugins/elements/gstqueue.c: (gst_queue_chain):
5261 Recheck queue filledness after signalling the overrun when we're about
5262 to leak downstream because we released the lock when emitting the signal
5263 and the queue could be empty again. Fixes #352345.
5265 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5267 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5268 Fix refcounting here too, just like we did for _new_valist() a few
5269 days ago (#357180) (thanks to René Stadler). Also remove all those
5270 'Since: 0.9' from the gtk-doc blobs.
5272 * tests/check/libs/controller.c: (controller_refcount_new_list),
5273 (gst_controller_suite):
5274 Unit test for the above.
5276 2006-10-10 Wim Taymans <wim@fluendo.com>
5278 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5280 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5281 (gst_pad_save_thyself):
5283 Write pad direction in XML output. Fixes #345496.
5285 2006-10-10 Wim Taymans <wim@fluendo.com>
5287 Patch by: René Stadler <mail at renestadler dot de>
5289 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5290 (gst_controller_new_list), (_gst_controller_dispose),
5291 (_gst_controller_finalize), (_gst_controller_class_init):
5292 Take ref to controlled object so that it cannot disappear.
5295 2006-10-10 Wim Taymans <wim@fluendo.com>
5297 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5298 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5299 (gst_check_teardown_sink_pad):
5300 Activate/deactivate pads in setup/teardown respectively.
5302 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5304 Patch by: Josep Torre Valles <josep@fluendo.com>
5307 Cast values when making gstenumtypes.h. This pacifies Forte
5308 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5311 2006-10-09 Wim Taymans <wim@fluendo.com>
5313 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5314 Rename some more @cur to @start to fix docs.
5316 * gst/gstsegment.c: (gst_segment_set_seek):
5318 time and start must always stay in sync as defined in design doc.
5320 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5321 Rename param to fix docs.
5323 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5324 Check that start and time are in sync.
5326 * tests/check/pipelines/parse-launch.c:
5327 (gst_parse_test_element_change_state):
5328 Activate pad before adding to the element.
5330 2006-10-09 Wim Taymans <wim@fluendo.com>
5332 * docs/design/part-qos.txt:
5337 Update seek event docs regarding negative rates.
5338 Rename @cur to @start.
5340 * gst/gstsegment.c: (gst_segment_set_seek):
5342 Update set_seek docs regarding negative rates.
5343 Correctly update last_stop to @stop when dealing with negative
5345 Rename @cur to @start.
5347 * tests/check/gst/gstpad.c: (GST_START_TEST):
5348 Activate pads before trying to use them.
5350 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5351 (gst_segment_suite):
5352 Add simple check for segments and negative rates.
5354 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5356 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5358 * docs/gst/gstreamer-sections.txt:
5359 API: add gst_tag_list_is_empty() (#360467).
5361 * tests/check/gst/gsttag.c: (GST_START_TEST):
5364 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5367 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5368 a value that doesn't fit on enumeration.
5370 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5372 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5373 Remove local debugging system and use Gstreamer's instead.
5375 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5377 Patch by: Josep Torre Valles <josep@fluendo.com>
5379 * common/m4/gst-error.m4:
5380 Disable warning of statement not reached on Forte.
5382 Fix warning on Forte (value doesn't fit on enumeration).
5383 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5384 Fix warning on Forte (value doesn't fit on enumeration).
5385 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5386 DEBUG macro says it takes minimum of 2 args and so Forte
5387 complains about the use with just 1 arg.
5388 * plugins/elements/gstfdsink.c:
5389 * plugins/elements/gstfdsrc.c:
5390 * plugins/elements/gstfilesink.c:
5391 * plugins/elements/gstfilesrc.c:
5392 Use correct return type for the uri handler implementations.
5394 All these fix warnings in Forte. Fixes bug #360860.
5396 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5399 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5400 format string, so don't use G_GNUC_PRINTF for those versions.
5402 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5404 * gst/gsttaglist.c: (gst_is_tag_list):
5406 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5408 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5409 Small test for the above.
5411 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5414 Less tabs, more spaces.
5416 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5419 Those two function declarations do actually belong there, revert
5420 commit from yesterday that turned them intro macros.
5422 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5424 Patch by: Josep Torre Valles <josep@fluendo.com>
5426 * gst/gst.c: (gst_init_get_option_group):
5427 Fix empty declaration and type mismatch.
5428 * gst/gstbin.c: (gst_bin_change_state_func):
5430 * gst/gstelement.c: (gst_element_continue_state),
5431 (gst_element_set_state_func), (gst_element_change_state),
5432 (gst_element_change_state_func):
5433 Fix type mismatches.
5434 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5435 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5436 Cast as appropriate.
5437 * gst/gstobject.c: (gst_class_signal_connect):
5438 Cast as appropriate. The function pointer parameter really
5439 has the wrong type but would break API if we change it.
5441 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5442 order of including string.h.
5443 * gst/gstutils.c: (gst_element_state_get_name):
5444 Remove unreachable line.
5445 * gst/gstxml.c: (gst_xml_parse_doc):
5447 All these caught by Forte.
5449 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5451 Patch by: Josep Torre Valles <josep@fluendo.com>
5453 * common/m4/gst-error.m4:
5455 We need to disable warnings on Forte for empty declarations
5456 due to gst-indent adding ;s to lines that just use macros
5457 where the macro actually doesn't need a ; at end to end
5460 2006-10-06 Wim Taymans <wim@fluendo.com>
5462 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5463 (gst_file_sink_close_file), (gst_file_sink_event),
5464 (gst_file_sink_render):
5465 Add some FIXME for the NEWSEGMENT handling.
5467 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5469 * gst/parse/grammar.y:
5470 Remove static function gst_parse_element_lock as all it does
5471 is return. Looks like cruft from 0.8.
5473 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5475 Patch by: Josep Torre Valles <josep@fluendo.com>
5477 * common/m4/gst-error.m4:
5479 * libs/gst/net/Makefile.am:
5480 Fix a compilation issue with Forte on Solaris. inet_aton is in
5483 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5485 * gst/gstpad.c: (pre_activate):
5486 * gst/gstregistry.c: (gst_registry_scan_path_level):
5487 * gst/gstregistryxml.c: (load_plugin):
5488 * libs/gst/controller/gstcontroller.c:
5489 (gst_controlled_property_set_interpolation_mode):
5490 * libs/gst/dataprotocol/dataprotocol.c:
5491 (gst_dp_packet_from_event_1_0):
5492 * libs/gst/net/gstnetclientclock.c:
5493 (gst_net_client_clock_observe_times):
5494 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5497 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5500 * docs/gst/gstreamer-sections.txt:
5501 * gst/gstconfig.h.in:
5504 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5505 whether we can use G_GNUC_PRINTF in other header files and at
5506 least check the printf format/arguments of debug messages and
5507 GST_ELEMENT_ERROR messages when the printf extension is not
5509 Replace more tabs with spaces in gstinfo.h and remove two spurious
5510 function declarations in GST_DISABLE_DEBUG part with macros.
5512 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5514 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5515 More docs for the sync-message signal (mention that it is not
5516 emitted by default); log message structures of messages posted on
5519 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5521 * gst/gst.c: (ensure_current_registry_forking):
5522 Use a pipe pair to receive status results from the forked child, and
5523 ignore the result from waitpid. Fixes #355499
5525 2006-10-02 Wim Taymans <wim@fluendo.com>
5527 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5528 (gst_ghost_pad_suite):
5531 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5534 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5536 2006-10-02 Edward Hervey <edward@fluendo.com>
5538 * docs/design/part-block.txt:
5539 Further explain the use of flushing on blocked pads.
5540 * docs/gst/gstreamer-sections.txt:
5541 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5542 (gst_pad_push_event):
5544 Added new GstPadFlag : GST_PAD_BLOCKING.
5545 Adds the notion of pads really blocking, which enables to properly
5546 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5548 API: gst_pad_is_blocking()
5549 API: GST_PAD_IS_BLOCKING() macro
5550 API: GST_PAD_BLOCKING GstPadFlag
5552 2006-10-02 Wim Taymans <wim@fluendo.com>
5554 Patch by: mrcgran <mrc.gran at gmail dot com>
5556 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5557 Filter the proxied caps against the padtemplate if we have one.
5559 * gst/gstquery.c: (gst_query_new_segment):
5560 Add include for gstinfo.h so that compilation with
5561 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5563 2006-10-02 Wim Taymans <wim@fluendo.com>
5565 Patch by: Alessandro Decina <alessandro at nnva org>
5567 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5568 (gst_file_sink_set_location), (gst_file_sink_open_file),
5569 (gst_file_sink_close_file), (gst_file_sink_event),
5570 (gst_file_sink_render):
5571 Set file to NULL when closing filesink so that we can set a new filename
5572 in READY. Fixes #358613.
5574 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5576 Patch by: Alessandro Decina <alessandro at nnva org>
5578 * gst/gstevent.c: (_gst_event_copy):
5579 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5580 with event structures by setting the parent refcount address of the
5581 copied structure to the address of the refcount member of the newly
5582 copied event rather than the address of the refcount member of the
5583 original event. Fixes #358737.
5585 * tests/check/gst/gstevent.c: (GST_START_TEST):
5586 Unit test for the above.
5588 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5590 * docs/design/Makefile.am:
5591 Dist some more files.
5593 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5595 * tests/check/libs/controller.c: (GST_START_TEST),
5596 (gst_controller_suite):
5597 Add test for the previous fix; add some more tests
5598 for correct refcounting behaviour; fix a few leaks
5599 in test cases; call gst_controller_init() at start
5602 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5604 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5605 (gst_controller_set_from_list):
5606 Don't g_return_val_if_fail() on timed values with invalid timestamps
5607 inside a critical section without unlocking the mutex. Spotted by
5608 René Stadler. (#357617)
5609 Also, fix up refcounting properly: when returning an existing
5610 controller, we should increase the reference only once and not
5611 once per property and when trying to control a property again
5612 we should also increase the refcount.
5614 2006-09-29 Wim Taymans <wim@fluendo.com>
5616 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5617 * libs/gst/net/gstnettimeprovider.c:
5618 (gst_net_time_provider_thread):
5619 Stop reading commands when EOF as well.
5621 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5622 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5623 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5624 Unify description of the dump property.
5626 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5628 * tests/examples/manual/.cvsignore:
5629 OK, so it's actually cvsignore that needs changing. Stop laughing.
5631 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5633 * tests/examples/manual/Makefile.am:
5634 Gah, declare vars *before* using them
5636 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5638 * gst/gst.c: (init_pre), (scan_and_update_registry),
5639 (ensure_current_registry_nonforking),
5640 (ensure_current_registry_forking), (ensure_current_registry),
5641 (init_post), (gst_debug_help), (gst_deinit):
5642 * gst/gst_private.h:
5643 * gst/gstregistry.c: (gst_registry_finalize),
5644 (gst_registry_remove_features_for_plugin_unlocked),
5645 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5646 (gst_registry_scan_path),
5647 (_priv_gst_registry_remove_cache_plugins),
5648 (_priv_gst_registry_cleanup):
5649 * gst/gstregistry.h:
5650 Re-commit the registry changes, along with an extra fix:
5651 When a cached plugin is encountered at a different file path,
5652 update the stored path in the registry cache so that the parent
5653 process knows where it actually is now when it re-reads the registry
5654 cache. Fixes the thing that broke distcheck with the previous commit.
5656 * tests/check/Makefile.am:
5657 Clean up files named 'core' too when running make clean.
5659 * tests/examples/manual/Makefile.am:
5660 Set up a registry path for running these tests, and clean it properly
5663 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5666 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5667 want gmodule-no-export-2.0.pc instead so that we don't drag in
5668 --export-dynamic on every project that links to GStreamer.
5670 Also, make our export regex only match the start of symbols, rather
5671 than any symbol that contains '_gst' somewhere.
5673 * libs/gst/check/Makefile.am:
5674 The libgstcheck we build does however need export-dynamic, as it
5675 produces some symbols that don't match our _gst... style regex.
5678 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5680 * gst/gst.c: (init_pre), (scan_and_update_registry),
5681 (ensure_current_registry_nonforking),
5682 (ensure_current_registry_forking), (ensure_current_registry),
5683 (init_post), (gst_debug_help), (gst_deinit):
5684 * gst/gst_private.h:
5685 * gst/gstregistry.c: (gst_registry_finalize),
5686 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5687 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5688 (_gst_registry_cleanup):
5689 * gst/gstregistry.h:
5690 Revert previous change until I figure out why it breaks distcheck.
5692 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5694 * gst/gst.c: (init_pre), (scan_and_update_registry),
5695 (ensure_current_registry_nonforking),
5696 (ensure_current_registry_forking), (ensure_current_registry),
5697 (init_post), (gst_debug_help), (gst_deinit):
5699 Make init_pre and init_post take the full complement of GOptionFunc
5700 args so they can return useful GErrors. Make the registry updating
5703 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5704 ensure that the registry we're about to write out doesn't contain
5705 stale information about old-deleted plugin files.
5707 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5708 that deletion of plugin files is considered a registry change.
5710 * gst/gst_private.h:
5711 * gst/gstregistry.c: (gst_registry_finalize),
5712 (gst_registry_remove_features_for_plugin_unlocked),
5713 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5714 (gst_registry_scan_path),
5715 (_priv_gst_registry_remove_cache_plugins),
5716 (_priv_gst_registry_cleanup):
5717 * gst/gstregistry.h:
5718 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5719 by adding _priv prefix, so that they won't appear in the global
5720 symbol table. They still do atm though because of #318031. Move the
5721 prototypes to gst_private.h
5723 When removing a plugin, remove all features for that plugin too.
5726 2006-09-27 Wim Taymans <wim@fluendo.com>
5728 * docs/random/moving-plugins:
5729 Make it clear that the "compiled-in descriptions" really mean
5730 the element details.
5732 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5733 (gst_base_sink_wait_preroll):
5736 * docs/libs/gstreamer-libs-sections.txt:
5737 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5738 (gst_base_src_get_range), (gst_base_src_activate_push):
5739 * libs/gst/base/gstbasesrc.h:
5740 Added function to block while waiting for PLAYING, this function
5741 is used by live sources that block on the clock.
5742 API: gst_base_src_wait_playing()
5744 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5746 Patch by: Peter Kjellerstedt <pkj at axis com>
5749 gst-element-check.m4 is generated and should therefore be
5750 copied from the build dir rather than the source dir (#357593).
5751 'make distcheck' hasn't noticed this because we were disting
5752 the file as well, so stop doing that.
5754 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5756 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5757 Add some tests for gst_caps_intersect().
5759 * tools/gst-launch.c: (event_loop):
5760 Print all buffering percentages we get, even the 100% one.
5762 2006-09-26 Wim Taymans <wim@fluendo.com>
5764 * tools/gst-inspect.c: (print_element_properties_info),
5765 (print_signal_info):
5766 Fix printing of flags to match the look of enums.
5768 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5770 * gst/gstelementfactory.c:
5771 Fix typo in docs blurb.
5773 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5775 * gst/gsturi.c: (search_by_entry):
5776 Don't assert/crash here if a uri handler doesn't return any
5777 supported protocols. The list of protocols could be generated
5778 dynamically at runtime or at plugin registration, and an error
5779 in the underlying library shouldn't be fatal (#353301).
5781 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5784 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5785 (spotted by Peter Kjellerstedt).
5787 2006-09-23 Wim Taymans <wim@fluendo.com>
5789 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5791 * libs/gst/base/gstbasesrc.c:
5792 (gst_base_src_default_check_get_range), (gst_base_src_start),
5793 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5794 (gst_base_src_change_state):
5795 Match _start/_stop calls in the activate functions. Remove redundant
5796 _stop call from the state change function. Fixes #356910.
5797 Turn failure DEBUG into ERROR.
5799 2006-09-22 Wim Taymans <wim@fluendo.com>
5801 * docs/design/part-buffering.txt:
5802 * gst/gstmessage.c: (gst_message_new_buffering),
5803 (gst_message_parse_buffering):
5804 Update docs about buffering.
5806 * docs/design/part-trickmodes.txt:
5809 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5811 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5812 (gst_controller_new_list):
5813 Ref instances when returning them again (fixes #357180)
5815 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5817 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5818 Don't forget to release proxy lock when there's an error.
5820 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5823 Add extra initialisers for Caps things, to fix some plugin warnings
5826 2006-09-18 Wim Taymans <wim@fluendo.com>
5828 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5829 Also set template on the internal pad so that a getcaps from the
5830 target pad returns the template caps.
5832 2006-09-18 Wim Taymans <wim@fluendo.com>
5834 * gst/gstelement.c: (gst_element_post_message),
5835 (gst_element_dispose):
5836 Use _DEBUG_OBJECT some more.
5838 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5841 * tools/gst-launch.c: (main):
5842 If the toplevel element is not a GstPipeline, it must be put in a
5843 pipeline so that a bus and clock is selected.
5845 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5847 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5848 JITTER, RATE, and LATENCY query should be handled by the
5849 default case and not by the CONVERT query code.
5851 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5853 * gst/gstformat.c: (gst_format_register):
5854 Fix locking order (must take lock before using n_values).
5856 * gst/gstvalue.c: (gst_value_serialize_enum),
5857 (gst_value_deserialize_enum_iter_cmp),
5858 (gst_value_deserialize_enum):
5859 Fix serialisation/deserialisation of custom registered GstFormats.
5861 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5862 Unit test for custom format serialisation/deserialisation.
5864 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5866 * docs/pwg/building-boiler.xml:
5867 * plugins/elements/gstcapsfilter.c:
5868 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5871 2006-09-16 Edward Hervey <edward@fluendo.com>
5873 * libs/gst/base/gstbasetransform.c:
5874 (gst_base_transform_buffer_alloc):
5875 Check if requested caps are the same as the sinks caps IF
5876 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5878 This fixes the renegotiation issues stated in #352827.
5880 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5883 * docs/manual/advanced-autoplugging.xml:
5884 * tests/examples/Makefile.am:
5885 * tests/examples/manual/.cvsignore:
5886 * tests/examples/manual/Makefile.am:
5887 * tests/examples/manual/extract.pl:
5888 Extract the manual examples again like we used to do.
5891 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5893 * win32/common/config.h:
5896 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5899 Documents how to receive errors.
5901 2006-09-15 Wim Taymans <wim@fluendo.com>
5903 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5904 (event_loop), (main):
5905 Added some comments here and there.
5906 Post an application message when an interrupt is caught instead of doing
5907 an uncontrolled state change.
5908 Clean up the event loop.
5909 Handle buffering messages, pause/resume the pipeline.
5910 Make shutdown because of an interrupt more reliable.
5912 2006-09-15 Wim Taymans <wim@fluendo.com>
5914 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5915 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5916 (gst_base_sink_preroll_object):
5917 Make sure that our internal state is correct when we commit our state
5918 asynchronously. This solves a race where a state change to PLAYING
5919 could cause the sink to remain blocked in preroll in some situations.
5921 2006-09-15 Wim Taymans <wim@fluendo.com>
5923 * tools/gst-inspect.c: (print_element_properties_info),
5924 (print_signal_info):
5925 List flags as hex so it's easier to deal with.
5927 2006-09-15 Wim Taymans <wim@fluendo.com>
5929 * docs/libs/gstreamer-libs-sections.txt:
5930 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5931 (gst_base_sink_do_sync):
5932 * libs/gst/base/gstbasesink.h:
5933 Expose logic to wait for preroll so that subclasses such as audiosink
5934 can also use this method.
5935 API: gst_base_sink_wait_preroll()
5937 2006-09-15 Wim Taymans <wim@fluendo.com>
5939 * gst/gstobject.c: (gst_object_set_parent):
5940 * gst/gstpipeline.c: (do_pipeline_seek):
5941 Small cleanups in docs and code.
5943 * gst/gstsegment.c: (gst_segment_clip):
5944 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5945 if stop == start and start is in the segment, no clipping should be
5946 done. Also add a test for this.
5948 2006-09-15 Wim Taymans <wim@fluendo.com>
5950 * docs/design/part-buffering.txt:
5951 * docs/gst/gstreamer-sections.txt:
5952 * gst/gstmessage.c: (gst_message_new_buffering),
5953 (gst_message_parse_buffering):
5955 Added methods to create and parse BUFFERING messages.
5956 Added preliminary docs about buffering.
5957 API: gst_message_new_buffering
5958 API: gst_message_parse_buffering
5960 2006-09-06 Wim Taymans <wim@fluendo.com>
5963 Update documentation.
5965 * gst/gstelement.c: (gst_element_class_init),
5966 (gst_element_release_request_pad), (gst_element_set_clock),
5967 (gst_element_get_index), (gst_element_add_pad),
5968 (gst_element_remove_pad), (gst_element_get_random_pad),
5969 (gst_element_send_event), (gst_element_get_query_types),
5970 (gst_element_query), (gst_element_post_message),
5971 (gst_element_message_full), (gst_element_continue_state),
5972 (gst_element_lost_state), (gst_element_save_thyself),
5973 (gst_element_restore_thyself):
5974 Documentation updates.
5975 Rename last bit of the new-pad -> pad-added signal rename.
5976 Fix the case where an element query would only work if the source
5978 Avoid some useless type checking in message handling.
5983 Documentation updates.
5985 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5987 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5988 add an INFO line for when we actually update the fd
5990 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5995 === release 0.10.10 ===
5997 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6000 releasing 0.10.10, "Pais"
6002 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6004 * docs/manual/advanced-position.xml:
6005 Fix typo in sample code.
6007 2006-09-05 Wim Taymans <wim@fluendo.com>
6009 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6010 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6011 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6012 * libs/gst/net/gstnetclientclock.h:
6013 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6014 * libs/gst/net/gstnettimepacket.h:
6015 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6016 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6017 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6018 * libs/gst/net/gstnettimeprovider.h:
6019 Make stuff compile on windows. Fixes #345295.
6021 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6023 * gst/gst.c: (ensure_current_registry_forking):
6024 Print better details when child was terminated by signal.
6026 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6028 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6029 Print a warning rather than g_assert() if a plugin feature
6030 is a URI handler but returns no protocols (#353976).
6032 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6034 * docs/random/moving-plugins:
6037 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6039 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6040 Fix locking order, handle NULL function values properly.
6045 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6046 Initialise variable before using it and fix debug statement to
6047 print the address of the function rather than the address of the
6048 variable on the stack holding the address of the function.
6050 2006-09-01 Wim Taymans <wim@fluendo.com>
6052 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6053 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6054 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6055 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6056 (gst_ghost_pad_parent_unset),
6057 (gst_ghost_pad_internal_do_activate_push),
6058 (gst_ghost_pad_internal_do_activate_pull),
6059 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6060 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6061 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6062 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6063 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6064 (gst_ghost_pad_new_no_target_from_template),
6065 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6067 Avoid needless typechecking in macros.
6068 Since the internal pad is always present and never changes, there is
6069 no need to locking or ref when retrieving it.
6070 Improve debugging a bit.
6071 Handle link errors when setting the target. Fixes #341029.
6073 2006-09-01 Wim Taymans <wim@fluendo.com>
6075 * docs/libs/gstreamer-libs-sections.txt:
6076 * docs/plugins/gstreamer-plugins-sections.txt:
6079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6080 (gst_collect_pads_event):
6081 * libs/gst/base/gstcollectpads.h:
6082 Documentation updates.
6083 Free queued buffer when removing a pad.
6085 2006-08-31 Michael Smith <msmith@fluendo.com>
6087 * gst/gstutils.c: (gst_element_link_pads),
6088 (gst_element_link_pads_filtered):
6089 Ensure that we set a capsfilter to NULL if we failed to link it
6090 when doing filtered linking, to avoid criticals.
6092 No need to check for unreffing srcpad, which is explicly NULLed
6093 above (a trivial code cleanup).
6095 2006-08-31 Wim Taymans <wim@fluendo.com>
6097 * docs/design/part-gstghostpad.txt:
6098 Update ascii art in documentation.
6100 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6101 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6102 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6103 (gst_ghost_pad_internal_do_activate_push),
6104 (gst_ghost_pad_internal_do_activate_pull),
6105 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6106 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6107 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6108 (gst_ghost_pad_set_target):
6109 Small cleanups and leak fixes.
6110 Remove some checks now that the internal pad is never NULL.
6111 Fix the case where linking pads without a target would create nasty
6112 criticals. Fixes #341029.
6113 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6114 value of _set_target().
6116 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6117 (gst_ghost_pad_suite):
6118 Some more tests for creating and linking untargeted ghostpads.
6120 2006-08-31 Edward Hervey <edward@fluendo.com>
6122 * docs/gst/gstreamer-sections.txt:
6123 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6124 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6125 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6126 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6127 (gst_ghost_pad_new_from_template),
6128 (gst_ghost_pad_new_no_target_from_template):
6129 * gst/gstghostpad.h:
6130 Refactored *_new() functions.
6131 Templates are now used as a g_object_new() parameter.
6132 Use template in _do_getcaps() if we don't have a target.
6133 Small documentation cleanups.
6134 Added two new constructors:
6135 gst_ghost_pad_new_from_template()
6136 gst_ghost_pad_new_no_target_from_template()
6137 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6138 (gst_ghost_pad_suite):
6139 Added tests for new ghostpad instanciation functions.
6141 API additions: gst_ghost_pad_new_from_template,
6142 gst_ghost_pad_new_no_target_from_template
6144 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6146 * docs/random/ensonic/profiling.txt:
6147 Ideas about qos profiling.
6149 2006-08-29 Wim Taymans <wim@fluendo.com>
6151 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6155 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6158 Improve and detypofy docs.
6160 * tests/check/Makefile.am:
6161 * tests/check/gst/.cvsignore:
6162 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6163 Add a basic test suite for GstXML.
6165 2006-08-29 Wim Taymans <wim@fluendo.com>
6167 * gst/gstelement.c: (activate_pads), (clear_caps),
6168 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6169 Clear the pad caps when the element shut down all of the pads and
6170 is not streaming data that could modify the caps.
6173 2006-08-28 Michael Smith <msmith@fluendo.com>
6175 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6176 Revert previous change; I misunderstood single-segment mode.
6178 2006-08-28 Michael Smith <msmith@fluendo.com>
6180 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6181 Unset DISCONT on buffers when using single-segment mode.
6183 2006-08-28 Wim Taymans <wim@fluendo.com>
6185 * gst/gstcaps.c: (gst_caps_merge_structure):
6187 Fix docs and indentation again.
6189 * tests/check/gst/gstquery.c: (GST_START_TEST):
6190 Fix leak in tests and add some more tests.
6192 2006-08-28 Edward Hervey <edward@fluendo.com>
6194 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6195 Inform GstSegment of the last stop position in order for the current
6196 segment to have a proper duration if it doesn't have a specific stop
6197 position from which a duration could be calculated.
6198 This bug was noticeable when a non-flushing, non-update new segment was
6199 followed by another segment (all buffers from the new segment were being
6202 2006-08-28 Wim Taymans <wim@fluendo.com>
6204 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6205 Small comment update.
6207 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6208 (gst_identity_transform_ip):
6209 Drop-probability is broken, mention this in the code with a
6210 FIXME and also in the property description.
6211 Make silent also be silent about the drop messages.
6213 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6215 * docs/manual/appendix-win32.xml:
6216 Remove mention of popt, we don't depend on that any
6217 longer (#353136). Add some comments pointing out that
6218 this section is slightly outdated.
6220 2006-08-28 Wim Taymans <wim@fluendo.com>
6222 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6224 * gst/gstquery.c: (gst_query_new_segment):
6225 * tests/check/gst/gstquery.c: (GST_START_TEST):
6226 Initialize variables when creating a new segment query.
6229 2006-08-28 Wim Taymans <wim@fluendo.com>
6231 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6233 * gst/gstelement.c: (gst_element_get_bus):
6234 * tests/check/gst/gstelement.c: (GST_START_TEST):
6235 Check for NULL before _reffing the bus. Fixes #353122.
6237 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6239 * docs/manual/basics-bus.xml:
6240 Docs update: fix wrong callback return value explanation; add
6241 some lines about the implicit relationship between main loop
6242 and main context; remove duplicate main loop variable declaration.
6244 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6246 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6247 Don't leak caps in unit test; add a few more simple
6250 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6252 * docs/gst/gstreamer-sections.txt:
6253 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6254 (gst_caps_structure_is_subset), (gst_caps_merge),
6255 (gst_caps_merge_structure):
6257 * libs/gst/base/gstbasetransform.c:
6258 (gst_base_transform_transform_caps):
6259 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6260 implement caps merging (fixes #352580)
6262 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6264 * tools/Makefile.am:
6265 * tools/gst-plot-timeline.py:
6266 add debug-log plotting developer tool (#340674)
6268 2006-08-23 Wim Taymans <wim@fluendo.com>
6270 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6271 (gst_pad_stop_task):
6272 Improve debugging for task functions.
6274 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6275 (gst_task_start), (gst_task_pause), (gst_task_join):
6276 Make sure that the task function started and finished after a
6278 Don't try to push the task function on the threadpool multiple
6280 Improve the g_warning message with some useful suggestions
6281 about how to fix the problem.
6283 2006-08-23 Wim Taymans <wim@fluendo.com>
6285 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6286 Handle RESYNC correctly in _proxy_getcaps.
6288 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6290 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6291 (gst_xml_parse_memory), (gst_xml_get_element):
6292 Chain up to parent class in dispose function and also
6293 unref the elements in the toplevel_elements GList.
6294 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6295 Always return a reference in gst_xml_get_element() rather
6296 than only sometimes.
6298 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6299 Don't leak GstXml object.
6301 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6303 * docs/gst/gstreamer-sections.txt:
6304 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6307 * libs/gst/base/gstbasetransform.c:
6308 (gst_base_transform_transform_caps):
6309 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6312 2006-08-21 Edward Hervey <edward@fluendo.com>
6314 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6315 Implement GObject::dispose virtual method in GstXML so we can free the
6318 2006-08-21 Wim Taymans <wim@fluendo.com>
6320 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6321 (gst_buffer_create_sub):
6322 Copy duration/offset_end/caps when creating a subbuffer of the
6324 Make the subbuffer read-only when we make the metadata writable for
6327 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6328 Added check for metadata copy when creating subbuffers.
6330 2006-08-21 Edward Hervey <edward@fluendo.com>
6332 * libs/gst/base/gstbasetransform.c:
6333 (gst_base_transform_buffer_alloc):
6334 Only call downstream buffer_alloc if transform element is passthrough
6335 or always_in_place. Closes #350449.
6337 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6340 ChangeLog surgery to add comments to previous changes
6342 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6347 * gst/gstpad.c: (gst_pad_set_active):
6348 Be more verbose in the log
6350 * libs/gst/base/gstbasetransform.c:
6351 (gst_base_transform_transform_caps):
6352 Simplify caps to get rid of duplicates, fixes #345444
6354 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6358 Use these optimizations only internally.
6360 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6362 * gst/gstvalue.c: (gst_value_compare_list),
6363 (gst_value_compare_fraction_range),
6364 (gst_value_intersect_fraction_fraction_range),
6365 (gst_value_intersect_fraction_range_fraction_range),
6366 (gst_value_subtract_fraction_fraction_range),
6367 (gst_value_subtract_fraction_range_fraction_range),
6368 (gst_value_get_compare_func), (gst_value_compare),
6369 (gst_value_compare_with_func):
6371 Saves the expensive lookup of the compare function in many cases
6374 2006-08-18 Edward Hervey <edward@fluendo.com>
6376 * tests/check/gst/gstinfo.c: (gst_info_suite):
6377 Disable test that require gstdebug if it wasn't built in core.
6379 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6381 * docs/random/ensonic/logging.txt:
6384 * gst/gstinfo.c: (gst_debug_log_default):
6385 reorder fields, save some columns, add optional color codes for log
6388 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6390 * docs/random/ensonic/logging.txt:
6391 add ideas about making the logs a bit more useful
6393 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6395 * docs/pwg/advanced-events.xml:
6396 * docs/pwg/titlepage.xml:
6397 Update for 0.10 API (#340627). Add myself
6400 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6402 * docs/libs/gstreamer-libs-docs.sgml:
6403 * docs/libs/gstreamer-libs-sections.txt:
6404 * libs/gst/check/gstbufferstraw.c:
6405 Make gstcheck stuff show up in docs (still needs to
6406 be documented properly though).
6408 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6410 * docs/gst/gstreamer-sections.txt:
6412 * gst/gst.c: (init_post):
6413 * gst/gst_private.h:
6414 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6416 * gst/gstquery.c: (gst_query_new_position),
6417 (gst_query_set_position), (gst_query_parse_position),
6418 (gst_query_new_duration), (gst_query_set_duration),
6419 (gst_query_parse_duration), (gst_query_new_convert),
6420 (gst_query_set_convert), (gst_query_parse_convert),
6421 (gst_query_new_segment), (gst_query_set_segment),
6422 (gst_query_parse_segment), (gst_query_new_seeking),
6423 (gst_query_set_seeking), (gst_query_parse_seeking):
6424 Add internal helpers for pre-registering quarks from static strings
6425 and using the quark values directly instead of looking them up when
6426 creating and parsing queries. Can be used for event construction too.
6429 2006-08-16 Wim Taymans <wim@fluendo.com>
6434 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6436 * gst/gstutils.c: (gst_util_set_value_from_string):
6437 Fix memleak (#351502).
6439 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6440 Add unit test for most of gst_util_set_value_from_string()
6441 (not that one would want to encourage use of this function).
6443 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6445 * libs/gst/check/gstcheck.h:
6446 Use const gchar * variables in fail_unless_equals_string
6447 macro to avoid compiler warnings (and don't use tabs for
6450 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6452 * tools/gst-launch.c: (print_tag):
6453 More space on the left for the tag names, to cater
6454 for the 'extended comment' tag (not touching the
6455 string for the first line since it's translated).
6457 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6459 * libs/gst/check/gstcheck.h:
6460 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6461 print something when they fail.
6463 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6465 * docs/gst/gstreamer-sections.txt:
6466 * gst/gsttaglist.c: (_gst_tag_initialize):
6468 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6469 Also change merge function for GST_TAG_COMMENT to
6472 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6474 * gst/gstinfo.c: (gst_debug_print_object):
6475 Make GST_PTR_FORMAT print messages as well.
6477 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6478 (GST_START_TEST), (gst_info_suite):
6481 2006-08-14 Edward Hervey <edward@fluendo.com>
6483 * gst/gstelementfactory.c: (gst_element_register):
6484 If the GstElementClass doesn't have a GstElementDetails with all fields
6485 filled up correctly (longname, description AND author), then error out
6486 nicely instead of crashing.
6488 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6490 * gst/gststructure.c:
6491 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6494 Expand on the difference between arrays and lists as we use them.
6496 2006-08-14 Wim Taymans <wim@fluendo.com>
6498 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6499 If the parent state change function failed, don't assume we can safely
6500 stop the source, this will be done when the pads are deactivated.
6502 2006-08-14 Wim Taymans <wim@fluendo.com>
6505 * gst/gsttask.c: (gst_task_join):
6508 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6509 (gst_pad_stop_task):
6510 When pad (de)activation failed for some reason, restore the old
6511 activation mode and set the pad to flushing instead of assuming the
6513 If the _task_join() failed, reinstall the task on the pad so that it can
6514 be stopped later and return an error.
6516 2006-08-11 Andy Wingo <wingo@pobox.com>
6519 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6520 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6521 is only for users of API that don't want to see deprecated
6522 functions in the headers; people that want to compile out
6523 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6524 CFLAGS. Fixes the build of multifdsink, or will soon..
6526 2006-08-11 Wim Taymans <wim@fluendo.com>
6528 * docs/gst/gstreamer-sections.txt:
6529 Add GstClockClass vmethod docs.
6532 Mark #endif with comment for associated #if
6534 * gst/gstclock.c: (gst_clock_id_wait):
6536 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6537 most clock implementations.
6539 Flesh out docs about resolution methods.
6540 API: GstClockClass::wait_jitter
6542 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6543 (gst_system_clock_async_thread),
6544 (gst_system_clock_id_wait_jitter_unlocked),
6545 (gst_system_clock_id_wait_jitter):
6546 Use base class wait_jitter variant for improved performance
6547 due to less clock polling.
6549 2006-08-11 Edward Hervey <edward@fluendo.com>
6551 * gst/gst.c: (gst_init_check), (init_post):
6552 Set gst as being initialized before scanning/updating the registry,
6553 since there might be my python plugin loader that calls gst_init() and
6554 we don't want to loop back in.
6557 2006-08-11 Wim Taymans <wim@fluendo.com>
6559 * docs/design/part-qos.txt:
6560 Bring docs in line with the code. Mostly the sign of the jitter was
6561 wrong in the docs. Fixes #349943.
6564 Fix the docs for the jitter.
6566 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6567 (gst_event_parse_tag), (gst_event_new_buffer_size),
6568 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6569 (gst_event_new_seek), (gst_event_parse_seek),
6570 (gst_event_new_navigation):
6571 Make sure the GstStructure has no parent when creating custom
6573 Add some more argument checking so that we avoid 0.0 rates.
6574 Flesh out the docs for the QoS event some more.
6576 2006-08-11 Wim Taymans <wim@fluendo.com>
6578 * docs/gst/gstreamer-sections.txt:
6579 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6580 (ensure_current_registry_forking), (ensure_current_registry),
6581 (parse_one_option), (parse_goption_arg), (gst_deinit),
6582 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6585 Added API and command line option to disable registry forking in
6586 addition to the environment variable.
6587 Constify some static arrays.
6588 Added some more debug.
6590 API: gst_registry_fork_is_enabled()
6591 API: gst_registry_fork_set_enabled()
6592 API: --gst-disable-registry-fork command line option
6595 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6597 * gst/gst.c: (gst_init):
6598 Fix typo in error message.
6600 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6602 * libs/gst/controller/gstcontroller.h:
6603 fix ABI size-correction
6605 * tests/check/libs/gdp.c: (gst_dp_suite):
6606 make tests that use deprecated API conditional
6608 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6610 * docs/libs/gstreamer-libs-sections.txt:
6611 * libs/gst/controller/gstcontroller.c:
6612 (_gst_controller_get_property), (_gst_controller_set_property),
6613 (_gst_controller_init), (_gst_controller_class_init):
6614 * libs/gst/controller/gstcontroller.h:
6615 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6616 (gst_object_set_control_rate):
6617 API: add gst_object_{s,g}et_control_rate(), add private data section,
6620 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6621 * libs/gst/dataprotocol/dataprotocol.h:
6622 add deprecation guards to make gtk-doc happy and allow disabling cruft
6624 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6626 * tests/check/Makefile.am:
6627 * tests/check/gst/.cvsignore:
6628 Let's enable the new unit test as well.
6630 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6633 * docs/gst/gstreamer-sections.txt:
6634 * gst/gstconfig.h.in:
6635 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6636 (_gst_info_printf_extension_ptr),
6637 (_gst_info_printf_extension_segment):
6638 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6639 register that lets us easily dump GstSegments into debug
6642 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6643 (info_segment_format_printf_extension), (gst_info_suite):
6644 Add simple unit test that logs a bunch of different segments (not
6645 valgrinded at the moment because of leaks in
6646 gst_debug_add_log_function).
6648 2006-08-09 Edward Hervey <edward@fluendo.com>
6650 * libs/gst/base/gstbasetransform.c:
6651 (gst_base_transform_buffer_alloc):
6652 Even if we can't figure out the proper format to request downstream,
6653 call buffer_alloc() downstream with the input parameters without setting
6654 the caps on the srcpad. This will force negotiation in the chain
6658 2006-08-08 Edward Hervey <edward@fluendo.com>
6660 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6661 Unlinking from a pad without a target is now a perfectly valid case
6662 which should NOT raise an assertion.
6663 This case would happen if a linked ghostpad its target set to NULL after
6664 it was previously linked.
6666 2006-08-08 Edward Hervey <edward@fluendo.com>
6668 * tests/check/libs/gdp.c:
6669 Also comment out the test (see below).
6671 2006-08-08 Edward Hervey <edward@fluendo.com>
6673 * tests/check/libs/gdp.c: (gst_dp_suite):
6674 Use the architecture information from config.h and not gcc macros
6675 in order to properly disable a test that fails on PPC64.
6677 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6679 * gst/gstelement.c: (gst_element_remove_pad):
6680 Don't crash printing the warning if the pad has no parent.
6682 2006-08-02 Wim Taymans <wim@fluendo.com>
6684 * libs/gst/dataprotocol/dataprotocol.c:
6685 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6686 (gst_dp_crc), (gst_dp_header_payload_length),
6687 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6688 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6689 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6690 (gst_dp_event_from_packet), (gst_dp_validate_header),
6691 (gst_dp_validate_payload):
6692 Make debug category static
6693 Constify the crc table.
6694 Do some more arg checking in public functions.
6695 Fix some docs and do some small cleanups.
6697 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6698 Add some more checks to see if GDP deals with bogus input.
6700 2006-07-31 Wim Taymans <wim@fluendo.com>
6702 * gst/gstvalue.c: (gst_value_compare_list):
6703 Fix GstValueList comparison code. Fixes #347293.
6705 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6706 Check to test GstValueList comparison.
6708 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6710 * gst/gstelementfactory.c: (gst_element_factory_create):
6711 Remove unnecessary ref/unref pair
6713 * gst/parse/grammar.y:
6714 Make sure to free the parse buffer on all code paths.
6715 Move a g_free up to the error handler where it's easier to see.
6717 * tests/check/gst/gstevent.c: (test_event):
6718 Extending timeout for downstream travelling events to 10 seconds to
6719 hopefully avoid intermittent failure on the buildbots.
6721 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6722 Don't manually set the state of the src element - it will happen as a
6723 natural consequence of the pipeline changing state, and that way it
6724 will do it in the right order too.
6726 2006-07-31 Wim Taymans <wim@fluendo.com>
6728 * libs/gst/base/gstbasetransform.c:
6729 (gst_base_transform_buffer_alloc):
6730 Use OBJECT_LOCK and refcounting to get the pad caps in the
6731 buffer_alloc function because the caps could change while we are
6732 busy with them. Fixes #349105
6734 2006-07-31 Wim Taymans <wim@fluendo.com>
6736 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6737 Protect _PAD_CAPS with OBJECT_LOCK.
6739 2006-07-31 Wim Taymans <wim@fluendo.com>
6741 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6742 (gst_pad_get_property), (gst_pad_activate_pull),
6743 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6744 (gst_pad_set_activate_function),
6745 (gst_pad_set_activatepull_function),
6746 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6747 (gst_pad_set_getrange_function),
6748 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6749 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6750 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6751 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6752 (gst_pad_set_acceptcaps_function),
6753 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6754 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6755 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6756 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6757 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6758 (gst_pad_configure_sink), (gst_pad_configure_src),
6759 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6760 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6761 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6762 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6763 (gst_pad_send_event):
6764 Use _DEBUG_OBJECT when it makes sense.
6765 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6766 Small cleanups and code reflows.
6767 Avoid caps refcounting in _accept_caps.
6768 Refactor alloc_buffer so that the code performed on the peer is in a
6769 separate function. Also if the pad does not implement a buffer alloc
6770 function, we should still check if the pad is flushing before falling
6771 back to the default allocator.
6773 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6775 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6776 Make all uses of identity and fakesink have silent=true to avoid
6777 serialising every passing data structure, which is breaking tests
6778 on FC4 for some unknown reason.
6780 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6782 * gst/parse/Makefile.am:
6783 * gst/parse/grammar.y:
6784 * gst/parse/parse.l:
6785 Reverted previous patch as it required to bump the flex dependency to
6786 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6788 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6790 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6792 * gst/parse/Makefile.am:
6793 * gst/parse/grammar.y:
6794 * gst/parse/parse.l:
6795 push & pop the state of the lexer for reentrant use case
6798 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6800 * libs/gst/base/gstbasesrc.h:
6801 Note in the docs that the ::newsegment vfunc is not actually used by
6804 2006-07-28 Wim Taymans <wim@fluendo.com>
6806 * libs/gst/base/gstcollectpads.c:
6807 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6808 (gst_collect_pads_clear), (gst_collect_pads_flush),
6809 (gst_collect_pads_event), (gst_collect_pads_chain):
6810 When flushing a pad, also clear the queued buffer so that we don't
6811 accidentally use it when we shouldn't.
6812 Fix leaks by inreffing incomming buffer.
6813 Flush out queued buffers in case of errors.
6816 2006-07-28 Wim Taymans <wim@fluendo.com>
6818 * docs/random/phonon-gst:
6819 Random notes about a Phonon backend.
6821 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6823 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6825 * tests/check/libs/gdp.c: (gst_dp_suite):
6826 Take a whack at fixing the ppc compile using a different define to
6827 disable the broken test.
6829 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6830 Remove excess g_print()
6832 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6834 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6835 Oops, meant to uncomment this line too to dampen the noise a bit.
6837 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6839 * gst/parse/grammar.y:
6840 * gst/parse/parse.l:
6841 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6842 (GST_START_TEST), (parse_suite):
6843 Fix some of the leaks exposed by extending the parse-launch testsuite,
6844 and move the 3 I can't figure out into a separate test that won't run
6845 the pipelines unless the appropriate line is uncommented.
6847 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6849 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6850 Requesting 0 bytes before the end of the file should result in
6851 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6854 2006-07-27 Wim Taymans <wim@fluendo.com>
6856 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6857 Fix useless assert, a uint is always positive.
6859 * gst/gststructure.c: (gst_structure_nth_field_name),
6860 (gst_structure_foreach), (gst_structure_map_in_place):
6861 Check input arguments for public functions to avoid obvious crashes.
6863 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6864 * plugins/elements/gstfakesink.h:
6865 Do less useless typechecking.
6867 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6869 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6870 Do not use mmap() by default since there are a number of error
6871 conditions that we would like to handle in a non-fatal way that
6872 will result in a SIGBUS if we use mmap(). Examples: external
6873 devices (USB harddrive, portable music player) being unplugged
6874 while in use; file on mounted CD/DVD that can't be read because
6875 the medium is partly damaged. Fixes #348455 and #348475.
6877 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6880 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6883 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6885 * gst/gstregistry.c:
6886 Move big documentation comment into class section header, so that it
6887 appears in the API docs.
6889 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6891 * docs/gst/gstreamer-sections.txt:
6892 Oops. Commit the docs additions too for new API.
6893 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6895 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6897 * gst/gststructure.c: (gst_structure_id_set),
6898 (gst_structure_id_set_valist):
6899 * gst/gststructure.h:
6900 Add API for setting values into structures without performing
6901 a quark lookup, if the appropriate quark is already known.
6903 API: gst_structure_id_set
6904 API: gst_structure_id_set_valist
6906 * gst/parse/grammar.y:
6907 * gst/parse/parse.l:
6908 Remove some dead code shown by the coverage information.
6909 Don't throw a critical g_warning when encountering a syntax error,
6910 just warn and let the normal error path handle it.
6912 * plugins/elements/gstelements.c:
6913 Bump the rank of filesink up to PRIMARY so that it is preferred over
6914 gnomevfssink for file:// sink uri's
6916 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6917 (GST_START_TEST), (run_delayed_test),
6918 (gst_parse_test_element_base_init),
6919 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6920 (gst_parse_test_element_change_state),
6921 (gst_register_parse_element), (parse_suite):
6922 Beef up the tests for parse syntax to check that more error cases
6923 fail as they are supposed to. Increases the test coverage a bit.
6925 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6927 * docs/manual/basics-elements.xml:
6928 Fix gst_element_link() example.
6931 Mention in API docs that one should usually gst_bin_add()
6932 elements to a bin or pipeline before doing the linking.
6934 2006-07-26 Wim Taymans <wim@fluendo.com>
6936 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6937 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6938 Avoid function call for known types by keeping the buffer and
6939 subbuffer GType global.
6941 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6942 Random silly optimisations in read() path.
6944 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6946 * tools/gst-launch.c: (main):
6947 If the top-level of the parse is a normal bin, it doesn't do the
6948 right logic to run as a top-level element, so place it inside a
6951 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6953 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6954 Remove superfluous g_object_notify() calls, GObject does
6955 that for us automatically.
6957 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6960 on Win32, use dllspec to export the debug category symbols
6962 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6964 * gst/gsttaglist.c: (_gst_tag_initialize):
6965 Allow more than one GST_TAG_IMAGE per taglist.
6967 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6969 * gst/gstminiobject.c:
6971 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6972 (gst_fd_src_create):
6973 log recurring events at LOG level
6974 add more debug for when the fd gets set
6976 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6978 * gst/gstparse.c: (gst_parse_launch):
6979 Also remove reentrance checks if flex is MT safe (#348179)
6980 Fix my empty ChangeLog entry below
6982 2006-07-21 Andy Wingo <wingo@pobox.com>
6984 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6986 * libs/gst/check/Makefile.am
6987 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6988 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6989 * libs/gst/check/gstbufferstraw.h:
6990 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6991 functions, thus proving I am still a GStreamer haxor. OK I wrote
6992 them a long time ago, but anyways.
6994 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6997 * gst/gstparse.c: (gst_parse_launch):
6998 Check for flex version and omit mutex if we have a MT save flex
7001 2006-07-21 Wim Taymans <wim@fluendo.com>
7003 * gst/gstparse.c: (gst_parse_launch):
7004 Protect recursive calls to _parse with a recursive mutex
7007 2006-07-21 Wim Taymans <wim@fluendo.com>
7009 * tests/check/gst/gstpad.c: (GST_START_TEST):
7012 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7014 * gst/gstparse.c: (gst_parse_launch):
7015 Do not hang on recursive usage of gst_parse_launch()
7017 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7020 Add some more docs, comments and FIXME 0.11s here and there
7021 and also fix some typos.
7023 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7026 Convert tabs to spaces for better readability.
7028 2006-07-20 Edward Hervey <edward@fluendo.com>
7030 * tests/check/libs/gdp.c: (gst_dp_suite):
7031 the test_buffer test fails at line 140 on ppc64 at the following
7033 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7034 GST_BUFFER_FLAG_IN_CAPS),
7035 "GST_BUFFER_IN_CAPS flag should have been copied !");
7036 See bug #348114 for more details.
7038 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7040 * docs/pwg/advanced-scheduling.xml:
7042 Fix typos (#348000).
7044 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7046 * docs/pwg/intro-basics.xml:
7047 Fix wrong links (#347927).
7049 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7051 * gst/gstregistry.h:
7052 * gst/gstregistryxml.c: (load_feature),
7053 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7054 * win32/common/config.h:
7055 make --disable-index work (#342564)
7057 2006-07-18 Wim Taymans <wim@fluendo.com>
7059 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7063 The attached patch adds two missing defines to gsttrace.h when tracing
7064 is disabled. It also corrects one existing define.
7067 2006-07-17 Wim Taymans <wim@fluendo.com>
7069 * docs/gst/gstreamer-sections.txt:
7070 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7072 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7073 Add two functions to check and change the SIGSEGV behaviour
7074 when loading plugins.
7075 Don't mess with the SIGSEGV handler when we were told not to.
7077 API: gst_segtrap_is_enabled
7078 API: gst_segtrap_set_enabled
7080 2006-07-14 Wim Taymans <wim@fluendo.com>
7082 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7083 * tests/check/elements/filesrc.c: (GST_START_TEST):
7084 Revert fix for regression in #347408 after release.
7086 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7088 Patch by: Antoine Tremblay <hexa00 at gmail com>
7090 * gst/gstutils.c: (gst_element_unlink):
7091 Free iterator when done (#347311).
7093 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7094 And add a test case for this.
7096 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7099 Bump nano back to CVS
7101 === release 0.10.9 ===
7103 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7106 releasing 0.10.9, "On the road again"
7108 2006-07-13 Wim Taymans <wim@fluendo.com>
7110 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7111 * tests/check/elements/filesrc.c: (GST_START_TEST):
7112 Revert pull-0 fix for release. Disable check. Fixes #347408.
7114 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7116 * libs/gst/dataprotocol/dataprotocol.c:
7117 (gst_dp_event_from_packet_1_0):
7118 Fixes #347337: failure to deserialize event packets with
7119 empty payload (only event type)
7121 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7124 do not install a .c file in the header directory
7126 2006-07-13 Edward Hervey <edward@fluendo.com>
7128 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7129 GhostPad no longer implicitely use the padtemplates of the targets.
7132 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7134 * gst/gstvalue.c: (gst_value_compare_list),
7135 (gst_value_compare_array), (_gst_value_initialize):
7136 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7137 Make GstValueArray comparison be order dependent as designed.
7138 Add checks for value lists and value array comparisons.
7141 2006-07-11 Edward Hervey <edward@fluendo.com>
7143 * gst/gstbin.c: (activate_pads),
7144 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7145 (gst_bin_change_state_func):
7146 (de)activate src pads before calling state_change on the childs.
7147 This is to avoid the case where a src ghostpad is blocked (holding the
7148 stream lock), which would block the deactivation of the ghostpad's
7150 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7151 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7152 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7153 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7154 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7155 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7156 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7157 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7158 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7159 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7160 (gst_ghost_pad_class_init),
7161 (gst_ghost_pad_internal_do_activate_push),
7162 (gst_ghost_pad_internal_do_activate_pull),
7163 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7164 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7165 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7166 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7167 GhostPads now create their internal GstProxyPad at creation (and not
7168 when they're linked, as it was being done previously).
7169 The internal and target pads are linked straight away.
7170 The data will also travel through the other pad in order to make
7171 pad blocking and probes non-hackish (the probe/block now really happens
7172 on the GhostPad and not on the target).
7173 * gst/gstpad.c: (gst_pad_set_blocked_async),
7174 (gst_pad_link_prepare), (gst_pad_push_event):
7175 Remove previous ghostpad cruft.
7176 * gst/gstutils.c: (gst_pad_add_data_probe),
7177 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7178 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7179 (gst_pad_remove_buffer_probe):
7180 Remove previous ghost pad cruft.
7181 Added more detailed debug statements.
7182 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7183 Fix the testsuite for refcounting changes.
7184 The comments about who has references were correct, but the refcount
7185 being checked wasn't the same (!?!).
7189 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7191 * docs/gst/gstreamer-sections.txt:
7192 * gst/gstconfig.h.in:
7193 More docs for configuration options, add docs to gtk-doc.
7195 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7198 * gst/gstconfig.h.in:
7199 * win32/common/config.h:
7200 Fix build when disabling tracing (fixes #344016). Also start to document
7201 the defines that disable the sub-systems.
7203 2006-07-10 Edward Hervey <edward@fluendo.com>
7205 * gst/gst.c: (ensure_current_registry_forking):
7206 let's make valgrind happy...
7208 2006-07-09 Wim Taymans <wim@fluendo.com>
7210 * gst/gstelement.c: (activate_pads),
7211 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7212 Better pad activation code: Reset the collect value too on resync.
7215 2006-07-09 Wim Taymans <wim@fluendo.com>
7217 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7218 (gst_pad_activate_push):
7219 Use some more macros where it makes sense.
7220 Allow pad mode switching instead of asserting. When a pad
7221 is activated in one mode and we activate it in another,
7222 deactivate it first before activating it in a different mode.
7225 2006-07-08 Andy Wingo <wingo@pobox.com>
7227 * tools/gst-launch.c (main): Handle err == NULL.
7229 * gst/gst.c (init_post, ensure_current_registry)
7230 (ensure_current_registry_forking)
7231 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7232 factoring out the registry scanning into separate functions. Don't
7233 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7234 Better environment var name/interface suggestions accepted.
7236 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7238 * gst/gstobject.c: (gst_object_set_name_default),
7239 (gst_object_set_name):
7240 Random micro-optimisation: don't use a hash table
7241 with strings as keys and the usual strdup/strcmp
7242 involved, but rather just use the GQuark of the
7243 type name as key, since it needs to be looked up
7244 anyway to get the type name string.
7246 * tests/check/gst/gstobject.c: (GST_START_TEST):
7249 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7251 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7252 (gst_bin_iterate_all_by_interface):
7253 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7254 GTypes are gulongs and thus the top 4 bytes might be cut
7255 off on some platforms when doing GPOINTER_TO_INT, leading
7256 to invalid GTypes and bad things happening (see RH bug #179654).
7257 Also add a check to make sure the type passed in is really
7260 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7265 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7269 * gst-element-check.m4:
7270 * gst-element-check.m4.in:
7271 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7272 instead of the unversioned gst-inspect (#324176, #168659).
7274 2006-07-06 Wim Taymans <wim@fluendo.com>
7277 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7280 2006-07-06 Wim Taymans <wim@fluendo.com>
7282 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7283 (gst_base_src_wait), (gst_base_src_update_length),
7284 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7285 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7286 (gst_base_src_loop), (gst_base_src_start),
7287 (gst_base_src_activate_pull):
7289 blocksize == 0 now means the default blocksize when working in push
7291 Remove some pointless asserts in _wait function.
7292 Fix offset/length calculations and EOS handling. We can now pull 0
7293 bytes as well, which is allowed.
7294 use _check_get_range() to decide if we can operate in _pull based
7296 Fix refcounting leak when check_get_range function was not
7298 API GstBaseSrc::blocksize range can be 0 too now (default)
7300 * tests/check/elements/filesrc.c: (GST_START_TEST),
7302 Added check to test _get_range() behaviour.
7304 2006-07-06 Wim Taymans <wim@fluendo.com>
7306 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7307 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7308 (gst_pad_pull_range):
7310 Lots of comments and docs added to the pad functions.
7311 Flesh out the expected behaviour of the get_range() functions.
7313 2006-07-06 Wim Taymans <wim@fluendo.com>
7318 * gst/gstiterator.h:
7322 Remove comma at end of enumerator list.
7324 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7326 * win32/common/libgstbase.def:
7327 * win32/common/libgstdataprotocol.def:
7328 * win32/common/libsgtreamer.def:
7329 Add new exported functions.
7331 2006-07-05 Wim Taymans <wim@fluendo.com>
7333 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7334 Add some more docs here and there.
7336 2006-07-05 Wim Taymans <wim@fluendo.com>
7338 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7339 (gst_base_sink_loop), (gst_base_sink_get_position):
7340 When operating in pull mode update the offset so that we
7343 2006-07-05 Wim Taymans <wim@fluendo.com>
7345 * gst/gstregistryxml.c: (read_string):
7346 Avoid strdup. (will happen in libxml, but hey!)
7351 2006-07-05 Wim Taymans <wim@fluendo.com>
7353 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7354 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7356 No point in checking if the size of the subbuffer > 0, the
7357 code handles it correclty as demonstrated by unit test.
7358 Also add a unit test for the zero sized _new_and_alloc and
7359 _copy. Fixes #346663.
7361 2006-07-05 Wim Taymans <wim@fluendo.com>
7363 * libs/gst/base/gstbasetransform.c:
7364 (gst_base_transform_prepare_output_buffer),
7365 (gst_base_transform_buffer_alloc),
7366 (gst_base_transform_handle_buffer):
7367 Make sure the buffer we pass to transform_ip has a refcount of
7368 1 and thus is writable. Fixes #343196
7370 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7372 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7373 (gst_file_src_init), (gst_file_src_set_property),
7374 (gst_file_src_get_property), (gst_file_src_map_region):
7375 * plugins/elements/gstfilesrc.h:
7376 Add "sequential" property, off by default, to use madvise and hint
7377 to the kernel that sequential access is desired.
7378 Touch all retrieved pages by default to ensure they are pulled
7379 into memory. (Closes #345720)
7381 2006-07-03 Wim Taymans <wim@fluendo.com>
7383 * docs/design/part-block.txt:
7384 * docs/design/part-dynamic.txt:
7387 2006-07-03 Wim Taymans <wim@fluendo.com>
7389 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7390 (gst_caps_unref), (gst_static_caps_get),
7391 (gst_caps_append_structure):
7392 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7393 Use GSlice when the glib we build against is >= 2.10
7395 2006-07-03 Wim Taymans <wim@fluendo.com>
7397 * gst/gstelement.c: (gst_element_pads_activate):
7398 Small cleanup in pad activation code.
7400 2006-07-03 Wim Taymans <wim@fluendo.com>
7402 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7404 * gst/gst-i18n-app.h:
7405 * gst/gst-i18n-lib.h:
7406 * tools/gst-inspect.c: (print_signal_info):
7407 The attached patch will make the inclusion of gettext.h unconditional in
7408 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7409 libintl.h in tools/gst-inspect.c.
7410 This allows use of --disable-nls again and fixes #344642.
7412 2006-07-03 Edward Hervey <edward@fluendo.com>
7414 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7415 Implement pad blocking on events according to part-block.txt.
7416 More comments on behaviour.
7417 * tests/check/gst/gstevent.c: (test_event):
7418 Send event to peer pad of blocked pad (else it will block).
7420 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7422 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7423 (gst_check_run_suite):
7424 if we get the wrong message, give us the types as string
7425 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7427 * tests/check/elements/filesrc.c: (GST_START_TEST):
7428 add a test for trying to open a non-existing file
7430 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7432 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7433 add a test for adding self
7435 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7437 * libs/gst/check/gstcheck.h:
7438 add some assert_ as alias for fail_unless_*
7439 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7440 increase test coverage
7442 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7445 include lcov.mak for lcov coverage generation
7446 * tools/Makefile.am:
7449 2006-07-02 Edward Hervey <edward@fluendo.com>
7451 * tests/check/elements/.cvsignore:
7454 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7457 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7458 * tests/check/Makefile.am:
7461 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7463 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7464 remove gst_caps_simplify; it was not declared and not used
7465 and deprecated in 0.8
7467 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7469 * docs/faq/gst-uninstalled:
7470 don't put empty paths on PYTHONPATH
7471 * docs/gst/gstreamer-sections.txt:
7472 remove some symbols that are not there
7474 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7476 * gst/gstcaps.c: (gst_caps_compare_structures):
7478 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7479 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7482 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7484 * libs/gst/dataprotocol/Makefile.am:
7485 build dataprotocol test by linking to the lib, instead of
7486 compiling the source, so we get coverage
7487 * tests/check/Makefile.am:
7488 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7489 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7490 add a test for filesrc
7492 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7494 * tests/check/gst/gststructure.c: (GST_START_TEST),
7495 (gst_structure_suite):
7496 Push coverage from 59.04% to 70.00%
7498 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7500 * tests/check/Makefile.am:
7501 gst-inspect every element; this makes sure that we also get
7502 coverage on element's get/set functions
7504 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7507 set CFLAGS and friends to -O0 if gcov is being used
7510 * libs/gst/base/Makefile.am:
7511 * libs/gst/check/Makefile.am:
7512 * libs/gst/controller/Makefile.am:
7513 * libs/gst/dataprotocol/Makefile.am:
7514 * libs/gst/net/Makefile.am:
7515 * plugins/elements/Makefile.am:
7516 * plugins/indexers/Makefile.am:
7517 add makefile rules to generate gcov data and clean up
7518 * tests/check/Makefile.am:
7519 add a coverage target that generates an html overview
7522 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7524 * tests/check/elements/fakesink.c:
7525 * tests/check/elements/fakesrc.c:
7526 * tests/check/elements/fdsrc.c:
7527 * tests/check/elements/identity.c:
7528 * tests/check/generic/sinks.c: (gst_sinks_suite):
7529 * tests/check/generic/states.c:
7530 * tests/check/gst/gst.c:
7531 * tests/check/gst/gstabi.c:
7532 * tests/check/gst/gstbin.c:
7533 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7534 * tests/check/gst/gstbus.c: (gst_bus_suite):
7535 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7536 * tests/check/gst/gstelement.c:
7537 * tests/check/gst/gstevent.c: (gst_event_suite):
7538 * tests/check/gst/gstghostpad.c:
7539 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7540 * tests/check/gst/gstmessage.c: (gst_message_suite):
7541 * tests/check/gst/gstminiobject.c:
7542 * tests/check/gst/gstobject.c:
7543 * tests/check/gst/gstpad.c:
7544 * tests/check/gst/gstpipeline.c:
7545 * tests/check/gst/gstplugin.c:
7546 * tests/check/gst/gstquery.c: (gst_query_suite):
7547 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7548 * tests/check/gst/gststructure.c:
7549 * tests/check/gst/gstsystemclock.c:
7550 * tests/check/gst/gsttag.c:
7551 * tests/check/gst/gsttask.c: (gst_task_suite):
7552 * tests/check/gst/gstutils.c:
7553 * tests/check/gst/gstvalue.c:
7554 * tests/check/libs/adapter.c:
7555 * tests/check/libs/basesrc.c:
7556 * tests/check/libs/collectpads.c:
7557 * tests/check/libs/controller.c:
7558 * tests/check/libs/gdp.c: (gst_dp_suite):
7559 * tests/check/libs/gstnetclientclock.c:
7560 * tests/check/libs/gstnettimeprovider.c:
7561 * tests/check/libs/libsabi.c: (libsabi_suite):
7562 * tests/check/libs/typefindhelper.c:
7563 * tests/check/pipelines/cleanup.c:
7564 * tests/check/pipelines/parse-launch.c:
7565 * tests/check/pipelines/simple-launch-lines.c:
7566 * tests/check/pipelines/stress.c: (stress_suite):
7569 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7571 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7572 * libs/gst/check/gstcheck.h:
7573 create a macro and function so that the simple unit test
7574 case can be just one macro to create main()
7576 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7578 * gst/gstbin.c: (gst_bin_restore_thyself):
7579 * gst/gstxml.c: (gst_xml_make_element):
7580 Fix deserialisation from XML. Set parent manually
7581 instead of using gst_bin_add(), since gst_bin_add()
7582 will unlink all pads of the element being added.
7585 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7587 Patch by: Peter Kjellerstedt <pkj at axis com>
7589 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7590 Fix missing g_strdup() and double free when using the
7591 --gst-plugin-load command line option (#346097).
7593 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7596 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7598 * libs/gst/net/gstnetclientclock.c:
7599 * libs/gst/net/gstnettimeprovider.c:
7600 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7602 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7604 * docs/manual/advanced-dataaccess.xml:
7605 Fix buffer probe example compilation in
7608 2006-06-22 Edward Hervey <edward@fluendo.com>
7610 * gst/gstelement.c: (gst_element_pads_activate):
7611 We need to deactivate src pads first and then sink pads.
7612 The reason is the src pads might be blocking while holding the streaming
7613 lock, so we need to deactivate them first so that deactivating the sink
7614 pads doesn't block (since it will require the streaming lock).
7616 2006-06-22 Wim Taymans <wim@fluendo.com>
7618 * libs/gst/base/gstbasetransform.c:
7619 (gst_base_transform_buffer_alloc):
7620 Forgot to remove two unneeded unrefs.
7621 Simplify a check _is_equal allready checks the obvious case.
7623 2006-06-22 Wim Taymans <wim@fluendo.com>
7625 * docs/design/part-block.txt:
7626 Some docs about what pad_block should do.
7628 2006-06-22 Wim Taymans <wim@fluendo.com>
7630 * gst/gstcaps.c: (gst_caps_replace):
7631 Fix crasher when passed NULL. Doc clarification.
7632 Optimize for the trivial case.
7634 * gst/gstpipeline.c: (gst_pipeline_change_state):
7637 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7638 Small documentation cleanup.
7640 * libs/gst/base/gstbasetransform.c:
7641 (gst_base_transform_buffer_alloc):
7642 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7643 is what we need and it avoids a whole lot of redundant
7644 refcount operations.
7646 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7648 Patch by: Philip Jägenstedt <philip at lysator liu se>
7650 * docs/manual/advanced-dataaccess.xml:
7651 Fix 'Embedding static elements' section to use
7652 GST_PLUGIN_DEFINE_STATIC (#345607).
7654 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7656 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7657 Attempt to 'fix' spuriously failing test case: it seems like the
7658 timeout of half a second is simply too small when the system is under
7659 load otherwise, and the timeout doesn't really seem to serve any
7660 particular purpose here. Give the pipeline a few seconds to preroll
7661 first, and then give it another half a second to go from PAUSED to
7662 PLAYING and marshal the message into the main thread.
7664 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7666 * tools/gst-feedback-m.m:
7667 Don't only use unversioned tools, try versioned tools as well
7670 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7672 * gst/gstbus.c: (gst_bus_class_init):
7673 Fix some typos, make docs more explicit.
7675 2006-06-20 Wim Taymans <wim@fluendo.com>
7677 * tests/check/gst/gstghostpad.c: (block_callback),
7678 (GST_START_TEST), (gst_ghost_pad_suite):
7679 Added some more ghostpad tests, mainly blocking
7682 2006-06-16 Wim Taymans <wim@fluendo.com>
7684 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7685 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7686 (gst_file_sink_event), (gst_file_sink_render):
7687 * plugins/elements/gstfilesink.h:
7688 Check if we can seek in the file instead of assuming
7689 we always can. Post an error when we are asked to seek in a
7690 non-seekable file (like a fifo). Fixes #343312.
7693 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7695 * tools/gst-launch.1.in:
7696 Un-garble (fourcc) bit in filtered caps section.
7698 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7700 * docs/manual/advanced-autoplugging.xml:
7701 * docs/manual/basics-helloworld.xml:
7702 * docs/manual/highlevel-components.xml:
7703 Don't leak bus reference in sample code.
7705 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7708 Add default for new --enable-plugin-docs switch.
7711 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7715 Use new ENABLE_PLUGIN_DOCS conditional.
7717 2006-06-14 Wim Taymans <wim@fluendo.com>
7719 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7720 Make it clear with a FIXME and a real define what the #if 0
7721 previously disabled.
7723 2006-06-14 Wim Taymans <wim@fluendo.com>
7725 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7726 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7727 * libs/gst/base/gstbasetransform.c:
7728 (gst_base_transform_sink_eventfunc):
7729 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7730 Don't randomly and silently reset a segment when the format
7731 changes as this is a bug somewhere upstream. Fixes #330379.
7733 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7735 Patch by: Wouter Paesen <wouter at kangaroot net>
7737 * libs/gst/controller/gstcontroller.c:
7738 (gst_controlled_property_new):
7739 Fix controlling of float properties (#344849).
7741 * tests/check/libs/controller.c:
7742 (gst_test_mono_source_get_property),
7743 (gst_test_mono_source_set_property),
7744 (gst_test_mono_source_class_init), (GST_START_TEST):
7745 While we're at it, add some float stuff to unit test.
7747 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7750 * docs/images/gdp-header.svg:
7752 * docs/libs/Makefile.am:
7753 * docs/libs/gdp-header.png:
7754 * libs/gst/dataprotocol/dataprotocol.c:
7755 add it to the API docs
7756 * docs/manual/intro-motivation.xml:
7759 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7761 * gst/gst.c: (scan_and_update_registry), (init_post):
7762 If the fork()'ed child process can't write the updated registry cache
7763 file to disk for some reason, make it exit with a failure exit code,
7764 so that the parent can then re-scan the plugins itself and update the
7765 registry structures in memory and work with that (rather than failing
7766 when creating elements because seemingly no plugins are available).
7767 Refactor registry scanning code into separate function for this and
7768 also separate fork() and non-fork() code paths. Fixes #344748.
7770 2006-06-13 Wim Taymans <wim@fluendo.com>
7772 * docs/manual/advanced-dataaccess.xml:
7773 Fix wrong PluginDesc. Fixes #344755.
7775 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7777 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7778 Fix silly bug that prevented us from creating
7779 ~/.gstreamer-0.10 and writing the registry in one
7780 go (the first call to g_mkstemp() would overwrite the
7781 placeholder in the template string, so the second call
7782 to g_mkstemp() after creating the missing directory
7783 would then error out with 'invalid argument').
7785 2006-06-13 Edward Hervey <edward@fluendo.com>
7787 * gst/gst.c: (init_post):
7790 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7792 * gst/glib-compat-private.h:
7793 * gst/glib-compat.c:
7794 * gst/glib-compat.h:
7795 * gst/gstvalue.c: (gst_value_serialize_flags):
7796 remove GLib 2.6 compatibility code
7798 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7800 * gst/parse/Makefile.am:
7801 Fix build with 'make -j N' even more (#340016).
7803 2006-06-12 Wim Taymans <wim@fluendo.com>
7805 * docs/gst/gstreamer-sections.txt:
7808 2006-06-12 Wim Taymans <wim@fluendo.com>
7810 * gst/gstsegment.c: (gst_segment_set_duration),
7811 (gst_segment_set_last_stop), (gst_segment_set_seek),
7812 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7813 (gst_segment_to_running_time), (gst_segment_clip):
7814 Use G_UNLIKELY to help the compiler a bit.
7816 2006-06-12 Wim Taymans <wim@fluendo.com>
7818 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7820 * gst/gstevent.c: (gst_event_get_type):
7822 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7824 constify quark registration strings. Fixes #344115
7825 Avoid unneeded type checking is _pad_push() by internally
7826 calling gst_pad_chain_unchecked().
7828 2006-06-12 Wim Taymans <wim@fluendo.com>
7830 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7831 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7832 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7833 (gst_buffer_is_span_fast), (gst_buffer_span):
7834 Init _type for consistency.
7835 Use _FLAGS macro to avoid type check.
7836 Avoid unneeded type checks in subbufer code.
7838 2006-06-12 Wim Taymans <wim@fluendo.com>
7840 * gst/gst.c: (gst_debug_help):
7841 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7842 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7843 (gst_plugin_feature_list_free):
7844 * gst/gstregistry.c: (gst_registry_add_plugin),
7845 (gst_registry_add_feature), (gst_registry_plugin_filter),
7846 (gst_registry_feature_filter), (gst_registry_find_plugin),
7847 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7848 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7849 * gst/gstregistryxml.c: (load_feature),
7850 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7851 * gst/gstminiobject.c: (gst_mini_object_unref),
7852 (gst_mini_object_replace), (gst_value_mini_object_free),
7853 (gst_value_mini_object_copy):
7854 Use _CAST macros to avoid unneeded type checking.
7855 Added some more G_UNLIKELY.
7857 2006-06-12 Wim Taymans <wim@fluendo.com>
7860 Avoid unneeded type checking.
7861 API: GST_BUFFER_IS_DISCONT
7863 * gst/gstminiobject.h:
7864 Avoid type check in flag accessor.
7866 * gst/gstelementfactory.h:
7868 * gst/gstpluginfeature.h:
7870 API: GST_ELEMENT_FACTORY_CAST
7871 API: GST_PLUGIN_CAST
7872 API: GST_PLUGIN_FEATURE_CAST
7874 2006-06-12 Wim Taymans <wim@fluendo.com>
7876 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7878 Add G_UNLIKELY in type registration.
7879 Avoid type check in _ref/_unref since that is also
7882 2006-06-12 Wim Taymans <wim@fluendo.com>
7884 * gst/gsterror.c: (gst_g_error_get_type):
7885 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7886 (gst_static_pad_template_get_type):
7887 * gst/gsttaglist.c: (gst_tag_list_get_type):
7888 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7889 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7890 * gst/gsturi.c: (gst_uri_handler_get_type):
7891 * gst/gstvalue.c: (gst_date_get_type):
7892 * gst/gstxml.c: (gst_xml_get_type):
7893 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7894 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7895 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7896 Add G_UNLIKELY in type registration.
7898 2006-06-12 Wim Taymans <wim@fluendo.com>
7900 * tools/gst-inspect.c: (print_signal_info):
7901 Properly print enum values.
7903 2006-06-12 Wim Taymans <wim@fluendo.com>
7905 * gst/gstinfo.c: (gst_debug_set_active),
7906 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7908 Add some G_[UN]LIKELY.
7909 Maintain __gst_debug_min to avoid formatting the arguments of
7910 debug messages that will be dropped anyway to avoid a lot of
7911 overhead from the debugging system.
7913 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7917 add missing files containing translatable strings, tell intltool about
7920 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7922 * tests/check/libs/.cvsignore:
7923 add test-binary to ignore list
7925 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7927 * docs/libs/gstreamer-libs-docs.sgml:
7928 reorder (put dp into a chapter) and indent
7930 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7935 === release 0.10.8 ===
7937 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7940 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7942 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7944 * gst/gst.c: (init_post):
7945 move pid declaration to declaration block
7947 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7949 * gst/gst.c: (init_post):
7950 use _exit() instead of exit() in our forked child; this ensures
7951 that none of the registered exit handlers from whatever is using
7952 GStreamer get executed. This fixes gnome-mixer-applet failing
7953 to load, because ORBit would shut down.
7954 Spotted by: Edward Hervey <edward@fluendo.com>
7955 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7958 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7963 === release 0.10.7 ===
7965 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7968 releasing 0.10.7, "Soepeke, ik zie ou"
7970 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7993 * win32/common/config.h:
7996 2006-06-07 Wim Taymans <wim@fluendo.com>
7998 * gst/gstindex.c: (gst_index_gtype_resolver):
7999 * tools/gst-xmlinspect.c: (print_plugin_info):
8000 Fix leak spotted by coverity checker. Fixes #343827
8001 Fix another other leak found by paolo borelli.
8003 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * libs/gst/dataprotocol/dataprotocol.c:
8006 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8007 (gst_dp_version_get_type), (gst_dp_init),
8008 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8009 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8010 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8011 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8012 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8013 (gst_dp_packetizer_free):
8014 * libs/gst/dataprotocol/dataprotocol.h:
8015 API: add a GstDPPacketizer object, and create/free functions
8016 API: add GstDPVersion enum
8017 Add 1.0 event function that uses the string serialization
8018 Serialize more useful buffer flags
8021 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8023 * tests/check/Makefile.am:
8024 * tests/check/gst/gstabi.c:
8025 * tests/check/gst/struct_ppc64.h:
8026 * tests/check/libs/libsabi.c:
8027 * tests/check/libs/struct_ppc64.h:
8028 add ppc64 structure sizes
8030 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8032 * tests/check/Makefile.am:
8033 * tests/check/gst/gstabi.c:
8034 * tests/check/gst/struct_x86_64.h:
8035 * tests/check/libs/libsabi.c:
8036 * tests/check/libs/struct_x86_64.h:
8037 generate and add structure size lists for x86_64
8039 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8041 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8042 * libs/gst/check/gstcheck.h:
8043 factor out the method from tests that checks size of structures,
8044 and add code to generate the header containing these sizes
8045 * tests/check/gst/gstabi.c: (GST_START_TEST):
8046 * tests/check/gst/struct_i386.h:
8047 * tests/check/libs/libsabi.c: (GST_START_TEST):
8048 * tests/check/libs/struct_i386.h:
8051 2006-06-06 Michael Smith <msmith@fluendo.com>
8054 Don't use c++-style comments, fixes #343929
8056 2006-06-05 Edward Hervey <edward@fluendo.com>
8059 plugin_paths is not used if we build without registry support.
8061 * gst/gstsegment.c: (gst_segment_copy):
8062 _copy() was always returning NULL...
8064 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * libs/gst/dataprotocol/dataprotocol.c:
8067 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8068 (gst_dp_packet_from_event):
8071 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8073 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8074 make sure we unset caps
8076 2006-06-02 Michael Smith <msmith@fluendo.com>
8078 * libs/gst/check/gstcheck.c: (gst_check_init),
8079 (gst_check_chain_func):
8080 * libs/gst/check/gstcheck.h:
8081 Add a cond/mutex to the check support lib, signal this whenever we
8082 add to the buffers list. This will allow tests to not busy-wait on
8085 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8087 * libs/gst/dataprotocol/dataprotocol.c:
8088 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8089 (gst_dp_packet_from_event):
8090 factor out some common header init code
8092 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8094 * docs/libs/gstreamer-libs-sections.txt:
8095 * docs/libs/tmpl/gstdataprotocol.sgml:
8096 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8097 * libs/gst/dataprotocol/dataprotocol.h:
8098 API: make gst_dp_crc() public
8100 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8102 * plugins/indexers/gstindexers.c: (plugin_init):
8103 conditionally register fileindexer (fixes #343598)
8105 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8107 * gst/gsttagsetter.h:
8108 Can't cast ifaces to a class
8110 * libs/gst/net/gstnetclientclock.h:
8111 * libs/gst/net/gstnettimeprovider.h:
8112 * plugins/elements/gstfakesink.h:
8113 * plugins/elements/gstfakesrc.h:
8114 * plugins/elements/gstfdsink.h:
8115 * plugins/elements/gstfdsrc.h:
8116 * plugins/elements/gstfilesink.h:
8117 * plugins/elements/gstfilesrc.h:
8118 * plugins/elements/gstidentity.h:
8119 * plugins/elements/gstqueue.h:
8120 * plugins/elements/gsttee.h:
8121 * plugins/indexers/gstfileindex.c:
8122 * plugins/indexers/gstmemindex.c:
8123 * tests/old/examples/plugins/example.h:
8124 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8126 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8128 * libs/gst/dataprotocol/dataprotocol.c:
8129 (gst_dp_header_from_buffer):
8130 make sure we zero the whole ABI-compatible area
8132 2006-06-01 Wim Taymans <wim@fluendo.com>
8134 Patch by: Alessandro Decina <alessandro at nnva dot org>
8136 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8137 Make sure the EOS flag is cleared from pads after a flush
8138 or stop. Fixes #343538.
8140 * tests/check/libs/collectpads.c: (GST_START_TEST),
8141 (gst_collect_pads_suite):
8142 Added test for collectpads reusage after EOS.
8144 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8147 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8148 * win32/common/libgstbase.def:
8149 export gst_collect_pads_set_flushing
8150 * win32/common/libgstreamer.def:
8151 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8152 gst_value_fraction_multiply
8153 * win32/vs6/gst_inspect.dsp:
8154 add a link to intl.lib
8156 2006-05-30 Wim Taymans <wim@fluendo.com>
8158 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8159 (gst_collect_pads_chain):
8160 Handle the case where a pad is removed from the collection
8161 that could cause the other pads to become collectable.
8163 2006-05-30 Wim Taymans <wim@fluendo.com>
8166 Clarify the use of _release_request_pad() and
8167 _get_request_pad() a bit better.
8169 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8170 (gst_adapter_take_buffer):
8171 Fix some doc and comment typos.
8173 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8175 * docs/gst/gstreamer-sections.txt:
8176 * docs/libs/gstreamer-libs-sections.txt:
8177 add declared symbols
8179 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8181 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8182 Add debug that can be enabled using a #define at the top of the file,
8183 for dumping stats about how late/early we were when waking up from
8184 waiting on the clock.
8186 2006-05-30 Wim Taymans <wim@fluendo.com>
8188 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8189 When rebuilding the pad list, don't leak the previous list.
8191 2006-05-30 Wim Taymans <wim@fluendo.com>
8193 Patch by: Lutz Mueller <lutz at topfrose dot de>
8195 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8196 (gst_base_src_get_query_types), (gst_base_src_update_length):
8197 Publish supported query types.
8198 Update last_stop field in get_range mode so the position
8199 query works. Fixes #342321.
8201 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8203 * docs/gst/gstreamer-sections.txt:
8204 * gst/gsttaglist.c: (_gst_tag_initialize):
8206 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8208 2006-05-30 Wim Taymans <wim@fluendo.com>
8210 Patch by: Alessandro Decina <alessandro at nnva dot org>
8212 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8213 Unlock mutex when removing an unknown pad.
8216 * tests/check/Makefile.am:
8217 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8218 (push_event), (setup), (teardown), (GST_START_TEST),
8219 (gst_collect_pads_suite), (main):
8220 Added collecpads check, disabled for now as check crashes for
8223 2006-05-29 Wim Taymans <wim@fluendo.com>
8225 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8226 Don't leak pads lists.
8228 2006-05-29 Wim Taymans <wim@fluendo.com>
8230 * docs/libs/gstreamer-libs-sections.txt:
8231 * libs/gst/base/gstcollectpads.c:
8232 (gst_collect_pads_set_flushing_unlocked),
8233 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8234 (gst_collect_pads_stop):
8235 * libs/gst/base/gstcollectpads.h:
8236 API: gst_collect_pads_set_flushing()
8237 Added api to set the pads to flushing, useful for seeking
8238 code in elements using collectpads.
8239 Clear segment when receiving a flush.
8241 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8243 * gst/gst.c: (add_path_func), (init_post):
8244 Don't scan registry paths passed via --gst-plugin-path immediately
8245 (will crash, because absolutely nothing is set up and no types are
8246 registered etc.); do this later in init_post(). Fixes #343057.
8248 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8250 * gst/gst.c: (init_post):
8251 if we have fork, fork while reading/rebuilding the registry
8252 so the parent doesn't take the hit of having all plugins loaded
8253 in memory. Fixes #342777.
8255 Check if we have fork()
8256 * win32/common/config.h.in:
8259 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8261 * plugins/elements/gstelements.c:
8262 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8263 (gst_file_src_init), (gst_file_src_set_property),
8264 (gst_file_src_get_property), (gst_file_src_start):
8265 * plugins/elements/gstfilesrc.h:
8266 API: GstFileSrc::use-mmap
8268 Add a use-mmap property to enable easier testing of all code paths.
8269 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8270 in the absence of gnomevfssrc. (Closes #340501)
8272 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8274 * tools/gst-inspect.c:
8275 Add missing include, removes warning of ngettext not being defined on
8278 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8280 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8281 Handle NULL input and output pointers silently as a failed conversion,
8282 rather than g_warnings.
8284 2006-05-25 Wim Taymans <wim@fluendo.com>
8286 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8287 Initialize variable before using. Fixes #342820.
8289 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8291 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8292 Fix off-by-one bug that would only allow peeks of N-1 bytes
8293 from the start even if the buffer to typefind on contains
8294 in fact N bytes of data (makes vorbis typefinding from a
8295 vorbis identification header buffer work).
8297 * tests/check/Makefile.am:
8298 * tests/check/libs/.cvsignore:
8299 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8300 (gst_typefindhelper_suite), (main), (foobar_typefind),
8302 Add very basic unit test for gst_type_find_helper_for_buffer()
8303 that checks for the problem fixed above.
8305 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8307 * tools/gst-inspect.c: (print_interfaces),
8308 (print_element_properties_info), (print_element_list), (main):
8309 add more translatable strings
8311 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8313 Patch by: Julien Moutte <julien at moutte net>
8315 * docs/gst/gstreamer-sections.txt:
8316 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8318 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8319 (gst_fake_sink_preroll):
8320 * plugins/elements/gstfakesink.h:
8321 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8323 2006-05-23 Wim Taymans <wim@fluendo.com>
8325 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8327 Added _CUSTOM error and success GstFlowReturn that can be
8328 used be elements internally.
8329 Added macro to check for SUCCESS flowreturns.
8330 API: GST_FLOW_CUSTOM_SUCCESS
8331 API: GST_FLOW_CUSTOM_ERROR
8332 API: GST_FLOW_IS_SUCCESS
8334 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8335 Added check for GstFlowReturn sanity.
8337 2006-05-23 Wim Taymans <wim@fluendo.com>
8339 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8341 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8342 (gst_collect_pads_event):
8343 clear/reset segment info in FLUSH_STOP.
8346 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8348 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8349 (gst_collect_pads_check_collected):
8350 Flush queued buffer on _stop(), fixes playing again (#342454)
8352 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8354 * tests/check/gst/gststructure.c: (GST_START_TEST),
8355 (gst_structure_suite):
8356 add a test for a complete structure
8358 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8360 * docs/faq/developing.xml:
8362 * docs/faq/troubleshooting.xml:
8363 * docs/faq/using.xml:
8364 Some minor FAQ updates that won't change the fact that
8365 our FAQ is badly structured, full of information hardly
8366 anyone new to GStreamer needs to know and lacking lots
8367 of information people constantly ask for.
8369 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8371 * gst/gstpad.c: (gst_pad_set_caps):
8372 Short-circuit gst_pad_set_caps if setting the existing
8373 caps pointer again, and avoid printing debug and
8374 reffing/unreffing the caps.
8376 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8377 There's actually no need to set the caps before pushing -
8378 the acceptcaps method will handle it anyway.
8380 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8382 * docs/gst/gstreamer-sections.txt:
8383 * win32/common/libgstreamer.def:
8384 * gst/gstutils.c: (gst_element_seek_simple):
8386 API: add gst_element_seek_simple() (#342238).
8388 2006-05-18 Edward Hervey <edward@fluendo.com>
8390 * gst/gsttypefind.c: (gst_type_find_get_type):
8391 * gst/gsttypefind.h:
8392 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8393 registered for GstTypeFind pointers. This allows wrapping the structure
8394 in bindings (i.e. gst-python).
8396 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8398 * gst/gsttagsetter.c:
8399 Docs additions and fixes (see #339918).
8401 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8403 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8404 The caps intersection algorithm can produce multiple copies of the
8405 caps. Until that is fixed, we need to simplify the result to be
8406 sure whether the allowed caps are fixed or not.
8408 * plugins/elements/gstqueue.c: (gst_queue_init),
8409 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8410 (gst_queue_push_one):
8411 Proxied buffer alloc should not set the caps on the source pad.
8412 When pushing buffers, we always accept the caps change that triggers.
8413 This prevents negotiation errors caused by caps changing mid-stream
8414 and then being refused on our source pad (because upstream is now
8415 refusing those caps).
8417 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8419 * tests/examples/helloworld/helloworld.c: (main):
8420 Must plug audioconvert and audioresample between decoder
8423 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8425 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8426 (load_feature), (load_plugin):
8427 Allow empty strings for some of the plugin fields so we don't
8428 drop valid plugin entries that were written out correctly
8431 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8433 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8434 Use g_remove and g_rename instead of remove and rename that don't
8435 handle utf8 characters. rename was failing for users who had specific
8436 characters in their name then the registry was built at each
8438 * win32/vs6/gst_inspect.dsp:
8439 * win32/vs6/gst_launch.dsp:
8440 * win32/vs6/libgstbase.dsp:
8441 * win32/vs6/libgstcoreelements.dsp:
8442 * win32/vs6/libgstreamer.dsp:
8443 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8444 build of libgstreamer and clean unused libraries in projects link
8447 2006-05-17 Edward Hervey <edward@fluendo.com>
8449 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8450 The queue is not responsible for pushing an EOS when receiving a fatal
8451 flow error. It's up to the real element driving the pipeline to do that.
8453 2006-05-16 Edward Hervey <edward@fluendo.com>
8455 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8456 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8457 buffer returned a fatal error. It should just send an EOS and stop
8459 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8460 when pushing buffers on the queue and will be able to handle the event.
8462 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8464 * docs/manual/basics-bins.xml:
8465 * docs/manual/basics-init.xml:
8466 Fix typos and minor errors in sample code (#341856).
8468 2006-05-16 Wim Taymans <wim@fluendo.com>
8470 * docs/design/part-qos.txt:
8471 Fix indexes in formulas to make more sense.
8473 2006-05-15 Wim Taymans <wim@fluendo.com>
8475 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8476 Don't report POSITION based on clock time if sync is
8479 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8482 Add cast to make compiler happy - refcount variable was a gint
8483 in GstObject but is a guint in GObject and g_atomic_int_get()
8486 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8488 * gst/parse/Makefile.am:
8489 chain commands using &&, which also makes parallel make work
8491 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8493 * docs/gst/gstreamer-sections.txt:
8499 === release 0.10.6 ===
8501 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8504 releasing 0.10.6, "Take the cannoli"
8506 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8508 * tools/gst-launch.c: (print_tag):
8509 Fix use of uninitialized variable in the hypothetical
8510 case that some broken plugin creates a GST_TAG_IMAGE
8511 tag containing a NULL buffer (#341667).
8513 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8515 * tools/gst-launch.c: (print_tag):
8516 Print something more intelligible for image tags when
8517 using the -t switch (#341556).
8519 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8524 define GST_MAJORMINOR so we have it available in win32/common/config.h
8525 Possibly remove it from our Makefile.am files later
8526 * win32/common/config.h:
8527 * win32/common/config.h.in:
8528 added GST_MAJORMINOR
8529 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8530 * win32/common/gstversion.h:
8533 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8536 Update win32 files listing.
8537 * win32/common/gstversion.h:
8538 Add GST_MAJORMINOR definition.
8539 * win32/common/libgstreamer.def:
8540 Add new exported functions.
8542 2006-05-12 Michael Smith <msmith@fluendo.com>
8544 * gst/gstplugin.c: (gst_plugin_load_file):
8545 If an so file has no plugin entry point, unload the module.
8547 2006-05-11 Wim Taymans <wim@fluendo.com>
8549 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8550 (gst_queue_set_property):
8551 Don't forget to signal the _chain or _loop function
8552 when the queue size or thresholds change since that might
8553 cause them to make progres again.
8555 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8557 * gst/gstclock.c: (gst_clock_class_init):
8558 * gst/gstindex.c: (gst_index_class_init):
8559 * gst/gstobject.c: (gst_object_class_init):
8560 * gst/gstpad.c: (gst_pad_class_init):
8561 * gst/gstpipeline.c: (gst_pipeline_class_init):
8562 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8563 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8564 * libs/gst/base/gstbasetransform.c:
8565 (gst_base_transform_class_init):
8566 * libs/gst/net/gstnetclientclock.c:
8567 (gst_net_client_clock_class_init):
8568 * libs/gst/net/gstnettimeprovider.c:
8569 (gst_net_time_provider_class_init):
8570 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8571 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8572 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8573 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8574 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8575 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8576 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8577 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8578 * plugins/elements/gsttee.c: (gst_tee_class_init):
8579 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8580 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8581 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8583 2006-05-11 Wim Taymans <wim@fluendo.com>
8585 * gst/gstbuffer.c: (_gst_buffer_initialize):
8586 Register subbufer along with the buffer type so that
8587 it does not accidentally gets registered from N
8588 different streaming threads in a non threadsafe way.
8590 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8595 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8596 gst_event_ref() and gst_message_ref() functions again
8597 (ugly hack, please do fix if there's a better way besides
8598 overrides.txt, which doesn't seem to work).
8600 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8602 * libs/gst/check/gstcheck.h:
8603 add an assert for setting state to avoid lots of repetitive code
8606 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8608 * gst/gstvalue.c: (gst_value_serialize_flags):
8609 fix a leak if no flags are set
8610 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8613 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8615 * docs/manual/basics-pads.xml:
8616 Expand a bit on caps and filtered links and update
8617 examples that were still using the no longer existing
8618 gst_pad_link_filtered() (#338206).
8620 2006-05-10 Wim Taymans <wim@fluendo.com>
8622 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8623 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8624 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8625 (gst_collect_pads_stop):
8626 * libs/gst/base/gstcollectpads.h:
8627 No need to call _stop in _finalize.
8628 Iterate the main pad list in _finalize.
8629 Added some more debug.
8630 Free lists and data in the right order.
8631 Also free data whem doing _remove_pad when stopped for
8632 backward compatibility protect ::started with PAD_LOCK as
8635 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8637 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8638 (gst_structure_parse_value):
8640 rename a method so that it actually says what it does better
8642 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8644 * gst/gstevent.c: (_gst_event_initialize):
8645 * gst/gstformat.c: (_gst_format_initialize):
8646 make sure some essential types used by events are registered
8647 as part of gst_init()
8648 * gst/gstvalue.c: (gst_value_serialize_flags):
8649 if no flags are set, serialize them to a value that represents NONE
8650 so that deserializing them works
8651 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8652 add tests for serialization and deserialization of flags
8654 2006-05-10 Wim Taymans <wim@fluendo.com>
8656 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8657 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8658 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8659 (gst_collect_pads_event), (gst_collect_pads_chain):
8662 Catch and return errors from the collect function
8663 Refuse data on eos pads.
8665 2006-05-10 Edward Hervey <edward@fluendo.com>
8667 * gst/gstinterface.h:
8668 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8669 GInterface type checking.
8670 They were previously using non-defined macros.
8672 2006-05-09 Wim Taymans <wim@fluendo.com>
8674 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8675 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8676 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8677 (gst_collect_pads_start), (gst_collect_pads_stop),
8678 (gst_collect_pads_peek), (gst_collect_pads_pop),
8679 (gst_collect_pads_available), (gst_collect_pads_read),
8680 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8681 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8682 (gst_collect_pads_chain):
8683 * libs/gst/base/gstcollectpads.h:
8684 Clean up the mess that is collectpads, add comments and
8685 FIXMEs where needed.
8686 Maintain a separate pad list so we can add pads while
8687 collecting the other ones. For this we need a new separate
8689 Fix memory leak in finalize.
8690 Refactor some weird code to set/unset pad flushing flags, mark
8692 Don't crash in _available, _read, _flush when we're EOS.
8694 * tests/check/libs/.cvsignore:
8695 Ignore adapter check binary.
8697 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8699 * gst/gstindex.c: (gst_index_resolver_get_type):
8700 * plugins/elements/gstfakesink.c:
8701 (gst_fake_sink_state_error_get_type):
8702 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8703 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8704 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8705 Const-ify GEnumValue arrays.
8707 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8709 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8710 Add test case for flags + gst_buffer_make_metadata_writable().
8712 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8714 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8715 gst_buffer_make_metadata_writable() should maintain the
8716 buffer flags (those that make sense at least) (see #340859).
8718 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8720 * tools/gst-inspect.c:
8721 * tools/gst-launch.c:
8722 * tools/gst-typefind.c:
8723 * tools/gst-xmlinspect.c:
8725 Fix up includes: need to include stdlib.h in tools.h for exit().
8727 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8729 * gst/gsttaglist.c: (_gst_tag_initialize):
8731 API: add GST_TAG_IMAGE tag (#340721).
8733 2006-05-08 Wim Taymans <wim@fluendo.com>
8736 Added some docs for the segment query.
8738 2006-05-08 Wim Taymans <wim@fluendo.com>
8740 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8741 (gst_base_src_loop), (gst_base_src_change_state):
8742 Always push non-flushing serialized events in the streaming
8745 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8747 * gst/gsterror.c: (_gst_stream_errors_init):
8748 Add a missing error string.
8750 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8752 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8753 Add applied_rate to the debug
8755 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8756 Copy applied_rate into the outgoing NEWSEGMENT event
8758 2006-05-08 Wim Taymans <wim@fluendo.com>
8760 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8762 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8763 (gst_base_sink_change_state):
8764 call ::unlock before taking the PREROLL_LOCK so we can safely
8765 handle elements that lock in ::render.
8768 2006-05-08 Edward Hervey <edward@fluendo.com>
8770 * autogen.sh: (CONFIGURE_DEF_OPT):
8771 Darwin's libtoolize is in fact called glibtoolize.
8772 Adding glibtoolize to the list of accepted names for libtoolize.
8774 2006-05-08 Wim Taymans <wim@fluendo.com>
8776 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8777 Unify error handling, don't post an error message
8778 when a push() returns EOS but perform our normal EOS
8779 handling code. Fixes #340772.
8781 2006-05-08 Wim Taymans <wim@fluendo.com>
8783 * docs/design/part-overview.txt:
8784 Make upsteam/downstream concepts more clear.
8785 Give an example of serialized/non-serialized events.
8787 * docs/design/part-events.txt:
8788 * docs/design/part-streams.txt:
8789 Mention applied_rate.
8791 * docs/design/part-trickmodes.txt:
8792 Mention applied rate, flesh out some more use cases.
8794 * gst/gstevent.c: (gst_event_new_new_segment),
8795 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8796 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8797 (gst_event_parse_tag), (gst_event_new_buffer_size),
8798 (gst_event_parse_buffer_size), (gst_event_new_qos),
8799 (gst_event_parse_qos), (gst_event_parse_seek),
8800 (gst_event_new_navigation):
8802 Add applied_rate field to NEWSEGMENT event.
8803 API: gst_event_new_new_segment_full()
8804 API: gst_event_parse_new_segment_full()
8806 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8807 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8808 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8810 Add applied_rate to GstSegment structure.
8811 Make calculation of stream_time and running_time more correct
8812 wrt rate/applied_rate.
8814 API: GstSegment::applied_rate field
8815 API: gst_segment_set_newsegment_full();
8817 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8818 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8819 * libs/gst/base/gstbasetransform.c:
8820 (gst_base_transform_sink_eventfunc),
8821 (gst_base_transform_handle_buffer):
8822 Parse and use applied_rate in the GstSegment field.
8824 * tests/check/gst/gstevent.c: (GST_START_TEST):
8825 Add check for applied_rate field.
8827 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8828 (gstsegments_suite):
8829 Add more checks for various GstSegment operations.
8831 2006-05-08 Wim Taymans <wim@fluendo.com>
8833 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8834 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8835 (gst_base_sink_get_position), (gst_base_sink_change_state):
8836 Store the sync time of the buffer end position separatly in a
8837 new variable eos_rtime so we can properly sync the EOS event.
8839 Fix the docs for gst_base_sink_set_qos_enabled().
8840 Don't set segment start to invalid value when we receive a
8841 non TIME newsegment.
8842 get closer to handling position reporting for negative rates
8845 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8848 Docs about how to print caps for debug purposes.
8850 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8851 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8853 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8856 use full enum names and preprend a '%' in docs strings to make recent
8857 gtk-doc turn that into a link
8859 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8861 * docs/manual/basics-bins.xml:
8862 * docs/manual/basics-bus.xml:
8863 * docs/manual/basics-pads.xml:
8864 Some typo fixes, some additions, some clarifications.
8866 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8868 * tools/gst-inspect.c: (main):
8869 * tools/gst-launch.c: (main):
8870 * tools/gst-run.c: (main):
8871 * tools/gst-typefind.c: (main):
8872 * tools/gst-xmlinspect.c: (main):
8873 Use the string passed to g_option_context_new() for
8874 what it's intended for - the program name is already
8877 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8879 * tools/Makefile.am:
8880 * tools/gst-inspect.c: (main):
8881 * tools/gst-launch.c: (main):
8882 * tools/gst-xmlinspect.c: (main):
8884 Add back --version command line option (#340460).
8886 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8887 Add --version option and use GOption for argument parsing; refactor a
8888 bit; accept directories as arguments and recurse into them; lastly,
8889 print a decent error message when things go wrong.
8891 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8893 * docs/manual/basics-bins.xml:
8894 Don't mention GstThread (#340611)
8895 * docs/manual/basics-elements.xml:
8896 Update link to GObject tutorial (#340607)
8898 2006-05-05 Wim Taymans <wim@fluendo.com>
8901 * gst/gstminiobject.c:
8902 Add note about refcounting and miniobject/buffer writeability
8903 to docs. Fixes #340604
8905 * gst/gstelementfactory.h:
8906 Added some explanation about @klass.
8908 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8910 * docs/manual/intro-motivation.xml:
8911 * docs/manual/manual.xml:
8912 Avoid CORBA & Bonobo references (#340598)
8914 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8916 * docs/manual/basics-bus.xml:
8917 * docs/manual/basics-pads.xml:
8918 Fix up some inaccuracies and omissions (#340609)
8920 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8922 * gst/gstghostpad.c:
8923 Small typo in docs (#340625)
8925 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8927 * gst/parse/Makefile.am:
8928 Make 'make -j' proof (see #340698).
8930 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8933 Require GLib-2.8 here as well.
8935 2006-05-05 Wim Taymans <wim@fluendo.com>
8937 * gst/glib-compat.c:
8938 * gst/gst.c: (init_pre):
8939 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8940 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8941 (gst_object_dispatch_properties_changed):
8943 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8944 * gst/gststructure.c: (gst_structure_set_valist):
8945 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8946 Remove pre glib2.8 compatibility, fixes #340508
8948 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8951 Mention type of tags in doc blurbs.
8953 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8955 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8956 (gst_pad_configure_src), (gst_pad_push):
8957 Restore acceptcaps checking behaviour now that good plugins have
8960 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8962 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8973 * gst/parse/Makefile.am:
8974 * libs/gst/base/gstadapter.c:
8975 * libs/gst/base/gstbasesrc.c:
8976 * libs/gst/base/gstpushsrc.c:
8977 * libs/gst/base/gsttypefindhelper.c:
8978 * plugins/elements/gstfakesrc.c:
8979 * plugins/elements/gstidentity.c:
8980 Make sure gstprivate.h and/or config.h are
8981 always included first, otherwise some of our
8982 defines (like _FILE_OFFSET_BITS) might be
8983 redefined in the system headers. Fixes build
8984 on opensolaris (#340016).
8986 2006-05-04 Wim Taymans <wim@fluendo.com>
8988 * docs/libs/gstreamer-libs-sections.txt:
8989 API: addition: gst_adapter_take_buffer()
8991 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8992 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8993 (gst_adapter_available_fast):
8994 * libs/gst/base/gstadapter.h:
8995 Prepare for optimizing the hell out of this hugely inefficient
8997 Added gst_adapter_take_buffer() so we can at least start thinking
8998 about subbuffering and merging.
8999 Added some comments.
9001 * tests/check/Makefile.am:
9002 * tests/check/libs/adapter.c: (GST_START_TEST),
9003 (gst_adapter_suite), (main):
9004 Added GstAdapter check.
9006 2006-05-04 Wim Taymans <wim@fluendo.com>
9008 * docs/design/part-overview.txt:
9009 Fix some typos, add blurb about buffer flags.
9011 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9013 * docs/libs/gstreamer-libs-sections.txt:
9014 make sure GstBaseTransformClass shows up in the docs
9015 * libs/gst/base/gstbasetransform.c:
9016 * libs/gst/base/gstbasetransform.h:
9017 move docs so gtk-doc picks it up now
9019 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9021 * docs/libs/gstreamer-libs-sections.txt:
9022 add missing symbols to docs
9024 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9026 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9027 back out the newsegment handling change, see #340060 for ongoing
9030 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9032 * tools/gst-run.c: (get_candidates), (main):
9033 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9034 work); fix typo in error message. Fixes #340079.
9036 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9038 * common/Makefile.am:
9040 * docs/faq/Makefile.am:
9041 * docs/gst/Makefile.am:
9042 * docs/libs/Makefile.am:
9043 * docs/manual/Makefile.am:
9044 * docs/plugins/Makefile.am:
9045 * docs/pwg/Makefile.am:
9046 * docs/slides/Makefile.am:
9048 * common/upload.mak:
9049 move upload.mak to common
9051 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9053 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9054 add more asserts on refcounts
9055 do more cleanup at end of tests
9056 fix test leaks showing in FC5
9058 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9060 * plugins/elements/gsttypefindelement.c:
9061 (gst_type_find_element_handle_event):
9062 reverted wrong change and reflowed code to avoid others falling into
9065 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9067 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9068 fix changelog entry about last collectpads change,
9069 add notes about proper fix
9071 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9074 * gst/gstregistry.c: (gst_registry_scan_path_level),
9075 (gst_registry_scan_path):
9076 * gst/gstregistry.h:
9077 only write out registry if it has changed, fixes #338339
9079 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9082 * gst/gstpipeline.c:
9083 * plugins/elements/gstcapsfilter.c:
9084 * plugins/elements/gstfakesink.c:
9085 * plugins/elements/gstfakesrc.c:
9086 * plugins/elements/gstfdsink.c:
9087 * plugins/elements/gstfdsrc.c:
9088 * plugins/elements/gstfilesink.c:
9089 * plugins/elements/gstfilesrc.c:
9090 * plugins/elements/gstidentity.c:
9091 * plugins/elements/gstqueue.c:
9092 * plugins/elements/gsttee.c:
9093 * plugins/elements/gsttypefindelement.c:
9094 (gst_type_find_element_handle_event):
9095 make GstElementDetails const
9097 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9099 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9100 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9101 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9102 more detailed debug and formatting cleanup,
9103 forward newsegments to src-pad (so that e.g. adder not eats them)
9105 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9107 * gst/gstutils.c: (gst_element_link_pads):
9110 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9112 * libs/gst/controller/gstcontroller.c:
9113 (gst_controller_sync_values):
9115 * tests/check/libs/controller.c: (GST_START_TEST),
9116 (gst_controller_suite):
9117 a new test for live value handling
9119 2006-04-28 Wim Taymans <wim@fluendo.com>
9121 * gst/gstutils.c: (push_and_ref):
9122 Added some more docs.
9123 Fix refcount issue whith gst_element_found_tags() helper
9124 function. Fixes #338335
9126 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9127 Added testsuite for gst_element_found_tags().
9129 2006-04-28 Michael Smith <msmith@fluendo.com>
9131 * gst/gstvalue.c: (gst_value_serialize_flags):
9132 Avoid NULL dereference when trying to serialize flags containing
9135 2006-04-28 Michael Smith <msmith@fluendo.com>
9137 * plugins/elements/gsttypefindelement.c:
9138 (gst_type_find_element_handle_event):
9139 If we get EOS before any data is accumulated, don't use
9140 uninitialised local variables.
9142 2006-04-28 Michael Smith <msmith@fluendo.com>
9144 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9145 (gst_dp_event_from_packet):
9146 Fixes in reading/writing events over GDP (not currently used?) -
9147 dereferencing NULL events for unknown/invalid event types, memory
9148 leak, and change g_warning to GST_WARNING.
9150 2006-04-28 Wim Taymans <wim@fluendo.com>
9152 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9153 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9154 (gst_base_sink_get_position), (gst_base_sink_change_state):
9155 When frame dropping is enabled, we should not ignore frames
9157 Update some documentation.
9159 2006-04-28 Wim Taymans <wim@fluendo.com>
9161 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9162 (gst_base_src_send_event), (gst_base_src_change_state):
9163 Documentation updates.
9165 2006-04-28 Wim Taymans <wim@fluendo.com>
9167 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9168 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9169 handle EAGAIN, EINTR and short writes correctly. Also clean
9170 up some error cases, avoid a deadlock on bad file descriptors and
9171 use GST_DEBUG_OBJECT.
9174 2006-04-28 Wim Taymans <wim@fluendo.com>
9176 * gst/gstvalue.c: (gst_value_serialize_buffer),
9177 (gst_value_deserialize_buffer):
9178 Don't try to serialize a GValue with a NULL buffer.
9181 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9182 Added check for serialisation of NULL buffers.
9184 2006-04-28 Wim Taymans <wim@fluendo.com>
9186 * gst/gstminiobject.c: (gst_value_take_mini_object):
9187 Taking a NULL miniobject is valid, fix the case where
9188 we try to unref the NULL miniobject.
9190 2006-04-28 Wim Taymans <wim@fluendo.com>
9192 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9194 * gst/gstbin.c: (gst_bin_handle_message_func):
9196 Don't leak bin refcount when a state recalc is
9197 in progress and we delay another one #339808.
9199 2006-04-28 Wim Taymans <wim@fluendo.com>
9201 * docs/design/part-TODO.txt:
9202 Mention QoS as an ongoing work item.
9204 * docs/design/part-buffering.txt:
9205 New doc about buffering that needs to be fleshed out
9208 * docs/design/part-qos.txt:
9209 More QoS policy for decoders/demuxers/transforms
9211 * docs/design/part-trickmodes.txt:
9214 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9219 === release 0.10.5 ===
9221 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9224 releasing 0.10.5, "Fogo"
9226 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9228 patch by: Wim Taymans
9230 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9231 (gst_pad_configure_src), (gst_pad_push):
9232 * gst/gstpipeline.c: (gst_pipeline_init):
9233 Fix internal data flow errors. Fixes #338711.
9235 2006-04-12 Wim Taymans <wim@fluendo.com>
9237 * tests/check/gst/gstelement.c: (GST_START_TEST):
9238 Don't leak the factory.
9240 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9243 * win32/common/config.h:
9246 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9248 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9249 (gst_controller_unset_all):
9250 Free allocated GstTimedValues when freeing list nodes.
9251 Should fix leaks 'make check-valgrind' complains about.
9253 * win32/common/libgstcontroller.def:
9254 Add gst_controller_unset_all.
9256 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9258 * docs/libs/gstreamer-libs-sections.txt:
9259 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9260 (gst_controller_unset_all):
9261 * libs/gst/controller/gstcontroller.h:
9262 API: Added new method gst_controller_unset_all()
9263 fixed gst_controller_unset()
9264 * tests/check/libs/controller.c: (GST_START_TEST),
9265 (gst_controller_suite):
9266 Added two testcases for new and fixed method
9268 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9270 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9271 MSG_DONTWAIT is not defined on Cygwin, so work
9272 around that (fixes #317048).
9274 2006-04-11 Wim Taymans <wim@fluendo.com>
9276 * gst/gstelementfactory.c: (gst_element_register),
9277 (gst_element_factory_create), (gst_element_factory_make):
9280 Updated docs (Fixes #131079)
9282 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9285 * tests/check/gst/gstelement.c: (GST_START_TEST),
9286 (gst_element_suite):
9287 Added testcase for elementfactory class field.
9289 2006-04-10 Wim Taymans <wim@fluendo.com>
9292 Added some more docs.
9294 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9295 (gst_base_sink_reset_qos):
9296 Calculate more accurate rate values.
9298 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9300 * gst/gst_private.h:
9301 add a new #ifdef to use __declspec(dllimport) only for
9302 other modules and not for gstreamer core
9303 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9304 use gst_guint64_to_gdouble for conversion
9305 * win32/common/libgstreamer.def:
9306 add new exported functions
9307 * win32/vs6/gst_inspect.dsp:
9308 * win32/vs6/gst_launch.dsp:
9309 * win32/vs6/libgstbase.dsp:
9310 * win32/vs6/libgstcontroller.dsp:
9311 * win32/vs6/libgstcoreelements.dsp:
9312 * win32/vs6/libgstdataprotocol.dsp:
9313 * win32/vs6/libgstnet.dsp:
9314 update project files
9316 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9318 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9319 * gst/gstclock.c: (gst_clock_class_init):
9320 * gst/gstelement.c: (gst_element_class_init):
9321 * gst/gstindex.c: (gst_index_class_init):
9322 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9323 * gst/gstobject.c: (gst_object_class_init),
9324 (gst_signal_object_class_init):
9325 * gst/gstpad.c: (gst_pad_class_init):
9326 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9327 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9328 * gst/gstregistry.c: (gst_registry_class_init):
9329 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9330 * gst/gsttask.c: (gst_task_class_init):
9331 * gst/gstxml.c: (gst_xml_class_init):
9332 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9333 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9334 (gst_base_src_loop):
9335 * libs/gst/controller/gstcontroller.c:/
9336 (_gst_controller_class_init):
9337 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9338 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9339 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9340 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9341 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9342 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9344 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9346 * gst/gstpad.c: (gst_pad_link):
9347 Must set peer pads before calling the link function, otherwise
9348 a task started from a link function might get a flow-not-linked
9349 result when trying to push because the other thread where the
9350 linking happens hasn't had a chance to set the peers yet. This
9351 might happen for example when a queue gets linked to a downstream
9352 element, as queue starts a streaming task when its source pad
9353 gets linked. Happens in real life when playing back flac/musepack
9354 files in playbin (#332390).
9356 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9360 * libs/gst/base/gstadapter.h:
9361 * libs/gst/base/gstbasesink.h:
9362 * libs/gst/base/gstbasesrc.h:
9363 * libs/gst/base/gstbasetransform.h:
9364 * libs/gst/base/gstcollectpads.h:
9365 * libs/gst/base/gstpushsrc.h:
9366 Fix broken GObject macros
9368 2006-04-07 Wim Taymans <wim@fluendo.com>
9370 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9371 Initialize start and stop times, thanks valgrind.
9373 2006-04-07 Wim Taymans <wim@fluendo.com>
9375 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9376 Be a bit nicer to badly behaving upstream elements that expect
9377 us to deal with non TIME segments and timestamps (such as fakesrc
9380 2006-04-07 Wim Taymans <wim@fluendo.com>
9383 Small documentation clarification about the signal watch.
9385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9386 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9387 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9388 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9389 (gst_base_sink_get_position_last),
9390 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9391 Convert and store timestamps in stream time and running time, the
9392 raw timestamps are not useful, also document this better.
9393 Use different window sizes for good and bad QoS observations so
9394 we react to badness a little quicker.
9395 Keep track of the amount of rendered and dropped buffers.
9396 Send QoS timestamps in running time.
9398 * libs/gst/base/gstbasetransform.c:
9399 (gst_base_transform_sink_eventfunc),
9400 (gst_base_transform_handle_buffer):
9401 Compare QoS timestamps against running time.
9403 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9408 2006-04-06 Michael Smith <msmith@fluendo.com>
9410 * gst/gstpad.c: (gst_pad_set_property):
9411 Use g_value_get_object() instead of g_value_dup_gst_object(),
9412 to avoid double-reffing the pad template (which we then sink,
9413 so this worked previously if (and only if) the pad template
9416 * gst/gstpadtemplate.c: (gst_pad_template_init),
9417 (gst_pad_template_pad_created):
9418 Never return floating references to pad templates, create
9419 them as initially-sunken.
9421 Document an extra function (and make this stop sinking our
9422 pad template, since that is now guaranteed to do nothing,
9423 since we created it sunken).
9425 * gst/gstghostpad.c:
9428 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9430 * gst/gstinfo.c: (__gst_in_valgrind):
9433 * plugins/elements/gsttypefindelement.c:
9434 (gst_type_find_element_chain):
9435 Don't leak buffer caps.
9437 2006-04-06 Michael Smith <msmith@fluendo.com>
9439 * gst/parse/grammar.y:
9440 Fix a leak in parse-launch for any source-or-sink named element
9443 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9444 Unref the pipeline if it exists after we've failed parsing.
9446 2006-04-05 Michael Smith <msmith@fluendo.com>
9448 * gst/gstpipeline.c: (gst_pipeline_init):
9449 When we create a pipeline bus, initially create it in flushing mode.
9450 Fixes leaks in at least one test, and makes a new pipeline work the
9451 same as one that has gone to READY and then back to NULL.
9456 2006-04-05 Michael Smith <msmith@fluendo.com>
9458 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9459 Unref a pad we reffed.
9460 * tests/check/gst/gstutils.c: (GST_START_TEST):
9463 2006-04-05 Michael Smith <msmith@fluendo.com>
9465 * gst/gstquery.c: (gst_query_set_formats),
9466 (gst_query_set_formatsv):
9467 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9469 2006-04-05 Michael Smith <msmith@fluendo.com>
9471 * tests/check/generic/sinks.c: (GST_START_TEST):
9472 Fix a variety of memleaks in sinks check, which are only sometimes
9473 shown by running the tests under valgrind (weird?).
9475 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9477 * docs/version.entities.in:
9478 Fix the substituted entity name after thomas' changes on the
9481 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9483 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9486 2006-04-05 Andy Wingo <wingo@pobox.com>
9488 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9490 * libs/gst/base/gstbasetransform.c
9491 (gst_base_transform_sink_eventfunc): When resetting our segment on
9492 FLUSH_STOP, also update the flag saying we haven't seen a
9495 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9497 Patch by: Paolo Borelli <pborelli at katamail dot com>
9499 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9500 (gst_plugin_check_license):
9501 minor clean-ups: G_DEFINE_TYPE already takes care of the
9502 parent_class stuff, no need to do it twice. Mark array of
9503 license strings as constant. (#337103)
9505 2006-04-04 Michael Smith <msmith@fluendo.com>
9507 * tools/gst-inspect.c: (print_element_list):
9508 Free the right plugin list; fixes a memory leak.
9510 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9512 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9514 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9515 Don't error out on empty buffers (#336945).
9517 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9519 * docs/libs/gstreamer-libs-sections.txt:
9521 * libs/gst/base/gstbasesink.c:
9522 * libs/gst/base/gstbasesink.h:
9523 * libs/gst/base/gstbasesrc.c:
9524 * libs/gst/base/gstbasesrc.h:
9525 Documentation updates. Make BaseSink and BaseSrc docs contain the
9526 class structure so that people can actually see the prototypes for
9527 virtual functions they're supposed to be overriding.
9529 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9531 * plugins/elements/gsttypefindelement.c:
9532 (gst_type_find_element_chain):
9533 More debug info; when skipping typefinding, send cached
9534 events in all cases.
9536 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9539 use new AS_VERSION and AS_NANO macros
9540 * gst/gst-i18n-lib.h:
9543 * gst/gstversion.h.in:
9544 * win32/common/config.h:
9545 * win32/common/config.h.in:
9548 2006-03-31 Michael Smith <msmith@fluendo.com>
9550 * plugins/elements/gsttypefindelement.c:
9551 (gst_type_find_element_chain):
9552 Do not typefind content if the buffers already have caps.
9553 Neccesary for icydemux (#333657), and the right thing to do anyway.
9555 2006-03-30 Wim Taymans <wim@fluendo.com>
9557 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9558 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9559 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9560 (gst_base_sink_record_qos_observation),
9561 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9562 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9563 (gst_base_sink_change_state):
9564 More QoS measurements as described in the design doc.
9565 Get rid of ringbuffer with observations, running average is
9566 more simple and equally good.
9567 Calculates valid proportion now.
9568 Added beginning of flood measurement.
9570 2006-03-29 Wim Taymans <wim@fluendo.com>
9572 * docs/design/part-qos.txt:
9574 Small documentation updates and additions.
9576 2006-03-29 Wim Taymans <wim@fluendo.com>
9578 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9579 (gst_base_src_send_event), (gst_base_src_loop),
9580 (gst_base_src_change_state):
9581 Perform the EOS logic when we reach the segment stop position.
9582 Fix compilation on gcc4.1
9584 2006-03-29 Wim Taymans <wim@fluendo.com>
9586 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9588 * plugins/elements/gstqueue.c: (gst_queue_init),
9589 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9590 (gst_queue_set_property):
9591 * plugins/elements/gstqueue.h:
9592 In queue, when EOS is received, if minimum threshold > max_size -
9593 current_level, there is chance that queue blocks forever in conditional
9594 item del wait. This is because the queue is not emptied completely due
9595 to minimum threshold. Here is another approach. Instead of setting
9596 cur_levels to max in EOS, just zero all minimum threshold levels. This
9597 should make sure that queue gives out all data. When going to READY
9598 (stop) state, just reset the original minimum threshold levels.
9601 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9603 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9604 (gst_type_find_element_handle_event),
9605 (gst_type_find_element_send_cached_events),
9606 (gst_type_find_element_change_state):
9607 * plugins/elements/gsttypefindelement.h:
9608 When typefinding is done in push mode, we should cache
9609 events we receive during typefinding instead of just
9610 dropping them (e.g. newsegment, custom events from
9611 dvdreadsrc etc.) and then send them out once we've
9612 determined the type of the stream (and decodebin
9613 has had a chance to plug in a decoder/demuxer).
9615 2006-03-27 Wim Taymans <wim@fluendo.com>
9617 * docs/design/part-qos.txt:
9620 2006-03-27 Wim Taymans <wim@fluendo.com>
9622 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9624 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9625 (gst_base_src_send_event), (gst_base_src_change_state):
9626 Handle element seek correctly when we are streaming.
9629 2006-03-24 Michael Smith <msmith@fluendo.com>
9631 * docs/faq/gst-uninstalled:
9632 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9633 allow you to correctly run intalled applications built against old
9634 core, using plugins that require updated core (e.g. running
9635 installed totem against a full uninstalled gstreamer stack)
9637 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9639 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9642 2006-03-24 Wim Taymans <wim@fluendo.com>
9644 * docs/gst/gstreamer-sections.txt:
9645 Rearrange the order of the methods so that related methods
9646 are grouped together in sections.
9648 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9651 Little clarification in the docs
9653 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9657 * plugins/elements/gstidentity.c:
9658 * plugins/elements/gstqueue.c:
9659 * plugins/elements/gsttee.c:
9660 * plugins/elements/gsttypefindelement.c:
9661 GST_ELEMENT_DETAILS formatting
9663 2006-03-24 Wim Taymans <wim@fluendo.com>
9665 * libs/gst/base/gstbasesink.h:
9666 Only add fields, not insert or we break ABI.
9668 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9670 * win32/common/libgstbase.def:
9671 * win32/common/libgstreamer.def:
9672 Update, add recently added functions.
9674 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9676 * docs/gst/gstreamer-sections.txt:
9677 * gst/gstutils.c: (gst_pad_query_peer_position),
9678 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9680 API: add some new utility functions:
9681 - gst_pad_query_peer_position()
9682 - gst_pad_query_peer_duration()
9683 - gst_pad_query_peer_convert()
9685 2006-03-23 Wim Taymans <wim@fluendo.com>
9687 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9688 (gst_base_sink_init), (gst_base_sink_finalize),
9689 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9690 (gst_base_sink_set_property), (gst_base_sink_get_property),
9691 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9692 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9693 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9694 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9695 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9696 (gst_base_sink_preroll_object), (gst_base_sink_event),
9697 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9698 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9699 (gst_base_sink_query), (gst_base_sink_change_state):
9700 Decouple max-lateness and the fact that QoS messages are generated
9701 with a new property (qos).
9702 added API: GstBaseSink::async_play()
9703 Add vmethod so subclasses can be notified of ASYNC playing
9705 Collect timestamp start and stop to report better current
9706 position in EOS/PLAYING/PAUSED/READY/NULL.
9707 Refactor QoS/frame dropping and other measurements.
9708 API: GstBaseSrc::qos
9711 * libs/gst/base/gstbasesink.h:
9712 Added Private struct.
9713 API: gst_base_sink_set_qos_enabled()
9714 API: gst_base_sink_is_qos_enabled()
9716 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9718 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9719 If compiling against GLib-2.8 or newer, try to read the
9720 registry file using GMappedFile first before falling back
9721 to fopen() + fread() (#332151).
9723 2006-03-22 Wim Taymans <wim@fluendo.com>
9725 * gst/gstinfo.c: (gst_debug_set_active),
9726 (gst_debug_category_set_threshold):
9727 Disable debugging unless explicitly activated.
9730 2006-03-22 Wim Taymans <wim@fluendo.com>
9732 * gst/gstelement.c: (gst_element_set_locked_state),
9733 (gst_element_dispose):
9734 Cleanup the error case.
9736 * gst/gstobject.c: (gst_object_dispose):
9737 print a critical when some object was disposed with
9738 a parent, also revive the object since it might
9741 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9743 * tools/gst-launch.1.in:
9746 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9749 * tests/check/Makefile.am:
9750 disable some tests when we don't have a registry
9751 * tests/check/gst/gstutils.c: (gst_utils_suite):
9752 don't build the part that needs parsing
9754 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9757 * tests/examples/Makefile.am:
9758 fix --disable-parse build
9760 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9762 * tools/gst-feedback.1.in:
9763 Fix typo: s/feeback/feedback/ (#133494).
9765 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9767 * tools/Makefile.am:
9768 * tools/gst-launch.1.in:
9769 Add FILES section and correct entry about GST_REGISTRY_PATH
9770 environment variable (#133495; #133494).
9772 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9774 * tools/Makefile.am:
9775 * tools/gst-md5sum.1.in:
9776 * tools/gst-md5sum.c:
9777 Remove gst-md5sum and man page (the md5sink element
9778 required was removed ages ago)
9780 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9782 * gst/gststructure.c: (gst_structure_id_set_value):
9783 Make sure that string fields in structures/taglists
9784 contain valid UTF-8 - we don't want to pass rubbish to
9785 applications because of a buggy plugin (cp. #334167).
9787 2006-03-21 Edward Hervey <edward@fluendo.com>
9789 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9790 (gst_bin_handle_message_func):
9791 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9792 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9793 (gst_element_set_bus_func):
9794 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9795 * gst/gstminiobject.c: (gst_value_set_mini_object),
9796 (gst_value_take_mini_object):
9797 * gst/gstpad.c: (gst_pad_set_pad_template):
9798 * gst/gstpipeline.c: (gst_pipeline_dispose),
9799 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9801 (gst_collect_pads_chain):
9802 * libs/gst/net/gstnettimeprovider.c:
9803 (gst_net_time_provider_set_property):
9804 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9805 It's in fact all issues with gst_*object_replace().
9807 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9809 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9811 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9812 * pkgconfig/gstreamer-check.pc.in:
9813 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9815 2006-03-21 Edward Hervey <edward@fluendo.com>
9820 gst_[buffer|event|message]_ref() macros are replaced by a static
9821 inline functions because gcc-4.1 will about if the return value
9823 * tests/check/gst/gstevent.c: (event_probe):
9824 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9826 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9829 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9830 the type' case. (Closes: #335195 for now). In the future, when we
9831 depend on GLib 2.10, we could also intern the type name using
9832 g_intern_static_string()
9834 2006-03-20 Wim Taymans <wim@fluendo.com>
9836 * gst/gstbin.c: (gst_bin_handle_message_func),
9837 (bin_query_max_init), (bin_query_position_fold),
9838 (bin_query_position_done), (gst_bin_query):
9839 Position query should also take max of all streams.
9841 2006-03-20 Wim Taymans <wim@fluendo.com>
9843 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9844 (gst_fake_src_finalize):
9845 Fix leaks in fakesrc.
9847 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9848 Fix leaks in the testcase.
9850 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9852 * gst/gst_private.h:
9853 add win32 specific import decoration(__declspec(dllimport))
9854 for all extern GstDebugCategory * variables
9855 * win32/common/libgstbase.def:
9856 * win32/common/libgstcontroller.def:
9857 * win32/common/libgstreamer.def:
9858 Add some exports, remove empty lines
9859 * win32/common/libgstdataprotocol.def:
9860 * win32/common/libgstdataprotocol.dsp:
9861 * win32/common/libgstnet.def:
9862 * win32/common/libgstnet.dsp:
9863 new project files and exportation files added
9865 2006-03-19 Wim Taymans <wim@fluendo.com>
9867 * tests/check/libs/basesrc.c: (eos_event_counter):
9868 Use proper return value for probe.
9870 2006-03-17 Wim Taymans <wim@fluendo.com>
9872 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9874 Don't leak buffers, caps and pads on negotiation errors.
9876 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9879 * docs/faq/dependencies.xml:
9880 * docs/faq/developing.xml:
9882 * docs/faq/general.xml:
9883 * docs/faq/getting.xml:
9884 * docs/faq/legal.xml:
9885 * docs/faq/troubleshooting.xml:
9886 * docs/faq/using.xml:
9887 Faq review and update.
9889 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9891 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9893 Don't pound the cpu to pieces by checking get_caps when accept_caps
9894 is called with the same caps as the pad already has.
9895 Use GST_DEBUG_OBJECT when outputting caps change information.
9897 2006-03-15 Wim Taymans <wim@fluendo.com>
9899 * gst/gstclock.c: (gst_clock_class_init):
9902 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9907 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9908 (gst_pad_accept_caps), (gst_pad_configure_sink),
9909 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9910 Make the default acceptcaps behaviour be to check the requested
9911 caps against the gst_pad_get_caps output.
9913 Ensure that gst_pad_accept_caps is used to check caps when a pad
9914 doesn't have a setcaps function, so that pads automatically refuse
9915 caps that they don't allow in their pad template. (Fixes #332986)
9917 When a buffer with attached caps is pushed, ensure that the source
9918 pad receives those caps even if the element didn't call
9919 gst_pad_set_caps first.
9921 2006-03-15 Wim Taymans <wim@fluendo.com>
9923 * libs/gst/base/gstadapter.c:
9926 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9928 * win32/common/libgstbase.def:
9929 * win32/common/libgstcontroller.def:
9930 * win32/common/libgstreamer.def:
9931 Add a whole bunch of missing functions (#334434).
9933 2006-03-14 Wim Taymans <wim@fluendo.com>
9935 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9936 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9937 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9938 Better debug info when we receive a segment event.
9939 Reorganize a bit so we can pass the get_times() results around.
9940 Use the segment format when calculating the running time.
9941 Don't do QoS is sync is disabled or we have no clock or the
9942 element does not want us to sync to the clock.
9943 Don't drop buffers if QoS is disabled for now.
9945 2006-03-14 Wim Taymans <wim@fluendo.com>
9947 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9948 Marked the stats property as unimplemented so people don't get
9950 Add debug message when regression goes wrong.
9951 Added some more docs.
9953 2006-03-14 Wim Taymans <wim@fluendo.com>
9955 * gst/gstsegment.c: (gst_segment_to_stream_time):
9956 Return correct return type in case of errors.
9958 2006-03-14 Wim Taymans <wim@fluendo.com>
9960 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9961 Don't segfault on invalid formats.
9963 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9965 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9966 Can't use gst_segment_to_running_time() when the segment
9967 is not in GST_TIME_FORMAT (like with filesink, for example).
9968 Stops flac encoding pipelines from spewing critical warnings
9971 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9973 * gst/gstpipeline.c: (gst_pipeline_class_init):
9974 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9976 * plugins/elements/gsttypefindelement.c:
9977 (gst_type_find_element_handle_event):
9978 Don't try to typefind empty streams.
9980 2006-03-14 Wim Taymans <wim@fluendo.com>
9982 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9983 (gst_base_sink_do_qos):
9984 Separate QoS calculation.
9985 Only drop buffers when lateness is bigger than the
9986 duration of the buffer.
9988 2006-03-13 Wim Taymans <wim@fluendo.com>
9990 * gst/gstpipeline.c: (gst_pipeline_set_property),
9991 (gst_pipeline_get_property), (do_pipeline_seek),
9992 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9993 (gst_pipeline_get_delay):
9994 Don't deadlock when reading properties.
9996 2006-03-13 Wim Taymans <wim@fluendo.com>
9998 * libs/gst/base/gstbasetransform.c:
9999 (gst_base_transform_class_init), (gst_base_transform_init),
10000 (gst_base_transform_sink_event),
10001 (gst_base_transform_sink_eventfunc),
10002 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10003 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10004 (gst_base_transform_set_property),
10005 (gst_base_transform_get_property),
10006 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10007 (gst_base_transform_set_qos_enabled),
10008 (gst_base_transform_is_qos_enabled):
10009 * libs/gst/base/gstbasetransform.h:
10010 Make basetransform virtual method for src events too.
10011 Handle QOS in basetransform.
10012 API: gst_base_transform_update_qos()
10013 API: gst_base_transform_set_qos_enabled()
10014 API: gst_base_transform_is_qos_enabled()
10016 2006-03-13 Wim Taymans <wim@fluendo.com>
10018 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10019 (gst_base_sink_do_sync):
10021 Use QOS debug category.
10023 2006-03-13 Wim Taymans <wim@fluendo.com>
10025 * plugins/elements/gstqueue.c:
10026 Very small doc update.
10028 2006-03-13 Wim Taymans <wim@fluendo.com>
10030 * gst/gst_private.h:
10031 * gst/gstinfo.c: (_gst_debug_init):
10032 Added QOS debug category
10034 2006-03-13 Wim Taymans <wim@fluendo.com>
10036 * docs/gst/gstreamer-sections.txt:
10037 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10039 * gst/gstbus.c: (gst_bus_class_init):
10042 * gst/gstelement.c: (gst_element_set_locked_state):
10043 * gst/gstsegment.c:
10044 Documentation updates.
10046 * gst/gstpipeline.c: (gst_pipeline_get_type),
10047 (gst_pipeline_class_init), (gst_pipeline_init),
10048 (gst_pipeline_dispose), (gst_pipeline_set_property),
10049 (gst_pipeline_get_property), (do_pipeline_seek),
10050 (gst_pipeline_send_event), (gst_pipeline_change_state),
10051 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10052 (gst_pipeline_get_delay):
10053 * gst/gstpipeline.h:
10054 Added methods for setting the delay.
10055 API: gst_pipeline_set_delay()
10056 API: gst_pipeline_get_delay()
10057 Add pipeline debug category
10060 Don't reset stream time when seek failed.
10062 2006-03-13 Wim Taymans <wim@fluendo.com>
10064 * docs/design/draft-klass.txt:
10065 * docs/design/part-clocks.txt:
10066 * docs/design/part-events.txt:
10067 * docs/design/part-gstbin.txt:
10068 * docs/design/part-gstpipeline.txt:
10069 * docs/design/part-messages.txt:
10070 * docs/design/part-negotiation.txt:
10071 * docs/design/part-overview.txt:
10072 * docs/design/part-preroll.txt:
10073 * docs/design/part-seeking.txt:
10074 * docs/design/part-states.txt:
10075 * docs/design/part-streams.txt:
10076 Documentation updates.
10078 2006-03-12 Julien MOUTTE <julien@moutte.net>
10080 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10081 us to leak strings...
10083 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10085 * libs/gst/net/gstnettimeprovider.c:
10087 * win32/common/config.h:
10090 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10092 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10095 Don't check for libgnomeui (leftover from old examples
10096 that aren't built or disted any longer) (#334303).
10098 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10100 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10101 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10102 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10103 there's no space left on the device.
10105 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10108 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10109 to cast the input to GstClockTime before comparing with
10110 another GstClockTime value.
10112 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10117 === release 0.10.4 ===
10119 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10122 releasing 0.10.4, "Light"
10124 2006-03-10 Michael Smith <msmith@fluendo.com>
10126 * libs/gst/dataprotocol/dataprotocol.c:
10127 Fix docs for dataprocotol to not get the return types completely
10128 wrong for a few functions.
10130 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10132 * docs/gst/gstreamer-sections.txt:
10133 * gst/gstpipeline.c: (gst_pipeline_class_init),
10134 (gst_pipeline_init), (gst_pipeline_set_property),
10135 (gst_pipeline_get_property), (gst_pipeline_change_state),
10136 (gst_pipeline_set_auto_flush_bus),
10137 (gst_pipeline_get_auto_flush_bus):
10138 * gst/gstpipeline.h:
10139 Add new API: gst_pipeline_set_auto_flush_bus() and
10140 gst_pipeline_get_auto_flush_bus() to disable automatic
10141 flushing of the pipeline's GstBus when going from READY
10142 to NULL state (#332045).
10144 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10146 * docs/gst/gstreamer-sections.txt:
10147 * gst/gsturi.c: (gst_uri_has_protocol):
10149 Add new API: gst_uri_has_protocol() (#333779).
10151 2006-03-09 Wim Taymans <wim@fluendo.com>
10153 * gst/gstclock.c: (gst_clock_entry_new),
10154 (gst_clock_id_compare_func), (gst_clock_id_wait),
10155 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10156 (gst_clock_init), (gst_clock_get_internal_time),
10157 (gst_clock_set_master), (do_linear_regression),
10158 (gst_clock_add_observation), (gst_clock_set_property):
10162 Fix a possible segfault when the window-size is made smaller.
10163 Calculate jitter before performing the clock wait. Ideally
10164 the clock implementation should calculate jitter but we need
10165 API breakage for that.
10167 * gst/gstsystemclock.c: (gst_system_clock_init):
10170 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10171 Remove leftover else
10173 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10174 (gst_systemclock_suite):
10175 Added check to test GST_CLOCK_DIFF.
10177 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10179 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10180 (gst_type_find_helper_get_range):
10181 If we are provided with the size, we should implement
10182 GstTypeFind::get_length, so that typefind functions who
10183 want to can actually peek at the middle of a file.
10185 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10187 * docs/manual/advanced-dataaccess.xml:
10188 Add some very very basic error checking.
10190 * docs/pwg/appendix-checklist.xml:
10191 Some updates to the list of things to check when writing an element.
10193 2006-03-08 Wim Taymans <wim@fluendo.com>
10195 * docs/design/part-element-transform.txt:
10196 Added some docs about the design of tranform elements.
10198 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10199 (gst_base_src_loop), (gst_base_src_change_state):
10200 Mark buffers with the DISCONT flag.
10202 2006-03-08 Michael Smith <msmith@fluendo.com>
10204 * gst/gstregistry.h:
10205 * gst/gstregistryxml.c: (gst_registry_save),
10206 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10207 (gst_registry_xml_save_pad_template),
10208 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10209 (gst_registry_xml_write_cache):
10210 Rewrite registry-saving to avoid race conditions and check for
10213 2006-03-08 Wim Taymans <wim@fluendo.com>
10215 * libs/gst/base/gstbasetransform.c:
10216 (gst_base_transform_transform_caps),
10217 (gst_base_transform_transform_size),
10218 (gst_base_transform_prepare_output_buffer),
10219 (gst_base_transform_get_unit_size),
10220 (gst_base_transform_buffer_alloc),
10221 (gst_base_transform_handle_buffer),
10222 (gst_base_transform_change_state):
10223 Cleanups, separate normal flow from errors, add sensible
10225 Don't try to renegotiate when allocating an output buffer.
10226 Also copy DISCONT buffer flag when copying a buffer.
10227 Reset the transform after we finish streaming, not during.
10229 2006-03-08 Wim Taymans <wim@fluendo.com>
10231 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10232 Use last buffer timestamp in qos message.
10234 2006-03-07 Wim Taymans <wim@fluendo.com>
10236 Patch by: Christophe Fergeau
10238 * docs/pwg/advanced-tagging.xml:
10239 * docs/pwg/building-pads.xml:
10242 2006-03-07 Wim Taymans <wim@fluendo.com>
10244 * docs/libs/gstreamer-libs-sections.txt:
10245 Added basesink new methods.
10249 Docs updates. Flesh out the QoS docs.
10251 * libs/gst/base/gstadapter.c:
10252 Small doc clarification about ownership and flushing.
10254 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10255 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10256 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10257 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10258 * libs/gst/base/gstbasesink.h:
10260 Added new methods to allow subclass to control max-lateness
10262 Generate very basic QoS events based on last sync observation.
10263 Updated docs, fix typo, added some QoS blurb.
10265 * libs/gst/base/gstbasesrc.c:
10266 Remove obsolete _get_state() calls from docs.
10268 2006-03-07 Wim Taymans <wim@fluendo.com>
10270 * docs/libs/gstreamer-libs-sections.txt:
10271 * libs/gst/base/gstbasetransform.h:
10272 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10273 Fix docs for GstBaseSrc.
10275 2006-03-07 Wim Taymans <wim@fluendo.com>
10277 * docs/gst/gstreamer-sections.txt:
10280 * libs/gst/base/gstbasetransform.h:
10281 Small documentation fixes.
10283 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10286 Document thread-unsafety of gst_value_register_foo_func()
10287 when used at the same time as gst_value_foo() (#322628).
10289 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10291 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10292 (gst_push_src_check_get_range):
10293 Push sources don't support pull mode by default.
10295 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10297 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10298 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10299 (gst_base_src_default_check_get_range):
10300 * libs/gst/base/gstbasesrc.h:
10301 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10302 provide default implementation, and rename
10303 gst_base_src_check_get_range() to
10304 gst_base_src_pad_check_get_range() for clarity.
10306 2006-03-06 Wim Taymans <wim@fluendo.com>
10308 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10309 Make property overridable.
10311 2006-03-06 Wim Taymans <wim@fluendo.com>
10313 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10314 (gst_base_sink_init), (gst_base_sink_set_property),
10315 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10316 * libs/gst/base/gstbasesink.h:
10317 API addition: Make max-lateness a property.
10319 2006-03-06 Wim Taymans <wim@fluendo.com>
10321 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10322 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10323 Don't ever draw a frame that is >10ms late.
10325 2006-03-06 Michael Smith <msmith@fluendo.com>
10327 * gst/gstmessage.c: (_gst_message_copy):
10328 When copying a message, set the parent_refcount of the enclosed
10329 structure to point at the copy, not the original message.
10331 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10333 Patch by: Christophe Fergeau
10336 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10337 usable in c++ code (#333417)
10339 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10342 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10344 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10346 * libs/gst/base/gstbasetransform.c:
10347 (gst_base_transform_transform_caps):
10348 Make sure caps are writable before passing them to
10351 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10354 Fix some minor docs errors.
10356 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10358 Patch by: Ross Burton <ross at burtonini dot com>
10360 * gst/gsterror.c: (_gst_resource_errors_init):
10362 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10364 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10367 Add a check and output a g_warning when GStreamer is built
10368 against GLib 2.6 but running against 2.8 or higher, and vice
10369 versa. (Closes: #323542)
10371 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10373 * gst/parse/parse.l:
10374 Commit patch for parse_launch syntax from #331255. Removes
10375 support for quoted strings and mimetypes when writing filtered
10376 caps. See the bug report for more details - I'm pretty sure this
10377 obscure feature is not in use by _anyone_ anywhere.
10379 With this simple change, the size of the gstreamer.so here
10380 drops from 2193KB to 1565KB.
10382 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10384 * plugins/elements/gsttypefindelement.h:
10385 * plugins/elements/gsttypefindelement.c:
10386 (gst_type_find_element_src_event), (start_typefinding),
10387 (stop_typefinding), (gst_type_find_element_handle_event),
10388 (gst_type_find_element_chain),
10389 (gst_type_find_element_chain_do_typefinding):
10390 Use gst_type_find_helper_for_buffer() for chain-based
10393 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10395 * plugins/elements/gsttypefindelement.c:
10396 (gst_type_find_element_class_init),
10397 (gst_type_find_element_set_property),
10398 (gst_type_find_element_get_property):
10399 Deprecate "maximum" property (not only was it only taken into
10400 account for typefinding in push-mode anyway, it also was never
10401 actually possible to set it in the first place because the
10402 property was registered with the numeric property ID for the
10403 "minimum" property). Register "maximum" property correctly,
10404 for the sake of future copy'n'pasters. Remove some cruft
10405 from property get/set functions.
10407 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10409 * plugins/elements/gsttypefindelement.c:
10410 (gst_type_find_element_activate):
10411 Use gst_type_find_helper_get_range() here, so we
10412 can honour the "minimum" property and also emit
10413 the signal with the correct probability of the found caps.
10415 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10417 * docs/libs/gstreamer-libs-sections.txt:
10418 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10419 (helper_find_suggest), (gst_type_find_helper_get_range),
10420 (gst_type_find_helper):
10421 * libs/gst/base/gsttypefindhelper.h:
10422 New API: gst_type_find_helper_get_range() (#333042).
10424 2006-03-02 Michael Smith <msmith@fluendo.com>
10426 * gst/gstregistryxml.c: (load_feature):
10427 Asserting on a failure to read part of the registry is Not Cool.
10428 Just log a warning and return NULL (which is already handled)
10430 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10432 * win32/common/libgstbase.def:
10433 added export of gst_type_find_helper_for_buffer
10434 * win32/common/libgstbase.def:
10435 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10436 gst_ghost_pad_get_target
10438 2006-02-28 Wim Taymans <wim@fluendo.com>
10440 * docs/design/draft-klass.txt:
10442 Added Connector to mark elements that are only used to
10443 allow pipeline connections.
10444 Moved Debug to extra feature since most of them are
10445 functionally something else.
10447 2006-02-28 Wim Taymans <wim@fluendo.com>
10449 * docs/design/draft-klass.txt:
10450 Some updates and clarifications.
10452 2006-02-28 Wim Taymans <wim@fluendo.com>
10454 * docs/design/draft-klass.txt:
10455 Proposal for klass field values.
10457 * docs/design/part-streams.txt:
10458 Start of a doc describing stream anatomy.
10460 2006-02-28 Wim Taymans <wim@fluendo.com>
10462 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10463 Help the compiler a bit with type registration.
10464 Use existing forward cod path instead of duplicating it when
10465 handling a message.
10467 * gst/gstbus.c: (gst_bus_get_type):
10468 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10469 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10470 * gst/gstclock.c: (gst_clock_get_type):
10471 * gst/gstelement.c: (gst_element_get_type),
10472 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10473 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10474 * gst/gstminiobject.c: (gst_mini_object_get_type):
10475 * gst/gstpad.c: (gst_pad_get_type):
10476 * gst/gstsegment.c: (gst_segment_get_type):
10477 * gst/gststructure.c: (gst_structure_get_type):
10478 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10479 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10481 Help compiler with type registration.
10483 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10486 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10488 * plugins/elements/gsttypefindelement.c:
10489 (gst_type_find_element_handle_event):
10490 When we get an EOS event and have not found a type yet
10491 (most likely because we had not yet accumulated
10492 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10493 type given the data we have so far. Fixes typefinding
10494 for very short streams again, most notably quicktime
10495 redirections as used on Apple's trailer site (#331701).
10497 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10499 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10500 (gst_type_find_helper):
10501 Try typefinding factories with the highest rank first.
10503 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10505 * docs/libs/gstreamer-libs-docs.sgml:
10506 * docs/libs/gstreamer-libs-sections.txt:
10507 * libs/gst/base/gsttypefindhelper.c:
10508 Add section for typefind helper and add documentation
10509 for the old and the new function.
10511 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10513 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10514 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10515 (gst_type_find_helper_for_buffer):
10516 * libs/gst/base/gsttypefindhelper.h:
10517 New API: gst_type_find_helper_for_buffer() (#332723).
10519 2006-02-27 Michael Smith <msmith@fluendo.com>
10521 Patch by: Loïc Minier
10524 * docs/Makefile.am:
10525 * docs/slides/Makefile.am:
10526 prevent CVS directories getting disted.
10528 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10530 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10531 Use the REFCOUNTING category for caps refcounting.
10533 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10535 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10536 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10538 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10540 * plugins/elements/gsttypefindelement.c:
10541 (gst_type_find_element_activate):
10542 Use gst_pad_check_pull_range() before _activate_pull()
10543 to avoid unnecessary open/close (see #331690).
10545 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10548 Docs enhancement: make it crystal clear what the
10549 gst_pad_add_*_probe() callbacks should look like.
10551 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10553 * libs/gst/base/gstbasesrc.c:
10554 Document how applications can stop recording from
10555 live sources (see #330996).
10557 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10559 * tests/check/Makefile.am:
10560 * tests/check/libs/basesrc.c: (eos_event_counter),
10561 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10562 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10563 (gst_basesrc_suite), (main):
10564 ... and add some tests for the base source EOS stuff.
10566 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10568 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10569 Test case originally showed the problem fixed below,
10570 but was then amended. Add checks back at the place
10571 where they used to be.
10573 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10575 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10576 (gst_base_src_init), (gst_base_src_loop),
10577 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10578 (gst_base_src_change_state):
10579 * libs/gst/base/gstbasesrc.h:
10580 Don't unconditionally send EOS when going from PAUSED to
10581 READY state, esp. make sure we don't send two EOS events
10582 in some cases (e.g. one when reaching EOS and one when
10583 going from PAUSED to READY). Also, we don't want to send
10584 EOS events when operating in pull mode. However, we do
10585 want to send an EOS event when shutting down a live
10586 source explicitly, for example (fixes #330996).
10588 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10590 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10591 Update src->read_position after a seek when not using mmap.
10592 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10594 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10600 Make things work with --disable-parse as they do with
10601 --disable-load-save - the symbols involved disappear, but the
10602 header is still installed and GST_DISABLE_PARSE is included via
10605 2006-02-20 Julien MOUTTE <julien@moutte.net>
10607 * libs/gst/base/gstbasetransform.c:
10608 (gst_base_transform_change_state): Fix a stupid bug. I was
10609 sure I compiled that.
10611 2006-02-20 Julien MOUTTE <julien@moutte.net>
10613 * gst/gstpad.c: (gst_pad_set_blocked_async):
10614 * gst/gstutils.c: (gst_pad_add_data_probe),
10615 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10616 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10617 (gst_pad_remove_buffer_probe): Make those function act on the
10618 ghostpad target when it's a ghostpad. (Closes #331727)
10620 2006-02-20 Julien MOUTTE <julien@moutte.net>
10622 * libs/gst/base/gstbasetransform.c:
10623 (gst_base_transform_change_state): Make basetransform reusable.
10626 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10628 * docs/random/release:
10629 Move the current documentation of how to do a release to the top
10632 * gst/gstbin.c: (gst_bin_class_init),
10633 (gst_bin_handle_message_func):
10634 Allow multiple state-recalculation threads. (Closes #328873)
10636 2006-02-19 Julien MOUTTE <julien@moutte.net>
10638 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10639 * gst/gstpad.c: (gst_pad_set_event_function),
10640 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10641 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10642 2 strings. You can't use the STR_NULL macro on that.
10644 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10646 * gst/gstpad.c: (gst_pad_set_event_function),
10647 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10648 (gst_pad_set_getcaps_function)
10649 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10650 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10651 So now, we can use --gst-debug-level=5 on Windows
10652 * win32/common/libgstcontroller.def:
10653 Added export of gst_controller_init
10654 * win32/vs6/libgstcontroller.dsp:
10655 Fixed Release post build configuration
10657 2006-02-17 Wim Taymans <wim@fluendo.com>
10659 * tests/check/gst/gstquery.c: (GST_START_TEST):
10660 Added another check.
10662 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10664 * plugins/elements/gsttypefindelement.c: (find_peek):
10665 We can do peeks at non-zero offsets, as long as they
10666 fall within the buffer we have.
10668 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10670 * tests/check/Makefile.am:
10671 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10672 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10673 (parse_suite), (main):
10674 Add testsuite for parse launch syntax
10676 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10678 * plugins/elements/gsttypefindelement.c:
10679 (gst_type_find_element_chain):
10680 When typefinding is unsuccessful in the chain function, don't
10681 error out immediately. Only error out with NO_CAPS_FOUND if
10682 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10683 otherwise simply wait for more data so we can try typefinding
10684 again with more data later. Also, don't attempt to typefind
10685 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10686 this should improve typefinding from network sources where the
10687 size of the first buffer can be somewhat random.
10689 2006-02-14 Wim Taymans <wim@fluendo.com>
10691 * docs/gst/gstreamer-sections.txt:
10692 * gst/gstpadtemplate.c:
10693 * gst/gstpadtemplate.h:
10694 Fix padtemplate docs, fixes #328805.
10696 2006-02-14 Wim Taymans <wim@fluendo.com>
10698 * tools/gst-launch.c: (main):
10699 NO_PREROLL is not an ERROR so don't send confusing messages
10702 2006-02-14 Wim Taymans <wim@fluendo.com>
10704 Patch by: Torsten Schoenfeld
10706 * gst/gstregistry.c: (gst_registry_get_default),
10707 (_gst_registry_cleanup):
10708 Protect default registry with lock and ref/sink it.
10711 2006-02-14 Wim Taymans <wim@fluendo.com>
10714 * gst/gstquery.c: (gst_query_list_add_format),
10715 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10716 (gst_query_parse_formats_nth):
10717 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10720 2006-02-14 Wim Taymans <wim@fluendo.com>
10722 * docs/gst/gstreamer-sections.txt:
10723 Reworked query docs.
10725 * gst/gstquery.c: (gst_query_new_formats),
10726 (gst_query_list_add_format), (gst_query_set_formats),
10727 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10728 (gst_query_parse_formats_nth):
10730 Flesh out formats query, added some new methods.
10731 Fix part of #324398.
10733 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10734 Added query creation tests.
10736 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10738 * gst/gstpad.c: (fixate_value):
10739 Add a default fixation for fraction lists.
10741 2006-02-13 Wim Taymans <wim@fluendo.com>
10743 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10744 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10747 Detect and warn for obvious deadlocks. fixes #320340
10748 Fix error case where lock was not released.
10750 * tests/check/Makefile.am:
10751 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10752 (task_func), (gst_element_suite), (main):
10755 2006-02-13 Wim Taymans <wim@fluendo.com>
10757 * docs/gst/gstreamer-sections.txt:
10759 Add new functions to docs.
10761 2006-02-13 Wim Taymans <wim@fluendo.com>
10763 * docs/design/part-TODO.txt:
10764 Updated TODO list, basesrc supports seeking to non-bytes
10767 * docs/design/part-element-sink.txt:
10770 * gst/gstbin.c: (bin_replace_message),
10771 (gst_bin_handle_message_func):
10772 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10773 * gst/gstevent.c: (gst_event_finalize):
10774 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10775 (gst_pad_send_event):
10776 Use shiny new _TYPE_NAME macros.
10778 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10779 Move debug statement up.
10781 * gst/gstelement.c: (gst_element_set_locked_state):
10782 Add some debugging.
10784 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10786 * docs/gst/gstreamer-sections.txt:
10787 * gst/gstmessage.h:
10789 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10790 macros (#330906). Also, document the already existing
10791 GST_QUERY_TYPE macro.
10793 2006-02-13 Wim Taymans <wim@fluendo.com>
10795 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10796 (event_probe), (GST_START_TEST):
10797 Only events up to the pipeline EOS are counted, there are
10798 some more when going to NULL currently which we don't care
10801 2006-02-13 Wim Taymans <wim@fluendo.com>
10803 * gst/gstpad.c: (gst_pad_send_event):
10804 Correctly check flushing and emit probes. fixes #330125
10806 2006-02-10 Andy Wingo <wingo@pobox.com>
10808 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10810 (gst_bus_init): Cache the location of the private data in the
10811 instance structure.
10812 (gst_bus_enable_sync_message_emission)
10813 (gst_bus_disable_sync_message_emission): Implement new public
10815 (gst_bus_post): Emit the sync-message signal if the user asked for
10818 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10819 location of the bus-private structure.
10820 (gst_bus_enable_sync_message_emission)
10821 (gst_bus_disable_sync_message_emission): API addition
10823 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10825 Patch by: Vincent Torri
10827 * docs/pwg/building-boiler.xml:
10828 PWG patch from #326800
10830 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10833 * docs/Makefile.am:
10834 * docs/design/Makefile.am:
10837 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10842 === release 0.10.3 ===
10844 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10847 releasing 0.10.3, "Like a virgin"
10849 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10852 2nd prerelease of 0.10.3
10853 Bump libtool versioning.
10855 2006-02-07 Andy Wingo <wingo@pobox.com>
10857 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10858 update last_stop if we're in TIME format and the timestamp is
10861 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10862 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10863 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10864 If we get a new newsegment with a different format, adapt
10867 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10868 of 0. Not a problem, really.
10870 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10873 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10878 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10881 project files updated to the default vs7 configuration
10882 * win32/common/libgstbase.def:
10883 * win32/common/libgstreamer.def:
10885 removed empty lines,
10886 sorted all exported symbols alphabetically
10887 * win32/common/dirent.c:
10888 * win32/common/dirent.h:
10889 * win32/common/gchar.h:
10890 use windows line end.
10892 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10894 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10895 Send EOS event when stopping.
10897 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10900 Tell folks what to do if the plugin-foobar.xml file
10901 hasn't been generated for a newly-added plugin.
10903 2006-02-05 Julien MOUTTE <julien@moutte.net>
10905 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10906 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10907 (gst_collect_pads_start), (gst_collect_pads_stop),
10908 (gst_collect_pads_event): Collectpads now holds a reference
10909 to the GstPad that was added. Indeed we don't want to look
10910 at pads that might just go away with no warning...
10912 2006-02-05 Julien MOUTTE <julien@moutte.net>
10914 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10915 (gst_collect_pads_start), (gst_collect_pads_stop),
10916 (gst_collect_pads_event), (gst_collect_pads_chain):
10917 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10918 Mark Nauwelaerts's patch on bug #328491.
10920 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10922 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10924 Add some simple tests for gst_parse_bin_from_description() and
10925 gst_bin_find_unconnected_pad() (#329069).
10927 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10929 * tools/gst-launch.c: (event_loop), (main):
10930 Catch errors during preroll (#320084).
10932 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10934 * plugins/elements/gsttypefindelement.c:
10935 (gst_type_find_element_activate):
10936 Post TYPE_NOT_FOUND error message when typefinding
10937 is unsuccessful in the activate function as well.
10939 2006-02-02 Wim Taymans <wim@fluendo.com>
10941 * docs/design/part-element-sink.txt:
10944 2006-02-02 Wim Taymans <wim@fluendo.com>
10946 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10947 (gst_base_sink_render_object),
10948 (gst_base_sink_queue_object_unlocked):
10949 Only keep track of prerollable items when we are
10951 Before rendering after preroll, always check if we
10953 Added some more debugging.
10955 2006-02-02 Wim Taymans <wim@fluendo.com>
10957 * gst/gstelement.c: (gst_element_continue_state),
10958 (gst_element_set_state_func), (gst_element_change_state):
10959 Fixed #326576, been running this for quite some time with
10960 no regressions at all.
10962 2006-02-02 Wim Taymans <wim@fluendo.com>
10965 Added more suppressions
10967 2006-02-02 Wim Taymans <wim@fluendo.com>
10969 * docs/design/part-element-sink.txt:
10972 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10973 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10974 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10975 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10976 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10977 (gst_base_sink_preroll_object),
10978 (gst_base_sink_queue_object_unlocked),
10979 (gst_base_sink_queue_object), (gst_base_sink_event),
10980 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10981 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10982 (gst_base_sink_get_position), (gst_base_sink_change_state):
10983 * libs/gst/base/gstbasesink.h:
10984 Totally refactored matching the design doc.
10985 Use two segments, one to clip incomming buffers and another to
10987 Handle queueing correctly, bypass the queue when playing.
10988 Make EOS cancelable.
10989 Handle errors correctly when operating in pull based mode.
10991 * tests/check/elements/fakesink.c: (GST_START_TEST),
10993 Added new check for sinks.
10995 2006-02-02 Wim Taymans <wim@fluendo.com>
10997 * gst/gstsegment.c: (gst_segment_clip):
10998 No reason to refuse to clip when start == -1
11000 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11003 * docs/manual/intro-basics.xml:
11004 * docs/manual/intro-preface.xml:
11005 * docs/manual/manual.xml:
11006 * docs/pwg/advanced-dparams.xml:
11007 * docs/pwg/intro-basics.xml:
11008 * docs/pwg/intro-preface.xml:
11009 * docs/pwg/pwg.xml:
11010 describe dparams (controller) for plugins
11011 unify docs a little more
11013 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11015 * docs/gst/gstreamer-sections.txt:
11016 * gst/gstutils.c: (element_find_unconnected_pad),
11017 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11019 Add new API: gst_parse_bin_from_description() and
11020 gst_bin_find_unconnected_pad() (#329069).
11022 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11024 * docs/manual/README:
11025 uncover a nasty detail of the docs build
11027 2006-01-31 Wim Taymans <wim@fluendo.com>
11029 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11030 Don't cache duration messages if we're not going to use or
11033 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11035 * docs/manual/advanced-dparams.xml:
11036 * docs/pwg/advanced-dparams.xml:
11040 * libs/gst/controller/lib.c: (gst_controller_init):
11043 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11045 * gst/gstelement.c: (gst_element_message_full):
11046 also show file/line/func if no additional debug was given
11048 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11050 * win32/vs7/grammar.vcproj:
11051 activate copy of autogenerated files for Release mode
11053 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11055 * win32/common/libgstreamer.def:
11056 export gst_value_compare
11058 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11060 * plugins/elements/Makefile.am:
11061 * plugins/elements/gstelements.c:
11062 * plugins/elements/gstfdsink.c: (_do_init),
11063 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11064 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11065 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11066 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11067 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11068 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11069 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11070 * plugins/elements/gstfdsink.h:
11071 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11073 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11075 * docs/manual/advanced-dparams.xml:
11076 describe controller
11077 * docs/manual/advanced-position.xml:
11078 * docs/manual/basics-init.xml:
11079 * docs/manual/manual.xml:
11080 * docs/manual/titlepage.xml:
11081 * docs/pwg/pwg.xml:
11082 * docs/pwg/titlepage.xml:
11083 cleanup xml (more to come)
11084 * libs/gst/controller/gstcontroller.c:
11087 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11089 * win32/vs6/grammar.dsp:
11090 add autogen of gstmarshal.c,h for Release mode
11092 2006-01-30 Wim Taymans <wim@fluendo.com>
11094 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11095 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11096 (gst_base_sink_handle_object), (gst_base_sink_event),
11097 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11098 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11099 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11100 (gst_base_sink_deactivate), (gst_base_sink_activate),
11101 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11102 (gst_base_sink_query), (gst_base_sink_change_state):
11103 Basesink cleanups, remove some old code.
11104 Handle the case where a subclass can preroll in the render
11105 method (mostly audiosinks).
11106 Handle more events.
11107 Remove some locks around variables that are now protected
11108 with the PREROLL_LOCK (clock_id, flushing, ..).
11109 Optimize position query some more, do correct locking.
11110 Remove old code to push queue in state change, this is not
11111 needed anymore since preroll blocks on all prerollable items
11113 Almost implemented as described in design doc.
11115 2006-01-30 Wim Taymans <wim@fluendo.com>
11117 * tests/check/gst/gstbin.c: (GST_START_TEST):
11118 Wait for refcount to settle down before checking.
11120 2006-01-30 Wim Taymans <wim@fluendo.com>
11122 * docs/design/part-element-sink.txt:
11123 Pseudo code overview of desired sink behaviour regarding
11126 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11127 * win32/vs6/grammar.dsp:
11128 fix some bugs in Release mode for autogenerated files
11130 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11131 * win32/common/libgstbase.def:
11132 * win32/common/libgstreamer.def:
11133 export some new symbols: gst_base_src_set_format,
11134 gst_iterator_next, gst_structure_set_valist
11136 2006-01-29 Julien MOUTTE <julien@moutte.net>
11138 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11139 Set pad functions unconditionally. Fixes #329105.
11141 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11143 add vs8 project files created by Sergey Scobich
11145 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11147 * gst/gstutils.c: (gst_element_unlink_pads):
11148 Don't leak pad references.
11150 * tests/check/elements/fakesink.c: (GST_START_TEST):
11151 * tests/check/generic/sinks.c: (GST_START_TEST):
11152 * tests/check/generic/states.c: (GST_START_TEST):
11153 * tests/check/gst/gstbin.c: (GST_START_TEST):
11154 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11155 * tests/check/gst/gstelement.c: (GST_START_TEST):
11156 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11157 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11158 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11159 Fix a bunch of leaks. Make generic/sinks.c
11160 use a bit less cpu by slowing the buffer rate
11161 between fakesrc and fakesink.
11163 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11165 * gst/gstelement.c: (gst_element_send_event):
11168 * gst/gstiterator.c:
11169 * gst/gstiterator.h:
11170 * gst/gstpad.c: (gst_pad_send_event):
11171 * gst/gststructure.c:
11175 * libs/gst/base/gstadapter.c:
11176 doc fixes, to link to function, just write gst_cool_function(), don't
11179 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11181 * plugins/elements/gsttee.c: (gst_tee_do_push),
11182 (gst_tee_handle_buffer):
11183 Always prefer an actual return value from a src
11184 pad in place of NOT_LINKED. This means we return
11185 WRONG_STATE when all src pads are WRONG_STATE
11186 instead of NOT_LINKED.
11188 Lock when replacing the last message to prevent
11189 racing with the get_property method.
11193 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11195 * tests/check/Makefile.am:
11196 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11198 Add a very simple check that should have caught the memleak I fixed
11199 last night (if not for the slice allocator hiding it)
11201 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11203 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11204 (gst_bin_remove_func), (gst_bin_handle_message_func),
11205 (bin_query_duration_fold), (bin_query_generic_fold):
11206 Clean up references to the clock provider when disposed or when
11207 handling a clock-lost message from it.
11209 Unref sinks when performing a query via gst_iterator_fold, as the
11210 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11212 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11213 (gst_clock_set_master):
11214 Drop our reference to the master clock, if any, when we are disposed.
11216 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11217 Chain up in dispose.
11219 2006-01-26 Wim Taymans <wim@fluendo.com>
11221 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11222 Add some debugging.
11224 2006-01-26 Julien MOUTTE <julien@moutte.net>
11226 * plugins/elements/gsttee.c: (gst_tee_do_push),
11227 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11228 handles pad being NOT_LINKED or in WRONG_STATE.
11230 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11235 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11238 remove obsolete entry
11240 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11242 * docs/gst/gstreamer-sections.txt:
11243 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11244 (gst_bin_iterate_sources), (gst_bin_send_event):
11246 * gst/gstelement.c: (gst_element_send_event):
11248 * gst/gstpad.c: (gst_pad_send_event):
11249 added code for downstream events, reviewed docs in gstevent.c
11251 2006-01-25 Julien MOUTTE <julien@moutte.net>
11253 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11254 We only query position using the clock in the playing state.
11255 Query peer in the other cases.
11256 * win32/common/config.h: Updates.
11258 2006-01-24 Wim Taymans <wim@fluendo.com>
11260 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11261 A clock entry that is scheduled for the exact time of the
11262 clock is still in time.
11264 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11265 (gst_base_sink_do_sync):
11266 Add some more debug info.
11268 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11271 Add new vs7 project files and solution.
11273 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11276 all files removed as they were out-dated.
11278 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11280 * docs/random/release:
11282 * gst/gstbin.c: (gst_bin_init):
11283 * gst/gstbus.c: (gst_bus_new):
11285 * gst/gstpipeline.c: (gst_pipeline_init):
11286 use gst_bus_new(), improve logging, fix docs
11287 * win32/common/config.h:
11288 update for cvs build
11290 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11293 up required version of automake to 1.7
11295 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11297 * win32/common/libgstreamer.def:
11298 export gst_buffer_is_metadata_writable
11300 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11302 * docs/gst/gstreamer-sections.txt:
11304 Add gst_event_replace() (#327001)
11306 2006-01-20 Wim Taymans <wim@fluendo.com>
11308 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11309 Make it actually compile too..
11311 2006-01-20 Wim Taymans <wim@fluendo.com>
11314 Clarify behaviour of _is_equal() when passing NULL parameters.
11316 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11317 (gst_pad_set_caps):
11318 Cleanups. Don't unref NULL caps.
11319 When setting the same caps, protect caps of the pad with
11321 Use full functionality of _is_equal() when comparing caps.
11323 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11325 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11326 Don't loop infinitely if there are no buffers to present. Partially
11327 fixes #327197, but collectpads is just broken for reusing elements
11328 to do multiple encodes atm.
11330 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11332 * tools/gst-inspect.c: (print_element_features):
11333 * tools/gst-xmlinspect.c: (main):
11334 URL_HANDLER is not a plugin feature we can search for in
11337 2006-01-19 Edward Hervey <edward@fluendo.com>
11339 * gst/gstelement.c: (gst_element_pads_activate):
11340 When activating, do src pads first, then sink pads.
11341 When de-activating, do sink pads first, then src pads.
11343 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11345 * docs/gst/gstreamer-sections.txt:
11346 Add gst_index_add_associationv to the docs
11348 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11353 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11354 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11355 Do some refactoring. Doesn't actually change functionality,
11356 but makes landing the DRAIN event easier later.
11358 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11360 * docs/pwg/advanced-scheduling.xml:
11361 Update from 0.9.x to 0.10 API and make example a bit
11364 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11366 * docs/gst/gstreamer-sections.txt:
11367 Add gst_buffer_(is|make)_metadata_writable methods.
11369 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11371 * docs/design/part-sparsestreams.txt:
11372 Update sparse streams doc, hopefully for greater clarity
11374 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11376 * docs/design/part-events.txt:
11377 Remove mention of FILLER events.
11380 * docs/design/part-sparsestreams.txt:
11381 Write some things about using NEWSEGMENT to keep sparse streams
11384 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11386 * gst/gstbin.c: (gst_bin_dispose):
11387 Guard gst_object_unref call against a NULL object (dispose
11388 can theoretically be called multiple times).
11390 2006-01-18 Wim Taymans <wim@fluendo.com>
11392 * gst/gstbin.c: (gst_bin_element_set_state):
11393 * gst/gstclock.c: (gst_clock_id_wait):
11394 Added some more debug info.
11396 * libs/gst/base/gstadapter.c:
11399 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11400 (gst_base_sink_do_sync), (gst_base_sink_chain):
11401 Added some comments.
11403 2006-01-18 Wim Taymans <wim@fluendo.com>
11405 * tests/check/Makefile.am:
11406 * tests/check/elements/fakesink.c: (chain_async_buffer),
11407 (chain_async), (chain_async_return), (GST_START_TEST),
11408 (fakesink_suite), (main):
11409 Added fakesink test that checks prerolling and clipping
11412 * tests/check/gst/gstutils.c: (GST_START_TEST):
11413 Make check run faster so that buildbots don't timeout.
11415 2006-01-18 Wim Taymans <wim@fluendo.com>
11417 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11418 (gst_base_sink_do_sync):
11420 When the sink finishes blocking on the preroll buffer, it can
11421 immediatly render it instead of rendering when the next buffer
11424 2006-01-18 Wim Taymans <wim@fluendo.com>
11426 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11427 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11428 (gst_base_sink_chain):
11430 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11431 Don't store _last_stop if the buffer is dropped.
11433 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11435 * plugins/elements/gsttypefindelement.c:
11436 (gst_type_find_element_class_init):
11437 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11438 object method handler that sets the caps on the pad and we want
11439 that to happen before we emit the signal (fixes e.g. feeding a
11440 plain text file to decodebin).
11442 2006-01-18 Christian Schaller <Christian@fluendo.com>
11444 * gst/gstplugin.c: Add MPL and Proprietary as license options
11446 2006-01-18 Andy Wingo <wingo@pobox.com>
11448 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11449 symbol was exported before, it appears this was just an oversight.
11451 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11453 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11454 prototype to gint. OK since this prototype was not in the header.
11456 2006-01-17 Andy Wingo <wingo@pobox.com>
11458 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11459 registry while we remove plugins.
11461 * tools/gst-inspect.c (print_element_info): Don't unref the
11462 factory arg, that should be the responsibility of whatever code
11463 received the ref. Fixes a double-free when called from
11464 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11465 (main): Unref the factory if we have one.
11466 (print_element_list): No change -- relies on the
11467 plugin_feature_list_free to free the list of features.
11469 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11471 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11472 (gst_buffer_make_metadata_writable):
11474 * libs/gst/base/gstbasetransform.c:
11475 (gst_base_transform_prepare_output_buf):
11476 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11477 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11478 Replace gst_buffer_(make|is)_metadata_writable patch now
11479 that the release is out.
11481 2006-01-17 Andy Wingo <wingo@pobox.com>
11483 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11484 in the present tense without reference to versions.
11486 * gst/gstregistry.c (gst_registry_add_plugin)
11487 (gst_registry_remove_plugin, gst_registry_remove_feature)
11488 (gst_registry_find_feature, gst_registry_get_feature_list)
11489 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11490 (gst_registry_lookup, gst_registry_scan_path)
11491 (_gst_registry_remove_cache_plugins)
11492 (gst_registry_get_feature_list_by_plugin): Add argument
11495 === release 0.10.2 ===
11497 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11500 releasing 0.10.2, "If man is five"
11502 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11506 * libs/gst/base/gstbasetransform.c:
11507 (gst_base_transform_prepare_output_buf):
11508 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11509 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11510 Back out patch until after the release.
11512 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11514 * gst/gstminiobject.c:
11515 Spelling fix in docs.
11516 * ChangeLog - remove conflict indicator
11518 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11520 Reviewed By: Andy Wingo
11522 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11523 (gst_buffer_make_metadata_writable):
11525 Add gst_buffer_(is|make)_metadata_writable as analogues of
11526 gst_buffer_(is|make)_writable.
11528 * libs/gst/base/gstbasetransform.c:
11529 (gst_base_transform_prepare_output_buf):
11530 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11531 Use name gst_buffer_(is|make)_metadata_writable functions.
11533 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11534 Test gst_buffer_(is|make)_metadata_writable
11538 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11540 * docs/manual/Makefile.am:
11541 don't do parallel make
11544 * win32/common/config.h.in:
11545 add generations for HOST_CPU and GST_MAJORMINOR
11546 * win32/common/config.h:
11547 commit generated result
11549 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11551 * docs/manual/appendix-integration.xml:
11552 Update GNOME integration section to use gst_init_get_option_group()
11553 instead of the old popt stuff (#322911). Also, GNOME applications
11554 should now use gconf*sink and gconf*src instead of the old gconf
11557 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11560 * docs/gst/gstreamer-docs.sgml:
11561 * docs/gst/gstreamer-sections.txt:
11562 * docs/libs/gstreamer-libs-sections.txt:
11563 add new API entries to the docs
11564 * libs/gst/controller/Makefile.am:
11565 * libs/gst/controller/gstcontroller.c:
11566 * libs/gst/controller/gstcontroller.h:
11567 * libs/gst/controller/gstcontrollerprivate.h:
11568 * libs/gst/controller/gsthelper.c:
11569 * libs/gst/controller/gstinterpolation.c:
11570 move private structs to private header
11572 gstreamer-0.7 -> gstreamer-0.10
11573 * tests/check/libs/struct_i386.h:
11574 remove private structs
11576 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11578 * plugins/indexers/Makefile.am:
11579 Fixes as part of #317048
11581 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11583 * plugins/indexers/Makefile.am:
11584 fix #316086 - compilation when mmap is missing
11586 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11588 * libs/gst/base/gstbasesink.c:
11589 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11590 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11591 * win32/common/config.h:
11592 added some defines GST_MAJORMINOR and HOST_CPU
11593 * win32/common/libgstbase.def:
11594 * win32/common/libgstreamer.def:
11595 added some exported functions.
11597 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11599 * libs/gst/controller/gstcontroller.c:
11600 (gst_controlled_property_set_interpolation_mode),
11601 (gst_controlled_property_new):
11602 * libs/gst/controller/gstcontroller.h:
11603 * libs/gst/controller/gstinterpolation.c:
11604 (interpolate_none_get_string_value_array):
11605 make G_TYPE_STRING controlable
11607 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11610 * tools/gst-feedback.1.in:
11611 * tools/gst-inspect.1.in:
11612 * tools/gst-launch.1.in:
11613 * tools/gst-md5sum.1.in:
11614 * tools/gst-typefind.1.in:
11615 * tools/gst-xmlinspect.1.in:
11616 * tools/gst-xmllaunch.1.in:
11617 cleanup man-pages, remove reference to gst-register, document env-vars
11619 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11621 * gst/gstbuffer.c: (gst_buffer_span):
11622 gst_buffer_span should copy the timestamp of the first buffer
11623 if they were both originally overlapping subbuffers of the
11624 same parent, using the same logic as the 'slow copy' case.
11626 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11628 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11629 Need to awaken ALL the pads when we pop a buffer, otherwise
11630 collectpads only works when there is 2 input streams.
11632 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11634 * docs/random/ensonic/media-device-daemon.txt:
11637 fix doc example, add clarification
11638 * tools/gst-launch.1.in:
11639 add initial info about GST_PLUGIN_PATH, needs more work
11641 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11643 * docs/manual/basics-bins.xml:
11644 * docs/manual/basics-elements.xml:
11645 * docs/manual/intro-basics.xml:
11646 Some more minor docs additions and updates.
11648 2006-01-11 Wim Taymans <wim@fluendo.com>
11650 * docs/manual/basics-bins.xml:
11651 * docs/manual/basics-elements.xml:
11652 Some small fixes as pointed out by Ser-ver on IRC.
11654 2006-01-10 Edward Hervey <edward@fluendo.com>
11656 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11657 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11658 the single-segment mode.
11660 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11662 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11664 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11665 (gst_base_src_perform_seek), (gst_base_src_send_event),
11666 (gst_base_src_set_property), (gst_base_src_get_property),
11667 (gst_base_src_loop), (gst_base_src_start),
11668 (gst_base_src_activate_push):
11669 * libs/gst/base/gstbasesrc.h:
11670 Name (private) union; makes Sun's Forte compiler happy (#324900).
11672 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11675 gst-register is gone.
11677 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11679 * gst/gstvalue.c: (_gst_value_initialize):
11680 make the G_TYPE_DATE instantiation work if debug is disabled
11682 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11684 * gst/gstmessage.c: (gst_message_parse_tag),
11685 (gst_message_parse_error), (gst_message_parse_warning):
11686 Don't crash when return location for error/warning debug
11687 string is NULL; add fact that return locations can be
11688 NULL to docs where appropriate.
11690 2006-01-05 Wim Taymans <wim@fluendo.com>
11692 * gst/gstplugin.c: (gst_plugin_load_file):
11693 Replace strdup by g_strdup.
11695 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11697 * docs/pwg/advanced-types.xml:
11700 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11702 submitted by: Abel Cheung
11706 Added Chinese (traditional) translation
11708 2006-01-04 Wim Taymans <wim@fluendo.com>
11710 * docs/manual/basics-pads.xml:
11711 * docs/plugins/Makefile.am:
11712 * docs/plugins/gstreamer-plugins-docs.sgml:
11713 * docs/plugins/gstreamer-plugins-sections.txt:
11714 * docs/pwg/advanced-clock.xml:
11715 * docs/pwg/advanced-scheduling.xml:
11716 * docs/pwg/advanced-types.xml:
11717 * plugins/elements/gstfdsink.c:
11718 * plugins/elements/gstfdsrc.c:
11719 * plugins/elements/gstfdsrc.h:
11720 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11721 * plugins/elements/gstidentity.h:
11722 * plugins/elements/gstqueue.h:
11723 * plugins/elements/gsttee.c:
11724 * plugins/elements/gsttee.h:
11725 * plugins/elements/gsttypefindelement.c:
11726 (gst_type_find_element_class_init):
11727 * plugins/elements/gsttypefindelement.h:
11728 Small updates to various docs.
11729 Added core plugins to docs.
11731 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11734 add a suppression for liboil's uninitialized variable
11736 2006-01-02 James Livingston <jrl at ids dot org dot au>
11738 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11741 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11742 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11743 compiler switch is being used (#325429).
11745 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11747 * gst/gstbin.c: (gst_bin_query):
11748 Disable duration query caching in bins until it gets
11749 fixed (see #324807).
11751 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11753 * tools/gst-inspect.c: (print_element_properties_info):
11754 Handle properties of POINTER and BOXED type.
11756 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11758 * gst/gst.c: (init_post):
11759 Init tags stuff and some other things before loading
11760 any static plugins (there may be other static plugins
11761 than just the GStreamer ones, and they may want to
11762 register their own tags or formats or whatever, and
11763 preferably without segfaulting).
11765 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11766 Print at least a warning in the debug logs if we drop a
11767 query just because we don't know how to adjust the value
11768 in the particular format.
11770 2005-12-24 David Schleef <ds@schleef.org>
11772 * tools/gstreamer-completion:
11773 Replacement for gst-complete written in sh and sed. Only
11774 completes names of features, but that's 90% of what I want
11775 it for. Properties are not available in registry.xml. (Maybe
11778 === release 0.10.1 ===
11780 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11783 releasing 0.10.1, "Nollaig chridheil"
11785 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11787 * docs/faq/cvs.xml:
11788 Add missing quote, should be make ERROR_CFLAGS="".
11790 2005-12-20 Wim Taymans <wim@fluendo.com>
11792 * docs/design/part-trickmodes.txt:
11793 More documentation on trickmodes.
11795 2005-12-20 Edward Hervey <edward@fluendo.com>
11797 * gst/gstcaps.c: (gst_static_caps_get_type):
11799 API addition: GST_TYPE_STATIC_CAPS
11800 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11801 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11802 * gst/gstpadtemplate.h:
11803 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11804 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11807 2005-12-18 Wim Taymans <wim@fluendo.com>
11809 * libs/gst/base/gstadapter.c:
11810 * libs/gst/base/gstadapter.h:
11811 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11812 (gst_base_sink_get_position):
11813 * libs/gst/base/gstbasesink.h:
11814 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11815 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11816 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11817 (gst_base_src_send_event), (gst_base_src_update_length),
11818 (gst_base_src_get_range), (gst_base_src_loop),
11819 (gst_base_src_start):
11820 * libs/gst/base/gstbasesrc.h:
11821 * libs/gst/base/gstbasetransform.h:
11822 * libs/gst/base/gstcollectpads.h:
11823 * libs/gst/base/gstpushsrc.c:
11824 * libs/gst/base/gstpushsrc.h:
11825 * libs/gst/dataprotocol/dataprotocol.c:
11826 * libs/gst/dataprotocol/dataprotocol.h:
11827 * libs/gst/net/gstnetclientclock.h:
11828 * libs/gst/net/gstnettimeprovider.h:
11829 Documentation updates.
11831 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11833 * docs/manual/basics-helloworld.xml:
11834 Remove superfluous closing bracket in helloworld example.
11836 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11838 * tools/gst-launch.1.in:
11839 Update gst-launch man page; add a section with useful
11840 environment variables. Fixes #323882.
11842 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11845 * gst/gst_private.h:
11846 change some char* into char[]
11848 2005-12-16 Wim Taymans <wim@fluendo.com>
11850 * gst/gstregistryxml.c: (load_feature):
11852 Don't use g_object_unref on GstObjects so that we avoid
11853 leaks on unsafe glibs.
11855 2005-12-16 Wim Taymans <wim@fluendo.com>
11857 * gst/gstbin.c: (gst_bin_recalc_state):
11860 2005-12-16 Wim Taymans <wim@fluendo.com>
11862 * common/check.mak:
11863 Added make forever target for check.
11865 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11867 * gst/gst.c: (init_post):
11868 make the registry cache file HOST_CPU-dependent
11870 2005-12-16 Andy Wingo <wingo@pobox.com>
11872 * plugins/elements/gstbufferstore.c
11873 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11876 * tests/check/gst/gstobject.c
11877 (test_fake_object_name_threaded_unique): Pay attention to
11878 g_list_sort return value.
11880 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11882 * tools/gst-feedback-m.m:
11883 Update for 0.9/0.10 (fixes #323870).
11885 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11887 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11888 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11890 * tests/check/gst/gstminiobject.c: (my_foo_init),
11891 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11892 (test_value_collection), (gst_mini_object_suite):
11893 Add test to ensure refcounts end up as expected when passing
11894 GstMiniObjects through g_object_get() and g_object_set().
11896 2005-12-14 Julien MOUTTE <julien@moutte.net>
11898 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11899 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11900 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11901 of collectpads. This version removes a lot of races without
11902 touching API/ABI. Yay !
11904 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11906 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11907 Don't allow activation of a srcpad in pull_range if it has no
11909 Change some debug statements to be a little clearer
11911 * plugins/elements/gsttypefindelement.c:
11912 (gst_type_find_handle_src_query):
11913 Check that we have a peer before executing queries thereupon.
11915 * tests/examples/metadata/read-metadata.c: (message_loop):
11916 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11917 immediately return us any available message with 0 timeout.
11919 2005-12-12 Michael Smith <msmith@fluendo.com>
11921 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11922 Don't unref factories after calling them.
11923 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11924 * plugins/elements/gsttypefindelement.c:
11925 (gst_type_find_element_chain):
11926 Free lists of factories after using them. Fixing typefinding memory
11929 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11931 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11932 (gst_plugin_feature_load):
11933 more meaningful debug output
11935 * tests/Makefile.am:
11936 * tests/old/examples/Makefile.am:
11937 make make distcheck happy again
11939 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11941 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11942 Catch the special case where we are operating chain-based,
11943 but the downstream peer pad has no chain function. Emit a
11944 custom error message in this case instead of letting the
11945 core generate one implying that this is some sort of core
11946 bug. It's not, it just means that whatever got plugged
11947 into the pipeline downstream when we announced the type
11948 can only operate pull-based, while our source can only
11949 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11950 Error string has not been marked for translation yet, as
11951 it probably needs some more work first.
11953 (gst_type_find_element_get_best_possibility):
11954 Add helper function to find the best of all available
11955 found possibilities that qualify given the min. threshold.
11957 (gst_type_find_element_handle_event):
11958 Fix the case where we get an EOS while still in TYPEFIND
11959 mode (we want to chose the best of all possible types,
11960 not just the first type that happens to be in our unsorted
11961 list of possible types).
11963 (gst_type_find_element_chain):
11964 Make sure we return GST_FLOW_ERROR when we errored out
11965 in stop_typefinding(); also, don't just find the best of
11966 all found type entries and then use the last examined
11967 type entry, but actually use the best entry.
11969 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11971 * tests/examples/typefind/typefind.c: (type_found):
11972 * tests/examples/xml/runxml.c: (xml_loaded):
11973 More gcc4 fixes and a mem leak fix.
11975 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11977 * tests/examples/xml/createxml.c: (object_saved):
11980 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11982 * tests/Makefile.am:
11983 enable the examples even more
11985 2005-12-12 Andy Wingo <wingo@pobox.com>
11987 * libs/gst/net/gstnettimeprovider.c
11988 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11989 (gst_net_time_provider_set_property)
11990 (gst_net_time_provider_get_property):
11991 API addition: Export "active" as a GObject property.
11992 (gst_net_time_provider_thread): Only respond to time queries if
11993 the time provider is active.
11995 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11996 NetTimeProvider, preserving binary compat.
11998 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12000 * tests/examples/controller/audio-example.c: (main):
12001 * tests/examples/launch/Makefile.am:
12002 convert comments again
12004 2005-12-12 Wim Taymans <wim@fluendo.com>
12006 * libs/gst/base/gstpushsrc.c:
12009 2005-12-12 Wim Taymans <wim@fluendo.com>
12011 * docs/libs/gstreamer-libs-sections.txt:
12012 Added new symbol to docs.
12014 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12015 (gst_base_src_init), (gst_base_src_set_format),
12016 (gst_base_src_default_query), (gst_base_src_query),
12017 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12018 (gst_base_src_perform_seek), (gst_base_src_send_event),
12019 (gst_base_src_default_event), (gst_base_src_event_handler),
12020 (gst_base_src_set_property), (gst_base_src_get_property),
12021 (gst_base_src_wait), (gst_base_src_do_sync),
12022 (gst_base_src_update_length), (gst_base_src_get_range),
12023 (gst_base_src_check_get_range), (gst_base_src_loop),
12024 (gst_base_src_default_negotiate), (gst_base_src_start),
12025 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12026 (gst_base_src_change_state):
12027 * libs/gst/base/gstbasesrc.h:
12028 Implement seeking to other formats than _BYTES.
12029 Implement more seeking methods correctly.
12031 Added query vmethod.
12032 Added do_seek vmethod to make life easier for subclasses
12034 API addition: gst_base_src_set_format()
12036 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12038 * tests/examples/Makefile.am:
12041 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12044 * docs/random/ensonic/media-device-daemon.txt:
12045 * tests/examples/controller/.cvsignore:
12046 * tests/examples/controller/Makefile.am:
12047 * tests/examples/controller/audio-example.c: (main):
12048 * tests/examples/helloworld/.cvsignore:
12049 * tests/examples/helloworld/Makefile.am:
12050 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12051 * tests/examples/launch/.cvsignore:
12052 * tests/examples/launch/Makefile.am:
12053 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12054 * tests/examples/metadata/.cvsignore:
12055 * tests/examples/metadata/Makefile.am:
12056 * tests/examples/metadata/read-metadata.c: (message_loop),
12057 (make_pipeline), (print_tag), (main):
12058 * tests/examples/queue/.cvsignore:
12059 * tests/examples/queue/Makefile.am:
12060 * tests/examples/queue/queue.c: (event_loop), (main):
12061 * tests/examples/typefind/.cvsignore:
12062 * tests/examples/typefind/Makefile.am:
12063 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12065 * tests/examples/xml/.cvsignore:
12066 * tests/examples/xml/Makefile.am:
12067 * tests/examples/xml/createxml.c: (object_saved), (main):
12068 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12069 * tests/old/examples/Makefile.am:
12070 * tests/old/examples/TODO:
12071 * tests/old/examples/controller/.cvsignore:
12072 * tests/old/examples/controller/Makefile.am:
12073 * tests/old/examples/controller/audio-example.c:
12074 * tests/old/examples/helloworld/.cvsignore:
12075 * tests/old/examples/helloworld/Makefile.am:
12076 * tests/old/examples/helloworld/helloworld.c:
12077 * tests/old/examples/launch/.cvsignore:
12078 * tests/old/examples/launch/Makefile.am:
12079 * tests/old/examples/launch/mp3parselaunch.c:
12080 * tests/old/examples/launch/mp3play:
12081 * tests/old/examples/manual/Makefile.am:
12082 * tests/old/examples/metadata/Makefile.am:
12083 * tests/old/examples/metadata/read-metadata.c:
12084 * tests/old/examples/queue/.cvsignore:
12085 * tests/old/examples/queue/Makefile.am:
12086 * tests/old/examples/queue/queue.c:
12087 * tests/old/examples/typefind/.cvsignore:
12088 * tests/old/examples/typefind/Makefile.am:
12089 * tests/old/examples/typefind/typefind.c:
12090 * tests/old/examples/xml/.cvsignore:
12091 * tests/old/examples/xml/Makefile.am:
12092 * tests/old/examples/xml/createxml.c:
12093 * tests/old/examples/xml/runxml.c:
12094 applied some simple fixing to some examples
12095 re-enabled the working examples
12097 2005-12-12 Wim Taymans <wim@fluendo.com>
12099 * gst/gstsegment.c: (gst_segment_init),
12100 (gst_segment_set_last_stop), (gst_segment_set_seek),
12101 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12102 (gst_segment_to_running_time):
12103 Added more documentation.
12104 Make sure the last_pos value is updated properly.
12105 Make sure to_stream_time and to_running_time don't
12106 operate on wrong values.
12108 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12111 2005-12-12 Michael Smith <msmith@fluendo.com>
12113 * plugins/elements/gsttypefindelement.c: (free_entry),
12114 (gst_type_find_element_chain):
12115 Now that we're not leaking factories, make sure we keep references
12116 to them while we need them.
12118 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12120 * tests/check/gst/struct_i386.h:
12121 ifdef out the XML structs
12123 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12125 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12126 floor is not needed, F is always positive; this obviates the
12127 need for adding -lm when building without libxml
12129 2005-12-12 Wim Taymans <wim@fluendo.com>
12131 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12132 Take current playback rate into account when reporting
12135 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12137 * docs/manual/mime-world.fig:
12138 Let's try this again, this time with a file that is
12139 actually in XFig format.
12141 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12143 * docs/manual/mime-world.fig:
12144 Add audioconvert element to diagram so that it
12145 matches the text and the code (fixes #319526).
12147 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12149 * docs/pwg/building-chainfn.xml:
12150 * docs/pwg/building-pads.xml:
12151 * docs/pwg/building-state.xml:
12152 * docs/pwg/other-source.xml:
12153 Update state change stuff for 0.10 (fixes #322969).
12155 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12157 * docs/manual/advanced-dataaccess.xml:
12158 * docs/manual/appendix-checklist.xml:
12159 * docs/manual/appendix-programs.xml:
12160 * docs/manual/basics-pads.xml:
12161 * docs/manual/highlevel-components.xml:
12162 * docs/manual/manual.xml:
12163 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12164 add converters in front of pipelines; remove curly
12165 brackets for threads stuff, they no longer exist; use
12166 GST_TYPE_FRACTION for framerates; update some pieces of
12167 code to 0.10, but there's plenty more to do.
12169 * docs/manual/appendix-porting.xml:
12170 Expand on asynchroneous state changes; s/0.9/0.10/;
12171 mention disappearance of gst_init_get_popt_table()
12174 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12176 * docs/faq/using.xml:
12177 Spider no longer exists, and neither does gst-launch-ext.
12178 Update examples to use decodebin and playbin and put
12179 converters in front of sinks (fixes #323726).
12181 2005-12-09 Michael Smith <msmith@fluendo.com>
12183 * plugins/elements/gsttypefindelement.c: (find_peek),
12184 (gst_type_find_element_chain):
12185 Fix leaking element factories in typefinding.
12186 Fix problem where we forgot about a probable type on non-seekable
12187 files, and thus later mis-typefound it.
12189 2005-12-09 Michael Smith <msmith@fluendo.com>
12191 * common/m4/gst-makecontext.m4:
12192 * common/m4/gst-mcsc.m4:
12194 * win32/common/config.h:
12195 * win32/common/config.h.in:
12196 Remove makecontext stuff; not used in 0.10 and causes problems on
12197 HPUX according to bug #322441
12199 2005-12-07 Wim Taymans <wim@fluendo.com>
12201 * tests/check/Makefile.am:
12202 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12204 * tests/check/libs/struct_i386.h:
12205 Added ABI check for libs
12207 2005-12-07 Wim Taymans <wim@fluendo.com>
12209 * tests/check/Makefile.am:
12210 And add the struct_i386.h to dist.
12212 2005-12-07 Wim Taymans <wim@fluendo.com>
12214 * tests/check/Makefile.am:
12215 * tests/check/gst/.cvsignore:
12216 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12218 * tests/check/gst/struct_i386.h:
12219 Added check for ABI compatibility.
12221 2005-12-07 Wim Taymans <wim@fluendo.com>
12223 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12224 (gst_fake_src_get_times), (gst_fake_src_create):
12225 Fix broken sync option, fixes #323259
12227 2005-12-07 Wim Taymans <wim@fluendo.com>
12232 * gst/gstcaps.c: (gst_caps_is_equal):
12233 Don't assert on NULL <--> X. Fixes #323260
12235 * gst/gstminiobject.c: (gst_mini_object_replace):
12236 If we're doing atomic operations, we might just as well use
12237 the proper way to get an atomic pointer.
12239 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12240 Clean up debugging.
12242 2005-12-07 Michael Smith <msmith@fluendo.com>
12244 * gst/parse/grammar.y:
12245 Remove handling of { } for threads.
12247 2005-12-06 David Schleef <ds@schleef.org>
12249 * libs/gst/base/gstbasetransform.c: speling fix.
12251 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12253 * docs/libs/tmpl/gstdataprotocol.sgml:
12254 * docs/random/omega/testing/gstobject.c:
12257 * gst/gstelement.c:
12258 * gst/gstelementfactory.c:
12261 * gst/gstghostpad.c:
12263 * gst/gstpadtemplate.c:
12264 * gst/gstregistryxml.c:
12265 * gst/gsttaglist.c:
12266 * gst/gsttagsetter.c:
12267 * gst/gsttypefind.c:
12269 * libs/gst/base/gstbasesrc.c:
12270 * libs/gst/net/gstnetclientclock.c:
12271 * libs/gst/net/gstnettimeprovider.c:
12272 * plugins/elements/gstfakesrc.c:
12273 * plugins/elements/gstfdsrc.c:
12274 * plugins/elements/gstfilesrc.c:
12275 * plugins/elements/gstidentity.c:
12276 * plugins/elements/gstqueue.c:
12277 * plugins/elements/gsttypefindelement.c:
12278 * plugins/indexers/gstfileindex.c:
12279 * plugins/indexers/gstmemindex.c:
12280 * tests/check/gst/gsttag.c:
12281 * tests/old/examples/cutter/cutter.c:
12282 * tests/old/examples/mixer/mixer.c:
12283 * tests/old/examples/xml/runxml.c: (main):
12284 * tests/old/testsuite/caps/normalisation.c:
12285 * tests/old/testsuite/debug/global.c:
12286 * tests/old/testsuite/parse/parse1.c:
12287 * tools/gst-xmlinspect.c:
12288 * win32/common/dirent.c:
12291 === release 0.10.0 ===
12293 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12296 releasing 0.10.0, "Maroilles"
12298 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12300 submitted by: Funda Wang <fundawang@linux.net.cn>
12304 added Chinese (Traditional) translation
12306 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12308 * docs/gst/gstreamer-sections.txt:
12309 * docs/libs/tmpl/gstdataprotocol.sgml:
12310 * docs/random/thomasvs/TODO:
12315 2005-12-05 Andy Wingo <wingo@pobox.com>
12317 patch by: Wim Taymans <wim@fluendo.com>
12319 * libs/gst/base/gstbasetransform.c
12320 (gst_base_transform_prepare_output_buf)
12321 (gst_base_transform_buffer_alloc):
12322 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12323 alloc_buffer_and_set_caps.
12325 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12326 set_caps on the source pad.
12327 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12328 alloc_buffer used to do. Fixes #322874.
12330 * docs/gst/gstreamer-sections.txt:
12331 * docs/design/part-negotiation.txt:
12332 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12335 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12337 patch by: Sebastien Moutte
12340 * win32/common/config.h.in:
12341 * win32/vs6/libgstcontroller.dsp:
12344 2005-12-05 Wim Taymans <wim@fluendo.com>
12346 * gst/gstcaps.c: (gst_caps_is_equal):
12347 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12348 (gst_fake_src_create):
12349 Back out previous code changes, leave doc updates, file bugs
12352 2005-12-05 Wim Taymans <wim@fluendo.com>
12354 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12355 (gst_fake_src_get_times), (gst_fake_src_create):
12356 * plugins/elements/gstfakesrc.h:
12357 Fix broken sync code.
12359 2005-12-05 Wim Taymans <wim@fluendo.com>
12361 * gst/gstcaps.c: (gst_caps_is_equal):
12362 Comparing NULL against !NULL yields different caps, not a
12365 2005-12-05 Wim Taymans <wim@fluendo.com>
12367 * gst/gstpipeline.c:
12368 Fix small typo in docs.
12370 2005-12-05 Andy Wingo <wingo@pobox.com>
12372 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12374 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12375 registries/plugins with a MAJORMINOR one.
12376 (plugin_desc): Rename library from gstcoreleements to
12377 staticelements. Fixes #323222.
12379 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12381 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12382 Change debug category to 'collectpads' from 'collect_pads'
12385 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12387 patch by: Sebastien Moutte
12389 * libs/gst/controller/gstinterpolation.c:
12390 use convert function for uint64/double
12391 * win32/vs6/libgstcontroller.dsp:
12394 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12396 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12397 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12399 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12400 add tests that seem to show that the guint64/gdouble conversions
12403 2005-12-02 Wim Taymans <wim@fluendo.com>
12405 * gst/gstregistry.c: (gst_registry_add_path):
12406 * gst/gstregistry.h:
12407 * gst/gstregistryxml.c:
12410 2005-12-02 Wim Taymans <wim@fluendo.com>
12412 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12413 (gst_util_uint64_scale_int):
12416 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12417 Add debug log line.
12419 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12422 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12425 * win32/common/config.h:
12426 * win32/vs6/gstreamer.dsw:
12427 * win32/vs6/libgstcoreelements.dsp:
12428 * win32/vs6/libgstelements.dsp:
12429 renamed core elements plugin
12431 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12433 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12435 do piece-wise major/minor comparison so 0.9 < 0.10
12436 also allow .exe extensions for tools
12438 2005-12-02 Michael Smith <msmith@fluendo.com>
12441 Escape a % to make gtkdoc happier; bug 322958.
12443 === release 0.9.7 ===
12445 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12448 releasing 0.9.7, "My Dog Has No Nose"
12450 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12452 * common/gst-xmlinspect.py:
12454 * docs/libs/tmpl/gstdataprotocol.sgml:
12455 * docs/random/release:
12474 * win32/common/config.h:
12475 * win32/common/config.h.in:
12476 * win32/vs6/gst_inspect.dsp:
12477 * win32/vs6/gst_launch.dsp:
12478 * win32/vs6/libgstbase.dsp:
12479 * win32/vs6/libgstelements.dsp:
12480 * win32/vs6/libgstreamer.dsp:
12481 * win32/vs7/GStreamer.vcproj:
12482 * win32/vs7/gst-inspect.vcproj:
12483 * win32/vs7/gst-launch.vcproj:
12484 * win32/vs7/libgstbase.vcproj:
12485 bump GST_MAJORMINOR to 0.10
12486 reset libtool version
12488 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12492 Added Bulgarian translation by (Alexander Shopov)
12494 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12496 * tests/check/gst/gstplugin.c:
12499 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12501 * common/gst-xmlinspect.py:
12502 * common/gtk-doc-plugins.mak:
12504 * docs/Makefile.am:
12505 * docs/gst/Makefile.am:
12506 * docs/gst/gstreamer-docs.sgml:
12507 * docs/gst/gstreamer-sections.txt:
12508 * docs/gst/gstreamer.types:
12509 * docs/gst/gstreamer.types.in:
12510 * docs/plugins/Makefile.am:
12511 * docs/plugins/gstreamer-plugins-docs.sgml:
12512 * docs/plugins/gstreamer-plugins-sections.txt:
12513 * docs/plugins/gstreamer-plugins.types:
12514 * docs/plugins/inspect.stamp:
12515 * docs/plugins/inspect/plugin-coreelements.xml:
12516 * docs/plugins/inspect/plugin-coreindexers.xml:
12517 * docs/plugins/scanobj-build.stamp:
12518 * gstreamer.spec.in:
12519 * plugins/elements/Makefile.am:
12520 * plugins/elements/gstelements.c:
12521 * plugins/elements/gstfakesink.c:
12522 * plugins/elements/gstfakesrc.c:
12523 * plugins/elements/gstfilesink.c:
12524 * plugins/elements/gstfilesrc.c:
12525 * plugins/elements/gstqueue.c:
12526 * plugins/indexers/Makefile.am:
12527 * plugins/indexers/gstindexers.c:
12528 document core plugins in a separate document just like all the
12530 rename these plugins to something starting with core
12532 2005-12-01 Andy Wingo <wingo@pobox.com>
12534 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12535 padding here before, but it missed the commit.
12537 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12539 * libs/gst/controller/gstinterpolation.c:
12540 whitespace prices have crashed, we should feel free to use some now
12541 use gst_guint64_to_gdouble
12543 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12545 * libs/gst/controller/gstcontroller.c:
12546 * libs/gst/controller/gsthelper.c:
12547 * libs/gst/controller/gstinterpolation.c:
12548 * libs/gst/controller/lib.c:
12549 wrap config.h include
12551 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12553 * docs/gst/gstreamer-sections.txt:
12556 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12558 * plugins/elements/gstelements.c:
12559 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12560 (gst_fd_sink__class_init), (gst_fd_sink__init),
12561 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12562 (gst_fd_sink__get_property):
12563 * plugins/elements/gstfdsink.h:
12564 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12565 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12566 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12567 (gst_fd_src_unlock), (gst_fd_src_set_property),
12568 (gst_fd_src_get_property), (gst_fd_src_create),
12569 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12570 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12571 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12572 (gst_fd_src_uri_handler_init):
12573 * plugins/elements/gstfdsrc.h:
12574 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12577 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12579 * docs/gst/Makefile.am:
12580 * docs/gst/gstreamer.types.in:
12584 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12590 * gst/gstregistry.h:
12591 * tests/benchmarks/complexity.c:
12592 * tests/benchmarks/mass-elements.c:
12593 * tests/check/Makefile.am:
12594 * tools/Makefile.am:
12595 * tools/gst-inspect.c:
12596 * tools/gst-xmlinspect.c:
12597 various fixes to make
12598 --disable-nls --disable-registry --disable-loadsave
12599 --disable-parse --disable-gst-debug
12600 work and get the core .so down to 360444 bytes after stripping
12602 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12607 * docs/random/thomasvs/TODO:
12608 * tests/Makefile.am:
12612 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12614 * win32/GStreamer.vcproj:
12617 * win32/Makefile.inspect:
12618 * win32/Makefile.launch:
12619 * win32/Makefile.register:
12620 * win32/README.txt:
12621 * win32/gst-inspect.vcproj:
12622 * win32/gst-launch.vcproj:
12623 * win32/gst-register.vcproj:
12624 * win32/gstelements.vcproj:
12625 * win32/gstgetbits.def:
12626 * win32/gstgetbits.vcproj:
12627 * win32/gstreamer-dbg.def:
12628 * win32/gstreamer.def:
12629 * win32/libgstbase.def:
12630 * win32/libgstbase.vcproj:
12631 * win32/link_oldruntime.c:
12635 * win32/msvc71.sln:
12636 move even more stuff, win32/ is nice and clean now
12638 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12640 * libs/gst/control/.cvsignore:
12645 * win32/gstbytestream.def:
12646 * win32/gstbytestream.vcproj:
12647 * win32/gstconfig.h:
12648 * win32/gstenumtypes.c:
12649 * win32/gstenumtypes.h:
12650 * win32/gstoptimalscheduler.vcproj:
12651 * win32/gstversion.h:
12653 * win32/testsuite/bins.vcproj:
12654 * win32/testsuite/bytestream.vcproj:
12655 * win32/testsuite/caps.vcproj:
12656 * win32/testsuite/cleanup.vcproj:
12657 * win32/testsuite/clock.vcproj:
12658 * win32/testsuite/debug.vcproj:
12659 * win32/testsuite/dlopen.vcproj:
12660 * win32/testsuite/dynparams.vcproj:
12661 * win32/testsuite/elements.vcproj:
12662 * win32/testsuite/ghostpads.vcproj:
12663 * win32/testsuite/indexers.vcproj:
12664 * win32/testsuite/negotiation.vcproj:
12665 * win32/testsuite/parse.vcproj:
12666 * win32/testsuite/plugin.vcproj:
12667 * win32/testsuite/refcounting.vcproj:
12668 * win32/testsuite/schedulers.vcproj:
12669 * win32/testsuite/states.vcproj:
12670 * win32/testsuite/tags.vcproj:
12671 * win32/testsuite/threads.vcproj:
12672 remove old win32 stuff that isn't maintained and should be
12675 2005-11-30 Andy Wingo <wingo@pobox.com>
12677 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12678 loading the gst.interfaces python module bork.
12680 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12681 available since GLib 2.2. Fixes #318031.
12683 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12686 * check/.cvsignore:
12687 * check/Makefile.am:
12688 * check/elements/.cvsignore:
12689 * check/elements/fakesrc.c:
12690 * check/elements/fdsrc.c:
12691 * check/elements/identity.c:
12692 * check/generic/.cvsignore:
12693 * check/generic/states.c:
12694 * check/gst-libs/.cvsignore:
12695 * check/gst-libs/controller.c:
12696 * check/gst-libs/gdp.c:
12697 * check/gst/.cvsignore:
12698 * check/gst/capslist.h:
12700 * check/gst/gstbin.c:
12701 * check/gst/gstbuffer.c:
12702 * check/gst/gstbus.c:
12703 * check/gst/gstcaps.c:
12704 * check/gst/gstelement.c:
12705 * check/gst/gstevent.c:
12706 * check/gst/gstghostpad.c:
12707 * check/gst/gstiterator.c:
12708 * check/gst/gstmessage.c:
12709 * check/gst/gstminiobject.c:
12710 * check/gst/gstobject.c:
12711 * check/gst/gstpad.c:
12712 * check/gst/gstpipeline.c:
12713 * check/gst/gstplugin.c:
12714 * check/gst/gstsegment.c:
12715 * check/gst/gststructure.c:
12716 * check/gst/gstsystemclock.c:
12717 * check/gst/gsttag.c:
12718 * check/gst/gstutils.c:
12719 * check/gst/gstvalue.c:
12720 * check/net/.cvsignore:
12721 * check/net/gstnetclientclock.c:
12722 * check/net/gstnettimeprovider.c:
12723 * check/pipelines/.cvsignore:
12724 * check/pipelines/cleanup.c:
12725 * check/pipelines/simple_launch_lines.c:
12726 * check/pipelines/stress.c:
12727 * check/states/.cvsignore:
12728 * check/states/sinks.c:
12730 * examples/Makefile.am:
12731 * examples/appreader/.cvsignore:
12732 * examples/appreader/Makefile.am:
12733 * examples/appreader/appreader.c:
12734 * examples/controller/.cvsignore:
12735 * examples/controller/Makefile.am:
12736 * examples/controller/audio-example.c:
12737 * examples/cutter/.cvsignore:
12738 * examples/cutter/Makefile.am:
12739 * examples/cutter/cutter.c:
12740 * examples/cutter/cutter.h:
12741 * examples/events/Makefile.am:
12742 * examples/events/seek.c:
12743 * examples/helloworld/.cvsignore:
12744 * examples/helloworld/Makefile.am:
12745 * examples/helloworld/helloworld.c:
12746 * examples/helloworld2/.cvsignore:
12747 * examples/helloworld2/Makefile.am:
12748 * examples/helloworld2/helloworld2.c:
12749 * examples/launch/.cvsignore:
12750 * examples/launch/Makefile.am:
12751 * examples/launch/mp3parselaunch.c:
12752 * examples/launch/mp3play:
12753 * examples/manual/.cvsignore:
12754 * examples/manual/Makefile.am:
12755 * examples/manual/extract.pl:
12756 * examples/metadata/Makefile.am:
12757 * examples/metadata/read-metadata.c:
12758 * examples/mixer/.cvsignore:
12759 * examples/mixer/Makefile.am:
12760 * examples/mixer/mixer.c:
12761 * examples/mixer/mixer.h:
12762 * examples/pingpong/.cvsignore:
12763 * examples/pingpong/Makefile.am:
12764 * examples/pingpong/pingpong.c:
12765 * examples/plugins/.cvsignore:
12766 * examples/plugins/Makefile.am:
12767 * examples/plugins/example.c:
12768 * examples/plugins/example.h:
12769 * examples/pwg/.cvsignore:
12770 * examples/pwg/Makefile.am:
12771 * examples/pwg/extract.pl:
12772 * examples/queue/.cvsignore:
12773 * examples/queue/Makefile.am:
12774 * examples/queue/queue.c:
12775 * examples/queue2/.cvsignore:
12776 * examples/queue2/Makefile.am:
12777 * examples/queue2/queue2.c:
12778 * examples/queue3/.cvsignore:
12779 * examples/queue3/Makefile.am:
12780 * examples/queue3/queue3.c:
12781 * examples/queue4/.cvsignore:
12782 * examples/queue4/Makefile.am:
12783 * examples/queue4/queue4.c:
12784 * examples/retag/.cvsignore:
12785 * examples/retag/Makefile.am:
12786 * examples/retag/retag.c:
12787 * examples/retag/transcode.c:
12788 * examples/thread/.cvsignore:
12789 * examples/thread/Makefile.am:
12790 * examples/thread/thread.c:
12791 * examples/typefind/.cvsignore:
12792 * examples/typefind/Makefile.am:
12793 * examples/typefind/typefind.c:
12794 * examples/xml/.cvsignore:
12795 * examples/xml/Makefile.am:
12796 * examples/xml/createxml.c:
12797 * examples/xml/runxml.c:
12798 * tests/Makefile.am:
12799 * tests/check/Makefile.am:
12800 * testsuite/.cvsignore:
12801 * testsuite/Makefile.am:
12803 * testsuite/caps/.cvsignore:
12804 * testsuite/caps/Makefile.am:
12805 * testsuite/caps/app_fixate.c:
12806 * testsuite/caps/audioscale.c:
12807 * testsuite/caps/caps.c:
12808 * testsuite/caps/caps.h:
12809 * testsuite/caps/caps_strings:
12810 * testsuite/caps/compatibility.c:
12811 * testsuite/caps/deserialize.c:
12812 * testsuite/caps/enumcaps.c:
12813 * testsuite/caps/eratosthenes.c:
12814 * testsuite/caps/filtercaps.c:
12815 * testsuite/caps/fixed.c:
12816 * testsuite/caps/fraction-convert.c:
12817 * testsuite/caps/fraction-multiply-and-zero.c:
12818 * testsuite/caps/intersect2.c:
12819 * testsuite/caps/intersection.c:
12820 * testsuite/caps/normalisation.c:
12821 * testsuite/caps/random.c:
12822 * testsuite/caps/renegotiate.c:
12823 * testsuite/caps/sets.c:
12824 * testsuite/caps/simplify.c:
12825 * testsuite/caps/string-conversions.c:
12826 * testsuite/caps/structure.c:
12827 * testsuite/caps/subtract.c:
12828 * testsuite/caps/union.c:
12829 * testsuite/debug/.cvsignore:
12830 * testsuite/debug/Makefile.am:
12831 * testsuite/debug/category.c:
12832 * testsuite/debug/commandline.c:
12833 * testsuite/debug/global.c:
12834 * testsuite/debug/output.c:
12835 * testsuite/debug/printf_extension.c:
12836 * testsuite/dlopen/.cvsignore:
12837 * testsuite/dlopen/Makefile.am:
12838 * testsuite/dlopen/dlopen_gst.c:
12839 * testsuite/dlopen/loadgst.c:
12840 * testsuite/elements/.cvsignore:
12841 * testsuite/elements/Makefile.am:
12842 * testsuite/elements/gst-inspect-check.in:
12843 * testsuite/elements/struct_i386.h:
12844 * testsuite/elements/struct_size.c:
12845 * testsuite/indexers/.cvsignore:
12846 * testsuite/indexers/Makefile.am:
12847 * testsuite/indexers/cache1.c:
12848 * testsuite/indexers/indexdump.c:
12849 * testsuite/parse/.cvsignore:
12850 * testsuite/parse/Makefile.am:
12851 * testsuite/parse/parse1.c:
12852 * testsuite/parse/parse2.c:
12853 * testsuite/plugin/.cvsignore:
12854 * testsuite/plugin/Makefile.am:
12855 * testsuite/plugin/README:
12856 * testsuite/plugin/dynamic.c:
12857 * testsuite/plugin/linked.c:
12858 * testsuite/plugin/loading.c:
12859 * testsuite/plugin/registry.c:
12860 * testsuite/plugin/static.c:
12861 * testsuite/plugin/static2.c:
12862 * testsuite/plugin/testplugin.c:
12863 * testsuite/plugin/testplugin2.c:
12864 * testsuite/plugin/testplugin2_s.c:
12865 * testsuite/plugin/testplugin_s.c:
12866 * testsuite/refcounting/.cvsignore:
12867 * testsuite/refcounting/Makefile.am:
12868 * testsuite/refcounting/bin.c:
12869 * testsuite/refcounting/element.c:
12870 * testsuite/refcounting/element_pad.c:
12871 * testsuite/refcounting/mainloop.c:
12872 * testsuite/refcounting/mem.c:
12873 * testsuite/refcounting/mem.h:
12874 * testsuite/refcounting/object.c:
12875 * testsuite/refcounting/pad.c:
12876 * testsuite/refcounting/sched.c:
12877 * testsuite/refcounting/thread.c:
12878 * testsuite/states/.cvsignore:
12879 * testsuite/states/Makefile.am:
12880 * testsuite/states/bin.c:
12881 * testsuite/states/locked.c:
12882 * testsuite/states/parent.c:
12883 * testsuite/threads/.cvsignore:
12884 * testsuite/threads/159566.c:
12885 * testsuite/threads/159852.c:
12886 * testsuite/threads/Makefile.am:
12887 * testsuite/threads/queue.c:
12888 * testsuite/threads/signals.c:
12889 * testsuite/threads/staticrec.c:
12890 * testsuite/threads/thread.c:
12891 * testsuite/threads/threadb.c:
12892 * testsuite/threads/threadc.c:
12893 * testsuite/threads/threadd.c:
12894 * testsuite/threads/threade.c:
12895 * testsuite/threads/threadf.c:
12896 * testsuite/threads/threadg.c:
12897 * testsuite/threads/threadh.c:
12898 * testsuite/threads/threadi.c:
12899 move all of these under tests
12901 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12904 * tests/Makefile.am:
12907 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12909 * docs/gst/gstreamer-sections.txt:
12910 * tests/sched/.cvsignore:
12911 * tests/sched/Makefile.am:
12912 * tests/sched/cases/(fs-fs).xml:
12913 * tests/sched/cases/(fs-i-fs).xml:
12914 * tests/sched/cases/(fs-i-i-fs).xml:
12915 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12916 * tests/sched/dynamic-pipeline.c:
12917 * tests/sched/interrupt1.c:
12918 * tests/sched/interrupt2.c:
12919 * tests/sched/interrupt3.c:
12920 * tests/sched/runtestcases:
12921 * tests/sched/runxml.c:
12922 * tests/sched/sched-stress.c:
12923 * tests/sched/sort.c:
12924 * tests/sched/testcases:
12925 * tests/sched/testcases1.tc:
12926 * tests/seeking/.cvsignore:
12927 * tests/seeking/Makefile.am:
12928 * tests/seeking/seeking1.c:
12929 * tests/threadstate/.cvsignore:
12930 * tests/threadstate/Makefile.am:
12931 * tests/threadstate/test1.c:
12932 * tests/threadstate/test2.c:
12933 * tests/threadstate/threadstate1.c:
12934 * tests/threadstate/threadstate2.c:
12935 * tests/threadstate/threadstate3.c:
12936 * tests/threadstate/threadstate4.c:
12937 * tests/threadstate/threadstate5.c:
12938 remove obsolete tests
12940 * tests/bench-complexity.scm:
12941 * tests/bench-mass_elements.scm:
12942 * tests/complexity.c:
12943 * tests/complexity.gnuplot:
12944 * tests/instantiate/.cvsignore:
12945 * tests/instantiate/Makefile.am:
12946 * tests/instantiate/caps.c:
12947 * tests/mass_elements.c:
12948 * tests/network-clock-utils.scm:
12949 * tests/network-clock.scm:
12951 First pass at cleaning up tests/ dir before moving the rest
12952 Combined with CVS surgery
12954 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12957 queue has moved, update
12959 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12961 * docs/gst/gstreamer-sections.txt:
12962 remove double entries from the docs
12963 * gst/gst_private.h:
12964 * gst/gstinfo.c: (_gst_debug_init):
12965 remove the THREAD debug category
12969 * docs/gst/gstreamer.types:
12970 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12971 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12972 completely move queue and fix up debugging categories
12974 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12976 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12977 make initialization portable, using LL is not
12979 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12981 * win32/common/gstconfig.h:
12984 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12986 * win32/common/libgstreamer.def:
12987 rename symbols; sort base section
12989 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12991 * gst/gstclock.c: (do_linear_regression):
12992 remove crack non-portable handrolled DEBUG macro
12994 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12996 * docs/random/release:
12998 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12999 (gst_object_flags_get_type), (register_gst_bin_flags),
13000 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13001 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13002 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13003 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13004 (gst_caps_flags_get_type), (register_gst_clock_return),
13005 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13006 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13007 (gst_clock_flags_get_type), (register_gst_state),
13008 (gst_state_get_type), (register_gst_state_change_return),
13009 (gst_state_change_return_get_type), (register_gst_state_change),
13010 (gst_state_change_get_type), (register_gst_element_flags),
13011 (gst_element_flags_get_type), (register_gst_core_error),
13012 (gst_core_error_get_type), (register_gst_library_error),
13013 (gst_library_error_get_type), (register_gst_resource_error),
13014 (gst_resource_error_get_type), (register_gst_stream_error),
13015 (gst_stream_error_get_type), (register_gst_event_type_flags),
13016 (gst_event_type_flags_get_type), (register_gst_event_type),
13017 (gst_event_type_get_type), (register_gst_seek_type),
13018 (gst_seek_type_get_type), (register_gst_seek_flags),
13019 (gst_seek_flags_get_type), (register_gst_format),
13020 (gst_format_get_type), (register_gst_index_certainty),
13021 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13022 (gst_index_entry_type_get_type),
13023 (register_gst_index_lookup_method),
13024 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13025 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13026 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13027 (gst_index_flags_get_type), (register_gst_debug_level),
13028 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13029 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13030 (gst_iterator_result_get_type), (register_gst_iterator_item),
13031 (gst_iterator_item_get_type), (register_gst_message_type),
13032 (gst_message_type_get_type), (register_gst_mini_object_flags),
13033 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13034 (gst_pad_link_return_get_type), (register_gst_flow_return),
13035 (gst_flow_return_get_type), (register_gst_activate_mode),
13036 (gst_activate_mode_get_type), (register_gst_pad_direction),
13037 (gst_pad_direction_get_type), (register_gst_pad_flags),
13038 (gst_pad_flags_get_type), (register_gst_pad_presence),
13039 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13040 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13041 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13042 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13043 (gst_plugin_flags_get_type), (register_gst_rank),
13044 (gst_rank_get_type), (register_gst_query_type),
13045 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13046 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13047 (gst_tag_flag_get_type), (register_gst_task_state),
13048 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13049 (gst_alloc_trace_flags_get_type),
13050 (register_gst_type_find_probability),
13051 (gst_type_find_probability_get_type), (register_gst_uri_type),
13052 (gst_uri_type_get_type), (register_gst_parse_error),
13053 (gst_parse_error_get_type):
13054 * win32/common/gstenumtypes.h:
13055 * win32/common/gstversion.h:
13056 update visual studio generated files
13058 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13060 * win32/vs6/libgstbase.dsp:
13061 * win32/vs6/libgstelements.dsp:
13062 update project files for new locations
13064 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13069 reinstate and update
13074 * docs/random/LICENSE:
13077 2005-11-30 Edward Hervey <edward@fluendo.com>
13079 * gst/gsttypefind.c: (gst_type_find_register):
13080 * gst/gsttypefind.h:
13081 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13082 (gst_type_find_factory_dispose):
13083 * gst/gsttypefindfactory.h:
13084 Fix memory leak in GstTypeFindFactory.
13086 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13089 * plugins/elements/Makefile.am:
13090 * plugins/elements/gstelements.c:
13091 * plugins/elements/gstqueue.c:
13092 move queue from core to the elements plugin
13094 2005-11-29 Andy Wingo <wingo@pobox.com>
13096 * libs/gst/base/gstbasetransform.h:
13097 * libs/gst/base/gstbasesrc.h:
13098 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13100 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13101 of pointers by which to pad very extensible base classes (like the
13102 ones in libs/gst/base).
13104 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13106 * docs/gst/gstreamer-docs.sgml:
13107 * docs/gst/gstreamer-sections.txt:
13108 * docs/libs/gstreamer-libs-docs.sgml:
13109 * docs/libs/gstreamer-libs-sections.txt:
13110 moving documentation from core to lib
13112 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13114 * check/Makefile.am:
13116 * docs/gst/Makefile.am:
13118 * gst/base/.cvsignore:
13119 * gst/base/Makefile.am:
13121 * gst/base/gstadapter.c:
13122 * gst/base/gstadapter.h:
13123 * gst/base/gstbasesink.c:
13124 * gst/base/gstbasesink.h:
13125 * gst/base/gstbasesrc.c:
13126 * gst/base/gstbasesrc.h:
13127 * gst/base/gstbasetransform.c:
13128 * gst/base/gstbasetransform.h:
13129 * gst/base/gstcollectpads.c:
13130 * gst/base/gstcollectpads.h:
13131 * gst/base/gstpushsrc.c:
13132 * gst/base/gstpushsrc.h:
13133 * gst/base/gsttypefindhelper.c:
13134 * gst/base/gsttypefindhelper.h:
13135 * gst/check/Makefile.am:
13136 * gst/check/gstcheck.c:
13137 * gst/check/gstcheck.h:
13138 * gst/net/Makefile.am:
13139 * gst/net/gstnet.h:
13140 * gst/net/gstnetclientclock.c:
13141 * gst/net/gstnetclientclock.h:
13142 * gst/net/gstnettimepacket.c:
13143 * gst/net/gstnettimepacket.h:
13144 * gst/net/gstnettimeprovider.c:
13145 * gst/net/gstnettimeprovider.h:
13146 * libs/gst/Makefile.am:
13147 * libs/gst/base/Makefile.am:
13148 * libs/gst/base/gstbasetransform.c:
13149 * libs/gst/check/Makefile.am:
13150 * plugins/elements/Makefile.am:
13152 CVS surgery + support to move base, check, and net out of gst
13155 2005-11-29 Andy Wingo <wingo@pobox.com>
13157 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13159 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13162 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13164 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13166 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13168 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13169 padding; reduces object size by about 30%. We don't expect
13170 anything else to go into gstobject.
13172 * gst/gstminiobject.h (struct _GstMiniObject)
13173 (struct _GstMiniObjectClass): Only one pointer of padding; the
13174 payload is only a pointer and two ints anyway. For the class there
13175 are only two methods as well.
13177 * gst/gstelement.h (struct _GstElementClass): Removed
13178 the state_changed signal callback, it is not used.
13180 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13182 * docs/gst/gstreamer.types:
13183 fix includes, though they are a little dinky
13185 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13187 * check/Makefile.am:
13188 look in the right place for elements, a lot more chance of
13191 remove indexers and elements subdirs
13192 * plugins/Makefile.am:
13193 make indexers conditional
13195 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13199 * plugins/elements/Makefile.am:
13200 * plugins/elements/gstcapsfilter.c:
13201 * plugins/elements/gstfilesink.c:
13202 * plugins/elements/gstfilesrc.c:
13203 * plugins/elements/gstidentity.c:
13204 * plugins/indexers/Makefile.am:
13205 do CVS surgery and related build fixery to move elements
13206 and indexers in a new gstreamer/plugins directory, out of the
13209 2005-11-29 Andy Wingo <wingo@pobox.com>
13211 * check/Makefile.am:
13212 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13213 * pkgconfig/gstreamer-net.pc.in:
13214 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13217 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13219 * tools/Makefile.am:
13220 * tools/gst-complete.1.in:
13221 * tools/gst-complete.c:
13222 * tools/gst-compprep.1.in:
13223 * tools/gst-compprep.c:
13224 removing -compprep and -complete
13226 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13228 * gst/gstevent.c: (gst_event_new_new_segment),
13229 (gst_event_parse_new_segment):
13231 fix #320529 - clean up new_segment API and structure.
13232 Let's hope everyone was using the methods, and not the structure.
13234 2005-11-29 Edward Hervey <edward@fluendo.com>
13236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13237 (gst_base_sink_event), (gst_base_sink_do_sync),
13238 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13239 Properly handle non GST_FORMAT_TIME segment
13240 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13241 Properly handle non GST_FORMAT_TIME segment
13242 * gst/gstsegment.c:
13243 This function is valid if the accumulator is 0 and the format
13244 is different from the requested format.
13246 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13248 * docs/gst/gstreamer-sections.txt:
13249 Add gst_query_new_seeking and gst_query_parse_seeking to the
13252 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13254 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13255 Treat a pad alloc with new caps the same as if we were not
13256 negotiated, in order to allow a changing upstream output
13257 to produce a new format of data.
13259 2005-11-29 Edward Hervey <edward@fluendo.com>
13261 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13262 (gst_base_transform_event), (gst_base_transform_eventfunc):
13263 The event virtual method is now properly implemented, with a default
13265 Sub classes should call the parent_class event method. They should
13266 return FALSE if they had a problem handling the given event, or don't
13267 want GstBaseTransform to send that even downstream
13268 * gst/elements/gstidentity.c: (gst_identity_class_init),
13269 (gst_identity_init), (gst_identity_event),
13270 (gst_identity_transform_ip), (gst_identity_set_property),
13271 (gst_identity_get_property):
13272 * gst/elements/gstidentity.h:
13273 Added the single-segment boolean property.
13274 If set to TRUE, it will output a single segment of data, starting from
13275 0, will eat up all incoming newsegment, and modify the timestamp of the
13276 buffers accordingly
13278 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13280 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13281 Don't ref NULL target pad (#322751). Improve docs.
13283 2005-11-29 Michael Smith <msmith@fluendo.com>
13285 * gst/gstregistryxml.c: (load_plugin):
13286 Don't crash if we failed to load a feature from a plugin.
13288 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13290 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13292 use more check API and less GLib API
13294 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13297 don't run checks if we don't have check
13298 * common/check.mak:
13299 remove the registry when running make torture
13300 * docs/gst/gstreamer-sections.txt:
13301 remove second multiply
13302 * gst/gstqueue.c: (gst_queue_loop):
13303 fix a compile warning when disabling debug
13305 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13308 Hey! Let's print the pad name if the pointer != NULL instead
13309 of when it == NULL :-)
13311 2005-11-28 Wim Taymans <wim@fluendo.com>
13313 * check/gst/gstutils.c: (GST_START_TEST):
13314 Updated check, add some scaling accuracy checking code.
13316 * gst/gstutils.c: (gst_util_div128_64),
13317 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13318 (gst_util_uint64_scale_int):
13319 Fix 6 times faster division code. Optimize for common
13320 1/1 and less common X/1 cases.
13322 2005-11-28 Wim Taymans <wim@fluendo.com>
13324 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13327 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13328 (do_linear_regression), (gst_clock_add_observation):
13330 Release lock when the clock cannot be slaved.
13331 Catch the case where the regression returned an invalid denominator.
13333 * gst/gstutils.c: (gst_util_div128_64_iterate),
13334 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13335 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13336 Add protentially more performant non-iterative 128/64 divide function
13337 that unfortunatly does not work yet.
13338 Shortcut the trivial 0/X = 0 case.
13339 Remove the warnings on overflow.
13341 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13343 * gst/gstplugin.c: (gst_plugin_register_func):
13344 everything causing a plugin not to load should be at least a WARNING
13346 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13348 * docs/random/ensonic/dparams.txt:
13349 some TODOs for the next dev cycle
13350 * libs/gst/controller/gstcontroller.c:
13351 (gst_controlled_property_set_interpolation_mode),
13352 (gst_controlled_property_new):
13353 * libs/gst/controller/gstcontroller.h:
13354 use base type to assign acccessor functions
13356 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13358 * check/Makefile.am:
13359 Oops, that should have been top_srcdir
13361 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13363 * check/Makefile.am:
13364 * check/elements/fdsrc.c: (GST_START_TEST):
13365 Use a cmdline define to specify the location of a file to use for
13366 testing, to avoid breaking distcheck.
13368 2005-11-28 Andy Wingo <wingo@pobox.com>
13370 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13372 2005-11-28 Edward Hervey <edward@fluendo.com>
13374 * tools/gst-launch.c: (main):
13375 Clarify the output strings, makes it easier to translate.
13378 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13381 don't try and build net if we don't even have <sys/socket.h>
13383 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13385 * check/Makefile.am:
13386 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13387 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13388 Add tests for fdsrc seekability
13390 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13391 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13392 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13393 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13394 * gst/elements/gstfdsrc.h:
13395 fdsrc should not be a 'live' source.
13396 Implement seeking on seekable fd's.
13398 * gst/gstquery.c: (gst_query_new_seeking),
13399 (gst_query_parse_seeking):
13401 Implement SEEKING query functions:
13402 *_new_seeking and *_parse_seeking
13404 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13406 * gst/gstelement.c: (gst_element_dispose):
13409 * gst/gstiterator.c:
13410 * gst/gststructure.c:
13413 * libs/gst/controller/gstcontroller.c:
13414 (gst_controlled_property_set_interpolation_mode):
13415 * libs/gst/controller/gstcontroller.h:
13416 * libs/gst/controller/gstinterpolation.c:
13417 (interpolate_none_get_enum_value_array):
13418 support controlling enums
13420 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13423 Improve documentation for gst_value_union().
13426 Change return value for union, intersect and subtract functions
13427 from gint to gboolean.
13429 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13431 * gst/gstvalue.c: (gst_value_serialize_any_list),
13432 (gst_value_transform_any_list_string),
13433 (gst_value_deserialize_list), (gst_value_deserialize_array),
13434 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13435 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13436 (gst_value_set_fraction_range_full),
13437 (gst_value_deserialize_fraction_range),
13438 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13439 (gst_value_deserialize_boolean),
13440 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13441 (gst_value_serialize_float), (gst_value_deserialize_float),
13442 (gst_string_wrap), (gst_value_deserialize_string),
13443 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13444 (gst_value_union_int_range_int_range),
13445 (gst_value_intersect_int_range_int_range),
13446 (gst_value_intersect_double_range_double_range),
13447 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13448 (gst_value_subtract_int_range_int_range),
13449 (gst_value_subtract_double_double_range),
13450 (gst_value_subtract_double_range_double_range),
13451 (gst_value_deserialize_fraction):
13453 Use gint, gdouble and gchar in our API instead of int, double and
13454 char (and make usage in gstvalue.c more consistent).
13456 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13458 * check/Makefile.am:
13459 * libs/gst/controller/Makefile.am:
13460 * libs/gst/dataprotocol/Makefile.am:
13461 fix up Makefile.am and remove GST_ENABLE_NEW
13463 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13467 * gst/base/Makefile.am:
13468 * gst/check/Makefile.am:
13469 * gst/elements/Makefile.am:
13470 * gst/net/Makefile.am:
13471 update LDFLAGS use some more
13473 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13475 * common/m4/gst-doc.m4:
13478 2005-11-26 Edward Hervey <edward@fluendo.com>
13480 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13481 This shouldn't issue a g_warning since it returns NULL if it
13482 couldn't find the plugin, and all functions using this behave
13483 properly on a NULL return. Switching to a GST_WARNING.
13485 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13487 * gst/gstbin.c: (gst_bin_handle_message_func):
13488 Don't leak clock messages.
13490 2005-11-25 Wim Taymans <wim@fluendo.com>
13492 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13493 (gst_util_uint64_scale_int):
13494 Optimisations, remove unneeded vars.
13496 2005-11-25 Wim Taymans <wim@fluendo.com>
13498 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13499 Added more checks for the high precision uint64 cases.
13501 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13502 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13503 Implement high precision (guint64 * guint64) / guint64.
13505 2005-11-24 Wim Taymans <wim@fluendo.com>
13507 * gst/base/gstbasesrc.c: (gst_base_src_query):
13508 Fix wrong percentage query.
13510 * gst/gstutils.c: (gst_util_uint64_scale),
13511 (gst_util_uint64_scale_int):
13512 Add some more common cases that can be handled
13513 efficiently to _scale.
13515 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13517 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13518 (gst_mini_object_suite):
13519 don't use check calls from threads; check probably isn't
13520 threadsafe and using a lock to make it threadsafe would
13521 defeat the purpose of this check
13522 * gst/check/gstcheck.c:
13523 * gst/check/gstcheck.h:
13524 use GST_DEBUG some more
13526 2005-11-24 Wim Taymans <wim@fluendo.com>
13528 * gst/gstutils.c: (gst_util_uint64_scale),
13529 (gst_util_uint64_scale_int):
13530 Chain trivial case to _scale_int.
13532 2005-11-24 Wim Taymans <wim@fluendo.com>
13534 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13535 Added test for scaling.
13540 * gst/gstutils.c: (gst_util_uint64_scale_int):
13541 Implemented high precision scaling code.
13543 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13546 do not crash on pad==NULL
13548 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13550 Patch by: Stefan Kost
13552 * common/gtk-doc.mak:
13553 * docs/gst/Makefile.am:
13554 * docs/libs/Makefile.am:
13555 Fix distcheck issues for the libraries docs build
13558 2005-11-24 Michael Smith <msmith@fluendo.com>
13560 * docs/manual/basics-helloworld.xml:
13561 Fix bug #315027: memory leak in example code in docs.
13563 2005-11-24 Michael Smith <msmith@fluendo.com>
13565 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13566 Unlock the PREROLL_LOCK in a failure case.
13568 2005-11-24 Wim Taymans <wim@fluendo.com>
13570 * docs/gst/gstreamer-sections.txt:
13571 * gst/base/gstadapter.h:
13572 * gst/base/gstbasesink.h:
13573 * gst/base/gstbasesrc.h:
13574 * gst/base/gstbasetransform.h:
13575 * gst/base/gstpushsrc.h:
13576 * gst/elements/gstfakesink.h:
13577 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13578 * gst/elements/gstfakesrc.h:
13579 * gst/elements/gstfilesink.h:
13580 * gst/elements/gstfilesrc.h:
13583 * gst/gstbuffer.c: (_gst_buffer_copy):
13586 * gst/gstchildproxy.c:
13588 * gst/gstelement.c:
13589 * gst/gstelementfactory.c:
13590 * gst/gstelementfactory.h:
13592 * gst/gstghostpad.h:
13594 * gst/gstinterface.h:
13595 * gst/gstminiobject.c:
13596 * gst/gstminiobject.h:
13599 * gst/gstpadtemplate.h:
13600 * gst/gstpipeline.h:
13601 * gst/gstpluginfeature.h:
13604 * gst/gsttaglist.c:
13605 * gst/gsttaglist.h:
13606 * gst/gsttagsetter.c:
13607 * gst/gsttagsetter.h:
13610 * gst/gsttypefind.h:
13613 * gst/net/gstnetclientclock.c:
13614 * gst/net/gstnetclientclock.h:
13615 * gst/net/gstnettimepacket.c:
13616 * gst/net/gstnettimeprovider.c:
13617 * gst/net/gstnettimeprovider.h:
13620 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13622 * configure.ac: back to HEAD
13624 === release 0.9.6 ===
13626 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13629 releasing 0.9.6, "Always On Time"
13631 2005-11-23 Wim Taymans <wim@fluendo.com>
13633 * docs/gst/gstreamer-sections.txt:
13634 * gst/glib-compat.c:
13635 * gst/gsttagsetter.c:
13637 * gst/net/gstnetclientclock.c:
13638 * gst/net/gstnettimepacket.h:
13641 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13643 * docs/faq/using.xml:
13644 * docs/libs/tmpl/gstcontrol.sgml:
13645 * docs/manual/advanced-dparams.xml:
13646 * docs/manual/appendix-checklist.xml:
13647 * docs/manual/basics-elements.xml:
13648 * docs/pwg/other-source.xml:
13649 * docs/random/moving-plugins:
13651 * tools/gst-launch.1.in:
13652 remove mentions of sinesrc
13654 2005-11-23 Michael Smith <msmith@fluendo.com>
13656 * docs/gst/gstreamer-sections.txt:
13657 Update for new API and API changes.
13659 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13661 Documentation typo fix.
13662 * gst/net/gstnettimepacket.c:
13663 Documentation fixes for arguments.
13665 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13667 * gst/gststructure.c: (gst_structure_get_fraction),
13668 (gst_structure_parse_value),
13669 (gst_structure_fixate_field_nearest_fraction):
13670 * gst/gststructure.h:
13671 * gst/gstutils.c: (gst_util_uint64_scale_int):
13673 * scripts/update-funcnames:
13675 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13676 Make gst_structure_fixate_field_nearest_fraction take a numerator
13677 and denominator argument instead of a GValue
13678 add gst_structure_get_fraction helper function.
13680 2005-11-23 Wim Taymans <wim@fluendo.com>
13682 * docs/design/part-TODO.txt:
13685 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13686 * gst/net/gstnetclientclock.h:
13687 Use parent fields for timeout and window_size.
13689 2005-11-23 Andy Wingo <wingo@pobox.com>
13691 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13692 rate_num/rate_denom change.
13694 * gst/net/gstnetclientclock.c
13695 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13696 OBJECT_LOCK. Don't call add_observation with the lock.
13698 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13700 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13702 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13703 deal with rate as a fraction whose numerator and denominator are
13704 GstClockTime values.
13705 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13706 master; the other fields are protected by the SLAVE_LOCK.
13707 (do_linear_regression): Note that this must be called with the
13709 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13710 OBJECT_LOCK. Call set_calibration instead of touching the
13711 variables directly.
13712 (gst_clock_set_property, gst_clock_get_property): Protect
13713 master/slave parameters with the SLAVE_LOCK.
13715 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13716 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13717 note that all of the instance variables that add_observation and
13718 the set_master functions use are protected by that lock and not
13720 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13722 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13723 the caller to take the object lock.
13725 2005-11-23 Wim Taymans <wim@fluendo.com>
13727 * gst/gsterror.c: (_gst_core_errors_init):
13729 Add error for clock stuff.
13731 * gst/gstpipeline.c: (gst_pipeline_change_state),
13732 (gst_pipeline_set_clock):
13733 Post clock error when clock cannot be used in a pipeline.
13735 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13737 * docs/gst/gstreamer-sections.txt:
13738 make two symbols from gstinfo private for the docs
13739 * gst/base/gstcollectpads.h:
13741 fix doc typos, update docs
13743 2005-11-22 Wim Taymans <wim@fluendo.com>
13745 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13746 (gst_base_sink_wait), (gst_base_sink_do_sync),
13747 (gst_base_sink_handle_event):
13748 * gst/base/gstbasesink.h:
13749 No need to store the clock, the parent element class already
13752 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13753 Updates for clock_set returning a gboolean
13755 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13756 (gst_clock_id_wait_async), (gst_clock_class_init),
13757 (gst_clock_init), (gst_clock_finalize),
13758 (gst_clock_get_internal_time), (gst_clock_get_time),
13759 (gst_clock_slave_callback), (gst_clock_set_master),
13760 (gst_clock_get_master), (do_linear_regression),
13761 (gst_clock_add_observation), (gst_clock_set_property),
13762 (gst_clock_get_property):
13764 Implement master/slave. When setting a clock as a slave, a
13765 periodic timeout is scheduled to sample master and slave times.
13766 Then the slave clock is recalibrated to match offset and rate
13767 of the master clock.
13768 Update logging a bit.
13769 Add flag so that a clock can state that is cannot be slaved to
13772 * gst/gstelement.c: (gst_element_set_clock):
13773 * gst/gstelement.h:
13774 The set clock returns a gboolean for when an element cannot
13775 deal with the selected clock in the pipeline.
13777 * gst/gstpipeline.c: (gst_pipeline_change_state),
13778 (gst_pipeline_set_clock):
13779 * gst/gstpipeline.h:
13780 Handle the case where the selected clock cannot be set on
13783 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13784 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13785 (gst_net_client_clock_set_property),
13786 (gst_net_client_clock_get_property),
13787 (gst_net_client_clock_observe_times):
13788 * gst/net/gstnetclientclock.h:
13789 Use regression code in GstClock parent, remove duplicated
13792 2005-11-22 Michael Smith <msmith@fluendo.com>
13794 * gst/gstutils.c: (gst_util_clock_time_scale):
13796 * docs/gst/gstreamer-sections.txt:
13797 Rename method to have extra underscore.
13799 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13801 * gst/elements/Makefile.am:
13802 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13803 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13804 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13805 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13806 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13807 * gst/elements/gstfakesrc.h:
13808 * gst/gstqueue.c: (queue_leaky_get_type):
13809 correctly fix GEnumValues so that nick is the short lowercase
13811 * tools/gst-inspect.c: (print_element_properties_info):
13812 also show the nick, since it's useful to use from parse_launch
13816 2005-11-22 Michael Smith <msmith@fluendo.com>
13818 * gst/gstutils.c: (gst_util_clocktime_scale):
13820 * docs/gst/gstreamer-sections.txt:
13821 Add util method for scaling a clocktime by a fraction. Useful
13822 implementation is left as an exercise for the reader.
13824 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13826 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13827 If needed, allocate storage in the destination value during
13830 2005-11-22 Edward Hervey <edward@fluendo.com>
13832 * docs/gst/gstreamer-sections.txt:
13835 * gst/gsturitype.c:
13836 * gst/gsturitype.h:
13837 * gst/gstutils.c: (gst_util_set_object_arg):
13838 * tools/gst-compprep.c: (main):
13839 * tools/gst-inspect.c: (print_element_properties_info):
13840 Removed GstURI, closes bug #321061
13842 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13844 * check/gst/gststructure.c: (GST_START_TEST):
13845 * gst/gststructure.c: (gst_structure_parse_value):
13846 Oops, broke automatic string type parsing.
13847 Add a test to catch it in future.
13849 2005-11-22 Andy Wingo <wingo@pobox.com>
13851 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13852 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13853 Actually rename the function implementations. Grr.
13855 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13857 * check/gst/capslist.h:
13859 * check/gst/gststructure.c: (GST_START_TEST),
13860 (gst_structure_suite):
13861 Test automatic value type detection in gst_structure_from_string.
13862 * gst/gststructure.c: (gst_structure_parse_value):
13863 Add fraction as a type we try and guess automatically in
13864 caps/structure strings.
13866 2005-11-22 Andy Wingo <wingo@pobox.com>
13868 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13870 * gst/gsttagsetter.h:
13871 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13872 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13873 (gst_tag_setter_add_tag_valist)
13874 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13875 _add_values, _add_valist, and _add_valist_values. Since this is an
13876 interface the function suffixes should be more explicit so
13877 language binding don't end up with element.add_valist ->
13878 gst_tag_setter_add_valist, for example. Fixes #322069.
13880 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13882 * check/gst/gstcaps.c: (GST_START_TEST):
13883 Extend caps string tests to check that a caps to string
13884 conversion is reversible and produces the same caps.
13886 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13887 Output "fraction" as the generic type fraction range, so caps
13888 serialisation and deserialisation works.
13889 * check/gst/capslist.h:
13890 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13891 Support 'MIN' and 'MAX' for deserialising fractions.
13893 2005-11-22 Andy Wingo <wingo@pobox.com>
13895 * gst/gstevent.h (gst_event_new_new_segment)
13896 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13897 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13898 Renamed from *_newsegment, *_buffersize, *_notarget.
13900 * scripts/update-funcnames: New script, performs the changes
13903 2005-11-22 Wim Taymans <wim@fluendo.com>
13905 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13906 Make sure the GstFlowReturn is returned.
13908 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13909 (gst_bus_add_signal_watch):
13911 add gst_bus_add_signal_watch_full.
13913 * gst/gstplugin.c: (gst_plugin_load_file):
13914 Small style cleanup.
13916 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13918 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13919 Block the fakesrc srcpad when we send an event, to avoid
13920 contention on the stream_lock causing random test failures.
13922 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13924 * check/gst/gstvalue.c: (GST_START_TEST):
13925 * gst/gstvalue.c: (gst_value_fraction_subtract):
13928 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13931 include "gstchildproxy.h"
13932 * gst/gstchildproxy.h:
13933 * libs/gst/controller/gstcontroller.h:
13934 use G_GNUC_NULL_TERMINATED
13936 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13938 * check/gst/capslist.h:
13939 * check/gst/gstcaps.c: (GST_START_TEST):
13940 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13941 * gst/gststructure.c: (gst_structure_parse_range),
13942 (gst_structure_fixate_field_nearest_fraction):
13943 * gst/gststructure.h:
13944 * gst/gstvalue.c: (gst_value_init_fraction_range),
13945 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13946 (gst_value_collect_fraction_range),
13947 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13948 (gst_value_set_fraction_range_full),
13949 (gst_value_get_fraction_range_min),
13950 (gst_value_get_fraction_range_max),
13951 (gst_value_serialize_fraction_range),
13952 (gst_value_transform_fraction_range_string),
13953 (gst_value_compare_fraction_range),
13954 (gst_value_deserialize_fraction_range),
13955 (gst_value_intersect_fraction_fraction_range),
13956 (gst_value_intersect_fraction_range_fraction_range),
13957 (gst_value_subtract_fraction_fraction_range),
13958 (gst_value_subtract_fraction_range_fraction),
13959 (gst_value_subtract_fraction_range_fraction_range),
13960 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13961 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13962 (gst_value_transform_string_fraction), (_gst_value_initialize):
13964 Implement fraction ranges and extend GstFraction to support
13965 arithmetic subtraction, as well as deserialization from integer
13966 strings such as "100"
13967 Add a testsuite as for int and double range set operations
13969 2005-11-21 Andy Wingo <wingo@pobox.com>
13971 * gst/gsttaglist.h:
13973 * gst/gststructure.h: Add glib-compat.h.
13975 2005-11-21 Wim Taymans <wim@fluendo.com>
13977 * gst/gstbin.c: (gst_bin_change_state_func):
13980 2005-11-21 Wim Taymans <wim@fluendo.com>
13982 * gst/gstsegment.h:
13983 And add a nice define too.
13985 2005-11-21 Wim Taymans <wim@fluendo.com>
13987 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13988 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13989 (gst_segment_set_duration), (gst_segment_set_last_stop),
13990 (gst_segment_set_seek), (gst_segment_set_newsegment),
13991 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13992 (gst_segment_clip):
13993 * gst/gstsegment.h:
13994 Make binding friendly.
13996 2005-11-21 Andy Wingo <wingo@pobox.com>
13998 * gst/gsttagsetter.h:
13999 * gst/gsttaglist.h:
14000 * gst/gststructure.h:
14002 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14005 * gst/gsterror.c (_gst_core_errors_init):
14006 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14009 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14010 (noinst_HEADERS): noinst the -private.
14012 2005-11-21 Michael Smith <msmith@fluendo.com>
14015 * gst/gstregistry.h:
14016 Remove unimplemented declarations for which we can see no sensible
14019 2005-11-21 Andy Wingo <wingo@pobox.com>
14021 * gst/gst.h: Include glib-compat.h.
14023 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14025 * gst/glib-compat.c: Include the public and the private header.
14027 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14031 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14033 * check/gst/gstevent.c (create_custom_events): Check that
14034 FLUSH_STOP is serialized.
14036 * check/elements/identity.c (event_func):
14037 * check/elements/fakesrc.c (event_func): No stream lock, the core
14040 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14041 stream lock taking, yay.
14043 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14044 ensure that core takes the stream lock.
14046 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14049 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14050 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14051 it already. For the flush start we do take it though so we get the
14052 right preroll state change messages.
14054 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14055 the stream lock here, the core does it for us.
14057 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14058 GST_STREAM_GET_LOCK.
14059 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14060 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14061 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14062 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14063 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14064 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14066 * gst/gstpad.c: Update for stream lock name change.
14068 * gst/base/gstbasesink.c: Update for preroll lock name change.
14070 2005-11-21 Wim Taymans <wim@fluendo.com>
14072 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14073 (gst_clock_get_master):
14075 * gst/gstsystemclock.c: (gst_system_clock_init):
14076 Convert Clock flags to object flags.
14077 Added methods to manage master/slave clocks.
14079 2005-11-21 Wim Taymans <wim@fluendo.com>
14081 * check/gst/gstsegment.c: (GST_START_TEST):
14082 * docs/design/part-TODO.txt:
14083 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14084 (gst_base_sink_event), (gst_base_sink_do_sync),
14085 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14086 (gst_base_sink_query), (gst_base_sink_change_state):
14087 * gst/base/gstbasesink.h:
14088 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14089 (gst_base_src_default_newsegment),
14090 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14091 (gst_base_src_get_range), (gst_base_src_loop),
14092 (gst_base_src_change_state):
14093 * gst/base/gstbasesrc.h:
14094 * gst/base/gstbasetransform.c:
14095 (gst_base_transform_prepare_output_buf),
14096 (gst_base_transform_event), (gst_base_transform_change_state):
14097 * gst/base/gstbasetransform.h:
14098 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14099 (gst_collect_pads_event):
14100 * gst/base/gstcollectpads.h:
14101 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14102 (gst_fake_src_create):
14103 * gst/elements/gstfakesrc.h:
14104 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14105 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14106 (gst_segment_set_last_stop), (gst_segment_set_seek),
14107 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14108 (gst_segment_to_running_time), (gst_segment_clip):
14109 * gst/gstsegment.h:
14110 More segment updates, replace code in plugins with segment
14113 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14115 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14116 Don't ignore sscanf results
14118 2005-11-21 Andy Wingo <wingo@pobox.com>
14120 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14123 * *.c: Ran scripts/update-macros. Oh yes.
14125 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14126 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14129 * scripts/update-macros: New script. Run it on your files to
14130 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14133 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14135 * docs/gst/Makefile.am:
14136 * docs/gst/gstreamer-docs.sgml:
14137 * docs/gst/gstreamer-sections.txt:
14138 * docs/gst/gstreamer.types:
14140 more docs fixes, add new api to the docs
14142 2005-11-21 Andy Wingo <wingo@pobox.com>
14144 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14145 state_broadcast call.
14147 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14149 2005-11-21 Julien MOUTTE <julien@moutte.net>
14151 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14152 function calls for arrays.
14154 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14156 * docs/random/ensonic/media-device-daemon.txt:
14157 wild idea, can this be done?
14158 * docs/gst/gstreamer-sections.txt:
14163 * gst/gstpluginfeature.c:
14167 doc fixes and additions
14169 2005-11-21 Andy Wingo <wingo@pobox.com>
14171 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14172 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14173 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14174 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14175 private to the basesrc implementation.
14177 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14178 behalf of event function if necessary. It should no longer be
14179 necessary to take the stream lock in pad's event functions. Fixes
14182 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14183 * docs/gst/gstreamer-sections.txt:
14184 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14185 (gst_structure_fixate_field_nearest_double),
14186 (gst_structure_fixate_field_boolean):
14187 * gst/gststructure.h:
14188 * win32/common/libgstreamer.def:
14189 * win32/gstreamer.def:
14191 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14194 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14196 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14197 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14198 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14199 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14200 (gst_fdsrc_uri_handler_init):
14201 * gst/elements/gstfdsrc.h:
14202 Port fd:// URI handler from 0.8 to fdsrc
14204 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14206 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14207 (gst_value_serialize_fourcc):
14209 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14210 consistent with our other format defines (#320324).
14212 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14214 * gst/gstvalue.c: (gst_value_is_fixed):
14215 Revert previous commit. Value lists are by definition
14216 not fixed, as they are a list of possible values.
14218 2005-11-21 Andy Wingo <wingo@pobox.com>
14220 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14221 during the stable series if we need it. Fixes #319178.
14223 * gst/gstevent.c (gst_event_new_filler): Removed.
14225 * check/gst/gstevent.c: Update comment about filler events.
14227 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14229 * gst/gstvalue.c: (gst_value_is_fixed):
14230 Should handle both value arrays and value lists.
14232 2005-11-21 Andy Wingo <wingo@pobox.com>
14234 patch by: Alessandro Dessina <alessandro nnva org>
14236 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14237 functions to access arrays. Fixes #321962.
14239 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14241 * docs/gst/gstreamer.types:
14242 gst_collectpads_get_type => gst_collect_pads_get_type.
14244 * gst/base/gstbasetransform.c:
14245 Remove unused SIGNAL_HANDOFF enum.
14247 2005-11-21 Andy Wingo <wingo@pobox.com>
14249 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14250 the event type (upstream, downstream, serialized). Renamed
14251 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14252 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14253 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14255 * gst/gstevent.c: Update for new CUSTOM event names.
14257 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14260 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14263 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14265 * docs/gst/gstreamer-sections.txt:
14266 * win32/common/libgstbase.def:
14267 * win32/libgstbase.def:
14268 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14269 (gst_collect_pads_class_init), (gst_collect_pads_init),
14270 (gst_collect_pads_finalize), (gst_collect_pads_new),
14271 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14272 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14273 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14274 (gst_collect_pads_start), (gst_collect_pads_stop),
14275 (gst_collect_pads_peek), (gst_collect_pads_pop),
14276 (gst_collect_pads_available), (gst_collect_pads_read),
14277 (gst_collect_pads_flush), (gst_collect_pads_event),
14278 (gst_collect_pads_chain):
14279 * gst/base/gstcollectpads.h:
14280 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14281 unimplemented functions as unimplemented. Add padding to
14282 GstCollectData. (#320766, #320423)
14284 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14286 * gst/gstmessage.c:
14287 Improve docs for DURATION message (usage of duration parameter)
14290 2005-11-20 Wim Taymans <wim@fluendo.com>
14292 * check/Makefile.am:
14293 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14297 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14298 (gst_segment_set_seek), (gst_segment_set_newsegment),
14299 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14300 (gst_segment_clip):
14301 * gst/gstsegment.h:
14302 Added segment helper structure and methods. Not fully implemented
14304 Added segment check.
14306 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14308 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14309 Add a deserialisation test for fractions
14310 * examples/metadata/read-metadata.c: (message_loop),
14311 (make_pipeline), (main):
14312 Fix up metadata reading sample.
14313 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14315 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14316 Don't try and fixate empty caps
14317 * gst/gst_private.h:
14318 Wrap in G_BEGIN_DECLS/G_END_DECLS
14319 * gst/gstvalue.c: (gst_value_collect_fraction),
14320 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14321 (gst_value_transform_string_fraction),
14322 (gst_value_compare_fraction):
14323 Add some extra guards to ensure that we don't end up
14324 with an invalid denominator of 0 in a gstfraction and
14325 that fractions always get reduced.
14327 2005-11-20 Wim Taymans <wim@fluendo.com>
14329 * docs/gst/gstreamer-sections.txt:
14331 * gst/gstelement.c:
14340 2005-11-20 Wim Taymans <wim@fluendo.com>
14342 * docs/design/part-TODO.txt:
14344 Make a proper enum of the flag.
14346 2005-11-19 Wim Taymans <wim@fluendo.com>
14348 * docs/design/part-TODO.txt:
14349 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14350 (gst_format_to_quark), (gst_format_register):
14352 * gst/gstquery.c: (_gst_query_initialize),
14353 (gst_query_type_get_name), (gst_query_type_to_quark),
14354 (gst_query_type_register):
14356 Add type to quark and type to string conversions.
14358 2005-11-19 Andy Wingo <wingo@pobox.com>
14360 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14363 2005-11-19 Wim Taymans <wim@fluendo.com>
14365 * docs/design/part-TODO.txt:
14366 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14367 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14368 (gst_bin_handle_message_func):
14370 Make message handling overridable.
14372 2005-11-19 Andy Wingo <wingo@pobox.com>
14374 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14377 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14379 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14380 is a GstClockTime. Fixes #321710.
14382 * gst/gstclock.h (GstClock): Remove offset property. Add
14383 internal_calibration and external_calibration. Fix padding. Pad
14384 also by GstClockTime so we don't run into problems.
14386 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14387 (gst_clock_get_rate_offset): Remove.
14388 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14391 * gst/gstutils.c (g_static_rec_cond_wait)
14392 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14394 * gst/gstbin.c: Remove terrible continue_state prototype.
14396 * gst/gstelement.h (gst_element_continue_state): Make public.
14398 * gst/gstelement.h:
14399 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14400 by continue_state. Fixes #319389.
14402 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14403 Really fixes #168438. However I don't see anywhere where the
14404 filter function is called... stupid GStreamer...
14406 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14407 don't have a dispose function, so it won't get called when the
14408 object is unreffed, but oh well!
14410 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14411 allows a destroy function to be set so user_data can be freed.
14413 (gst_index_set_filter): Call gst_index_set_filter_full.
14415 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14417 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14418 string should produce an error, given the lack of a way to
14419 represent NULL strings. Fixes #165650.
14422 * gst/gstvalue.c (gst_value_array_append_value)
14423 (gst_value_array_prepend_value, gst_value_array_get_size)
14424 (gst_value_array_get_value): New API, copied from
14425 gst_value_list_*, only operates on arrays.
14426 (gst_value_list_append_value, gst_value_list_prepend_value)
14427 (gst_value_list_concat, gst_value_list_get_size)
14428 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14430 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14431 init_list, because it works on both.
14432 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14433 (gst_value_copy_list_or_array): Renamed from copy_list.
14434 (gst_value_free_list_or_array): Renamed from free_list.
14435 (gst_value_collect_list_or_array): Renamed from collect_list.
14436 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14437 (gst_value_list_or_array_peek_pointer): Renamed from
14439 (_gst_value_array_value_table, _gst_value_list_value_table):
14440 Update value table functions.
14441 (gst_value_compare_list_or_array): Renamed from compare_list.
14443 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14446 * gst/gsttaglist.c:
14447 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14448 GstTagList*. Fixes #143472.
14450 * gst/gststructure.h: Clarify what the foreach/map functions can
14451 or can't do to their arguments.
14453 2005-11-18 Wim Taymans <wim@fluendo.com>
14455 * gst/gstclock.c: (gst_clock_set_calibration),
14456 (gst_clock_get_calibration):
14458 Calibration can be set with internal time equal to current
14461 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14467 2005-11-18 Andy Wingo <wingo@pobox.com>
14470 * pkgconfig/gstreamer-net.pc.in:
14471 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14472 * pkgconfig/Makefile.am: Add net pkgconfig files.
14474 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14477 * gst/gstghostpad.c:
14483 2005-11-18 Andy Wingo <wingo@pobox.com>
14485 * gst/net/gstnetclientclock.c: Turn off debugging.
14487 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14488 times connverge somewhat. Can't make a real test.
14490 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14491 integer arithmetic. Return the minimum of the domain, which can be
14492 set as "internal" for gst_clock_set_calibration.
14493 (gst_net_client_clock_observe_times): Call _set_calibration.
14494 (gst_net_client_clock_new): Call _set_calibration instead of
14497 * check/net/gstnetclientclock.c (test_functioning): Use the right
14501 * gst/gstclock.c (gst_clock_get_calibration)
14502 (gst_clock_set_calibration): New functions, obsolete the ones I
14503 added yesterday. Doh. Precision issues mean we have to extrapolate
14504 from a point in the more recent past than 1970.
14505 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14507 (gst_clock_adjust_unlocked): Use the right calibration data.
14509 2005-11-18 Edward Hervey <edward@fluendo.com>
14511 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14512 Also reset the ->current_* values in READY->PAUSED
14514 2005-11-18 Andy Wingo <wingo@pobox.com>
14516 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14517 Whoops, check the right fd. Also add some debugging.
14518 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14519 (do_linear_regression): Add a crapload of debugging. Subtract off
14520 the minimum values from the input series to discard unneeded bits.
14521 Use only int arithmetic. There is still double arithmetic when
14522 calculating the intercept that needs fixing. Return boolean to
14523 indicate success; FALSE would mean the domain or range is too
14524 great. Still needs fixes.
14526 2005-11-18 Wim Taymans <wim@fluendo.com>
14528 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14529 For the current position in stream time, we need to subtract
14532 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14533 Release lock before calling the callback function of async
14536 2005-11-18 Andy Wingo <wingo@pobox.com>
14538 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14539 Port goes all the way to MAXUINT16.
14541 * gst/net/gstnettimeprovider.c: Make the port range the same as
14542 for the kernel: 0 assigns, otherwise ports are less than
14545 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14548 * check/net/gstnetclientclock.c (test_functioning): Add the start
14551 2005-11-18 Wim Taymans <wim@fluendo.com>
14553 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14554 (gst_bin_remove_func), (bin_bus_handler):
14556 Removing a clock provider from a bin, triggers a clock lost message
14557 so that a new clock will be selected.
14558 Adding a clock to a bin triggers a clock provider message.
14559 Make sure we reselect a clock when we received a clock lost message.
14560 Keep a reference to the element that provided the clock.
14562 2005-11-18 Andy Wingo <wingo@pobox.com>
14564 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14565 the clock initially so it produces values around the base time.
14566 (gst_net_client_clock_class_init): Typo fix.
14567 (gst_net_client_clock_thread): Add note on when the socket gets
14570 2005-11-17 Wim Taymans <wim@fluendo.com>
14572 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14573 Free remote and local time arrays.
14575 2005-11-17 Wim Taymans <wim@fluendo.com>
14577 * gst/net/gstnetclientclock.c: (do_linear_regression),
14578 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14579 Fix compilation, uninitialized vars and a forgotten continue.
14581 2005-11-17 Andy Wingo <wingo@pobox.com>
14583 * check/Makefile.am (check_PROGRAMS):
14584 * check/net/gstnetclientclock.c: Add a most minimal test for the
14585 net client clock. More to come later.
14587 * gst/net/gstnet.h:
14588 * gst/net/Makefile.am: Add netclientclock.
14590 * gst/net/gstnetclientclock.h:
14591 * gst/net/gstnetclientclock.c: New files, implement an untested
14592 GstClock that takes its time from a network time provider.
14593 Implements the algorithm in network-clock.scm.
14595 * tests/network-clock.scm (*window-size*): Rename from
14597 * tests/network-clock.scm (network-time):
14598 * tests/network-clock-utils.scm (q-push): Update callers.
14600 2005-11-17 Wim Taymans <wim@fluendo.com>
14602 * gst/gstbin.c: (gst_bin_provide_clock_func),
14603 (gst_bin_sort_iterator_new):
14604 And unref the child too..
14606 2005-11-17 Wim Taymans <wim@fluendo.com>
14608 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14609 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14610 Refactor the sort iterator so it can be used while holding the
14612 Make clock selection select a clock closest to the source.
14614 2005-11-17 Michael Smith <msmith@fluendo.com>
14616 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14617 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14619 Anonymous structs are a gcc (and some other compilers) extension, so
14620 don't use them. Since this is only for ABI-compatibility, and our
14621 API/ABI freeze is over in a few days, this whole thing will only
14622 last a few days, so don't bother trying to think up a meaningful
14623 name for the struct.
14625 2005-11-17 Andy Wingo <wingo@pobox.com>
14627 * gst/gstclock.h (GstClock): Add rate and offset properties,
14628 preserving ABI stability. Add rate/offset accessors. Will file bug
14629 for the freeze break.
14631 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14632 and offset, trying to keep precision and avoiding
14633 underflow/overflow.
14634 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14635 functions. Make gst_clock_set_time_adjust obsolete.
14636 (gst_clock_set_time_adjust): Note that this function is obsolete.
14637 Will file bug soon.
14639 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14640 greppable by using GST_PADDING-1+1.
14642 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14644 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14646 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14647 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14649 * gst/gstpadtemplate.h:
14650 * gst/gstpluginfeature.h:
14651 Don't use c++ style comments in headers (#321638).
14653 2005-11-16 Andy Wingo <wingo@pobox.com>
14655 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14658 * check/net/gstnettimeprovider.c: Check to see that the time
14659 provider actually provides times. Works, yo!
14661 2005-11-16 Wim Taymans <wim@fluendo.com>
14663 * check/Makefile.am:
14666 * check/elements/fakesrc.c: (GST_START_TEST):
14667 Set element to NULL before disposing it.
14669 2005-11-16 Andy Wingo <wingo@pobox.com>
14671 * gst/net/Makefile.am:
14672 * gst/net/gstnet.h:
14673 * gst/net/gstnettimeprovider.c:
14674 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14675 provider, include it from gstnet.h, and add it to the build.
14677 * gst/net/gstnettimepacket.h:
14678 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14679 sending and receiving.
14681 2005-11-16 Wim Taymans <wim@fluendo.com>
14683 * check/Makefile.am:
14684 Enable valgrind check.
14686 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14687 (gst_fake_src_alloc_buffer):
14690 2005-11-16 Wim Taymans <wim@fluendo.com>
14692 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14693 Call parent finalize too.
14695 2005-11-16 Wim Taymans <wim@fluendo.com>
14697 * check/Makefile.am:
14698 Enable valgrind check that should work fine now.
14700 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14701 * gst/gstqueue.c: (gst_queue_init):
14702 Fix memleaks in pad allocation.
14704 2005-11-16 Andy Wingo <wingo@pobox.com>
14706 * gst/net/Makefile.am:
14707 * gst/net/gstnet.h: New part of core to hold network elements and
14708 objects. Put in core because it exposes API that applications want
14709 to use. The library is named libgstnet-tempname right now because
14710 of the existing libgstnet in gst-plugins-base. Solution is
14711 probably to rename the one in plugins-base; will file a bug for
14714 * gst/net/gstnettimeprovider.c:
14715 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14716 get_time call over the network.
14719 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14721 * check/Makefile.am:
14722 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14723 get additions shortly.
14725 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14727 * gst/gstpad.c: (gst_pad_new_from_static_template):
14729 add gst_pad_new_from_static_template functions
14730 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14731 (gst_check_setup_sink_pad):
14732 * gst/elements/gsttee.c: (gst_tee_init):
14735 2005-11-16 Wim Taymans <wim@fluendo.com>
14737 * gst/gstpad.c: (gst_pad_pause_task):
14738 Removed warning, it's not really an error either.
14740 2005-11-16 Wim Taymans <wim@fluendo.com>
14742 * gst/base/gstbasetransform.c:
14743 (gst_base_transform_prepare_output_buf),
14744 (gst_base_transform_event):
14745 Check if the caps are NULL, this can happen if the element
14746 is shutting down and the pad caps are set to NULL.
14748 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14750 * gst/elements/gsttee.c: (gst_tee_init):
14751 fix pad template leak in tee
14753 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14755 * gst/glib-compat.c: (g_value_dup_gst_object):
14756 * gst/glib-compat.h:
14757 * gst/gstpad.c: (gst_pad_set_property):
14758 use gst_object_ref when setting the pad template; this will
14759 trigger the pad template leaks on GLib 2.6 and the slaves
14761 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14763 * gst/glib-compat.c: (gst_flags_get_first_value):
14764 * gst/glib-compat.h:
14765 * gst/gstregistryxml.c:
14766 remove functions copied from GLib 2.6
14768 2005-11-16 Michael Smith <msmith@fluendo.com>
14771 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14772 do, but only breaks with newer valgrind versions. We're not a
14773 valgrind tool, we have no link-time dependencies on libcoregrind.
14775 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14777 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14779 * gst/gstmessage.h:
14782 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14784 * gst/base/gstbasesrc.c: (gst_base_src_init):
14785 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14786 * gst/gstqueue.c: (gst_queue_init):
14787 * gst/gstregistryxml.c: (load_feature):
14788 Revert all these unrefs, they don't even pass make check !
14790 2005-11-15 Johan Dahlin <johan@gnome.org>
14792 * gst/base/gstbasesrc.c: (gst_base_src_init):
14793 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14794 * gst/gstqueue.c: (gst_queue_init):
14795 Free pad templates, fixes a couple of leaks.
14797 2005-11-15 Daniel Fischer <dan at f3c dot com>
14799 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14801 * gst/gstpad.c: (gst_pad_get_property):
14802 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14803 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14806 2005-11-15 Wim Taymans <wim@fluendo.com>
14811 2005-11-15 Andy Wingo <wingo@pobox.com>
14813 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14815 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14816 using GST_CLOCK_TIME_NONE to disable base time management.
14817 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14818 time if it was NONE before.
14819 (gst_pipeline_change_state): Only munge the base time if
14820 stream_time != GST_CLOCK_TIME_NONE.
14822 * check/gst/gstpipeline.c (test_base_time): Punt around the
14823 problem of the probe not being called, because that's not the
14824 issue I'm looking at. Add a check that setting stream_time to NONE
14825 disables base time management.
14827 2005-11-15 Wim Taymans <wim@fluendo.com>
14829 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14830 segment_stop == -1 at startup.
14832 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14833 (gst_base_transform_change_state):
14834 Init segment values at start.
14836 2005-11-15 Wim Taymans <wim@fluendo.com>
14838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14839 0 segment values are 0 in any format.
14841 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14842 * gst/base/gstbasetransform.h:
14843 Parse newsegment correctly in basetransform
14845 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14846 Sync to clock using updated segment values.
14848 2005-11-15 Andy Wingo <wingo@pobox.com>
14850 * check/gst/gstpipeline.c (test_base_time): Add check that the
14851 base time and stream time are reset correctly.
14853 2005-11-15 Wim Taymans <wim@fluendo.com>
14855 * docs/design/part-TODO.txt:
14856 Some more TODO items.
14858 2005-11-15 Andy Wingo <wingo@pobox.com>
14860 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14861 error if the user selected "no clock" as the clocking method.
14863 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14864 timestamps with live capture.
14866 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14867 is 0 but we are a live source, timestamp the buffers using the
14870 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14872 * docs/gst/gstreamer-sections.txt:
14874 * gst/gstghostpad.c:
14879 2005-11-14 Wim Taymans <wim@fluendo.com>
14882 add suppressions from Wim's Debian machine
14884 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14887 add suppressions from Andy's AMD64 Ubuntu machine
14889 2005-11-14 Andy Wingo <wingo@pobox.com>
14891 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14892 STATE_LOCK not necessary. Fixes #311489.
14894 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14897 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14898 this function is not implemented.
14900 2005-11-14 Julien MOUTTE <julien@moutte.net>
14902 * gst/base/gstbasetransform.c:
14903 (gst_base_transform_prepare_output_buf):
14904 Ref the source pad caps while we need them.
14907 2005-11-11 Wim Taymans <wim@fluendo.com>
14909 * docs/gst/gstreamer-sections.txt:
14910 Added some docs for GstCollectData.
14912 * gst/base/gstadapter.c:
14913 Some small code example fix.
14915 * gst/base/gstcollectpads.c:
14916 * gst/base/gstcollectpads.h:
14917 Document some more.
14919 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14921 * configure.ac: back to HEAD
14923 === release 0.9.5 ===
14925 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14928 releasing 0.9.5, "Bike Lunch Day"
14930 2005-11-11 Wim Taymans <wim@fluendo.com>
14932 * gst/gstbuffer.c: (_gst_buffer_copy):
14935 * gst/gstcaps.c: (gst_caps_is_equal):
14937 Make _is_equal fast in the trivial cases.
14939 * gst/gstminiobject.c:
14940 * gst/gstminiobject.h:
14941 More docs. Spifify .h file.
14946 2005-11-11 Wim Taymans <wim@fluendo.com>
14948 * gst/base/gstbasetransform.c:
14949 (gst_base_transform_prepare_output_buf),
14950 (gst_base_transform_handle_buffer):
14952 If we're processing a buffer and need to allocate an output
14953 buffer, we cannot accept a format change. If we did get a
14954 format change, we have to alloc a buffer ourselves of the
14957 2005-11-11 Wim Taymans <wim@fluendo.com>
14959 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14960 While checking the flag for reentrancy in the gstcaps function
14961 is nice to detect recursive invocations, it also makes it
14962 impossible to call getcaps from multiple threads, which must be
14963 possible. So, checking for recursive calls has to go.
14965 2005-11-11 Michael Smith <msmith@fluendo.com>
14967 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14968 Don't sync on buffers that fall partially outside our current
14969 segment. Prevents an assertion failure/abort playing some files.
14971 2005-11-10 Andy Wingo <wingo@pobox.com>
14973 * check/gst/gstbin.c (test_message_state_changed_children): Style
14976 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14977 gst_bus_poll with the signal watch. Ensures that poll and a signal
14978 watch see the same messages.
14980 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14981 a poll and a watch at the same time get the same messages.
14983 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14985 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14986 * gst/gstcaps.c: (gst_caps_intersect):
14987 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14988 and it's not needed.
14990 2005-11-10 Wim Taymans <wim@fluendo.com>
14992 * docs/design/part-TODO.txt:
14995 2005-11-10 Wim Taymans <wim@fluendo.com>
14997 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14998 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14999 (gst_base_src_do_sync), (gst_base_src_get_range):
15000 Implement clock sync in base class.
15002 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15004 patch by: Tim-Philipp Müller <tim at centricular dot net>
15006 * gst/gststructure.c: (gst_structure_parse_field),
15007 (gst_structure_from_string):
15008 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15009 so that gst_parse_launch() can deal with spaces in filtered link
15010 caps (fixes #164479)
15011 * check/gst/capslist.h:
15012 * check/gst/gststructure.c: (GST_START_TEST):
15013 add unit tests for this change
15015 2005-11-10 Wim Taymans <wim@fluendo.com>
15017 * docs/gst/gstreamer-sections.txt:
15018 * gst/gstelement.c:
15019 * gst/gstelement.h:
15020 Fix docs, move some STATE macros to private.
15022 2005-11-10 Wim Taymans <wim@fluendo.com>
15024 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15025 Added check for bug #317341
15029 Some more spiffifying.
15031 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15032 Call peer linkfunction if we are a source pad. Totally fixes
15036 Update docs, source pads should call the peer linkfunction
15037 so they can atomically perform the pad link.
15039 2005-11-09 Wim Taymans <wim@fluendo.com>
15043 Uber-spiffy-spiffify some more.
15045 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15047 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15048 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15049 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15050 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15051 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15052 * gst/gstpad.c: (gst_pad_init):
15053 Use GST_DEBUG_FUNCPTR() more extensively.
15055 2005-11-09 Wim Taymans <wim@fluendo.com>
15057 * gst/gstobject.c: (gst_object_class_init):
15059 Documentation fixes.
15061 2005-11-09 Edward Hervey <edward@fluendo.com>
15063 * gst/gsttypefindfactory.c:
15066 2005-11-09 Edward Hervey <edward@fluendo.com>
15068 * gst/base/gsttypefindhelper.c:
15069 * gst/gsttypefind.c:
15070 * gst/gsttypefind.h:
15073 2005-11-09 Wim Taymans <wim@fluendo.com>
15075 * gst/gstiterator.c:
15082 2005-11-09 Wim Taymans <wim@fluendo.com>
15088 2005-11-09 Wim Taymans <wim@fluendo.com>
15090 * docs/gst/gstreamer-sections.txt:
15091 Moved the message async delivery private lock and cond
15092 to the private section.
15094 * gst/gstmessage.c:
15095 * gst/gstmessage.h:
15098 2005-11-09 Edward Hervey <edward@fluendo.com>
15100 * docs/gst/gstreamer-sections.txt:
15103 Document GstURIHandler
15105 2005-11-09 Wim Taymans <wim@fluendo.com>
15107 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15108 (gst_iterator_find_custom):
15109 * gst/gstiterator.h:
15112 2005-11-09 Wim Taymans <wim@fluendo.com>
15115 Document another field.
15117 * gst/gststructure.c:
15118 * gst/gststructure.h:
15121 2005-11-09 Wim Taymans <wim@fluendo.com>
15124 Documented structs.
15126 2005-11-09 Wim Taymans <wim@fluendo.com>
15128 * docs/gst/gstreamer-sections.txt:
15129 Added some new macros.
15136 2005-11-09 Wim Taymans <wim@fluendo.com>
15138 * docs/design/part-TODO.txt:
15139 Some more items for the TODO
15145 2005-11-09 Andy Wingo <wingo@pobox.com>
15147 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15148 to work on something else now tho...
15150 * gst/base/gstadapter.c: More adapter docs.
15152 * gst/elements/gstfilesink.c (gst_file_sink_start)
15153 (gst_file_sink_stop): New functions, replace the state change
15155 (gst_file_sink_class_init): Hook up the start and stop functions.
15156 (gst_file_sink_base_init): Don't set the state change handler any
15157 more. It was a bit ugly too, being set from here...
15158 (gst_file_sink_get_property, gst_file_sink_set_property):
15160 (gst_file_sink_set_location): More robust check that doesn't call
15161 GST_STATE. Ugggggg.
15163 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15165 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15166 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15168 2005-11-08 Wim Taymans <wim@fluendo.com>
15170 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15171 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15172 (gst_base_sink_chain), (gst_base_sink_change_state):
15173 * gst/base/gstbasesink.h:
15174 * gst/base/gstbasesrc.h:
15175 * gst/gstelement.h:
15177 Avoid excessive typechecking in macros.
15179 * gst/gstminiobject.c: (gst_mini_object_get_type),
15180 (gst_mini_object_init), (gst_mini_object_new),
15181 (gst_mini_object_free):
15182 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15183 (gst_object_finalize):
15184 Remove cruft code, optimize alloc_trace.
15186 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15188 * docs/faq/gst-uninstalled:
15189 fix up PS1 for systems that try to reset it
15191 2005-11-07 Wim Taymans <wim@fluendo.com>
15193 * gst/base/gstbasesrc.c: (gst_base_src_init),
15194 (gst_base_src_get_range):
15195 Set the segment_end to -1 initially. Fixed typefind.
15197 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15199 * gst/base/gstadapter.c:
15200 Debug category should be 'adapter', not 'GstAdapter'.
15202 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15203 (gst_collectpads_class_init), (gst_collectpads_init),
15204 (gst_collectpads_peek), (gst_collectpads_pop),
15205 (gst_collectpads_event), (gst_collectpads_chain):
15206 Add debug category and some debugging output. Use boilerplate
15207 macros. Remove some extraneous words from docs.
15209 2005-11-05 Andy Wingo <wingo@pobox.com>
15211 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15214 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15216 * docs/gst/gstreamer-sections.txt:
15219 * gst/gstminiobject.h:
15224 2005-11-04 Wim Taymans <wim@fluendo.com>
15226 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15227 Small update to stop at the configured segment_end
15230 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15232 * gst/gstregistry.c:
15233 * gst/gstregistry.h:
15236 2005-11-04 Edward Hervey <edward@fluendo.com>
15238 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15239 Check if we are doing a segment seek and have arrived at the
15240 end of that segment.
15242 2005-11-04 Wim Taymans <wim@fluendo.com>
15244 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15245 Don't leak a mutex unlock in case of an error.
15250 2005-11-04 Wim Taymans <wim@fluendo.com>
15252 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15254 Get the context to wake up only once.
15256 2005-11-03 Wim Taymans <wim@fluendo.com>
15258 * check/states/sinks.c: (GST_START_TEST):
15259 Uncomment fixed check.
15261 * docs/design/part-TODO.txt:
15264 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15265 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15266 (gst_base_sink_get_position):
15267 If we are going to PLAYING, post the right pending state
15268 when we post the intermediate paused message.
15270 * gst/gstelement.c: (gst_element_continue_state),
15271 (gst_element_set_state_func), (gst_element_change_state):
15272 Don't post state changes that were between the same state
15273 and were not ASYNC.
15275 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15277 * docs/gst/gstreamer-sections.txt:
15280 * gst/gstminiobject.h:
15283 more docs and doc style fixes
15285 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15287 * docs/gst/gstreamer-sections.txt:
15288 * gst/gstelement.c:
15289 * gst/gstminiobject.c:
15292 2005-11-03 Andy Wingo <wingo@pobox.com>
15294 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15295 state-changed messages actually have the right order and the right
15298 2005-11-03 Wim Taymans <wim@fluendo.com>
15300 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15301 Added some more checks. Specifically the case where NO_PREROLL
15302 elements are in the pipeline.
15304 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15305 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15306 (gst_base_sink_get_position):
15307 Post READY->PAUSED state change messages too.
15308 Fix bug where VOID was posted as pending state...
15310 * gst/gstbin.c: (gst_bin_recalc_state):
15311 use _element_continue_state() to continue the state change.
15313 * gst/gstelement.c: (gst_element_continue_state),
15314 (gst_element_commit_state), (gst_element_set_state_func),
15315 (gst_element_change_state), (gst_element_change_state_func):
15316 Lots of state change cleanups, assign the STATE_RETURN in
15317 a new continue_state() function that also propagates the
15318 last return value from a state change to the app.
15319 Update some debug statements with proper category.
15321 2005-11-03 Wim Taymans <wim@fluendo.com>
15323 * docs/design/part-events.txt:
15324 * docs/design/part-gstpipeline.txt:
15325 * docs/design/part-messages.txt:
15326 * docs/design/part-overview.txt:
15327 * docs/design/part-seeking.txt:
15328 * docs/design/part-states.txt:
15329 * docs/design/part-trickmodes.txt:
15330 * docs/manual/advanced-position.xml:
15331 Small docs updates.
15334 People think !! is ugly, this looks better.
15336 * gst/gstpad.c: (gst_pad_set_blocked_async):
15337 Remove !! since it's fixed elsewhere now.
15339 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15341 * gst/gstminiobject.h:
15343 Add !! to _FLAG_IS_SET macros to make the result boolean.
15345 2005-11-03 Edward Hervey <edward@fluendo.com>
15347 * gst/gstpad.c: (gst_pad_set_blocked_async):
15348 comparing a flag and a gboolean rarely returns coherent results...
15349 Added two characters (!!) to make that work correctly.
15351 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15353 * gst/gstbus.c: (gst_bus_class_init):
15356 * gst/gstqueue.c: (gst_queue_loop):
15357 Don't assume a miniobject that isn't a buffer is an
15358 event (it could be that there is a refcounting
15359 problem somewhere and the pointer is stale and
15360 refers to an already destroyed miniobject).
15362 2005-11-03 Julien MOUTTE <julien@moutte.net>
15364 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15366 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15368 * docs/manual/advanced-position.xml:
15369 Update seek example and explanations to current 0.9 API.
15371 * gst/elements/gsttypefindelement.c:
15372 (gst_type_find_element_activate):
15373 Remove FIXME comment now that the found caps
15376 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15378 * gst/gstregistryxml.c: (load_feature):
15379 Add another GST_STR_NULL instance
15381 2005-11-02 Edward Hervey <edward@fluendo.com>
15383 * gst/gstpad.c: (handle_pad_block):
15384 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15386 2005-11-02 Wim Taymans <wim@fluendo.com>
15391 * gst/gstelement.c: (gst_element_commit_state):
15392 Remove unused value.
15394 * gst/gstiterator.c:
15395 Mention that the returned element is reffed in the docs.
15397 2005-11-02 Wim Taymans <wim@fluendo.com>
15399 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15400 (gst_pad_push), (gst_pad_push_event):
15401 Unlock blocked pads when they are flushed.
15403 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15406 * docs/gst/gstreamer-sections.txt:
15409 * gst/gstregistry.c: (gst_registry_scan_path_level):
15410 fix for a nasty little missed situation where an installed plug-in
15411 which was in the cache did not get overridden by an uninstalled one
15412 which was earlier in the plugin path because the newly created plugin
15413 for the uninstalled one (not in the registry) didn't get its
15414 ->registered set to TRUE
15416 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15418 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15419 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15420 (gst_collectpads_is_active), (gst_collectpads_collect),
15421 (gst_collectpads_collect_range), (gst_collectpads_start),
15422 (gst_collectpads_stop), (gst_collectpads_peek),
15423 (gst_collectpads_pop), (gst_collectpads_available),
15424 (gst_collectpads_read), (gst_collectpads_flush):
15425 Guard public API with assertions.
15428 Fix docs for gst_pad_set_link_function().
15430 2005-11-02 Johan Dahlin <johan@gnome.org>
15432 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15433 Unref found_caps after we used it.
15435 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15437 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15438 Don't try to ref NULL.
15440 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15442 * win32/common/config.h.in:
15443 provide a GST_FUNCTION that just gives a string for now
15445 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15447 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15448 (gst_object_flags_get_type), (register_gst_bin_flags),
15449 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15450 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15451 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15452 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15453 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15454 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15455 (gst_clock_flags_get_type), (register_gst_state),
15456 (gst_state_get_type), (register_gst_state_change_return),
15457 (gst_state_change_return_get_type), (register_gst_state_change),
15458 (gst_state_change_get_type), (register_gst_element_flags),
15459 (gst_element_flags_get_type), (register_gst_core_error),
15460 (gst_core_error_get_type), (register_gst_library_error),
15461 (gst_library_error_get_type), (register_gst_resource_error),
15462 (gst_resource_error_get_type), (register_gst_stream_error),
15463 (gst_stream_error_get_type), (register_gst_event_type),
15464 (gst_event_type_get_type), (register_gst_seek_type),
15465 (gst_seek_type_get_type), (register_gst_seek_flags),
15466 (gst_seek_flags_get_type), (register_gst_format),
15467 (gst_format_get_type), (register_gst_index_certainty),
15468 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15469 (gst_index_entry_type_get_type),
15470 (register_gst_index_lookup_method),
15471 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15472 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15473 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15474 (gst_index_flags_get_type), (register_gst_debug_level),
15475 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15476 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15477 (gst_iterator_result_get_type), (register_gst_iterator_item),
15478 (gst_iterator_item_get_type), (register_gst_message_type),
15479 (gst_message_type_get_type), (register_gst_mini_object_flags),
15480 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15481 (gst_pad_link_return_get_type), (register_gst_flow_return),
15482 (gst_flow_return_get_type), (register_gst_activate_mode),
15483 (gst_activate_mode_get_type), (register_gst_pad_direction),
15484 (gst_pad_direction_get_type), (register_gst_pad_flags),
15485 (gst_pad_flags_get_type), (register_gst_pad_presence),
15486 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15487 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15488 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15489 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15490 (gst_plugin_flags_get_type), (register_gst_rank),
15491 (gst_rank_get_type), (register_gst_query_type),
15492 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15493 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15494 (gst_tag_flag_get_type), (register_gst_task_state),
15495 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15496 (gst_alloc_trace_flags_get_type),
15497 (register_gst_type_find_probability),
15498 (gst_type_find_probability_get_type), (register_gst_uri_type),
15499 (gst_uri_type_get_type), (register_gst_parse_error),
15500 (gst_parse_error_get_type):
15501 * win32/common/gstversion.h:
15502 update win32 copies
15504 2005-11-01 Luca Ognibene <luogni@tin.it>
15507 fix docs. popt is dead, long live GOption.
15509 2005-10-31 Wim Taymans <wim@fluendo.com>
15514 2005-10-31 Andy Wingo <wingo@pobox.com>
15518 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15520 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15521 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15522 the possibility of deadlocks here if code calling notify() or
15523 set() has a lock that can be taken in another notify handler (ABBA
15524 with class lock and e.g. python GIL state lock).
15526 2005-10-28 Julien MOUTTE <julien@moutte.net>
15528 * gst/gstbus.c: Doc updates.
15530 2005-10-28 Wim Taymans <wim@fluendo.com>
15532 * docs/design/part-TODO.txt:
15533 * gst/gstiterator.c:
15534 * gst/gstsystemclock.c:
15535 * gst/gstsystemclock.h:
15538 2005-10-28 Edward Hervey <edward@fluendo.com>
15540 * docs/gst/gstreamer-docs.sgml:
15541 * docs/gst/gstreamer-sections.txt:
15542 the GstURIType documentation page is private, it only defines GstURIType
15543 which should be defined in the GstURIHandler page
15545 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15547 * gst/gstbin.c: (gst_bin_class_init):
15550 Documentation updates.
15552 2005-10-28 Wim Taymans <wim@fluendo.com>
15554 * docs/gst/gstreamer-sections.txt:
15557 Documented the clocks.
15559 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15561 * docs/gst/gstreamer-sections.txt:
15562 move some macros to private sections
15563 * gst/gstminiobject.c:
15564 * gst/gstminiobject.h:
15565 add descriptions provided by ds and some more
15567 mark macro as to be removed
15569 2005-10-28 Wim Taymans <wim@fluendo.com>
15571 * docs/design/part-TODO.txt:
15572 Add an item to TODO.
15574 * gst/gstiterator.c: (gst_iterator_fold),
15575 (gst_iterator_find_custom):
15576 * gst/gstiterator.h:
15579 2005-10-28 Wim Taymans <wim@fluendo.com>
15581 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15582 (gst_base_transform_init):
15585 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15586 An EOS event marks the queue as completely filled.
15588 2005-10-27 Wim Taymans <wim@fluendo.com>
15590 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15591 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15592 Some more debugging.
15594 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15595 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15596 (gst_base_transform_event), (gst_base_transform_getrange),
15597 (gst_base_transform_chain):
15598 * gst/base/gstbasetransform.h:
15600 Protect transform and concurrent buffer alloc with a new lock.
15601 Try not to break ABI/API.
15603 2005-10-27 Wim Taymans <wim@fluendo.com>
15605 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15606 (gst_base_src_init), (gst_base_src_query),
15607 (gst_base_src_default_newsegment),
15608 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15609 (gst_base_src_send_event), (gst_base_src_event_handler),
15610 (gst_base_src_pad_get_range), (gst_base_src_loop),
15611 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15612 (gst_base_src_start), (gst_base_src_deactivate),
15613 (gst_base_src_activate_push), (gst_base_src_change_state):
15614 Move some stuff around and cleanup things.
15616 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15618 * gst/base/gstbasesrc.c: (gst_base_src_query):
15619 Add missing break statements.
15621 2005-10-27 Wim Taymans <wim@fluendo.com>
15623 * check/gst/gstbin.c: (GST_START_TEST):
15624 An extra refcount is taken in basesrc.
15626 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15627 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15628 (gst_base_src_loop):
15629 Small cleanups, check for flushing after being unlocked from the
15630 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15631 Don't send out EOS when going to READY.
15633 2005-10-27 Wim Taymans <wim@fluendo.com>
15635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15636 (gst_base_sink_get_position):
15639 * gst/gstbin.c: (message_check), (bin_replace_message),
15640 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15641 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15642 (bin_query_duration_init), (bin_query_duration_fold),
15643 (bin_query_duration_done), (bin_query_generic_fold),
15645 * tools/gst-launch.c: (main):
15648 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15650 * examples/controller/audio-example.c: (main):
15651 * examples/queue/queue.c: (event_loop):
15652 * gst/base/gstbasetransform.h:
15653 * gst/gstelement.c: (gst_element_send_event):
15655 * gst/gstpad.c: (gst_pad_send_event):
15658 changing log priority in error situations
15660 2005-10-25 Wim Taymans <wim@fluendo.com>
15662 * gst/gstbin.c: (message_check), (bin_replace_message),
15663 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15664 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15665 (bin_query_duration_init), (bin_query_duration_fold),
15666 (bin_query_duration_done), (bin_query_generic_fold),
15668 Some doc and debug updates.
15669 Cache previously requested query DURATION for speed. invalidate
15670 cached duration if element posts a DURATION message.
15672 2005-10-25 Wim Taymans <wim@fluendo.com>
15674 * docs/design/part-TODO.txt:
15677 * gst/gstbin.c: (message_check), (bin_replace_message),
15678 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15679 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15680 (bin_query_duration_init), (bin_query_duration_fold),
15681 (bin_query_duration_done), (bin_query_generic_fold),
15683 Handle SEGMENT_START/DONE messages correctly.
15684 More evolved query algorithm that handles duration queries
15687 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15688 (gst_element_get_state_func), (gst_element_abort_state),
15689 (gst_element_commit_state), (gst_element_lost_state):
15690 Some more debugging.
15692 * gst/gstmessage.h:
15695 2005-10-25 Wim Taymans <wim@fluendo.com>
15697 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15698 Don't use invalid stream_time.
15700 * gst/gstevent.c: (gst_event_new_newsegment):
15701 stream_time in newsegment cannot be undefined.
15703 2005-10-24 Wim Taymans <wim@fluendo.com>
15708 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15710 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15712 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15714 * docs/libs/tmpl/gstdparam.sgml:
15715 * docs/libs/tmpl/gstdplinint.sgml:
15716 * docs/libs/tmpl/gstdpman.sgml:
15717 * docs/libs/tmpl/gstdpsmooth.sgml:
15718 * docs/libs/tmpl/gstunitconvert.sgml:
15721 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15726 === release 0.9.4 ===
15728 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15731 releasing 0.9.4, "Tyrannosaurus Rex"
15733 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15735 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15736 (gst_file_sink_get_current_offset):
15737 Use fseeko() and ftello() if available. When falling back on
15738 lseek() to get the current offset, fflush() first to make sure
15739 everything is up-to-date and we get the right offset.
15741 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15744 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15745 * gst/gsterror.c: (_gst_stream_errors_init):
15747 * gst/gstqueue.c: (gst_queue_loop):
15749 remove prematurely added error category and clean up the instances
15751 2005-10-21 Wim Taymans <wim@fluendo.com>
15753 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15754 (gst_base_sink_get_position), (gst_base_sink_query),
15755 (gst_base_sink_change_state):
15756 Simply set the right flag when going to playing, that's all
15757 we need to do instead of calling a function inside the object
15758 lock (that could take the lock as well and deadlock)
15760 2005-10-21 Wim Taymans <wim@fluendo.com>
15762 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15763 (gst_base_src_loop):
15764 Don't warn, the peer element knows what to do best when
15765 the seek failed, it might try something else.
15767 2005-10-21 Wim Taymans <wim@fluendo.com>
15769 * gst/base/gstbasesrc.c: (gst_base_src_init),
15770 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15773 2005-10-21 Wim Taymans <wim@fluendo.com>
15775 * docs/design/part-segments.txt:
15778 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15779 Correctly set caps, even on the subbufer.
15781 2005-10-21 Wim Taymans <wim@fluendo.com>
15783 * docs/gst/gstreamer-docs.sgml:
15784 * docs/gst/gstreamer-sections.txt:
15785 * gst/gstelement.h:
15788 * gst/gstmessage.h:
15791 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15795 And 2% more doc coverage.
15797 2005-10-21 Andy Wingo <wingo@pobox.com>
15799 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15800 position reporting.
15802 2005-10-20 Wim Taymans <wim@fluendo.com>
15804 * gst/gsterror.c: (gst_error_get_message):
15807 * gst/gststructure.c:
15812 2005-10-20 Wim Taymans <wim@fluendo.com>
15817 Another 1% more coverage.
15819 2005-10-20 Wim Taymans <wim@fluendo.com>
15821 * docs/gst/gstreamer-sections.txt:
15822 * gst/gstelement.c: (gst_element_get_state_func),
15823 (gst_element_abort_state), (gst_element_commit_state),
15824 (gst_element_lost_state):
15826 * gst/gstquery.c: (gst_query_set_position),
15827 (gst_query_parse_position), (gst_query_set_duration),
15828 (gst_query_parse_duration), (gst_query_new_convert):
15830 Yay! 1% more docs coverage.
15832 2005-10-20 Wim Taymans <wim@fluendo.com>
15835 * gst/gstquery.c: (gst_query_set_position),
15836 (gst_query_parse_position), (gst_query_set_duration),
15837 (gst_query_parse_duration), (gst_query_new_convert):
15839 * gst/gstutils.c: (gst_element_query_convert):
15841 Docs and consistency fixes.
15843 2005-10-20 Wim Taymans <wim@fluendo.com>
15849 2005-10-20 Wim Taymans <wim@fluendo.com>
15851 * gst/gstbin.c: (message_check), (bin_replace_message),
15852 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15853 (update_degree), (gst_bin_sort_iterator_next),
15854 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15855 Reworked the message handling a bit, cache the messages instead of
15856 only the senders. alows us to do more in the future.
15858 2005-10-20 Wim Taymans <wim@fluendo.com>
15860 * docs/design/part-TODO.txt:
15863 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15864 (gst_base_sink_query):
15865 Don't use clock time to report position when in EOS.
15867 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15869 * tools/gst-inspect.c: (print_interfaces),
15870 (print_element_properties_info), (print_element_info):
15871 Fix interface output with gst-inspect -a; don't print
15872 newlines after double/float properties.
15874 2005-10-20 Wim Taymans <wim@fluendo.com>
15876 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15877 (gst_base_sink_query):
15878 Speed up current position calculation.
15880 * gst/base/gstbasesrc.c: (gst_base_src_query),
15881 (gst_base_src_default_newsegment):
15882 Correctly set stream position in newsegment.
15884 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15885 (update_degree), (gst_bin_sort_iterator_next),
15886 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15887 * gst/gstmessage.c: (gst_message_new_custom):
15888 Clean up debugging info
15890 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15891 (gst_queue_loop), (gst_queue_handle_src_query):
15894 2005-10-19 Wim Taymans <wim@fluendo.com>
15896 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15897 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15898 Fix query handling again.
15900 2005-10-19 Wim Taymans <wim@fluendo.com>
15902 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15903 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15904 * gst/base/gstbasesrc.c: (gst_base_src_query):
15905 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15906 * gst/elements/gsttypefindelement.c:
15907 (gst_type_find_handle_src_query), (find_element_get_length),
15908 (gst_type_find_element_activate):
15911 * gst/gstquery.c: (gst_query_new_position),
15912 (gst_query_set_position), (gst_query_parse_position),
15913 (gst_query_new_duration), (gst_query_set_duration),
15914 (gst_query_parse_duration), (gst_query_set_segment),
15915 (gst_query_parse_segment):
15917 Bundling query position/duration is not a good idea since duration
15918 does not change much and we don't want to recalculate it for every
15919 position query, so they are separated again..
15920 Base value in segment query is not needed.
15922 * gst/gstqueue.c: (gst_queue_handle_src_query):
15923 * gst/gstutils.c: (gst_element_query_position),
15924 (gst_element_query_duration), (gst_pad_query_position),
15925 (gst_pad_query_duration):
15927 Updates for query API change.
15928 Added some docs here and there.
15930 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15932 * check/gst/gstbin.c: (GST_START_TEST):
15933 * check/gst/gstghostpad.c: (GST_START_TEST):
15934 * check/pipelines/cleanup.c: (GST_START_TEST):
15935 wait on thread to die so we can check refcount correctly
15937 2005-10-18 Wim Taymans <wim@fluendo.com>
15939 * check/pipelines/stress.c: (GST_START_TEST):
15940 Make check a little more time consuming.
15942 2005-10-18 Wim Taymans <wim@fluendo.com>
15944 * check/Makefile.am:
15945 * check/pipelines/stress.c: (GST_START_TEST),
15946 (simple_launch_lines_suite), (main):
15947 Small state change torture test.
15949 * docs/design/part-states.txt:
15950 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15951 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15952 (gst_base_sink_change_state):
15953 Never take state lock from streaming thread, clean up ugly
15954 hacks. Unfortunatly core does not yet support nice ways to
15955 async commit state.
15957 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15959 Start state recalc if a STATE_DIRTY message is posted, but only
15960 on the toplevel bin.
15962 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15963 (gst_element_get_state_func), (gst_element_abort_state),
15964 (gst_element_commit_state), (gst_element_lost_state),
15965 (gst_element_set_state_func), (gst_element_change_state):
15966 * gst/gstelement.h:
15967 State variables are now protected with the LOCK, the state
15968 lock is only used to serialize _set_state().
15970 2005-10-18 Wim Taymans <wim@fluendo.com>
15972 * check/gst/gstbin.c: (GST_START_TEST):
15973 * check/gst/gstmessage.c: (GST_START_TEST):
15974 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15975 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15977 * gst/gstelement.c: (gst_element_abort_state),
15978 (gst_element_commit_state), (gst_element_lost_state):
15979 * gst/gstmessage.c: (gst_message_new_state_changed),
15980 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15981 (gst_message_new_segment_done), (gst_message_new_duration),
15982 (gst_message_parse_state_changed),
15983 (gst_message_parse_segment_start),
15984 (gst_message_parse_segment_done), (gst_message_parse_duration):
15985 * gst/gstmessage.h:
15986 * tools/gst-launch.c: (event_loop):
15987 Seriously, this is better than a previous commit as we only need
15988 to notify the fact that an element changed state in a streaming
15989 thread, marking the state of the parents dirty, hence the
15990 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15993 2005-10-18 Wim Taymans <wim@fluendo.com>
15995 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15996 (gst_bin_recalc_func):
15997 * gst/gstelement.c: (gst_element_set_clock),
15998 (gst_element_abort_state), (gst_element_lost_state):
15999 Cleanups, prepare for state change fixes.
16001 2005-10-18 Wim Taymans <wim@fluendo.com>
16004 * gst/gstelement.c: (gst_element_class_init),
16005 (gst_element_set_state), (gst_element_set_state_func):
16006 * gst/gstelement.h:
16007 Pending ABI changes.
16008 GThreadPool in GstBinClass to monitor async state changes.
16009 state_cookie in GstElement to detect concurrent gst/set state.
16010 set_state is now virtual too in case a very complicated element
16011 has to be constructed.
16013 2005-10-18 Wim Taymans <wim@fluendo.com>
16015 * check/gst/gstbin.c: (GST_START_TEST):
16016 * check/gst/gstmessage.c: (GST_START_TEST):
16017 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16018 * gst/gstbin.c: (bin_bus_handler):
16019 * gst/gstelement.c: (gst_element_commit_state),
16020 (gst_element_lost_state):
16021 * gst/gstmessage.c: (gst_message_new_state_changed),
16022 (gst_message_new_segment_start), (gst_message_new_segment_done),
16023 (gst_message_new_duration), (gst_message_parse_state_changed),
16024 (gst_message_parse_segment_start),
16025 (gst_message_parse_segment_done), (gst_message_parse_duration):
16026 * gst/gstmessage.h:
16027 * tools/gst-launch.c: (event_loop):
16028 Make messages future proof.
16029 state-change gets a flag if it was a message comming from the
16031 segment-start/stop can also be specified in other formats.
16032 A message to notify an app that a pipeline changed playback
16034 Also fix a GstMessage leak in -launch
16036 2005-10-18 Andy Wingo <wingo@pobox.com>
16038 * gst/gstelement.c (gst_element_dispose): More helpful message.
16040 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16042 reviewed by: <delete if not using a buddy>
16044 * common/gtk-doc.mak:
16046 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16048 * gst/gstregistry.c: (gst_registry_scan_path_level):
16049 unref a plug-in we get that was already initialized
16051 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16053 * docs/gst/gstreamer-sections.txt:
16054 * docs/libs/gstreamer-libs-sections.txt:
16055 * gst/gstelement.h:
16056 add new api entries
16057 hide internal macro
16059 2005-10-17 Andy Wingo <wingo@pobox.com>
16061 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16064 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16066 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16068 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16069 (gst_element_get_state_func): Better debug message.
16070 (gst_element_commit_state): s/INFO/DEBUG/.
16071 (gst_element_lost_state, gst_element_change_state):
16073 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16074 (gst_message_new_custom): s/INFO/LOG/.
16076 2005-10-17 Michael Smith <msmith@fluendo.com>
16078 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16079 Check if end time is valid using end time, not start time.
16081 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16083 * check/gst-libs/controller.c: (GST_START_TEST),
16084 (gst_controller_suite):
16085 * libs/gst/controller/gstcontroller.c:
16086 (gst_controlled_property_set_interpolation_mode):
16087 * libs/gst/controller/gstcontroller.h:
16088 * libs/gst/controller/gstinterpolation.c:
16089 * testsuite/controller/.cvsignore:
16090 * testsuite/controller/Makefile.am:
16091 * testsuite/controller/interpolator.c:
16092 merge controller testsuites
16094 remove mem-chunk from docs
16096 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16098 * gst/gstmemchunk.c:
16099 * gst/gstmemchunk.h:
16100 * gst/gsttrashstack.c:
16101 * gst/gsttrashstack.h:
16102 out. get out. you're fired. to the Attic !
16104 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16106 * gst/gstcaps.c: (gst_caps_intersect):
16107 fix signedness issues in a (hopefully) correct way
16108 * gst/gstelement.c: (gst_element_pads_activate):
16110 * gst/gstobject.c: (gst_object_set_parent):
16113 2005-10-17 Julien MOUTTE <julien@moutte.net>
16115 * gst/gstvalue.h: Fix prototypes.
16117 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16119 * docs/gst/gstreamer-sections.txt:
16120 * gst/gst.c: (gst_version_string):
16122 * gst/gstversion.h.in:
16123 * win32/common/libgstreamer.def:
16124 add gst_version_string ()
16126 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16130 * gst/gst.c: (init_post):
16131 * win32/common/config.h.in:
16133 * gst/gstcaps.c: (gst_caps_intersect):
16134 use gint64, the range could be bigger than a guint
16136 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16139 document potential problem in 2038
16141 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16143 * gst/gstcaps.c: (gst_caps_intersect):
16144 Fix guint j diving under 0
16146 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16149 * win32/common/config.h:
16150 * win32/common/config.h.in:
16151 check for process.h, declares getpid() on Windows
16153 include process.h if we have it
16154 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16155 * gst/gstmemchunk.h:
16156 fix signedness issues
16157 * win32/common/libgstreamer.def:
16160 2005-10-16 Julien MOUTTE <julien@moutte.net>
16162 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16163 fix. Because of unsigned ints, caps intersection was going nuts and
16164 trying to access structures with G_MAXUINT index. That fixes
16165 videotestsrc ! ffmpegcolorspace ! fakesink
16166 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16169 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16172 use the gettext macro
16173 * gst/elements/gstelements.c:
16175 * gst/indexers/gstindexers.c:
16176 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16177 * win32/common/config.h:
16179 * win32/common/config.h.in:
16180 add the template to generate config.h
16181 * win32/common/gstenumtypes.c:
16182 * win32/common/gstversion.h:
16185 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16187 * gst/gst.c: (gst_version):
16188 * gst/gstversion.h.in:
16191 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16194 Oops, add missing closing bracket.
16196 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16199 use common m4's for argument checking
16201 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16203 * docs/gst/gstreamer-sections.txt:
16205 Add GST_EVENT_TYPE_NAME() macro.
16207 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16210 * gst/gstpluginfeature.c:
16212 privatize more symbols
16214 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16217 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16218 everything that uses GStreamer API should have the includes
16220 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16222 * docs/gst/gstreamer-sections.txt:
16223 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16225 give each value a _get_type, removes the DATA exports
16227 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16231 remove _gst_registry_auto_load, not used anymore
16232 * gst/gstbin.c: (gst_bin_get_type):
16234 * gst/gstelement.c: (gst_element_get_type):
16235 * gst/gstelement.h:
16236 * gst/gstobject.c: (gst_object_get_type):
16238 * gst/gstpad.c: (gst_pad_get_type):
16240 make _get_type functions similar, fixes data export from library
16242 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16245 correctly make conditionals
16246 * gst/elements/Makefile.am:
16247 * gst/elements/gstelements.c:
16248 fix typo causing fdsrc not to build
16250 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16252 * testsuite/Makefile.am:
16253 * testsuite/bytestream/.cvsignore:
16254 * testsuite/bytestream/Makefile.am:
16255 * testsuite/bytestream/filepadsink.c:
16256 * testsuite/bytestream/gstbstest.c:
16257 * testsuite/bytestream/test1.c:
16258 * testsuite/bytestream/testfile1:
16259 * testsuite/caps/normalisation.c:
16260 * testsuite/caps/random.c: (main):
16261 * testsuite/cleanup/.cvsignore:
16262 * testsuite/cleanup/Makefile.am:
16263 * testsuite/cleanup/cleanup1.c:
16264 * testsuite/cleanup/cleanup2.c:
16265 * testsuite/cleanup/cleanup3.c:
16266 * testsuite/cleanup/cleanup4.c:
16267 * testsuite/cleanup/cleanup5.c:
16268 * testsuite/controller/interpolator.c:
16269 * testsuite/debug/printf_extension.c: (main):
16270 * testsuite/elements/tee.c:
16271 * testsuite/negotiation/.cvsignore:
16272 * testsuite/negotiation/Makefile.am:
16273 * testsuite/negotiation/pad_link.c:
16274 * testsuite/pad/Makefile.am:
16275 * testsuite/pad/chainnopull.c:
16276 * testsuite/pad/getnopush.c:
16277 * testsuite/pad/link.c:
16278 * testsuite/refcounting/sched.c: (create_pipeline):
16279 * testsuite/registry/Makefile.am:
16280 * testsuite/registry/gst-print-formats.c:
16281 * testsuite/schedulers/.cvsignore:
16282 * testsuite/schedulers/142183-2.c:
16283 * testsuite/schedulers/142183.c:
16284 * testsuite/schedulers/143777-2.c:
16285 * testsuite/schedulers/143777.c:
16286 * testsuite/schedulers/147713.c:
16287 * testsuite/schedulers/147819.c:
16288 * testsuite/schedulers/147894-2.c:
16289 * testsuite/schedulers/147894.c:
16290 * testsuite/schedulers/Makefile.am:
16291 * testsuite/schedulers/group_link.c:
16292 * testsuite/schedulers/queue_link.c:
16293 * testsuite/schedulers/relink.c:
16294 * testsuite/schedulers/unlink.c:
16295 * testsuite/schedulers/unref.c:
16296 * testsuite/schedulers/useless_iteration.c:
16297 * testsuite/states/bin.c:
16298 clean out/remove some stuff from the testsuite directories
16300 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16303 check for some headers
16304 * gst/elements/Makefile.am:
16305 * gst/elements/gstelements.c:
16306 don't compile fdsrc without sys/socket.h
16307 * gst/indexers/Makefile.am:
16308 * gst/indexers/gstindexers.c: (plugin_init):
16309 don't compile fileindex without mmap
16311 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16318 * check/Makefile.am:
16319 * docs/gst/Makefile.am:
16320 * examples/helloworld/Makefile.am:
16322 * gst/base/Makefile.am:
16323 * gst/check/Makefile.am:
16324 * gst/elements/Makefile.am:
16325 * gst/indexers/Makefile.am:
16326 * gst/parse/Makefile.am:
16327 * libs/gst/controller/Makefile.am:
16328 * libs/gst/dataprotocol/Makefile.am:
16329 * examples/helloworld/helloworld.c: (event_loop):
16330 compile fixes, though it's not being compiled currently
16332 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16334 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16335 Add some simple tests for the new taglist date API.
16337 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16339 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16340 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16341 Beautify 'last-message' output: print 'none' for buffer timestamps
16342 and durations if none is set; improve alignment with next messages.
16344 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16346 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16347 * gst/gstpluginfeature.h:
16348 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16349 * gst/gstregistry.h:
16350 * docs/gst/gstreamer-sections.txt:
16351 Add new API to check plugin feature version requirements.
16353 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16354 Some basic tests for the above.
16356 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16358 * gst/gststructure.c: (gst_structure_to_string):
16359 guard against NULL printf - happens when for example
16360 a message structure with GstClock gets serialized
16362 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16364 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16365 Fix presumable copy'n'pasto.
16367 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16369 * gst/elements/gstfakesrc.h:
16370 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16371 * gst/elements/gsttypefindelement.c:
16372 fix some signedness
16373 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16374 I wonder if this could actually write +2GB files before
16376 2005-10-13 Andy Wingo <wingo@pobox.com>
16378 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16379 Fix Timmeke Waymans bug.
16380 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16381 string of the proper length to gst_caps_from_string. There's a
16382 potential for, before this fix, that this could cause someone
16383 connecting over the network to cause a segfault if the payload is
16384 not NUL-terminated.
16386 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16388 * docs/design/draft-push-pull.txt:
16389 * docs/design/part-overview.txt:
16390 * docs/random/TODO-pre-0.9:
16391 * docs/random/old/ChangeLog.gstreamer:
16392 * gst/base/gstpushsrc.c:
16396 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16398 * gst/glib-compat.c: (gst_flags_get_first_value):
16399 * gst/glib-compat.h:
16400 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16401 (gst_value_compare_double), (gst_value_serialize_flags):
16402 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16405 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16408 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16410 * tools/gst-launch.c: (event_loop):
16411 print out clock nicely
16413 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16415 * docs/gst/gstreamer-sections.txt:
16416 * gst/gsttaglist.h:
16417 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16418 (gst_tag_list_get_date_index):
16419 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16420 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16422 2005-10-13 Julien MOUTTE <julien@moutte.net>
16424 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16425 (gst_collectpads_chain):
16426 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16429 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16431 * docs/gst/gstreamer-sections.txt:
16434 * tools/gst-inspect.c: (main):
16435 * tools/gst-launch.c: (main):
16436 * tools/gst-run.c: (main):
16437 * tools/gst-xmlinspect.c: (main):
16438 fix GOption context leaks
16441 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16445 * win32/common/config.h:
16447 * win32/vs6/grammar.dsp:
16448 * win32/vs6/libgstelements.dsp:
16449 * win32/vs6/libgstreamer.dsp:
16452 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16454 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16455 * gst/base/gstbasesrc.c: (gst_base_src_query):
16456 fix more guint64<->gdouble conversions
16458 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16461 add win32-update target
16462 * win32/common/gstconfig.h:
16463 * win32/common/gstenumtypes.c:
16464 * win32/common/gstenumtypes.h:
16465 * win32/common/gstversion.h:
16466 add files that visual studio can't generate
16468 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16471 add a win32-update target
16474 2005-10-12 Wim Taymans <wim@fluendo.com>
16476 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16477 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16478 * gst/gstelement.c: (gst_element_commit_state),
16479 (gst_element_set_state):
16480 Protect flags with proper lock.
16481 unref provided cached clock in dispose.
16483 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16486 * gst/gstminiobject.h:
16488 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16489 removed unused flags from miniobject
16492 2005-10-12 Wim Taymans <wim@fluendo.com>
16494 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16495 (gst_file_sink_event), (gst_file_sink_render):
16496 Flush before seeking.
16498 2005-10-12 Andy Wingo <wingo@pobox.com>
16500 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16501 always been the case.
16503 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16505 * check/gst/gstbin.c: (GST_START_TEST):
16506 * docs/gst/gstreamer-sections.txt:
16507 * gst/base/gstbasesink.c: (gst_base_sink_init):
16508 * gst/base/gstbasesrc.c: (gst_base_src_init),
16509 (gst_base_src_get_range), (gst_base_src_check_get_range),
16510 (gst_base_src_start), (gst_base_src_stop):
16511 * gst/base/gstbasesrc.h:
16512 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16513 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16514 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16518 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16520 * gst/gstelement.c: (gst_element_is_locked_state),
16521 (gst_element_set_locked_state), (gst_element_commit_state),
16522 (gst_element_set_state):
16523 * gst/gstelement.h:
16524 * gst/gstindex.c: (gst_index_init):
16526 * gst/gstminiobject.h:
16527 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16528 (gst_object_set_parent):
16530 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16531 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16533 * gst/gstpadtemplate.h:
16534 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16535 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16536 * gst/gstpipeline.h:
16537 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16538 (gst_file_index_commit):
16539 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16540 * testsuite/pad/link.c: (gst_test_src_init),
16541 (gst_test_filter_init), (gst_test_sink_init):
16542 * testsuite/states/locked.c: (main):
16543 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16544 moved bitshift from macro to enum definition
16546 2005-10-12 Wim Taymans <wim@fluendo.com>
16548 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16549 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16550 (gst_file_sink_render):
16551 Some more debugging info.
16553 2005-10-12 Wim Taymans <wim@fluendo.com>
16555 * docs/design/part-states.txt:
16556 * tools/gst-launch.c: (main):
16558 Revert non-intentional change.
16560 2005-10-12 Wim Taymans <wim@fluendo.com>
16562 * check/gst/gstbin.c: (GST_START_TEST):
16563 * check/gst/gstelement.c: (GST_START_TEST):
16564 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16565 * check/gst/gstghostpad.c: (GST_START_TEST):
16566 * check/gst/gstpipeline.c: (GST_START_TEST):
16567 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16568 * check/states/sinks.c: (GST_START_TEST):
16569 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16570 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16571 (gst_bin_remove_func), (gst_bin_get_state_func),
16572 (gst_bin_recalc_state), (gst_bin_change_state_func),
16574 * gst/gstelement.c: (gst_element_get_state_func),
16575 (gst_element_get_state), (gst_element_abort_state),
16576 (gst_element_commit_state), (gst_element_set_state),
16577 (gst_element_change_state), (gst_element_change_state_func):
16578 * gst/gstelement.h:
16579 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16580 (gst_pipeline_provide_clock_func):
16581 * gst/gstutils.c: (gst_element_link_pads_filtered):
16582 * tools/gst-launch.c: (main):
16583 * tools/gst-typefind.c: (main):
16584 Use GstClockTime in _get_state() instead of GTimeVal.
16585 Remove old code in gstutils.c
16587 2005-10-12 Andy Wingo <wingo@pobox.com>
16589 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16592 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16593 there is no task. Shouldn't affect any code, as nothing in our
16594 plugins checks this return value.
16595 (gst_pad_stop_task): Also take the stream lock if the pad has no
16596 task. Docs updated.
16598 2005-10-12 Wim Taymans <wim@fluendo.com>
16600 * gst/gstpad.c: (pre_activate), (post_activate),
16601 (gst_pad_activate_pull), (gst_pad_activate_push):
16602 Cleanup activation code. Reset old state if
16605 2005-10-12 Wim Taymans <wim@fluendo.com>
16607 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16608 (gst_base_sink_change_state):
16609 No need to prerol after receiving EOS.
16611 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16612 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16613 * gst/elements/gstidentity.c: (gst_identity_event):
16614 Print events more verbosely.
16616 2005-10-12 Wim Taymans <wim@fluendo.com>
16618 * check/Makefile.am:
16619 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16620 * check/states/sinks2.c:
16621 Moved sinks2 testcode in sinks check.
16623 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16624 (gst_bin_remove_func), (gst_bin_recalc_state),
16625 (gst_bin_change_state_func), (bin_bus_handler):
16626 Fix potential race condition when _get_state() iterated over an
16627 ASYNC element right before it posted a state completion.
16630 Do proper cast here.
16632 * gst/gstevent.c: (gst_event_new_newsegment),
16633 (gst_event_parse_newsegment):
16634 A playback rate of 0.0 is not allowed.
16636 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16638 * win32/common/config.h:
16639 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16640 (_trewinddir), (_ttelldir), (_tseekdir):
16641 * win32/common/dirent.h:
16642 * win32/common/gtchar.h:
16643 * win32/common/libgstbase.def:
16644 * win32/common/libgstreamer.def:
16645 * win32/vs6/grammar.dsp:
16646 * win32/vs6/gst_inspect.dsp:
16647 * win32/vs6/gst_launch.dsp:
16648 * win32/vs6/gstreamer.dsw:
16649 * win32/vs6/libgstbase.dsp:
16650 * win32/vs6/libgstelements.dsp:
16651 * win32/vs6/libgstreamer.dsp:
16652 Visual Studio 6 project files, and a new common directory.
16655 2005-10-11 Wim Taymans <wim@fluendo.com>
16657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16658 (gst_base_sink_do_sync), (gst_base_sink_query),
16659 (gst_base_sink_change_state):
16660 * gst/base/gstbasesink.h:
16661 Correctly parse newsegment info.
16663 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16665 * gst/gst.c: (init_post):
16666 split plugin paths correctly
16668 2005-10-11 Wim Taymans <wim@fluendo.com>
16670 * check/gst/gstevent.c: (GST_START_TEST):
16671 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16672 (gst_base_sink_change_state):
16673 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16674 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16675 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16676 * gst/gstevent.c: (gst_event_new_newsegment),
16677 (gst_event_parse_newsegment):
16679 Added extra flag to newsegment for future API freeze.
16680 Updated check and base elements.
16682 2005-10-11 Julien MOUTTE <julien@moutte.net>
16684 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16685 (gst_collectpads_add_pad), (gst_collectpads_pop),
16686 (gst_collectpads_event), (gst_collectpads_chain):
16687 * gst/base/gstcollectpads.h: Handle EOS correctly.
16689 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16691 * tools/gst-launch.c: (main):
16692 more null protecting
16694 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16696 * gst/gst-i18n-lib.h:
16697 check for ENABLE_NLS, not GETTEXT_PACKAGE
16698 * gst/gstregistry.c: (gst_registry_add_plugin),
16699 (gst_registry_scan_path_level),
16700 (_gst_registry_remove_cache_plugins):
16701 protect possibly NULL strings
16702 * gst/parse/types.h:
16703 config.h already included before
16704 * tools/gst-inspect.c: (main):
16705 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16706 check for ENABLE_NLS, not GETTEXT_PACKAGE
16707 * tools/gst-launch.c: (main):
16708 check for ENABLE_NLS, not GETTEXT_PACKAGE
16710 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16713 if we don't have glib, fail before testing 2.8
16714 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16715 fix a leak, should fix plugins-base testsuite
16717 2005-10-11 Andy Wingo <wingo@pobox.com>
16719 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16720 take the mode we're going to as an arg. Go head and set the mode
16721 and flushing flags now, so that if the activate function starts a
16722 thread all the flags will be in the right state.
16723 (post_activate): Renamed also. Just handle making sure streaming
16724 finishes for the deactivation case, and setting the deactivated
16726 (gst_pad_set_active): Complain loudly if deactivation fails.
16727 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16728 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16729 remove the terrible hack.
16731 2005-10-11 Wim Taymans <wim@fluendo.com>
16733 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16734 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16735 (gst_bin_recalc_state), (gst_bin_change_state_func),
16736 (gst_bin_dispose), (bin_bus_handler):
16738 Prepare to make current EOS message queue more generic.
16741 * gst/gstevent.c: (gst_event_new_newsegment),
16742 (gst_event_parse_newsegment):
16744 Rename base to stream_time.
16746 * gst/gstmessage.h:
16749 2005-10-11 Wim Taymans <wim@fluendo.com>
16751 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16752 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16753 (gst_bin_change_state_func), (bin_bus_handler):
16755 Work on proper clock selection.
16757 2005-10-11 Edward Hervey <edward@fluendo.com>
16759 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16760 * libs/gst/controller/gstcontroller.h:
16761 Added GList* version of _remove_properties() in order to be able to wrap
16764 2005-10-11 Wim Taymans <wim@fluendo.com>
16766 * docs/design/part-states.txt:
16769 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16770 (gst_bin_change_state_func), (bin_bus_handler):
16771 Doc updates. Don't distribute the same clock over and over again.
16777 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16778 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16779 (gst_pad_send_event):
16781 Make probe emission threadsafe again.
16782 Register quarks and move _get_name() from utils.
16785 * gst/gstpipeline.c: (gst_pipeline_class_init),
16786 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16787 Only redistribute the clock of it changed.
16789 * gst/gstsystemclock.h:
16794 Moved the _flow_get_name() to GstPad.
16796 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16798 * check/gst-libs/gdp.c: (GST_START_TEST):
16799 * check/gst/gstcaps.c: (GST_START_TEST):
16800 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16801 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16802 (gst_dp_packet_from_caps):
16803 fix more valgrind warnings before turning up the heat
16805 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16807 * gst/parse/grammar.y:
16808 some cleanup before the hacking
16810 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16812 * gst/base/gstbasesrc.c: (gst_base_src_query):
16814 * gst/gstutils.c: (gst_guint64_to_gdouble),
16815 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16817 externalize, basesrc uses it
16818 obviously the implementation needs testing
16820 2005-10-10 Wim Taymans <wim@fluendo.com>
16822 * tests/sched/Makefile.am:
16823 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16824 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16826 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16828 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16829 apparently converting from guint64 to double is not implemented
16832 2005-10-10 Wim Taymans <wim@fluendo.com>
16834 * check/Makefile.am:
16835 * check/generic/states.c: (GST_START_TEST):
16836 * check/gst/gstbin.c: (GST_START_TEST):
16837 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16838 * check/states/sinks.c: (GST_START_TEST):
16839 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16841 Check fixes, use API as stated in design docs, remove hacks.
16843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16844 (gst_base_sink_change_state):
16845 Catch stopping our task while we're shutting down.
16847 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16848 (gst_bin_remove_func), (gst_bin_get_state_func),
16849 (gst_bin_recalc_state), (gst_bin_change_state_func),
16852 * gst/gstelement.c: (gst_element_init),
16853 (gst_element_get_state_func), (gst_element_abort_state),
16854 (gst_element_commit_state), (gst_element_lost_state),
16855 (gst_element_set_state), (gst_element_change_state),
16856 (gst_element_change_state_func):
16857 * gst/gstelement.h:
16858 New state change algorithm (see #318116)
16860 * gst/gstpipeline.c: (gst_pipeline_class_init),
16861 (gst_pipeline_init), (gst_pipeline_set_property),
16862 (gst_pipeline_get_property), (do_pipeline_seek),
16863 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16864 * gst/gstpipeline.h:
16865 Remove crude state change hacks.
16868 Remove crude hacks.
16870 * tools/gst-launch.c: (main):
16871 Fixes for state change. Needs some more work to fully use the
16874 2005-10-10 Andy Wingo <wingo@pobox.com>
16876 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16878 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16879 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16882 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16884 * gst/gstiterator.c: (gst_iterator_new):
16885 Fix my previous commit: GTypes passed to gst_iterator_new()
16886 can be fundamental types.
16888 2005-10-10 Wim Taymans <wim@fluendo.com>
16890 * gst/gstelement.c: (gst_element_iterate_pad_list),
16891 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16892 (gst_element_iterate_sink_pads):
16893 Use src/sink pads lists for the respective iterators instead
16896 2005-10-10 Andy Wingo <wingo@pobox.com>
16898 Merged in popt removal + GOption addition patch from Ronald, bug
16901 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16902 GstElement macros around, remove popt-related symbols, add goption
16905 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16907 * docs/gst/Makefile.am:
16908 * docs/libs/Makefile.am: No POPT_CFLAGS.
16910 * examples/manual/Makefile.am:
16911 * docs/manual/basics-init.xml: Doc updates with an example.
16913 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16914 (gst_init), (parse_one_option), (parse_goption_arg):
16915 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16916 bit of hand merging and debugging to get the GOption stuff working
16919 * tests/Makefile.am:
16920 * tools/Makefile.am:
16921 * tools/gst-inspect.c: (main):
16922 * tools/gst-launch.c: (main):
16923 * tools/gst-run.c: (main):
16924 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16926 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16928 * gst/gstiterator.c: (gst_iterator_new):
16929 Add assertions to make sure passed GType is likely to really
16930 be a GType (as the compiler won't catch it if the size and
16931 GType arguments get mixed up, see #318447).
16933 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16935 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16937 * gst/gstbin.c: (gst_bin_iterate_sorted):
16938 Pass GType and size arguments to gst_iterator_new() in the right
16939 order (maybe we should make _new() take the GType as first argument
16940 just like _new_list()?) (#318447).
16943 2005-10-10 Wim Taymans <wim@fluendo.com>
16945 * gst/gstelement.c: (gst_element_finalize):
16946 And free the GStaticRecMutex too
16948 2005-10-10 Andy Wingo <wingo@pobox.com>
16950 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16951 Allocate and free the mutex properly.
16953 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16955 (GstElement): The state_lock is now recursive. Rebuild your
16956 plugins, suckers. Old macros adapted.
16958 * docs/gst/gstreamer-sections.txt: Doc updates.
16961 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16962 (g_static_rec_cond_wait): Ported from state changes patch, while
16963 we wait on bug #317802 to be solved in a well-distributed GLib.
16965 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16966 gst_element_change_state, variable name changes.
16967 (gst_element_change_state): Split out of gst_element_set_state in
16968 preparation for the state change merge. Doesn't pay attention to
16969 the 'transition' argument.
16970 (gst_element_set_state): Updates, hopefully purely cosmetic.
16971 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16972 state change patch.
16973 (gst_element_get_state_func): Renamed from get_state, cosmetic
16976 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16978 * gst/elements/gstelements.c:
16979 * win32/GStreamer.vcproj:
16981 * win32/dirent.c: (_tseekdir):
16982 * win32/gst-inspect.vcproj:
16983 * win32/gst-launch.vcproj:
16984 * win32/gstconfig.h:
16985 * win32/gstelements.vcproj:
16986 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16987 * win32/gstreamer.def:
16988 * win32/msvc71.sln:
16989 updates for the win32 build (patch from Sebastien Moutte)
16991 2005-10-10 Andy Wingo <wingo@pobox.com>
16993 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16994 gst_bin_get_state, cleaned up (but no logic changes).
16995 (bin_element_is_sink): Comment updates.
16996 (sink_iterator_filter): Remove needless cast.
16997 (gst_bin_iterate_sinks): Doc update.
16998 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16999 cleaned up (but no logic changes).
17001 * check/states/sinks.c (test_src_sink): Cleanups from the state
17003 (test_livesrc_sink): Sync on the state.
17005 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17006 the state change patch.
17008 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17011 * check/gst/gstbin.c: Merge in some style fixes and additional
17012 checks from Wim's state change patch.
17014 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17016 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17017 (gst_type_find_helper):
17018 Check whether we have the requested data already in our list of
17019 cached buffers before pulling a new buffer; also make the buffer
17020 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17022 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17027 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17028 don't use long long, it's not portable. Replacing with
17029 gint64 seems to work; let's hope no skeletons fall out of the closet.
17031 2005-10-10 Andy Wingo <wingo@pobox.com>
17033 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17035 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17037 * docs/gst/gstreamer-sections.txt:
17042 * gst/gstmessage.c: (gst_message_parse_state_changed):
17045 more docs, fix compilation
17047 2005-10-09 Philippe Khalaf <burger@speedy.org>
17048 * gst/gstmessage.c:
17049 Fixed a few forgotten variables on previous commit
17051 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17053 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17054 Fix evil typefind crasher: getrange() might return a short
17055 buffer at the end of a file, but gst_type_find_peek() must
17056 either return the full data as requested or NULL, but
17057 never a short buffer.
17059 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17061 * gst/gstmessage.c: (gst_message_new_state_changed),
17062 (gst_message_parse_state_changed):
17063 * gst/gstmessage.h:
17064 don't use "new", it's a C++ keyword
17066 2005-10-08 Wim Taymans <wim@fluendo.com>
17068 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17069 * gst/gstelement.c: (gst_element_post_message):
17070 * gst/gstpipeline.c: (gst_pipeline_change_state):
17071 Small docs and debug updates.
17073 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17075 * docs/gst/gstreamer-sections.txt:
17076 * gst/gstelementfactory.c:
17078 * gst/gsttaglist.c:
17081 2005-10-08 Wim Taymans <wim@fluendo.com>
17083 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17084 (gst_bin_dispose), (bin_bus_handler):
17085 Fix typos, add comments.
17086 Clear EOS list when going to PAUSED from any direction and do it
17087 in a threadsafe way.
17088 Get base time in a threadsafe way too.
17089 Fix confusing debug in the change_state function.
17090 Various other small cleanups.
17092 * gst/gstelement.c: (gst_element_post_message):
17093 Fix very verbose bus posting code.
17095 * gst/gstpipeline.c: (gst_pipeline_class_init),
17096 (gst_pipeline_set_property), (gst_pipeline_get_property),
17097 (gst_pipeline_change_state):
17098 Small ARG_ -> PROP_ cleanup
17100 2005-10-08 Wim Taymans <wim@fluendo.com>
17102 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17103 Do a less CPU demanding EOS check because we can.
17105 2005-10-08 Wim Taymans <wim@fluendo.com>
17107 * libs/gst/dataprotocol/dataprotocol.c:
17108 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17109 (gst_dp_packet_from_event):
17110 * libs/gst/dataprotocol/dataprotocol.h:
17111 * libs/gst/dataprotocol/dp-private.h:
17112 It's about time we bump the version number.
17113 Since event types don't fit in the guint8 anymore describing
17114 the payload type, make payload type 16 bits wide.
17116 2005-10-08 Wim Taymans <wim@fluendo.com>
17118 * docs/design/part-TODO.txt:
17119 * docs/design/part-clocks.txt:
17120 * docs/design/part-events.txt:
17121 * docs/design/part-gstbin.txt:
17122 * docs/design/part-gstelement.txt:
17123 * docs/design/part-gstpipeline.txt:
17124 * docs/design/part-live-source.txt:
17125 * docs/design/part-messages.txt:
17126 * docs/design/part-overview.txt:
17127 * docs/design/part-states.txt:
17130 2005-10-08 Wim Taymans <wim@fluendo.com>
17134 Fix event quark registration.
17135 Add some space between events so we can insert them in the
17138 2005-10-08 Wim Taymans <wim@fluendo.com>
17140 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17141 (gst_base_sink_handle_buffer):
17142 Better log message.
17145 * gst/gstelement.h:
17148 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17149 (gst_queue_set_property), (gst_queue_get_property):
17151 Remove old unused properties.
17153 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17154 * docs/gst/gstreamer-sections.txt:
17155 * gst/gstmessage.c:
17156 * gst/gstmessage.h:
17157 * gst/gstminiobject.c:
17158 * gst/gstminiobject.h:
17162 lots of new docs and doc fixes
17164 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17166 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17168 * gst/gstregistry.c: (gst_registry_lookup_locked),
17169 (gst_registry_scan_path_level):
17170 * gst/gstregistryxml.c: (load_plugin):
17171 Only ever load one plugin for a given plugin basename.
17172 This ensures correct overriding of GST_PLUGIN_PATH over
17173 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17174 system installed plugins.
17176 2005-10-08 Wim Taymans <wim@fluendo.com>
17178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17179 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17180 Prepare for doing QOS.
17182 2005-10-08 Wim Taymans <wim@fluendo.com>
17184 * check/gst/gstbin.c: (GST_START_TEST):
17185 * check/pipelines/cleanup.c: (GST_START_TEST):
17186 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17187 Allow new clock message too.
17189 2005-10-08 Wim Taymans <wim@fluendo.com>
17191 * gst/gstmessage.c: (gst_message_new_error),
17192 (gst_message_new_warning), (gst_message_new_tag),
17193 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17194 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17195 (gst_message_new_segment_start), (gst_message_new_segment_done),
17196 (gst_message_parse_state_changed),
17197 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17198 (gst_message_parse_new_clock):
17199 * gst/gstmessage.h:
17200 Also carry the clock in question.
17202 2005-10-08 Wim Taymans <wim@fluendo.com>
17204 * gst/gstmessage.c: (gst_message_new_custom),
17205 (gst_message_new_eos), (gst_message_new_error),
17206 (gst_message_new_warning), (gst_message_new_tag),
17207 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17208 (gst_message_new_new_clock), (gst_message_new_segment_start),
17209 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17210 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17211 * gst/gstmessage.h:
17213 Added clock related messages.
17215 * gst/gstpipeline.c: (gst_pipeline_change_state):
17216 Post message when the clock changed.
17218 * tools/gst-launch.c: (event_loop):
17221 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17223 * tools/gst-inspect.c: (print_element_properties_info):
17224 Can't pass NULL strings to g_print() on windows.
17226 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17228 * docs/Makefile.am:
17229 * docs/gst/Makefile.am:
17230 * docs/gst/gstreamer-docs.sgml:
17231 * docs/gst/running.xml:
17232 * docs/version.entities.in:
17233 add a chapter on running GStreamer.
17234 document GST_DEBUG and GST_PLUGIN* env vars
17236 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17241 remove PLUGINS_BUILDDIR stuff
17242 * gst/gst.c: (init_post):
17243 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17245 remove, it was condescending and not needed
17247 2005-10-08 Wim Taymans <wim@fluendo.com>
17249 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17250 (gst_base_sink_handle_object), (gst_base_sink_event),
17251 (gst_base_sink_wait), (gst_base_sink_handle_event),
17252 (gst_base_sink_change_state):
17253 * gst/base/gstbasesink.h:
17254 Repost EOS message while going to PLAYING if still EOS.
17255 Make sure that when receiving a FLUSH_START we don't attempt
17256 to sync on the clock anymore.
17258 2005-10-08 Wim Taymans <wim@fluendo.com>
17260 * tools/gst-launch.c: (event_loop):
17261 Better message printout.
17263 2005-10-08 Wim Taymans <wim@fluendo.com>
17265 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17266 (gst_bin_child_proxy_get_children_count):
17267 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17268 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17269 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17270 (gst_child_proxy_set_valist):
17271 * gst/parse/grammar.y:
17272 Make ChildProxy threadsafe and fix mem leaks.
17274 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17276 * gst/gst.c: (init_post):
17277 debug the GST_PLUGIN_ env vars
17279 2005-10-08 Wim Taymans <wim@fluendo.com>
17281 * check/gst/gstbin.c: (GST_START_TEST):
17282 * check/gst/gstmessage.c: (GST_START_TEST):
17283 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17284 * gst/gstelement.c: (gst_element_commit_state),
17285 (gst_element_lost_state):
17286 * gst/gstmessage.c: (gst_message_new_state_changed),
17287 (gst_message_parse_state_changed):
17288 * gst/gstmessage.h:
17289 * tools/gst-launch.c: (event_loop):
17290 Added extra field to STATE_CHANGE message with the pending
17291 state, which will be different from the new state soon.
17293 2005-10-08 Wim Taymans <wim@fluendo.com>
17295 * gst/gstbus.c: (gst_bus_pop):
17297 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17298 Small cleanups and doc updates.
17300 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17302 * gst/gst.c: (init_pre):
17303 * gst/gstbin.c: (gst_bin_add_func):
17304 log distributing clocks and base time
17305 * gst/gstregistry.c: (gst_registry_add_plugin),
17306 (gst_registry_scan_path_level), (gst_registry_scan_path):
17307 clean up the debugging output a little
17308 * gst/gstutils.c: (gst_element_state_get_name):
17309 warn about a memleak (I've actually seen this be used, though
17310 it was probably a bug)
17312 2005-10-07 Wim Taymans <wim@fluendo.com>
17314 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17315 (gst_base_src_init), (gst_base_src_default_newsegment),
17316 (gst_base_src_newsegment), (gst_base_src_do_seek),
17317 (gst_base_src_loop), (gst_base_src_start):
17318 * gst/base/gstbasesrc.h:
17319 Make the newsegment event customizable by subclasses.
17321 2005-10-07 Wim Taymans <wim@fluendo.com>
17323 * gst/gstevent.c: (gst_event_new_buffersize),
17324 (gst_event_parse_buffersize):
17326 New event for future idea.
17328 2005-10-07 Andy Wingo <wingo@pobox.com>
17330 * gst/gstelement.c (gst_element_post_message): Doc update.
17332 * docs/gst/gstreamer-sections.txt: Update.
17334 * gst/gstmessage.c (gst_message_new_application): Made into a
17335 function like honest API calls.
17336 (gst_message_new_element): New message type.
17338 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17340 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17341 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17344 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17345 NO_PREROLL from gst_element_change_state to fall through.
17347 2005-10-07 Wim Taymans <wim@fluendo.com>
17349 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17350 (gst_ghost_pad_do_activate_push):
17351 Activating a ghostpad with no internal pad in push mode
17354 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17357 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17358 Fixes compilation on Windows.
17360 2005-10-07 Michael Smith <msmith@fluendo.com>
17362 * tools/gst-inspect.c:
17363 Print out feature and plugin count at the end when printing out
17366 2005-10-04 Michael Smith <msmith@fluendo.com>
17368 * gst/gsterror.c: (_gst_stream_errors_init):
17369 Add another error string used in a few existing plugins.
17372 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17373 * tools/gst-inspect.c: (print_element_info):
17374 When a feature disappears from a plugin (and the feature exists in
17375 the cached registry file), things went horribly wrong. This isn't a
17376 complete fix, we should actually be removing the 'missing' features
17377 from the features list when we load the actual plugin. That's not
17380 2005-10-04 Johan Dahlin <johan@gnome.org>
17382 * check/gst/gstiterator.c: (GST_START_TEST):
17383 * gst/gstbin.c: (gst_bin_iterate_elements),
17384 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17385 * gst/gstelement.c: (gst_element_iterate_pads):
17386 * gst/gstformat.c: (gst_format_iterate_definitions):
17387 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17388 (gst_iterator_new_list), (gst_iterator_filter):
17389 * gst/gstiterator.h:
17390 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17391 Add a GType to GstIterator, update callsites and tests.
17393 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17395 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17396 give events a chance to be handled by event probes when the pad
17399 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17401 * gst/gstevent.c: (gst_event_type_get_name),
17402 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17404 add string representations for event types
17406 2005-10-06 Wim Taymans <wim@fluendo.com>
17408 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17409 Don't use NULL pointers.
17411 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17413 * gst/gst_private.h:
17415 * gst/gstelement.c:
17417 * gst/gstpluginfeature.c:
17418 widen the debug category in output to fit the biggest one we have
17419 add a bus category and use it
17420 play with the colors
17421 fix up some categories
17423 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17425 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17426 add push activation of sink ghost pads.
17427 Andye, please verify
17429 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17431 * gst/gstutils.c: (gst_element_link_pads):
17432 fix a bug in the case where neither element has a pad
17433 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17434 add a test for that case
17436 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17438 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17439 emit have-data before checking for peers. This allows
17440 for probe handlers to connect elements. This helps autopluggers.
17441 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17443 add six checks, linked/unlinked with no/true/false probe
17445 2005-10-04 Wim Taymans <wim@fluendo.com>
17447 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17448 (gst_fake_sink_event), (gst_fake_sink_preroll),
17449 (gst_fake_sink_render), (gst_fake_sink_change_state):
17450 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17451 (gst_fake_src_get_property), (gst_fake_src_create),
17452 (gst_fake_src_stop):
17453 * gst/elements/gstidentity.c: (gst_identity_stop):
17454 Protect last_message with lock.
17456 2005-10-04 Edward Hervey <edward@fluendo.com>
17459 Added precision in the comments for GST_FORMAT_DEFAULT
17461 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17463 * tools/gst-launch.c: (main):
17464 Don't try to run erroneous pipelines.
17466 2005-10-04 Julien MOUTTE <julien@moutte.net>
17468 * gst/gstbus.c: We don't need this header.
17470 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17473 back to development
17475 === release 0.9.3 ===
17477 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17481 Releasing 0.9.3, "Unregistered"
17483 2005-10-03 Andy Wingo <wingo@pobox.com>
17485 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17486 whereby calling a pad's activatepush() function can start a thread
17487 that starts to push or pull before the pad gets the FLUSHING flag
17488 unset. Hack around it by holding the stream lock until the flag is
17489 set. Need to replace this with a proper solution. Together with
17490 the ghost pad fixes, this fixes mp3 playing/tagreading.
17492 * docs/design/part-gstghostpad.txt: Add a note about activation of
17493 proxy pads outside of ghost pads.
17495 * gst/gstghostpad.c: Implement the ghost pad activation design.
17497 2005-10-02 Andy Wingo <wingo@pobox.com>
17499 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17500 It is volatile, after all.
17502 * docs/design/part-gstghostpad.txt: Flesh out activation with
17505 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17508 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17511 Fix (unused) AM_CONDITIONAL tests.
17513 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17515 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17517 * gst/gstutils.c: (gst_pad_query_convert):
17518 Add assertion that makes sure src_val is >=0, just like
17519 gst_query_new_convert() has. (#315895)
17521 2005-09-30 Edward Hervey <edward@fluendo.com>
17523 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17524 Let's not iterate pads we're not interested in, it avoids getting
17525 sky-high refcounts on sinkpad.
17527 2005-09-30 Wim Taymans <wim@fluendo.com>
17529 * gst/gstelement.c: (gst_element_set_state),
17530 (gst_element_change_state):
17531 Small tweak, element in ASYNC remains ASYNC.
17533 2005-09-30 Wim Taymans <wim@fluendo.com>
17535 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17536 Only error is an error.
17538 * gst/gstbin.c: (gst_bin_change_state):
17541 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17542 Also call pad_block in pad alloc.
17544 * gst/gstutils.c: (gst_flow_get_name):
17547 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17549 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17550 (gst_base_src_get_range):
17551 Fix documentation typos. Add some more debug info.
17553 2005-09-29 David Schleef <ds@schleef.org>
17555 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17556 more end-user friendly.
17557 * tools/gst-inspect.c: (main): Check if command-line argument is
17558 a file and attempt to load that file as a plugin.
17560 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17562 * check/gst/gstbin.c:
17563 * check/states/sinks.c:
17564 fix tests for the new warning
17565 * check/gst/gstpipeline.c:
17566 add a test for pipeline and bus interaction
17567 * gst/gstelement.c:
17568 elements should be NULL if they get disposed; add a warning if not
17570 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17573 for 2.6 refcounting, make debug log more correct by printing
17574 the actual refcounts at the time of swap (Wim)
17576 2005-09-29 Andy Wingo <wingo@pobox.com>
17578 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17579 removes signal watches previously added via
17580 gst_bus_add_signal_watch.
17581 (gst_bus_add_signal_watch): Don't return the source id, just store
17582 it on the bus if there wasn't an id already.
17584 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17585 add_signal_watch and remove_signal_watch.
17587 2005-09-29 Edward Hervey <edward@fluendo.com>
17589 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17590 Better if we actually iterate the list :)
17592 2005-09-29 Wim Taymans <wim@fluendo.com>
17594 * check/gst/gstbin.c: (GST_START_TEST):
17595 Change for new bus API.
17597 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17598 (send_messages), (GST_START_TEST), (gstbus_suite):
17599 Change for new bus signal API.
17601 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17602 (gst_bus_source_prepare), (gst_bus_source_check),
17603 (gst_bus_create_watch), (gst_bus_add_watch_full),
17604 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17605 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17607 Remove support for multiple GSources operating on different
17608 message types as it is too complex and unneeded when using
17610 Added support for receiving signals from the bus.
17612 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17614 * docs/libs/tmpl/gstdataprotocol.sgml:
17615 * docs/manual/advanced-dataaccess.xml:
17616 * gst/elements/gstcapsfilter.c:
17618 rename filter-caps to caps property
17620 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17622 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17623 More robust fraction string parsing.
17625 * docs/pwg/appendix-porting.xml:
17626 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17628 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17630 * gst/gstcaps.c: (gst_caps_do_simplify):
17631 Thou shalt not free a structure and then continue using it
17632 in the next loop iteration.
17634 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17636 Add test case for caps simplification.
17638 2005-09-29 Wim Taymans <wim@fluendo.com>
17640 * check/gst/gstbin.c: (GST_START_TEST):
17643 2005-09-29 Wim Taymans <wim@fluendo.com>
17645 * check/gst/gstbin.c: (GST_START_TEST):
17648 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17649 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17650 (find_element), (gst_bin_sort_iterator_next),
17651 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17652 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17653 (gst_bin_change_state), (gst_bin_dispose):
17654 A bin does not have a bus, it gets the bus from the parent.
17656 * gst/gstelement.c: (gst_element_requires_clock),
17657 (gst_element_provides_clock), (gst_element_is_indexable),
17658 (gst_element_is_locked_state), (gst_element_change_state),
17659 (gst_element_set_bus_func):
17662 * gst/gstpipeline.c: (gst_pipeline_class_init),
17663 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17664 The pipeline provides a bus.
17666 2005-09-28 Johan Dahlin <johan@gnome.org>
17668 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17669 gst_structure_get_enum instead of gst_structure_get_int
17671 * gst/gststructure.c (gst_structure_get_enum): Impl.
17673 * gst/gststructure.h (gst_structure_get_enum): Add
17675 * docs/gst/gstreamer-sections.txt: Ditto
17677 * gst/gstmessage.c (gst_message_new_state_changed): Use
17678 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17679 which does introspection.
17680 Reviewed by Christian Schaller
17682 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17684 * gst/gstinfo.c: (gst_debug_log_default):
17685 don't do dummy g_strdup()s
17686 * libs/gst/controller/gstcontroller.c:
17687 (on_object_controlled_property_changed),
17688 (gst_controlled_property_new), (gst_controller_new_valist),
17689 (gst_controller_new_list),
17690 (gst_controller_remove_properties_valist), (gst_controller_set),
17691 (gst_controller_get), (gst_controller_sync_values),
17692 (gst_controller_get_value_array), (_gst_controller_class_init),
17693 (gst_controller_get_type):
17694 * libs/gst/controller/gstcontroller.h:
17695 * libs/gst/controller/gstinterpolation.c:
17696 (gst_controlled_property_find_timed_value_node):
17697 convert // to /**/ comments
17699 2005-09-28 Wim Taymans <wim@fluendo.com>
17701 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17702 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17703 (gst_bus_sync_signal_handler):
17705 Added async-message and sync-message signals to the bus.
17706 Added helper BusFunc to emit signals for all posted messages.
17708 * gst/gstmessage.c: (gst_message_type_get_name),
17709 (gst_message_type_to_quark), (gst_message_get_type):
17710 * gst/gstmessage.h:
17711 Register quarks for message names.
17713 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17715 * docs/libs/gstreamer-libs-sections.txt:
17716 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17717 (gst_controller_new_list):
17718 * libs/gst/controller/gstcontroller.h:
17719 added another constructor for language bindings
17721 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17723 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17727 * gst/gstinfo.c: (_gst_debug_init):
17728 slightly more readable color for refcount debugging
17730 2005-09-28 Wim Taymans <wim@fluendo.com>
17732 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17733 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17734 (find_element), (gst_bin_sort_iterator_next),
17735 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17736 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17737 (gst_bin_change_state), (gst_bin_dispose):
17738 Small doc fixes. get_clock -> provide_clock.
17740 * gst/gstelement.c: (gst_element_class_init),
17741 (gst_element_provides_clock), (gst_element_provide_clock),
17742 (gst_element_get_clock), (gst_element_commit_state),
17743 (gst_element_lost_state):
17744 * gst/gstelement.h:
17745 Make get/set_clock() symetric. Add provide_clock vmethod since
17746 that is actually what this function does.
17748 * gst/gstpipeline.c: (gst_pipeline_class_init),
17749 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17750 (gst_pipeline_get_clock):
17751 get_clock -> provide_clock.
17753 2005-09-28 Andy Wingo <wingo@pobox.com>
17755 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17756 lieu of real docs...
17758 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17760 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17762 * gst/elements/gstcapsfilter.c:
17763 * gst/elements/gstfakesink.c:
17764 * gst/elements/gstfakesrc.c:
17765 * gst/elements/gstfdsink.c:
17766 * gst/elements/gstfdsrc.c:
17767 * gst/elements/gstfilesink.c:
17768 * gst/elements/gstfilesrc.c:
17769 * gst/elements/gstidentity.c:
17770 * gst/elements/gsttee.c:
17771 * gst/elements/gsttypefindelement.c:
17772 Make element details static.
17774 2005-09-28 Wim Taymans <wim@fluendo.com>
17776 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17777 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17778 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17779 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17780 (gst_bin_change_state), (gst_bin_dispose):
17781 Some documentation updates.
17782 Clean up dispose handlers.
17784 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17785 * gst/gstpad.c: (gst_pad_dispose):
17786 Clean up dispose handler.
17788 * gst/gstpipeline.c: (gst_pipeline_change_state):
17789 Removed spurious UNLOCK.
17791 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17793 * docs/gst/gstreamer-sections.txt:
17794 * gst/base/gstbasesrc.h:
17795 * gst/gstelement.h:
17799 * gst/gstpipeline.c:
17800 * gst/gstpipeline.h:
17803 added two new functions to the docs
17804 documents all undocumented GstXXXFlags
17805 completed some incomplete docs
17807 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17809 * gst/gstbin.c: (gst_bin_dispose):
17810 * gst/gstelement.c: (gst_element_dispose):
17811 remove now useless and leaky resurrection code in dispose
17812 * gst/base/gstbasesrc.c: (gst_base_src_init):
17813 * gst/gstelementfactory.c: (gst_element_factory_create):
17814 * gst/gstobject.c: (gst_object_set_parent):
17817 2005-09-27 Wim Taymans <wim@fluendo.com>
17819 * docs/design/part-TODO.txt:
17822 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17823 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17824 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17825 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17826 (gst_bin_change_state):
17827 * gst/gstelement.h:
17828 Remove element variable, we keep element info in the iterator now.
17830 2005-09-27 Andy Wingo <wingo@pobox.com>
17832 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17835 2005-09-27 Wim Taymans <wim@fluendo.com>
17837 * check/gst/gstbin.c: (GST_START_TEST):
17838 Enable check that works now.
17840 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17841 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17842 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17843 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17844 (gst_bin_change_state):
17846 Redid the state change algorithm using a topological sort algo.
17847 Handles all cases correctly.
17848 Exposed iterator for state change order.
17850 * gst/gstelement.h:
17851 Temp storage for state changes. Need to get rid of this soon.
17853 2005-09-27 Wim Taymans <wim@fluendo.com>
17855 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17856 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17857 (link_fold_func), (gst_pad_proxy_setcaps):
17858 Leak fixes, the fold functions need to unref the passed object and
17859 _get_parent_*() returns ref to parent.
17861 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17863 * check/gst/gstbuffer.c: (test_make_writable):
17864 Plug leak in test case and fix 'make check-valgrind'
17866 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17868 * gst/gstbuffer.c: (gst_subbuffer_init):
17869 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17870 works correctly in all circumstances (we could have just copied
17871 the parent buffer's readonly flag, but conceptually it seems
17872 cleaner to mark all subbuffers as read-only). (based on patch
17873 by Alessandro Decina, #314710).
17875 * check/gst/gstbuffer.c: (create_read_only_buffer),
17876 (test_make_writable), (test_subbuffer_make_writable),
17878 Add some tests for gst_buffer_make_writable().
17880 2005-09-27 Wim Taymans <wim@fluendo.com>
17882 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17883 use gst_object_has_ancestor().
17885 * gst/gstobject.c: (gst_object_has_ancestor):
17887 gst_object_has_ancestor() copied from gstbin.c as it is a
17890 * tests/instantiate/create.c: (create_all_elements):
17891 * tests/lat.c: (handoff_src), (handoff_sink):
17892 * tests/sched/runxml.c: (main):
17893 * tests/seeking/seeking1.c: (main):
17894 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17896 Fix compilation of some tests.
17898 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17901 Remove comment. GST_TYPE_G_ERROR is here to stay,
17902 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17903 (#316961, #300610).
17905 2005-09-26 Wim Taymans <wim@fluendo.com>
17907 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17908 Added check that shows error in state change order.
17910 2005-09-26 Wim Taymans <wim@fluendo.com>
17912 * gst/gstbin.c: (gst_bin_change_state):
17913 Make state change function use 3 queues again, we were
17914 adding elements in the wrong order.
17916 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17919 * gst/gstpad.c: (gst_pad_dispose):
17920 Added some debug info first.
17922 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17924 * docs/design/draft-push-pull.txt:
17925 * docs/design/part-events.txt:
17926 * docs/design/part-overview.txt:
17927 * docs/design/part-scheduling.txt:
17928 Replace all _pull_region() with _pull_range()
17930 2005-09-26 Andy Wingo <wingo@pobox.com>
17932 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17934 * check/gst-libs/controller.c: Update for controller api change.
17937 * tests/Makefile.am:
17938 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17939 over by GLib bug 118439.
17941 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17942 routines to a function.
17944 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17946 * libs/gst/controller/gsthelper.c:
17947 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17948 (gst_object_sync_values): Renamed from sink_values. Ugh.
17950 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17952 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17953 Renamed from controller_key, as it is exported.
17955 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17957 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17962 * gst/gstpadtemplate.h:
17965 * gst/gstqueryutils.c:
17966 * gst/gstqueryutils.h:
17967 remove queryutils headers after moving the two used functions
17968 to gstquery. also fixes build problem for gstsiddec
17970 2005-09-26 Michael Smith <msmith@fluendo.com>
17972 * tools/gst-launch.1.in:
17973 Correct documentation in manpage of debug syntax
17975 2005-09-26 Wim Taymans <wim@fluendo.com>
17977 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17978 (gst_base_src_is_seekable), (gst_base_src_change_state):
17979 Some more debugging info.
17981 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17983 * docs/gst/gstreamer-sections.txt:
17984 * gst/base/gstbasetransform.h:
17988 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17990 * docs/gst/.cvsignore:
17991 * docs/gst/tmpl/.cvsignore:
17992 * docs/gst/tmpl/gstpipeline.sgml:
17993 * docs/gst/tmpl/gstplugin.sgml:
17994 * gst/gstpipeline.c:
17997 inlined the last two docs files
17998 removed the tmpl directory from cvs (no more conflicts here!)
18000 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18002 * docs/gst/gstreamer-sections.txt:
18003 * docs/gst/tmpl/.cvsignore:
18004 * docs/gst/tmpl/gstpad.sgml:
18005 * docs/gst/tmpl/gstpadtemplate.sgml:
18007 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18008 (gst_pad_finalize), (gst_pad_set_pad_template):
18010 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18011 (gst_pad_template_class_init), (gst_pad_template_init),
18012 (gst_pad_template_dispose), (name_is_valid),
18013 (gst_static_pad_template_get), (gst_pad_template_new),
18014 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18015 (gst_pad_template_pad_created):
18016 * gst/gstpadtemplate.h:
18017 inlined two more docs
18018 factored gstpadtemplate out of gstpad
18020 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18022 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18023 (test_children_state_change_order_semi_sink):
18024 Fix test case: we can't rely on a fixed state change order when
18025 going from READY => PAUSED because the sink might commit its
18026 new state first when the first buffer created by the source
18027 reaches the sink before the source has finished its change state.
18028 (Test case still fails at times, see #316856, comment 5 onwards)
18030 2005-09-24 Wim Taymans <wim@fluendo.com>
18032 * docs/design/part-events.txt:
18033 * docs/design/part-gstbus.txt:
18034 * docs/design/part-gstpipeline.txt:
18035 * docs/design/part-messages.txt:
18036 * docs/design/part-overview.txt:
18037 * docs/design/part-segments.txt:
18041 * gst/gstelement.c:
18044 * gst/gstiterator.c:
18045 Various documentation updates.
18047 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18050 Well, that's embarassing. Luckily we weren't using
18051 GST_CLOCK_DIFF anywhere.
18053 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18055 * common/gtk-doc.mak:
18056 don't fail on building XML, FC4 slave shows a bunch of doc
18057 missing bits that I don't get
18059 * gst/gstpipeline.c:
18060 * gst/gststructure.c:
18063 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18065 * docs/design/part-gstbin.txt:
18066 * docs/design/part-gstbus.txt:
18068 Add blurb about how the bus goes into flushing mode and
18069 drops all messages when its bin goes from READY into NULL
18072 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18074 * docs/gst/gstreamer-sections.txt:
18075 * gst/gststructure.c: (gst_structure_get_clock_time):
18076 * gst/gststructure.h:
18077 add a method to get a GstClockTime out of a structure
18079 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18081 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18082 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18083 Added test to check state change order in bins (can still be made
18084 to fail here under heavy disk load; bails out with 'Push on pad
18085 fakesink:sink0, but it was not activated in push mode').
18087 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18088 Fix state change order when there is only a semi sink (#316856)
18090 * gst/gstbus.c: (gst_bus_class_init):
18091 Use _class_peek_parent(), not _class_ref(); fix docs to say
18092 'default main context' instead of 'mainloop' where that is
18095 * gst/gstelement.c: (gst_element_commit_state),
18096 (gst_element_set_state):
18097 Fix typos in debug messages
18099 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18102 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18103 * gst/gstpluginfeature.c:
18105 various doc updates
18106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18107 change an assert into an error until it gets fixed properly
18109 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18111 * docs/gst/gstreamer-sections.txt:
18112 * docs/gst/tmpl/.cvsignore:
18113 * docs/gst/tmpl/gstelement.sgml:
18114 * docs/gst/tmpl/gstinfo.sgml:
18115 * docs/gst/tmpl/gstobject.sgml:
18116 * gst/gstelement.c:
18117 * gst/gstelement.h:
18120 * gst/gstobject.c: (gst_object_class_init):
18122 inlined 3 more biiiig doc files and added some missing docs on the fly
18124 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18126 * check/gst/.cvsignore:
18127 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18128 * gst/gstregistryxml.c: (load_plugin),
18129 (gst_registry_xml_save_plugin):
18130 put back source in registry. add checks for find_plugin.
18131 * testsuite/states/bin.c: (assert_state), (empty_bin),
18132 (test_adding_one_element), (main):
18133 * testsuite/states/locked.c: (main):
18134 some compile/run fixes
18136 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18138 * check/gst/gstvalue.c: (GST_START_TEST):
18139 fix leaks in the test itself
18141 2005-09-22 Wim Taymans <wim@fluendo.com>
18143 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18144 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18145 (gst_base_sink_query):
18146 Prepare for more accurate position reporting and query
18149 * gst/gstelement.c: (gst_element_send_event),
18150 (gst_element_set_state):
18153 2005-09-22 Wim Taymans <wim@fluendo.com>
18155 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18156 (gst_query_parse_segment):
18158 More documentation.
18159 Add segment query for future use.
18161 2005-09-22 Wim Taymans <wim@fluendo.com>
18163 * gst/gstbin.c: (gst_bin_add_func):
18164 Some more debug info.
18166 * gst/gstelement.c: (gst_element_send_event):
18167 Simplify send_event
18169 * gst/gstelement.h:
18170 Don't know how flags got broken.
18175 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18177 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18178 Add simplistic test suite for GST_TYPE_DATE serialisation and
18181 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18183 * docs/gst/gstreamer-sections.txt:
18184 * gst/gststructure.c: (gst_structure_set_valist),
18185 (gst_structure_get_date):
18186 * gst/gststructure.h:
18187 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18188 (gst_date_copy), (gst_value_compare_date),
18189 (gst_value_serialize_date), (gst_value_deserialize_date),
18190 (gst_value_transform_date_string),
18191 (gst_value_transform_string_date), (_gst_value_initialize):
18193 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18194 bunch of utility functions along with a hack that checks that
18195 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18196 is required. Part of the grand scheme in #170777.
18198 2005-09-22 Andy Wingo <wingo@pobox.com>
18200 * gst/gstconfig.h.in: Psych out gtk-doc.
18202 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18204 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18206 * tools/gst-inspect.c (print_element_list): Plug some
18207 inconsequential leaks.
18209 * gst/gstregistry.c (gst_registry_get_default): Doc.
18211 * check/gst/gstplugin.c:
18212 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18213 * gst/gstelementfactory.c (gst_element_factory_create):
18214 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18217 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18218 (gst_plugin_feature_load): Doc, don't eat refs.
18220 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18221 (gst_plugin_list_free): Doc.
18222 (gst_plugin_load_file): Doc updates.
18224 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18225 accessors returning refcounted objects, return a ref.
18227 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18228 accessor for caps. IDEMPOTENCE. Oh yes.
18230 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18232 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18234 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18235 (_gst_debug_register_funcptr):
18236 Add mutex to serialise access to the hash table with
18237 the function pointer => function name string mapping;
18238 make that hash table static scope (#316809).
18240 * gst/registries/.cvsignore:
18241 Remove left-over file.
18243 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18245 * docs/pwg/appendix-porting.xml:
18246 And something about newsegment events and caps-on-buffers to
18247 the porting guide (feel free to improve).
18249 2005-09-21 Andy Wingo <wingo@pobox.com>
18251 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18252 data and event probes on the same pad.
18253 (test_buffer_probe_once): Test that removing probes from within
18254 the probe functions works.
18256 2005-09-21 Andy Wingo <wingo@pobox.com>
18258 * check/gst/gstutils.c: New file.
18259 (test_buffer_probe_n_times): A simple buffer probe test. More to
18262 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18263 have-data::buffer, not have-data.
18264 (gst_pad_add_event_probe): Likewise for have-data::event.
18265 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18266 peer' isn't quite right yet though.
18267 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18268 (gst_pad_remove_data_probe): Change to take the guint handler_id
18269 as their arg, not the function+data, which is more glib-like.
18271 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18272 the signal emission to indicate if the data is a buffer or an
18274 (gst_pad_get_type): Initialize buffer and event quarks.
18275 (gst_pad_class_init): have-data is now a detailed signal, yes it
18278 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18280 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18281 * gst/gstutils.c: (gst_util_set_value_from_string),
18282 (gst_util_set_object_arg):
18283 Don't put functional code in g_return_if_fail() or
18284 g_return_val_if_fail() statements, otherwise things will
18285 break when G_DISABLE_CHECKS is defined during compilation.
18287 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18289 * docs/gst/tmpl/.cvsignore:
18290 * docs/gst/tmpl/gstvalue.sgml:
18293 inlied another one and added some obvious docs
18295 2005-09-21 Wim Taymans <wim@fluendo.com>
18297 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18298 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18299 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18300 (gst_fdsrc_get_property), (gst_fdsrc_create):
18301 * gst/elements/gstfdsrc.h:
18302 Properly implement fdsrc. Removed signal and timeout,
18303 better implemented somewhere else.
18305 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18307 * docs/gst/tmpl/.cvsignore:
18308 * docs/gst/tmpl/gstimplementsinterface.sgml:
18309 * gst/gstinterface.c:
18312 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18314 * docs/gst/gstreamer-sections.txt:
18315 * docs/gst/tmpl/.cvsignore:
18316 * docs/gst/tmpl/gstenumtypes.sgml:
18317 remove obsolete doc file
18319 2005-09-21 David Schleef <ds@schleef.org>
18321 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18322 little beer, fix a little leak.
18324 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18326 * docs/gst/gstreamer-docs.sgml:
18327 * docs/gst/gstreamer-sections.txt:
18328 * docs/gst/tmpl/.cvsignore:
18332 * gst/gstelement.h:
18333 * gst/gstindex.c: (gst_index_class_init):
18335 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18336 (gst_index_factory_class_init), (gst_index_factory_init),
18337 (gst_index_factory_finalize), (gst_index_factory_new),
18338 (gst_index_factory_destroy), (gst_index_factory_find),
18339 (gst_index_factory_create), (gst_index_factory_make):
18340 * gst/gstindexfactory.h:
18341 * gst/gstpluginfeature.c:
18342 * gst/gstpluginfeature.h:
18343 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18344 more docs inlined, splitted gstindex.{c,h}
18346 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18348 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18351 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18353 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18354 Set sync to FALSE by default.
18356 2005-09-20 Wim Taymans <wim@fluendo.com>
18358 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18359 (gst_base_sink_init):
18360 Make sync property settable from subclass.
18362 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18363 (gst_fake_sink_change_state):
18364 Set sync to FALSE by default.
18366 2005-09-20 Wim Taymans <wim@fluendo.com>
18368 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18369 * tools/gst-launch.c: (main):
18370 The timeout handler should have lower priority than the source
18371 so we don't timeout before popping a message with 0 timeout.
18372 Dump error messages after failed state change.
18374 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18376 * tools/gst-inspect.c: (print_element_properties_info):
18379 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18381 * check/gst/gstevent.c:
18382 * gst/elements/gstfakesink.c:
18383 * gst/elements/gstfakesink.h:
18384 remove the sync property from fakesink.
18385 has the side effect of setting sync TRUE
18386 for fakesink, which is a change. Anyone who knows how
18387 to fix this nicely in a GObject-y way, feel free.
18389 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18391 * docs/gst/gstreamer-docs.sgml:
18392 remove probe refsection
18394 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18396 * check/Makefile.am:
18397 disable valgrinding the controller test again
18398 * docs/gst/gstreamer-sections.txt:
18399 update for api-changes
18401 2005-09-20 Wim Taymans <wim@fluendo.com>
18403 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18404 (gst_base_sink_set_property), (gst_base_sink_get_property),
18405 (gst_base_sink_do_sync):
18406 * gst/base/gstbasesink.h:
18407 Added sync property to basesink to disable clock sync.
18409 2005-09-20 Andy Wingo <wingo@pobox.com>
18411 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18412 eating the caller's refcount.
18414 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18415 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18418 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18419 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18420 of GLib 2.8 public, so we can know which refcount to check in
18423 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18424 (gst_object_init): Only set the gst refcount if we're going ahead
18425 with the refcount hack.
18427 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18429 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18430 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18431 more leaks plumbed, added more debug-logging
18435 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18437 * gst/gstmessage.c:
18438 remove include of gstmemchunk.h
18440 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18442 * gst/gstclock.c: (_gst_clock_id_free):
18443 Commit from the Political Party For More Atomic CVS Commits,
18444 so that people don't waste too much of their day fishing
18445 out obvious leaks out of massive commits.
18446 Oh, and fix a pretty damn obvious leak in the memchunk
18449 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18451 * check/Makefile.am:
18452 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18453 plug mem-leak, re-add to valgrindable tests
18455 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18458 unbreak the build for those who have chronic arthritis
18459 and typing "make check" is just too taxing on the hands
18461 2005-09-20 Andy Wingo <wingo@pobox.com>
18463 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18464 really want it out, you should fix plugins at the same time.
18466 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18469 * docs/gst/gstreamer-sections.txt:
18471 added missing symbols to api docs
18472 disable ref-count hack if we have glib >= 2.8
18474 2005-09-19 David Schleef <ds@schleef.org>
18476 * docs/gst/Makefile.am: Ignore a few more internal headers
18477 * docs/gst/gstreamer-docs.sgml: Remove old sections
18478 * docs/gst/gstreamer-sections.txt: Remove old sections
18479 * docs/gst/tmpl/gstobject.sgml: update
18480 * docs/gst/tmpl/gstplugin.sgml: update
18481 * docs/gst/tmpl/gstpluginfeature.sgml: update
18482 * docs/random/ds/0.9-suggested-changes: update.
18483 * gst/Makefile.am: remove memchunk and trashstack, since they're
18485 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18486 * gst/gst.h: don't include some headers
18487 * gst/gstchildproxy.c: add gstmarshal.h
18488 * gst/gstclock.c: Don't use memchunks
18489 * gst/gstminiobject.c: Add some docs
18490 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18491 * gst/gstobject.h: same
18492 * gst/gstplugin.c: include gstmacros.h
18493 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18494 * gst/gstquery.c: don't use memchunks
18495 * gst/gstregistry.c: rename gst_registry_deinit()
18496 * gst/gstregistry.h: same
18498 2005-09-19 David Schleef <ds@schleef.org>
18500 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18501 * docs/libs/gstreamer-libs-sections.txt:
18502 * docs/libs/tmpl/gstgetbits.sgml:
18503 * docs/libs/tmpl/gstputbits.sgml:
18505 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18507 * win32/gstenumtypes.c:
18508 * win32/gstenumtypes.h:
18511 2005-09-19 Wim Taymans <wim@fluendo.com>
18513 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18514 Automatically PAUSE and RESUME a pipeline when a flushing seek
18517 2005-09-19 Andy Wingo <wingo@pobox.com>
18519 * gst/gstregistry.h: Spacing fixen.
18521 2005-09-19 Wim Taymans <wim@fluendo.com>
18523 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18524 Handle state change failure more correctly.
18526 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18528 * check/Makefile.am:
18529 * check/pipelines/cleanup.c: (run_pipeline):
18530 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18532 enable cleanup again after fixing the leak
18534 some more info on docs
18536 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18538 * check/Makefile.am:
18539 re-enable tests now that leaks are plugged
18541 * check/gst/gstbin.c:
18542 * check/gst/gstpipeline.c:
18543 add some more tests while fixing leaks
18544 * common/check.mak:
18545 make sure binaries are uptodate when valgrinding/gdbing
18547 * gst/gstelementfactory.c:
18548 remove a ref too many, and add a FIXME for when we get
18549 round to disposing of classes
18551 fix the refcounting when loading a plugin from a file and
18552 the code pretends that the pointer is the same even though
18553 of course it can change
18554 * gst/gstpluginfeature.c:
18555 unref plugins marked cached (a bit confusing as a name)
18556 as the docs state should be done
18557 various doc additions to explain refcounting
18558 * gst/gstregistry.c:
18559 * gst/gstregistryxml.c:
18562 2005-09-19 Wim Taymans <wim@fluendo.com>
18564 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18565 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18566 (send_messages), (GST_START_TEST), (gstbus_suite):
18567 * check/gst/gstpipeline.c: (GST_START_TEST):
18568 * check/pipelines/cleanup.c: (run_pipeline):
18569 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18571 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18572 (gst_bus_source_check), (gst_bus_source_dispatch),
18573 (gst_bus_create_watch), (gst_bus_add_watch_full),
18574 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18576 * tools/gst-launch.c: (event_loop):
18577 * tools/gst-md5sum.c: (event_loop):
18578 GstBusHandler -> GstBusFunc, return value has the same meaning as
18579 any other GSource (FALSE == remove source).
18580 _add_watch() and _add_watch_full() now take a MessageType mask to
18581 only handle specific types of messages.
18582 _poll() returns the GstMessage instead of the message type to avoid
18584 _have_pending() takes a MessageType mask now too.
18585 Added testsuite for multiple bus watches.
18586 Fix testsuites and applications for new bus API.
18588 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18590 * check/Makefile.am:
18591 mark a bunch of the tests as to fix until we fix them
18593 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18595 * common/check.mak:
18596 use GST_PLUGIN settings for valgrind tests as well, so we're
18597 valgrinding the correct thing
18598 * gst/gst.c: (init_post):
18601 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18603 * gst/gst.c: (init_post), (gst_deinit):
18604 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18605 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18606 * gst/gstindex.c: (gst_index_factory_class_init),
18607 (gst_index_factory_finalize):
18608 * gst/gstobject.c: (gst_object_dispose):
18609 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18610 (gst_plugin_load_file), (gst_plugin_desc_free):
18611 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18612 (gst_plugin_feature_finalize):
18613 * gst/gstregistry.c: (gst_registry_class_init),
18614 (gst_registry_init), (gst_registry_finalize),
18615 (gst_registry_get_default), (gst_registry_deinit):
18616 * gst/gstregistry.h:
18617 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18618 various cleanups and memleak plugging. make valgrind is happy now.
18620 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18622 * common/check.mak:
18623 add a check-valgrind target
18625 2005-09-18 David Schleef <ds@schleef.org>
18627 * tools/gst-inspect.c: Revert the GOption code.
18629 2005-09-17 David Schleef <ds@schleef.org>
18631 * check/Makefile.am: Fix environment variables.
18632 * check/gst/gstplugin.c: Fix for API changes.
18633 * tools/gst-inspect.c: Fix for API changes.
18634 * tools/gst-xmlinspect.c: Fix for API changes.
18635 * gst/gstelementfactory.c:
18638 * gst/gstpluginfeature.c:
18639 * gst/gstpluginfeature.h:
18640 * gst/gstregistry.c:
18641 * gst/gstregistry.h:
18642 * gst/gstregistryxml.c:
18643 * gst/gsttypefind.c:
18644 * gst/gsttypefindfactory.c:
18645 * gst/indexers/gstfileindex.c:
18646 * gst/indexers/gstmemindex.c:
18647 * gst/schedulers/Makefile.am:
18648 Change registry to keep track of both plugins and features,
18649 removing the feature tracking from plugins themselves.
18651 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18653 * check/Makefile.am:
18654 * tools/gst-register.1.in:
18655 remove gst-register
18657 2005-09-15 David Schleef <ds@schleef.org>
18659 * check/gst/gstplugin.c:
18660 * gst/gstelementfactory.c:
18662 * gst/gstpluginfeature.c:
18663 * gst/gstregistry.c:
18664 Getting tired of debugging. Disabled all the unreffing of
18665 plugins and features, which fixes the segfaults, but of
18666 course leaks like crazy. At least playbin works.
18668 2005-09-15 David Schleef <ds@schleef.org>
18670 * check/gst/gstplugin.c: (register_check_elements),
18671 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18673 * gst/elements/gsttypefindelement.c: Fix refcounting.
18674 * gst/gsttypefind.c:
18675 * gst/gsttypefindfactory.c:
18676 * gst/gsttypefindfactory.h:
18678 2005-09-15 David Schleef <ds@schleef.org>
18680 * gst/gstindex.c: get refcounting correct.
18681 * gst/gstregistry.c: Handle the case where a feature/plugin is
18684 2005-09-15 David Schleef <ds@schleef.org>
18686 * check/Makefile.am:
18687 * check/gst/gstplugin.c: Add test
18688 * gst/gstplugin.c: Fix problems noticed by testsuite
18690 * gst/gstregistry.c:
18691 * gst/gstregistry.h:
18693 2005-09-15 David Schleef <ds@schleef.org>
18695 * gst/gstplugin.c: Implement semi-decent recounting and locking
18696 in plugins and plugin features.
18698 * gst/gstpluginfeature.c:
18699 * gst/gstpluginfeature.h:
18700 * gst/gstregistry.c:
18702 2005-09-15 Michael Smith <msmith@fluendo.com>
18704 * gst/gstregistry.c: (gst_registry_get_feature_list):
18705 Implement this. Makes oggdemux work; decodebin still broken.
18707 2005-09-14 David Schleef <ds@schleef.org>
18709 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18711 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18712 * gst/check/Makefile.am:
18713 * libs/gst/controller/Makefile.am:
18714 * libs/gst/dataprotocol/Makefile.am:
18716 2005-09-14 David Schleef <ds@schleef.org>
18718 * configure.ac: Remove getbits library. Nothing uses it, and
18719 it should be in something like liboil if someone did want
18721 * libs/gst/Makefile.am:
18722 * libs/gst/getbits/Makefile.am:
18723 * libs/gst/getbits/gbtest.c:
18724 * libs/gst/getbits/getbits.c:
18725 * libs/gst/getbits/getbits.h:
18726 * libs/gst/getbits/gstgetbits_generic.c:
18727 * libs/gst/getbits/gstgetbits_i386.s:
18728 * libs/gst/getbits/gstgetbits_inl.h:
18730 2005-09-14 David Schleef <ds@schleef.org>
18732 * gst/Makefile.am: Dist glib-compat.h
18734 2005-09-14 David Schleef <ds@schleef.org>
18736 * configure.ac: Remove gst/registries, since it's no longer used.
18737 * gst/registries/Makefile.am:
18738 * gst/registries/gstlibxmlregistry.c:
18739 * gst/registries/gstlibxmlregistry.h:
18740 * gst/registries/gstxmlregistry.c:
18741 * gst/registries/gstxmlregistry.h:
18742 * gst/registries/registrytest.c:
18744 2005-09-14 David Schleef <ds@schleef.org>
18746 * gst/glib-compat.h:
18747 * gst/gstregistryxml.c:
18748 Convergence is near. Seriously.
18750 2005-09-14 David Schleef <ds@schleef.org>
18752 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18753 * gst/glib-compat.h:
18754 Attempt #4 to appease the buildbots.
18756 2005-09-14 David Schleef <ds@schleef.org>
18758 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18761 2005-09-14 David Schleef <ds@schleef.org>
18763 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18766 2005-09-14 David Schleef <ds@schleef.org>
18768 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18771 2005-09-14 David Schleef <ds@schleef.org>
18773 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18774 * gst/glib-compat.h: Add some functions that are in newer versions
18775 of glib than we care to require.
18776 * gst/gstregistryxml.c: Use them.
18778 2005-09-14 David Schleef <ds@schleef.org>
18780 * po/POTFILES.in: remove gst-register.c
18782 2005-09-14 David Schleef <ds@schleef.org>
18784 * docs/gst/gstreamer-docs.sgml:
18785 * docs/gst/gstreamer-sections.txt:
18786 * docs/gst/gstreamer.types:
18787 * docs/gst/tmpl/gstelement.sgml:
18788 * docs/gst/tmpl/gstplugin.sgml:
18789 * docs/gst/tmpl/gstpluginfeature.sgml:
18790 Documentation updates for registry changes.
18792 2005-09-14 David Schleef <ds@schleef.org>
18794 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18795 because we don't require glib-2.8.
18797 2005-09-14 David Schleef <ds@schleef.org>
18799 * gst/gstregistryxml.c: Added. Essentially moved out of the
18800 registries directory.
18802 2005-09-14 David Schleef <ds@schleef.org>
18804 * check/Makefile.am:
18805 * check/generic/states.c:
18809 * gst/gst_private.h:
18810 * gst/gstelementfactory.c:
18815 * gst/gstpluginfeature.c:
18816 * gst/gstpluginfeature.h:
18817 * gst/gstregistry.c:
18818 * gst/gstregistry.h:
18819 * gst/gstregistrypool.c: remove
18820 * gst/gstregistrypool.h: remove
18821 * gst/gsttypefind.c:
18822 * gst/gsttypefindfactory.c:
18824 * tools/Makefile.am:
18825 * tools/gst-compprep.c:
18826 * tools/gst-inspect.c:
18827 * tools/gst-register.c: remove
18828 * tools/gst-xmlinspect.c:
18829 Registry rewrite. Changes registry from being a file created
18830 by a tool into a simple cache file created automatically by
18831 libgstreamer. Removed gst-register (because it's no longer
18832 needed). Remove registry pools, because we only have one
18833 registry implementation (XML). Fix up other subsystems as
18836 2005-09-13 Michael Smith <msmith@fluendo.com>
18838 * gst/gstconfig.h.in:
18839 Don't Use windows linking attributes for MinGW. Fixes #316157
18841 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18843 * gst/gstutils.c: (set_state_async_thread_func),
18844 (gst_element_set_state_async):
18845 Apparently people think it's better if this function doesn't
18846 try to set the state to whatever state was asked for on the first
18847 call to this function for any object. Seriously.
18849 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18851 * check/gst/gstpipeline.c: (GST_START_TEST):
18852 * docs/gst/gstreamer-sections.txt:
18853 * gst/gstutils.c: (set_state_async_thread_func),
18854 (gst_element_set_state_async):
18856 add a "gst_element_set_state_async" method that
18857 sets the state and starts a thread to make sure the state
18858 change completes as best as it can
18860 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18862 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18863 codify design+behaviour in testsuite after discussion
18865 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18867 * docs/gst/tmpl/gstelement.sgml:
18868 * docs/manual/appendix-quotes.xml:
18870 * gst/gstelement.c: (gst_element_set_state):
18873 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18875 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18876 (gst_base_transform_prepare_output_buf),
18877 (gst_base_transform_handle_buffer):
18878 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18879 (gst_capsfilter_prepare_buf):
18880 Remove the requirement for sub-classes to call the parent
18881 implementation of prepare_output_buffer with a wrapper function.
18883 * gst/gsttaglist.h:
18884 * gst/gsttagsetter.h:
18885 Fix #define wrapper
18887 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18889 * docs/gst/gstreamer-sections.txt:
18892 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18894 * docs/gst/gstreamer-sections.txt:
18895 * docs/gst/tmpl/gstelement.sgml:
18896 * docs/gst/tmpl/gstplugin.sgml:
18897 * gst/gstminiobject.c:
18899 docs now stop throwing warnings
18901 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18903 * docs/gst/gstreamer-sections.txt:
18904 * docs/gst/gstreamer.types:
18905 * docs/gst/tmpl/gstpad.sgml:
18906 * docs/gst/tmpl/gsttypes.sgml:
18907 * gst/base/gstadapter.h:
18908 * gst/base/gstbasesink.h:
18909 * gst/base/gstbasesrc.h:
18915 * gst/gstelement.h:
18917 * gst/gstmessage.h:
18919 * gst/gststructure.c:
18920 * gst/registries/gstlibxmlregistry.h:
18921 various documentation fixes
18923 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18925 * docs/gst/gstreamer-sections.txt:
18926 * docs/gst/tmpl/gstvalue.sgml:
18927 rearrange gstvalue section
18928 * gst/gstutils.c: (gst_element_state_get_name):
18930 * gst/gstvalue.c: (_gst_value_initialize):
18934 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18936 * check/gst-libs/controller.c:
18937 Header include fix.
18938 * gst/base/gstbasetransform.c:
18939 (gst_base_transform_default_prepare_buf),
18940 (gst_base_transform_handle_buffer):
18941 * gst/base/gstbasetransform.h:
18942 Some more basetransform changes and fixes to enable sub-classes
18943 that modify buffer metadata only.
18944 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18945 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18946 (gst_capsfilter_prepare_buf):
18947 If the output pad has fixed allowed caps and input buffers
18948 don't have any, set the fixed caps on outgoing buffers.
18950 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18951 * check/elements/identity.c: (GST_START_TEST):
18952 Make the error a little clearer when the test fails because
18953 identity made a copy of the buffer.
18954 * docs/gst/gstreamer-sections.txt:
18955 New symbols in gstbasetransform.h
18956 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18957 (gst_base_transform_init), (gst_base_transform_transform_size),
18958 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18959 (gst_base_transform_default_prepare_buf),
18960 (gst_base_transform_get_unit_size),
18961 (gst_base_transform_buffer_alloc),
18962 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18963 (gst_base_transform_change_state),
18964 (gst_base_transform_set_passthrough),
18965 (gst_base_transform_set_in_place),
18966 (gst_base_transform_is_in_place):
18967 * gst/base/gstbasetransform.h:
18968 Change BaseTransform to separate in_place operate from same_caps
18969 output. in_place implies that the element can perform the transform
18970 on incoming buffers in-place, even if the caps on the output are
18972 Sub-class elements can now implement special buffer allocation
18973 methods for outgoing buffers if they wish to.
18974 Big documentation addition.
18975 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18976 * gst/elements/gstelements.c:
18977 Changes for basetransform modifications.
18978 * gst/elements/Makefile.am:
18979 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18980 Compile fix. Extra debug output.
18982 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18984 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18986 add tests for valid pad naming
18987 * gst/check/gstcheck.c: (gst_check_log_message_func),
18988 (gst_check_log_critical_func):
18990 remove printing of code, it is fragile when the code contains
18991 % and the line number is enough info
18992 * gst/check/gstcheck.h:
18993 * gst/gstpad.c: (gst_pad_template_new):
18996 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18999 say what CHECK flags we use
19000 * docs/libs/gstreamer-libs.types:
19001 * libs/gst/controller/Makefile.am:
19002 * libs/gst/controller/gst-controller.c:
19003 * libs/gst/controller/gst-controller.h:
19004 * libs/gst/controller/gst-helper.c:
19005 * libs/gst/controller/gst-interpolation.c:
19006 * libs/gst/controller/gstcontroller.c:
19007 * libs/gst/controller/gsthelper.c:
19008 * libs/gst/controller/gstinterpolation.c:
19009 * tools/gst-inspect.c: (print_plugin_info):
19010 we don't use dashes in header names
19012 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19014 * check/Makefile.am:
19015 * check/gst/.cvsignore:
19016 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19017 (gst_pipeline_suite), (main):
19018 adding a test for pipelines and state changes
19019 * gst/gstutils.c: (get_state_func):
19021 * gstreamer.spec.in:
19024 2005-09-08 Michael Smith <msmith@fluendo.com>
19026 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19027 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19028 (gst_file_src_is_seekable), (gst_file_src_get_size),
19029 (gst_file_src_start):
19030 * gst/elements/gstfilesrc.h:
19031 Various fixes for unseekable, unmmapable, and non-normal files, so
19032 that fallback to read() rather than mmap() works.
19033 * gst/gstevent.c: (gst_event_new_newsegment):
19034 Allow newsegment events with segment_start == segment_end, as will
19035 correctly happen if you use filesrc on a zero-size file, for
19038 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19040 * gst/gstplugin.c: (gst_plugin_load_file):
19041 Call g_module_close when we don't load the module
19043 * gst/registries/gstlibxmlregistry.c:
19044 (gst_xml_registry_get_property):
19045 Port leak fix from 0.8
19047 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19049 * docs/gst/gstreamer-docs.sgml:
19050 * docs/gst/tmpl/.cvsignore:
19051 * docs/gst/tmpl/gsttrace.sgml:
19052 * docs/gst/tmpl/gsttrashstack.sgml:
19055 * gst/gstelement.h:
19057 * gst/gstmessage.c:
19058 * gst/gstmessage.h:
19061 * gst/gsttaginterface.c:
19062 * gst/gsttaginterface.h:
19063 * gst/gsttaglist.c:
19064 * gst/gsttaglist.h:
19065 * gst/gsttagsetter.c:
19066 * gst/gsttagsetter.h:
19069 * gst/gsttrashstack.c:
19070 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19071 inlined docs for gsttrace, gsttrashstack
19073 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19076 * gst/elements/gstbufferstore.h:
19077 * gst/elements/gsttypefindelement.c:
19078 * gst/elements/gsttypefindelement.h:
19080 * gst/gsttypefind.c:
19081 * gst/gsttypefind.h:
19082 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19083 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19084 (gst_type_find_factory_dispose),
19085 (gst_type_find_factory_unload_thyself),
19086 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19087 (gst_type_find_factory_get_caps),
19088 (gst_type_find_factory_get_extensions),
19089 (gst_type_find_factory_call_function):
19090 * gst/gsttypefindfactory.h:
19091 * gst/registries/gstlibxmlregistry.c:
19092 * gst/registries/gstxmlregistry.c:
19093 splitted gsttypefind into gsttypefind, gsttypefindfactory
19095 2005-09-07 Andy Wingo <wingo@pobox.com>
19097 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19098 condition whereby the pad's task function is entered before the
19099 pad_mode variable was set.
19101 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19103 * gst/gstpad.c: (gst_pad_alloc_buffer):
19104 Catch misbehaving pad_alloc functions that don't
19105 set up caps and do it for them.
19107 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19109 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19110 test for pipe!=NULL
19111 * docs/gst/tmpl/.cvsignore:
19112 * docs/gst/tmpl/gstmemchunk.sgml:
19113 * docs/gst/tmpl/gstparse.sgml:
19114 * docs/gst/tmpl/gsttaglist.sgml:
19115 * docs/gst/tmpl/gsttagsetter.sgml:
19116 * docs/gst/tmpl/gsttypefind.sgml:
19117 * docs/gst/tmpl/gsttypefindfactory.sgml:
19118 * gst/gstmemchunk.c:
19121 * gst/gsttaginterface.c:
19122 * gst/gsttypefind.c:
19123 * gst/gsttypefind.h:
19126 === release 0.9.2 ===
19128 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19133 releasing 0.9.2, "South"
19135 2005-09-05 Andy Wingo <wingo@pobox.com>
19137 * gst/registries/gstxmlregistry.h:
19138 * gst/registries/gstxmlregistry.c: Um... resurrect...
19140 * gst/registries/gstxmlregistry.h:
19141 * gst/registries/gstxmlregistry.c: and update to newer API.
19142 Incidentally they should be a bit faster now that they don't have
19145 2005-09-05 Andy Wingo <wingo@pobox.com>
19147 * gst/registries/gstxmlregistry.h:
19148 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19149 replaced by the libxml registry a while back
19151 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19153 * docs/gst/tmpl/gstplugin.sgml:
19154 * gst/elements/gstelements.c:
19156 * gst/gstplugin.c: (gst_plugin_register_func),
19157 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19158 (gst_plugin_get_source):
19160 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19161 (gst_xml_registry_save_plugin):
19162 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19163 (gst_xml_registry_save_plugin):
19164 * tools/gst-inspect.c: (print_plugin_info):
19165 add a "source" plugin description field, to represent the source
19166 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19167 will set it to PACKAGE, which is automake's idea of the name of
19168 the source project.
19170 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19175 * docs/Makefile.am:
19176 * docs/faq/Makefile.am:
19177 * docs/gst/tmpl/gstelement.sgml:
19178 * docs/gst/tmpl/gsttypes.sgml:
19179 * docs/htmlinstall.mak:
19180 * docs/manual/Makefile.am:
19181 * docs/pwg/Makefile.am:
19182 reorganize doc build a little
19183 split out docbook and gtk-doc stuff
19184 have two separate --enable's and enable them through autogen
19185 but disable by default in configure (to be similar to other
19187 * gstreamer.spec.in:
19188 clean up docs install
19206 translation updates
19208 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19210 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19213 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19214 (gst_fake_sink_change_state):
19215 Make state change function thread-safe.
19217 * gst/gstpad.c: (gst_pad_alloc_buffer):
19218 Set offset on generic buffer allocated by fallback.
19220 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19222 * docs/gst/gstreamer-sections.txt:
19223 * docs/gst/tmpl/gstelement.sgml:
19225 * libs/gst/controller/gst-controller.c:
19226 (gst_controlled_property_set_interpolation_mode),
19227 (gst_controlled_property_new),
19228 (gst_controller_find_controlled_property):
19229 run the wingo-magic script against the docs
19231 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19233 * docs/gst/gstreamer-docs.sgml:
19234 * docs/gst/gstreamer-sections.txt:
19235 * docs/gst/tmpl/.cvsignore:
19236 * docs/gst/tmpl/gstelementdetails.sgml:
19237 * docs/gst/tmpl/gstelementfactory.sgml:
19240 * gst/gstelementfactory.c:
19241 * gst/gstelementfactory.h:
19242 merged elementdetails docs into elementfactory docs
19245 2005-09-02 Andy Wingo <wingo@pobox.com>
19247 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19248 consider this enum an enum and not a flags.
19250 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19252 * docs/gst/gstreamer-docs.sgml:
19253 * docs/gst/tmpl/.cvsignore:
19254 * docs/gst/tmpl/gstghostpad.sgml:
19255 * docs/gst/tmpl/gstiterator.sgml:
19256 * docs/gst/tmpl/gstmacros.sgml:
19257 * docs/gst/tmpl/gstrealpad.sgml:
19258 * docs/gst/tmpl/gstregistry.sgml:
19259 * docs/gst/tmpl/gstregistrypool.sgml:
19260 * docs/gst/tmpl/gststructure.sgml:
19261 * docs/gst/tmpl/gstsystemclock.sgml:
19262 * docs/gst/tmpl/gsttrace.sgml:
19263 * gst/gstghostpad.c:
19265 * gst/gstmemchunk.c:
19266 * gst/gstmemchunk.h:
19268 * gst/gstregistry.c:
19269 * gst/gstregistrypool.c:
19270 * gst/gststructure.c:
19271 * gst/gstsystemclock.c:
19274 2005-09-02 Andy Wingo <wingo@pobox.com>
19276 * gst/gstelement.h (GstState): Renamed from GstElementState,
19277 changed to be a normal enum instead of flags.
19278 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19279 munged to be GST_STATE_CHANGE_*.
19280 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19281 work with the new state representation.
19282 (GstStateChange): New enumeration of possible state transitions.
19283 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19284 (GstElementClass::change_state): Pass the GstStateChange along as
19285 an argument. Helps language bindings, so they don't have to use
19286 tricky lock-needing macros like GST_STATE_CHANGE ().
19288 * scripts/update-states (file): New script. Run it on a file to
19289 update it for state naming and API changes. Updates files in
19292 * All files updated for the new API.
19294 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19296 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19297 * gst/gstutils.c: (gst_util_set_value_from_string),
19298 (gst_util_set_object_arg):
19299 fix a bunch of unchecked return values
19300 * tools/gst-complete.c: (main):
19301 * gstreamer.spec.in:
19304 2005-09-01 Wim Taymans <wim@fluendo.com>
19306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19307 (gst_base_sink_event), (gst_base_sink_do_sync),
19308 (gst_base_sink_handle_event):
19309 * gst/base/gstbasesink.h:
19310 Handle newsegments more correctly.
19315 * gst/gstevent.c: (gst_event_new_newsegment):
19316 A newsegment cannot have a start_time of -1
19318 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19320 * win32/gstenumtypes.c:
19321 * win32/gstenumtypes.h:
19324 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19326 * libs/gst/controller/gst-controller.c:
19327 (gst_controlled_property_set_interpolation_mode),
19328 (gst_controlled_property_new):
19329 fixed boolean again
19331 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19333 * docs/faq/gst-uninstalled:
19338 * gst/gstutils.c: (gst_element_link_filtered):
19340 add gst_element_link_filtered
19342 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19344 * docs/gst/gstreamer-docs.sgml:
19345 * docs/gst/gstreamer-sections.txt:
19346 * docs/gst/tmpl/.cvsignore:
19347 * docs/gst/tmpl/gsterror.sgml:
19348 * docs/gst/tmpl/gstfilter.sgml:
19349 * docs/gst/tmpl/gsturihandler.sgml:
19350 * docs/gst/tmpl/gsturitype.sgml:
19351 * docs/gst/tmpl/gstutils.sgml:
19352 * docs/gst/tmpl/gstxml.sgml:
19357 * gst/gsturitype.c:
19360 inlined more docs, fixed double id-ref
19362 2005-08-31 Wim Taymans <wim@fluendo.com>
19364 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19365 (gst_base_transform_handle_buffer):
19366 Passthrough elements don't need the caps as they don't care.
19368 2005-08-31 Wim Taymans <wim@fluendo.com>
19370 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19371 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19372 Don't leak refcounts on buffers.
19374 2005-08-31 Wim Taymans <wim@fluendo.com>
19376 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19377 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19378 (gst_base_transform_chain), (gst_base_transform_change_state):
19379 * gst/base/gstbasetransform.h:
19380 Handle the case where we are not negotiated more gracefully.
19382 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19384 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19385 (gst_file_src_map_region):
19386 Set READONLY flag on mmap'ed buffers, otherwise
19387 gst_buffer_make_writable() won't work properly (#314708).
19389 2005-08-31 Wim Taymans <wim@fluendo.com>
19391 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19392 passthrough elements can even do inplace on non writable
19393 buffers (as they don't touch them).
19395 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19397 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19398 (gst_test_mono_source_set_property),
19399 (gst_test_mono_source_class_init), (GST_START_TEST),
19400 (gst_controller_suite):
19401 more tests (hehe I have the most)
19403 describe popping messages whenusing mulltiple sources
19404 * libs/gst/controller/gst-controller.c:
19405 (gst_controlled_property_set_interpolation_mode),
19406 (gst_controlled_property_new):
19407 * libs/gst/controller/gst-controller.h:
19408 * libs/gst/controller/gst-interpolation.c:
19409 implement boolean properties
19411 2005-08-31 Wim Taymans <wim@fluendo.com>
19413 * gst/gstminiobject.c: (gst_mini_object_ref):
19414 Cannot assert that the refcount has to be positive
19415 since a disposed object can be resurrected.
19417 2005-08-31 Wim Taymans <wim@fluendo.com>
19419 * gst/gstpad.c: (gst_pad_init):
19420 Revert change, need to first fix badly behaving
19423 2005-08-30 Wim Taymans <wim@fluendo.com>
19425 * check/elements/fakesrc.c: (setup_fakesrc):
19426 * check/elements/identity.c: (setup_identity):
19427 Activate pads before using them.
19429 2005-08-30 Wim Taymans <wim@fluendo.com>
19431 * gst/base/gstadapter.c: (gst_adapter_flush):
19432 Flushing out 0 bytes is ok for this function.
19434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19435 no newsegment gives a warning and sets the start/stop to
19438 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19439 (gst_base_transform_set_passthrough):
19442 * gst/gstminiobject.c: (gst_mini_object_ref):
19443 Check refcount here too.
19445 * gst/gstpad.c: (gst_pad_init):
19446 Pads are initially flushing and refusing data.
19448 * gst/gstutils.c: (gst_element_link_pads_filtered):
19449 When adding a capsfilter element make sure it has the
19450 same state as the parent bin.
19452 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19454 * docs/gst/tmpl/.cvsignore:
19455 * docs/gst/tmpl/gstformat.sgml:
19456 * docs/gst/tmpl/gstversion.sgml:
19460 * gst/gstversion.h.in:
19461 more docs and two more inlined
19463 2005-08-30 Wim Taymans <wim@fluendo.com>
19465 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19466 Don't sync to clock.
19468 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19470 * docs/gst/gstreamer-sections.txt:
19471 ultral33t func10ns deserve to appear in the docs actually
19472 * docs/gst/tmpl/.cvsignore:
19473 * docs/gst/tmpl/gstcompat.sgml:
19474 * docs/gst/tmpl/gstconfig.sgml:
19475 * gst/check/gstcheck.c:
19477 * gst/gstconfig.h.in:
19480 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19482 * docs/gst/tmpl/.cvsignore:
19483 * docs/gst/tmpl/gstquery.sgml:
19484 * docs/gst/tmpl/gstutils.sgml:
19487 inlined and extended docs
19489 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19491 * check/gst-libs/controller.c: (GST_START_TEST),
19492 (gst_controller_suite):
19494 * docs/gst/tmpl/gstutils.sgml:
19495 * docs/libs/gstreamer-libs-sections.txt:
19496 * docs/libs/tmpl/gstdataprotocol.sgml:
19498 * examples/controller/audio-example.c: (main):
19499 controller example works now
19502 * tools/gst-inspect.c: (print_element_properties_info):
19503 show param spec flags
19505 2005-08-29 Andy Wingo <wingo@pobox.com>
19507 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19509 2005-08-28 Andy Wingo <wingo@pobox.com>
19511 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19512 as having two arguments instead of just one. Allows superclasses
19513 to access information on subclasses -- see the terrible for() loop
19514 in gtype.c:g_type_create_instance for the reason why. All callers
19517 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19519 * docs/design/part-messages.txt:
19521 * docs/gst/tmpl/.cvsignore:
19522 * docs/gst/tmpl/gstcaps.sgml:
19523 * docs/gst/tmpl/gstclock.sgml:
19529 * gst/gstmessage.c:
19530 added descriptions for bus and message
19531 inline caps and clock docs
19533 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19535 * gst/gstmessage.c:
19536 * gst/gstmessage.h:
19539 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19541 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19544 2005-08-26 Andy Wingo <wingo@pobox.com>
19546 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19547 element_set_state's return val.
19548 (test_2_elements): Add test that's been disabled for months.
19550 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19551 can-activate-pull properties.
19553 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19554 can-activate-pull properties. Implement is_seekable so fakesrc can
19555 operate in pull mode.
19557 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19559 (gst_base_sink_activate, gst_base_sink_activate_pull)
19560 (gst_base_sink_activate_push): Make activation mode choosing work.
19562 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19563 is right. Make pull mode work. Post an eos before pausing in pull
19565 (gst_base_sink_change_state): Pay attention to the core's
19566 change_state() return val.
19568 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19569 has-getrange properties. Cleanups.
19571 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19572 has_getrange and replace with can_activate_pull and
19575 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19576 locking comments. Remove has_loop, has_chain and replace with
19577 can_activate_pull and can_activate_push.
19579 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19582 * examples/Makefile.am:
19583 * examples/metadata/Makefile.am:
19584 * examples/metadata/read-metadata.c: (message_loop),
19585 (have_pad_handler), (make_pipeline), (print_tag), (main):
19586 Add metadata reading example that loops over a list of filenames,
19587 dumping any tags found.
19589 * gst/gstbus.c: (gst_bus_dispose):
19590 * gst/gstelement.c: (gst_element_dispose):
19591 Release a few potentially-held references in dispose.
19593 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19595 * docs/gst/tmpl/gstminiobject.sgml:
19596 do *not* add tmpl/*.sgml files to CVS!
19598 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19600 * libs/gst/bytestream/.cvsignore:
19601 * libs/gst/bytestream/Makefile.am:
19602 * libs/gst/bytestream/adapter.c:
19603 * libs/gst/bytestream/adapter.h:
19604 * libs/gst/bytestream/bytestream.c:
19605 * libs/gst/bytestream/bytestream.h:
19606 * libs/gst/bytestream/filepad.c:
19607 * libs/gst/bytestream/filepad.h:
19608 removing obsolete files
19610 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19612 * docs/gst/gstreamer-docs.sgml:
19613 * docs/libs/gstreamer-libs-docs.sgml:
19614 disabed additional index entries again, as this makes docs-gen just
19615 slow and they aren't useful yet
19616 * docs/libs/gstreamer-libs-sections.txt:
19617 little -section.txt cleanup for libs
19619 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19622 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19623 fix up some debugging
19624 (gst_base_transform_get_unit_size),
19625 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19626 (gst_base_transform_handle_buffer):
19627 * gst/base/gstbasetransform.h:
19628 handle and store timed NEWSEGMENT events so that subclasses that
19629 calculate time by counting samples have a segment_start time they
19630 need to add to their timestamps - see audioresample
19632 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19635 removed ';' from the end of macro defs
19636 * docs/gst/gstreamer-docs.sgml:
19637 * docs/gst/gstreamer-sections.txt:
19638 * docs/gst/tmpl/.cvsignore:
19640 * gst/gstelement.c: (gst_element_class_init),
19641 (gst_element_set_state), (activate_pads),
19642 (gst_element_save_thyself):
19643 * gst/gstevent.c: (gst_event_new_newsegment):
19645 * gst/gstiterator.c:
19646 * gst/gstiterator.h:
19649 * gst/gstutils.c: (gst_pad_query_convert):
19651 fixed parameter name mismatches between source, header and docs
19652 added some more docs, resolved the last batch of unused elements in
19653 docs (now someone needs to doc them)
19655 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19657 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19658 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19659 don't walk through the plugins backwards. Where is all this
19660 reversed logic coming from ?
19662 2005-08-25 Wim Taymans <wim@fluendo.com>
19664 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19665 (gst_base_transform_transform_size),
19666 (gst_base_transform_configure_caps),
19667 (gst_base_transform_get_unit_size),
19668 (gst_base_transform_buffer_alloc),
19669 (gst_base_transform_change_state):
19670 * gst/base/gstbasetransform.h:
19671 Cache caps unit_size.
19672 Make sure we cannot negotiate up and downstream at the
19675 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19677 * gst/gst.c: (init_pre), (init_post):
19678 register the installed plugin path after the env var
19679 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19680 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19681 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19682 directories, so the tests can prefer uninstalled over installed
19684 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19686 * gst/base/gstbasetransform.h:
19691 2005-08-25 Wim Taymans <wim@fluendo.com>
19693 * gst/gstbin.c: (bin_bus_handler):
19694 Be a bit more conservative about the posted message.
19696 * gst/gstbus.c: (gst_bus_post):
19697 Some cleanups, warn wrong return values.
19699 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19701 * check/gst/gstbin.c: (GST_START_TEST):
19702 * gst/gstbin.c: (bin_bus_handler):
19703 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19704 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19705 (gst_message_new_warning), (gst_message_new_tag),
19706 (gst_message_new_state_changed), (gst_message_new_segment_start),
19707 (gst_message_new_segment_done), (gst_message_new_custom):
19708 * gst/gstmessage.h:
19709 * tools/gst-launch.c: (event_loop):
19710 * tools/gst-md5sum.c: (event_loop):
19711 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19713 2005-08-25 Wim Taymans <wim@fluendo.com>
19715 * check/generic/states.c: (GST_START_TEST):
19716 Cleanup can be done at the end.
19718 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19719 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19720 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19721 Oh boy.. Thanks for finding this, Thomas.
19723 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19725 * docs/gst/gstreamer.types:
19726 added missing types
19728 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19730 * docs/gst/gstreamer-docs.sgml:
19731 * docs/gst/gstreamer-sections.txt:
19732 * docs/gst/tmpl/.cvsignore:
19734 * gst/gstiterator.c:
19736 * gst/registries/gstxmlregistry.h:
19737 added missing classes and symbols (123 more to go)
19738 removed removed symbols from section file
19739 fixed many doc-comments
19741 2005-08-24 Wim Taymans <wim@fluendo.com>
19743 * check/generic/states.c: (GST_START_TEST):
19744 Make sure all tasks are stopped.
19746 * check/gst/gstbin.c: (GST_START_TEST):
19747 Unref after usage for proper valgrinding.
19749 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19750 Really wait for the task to stop before destroying the
19753 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19754 (gst_queue_src_activate_push):
19755 Small cleanups. Don't stop the task when we did not start
19758 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19759 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19760 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19763 Protect the stream lock with the object lock.
19764 Disallow setting the stream lock when running.
19765 Add cleanup_all to wait for the threadpool to finish.
19766 Remove code to autoallocate a mutex if none was provided.
19767 Add _join() to wait for a task to stop.
19768 Protect the thread pool with a global lock.
19770 2005-08-24 Wim Taymans <wim@fluendo.com>
19772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19773 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19774 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19775 * gst/base/gstbasesink.h:
19776 Handle newsegment events correctly.
19777 Drop buffers out of the segment range.
19779 2005-08-22 Andy Wingo <wingo@pobox.com>
19781 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19782 macro, implements an interface and gstimplementsinterface for a
19785 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19787 * check/Makefile.am:
19788 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19789 add a test that does a bunch of state changes on elements
19790 needs some fixing for valgrind
19791 * check/states/sinks.c: (gst_object_suite):
19794 add prototype for gst_caps_is_equal_fixed
19796 * gst/gstregistrypool.c:
19799 2005-08-24 Andy Wingo <wingo@pobox.com>
19801 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19802 convert a negative value. Doesn't make much sense. Mostly this is
19803 here to force callers to ensure -1 maps to -1.
19805 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19807 * docs/pwg/advanced-types.xml:
19808 Well done to Michael for catching my deliberate introduction
19809 of this spelling mistake.
19810 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19811 * gst/gstelement.h:
19812 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19813 unlink pads before removing the element from the bin.
19815 2005-08-24 Andy Wingo <wingo@pobox.com>
19817 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19818 the same thing as GST_DEBUG=*:4.
19819 (parse_debug_level, parse_debug_category): New helper parsers.
19821 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19823 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19824 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19825 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19826 (gst_base_transform_buffer_alloc),
19827 (gst_base_transform_handle_buffer):
19828 use gboolean return values and pointers to size so we can use the
19829 full GST_BUFFER_SIZE range (guint) for buffer sizes
19830 use GstPadDirection for transform_caps
19831 * gst/base/gstbasetransform.h:
19832 rename get_size to get_unit_size since that's what it is
19833 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19834 use GstPadDirection for transform_caps
19835 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19837 cleanup and debugging
19839 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19841 * gst/gstelement.c: (gst_element_class_init),
19842 (gst_element_set_state), (activate_pads),
19843 (gst_element_save_thyself):
19844 * tools/gst-compprep.c: (main):
19845 * tools/gst-inspect.c: (print_element_properties_info):
19846 * tools/gst-xmlinspect.c: (print_element_properties):
19847 Fixed long standing mem-leak
19849 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19851 * check/gst/gstbin.c: (GST_START_TEST):
19852 * gst/gstbin.c: (bin_bus_handler):
19853 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19854 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19855 (gst_message_new_warning), (gst_message_new_tag),
19856 (gst_message_new_state_changed), (gst_message_new_segment_start),
19857 (gst_message_new_segment_done), (gst_message_new_custom):
19858 * gst/gstmessage.h:
19859 * tools/gst-launch.c: (event_loop):
19860 * tools/gst-md5sum.c: (event_loop):
19861 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19862 that applications can sensibly post custom messages with references
19863 to their own objects.
19865 2005-08-24 Andy Wingo <wingo@pobox.com>
19867 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19870 2005-08-24 Wim Taymans <wim@fluendo.com>
19872 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19873 (gst_base_transform_transform_caps),
19874 (gst_base_transform_transform_size),
19875 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19876 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19877 (gst_base_transform_handle_buffer):
19878 * gst/base/gstbasetransform.h:
19879 Many fixes and new features added by Thomas. Can now also do
19880 transforms with variable sizes and a custom fixate_caps function.
19882 2005-08-24 Wim Taymans <wim@fluendo.com>
19884 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19888 Cast to ClockTime before formatting to time.
19893 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19895 * check/gst-libs/controller.c: (GST_START_TEST),
19896 (gst_controller_suite):
19897 * docs/gst/tmpl/gstcaps.sgml:
19898 * docs/gst/tmpl/gstghostpad.sgml:
19899 * docs/gst/tmpl/gstquery.sgml:
19900 * docs/gst/tmpl/gstutils.sgml:
19901 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19902 (gst_object_sink_values), (gst_object_get_value_arrays),
19903 (gst_object_get_value_array):
19904 gracefully handle helper method calls to objects that are not beeing
19905 controlled, added test case for that
19907 2005-08-23 Wim Taymans <wim@fluendo.com>
19909 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19910 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19911 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19912 (gst_event_parse_qos), (gst_event_new_seek),
19913 (gst_event_parse_seek):
19915 Some more debugging output and doc cleanups.
19917 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19918 Fix possible deadlock.
19920 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19922 * docs/gst/gstreamer-docs.sgml:
19923 * docs/gst/gstreamer-sections.txt:
19924 * docs/gst/gstreamer.types:
19925 * docs/gst/tmpl/.cvsignore:
19928 * gst/gstelement.c:
19930 added 100 symbols from gstreamer-unused.txt to the right sections
19931 fixed more broken comments
19932 added GstBus to docs
19934 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19936 * docs/gst/gstreamer-sections.txt:
19937 * docs/gst/tmpl/.cvsignore:
19938 * docs/gst/tmpl/gstbin.sgml:
19939 * docs/gst/tmpl/gstbuffer.sgml:
19940 * gst/base/gstbasesrc.c:
19941 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19944 * tools/gst-launch.1.in:
19945 inlined more doc comments, added missing comments and fixed comments
19948 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19950 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19954 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19956 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19957 * gst/gststructure.h:
19958 add a fixate function for booleans; add a FIXME that these func
19959 names should probably be gst_structure_fixate_*
19961 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19963 * docs/gst/gstreamer-docs.sgml:
19964 * docs/gst/gstreamer-sections.txt:
19966 * gst/gstbin.c: (gst_bin_get_type),
19967 (gst_bin_child_proxy_get_child_by_index),
19968 (gst_bin_child_proxy_get_children_count),
19969 (gst_bin_child_proxy_init):
19970 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19971 (gst_child_proxy_get_child_by_index),
19972 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19973 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19974 (gst_child_proxy_get), (gst_child_proxy_set_property),
19975 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19976 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19977 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19978 * gst/gstchildproxy.h:
19979 * gst/parse/grammar.y:
19980 * tools/gst-inspect.c: (print_interfaces),
19981 (print_element_properties_info), (print_element_info):
19982 ported gstchildproxy over from 0.8
19983 ported gst-inspect fixes and enhancements over from 0.8
19985 2005-08-22 Wim Taymans <wim@fluendo.com>
19987 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19988 (gst_base_transform_handle_buffer):
19989 Also call the transform function if we have ANY caps.
19991 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19994 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19996 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19997 Don't pretend to handle seek events if the source is not seekable
19999 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20002 Remove extra parameter to debug output
20004 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20005 (gst_base_src_do_seek), (gst_base_src_activate_push):
20006 Fix seek event handling.
20008 * gst/gstpipeline.c: (gst_pipeline_change_state):
20009 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20010 (gst_queue_src_activate_push):
20011 Don't start the src pad task on FLUSH_STOP if the pad
20015 2005-08-22 Wim Taymans <wim@fluendo.com>
20017 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20018 Added check for gst_static_caps_get() refcounting.
20020 2005-08-22 Wim Taymans <wim@fluendo.com>
20022 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20023 Make _static_caps_get() refcounting sane.
20025 * gst/gstelement.c: (gst_element_set_state):
20026 Add g_return_val_if_fail() to protect against segfaults.
20028 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20030 * docs/gst/tmpl/gstevent.sgml:
20033 inlined remaining docs, added missing doc comments
20035 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20037 * check/gst/gstbin.c: (GST_START_TEST):
20038 since we don't know when preroll is done, use refcount range
20040 * gst/check/gstcheck.h:
20041 add macro for checking refcount range
20043 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20045 * check/Makefile.am:
20046 clean up environment for when registry gets built versus
20047 when actual tests are run; valgrind seems to not report
20048 leaks if GST_PLUGIN_PATH is set to some specific values
20049 * check/gst/gstbin.c: (GST_START_TEST):
20050 add more refcounting checks; maybe this exposes a
20052 * common/check.mak:
20053 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20054 * gst/check/gstcheck.h:
20055 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20056 (gst_bin_change_state):
20057 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20058 add/fix debugging/whitespace
20060 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20062 * check/gst/gstevent.c: (event_probe), (test_event),
20064 Er, don't call gst_bin_watch_for_state_change you idiot.
20066 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20068 * check/Makefile.am:
20069 Use CHECK_CFLAGS and CHECK_LIBS
20070 * check/gst/gstevent.c: (event_probe), (test_event),
20073 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20074 (gst_base_src_start), (gst_base_src_stop),
20075 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20076 (gst_base_src_change_state):
20077 Sprinkle gst_base_src_stop liberally around error paths to fix
20078 problems reusing a source after failed state changes.
20079 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20080 (helper_find_suggest), (gst_type_find_helper):
20081 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20083 * docs/gst/tmpl/gstevent.sgml:
20084 Migrate part of the docs from the SGML file. Wait for ensonic to
20085 tell me how I did it wrong ;)
20086 * tools/gst-typefind.c: (main):
20087 Extra robustness to state changes between files.
20089 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20091 * check/Makefile.am:
20092 don't valgrind the controller test - it's leaking - Stefan, HELP
20093 * gst/check/gstcheck.c: (gst_check_message_error),
20094 (gst_check_chain_func), (gst_check_setup_element),
20095 (gst_check_teardown_element), (gst_check_setup_src_pad),
20096 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20097 (gst_check_teardown_sink_pad):
20098 * gst/check/gstcheck.h:
20099 add a bunch of methods to set up elements, and src and sink pads
20100 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20101 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20104 * gst/gstmessage.c:
20106 whitespace/doc fixes
20108 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20110 * gst/gstelement.h:
20111 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20112 be handled by the application and not always printed as well
20114 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20116 * check/Makefile.am:
20118 * gst/check/gstcheck.c: (gst_check_message_error):
20119 * gst/check/gstcheck.h:
20120 add a fail_unless_equals_int
20121 add fail_unless for error messages
20123 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20125 * check/Makefile.am:
20127 * common/Makefile.am:
20128 * common/check.mak:
20130 factor out some of the common stuff so we can use it
20132 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20134 * check/Makefile.am:
20135 * check/gst/gstiterator.c: (GST_START_TEST):
20136 * check/gst/gstsystemclock.c: (GST_START_TEST),
20137 (gst_systemclock_suite):
20138 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20140 valgrind more tests
20142 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20144 * check/elements/.cvsignore:
20145 * check/elements/gstfakesrc.c:
20146 rename to name of element
20147 * check/elements/identity.c: (chain_func), (event_func),
20148 (setup_identity), (cleanup_identity), (GST_START_TEST),
20149 (identity_suite), (main):
20150 add a test for identity
20151 * check/Makefile.am:
20152 * pkgconfig/Makefile.am:
20153 * pkgconfig/gstreamer-check.pc.in:
20154 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20158 move the check stuff to a library that gets installed
20159 * check/gst-libs/controller.c: (GST_START_TEST):
20160 * check/gst-libs/gdp.c:
20161 * check/gst/gst.c: (GST_START_TEST):
20162 * check/gst/gstbin.c:
20163 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20164 * check/gst/gstbus.c:
20165 * check/gst/gstcaps.c: (GST_START_TEST):
20166 * check/gst/gstelement.c:
20167 * check/gst/gstghostpad.c:
20168 * check/gst/gstiterator.c:
20169 * check/gst/gstmessage.c:
20170 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20171 * check/gst/gstobject.c:
20172 * check/gst/gstpad.c: (GST_START_TEST):
20173 * check/gst/gststructure.c: (GST_START_TEST):
20174 * check/gst/gstsystemclock.c: (GST_START_TEST),
20175 (gst_systemclock_suite):
20176 * check/gst/gsttag.c: (gst_tag_suite):
20177 * check/gst/gstvalue.c:
20178 * check/pipelines/cleanup.c:
20179 * check/pipelines/simple_launch_lines.c:
20180 * check/states/sinks.c:
20181 change include statement
20183 * docs/gst/gstreamer-sections.txt:
20184 * docs/gst/tmpl/gstpad.sgml:
20185 document more pad stuff
20186 * gst/gstminiobject.c: (gst_mini_object_ref),
20187 (gst_mini_object_unref):
20190 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20192 * docs/gst/tmpl/gst.sgml:
20194 eliminate another tmpl file, fix spelling in the long-description
20196 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20198 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20199 (test_event), (timediff), (gstevents_suite):
20200 Should fix build on 64-bit arch's
20202 2005-08-18 Andy Wingo <wingo@pobox.com>
20204 Make sure that when a pipeline goes to PLAYING, that data has
20205 actually hit the sink.
20207 * check/states/sinks.c (test_sink): A sink that doesn't get any
20208 data shouldn't return SUCCESS for going to either PLAYING or
20209 PAUSED. Test also the return values on the way back down.
20211 * gst/gstelement.c (gst_element_set_state): When changing the
20212 state of an element currently changing state asynchronously, go to
20213 lost-state after commiting the pending state. Makes future calls
20214 to get_state continue to return ASYNC.
20216 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20217 ASYNC when going to PLAYING if we still don't have preroll, as can
20218 happen with live sources.
20220 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20222 * docs/pwg/advanced-types.xml:
20223 Hack long paragraph into 2 chunks as a workaround for buggy
20224 jadetex version in sid and breezy that loops infinitely and
20227 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20229 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20230 (test_event), (timediff), (gstevents_suite):
20231 Provide more error margin in clock measurements to allow for
20232 g_get_current_time inaccuracies.
20234 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20236 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20237 (test_event), (timediff), (gstevents_suite):
20238 Fix error message output so I might be able to tell why the
20239 test works here but fails on the build farm.
20241 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20243 * check/Makefile.am:
20244 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20245 (test_event), (timediff), (gstevents_suite), (main):
20248 * docs/design/part-seeking.txt:
20249 Spelling correction
20251 * docs/gst/tmpl/gstevent.sgml:
20252 * docs/gst/tmpl/gstfakesrc.sgml:
20255 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20256 Treat a buffer-without-newsegment the same as a receiving
20257 a newsegment not in time format, and disable syncing to the clock
20260 * gst/gstbus.c: (gst_bus_set_sync_handler):
20261 Assert if anyone tries to replace the existing sync_handler for bus,
20262 as only the owner should be setting it.
20265 Have a fixed set of custom event enums with events identified by
20266 their structure name (as in 0.8), rather than a free-for-all
20267 allowing collisions between enum values from different plugins.
20269 * gst/gstpad.c: (gst_pad_class_init):
20272 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20273 Handle out-of-band downstream events from the sending thread.
20275 2005-08-17 Andy Wingo <wingo@pobox.com>
20277 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20278 play-timeout==0 to mean no timeout at all. In that case, don't
20279 bother with a get_state or a warning, just return directly, even
20282 * gst/base/gstbasetransform.c: Debug changes.
20285 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20286 ensure bins post state change messages. A bit of a hack but I can't
20287 think of a way to avoid it.
20289 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20291 2005-08-16 Andy Wingo <wingo@pobox.com>
20293 * gst/base/gstadapter.h:
20294 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20295 peek() but you own the data. Not terribly efficient atm.
20297 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20299 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20300 (gst_element_found_tags):
20302 Add two utility functions for tag handling.
20304 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20306 * docs/manual/advanced-dataaccess.xml:
20307 * docs/manual/basics-helloworld.xml:
20308 Fix docs to use _bin_add() before _link(), which fixes the examples
20309 with recent core versions (reported by Madhan Raj M
20310 <raj_madan@rediffmail.com>, #313199).
20312 2005-08-16 Wim Taymans <wim@fluendo.com>
20314 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20315 Added subtract checks.
20317 * docs/design/part-events.txt:
20318 Some more docs about newsegment
20320 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20323 * gst/gstcaps.c: (gst_caps_to_string):
20324 Add comments, cleanups.
20326 * gst/gstelement.c: (gst_element_save_thyself):
20329 * gst/gstvalue.c: (gst_value_collect_int_range),
20330 (gst_string_unwrap), (gst_value_union_int_int_range),
20331 (gst_value_union_int_range_int_range),
20332 (gst_value_intersect_int_int_range),
20333 (gst_value_intersect_int_range_int_range),
20334 (gst_value_intersect_double_double_range),
20335 (gst_value_intersect_double_range_double_range),
20336 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20337 (gst_value_subtract_int_range_int),
20338 (gst_value_subtract_double_range_double),
20339 (gst_value_subtract_double_range_double_range),
20340 (gst_value_subtract_from_list), (gst_value_subtract_list),
20341 (gst_value_can_compare), (gst_value_compare_fraction):
20342 Cleanups, add comments, remove unneeded asserts.
20344 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20346 * tools/gst-launch.c: (event_loop):
20347 don't convert NULL structures to strings
20349 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20351 * docs/gst/gstreamer-sections.txt:
20352 made some defines private
20353 * docs/gst/tmpl/gstconfig.sgml:
20354 * docs/gst/tmpl/gstqueue.sgml:
20355 * docs/gst/tmpl/gsttaglist.sgml:
20356 * docs/gst/tmpl/gsttypes.sgml:
20357 * docs/gst/tmpl/gstutils.sgml:
20358 * docs/pwg/appendix-porting.xml:
20359 * gst/base/gstbasesink.h:
20360 * gst/base/gstbasesrc.c:
20361 * gst/base/gstbasesrc.h:
20362 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20363 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20364 * gst/gstelement.c: (gst_element_class_init):
20365 * gst/gstpad.c: (gst_pad_class_init):
20366 * gst/gstqueue.c: (gst_queue_class_init):
20367 * gst/gstxml.c: (gst_xml_class_init):
20368 documented all undocumented signal inline
20369 * libs/gst/controller/gst-controller.h:
20372 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20374 * docs/pwg/appendix-porting.xml:
20375 Document _set_link_function -> _set_setcaps_function.
20377 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20379 * check/Makefile.am:
20380 add a .check target for running the check
20381 * check/gst-libs/controller.c: (GST_START_TEST):
20383 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20384 complete checks for gstbuffer; would be nice if I could get the
20385 gcov stuff to work so I can see if I actually completed gstbuffer.c
20386 * check/gstcheck.h:
20387 add ASSERT_BUFFER_REFCOUNT
20389 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20391 * docs/gst/gstreamer-sections.txt:
20392 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20394 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20395 spew out a warning if a tag that is already registered
20396 is re-registered, unless it is re-registered with a
20397 different type (#308438).
20399 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20401 * docs/pwg/appendix-porting.xml:
20402 * docs/pwg/building-state.xml:
20403 Add some paragraphs about state changes in 0.9 to the PWG
20404 and the porting guide, in particular about the new meaning
20405 of GST_STATE_PAUSED and how to write state change functions
20406 with concurrent access by multiple threads in mind.
20408 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20410 * docs/gst/gstreamer-docs.sgml:
20411 * docs/libs/gstreamer-libs-docs.sgml:
20412 added deprecation and since indexes
20413 * libs/gst/controller/gst-controller.c:
20414 * libs/gst/controller/gst-helper.c:
20418 2005-08-11 Wim Taymans <wim@fluendo.com>
20420 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20421 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20422 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20423 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20424 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20425 (gst_ghost_pad_set_target):
20426 Actually implement (re)setting the target on a ghostpad
20427 as described in the docs.
20429 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20431 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20432 Check whether GST_DEBUG_NO_COLOR environment variable is
20433 set and disable coloured debug output if that is the case.
20435 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20437 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20438 (gst_type_find_helper):
20439 The memory returned by gst_type_find_peek() needs to
20440 stay valid until the end of a typefind function, and
20441 typefind functions may keep results from different
20442 offsets around, so we can't just unref the buffer from
20443 the previous _peek(), but have to save all buffers
20444 returned by _peek() until typefinding is done and only
20447 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20449 * docs/gst/gstreamer-sections.txt:
20451 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20453 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20455 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20456 Fix a pretty good memleak.
20458 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20460 * gst/gstiterator.h:
20461 Fix wrong include and 'make distcheck'.
20463 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20465 * gst/gstbin.c: (bin_bus_handler):
20466 Use gst_element_post_message() instead.
20468 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20470 * gst/base/gstadapter.h:
20471 * gst/base/gstbasesink.h:
20472 * gst/base/gstbasesrc.h:
20473 * gst/base/gstbasetransform.h:
20474 * gst/base/gstcollectpads.h:
20475 * gst/base/gstpushsrc.h:
20476 * gst/gstiterator.h:
20477 Add padding to our base elements' class and instance structs and
20478 to GstIterator (you will need to rebuild all plugins and apps!)
20480 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20482 * gst/gstbin.c: (bin_bus_handler):
20483 Make default message forwarding from child->bus to bin->bus
20484 threadsafe and make it not emit warnings if the parent has no bus.
20486 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20488 * gst/gstelement.c: (activate_pads):
20489 On paused->ready, set pad->caps to NULL, as is the documented
20490 behaviour in this state change. Fixes playback of series of
20491 media files when visualization is enabled in Totem.
20493 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20495 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20496 Allow NULL as filter-caps (which means "any").
20498 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20500 * docs/libs/gstreamer-libs-sections.txt:
20501 * libs/gst/controller/gst-controller.c:
20502 * libs/gst/controller/gst-controller.h:
20503 * libs/gst/controller/gst-helper.c:
20504 adding more entries to the docs and fix small doc-bugs
20506 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20508 * docs/gst/gstreamer-docs.sgml:
20509 * docs/gst/gstreamer-sections.txt:
20510 * docs/gst/gstreamer.types:
20511 * docs/gst/tmpl/gstbasesink.sgml:
20512 * docs/gst/tmpl/gstbasesrc.sgml:
20513 * docs/gst/tmpl/gstbasetransform.sgml:
20514 * docs/gst/tmpl/gstfakesrc.sgml:
20515 * gst/base/gstcollectpads.c:
20516 * gst/base/gstcollectpads.h:
20517 * libs/gst/controller/gst-controller.c:
20518 * libs/gst/controller/gst-controller.h:
20519 * libs/gst/controller/gst-helper.c:
20520 * libs/gst/controller/gst-interpolation.c:
20521 * libs/gst/controller/lib.c:
20522 added long/short desc for controller docs
20523 added collectpads base class docs
20524 added correct includes to base-class docs
20526 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20528 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20529 (gst_test_mono_source_set_property),
20530 (gst_test_mono_source_class_init), (GST_START_TEST),
20531 (gst_controller_suite):
20532 * docs/gst/gstreamer-docs.sgml:
20533 * docs/gst/gstreamer-sections.txt:
20534 * docs/gst/gstreamer.types:
20535 * docs/libs/gstreamer-libs-docs.sgml:
20536 * docs/libs/gstreamer-libs-sections.txt:
20537 * gst/base/gstadapter.c:
20538 * libs/gst/controller/gst-controller.c:
20539 (gst_controlled_property_new), (gst_controlled_property_free),
20540 (gst_controller_new_valist),
20541 (gst_controller_remove_properties_valist),
20542 (gst_controller_sink_values), (_gst_controller_finalize):
20543 * libs/gst/controller/gst-controller.h:
20544 * libs/gst/controller/gst-helper.c:
20545 (gst_object_control_properties), (gst_object_uncontrol_properties),
20546 (gst_object_get_controller), (gst_object_set_controller),
20547 (gst_object_sink_values), (gst_object_get_value_arrays),
20548 (gst_object_get_value_array):
20549 more tests (and fixes) for the controller
20550 more docs for the controller
20551 integrated companies docs for the adapter
20553 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20555 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20556 (GST_START_TEST), (fakesrc_suite):
20557 add tests for sizetype
20559 2005-08-04 Andy Wingo <wingo@pobox.com>
20561 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20562 fixes buffer_alloc proxying among other things.
20564 * gst/base/gstbasetransform.c:
20565 * gst/base/gstbasetransform.h:
20566 Revert patch to gstbasetransform from 7-28 removing
20569 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20570 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20571 Semantics changed, should return not the size of the output buffer
20572 but the byte size of a buffer with a given caps.
20574 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20576 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20577 out) are not the pad caps until setcaps finishes.
20578 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20579 not-in-place case as well. Deal with changing from in-place to
20580 not-in-place within calling pad_alloc_buffer. Still a bit
20581 concerned about the overhead here...
20583 2005-08-03 Andy Wingo <wingo@pobox.com>
20585 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20586 fixating is an error.
20588 2005-08-04 Edward Hervey <edward@fluendo.com>
20590 * gst/base/gstadapter.h:
20591 Added gst_adapter_get_type() to the header
20593 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20595 * check/Makefile.am:
20596 * check/gst-libs/controller.c:
20597 * libs/gst/controller/gst-controller.c:
20598 (gst_controller_new_valist):
20599 added check test suite for the controller
20600 * gst/base/gstpushsrc.c:
20603 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20605 * docs/gst/Makefile.am:
20606 * docs/gst/gstreamer-docs.sgml:
20607 * docs/gst/gstreamer-sections.txt:
20608 * docs/gst/gstreamer.types:
20609 * docs/gst/tmpl/gstfakesrc.sgml:
20611 * gst/base/gstbasesink.c:
20612 * gst/base/gstbasesink.h:
20613 * gst/base/gstbasesrc.c:
20614 * gst/base/gstbasesrc.h:
20615 * gst/base/gstbasetransform.c:
20616 * gst/base/gstpushsrc.c:
20617 * gst/base/gstpushsrc.h:
20618 add short/long description docs to base classes
20619 add pushsrc to the docs
20620 remove consolidated doc fragments
20622 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20625 * docs/libs/Makefile.am:
20626 * docs/libs/gstreamer-libs-docs.sgml:
20627 * docs/libs/gstreamer-libs-sections.txt:
20628 * docs/libs/gstreamer-libs.types:
20629 * examples/Makefile.am:
20630 * examples/controller/.cvsignore:
20631 * examples/controller/Makefile.am:
20632 * examples/controller/audio-example.c: (main):
20633 * libs/gst/Makefile.am:
20634 * libs/gst/controller/.cvsignore:
20635 * libs/gst/controller/Makefile.am:
20636 * libs/gst/controller/gst-controller.c:
20637 (on_object_controlled_property_changed), (gst_timed_value_compare),
20638 (gst_timed_value_find),
20639 (gst_controlled_property_set_interpolation_mode),
20640 (gst_controlled_property_new), (gst_controlled_property_free),
20641 (gst_controller_find_controlled_property),
20642 (gst_controller_new_valist), (gst_controller_new),
20643 (gst_controller_remove_properties_valist),
20644 (gst_controller_remove_properties), (gst_controller_set),
20645 (gst_controller_set_from_list), (gst_controller_unset),
20646 (gst_controller_get), (gst_controller_get_all),
20647 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20648 (gst_controller_get_value_array),
20649 (gst_controller_set_interpolation_mode),
20650 (_gst_controller_finalize), (_gst_controller_init),
20651 (_gst_controller_class_init), (gst_controller_get_type):
20652 * libs/gst/controller/gst-controller.h:
20653 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20654 (g_object_uncontrol_properties), (g_object_get_controller),
20655 (g_object_set_controller), (g_object_sink_values),
20656 (g_object_get_value_arrays), (g_object_get_value_array):
20657 * libs/gst/controller/gst-interpolation.c:
20658 (gst_controlled_property_find_timed_value_node),
20659 (interpolate_none_get), (interpolate_trigger_get),
20660 (interpolate_trigger_get_value_array):
20661 * libs/gst/controller/lib.c: (gst_controller_init):
20662 * pkgconfig/Makefile.am:
20663 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20664 * pkgconfig/gstreamer-control.pc.in:
20665 * testsuite/Makefile.am:
20666 * testsuite/controller/.cvsignore:
20667 * testsuite/controller/Makefile.am:
20668 * testsuite/controller/interpolator.c: (main):
20669 added controller code
20670 removed dparam pc files
20672 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20673 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20674 (gst_collectpads_stop):
20675 Broadcast the condition when shutting down, to make sure we wake all
20676 threads up. Shut down pads on finalize, for safety.
20678 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20679 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20680 (gst_base_transform_handle_buffer),
20681 (gst_base_transform_change_state):
20682 Handle PAUSED->READY->PAUSED transition after negotiation
20684 * gst/gstmessage.c: (gst_message_init):
20685 Extra piece of debug for new messages.
20687 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20690 * docs/gst/tmpl/gstbasesrc.sgml:
20691 * docs/gst/tmpl/gstelement.sgml:
20692 * docs/gst/tmpl/gstevent.sgml:
20693 * docs/gst/tmpl/gstfakesrc.sgml:
20694 * docs/gst/tmpl/gstformat.sgml:
20695 * docs/gst/tmpl/gstghostpad.sgml:
20696 * docs/gst/tmpl/gstpad.sgml:
20697 * docs/gst/tmpl/gstquery.sgml:
20698 * docs/gst/tmpl/gststructure.sgml:
20699 * docs/gst/tmpl/gsttaglist.sgml:
20700 * docs/gst/tmpl/gstvalue.sgml:
20701 * docs/libs/gstreamer-libs-docs.sgml:
20702 * docs/libs/gstreamer-libs-sections.txt:
20703 * docs/libs/gstreamer-libs.types:
20704 * libs/gst/Makefile.am:
20705 * libs/gst/control/.cvsignore:
20706 * libs/gst/control/Makefile.am:
20707 * libs/gst/control/control.c:
20708 * libs/gst/control/control.h:
20709 * libs/gst/control/dparam.c:
20710 * libs/gst/control/dparam.h:
20711 * libs/gst/control/dparam_smooth.c:
20712 * libs/gst/control/dparam_smooth.h:
20713 * libs/gst/control/dparamcommon.h:
20714 * libs/gst/control/dparammanager.c:
20715 * libs/gst/control/dparammanager.h:
20716 * libs/gst/control/dplinearinterp.c:
20717 * libs/gst/control/dplinearinterp.h:
20718 * libs/gst/control/unitconvert.c:
20719 * libs/gst/control/unitconvert.h:
20720 * testsuite/Makefile.am:
20721 * testsuite/dynparams/.cvsignore:
20722 * testsuite/dynparams/Makefile.am:
20723 * testsuite/dynparams/dparamstest.c:
20724 * tools/Makefile.am:
20725 * tools/gst-inspect.c: (print_element_info), (main):
20726 * tools/gst-xmlinspect.c: (print_element_info), (main):
20727 deactivate and remove dparams (libgstcontrol)
20729 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20731 * gst/elements/gsttypefindelement.c:
20732 (gst_type_find_element_have_type), (gst_type_find_element_init),
20733 (stop_typefinding), (gst_type_find_element_handle_event),
20734 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20735 * gst/elements/gsttypefindelement.h:
20736 Set caps on all outgoing buffers, not just the first one.
20738 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20740 * gst/elements/gsttypefindelement.c:
20741 (gst_type_find_element_have_type),
20742 (gst_type_find_element_check_set_buffer_caps),
20743 (gst_type_find_element_init), (stop_typefinding),
20744 (gst_type_find_element_handle_event),
20745 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20746 * gst/elements/gsttypefindelement.h:
20747 Set caps on first outgoing buffer when we've found the type.
20749 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20751 * docs/gst/gstreamer-docs.sgml:
20752 * docs/gst/gstreamer-sections.txt:
20753 * docs/gst/tmpl/gstscheduler.sgml:
20754 * docs/gst/tmpl/gstschedulerfactory.sgml:
20755 Remove some old cruft from docs.
20757 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20760 Fix inline docs for GstPadLinkReturn.
20762 * gst/gststructure.c: (gst_structure_has_name):
20763 * gst/gststructure.h:
20764 * docs/gst/gstreamer-sections.txt:
20765 New API: gst_structure_has_name().
20767 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20770 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20771 and _LARGEFILE_SOURCE in config.h as required. Do not
20772 export those flags in our .pc files any longer (#142209).
20774 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20776 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20777 (gst_file_sink_do_seek), (gst_file_sink_event),
20778 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20779 Redo seek/tell calls with large file support in mind; add some
20780 debugging messages; add log message that tells us when large
20781 file support is unavailable or not enabled for some reason.
20783 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20784 Add log message that tells us when large file support
20785 is unavailable or not enabled for some reason.
20787 2005-07-29 Wim Taymans <wim@fluendo.com>
20789 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20790 Added test for removing an element with ghostpad from a bin.
20791 Fixed test as current implementation does the right thing.
20793 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20794 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20795 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20796 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20797 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20798 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20799 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20800 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20801 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20802 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20803 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20804 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20805 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20806 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20807 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20808 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20809 * gst/gstghostpad.h:
20810 Clean up ghostpads, remove properties for internal stuff.
20813 Prepare for switching targets, not all use cases work yet.
20815 2005-07-29 Wim Taymans <wim@fluendo.com>
20817 * docs/design/part-gstghostpad.txt:
20820 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20821 (gst_bin_remove_func):
20822 Unlinking pads while holding the bin LOCK is not a good
20825 * gst/gstpad.c: (gst_pad_class_init),
20826 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20827 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20828 No prob setting template after creating the pad.
20830 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20832 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20833 (gst_bus_peek), (gst_bus_source_dispatch),
20834 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20835 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20836 gst_bus_poll may be called from other threads. Handle
20837 this nicely by not making poll_data disappear off the
20838 stack once gst_bus_poll returns.
20839 gst_bus_peek now increments the refcount on the returned
20842 2005-07-29 Wim Taymans <wim@fluendo.com>
20844 * docs/design/part-gstghostpad.txt:
20845 Overview of current GhostPad datastructures and use
20846 cases for changing the target.
20848 2005-07-28 Wim Taymans <wim@fluendo.com>
20850 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20851 Added checks for hierarchy consistency whan adding linked
20854 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20855 Added check to test element scheduling without bin/pipeline.
20857 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20858 First add elements to bin, then link.
20860 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20861 (gst_bin_remove_func):
20862 Unlink pads from elements added/removed from bin to maintain
20863 hierarchy consistency.
20865 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20867 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20868 (gst_base_transform_handle_buffer):
20869 * gst/base/gstbasetransform.h:
20870 Remove broken delay_configure (fixes renegotiation of software
20871 scaling pipelines); remove some leftover printf()s.
20873 2005-07-28 Wim Taymans <wim@fluendo.com>
20875 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20876 Added some more tests for wrong hierarchy
20878 * docs/design/part-overview.txt:
20881 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20884 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20885 (gst_element_dispose):
20886 Some more cleanups.
20888 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20889 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20890 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20891 (gst_pad_set_caps), (gst_pad_send_event):
20892 Check for correct hierarchy when linking pads. Moving to
20893 strict requirement for ghostpads when linking elements in
20897 Clean ups. Added WRONG_HIERARCHY return value.
20899 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20901 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20902 Better debug if no transform is possible.
20904 2005-07-27 Wim Taymans <wim@fluendo.com>
20906 * docs/random/wtay/network-transp:
20907 Some old doc I had.
20909 2005-07-27 Wim Taymans <wim@fluendo.com>
20911 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20912 (gst_dp_event_from_packet):
20913 Fix serialization of seek events.
20915 2005-07-27 Wim Taymans <wim@fluendo.com>
20917 * check/gst-libs/gdp.c: (GST_START_TEST):
20918 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20919 Fix compilation and fix event serialization.
20921 2005-07-27 Wim Taymans <wim@fluendo.com>
20924 * docs/design/part-TODO.txt:
20925 * docs/design/part-events.txt:
20928 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20929 (gst_base_sink_event), (gst_base_sink_do_sync),
20930 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20931 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20932 (gst_base_src_do_seek), (gst_base_src_event_handler),
20933 (gst_base_src_loop):
20934 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20935 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20936 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20937 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20938 (gst_base_transform_set_passthrough),
20939 (gst_base_transform_is_passthrough):
20940 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20941 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20947 * gst/gstelement.c: (gst_element_seek):
20948 * gst/gstelement.h:
20949 Update gst_element_seek.
20951 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20952 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20953 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20954 (gst_event_new_eos), (gst_event_new_newsegment),
20955 (gst_event_parse_newsegment), (gst_event_new_tag),
20956 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20957 (gst_event_parse_qos), (gst_event_new_seek),
20958 (gst_event_parse_seek), (gst_event_new_navigation):
20960 Make GstEvent use GstStructure. Add parsing code, make sure the
20961 API is sufficiently generic.
20962 Mark possible directions of events and serialization.
20964 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20965 (_gst_message_copy), (gst_message_new_segment_start),
20966 (gst_message_new_segment_done), (gst_message_new_custom),
20967 (gst_message_parse_segment_start),
20968 (gst_message_parse_segment_done):
20971 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20972 (gst_pad_set_caps), (gst_pad_send_event):
20973 Update for new events.
20974 Catch events sent in wrong directions.
20976 * gst/gstqueue.c: (gst_queue_link_src),
20977 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20978 (gst_queue_handle_src_query):
20983 Remove event code from this file.
20985 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20986 (gst_dp_event_from_packet):
20989 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20991 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20992 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20993 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20994 Make debugging actually useful.
20996 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20998 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20999 (gst_pad_fixate_caps):
21000 Implement default fixation once again, so that gst_pad_fixate()
21001 actually does anything at all. This probably needs to be some
21002 sort of a last resort, and use profile-based fixation first, but
21003 since that doesn't exist yet, this is the best we have. Fixes
21004 visualization in Totem.
21006 2005-07-22 Wim Taymans <wim@fluendo.com>
21008 * docs/design/part-events.txt:
21011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21012 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21013 (gst_base_sink_activate_pull):
21014 Some more comments.
21016 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21017 (gst_fake_src_create):
21018 Fix handoff marshall.
21020 * gst/elements/gstidentity.c: (gst_identity_class_init),
21021 (gst_identity_transform_ip):
21022 We're a real inplace element.
21024 * gst/gstbus.c: (gst_bus_post):
21025 Added some comments.
21027 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21028 * tests/muxing/case1.c: (main):
21029 * tests/sched/dynamic-pipeline.c: (main):
21030 * tests/sched/interrupt1.c: (main):
21031 * tests/sched/interrupt2.c: (main):
21032 * tests/sched/interrupt3.c: (main):
21033 * tests/sched/runxml.c: (main):
21034 * tests/sched/sched-stress.c: (main):
21035 * tests/seeking/seeking1.c: (event_received), (main):
21036 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21038 * tests/threadstate/threadstate3.c: (main):
21039 * tests/threadstate/threadstate4.c: (main):
21040 * tests/threadstate/threadstate5.c: (main):
21043 2005-07-21 Wim Taymans <wim@fluendo.com>
21045 * docs/design/part-seeking.txt:
21046 Some small additions.
21048 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21049 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21050 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21051 * gst/base/gstbasesink.h:
21052 discont values are gint64, handle the math correctly.
21054 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21055 Make the basesrc report error if the source pad is not linked.
21057 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21058 (gst_queue_loop), (gst_queue_handle_src_query),
21059 (gst_queue_src_activate_push):
21060 Make queue collect data even if the srcpad is not linked.
21061 Start pushing out data as soon as it is linked.
21063 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21065 Added gst_flow_get_name() to ease error reporting.
21067 2005-07-20 Wim Taymans <wim@fluendo.com>
21069 * gst/gstmessage.c: (gst_message_new_segment_start),
21070 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21071 (gst_message_parse_segment_done):
21072 * gst/gstmessage.h:
21073 Added a bunch of messages for advanced seeking.
21075 * gst/parse/grammar.y:
21076 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21077 (gst_dpman_state_changed):
21078 Fix some new-pad -> pad-added signals
21080 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21082 * docs/manual/appendix-porting.xml:
21083 * docs/pwg/appendix-porting.xml:
21084 Document new-pad/state-change signal renames and the FixedList
21087 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21089 * docs/manual/advanced-autoplugging.xml:
21090 * docs/manual/basics-helloworld.xml:
21091 * docs/manual/basics-pads.xml:
21092 * docs/random/ds/0.9-suggested-changes:
21093 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21094 * gst/gstelement.h:
21098 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21099 (gst_structure_parse_array), (gst_structure_parse_value):
21100 * gst/gstvalue.c: (gst_type_is_fixed),
21101 (gst_value_list_prepend_value), (gst_value_list_append_value),
21102 (gst_value_list_get_size), (gst_value_list_get_value),
21103 (gst_value_transform_array_string), (gst_value_serialize_array),
21104 (gst_value_deserialize_array), (gst_value_intersect_array),
21105 (gst_value_is_fixed), (_gst_value_initialize):
21107 GstElement::new-pad -> pad-added, GstElement::state-change ->
21108 state-changed, GstValueFixedList -> GstValueArray, add format and
21109 flags as their own arguments in gst_element_seek() (should improve
21110 "bindeability"), remove function generators since they don't work
21111 under a whole bunch of compilers (they were deprecated already
21114 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21116 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21117 (_gst_debug_register_funcptr):
21119 Fix illegal cast on some platforms (#309253).
21121 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21123 * gst/gstmessage.c: (gst_message_new_custom):
21124 * gst/gstmessage.h:
21125 Add _new_custom, make _new_application a macro to _new_custom.
21127 2005-07-20 Wim Taymans <wim@fluendo.com>
21129 * gst/base/gstbasesrc.c: (gst_base_src_init),
21130 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21131 * gst/base/gstbasesrc.h:
21132 Add a gboolean to decide when to push out a discont.
21134 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21135 (gst_queue_loop), (gst_queue_handle_src_query),
21136 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21137 (gst_queue_set_property), (gst_queue_get_property):
21140 * tests/threadstate/threadstate1.c: (main):
21141 Make a thread test compile and run... very silly..
21144 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21146 * docs/manual/appendix-porting.xml:
21147 Mention removal of libgstgconf-0.9.la and existence of gconf
21150 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21152 * docs/pwg/advanced-clock.xml:
21153 * docs/pwg/appendix-porting.xml:
21154 * docs/pwg/intro-preface.xml:
21155 * docs/pwg/other-base.xml:
21156 * docs/pwg/other-manager.xml:
21157 * docs/pwg/other-nton.xml:
21158 * docs/pwg/other-ntoone.xml:
21159 * docs/pwg/other-oneton.xml:
21160 * docs/pwg/pwg.xml:
21161 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21162 demuxer), remove n-to-n (was never written), fix some code examples
21163 and links and update the porting section to include all this.
21165 2005-07-19 Wim Taymans <wim@fluendo.com>
21167 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21168 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21169 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21170 (gst_queue_src_activate_push), (gst_queue_change_state),
21171 (gst_queue_get_property):
21173 Propagate GstFlowReturn more intelligently upstream and output
21174 an ERROR/EOS when streaming stopped due to fatal error.
21176 2005-07-19 Wim Taymans <wim@fluendo.com>
21178 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21179 Don't block forever for the state change to complete, the
21180 pipeline already did with a sensible timeout.
21182 2005-07-19 Wim Taymans <wim@fluendo.com>
21184 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21185 Make sure we never call the create function is we
21188 2005-07-19 Andy Wingo <wingo@pobox.com>
21190 * gst/parse/parse.l: Attempt to solve bug #172815.
21192 2005-07-19 Wim Taymans <wim@fluendo.com>
21194 * docs/design/part-clocks.txt:
21195 * docs/design/part-events.txt:
21196 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21197 Small docs updates.
21198 Only update the seeking values when we are not
21201 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21203 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21204 Oops, ignore the result of gst_pad_push_event here.
21206 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21208 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21209 (gst_base_src_activate_push):
21210 Send discont event from the loop function, as pads
21211 aren't activated yet in the activate_push handler.
21213 * gst/gstbin.c: (bin_bus_handler):
21214 Don't leak element name.
21216 2005-07-18 Andy Wingo <wingo@pobox.com>
21218 * configure.ac: Use AS_LIBTOOL_TAGS.
21220 2005-07-18 Wim Taymans <wim@fluendo.com>
21222 * docs/gst/gstreamer.types:
21223 Remove deleted types.
21225 2005-07-18 Wim Taymans <wim@fluendo.com>
21227 * check/elements/gstfakesrc.c: (GST_START_TEST):
21230 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21231 (init_popt_callback):
21233 * gst/gst_private.h:
21234 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21235 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21238 * gst/gstconfig.h.in:
21239 * gst/gstelement.c: (gst_element_class_init),
21240 (gst_element_set_base_time), (gst_element_get_base_time),
21241 (iterator_fold_with_resync), (gst_element_change_state),
21242 (gst_element_dispose), (gst_element_get_bus):
21243 * gst/gstelement.h:
21244 * gst/gstelementfactory.h:
21245 * gst/gsterror.c: (_gst_core_errors_init):
21248 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21250 * gst/gstinfo.c: (_gst_debug_init):
21251 * gst/gstmessage.c: (_gst_message_copy):
21252 * gst/gstmessage.h:
21253 * gst/gstminiobject.h:
21256 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21257 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21260 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21261 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21262 (gst_pipeline_get_last_stream_time):
21263 * gst/gstpipeline.h:
21264 * gst/gstpluginfeature.h:
21266 * gst/gstscheduler.c:
21267 * gst/gstscheduler.h:
21268 * gst/gststructure.h:
21269 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21270 (gst_task_finalize), (gst_task_func), (gst_task_create),
21271 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21272 (gst_task_stop), (gst_task_pause):
21274 * gst/gsttypefind.h:
21276 * gst/registries/gstlibxmlregistry.c: (load_feature),
21277 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21278 * gst/registries/gstxmlregistry.c:
21279 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21280 * gst/schedulers/threadscheduler.c:
21281 * libs/gst/control/dparammanager.h:
21282 * tools/gst-inspect.c: (print_element_list),
21283 (print_plugin_features), (print_element_features):
21284 * tools/gst-xmlinspect.c: (print_element_list),
21285 (print_plugin_info), (main):
21286 Removed plugable schedulers.
21287 Removed Scheduler/Manager from elements.
21288 Removed gsttypes.h, rearranged includes.
21289 Removed dependency pad<->element, element<>pipeline, and
21290 various others, fix includes.
21291 implement gst_pad_get_parent() with gst_object_get_parent()
21292 Make GstTask sefcontained.
21293 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21295 Fix endless loop in iterator_fold_with_resync.
21298 2005-07-18 Wim Taymans <wim@fluendo.com>
21304 2005-07-18 Wim Taymans <wim@fluendo.com>
21307 No more cothreads.h
21309 2005-07-18 Wim Taymans <wim@fluendo.com>
21313 Let's remove these.
21315 2005-07-18 Wim Taymans <wim@fluendo.com>
21317 * docs/design/part-dynamic.txt:
21318 * docs/design/part-events.txt:
21319 * docs/design/part-seeking.txt:
21320 Some more docs in the works.
21322 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21323 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21324 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21325 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21326 (gst_base_transform_handle_buffer),
21327 (gst_base_transform_sink_activate_push),
21328 (gst_base_transform_src_activate_pull),
21329 (gst_base_transform_set_passthrough),
21330 (gst_base_transform_is_passthrough):
21333 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21336 * gst/gstevent.c: (gst_event_finalize):
21339 * gst/gstutils.c: (gst_element_unlink),
21340 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21341 (gst_pad_proxy_setcaps):
21343 Add _get_parent_element() to get a pads parent as an element.
21345 2005-07-18 Wim Taymans <wim@fluendo.com>
21347 * check/gst/gstbin.c: (GST_START_TEST):
21350 2005-07-18 Wim Taymans <wim@fluendo.com>
21352 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21353 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21354 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21355 (gst_base_sink_event), (gst_base_sink_do_sync),
21356 (gst_base_sink_chain), (gst_base_sink_loop),
21357 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21358 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21360 Fix logic for returning ASYNC when not prerolled.
21362 2005-07-18 Wim Taymans <wim@fluendo.com>
21364 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21365 Fix nasty refcount bug.
21367 2005-07-16 Philippe Khalaf <burger@speedy.org>
21369 * gst/elements/gstfdsrc.c:
21370 * gst/elements/gstfdsrc.h:
21371 * gst/elements/gstelements.c:
21372 * gst/elements/Makefile.am:
21373 Ported fdsrc to 0.9.
21375 2005-07-16 Wim Taymans <wim@fluendo.com>
21377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21378 (gst_base_sink_do_sync):
21381 2005-07-16 Wim Taymans <wim@fluendo.com>
21383 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21384 (gst_base_sink_event), (gst_base_sink_get_times),
21385 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21386 * gst/base/gstbasesink.h:
21387 Store and use discont values when syncing buffers as described
21390 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21391 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21392 (gst_base_src_activate_push):
21393 Push discont event when starting.
21395 * gst/elements/gstidentity.c: (gst_identity_transform):
21398 * gst/gstbin.c: (gst_bin_change_state):
21399 Small cleanups in base_time distribution.
21401 * gst/gstelement.c: (gst_element_set_base_time),
21402 (gst_element_get_base_time), (gst_element_change_state):
21403 * gst/gstelement.h:
21404 Added methods for the base_time of the element.
21407 * gst/gstpipeline.c: (gst_pipeline_send_event),
21408 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21409 (gst_pipeline_get_last_stream_time):
21410 * gst/gstpipeline.h:
21412 Handle seeking as described in design doc, remove stream_time
21414 Cleanups clock and stream_time selection code. Added accessors
21415 for the stream_time.
21418 2005-07-16 Andy Wingo <wingo@pobox.com>
21420 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21423 2005-07-16 Wim Taymans <wim@fluendo.com>
21425 * check/gst/gstbin.c: (GST_START_TEST):
21426 Make elements silent as the deep_notify refs the
21427 parent, which might make the test fail.
21429 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21430 Don't hold the lock for too long.
21432 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21434 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21435 Don't unref the caps we passed to gst_caps_make_writable() after
21436 passing them. gst_caps_make_writable() will do that for us.
21438 2005-07-15 Andy Wingo <wingo@pobox.com>
21440 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21443 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21444 own marshalling function for the handoff signal. Properly type the
21445 buffer as a buffer. Fixes some warnings. Should do a more general
21447 (gst_identity_class_init): Plug into the right marshaller.
21449 2005-07-15 Wim Taymans <wim@fluendo.com>
21451 * docs/design/part-TODO.txt:
21452 * docs/design/part-clocks.txt:
21453 * docs/design/part-element-sink.txt:
21454 * docs/design/part-events.txt:
21455 * docs/design/part-gstpipeline.txt:
21456 Updated docs, mostly DISCONT related.
21458 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21460 * docs/pwg/building-pads.xml:
21461 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21463 2005-07-15 Andy Wingo <wingo@pobox.com>
21465 * tools/gst-typefind.c: Update, add copyright block.
21467 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21468 Normalize and truncate caps before fixation.
21471 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21472 discards all but the first structure from its argument.
21474 2005-07-15 Wim Taymans <wim@fluendo.com>
21476 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21477 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21478 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21479 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21480 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21481 (gst_base_transform_chain), (gst_base_transform_change_state),
21482 (gst_base_transform_set_passthrough),
21483 (gst_base_transform_is_passthrough):
21484 * gst/base/gstbasetransform.h:
21485 Make passthrough work using the bufferpools.
21486 Changed API a bit, subclasses have to write into a buffer
21487 provided by the base class.
21488 More debug info in nego functions.
21490 * gst/elements/gstidentity.c: (gst_identity_init),
21491 (gst_identity_transform):
21492 Port to new base class.
21494 2005-07-15 Wim Taymans <wim@fluendo.com>
21496 * gst/gstmessage.c: (gst_message_new_state_changed):
21497 * tools/gst-launch.c: (event_loop), (main):
21498 Totally dump messages in -launch with the -m option.
21499 Fix message name for State messages,
21501 2005-07-14 Wim Taymans <wim@fluendo.com>
21503 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21504 Post error messages on errors.
21506 2005-07-14 Wim Taymans <wim@fluendo.com>
21508 * gst/gstcaps.c: (gst_caps_do_simplify):
21512 Define error for stream stopped.
21514 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21515 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21516 Do proper return values.
21518 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21519 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21520 (gst_pad_get_range):
21521 Better return values.
21524 Reorganise return values, add macro to check for fatal errors.
21526 * gst/gstqueue.c: (gst_queue_chain):
21527 Return proper GstFlowReturn values,
21529 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21531 * docs/gst/gstreamer-sections.txt:
21532 * docs/gst/gstreamer.types:
21533 * docs/gst/tmpl/gst.sgml:
21534 * docs/gst/tmpl/gstbasesink.sgml:
21535 * docs/gst/tmpl/gstbasesrc.sgml:
21536 * docs/gst/tmpl/gstbasetransform.sgml:
21537 * docs/gst/tmpl/gstbin.sgml:
21538 * docs/gst/tmpl/gstbuffer.sgml:
21539 * docs/gst/tmpl/gstcaps.sgml:
21540 * docs/gst/tmpl/gstclock.sgml:
21541 * docs/gst/tmpl/gstcompat.sgml:
21542 * docs/gst/tmpl/gstconfig.sgml:
21543 * docs/gst/tmpl/gstelement.sgml:
21544 * docs/gst/tmpl/gstelementdetails.sgml:
21545 * docs/gst/tmpl/gstelementfactory.sgml:
21546 * docs/gst/tmpl/gstenumtypes.sgml:
21547 * docs/gst/tmpl/gsterror.sgml:
21548 * docs/gst/tmpl/gstevent.sgml:
21549 * docs/gst/tmpl/gstfakesink.sgml:
21550 * docs/gst/tmpl/gstfakesrc.sgml:
21551 * docs/gst/tmpl/gstfilesink.sgml:
21552 * docs/gst/tmpl/gstfilesrc.sgml:
21553 * docs/gst/tmpl/gstfilter.sgml:
21554 * docs/gst/tmpl/gstformat.sgml:
21555 * docs/gst/tmpl/gstghostpad.sgml:
21556 * docs/gst/tmpl/gstimplementsinterface.sgml:
21557 * docs/gst/tmpl/gstindex.sgml:
21558 * docs/gst/tmpl/gstindexfactory.sgml:
21559 * docs/gst/tmpl/gstinfo.sgml:
21560 * docs/gst/tmpl/gstiterator.sgml:
21561 * docs/gst/tmpl/gstmacros.sgml:
21562 * docs/gst/tmpl/gstmemchunk.sgml:
21563 * docs/gst/tmpl/gstminiobject.sgml:
21564 * docs/gst/tmpl/gstobject.sgml:
21565 * docs/gst/tmpl/gstpad.sgml:
21566 * docs/gst/tmpl/gstpadtemplate.sgml:
21567 * docs/gst/tmpl/gstparse.sgml:
21568 * docs/gst/tmpl/gstpipeline.sgml:
21569 * docs/gst/tmpl/gstplugin.sgml:
21570 * docs/gst/tmpl/gstpluginfeature.sgml:
21571 * docs/gst/tmpl/gstquery.sgml:
21572 * docs/gst/tmpl/gstqueue.sgml:
21573 * docs/gst/tmpl/gstregistry.sgml:
21574 * docs/gst/tmpl/gstregistrypool.sgml:
21575 * docs/gst/tmpl/gstscheduler.sgml:
21576 * docs/gst/tmpl/gstschedulerfactory.sgml:
21577 * docs/gst/tmpl/gststructure.sgml:
21578 * docs/gst/tmpl/gstsystemclock.sgml:
21579 * docs/gst/tmpl/gsttaglist.sgml:
21580 * docs/gst/tmpl/gsttagsetter.sgml:
21581 * docs/gst/tmpl/gsttrace.sgml:
21582 * docs/gst/tmpl/gsttrashstack.sgml:
21583 * docs/gst/tmpl/gsttypefind.sgml:
21584 * docs/gst/tmpl/gsttypefindfactory.sgml:
21585 * docs/gst/tmpl/gsttypes.sgml:
21586 * docs/gst/tmpl/gsturihandler.sgml:
21587 * docs/gst/tmpl/gsturitype.sgml:
21588 * docs/gst/tmpl/gstutils.sgml:
21589 * docs/gst/tmpl/gstvalue.sgml:
21590 * docs/gst/tmpl/gstversion.sgml:
21591 * docs/gst/tmpl/gstxml.sgml:
21592 * docs/libs/tmpl/gstcontrol.sgml:
21593 * docs/libs/tmpl/gstdataprotocol.sgml:
21594 * docs/libs/tmpl/gstdparam.sgml:
21595 * docs/libs/tmpl/gstdplinint.sgml:
21596 * docs/libs/tmpl/gstdpman.sgml:
21597 * docs/libs/tmpl/gstdpsmooth.sgml:
21598 * docs/libs/tmpl/gstgetbits.sgml:
21599 * docs/libs/tmpl/gstunitconvert.sgml:
21600 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21601 (gst_push_src_base_init), (gst_push_src_class_init),
21602 (gst_push_src_init), (gst_push_src_create):
21603 * gst/base/gstpushsrc.h:
21604 * gst/elements/gstelements.c:
21605 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21606 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21607 (gst_fake_sink_init), (gst_fake_sink_set_property),
21608 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21609 (gst_fake_sink_event), (gst_fake_sink_preroll),
21610 (gst_fake_sink_render), (gst_fake_sink_change_state):
21611 * gst/elements/gstfakesink.h:
21612 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21613 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21614 (gst_fake_src_base_init), (gst_fake_src_class_init),
21615 (gst_fake_src_init), (gst_fake_src_event_handler),
21616 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21617 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21618 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21619 (gst_fake_src_create_buffer), (gst_fake_src_create),
21620 (gst_fake_src_start), (gst_fake_src_stop):
21621 * gst/elements/gstfakesrc.h:
21622 * gst/elements/gstfilesink.c: (_do_init),
21623 (gst_file_sink_base_init), (gst_file_sink_class_init),
21624 (gst_file_sink_init), (gst_file_sink_dispose),
21625 (gst_file_sink_set_location), (gst_file_sink_set_property),
21626 (gst_file_sink_get_property), (gst_file_sink_open_file),
21627 (gst_file_sink_close_file), (gst_file_sink_query),
21628 (gst_file_sink_event), (gst_file_sink_render),
21629 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21630 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21631 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21632 * gst/elements/gstfilesink.h:
21633 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21634 (gst_file_src_class_init), (gst_file_src_init),
21635 (gst_file_src_finalize), (gst_file_src_set_location),
21636 (gst_file_src_set_property), (gst_file_src_get_property),
21637 (gst_file_src_map_region), (gst_file_src_map_small_region),
21638 (gst_file_src_create_mmap), (gst_file_src_create_read),
21639 (gst_file_src_create), (gst_file_src_is_seekable),
21640 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21641 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21642 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21643 (gst_file_src_uri_handler_init):
21644 * gst/elements/gstfilesrc.h:
21645 more autistic cleanliness in functions/names/defines
21647 2005-07-13 Andy Wingo <wingo@pobox.com>
21649 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21650 source couldn't negotiate.
21652 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21656 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21657 function. I am channeling Hades. Put your boots on suckers!!!
21659 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21661 * testsuite/caps/Makefile.am:
21662 * testsuite/caps/value_compare.c:
21663 * testsuite/caps/value_intersect.c:
21664 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21665 move two testsuite apps over to the check dir
21667 2005-07-12 Wim Taymans <wim@fluendo.com>
21669 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21670 Added more debug info in the negotiate process.
21672 * gst/gstmessage.h:
21673 Prepare for segment playback.
21675 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21681 * tools/gst-launch.c: (main):
21682 NULL pipeline on errors.
21684 2005-07-12 Andy Wingo <wingo@pobox.com>
21686 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21687 not it comes from a malloc region. Make sure our copy gets freed.
21689 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21691 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21692 * check/gst/gstmessage.c: (GST_START_TEST):
21693 * check/gst/gststructure.c: (GST_START_TEST),
21694 (gst_structure_suite), (main):
21696 * gst/gstelement.c: (gst_element_message_full):
21697 clean up GError and debug string now that they get copied
21698 * gst/gstmessage.c: (gst_message_new_error),
21699 (gst_message_new_warning), (gst_message_parse_error),
21700 (gst_message_parse_warning):
21701 use GST_TYPE_G_ERROR for structure_new, and take copies of
21702 arguments, so that we don't mess up refcounting
21704 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21706 * check/Makefile.am:
21707 add per-test valgrind targets
21708 * check/gst-libs/gdp.c: (GST_START_TEST),
21709 (gst_data_protocol_suite), (main):
21712 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21714 * check/Makefile.am:
21715 instate more valgrindable tests
21716 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21717 (GST_START_TEST), (fakesrc_suite):
21718 * check/gst/gstpad.c: (GST_START_TEST):
21719 * check/gst/gststructure.c: (GST_START_TEST):
21721 * docs/gst/tmpl/gstminiobject.sgml:
21722 * gst/gstpad.c: (gst_pad_finalize):
21723 fix the static mutex leak
21725 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21727 * check/Makefile.am:
21728 add two more tests for valgrinding
21729 * check/gst/gstvalue.c: (GST_START_TEST):
21730 test refcount of deserialized buffer, found a leak
21731 * docs/gst/gstreamer-docs.sgml:
21732 * docs/gst/gstreamer-sections.txt:
21733 * docs/gst/gstreamer.types:
21734 * docs/gst/tmpl/gstminiobject.sgml:
21735 add miniobject to docs
21736 * gst/gstminiobject.c:
21738 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21739 (gst_string_unwrap):
21740 fix a hard-to-find invalid write for one of the tests
21741 fix a leak for deserialized buffers
21743 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21745 * docs/pwg/advanced-events.xml:
21746 * docs/pwg/advanced-request.xml:
21747 * docs/pwg/advanced-scheduling.xml:
21748 * docs/pwg/appendix-porting.xml:
21749 * docs/pwg/building-boiler.xml:
21750 * docs/pwg/intro-preface.xml:
21751 * docs/pwg/other-ntoone.xml:
21752 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21753 of example code and explanation for pad activation, loop() and
21754 getrange() functions and a bit more. Remove old comments pointing
21756 * examples/pwg/Makefile.am:
21757 Add loop/getrange examples.
21759 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21762 check for valgrind binary + some fixes
21764 valgrind suppressions for the tests
21765 * check/Makefile.am:
21766 add a valgrind: target that valgrinds the unit tests
21767 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21768 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21769 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21770 * check/gst/gstghostpad.c:
21772 * check/gst/gstdata.c:
21774 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21775 (thread_unref), (gst_mini_object_suite), (main):
21777 * gst/gst.c: (gst_deinit):
21779 add a method to clean up.
21780 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21781 (gst_system_clock_obtain):
21782 allow for disposing the system clock.
21783 * tools/gst-launch.c: (main):
21786 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21788 * docs/gst/tmpl/gstbasesrc.sgml:
21789 * docs/gst/tmpl/gstfakesrc.sgml:
21790 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21791 (gst_base_src_init), (gst_base_src_set_property),
21792 (gst_base_src_get_property), (gst_base_src_get_range),
21793 (gst_base_src_start):
21794 * gst/base/gstbasesrc.h:
21795 add num-buffers property
21796 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21797 (gst_fakesrc_init), (gst_fakesrc_set_property),
21798 (gst_fakesrc_get_property), (gst_fakesrc_create),
21799 (gst_fakesrc_start):
21800 remove num-buffers property
21802 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21804 * docs/gst/gstreamer-sections.txt:
21805 * docs/gst/tmpl/gstbasesink.sgml:
21806 * docs/gst/tmpl/gstbasesrc.sgml:
21807 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21808 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21809 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21810 (gst_base_sink_set_property), (gst_base_sink_get_property),
21811 (gst_base_sink_handle_object), (gst_base_sink_event),
21812 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21813 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21814 (gst_base_sink_loop), (gst_base_sink_deactivate),
21815 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21816 (gst_base_sink_change_state):
21817 * gst/base/gstbasesink.h:
21818 * gst/base/gstbasesrc.h:
21819 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21820 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21821 (gst_filesink_init):
21822 more macro splitting
21824 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21826 * gst/gstelement.c: (gst_element_get_bus):
21828 * tools/gst-launch.c: (check_intr), (event_loop):
21831 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21833 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21836 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21838 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21839 (gst_base_src_finalize):
21840 add finalize method and clean up properly
21841 * gst/gstpipeline.c: (gst_pipeline_dispose):
21844 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21846 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21848 add more things to check
21849 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21850 * gst/gstelement.c:
21853 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21855 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21856 (GST_START_TEST), (fakesrc_suite):
21857 * check/gst-libs/gdp.c: (GST_START_TEST):
21858 * check/gst/gst.c: (GST_START_TEST):
21859 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21860 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21861 * check/gst/gstbus.c: (GST_START_TEST):
21862 * check/gst/gstcaps.c: (GST_START_TEST):
21863 * check/gst/gstdata.c: (GST_START_TEST):
21864 * check/gst/gstelement.c: (GST_START_TEST):
21865 * check/gst/gstghostpad.c: (GST_START_TEST):
21866 * check/gst/gstiterator.c: (GST_START_TEST):
21867 * check/gst/gstmessage.c: (GST_START_TEST):
21868 * check/gst/gstobject.c: (GST_START_TEST):
21869 * check/gst/gstpad.c: (GST_START_TEST):
21870 * check/gst/gststructure.c: (GST_START_TEST):
21871 * check/gst/gstsystemclock.c: (GST_START_TEST),
21872 (gst_systemclock_suite):
21873 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21874 * check/gst/gstvalue.c: (GST_START_TEST):
21875 * check/pipelines/cleanup.c: (GST_START_TEST):
21876 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21877 * check/states/sinks.c: (GST_START_TEST):
21878 * check/gstcheck.c: (gst_check_init):
21879 * check/gstcheck.h:
21880 add debugging category
21881 use GST_START_TEST now, so we add a debug line
21883 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21885 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21886 add test for state change message on a bin
21887 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21889 * gst/gstbin.c: (gst_bin_init):
21890 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21891 * gst/gstelement.c: (gst_element_post_message),
21892 (gst_element_set_state):
21893 * gst/gstelementfactory.c: (gst_element_factory_create):
21894 * gst/gstmessage.c: (gst_message_new):
21895 * gst/gstscheduler.c:
21896 various debugging additions and cleanups
21898 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21900 * check/Makefile.am:
21901 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21903 adding tests for elements
21904 * gst/gstelement.c: (gst_element_dispose):
21906 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21908 * gst/registries/gstlibxmlregistry.c: (load_feature):
21909 plug more leaks. A simple gst_init() now is leakfree, yay.
21911 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21913 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21914 (gst_xml_registry_load):
21915 plug another memleak
21917 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21920 use GST_SET_ERROR_CFLAGS
21921 * docs/faq/cvs.xml:
21922 change to ERROR_CFLAGS
21924 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21927 make GST_ERROR_CFLAGS overridable and re-enable Werror
21928 * docs/faq/cvs.xml:
21929 add a note about error CFLAGS
21930 * docs/gst/tmpl/gstfakesrc.sgml:
21931 * gst/elements/gstfakesrc.c:
21932 comment out some unused code
21933 * gst/gst.c: (split_and_iterate):
21934 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21938 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21940 * common/Makefile.am:
21941 * common/gtk-doc.mak:
21942 * docs/gst/Makefile.am:
21943 factor out gtk-doc.mak
21945 2005-07-07 Wim Taymans <wim@fluendo.com>
21947 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21948 (gst_thread_scheduler_dispose):
21949 Unlock the STREAM_LOCK completely.
21951 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21953 * check/Makefile.am:
21954 * check/elements/.cvsignore:
21955 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21956 (START_TEST), (fakesrc_suite), (main):
21957 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21958 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21959 (gst_fakesrc_create), (gst_fakesrc_start):
21960 * gst/elements/gstfakesrc.h:
21961 adding a first element test
21963 2005-07-07 Andy Wingo <wingo@pobox.com>
21965 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21968 2005-07-07 Wim Taymans <wim@fluendo.com>
21974 2005-07-07 Wim Taymans <wim@fluendo.com>
21976 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21977 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21978 Allow subclasses to implement their own negotiation.
21980 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21982 * docs/design/part-gstbin.txt:
21983 * docs/design/part-gstpipeline.txt:
21984 Update design notes to reflect the movement of
21985 responsibility for bus handling from GstPipeline to
21988 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21991 Remove unnecessary queue2/3/4 examples.
21993 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21995 * examples/Makefile.am:
21996 * examples/helloworld/helloworld.c: (event_loop), (main):
21997 * examples/queue/queue.c: (event_loop), (main):
21998 * examples/queue2/queue2.c: (main):
21999 Update a couple of the examples to work again.
22001 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22002 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22003 Spelling corrections and extra debug.
22005 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22006 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22007 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22009 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22010 (gst_pipeline_change_state):
22011 * gst/gstpipeline.h:
22012 Move the bus handler for children to the GstBin, and create a
22013 separate bus for receiving messages from children to the one the
22014 bus sends 'upwards' on.
22016 2005-07-06 Wim Taymans <wim@fluendo.com>
22019 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22020 (gst_base_sink_handle_object), (gst_base_sink_loop),
22021 (gst_base_sink_change_state):
22022 * gst/base/gstbasesink.h:
22023 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22024 (gst_base_src_init), (gst_base_src_setcaps),
22025 (gst_base_src_getcaps), (gst_base_src_loop),
22026 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22027 (gst_base_src_start), (gst_base_src_change_state):
22028 * gst/base/gstbasesrc.h:
22029 Make basesrc negotiate.
22030 Handle the case where preroll fails in basesink.
22033 2005-07-06 Wim Taymans <wim@fluendo.com>
22035 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22036 Implement the fixate function.
22037 Clean up acceptcaps.
22039 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22041 * docs/pwg/building-filterfactory.xml:
22042 * docs/pwg/pwg.xml:
22043 Remove never-written filter-factory chapter; I'll add the various
22044 base classes to part 4 ("other element types") later on.
22046 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22048 * docs/pwg/advanced-negotiation.xml:
22049 * docs/pwg/building-boiler.xml:
22050 * docs/pwg/building-pads.xml:
22051 * docs/pwg/pwg.xml:
22052 * examples/pwg/Makefile.am:
22053 Add a chapter on caps negotiation, simplify the original code
22054 samples a bit w.r.t. caps negotiation, add link to the advanced
22055 section. Add a bunch of examples showing different use cases of
22056 different types of caps negotiation. Upstream renegotiation isn't
22057 fully documented yet since nobody knows how that works.
22059 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22061 * check/gst/gstpad.c:
22062 * check/gstcheck.c:
22063 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22064 if pad has no parent, return NULL as list of internal links
22066 2005-07-05 Andy Wingo <wingo@pobox.com>
22068 * gst/elements/gstfilesrc.c:
22069 * gst/elements/gstfakesrc.c:
22070 * gst/base/gstpushsrc.c:
22071 * gst/base/gstbasesrc.h:
22072 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22074 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22077 better report generation target (lcov needs a patch)
22079 2005-07-05 Andy Wingo <wingo@pobox.com>
22081 * gst/elements, testsuite: Null if we got it...
22083 2005-07-05 Wim Taymans <wim@fluendo.com>
22086 * libs/gst/dataprotocol/Makefile.am:
22087 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22088 * libs/gst/dataprotocol/dataprotocol.h:
22089 * pkgconfig/Makefile.am:
22090 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22091 * pkgconfig/gstreamer-dataprotocol.pc.in:
22092 Ported dataprotol to 0.9.
22093 Added pkgconfig files.
22095 2005-07-05 Andy Wingo <wingo@pobox.com>
22097 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22098 Default to returning TRUE for the case when tranform_caps returns
22099 a fixed caps, like for identity or volume.
22101 * check/gst/gstbus.c (pound_bus_with_messages):
22102 * check/gst/gstmessage.c (START_TEST):
22103 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22104 message API change.
22106 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22107 logic weaks here: always run transform_caps, trying passthrough
22108 operation only if the original caps intersects with the transform.
22110 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22111 source and sink caps.
22113 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22114 Intersect the peer caps with the pad template before going into
22116 (gst_base_transform_transform_caps): More debugging.
22118 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22121 2005-07-04 Edward Hervey <edward@fluendo.com>
22125 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22128 2005-07-04 Andy Wingo <wingo@pobox.com>
22130 * check/gst/gstpad.c: Only set explicit caps on pads.
22132 2005-07-01 Andy Wingo <wingo@pobox.com>
22134 * tests/network-clock.scm: Commentary update.
22136 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22137 Didn't really make sense, not implementable with basetransform,
22139 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22140 attempt at implementing the sync property, needs an unlock method.
22142 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22143 New func, by default returns the same caps (the identity
22145 (gst_base_transform_getcaps): Uses transform_caps to return
22146 something sensible.
22147 (gst_base_transform_setcaps): Complicated logic to get caps on
22148 both pads, even if they are different, and to call set_caps once
22149 for every time both pads get their caps set.
22150 (gst_base_transform_handle_buffer): Give the ref to the transform
22151 function. Allows in-place modification of the buffer.
22153 * gst/base/gstbasetransform.h (transform_caps): New class method.
22154 Given caps on one side, what can I do on the other.
22155 (set_caps): Take two caps, one for each side of the element.
22158 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22159 caps in place. This is safe because we can check the mutability of
22160 the caps, and a good idea because fixate functions are just called
22161 as a matter of last resort. (Not actually implemented.)
22162 (gst_pad_set_caps): If the caps we're setting is actually the same
22163 as the existing pad caps, just update the pointer without calling
22164 setcaps. Assert that caps is either NULL or fixed, as per the
22167 * gst/gstghostpad.c: Update for fixate changes.
22169 2005-07-02 Andy Wingo <wingo@pobox.com>
22172 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22173 two refcounts makes it immutable, which is enough. Doc more.
22175 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22177 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22178 Put the mini_object into GValue as a mini_object,
22179 not a gpointer, since that's how we declared
22182 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22184 * examples/pwg/Makefile.am:
22185 Fix buildbot again.
22187 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22189 * docs/pwg/building-testapp.xml:
22191 * examples/pwg/Makefile.am:
22194 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22197 * examples/Makefile.am:
22198 * examples/pwg/Makefile.am:
22199 * examples/pwg/extract.pl:
22200 Enable building the PWG examples.
22201 * docs/pwg/advanced-interfaces.xml:
22202 Add URI interface stub.
22203 * docs/pwg/advanced-types.xml:
22204 * docs/pwg/other-autoplugger.xml:
22205 * docs/pwg/appendix-porting.xml:
22206 * docs/pwg/pwg.xml:
22207 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22208 * docs/pwg/building-boiler.xml:
22209 * docs/pwg/building-chainfn.xml:
22210 * docs/pwg/building-pads.xml:
22211 * docs/pwg/building-props.xml:
22212 * docs/pwg/building-state.xml:
22213 * docs/pwg/building-testapp.xml:
22214 Update the building-*.xml parts for 0.9 changes. All examples
22215 code blocks compile in examples/pwg/*.
22217 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22219 * docs/manual/advanced-autoplugging.xml:
22220 * docs/manual/appendix-checklist.xml:
22221 * docs/manual/appendix-integration.xml:
22222 * docs/manual/highlevel-components.xml:
22223 Fix playbin/decodebin examples, update docs a bit, mention bus
22224 instead of signals in various places, mention kmplayer and
22225 kaffeine since they have a working GStreamer backend in the KDE
22228 2005-06-30 Wim Taymans <wim@fluendo.com>
22231 * docs/design/draft-ghostpads.txt:
22232 * docs/design/draft-push-pull.txt:
22233 * docs/design/draft-query.txt:
22234 * docs/design/part-TODO.txt:
22235 * docs/design/part-query.txt:
22236 Added CHANGES-0.9 doc, updated status of other docs.
22241 2005-06-30 Wim Taymans <wim@fluendo.com>
22243 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22244 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22245 (gst_base_sink_change_state):
22246 * gst/base/gstbasesink.h:
22247 Some tweaks, only EOS and a buffer complete a preroll.
22249 2005-06-30 Andy Wingo <wingo@pobox.com>
22251 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22252 activate_push down to the internal pad as well.
22254 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22256 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22258 * gst/gsttaginterface.c:
22259 Some documentation fixes (#307394 and #307397).
22261 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22263 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22265 * gst/gstvalue.c: (gst_value_intersect_list):
22266 Fix memleak (#309125).
22268 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22270 * docs/manual/advanced-dataaccess.xml:
22271 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22272 * docs/manual/basics-pads.xml:
22273 Add reference for filtered caps to above chapter.
22275 2005-06-30 Wim Taymans <wim@fluendo.com>
22277 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22278 (gst_bin_change_state):
22280 Lame attempt at making the state change function a bit
22283 2005-06-30 Wim Taymans <wim@fluendo.com>
22285 * docs/design/part-clocks.txt:
22286 * docs/design/part-element-sink.txt:
22287 * docs/design/part-events.txt:
22288 * docs/design/part-preroll.txt:
22289 * docs/design/part-states.txt:
22290 Some more tweeks and additions to the docs.
22292 2005-06-30 Wim Taymans <wim@fluendo.com>
22294 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22295 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22296 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22297 (gst_pad_check_pull_range), (gst_pad_get_range),
22298 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22300 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22301 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22302 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22303 (gst_pad_remove_buffer_probe):
22304 Removed atomic operations, use existing LOCK.
22305 Move exception handling out of main code path.
22307 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22309 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22310 (silly_return_true_function), (gst_pad_class_init),
22311 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22312 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22313 (gst_pad_send_event):
22314 Fix accumulator, add default value by using _emitv() instead
22315 of _emit() for signal emission.
22317 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22319 * docs/manual/advanced-dataaccess.xml:
22320 * examples/manual/Makefile.am:
22322 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22325 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22327 * gst/elements/gstfilesink.c: (gst_filesink_render):
22328 Simplify code so that we don't have to handle short
22329 writes and return GST_FLOW_ERROR if an error occured.
22331 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22333 * docs/gst/gstreamer-docs.sgml:
22334 Remove probes more.
22336 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22338 * docs/gst/gstreamer-sections.txt:
22339 * docs/gst/tmpl/gstpad.sgml:
22340 * docs/gst/tmpl/gstprobe.sgml:
22342 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22343 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22344 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22345 (gst_pad_push_event), (gst_pad_send_event):
22347 * gst/gstutils.c: (gst_pad_add_data_probe),
22348 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22349 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22350 (gst_pad_remove_buffer_probe):
22352 Remove old probes, add new g-signal-based probes and some utility
22355 2005-06-29 Edward Hervey <edward@fluendo.com>
22357 * gst/gstelementfactory.c:
22360 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22361 the definition to the header file.
22363 2005-06-29 Andy Wingo <wingo@pobox.com>
22365 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22366 plugins from the source directory.
22368 2005-06-29 Wim Taymans <wim@fluendo.com>
22370 * docs/gst/tmpl/gstbuffer.sgml:
22371 * docs/gst/tmpl/gstclock.sgml:
22372 Some fixings for blantently wrong text.
22374 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22376 * check/Makefile.am:
22377 * gst/gst.c: (add_path_func), (init_pre):
22378 * gst/gstregistry.c: (gst_registry_add_path):
22379 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22380 only scan the GST_PLUGIN_PATH locations, and not add
22383 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22385 * docs/gst/gstreamer-sections.txt:
22386 * docs/gst/tmpl/gstbasesrc.sgml:
22387 * gst/gstelement.c:
22388 * gst/gstelement.h:
22393 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22395 * docs/manual/advanced-autoplugging.xml:
22396 Fix autoplugging example.
22398 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22400 * docs/manual/advanced-autoplugging.xml:
22401 * docs/manual/mime-world.fig:
22402 Try to get autoplugging working, fix type detection. Fix text
22403 in hello-world image.
22405 2005-06-29 Wim Taymans <wim@fluendo.com>
22407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22408 (gst_base_sink_change_state):
22412 map SIGNAL and BROADCAST to the right function.
22415 Remove redundant braces.
22417 * gst/gstpad.c: (gst_pad_set_caps):
22418 Don't call setcaps function when reseting caps to NULL.
22420 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22421 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22422 (gst_system_clock_id_unschedule):
22423 Use BROADCAST as this is what we do.
22425 2005-06-29 Wim Taymans <wim@fluendo.com>
22427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22428 We are actually prerolling before commiting the state
22431 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22433 * docs/manual/advanced-clocks.xml:
22434 * docs/manual/advanced-interfaces.xml:
22435 * docs/manual/advanced-metadata.xml:
22436 * docs/manual/advanced-position.xml:
22437 * docs/manual/advanced-schedulers.xml:
22438 * docs/manual/advanced-threads.xml:
22439 * docs/manual/appendix-porting.xml:
22440 * docs/manual/basics-bins.xml:
22441 * docs/manual/basics-bus.xml:
22442 * docs/manual/basics-elements.xml:
22443 * docs/manual/basics-helloworld.xml:
22444 * docs/manual/basics-pads.xml:
22445 * docs/manual/highlevel-components.xml:
22446 * docs/manual/manual.xml:
22447 * docs/manual/thread.fig:
22448 Update (until threads/scheduling) Application Development Manual;
22449 remove GstThread, add GstBus, add simple porting checklist, add
22450 documentation for tag writing, clocks, make all examples until this
22451 part compile and run.
22452 * examples/manual/Makefile.am:
22453 Update from changes to Application Development Manual; add bus
22454 example, remove thread example.
22456 2005-06-28 Wim Taymans <wim@fluendo.com>
22458 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22459 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22460 (gst_bus_source_dispatch):
22461 Add debugging messages.
22462 Make internal methods static.
22463 Handle the case where the bus is flushed in the handler.
22465 * gst/gstelement.c: (gst_element_get_bus):
22466 Fix refcount in _get_bus();
22468 * gst/gstpipeline.c: (gst_pipeline_change_state),
22469 (gst_pipeline_get_clock_func):
22470 Clock refcounting fixes.
22471 Handle the case where preroll timed out more gracefully.
22473 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22474 Clean up the internal thread in dispose. This is needed
22475 for subclasses that actually get disposed.
22477 * gst/schedulers/threadscheduler.c:
22478 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22479 (gst_thread_scheduler_dispose):
22480 Free thread pool in dispose.
22482 2005-06-28 Andy Wingo <wingo@pobox.com>
22484 * tests/network-clock-utils.scm (debug, print-event): New utils.
22486 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22487 (*packet-loss*): Unified loss probability.
22488 (network-time): Report out-of-band events.
22490 * tests/plot-data: Add support for out-of-band events. Hack it
22491 into this script instead of passing it down the pipe; should fix
22494 2005-06-28 Wim Taymans <wim@fluendo.com>
22496 * docs/gst/gstreamer.types:
22497 * docs/gst/tmpl/gstbasesrc.sgml:
22498 * docs/gst/tmpl/gstpad.sgml:
22501 2005-06-28 Wim Taymans <wim@fluendo.com>
22503 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22504 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22505 (gst_proxy_pad_do_fixatecaps):
22506 Correctly proxy the check_pull_range function.
22508 2005-06-28 Andy Wingo <wingo@pobox.com>
22510 * tests/network-clock.scm: Removed need for slib.
22512 2005-06-28 Wim Taymans <wim@fluendo.com>
22514 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22515 (gst_basesink_preroll_queue_flush):
22516 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22517 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22518 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22519 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22520 (gst_proxy_pad_set_property):
22523 * gst/gstqueue.c: (gst_queue_init):
22524 The deprecated pad loop function is removed now.
22526 2005-06-28 Andy Wingo <wingo@pobox.com>
22528 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22529 New parameters, simulate network packet loss.
22531 * tests/network-clock-utils.scm: Initialize the RNG.
22533 2005-06-28 Wim Taymans <wim@fluendo.com>
22535 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22536 (gst_basesink_event), (gst_basesink_deactivate):
22537 Flushing the preroll queue always needs to unlock the waiters.
22539 2005-06-28 Edward Hervey <edward@fluendo.com>
22541 * gst/gstpipeline.c: (gst_pipeline_send_event):
22542 Wheen a seek was successful on a pipeline, set the stream_time to the
22543 seek offset in order to have a synchronized stream_time.
22545 2005-06-28 Wim Taymans <wim@fluendo.com>
22547 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22548 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22549 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22550 (gst_proxy_pad_do_fixatecaps):
22551 Call wrapper function instead of just calling the function
22552 pointers. This takes care of any locking and whatmore.
22554 2005-06-28 Wim Taymans <wim@fluendo.com>
22556 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22557 (gst_pad_pull_range):
22559 CONNECTED -> LINKED.
22561 2005-06-28 Andy Wingo <wingo@pobox.com>
22563 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22564 source-munging commit!!!
22566 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22567 (gst_object_sink): Take gpointer arguments, not GstObject --
22568 avoids casts. Like GLib.
22570 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22573 2005-06-27 Andy Wingo <wingo@pobox.com>
22575 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22578 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22579 returns a sorted copy of the trace list.
22580 (gst_alloc_trace_print_live): New API, only prints traces with
22581 live objects. Sort the list.
22582 (gst_alloc_trace_print_all): Sort the list.
22583 (gst_alloc_trace_print): Align columns.
22585 * gst/elements/gstttypefindelement.c:
22586 * gst/elements/gsttee.c:
22587 * gst/base/gstbasesrc.c:
22588 * gst/base/gstbasesink.c:
22589 * gst/base/gstbasetransform.c:
22590 * gst/gstqueue.c: Adapt for pad activation changes.
22592 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22594 (gst_pipeline_dispose): Drop ref on sched.
22596 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22597 (gst_pad_activate_default): Push mode by default.
22598 (pre_activate_switch, post_activate_switch): New stubs, things to
22599 do before and after switching activation modes on pads.
22600 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22601 the pad's activate function to choose which mode to activate.
22602 Shortcut on deactivation and call the right function directly.
22603 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22605 (gst_pad_activate_push): New API, same for push mode.
22606 (gst_pad_set_activate_function)
22607 (gst_pad_set_activatepull_function)
22608 (gst_pad_set_activatepush_function): Setters for new API.
22610 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22611 Trace all miniobjects.
22612 (gst_mini_object_make_writable): Unref the arg if we copy, like
22613 gst_caps_make_writable.
22615 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22617 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22618 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22619 Adapt for new pad API.
22621 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22623 * gst/gstelement.h:
22624 * gst/gstelement.c (gst_element_iterate_src_pads)
22625 (gst_element_iterate_sink_pads): New API functions.
22627 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22628 should fold into gstiterator.c in some form.
22629 (gst_element_pads_activate): Simplified via use of fold and
22630 delegation of decisions to gstpad->activate.
22632 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22635 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22636 class once in init, like gstmessage. Didn't run into this issue
22637 but it seems correct. Don't initialize a trace, gstminiobject does
22640 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22641 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22643 (assert_live_count): New util function, uses alloc traces to check
22646 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22647 To be modified when unlink drops the internal pad.
22649 2005-06-27 Wim Taymans <wim@fluendo.com>
22651 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22652 (gst_bin_change_state):
22653 Cleanup the get_state() function a little, make sure it
22654 iterates the same set of elements.
22655 Added stub iterate_state_order().
22657 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22659 * docs/gst/gstreamer-docs.sgml:
22660 * docs/gst/gstreamer-sections.txt:
22661 * docs/gst/gstreamer.types:
22662 * docs/gst/tmpl/gstbasesink.sgml:
22663 * docs/gst/tmpl/gstbasesrc.sgml:
22664 * docs/gst/tmpl/gstbasetransform.sgml:
22665 * docs/gst/tmpl/gstelement.sgml:
22666 * docs/gst/tmpl/gstiterator.sgml:
22667 * gst/base/gstbasesrc.c:
22668 * gst/base/gstbasesrc.h:
22669 * gst/base/gstbasetransform.h:
22670 * gst/gstelement.c:
22671 * gst/gstiterator.h:
22672 adding basetransform and iterator docs
22674 2005-06-27 Andy Wingo <wingo@pobox.com>
22676 * docs/design/part-activation.txt: Notes on how activation should
22677 work -- not quite implemented yet.
22679 2005-06-25 Wim Taymans <wim@fluendo.com>
22681 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22682 At least get the chain function correct, needs more
22685 2005-06-25 Wim Taymans <wim@fluendo.com>
22687 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22688 (gst_basesink_handle_object), (gst_basesink_event),
22689 (gst_basesink_do_sync), (gst_basesink_handle_event),
22690 (gst_basesink_change_state):
22692 Right, two problems here: ghostpads don't take locks and
22693 glib _rec_mutex_lock_full() with depth==0 still locks.
22694 Catch illegal locking and g_warn them.
22696 2005-06-25 Wim Taymans <wim@fluendo.com>
22698 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22699 Have to check for completion now...
22701 2005-06-25 Wim Taymans <wim@fluendo.com>
22703 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22704 (gst_basesink_handle_object), (gst_basesink_event),
22705 (gst_basesink_do_sync), (gst_basesink_handle_event),
22706 (gst_basesink_change_state):
22708 Unlock STREAM_LOCK whatever the recursion was.
22710 2005-06-25 Wim Taymans <wim@fluendo.com>
22712 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22713 (gst_basesink_preroll_queue_empty),
22714 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22715 (gst_basesink_event), (gst_basesink_do_sync),
22716 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22717 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22718 (gst_basesink_change_state):
22719 Reworked the base sink, handle event and buffer serialisation
22720 correctly and removed possible deadlock.
22721 Handle EOS correctly.
22723 2005-06-25 Wim Taymans <wim@fluendo.com>
22725 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22726 (gst_pipeline_change_state):
22727 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22728 Allow elements to post EOS in the state change function.
22729 Fix up -launch, make it exit the poll loop when the
22730 pipeline actually changed state.
22731 Fix up warning parsing in -launch.
22733 2005-06-25 Wim Taymans <wim@fluendo.com>
22735 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22736 (gst_tee_sink_activate):
22737 Core takes STREAM_LOCK for us now.
22739 2005-06-25 Wim Taymans <wim@fluendo.com>
22741 * gst/gstelement.c: (gst_element_get_state_func),
22742 (gst_element_set_state):
22743 * gst/gstelement.h:
22744 * gst/gstmessage.c: (gst_message_parse_error),
22745 (gst_message_parse_warning):
22746 Keep track of current target state while performing a state
22747 change so that subclasses can do something interesting.
22748 Fix parsing of warning/error messages when GError is NULL.
22750 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22752 * docs/gst/Makefile.am:
22753 * docs/gst/gstreamer-docs.sgml:
22754 * docs/gst/gstreamer-sections.txt:
22755 * docs/gst/gstreamer.types:
22756 * docs/gst/tmpl/gstbasesink.sgml:
22757 * docs/gst/tmpl/gstbasesrc.sgml:
22758 * docs/gst/tmpl/gstbin.sgml:
22759 * docs/gst/tmpl/gstcompat.sgml:
22760 * docs/gst/tmpl/gstfakesink.sgml:
22761 * docs/gst/tmpl/gstfakesrc.sgml:
22762 * docs/gst/tmpl/gstfilesink.sgml:
22763 * docs/gst/tmpl/gstfilesrc.sgml:
22764 * docs/gst/tmpl/gstindex.sgml:
22765 * docs/manual/appendix-quotes.xml:
22766 * gst/base/gstbasesrc.h:
22767 * gst/elements/gstfakesrc.h:
22768 * gst/gstmessage.h:
22769 start pulling in base classes and elements in our docs
22771 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22773 * docs/gst/Makefile.am:
22774 * docs/libs/Makefile.am:
22775 fixed make distcheck with gtk-doc 1.3
22777 2005-06-23 Wim Taymans <wim@fluendo.com>
22779 * gst/gstelement.c: (gst_element_get_state_func),
22780 (gst_element_set_state), (gst_element_change_state):
22781 When the state did not change, also report NO_PREROLL
22784 2005-06-23 Wim Taymans <wim@fluendo.com>
22786 * gst/gstpad.c: (gst_pad_event_default):
22787 * gst/gstqueue.c: (gst_queue_loop):
22788 No unsafe task pausing please.
22790 2005-06-23 Wim Taymans <wim@fluendo.com>
22792 * gst/schedulers/threadscheduler.c:
22793 (gst_thread_scheduler_task_start),
22794 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22795 Ref the task before pushing it on the threadpool. This
22796 makes sure that we have a ref when the threadfunction is
22799 2005-06-23 Andy Wingo <wingo@pobox.com>
22801 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22802 offset is greater than the file's size.
22804 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22805 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22806 * gst/gstobject.c (gst_object_class_init): Make the class lock
22807 recursive. Wim won't let me drop deep_notify. Decodebin works
22808 again, whoopdy doo.
22810 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22811 internal pad, and hacks accordingly. Doesn't do it on the target
22812 pad because we change its caps. Probably catches all cases of
22814 (gst_ghost_pad_set_property): Connect to notify::caps as
22817 * tests/network-clock.scm (plot-simulation): Pipe data to the
22818 elite python skript.
22820 * tests/network-clock-utils.scm (define-parameter): New macro,
22821 defines a parameter that can be set via the command line.
22822 (set-parameter!, parse-parameter-arguments): Command line args
22825 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22828 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22830 * gst/elements/gsttypefindelement.c:
22831 (gst_type_find_element_handle_event):
22832 Don't restart typefinding on a discont.
22833 * gst/gstelement.c: (gst_element_set_state):
22834 Debug spelling fix.
22835 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22836 Allow changing mode of an active pad.
22837 Debug output fixes.
22838 * gst/registries/gstlibxmlregistry.c: (load_feature):
22839 Don't cast a static pad template to a normal pad template.
22841 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22843 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22844 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22845 remove gst_strtoll completely, since it didn't actually do
22846 anything more than what g_ascii_strtoull already does.
22847 check for range errors when deserializing
22848 do a cast for the unsigned cases; but further fixing needs
22849 a decision on what the interpretation of "(int)" and
22850 deserialization should be for values that fall outside the
22851 type's boundaries (ie, refuse, or interpret as casting)
22853 2005-06-23 Wim Taymans <wim@fluendo.com>
22855 * check/Makefile.am:
22856 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22857 * docs/design/part-live-source.txt:
22858 * docs/design/part-states.txt:
22859 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22860 (gst_basesrc_set_live), (gst_basesrc_is_live),
22861 (gst_basesrc_get_range), (gst_basesrc_activate),
22862 (gst_basesrc_change_state):
22863 * gst/base/gstbasesrc.h:
22864 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22865 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22866 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22867 * gst/gstelement.c: (gst_element_get_state_func),
22868 (gst_element_set_state):
22869 * gst/gstelement.h:
22871 * tools/gst-launch.c: (event_loop), (main):
22872 Added support for live sources and other elements that
22874 Updated design docs, added live-source design doc.
22875 Implemented live source functionality in basesrc
22876 Fix error condition in _bin_get_state()
22877 Implement live source handling in -launch.
22878 Added check for live sources.
22879 Fixed case in GstBin where elements were changed state
22883 2005-06-23 Andy Wingo <wingo@pobox.com>
22885 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22886 borken refcounting.
22888 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22889 gst_caps_replace takes care of this for us.
22891 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22892 gst_pad_set_caps on the target, not just its setcaps() function.
22894 * tests/network-clock.scm:
22895 * tests/network-clock-utils.scm: A network clock simulator.
22896 Something of an algorithmic testbed before doing something in C.
22898 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22900 * check/Makefile.am:
22901 * check/gst/capslist.h:
22902 copy over from 0.8, and add two with bitmasks specified with
22904 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22905 add test to parse everything from capslist.h
22906 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22908 add test for structure deserialization
22909 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22910 add tests for deserialization of strings to int types
22911 * gst/gststructure.c: (gst_structure_nth_field_name):
22912 * gst/gststructure.h:
22913 add a way to get the name of a field referenced by index
22914 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22915 instead of checking if the resulting long long lies between
22916 min and max, we check if the long long would fit into
22917 a number of bytes for the final type.
22918 This fixes cases where a string represents 2^32 - 1, which
22919 when cast to int would be the (valid) -1, but is bigger than
22922 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22924 * gst/parse/grammar.y:
22925 add a log line for type deserialization
22927 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22929 * check/gst/gstvalue.c: (START_TEST):
22930 * gst/gstvalue.c: (gst_value_deserialize):
22931 return long long, not int, so gint64 deserialization actually
22932 works. Is there any flag that makes the compiler check this ?
22935 2005-06-22 Wim Taymans <wim@fluendo.com>
22938 Added convenience macros for setting buffers in GValue.
22940 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22942 * check/gst/.cvsignore:
22943 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22944 add a test deserializing int64, and comment part out because
22947 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * check/Makefile.am:
22950 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22951 * testsuite/Makefile.am:
22952 * testsuite/caps/Makefile.am:
22953 * testsuite/caps/value_serialize.c:
22954 * testsuite/test_gst_init.c:
22955 move a value_serialize test over
22957 2005-06-20 Wim Taymans <wim@fluendo.com>
22962 * gst/gstvalue.c: (gst_value_compare_buffer),
22963 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22964 (gst_value_compare_flags), (gst_value_serialize_flags),
22965 (gst_value_deserialize_flags), (_gst_value_initialize):
22966 Fix serialisation of buffers, they are not boxed types anymore
22968 2005-06-20 Wim Taymans <wim@fluendo.com>
22970 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22971 Testcase to show error in buffer-on-caps serialisation.
22973 2005-06-20 Andy Wingo <wingo@pobox.com>
22975 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22976 will be adding to later.
22978 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22979 if its socks fill with rocks.
22980 (gst_system_clock_obtain): Set the name on object construction.
22981 Avoid double-checked locking.
22983 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22985 * gst/gsturi.c: (gst_element_make_from_uri):
22986 Fix potential endless loop.
22988 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22990 * check/Makefile.am:
22992 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22994 move over from testsuite dir and clean up
22997 * testsuite/Makefile.am:
22998 * testsuite/tags/.cvsignore:
22999 * testsuite/tags/Makefile.am:
23000 * testsuite/tags/merge.c:
23001 remove testsuite/tags
23003 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23005 * docs/gst/gstreamer-sections.txt:
23006 * docs/gst/tmpl/gstenumtypes.sgml:
23007 * win32/gstenumtypes.c:
23008 clean up documentation build a little
23010 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23012 * check/gstcheck.h:
23013 add macros for checking refcounts on objects and caps
23014 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23015 add some more unit tests
23016 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23017 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23018 fix leaked refcounts (I hope :)) so unittest works
23022 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23024 * configure.ac: back to HEAD
23026 === release 0.9.1 ===
23028 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23034 2005-06-17 Andy Wingo <wingo@pobox.com>
23036 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23037 assert; it's always possible that the pad gets deactivated in
23038 between the checks in gstpad.c and the implementation. Rely on
23039 finish_preroll() to return a FLUSHING or similar instead of on the
23042 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23043 clock and post an EOS message if we come out of finish_preroll in
23046 2005-06-16 David Schleef <ds@schleef.org>
23048 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23049 (gst_capsfilter_set_property): Allow NULL as possible value
23050 for filter_caps property, indicating GST_CAPS_ANY.
23052 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23054 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23056 * gst/schedulers/Makefile.am:
23058 * gstreamer.spec.in:
23061 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23063 * gstreamer.spec.in:
23066 2005-06-08 Andy Wingo <wingo@pobox.com>
23068 * gst/gstutils.c: RPAD fixes all around.
23069 (gst_element_link_pads): Refcounting fixes.
23071 * tools/gst-inspect.c:
23072 * tools/gst-xmlinspect.c:
23074 * gst/base/gsttypefindhelper.c:
23075 * gst/base/gstbasesink.c:
23076 * gst/gstqueue.c: RPAD fixes.
23078 * gst/gstghostpad.h:
23079 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23080 pads. The tricky thing is they provide both source and sink
23081 interfaces, since they proxy the internal pad for the external
23082 pad, and vice versa. Implement with lower-level ProxyPad objects,
23083 with the interior proxy pad as a child of the exterior ghost pad.
23084 Should write a doc on this.
23086 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23087 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23090 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23091 pads are real pads. No ghost pads in this file. Not documenting
23092 the myriad s/RPAD/PAD/ and REALIZE fixes.
23093 (gst_pad_class_init): Add properties for "direction" and
23094 "template". Both are construct-only, so they can't change during
23095 the life of the pad. Fixes properly deriving from GstPad.
23096 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23097 derived objects, just set properties when creating the objects via
23099 (gst_pad_get_parent): Implement as a function, return NULL if the
23100 parent is not an element.
23101 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23102 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23104 * gst/gstobject.c (gst_object_class_init): Make name a construct
23105 property. Don't set it in the object init.
23107 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23108 with UNKNOWN direction.
23109 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23110 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23111 (gst_element_remove_pad): Remove ghost-pad special cases.
23112 (gst_element_pads_activate): Remove rpad cruft.
23114 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23115 catch the pad's-parent-not-an-element case.
23117 * gst/gst.h: Include gstghostpad.h.
23119 * gst/gst.c (init_post): No more real, ghost pads.
23121 * gst/Makefile.am: Add gstghostpad.[ch].
23123 * check/Makefile.am:
23124 * check/gst/gstbin.c:
23125 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23126 into a bin creates ghost pads, and that the refcounts are right.
23127 Partly moved from gstbin.c.
23129 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23131 * check/gst-libs/.cvsignore:
23132 * check/gst/.cvsignore:
23133 * check/pipelines/.cvsignore:
23135 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23136 (START_TEST), (cleanup_suite), (main):
23137 add some tests related to cleanup after running pipelines
23139 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23141 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23142 add a testsuite for GstBuffer
23144 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23146 * gst/gstminiobject.h:
23147 add defines for accessing the refcount
23149 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23151 * Makefile.am: added support for html unit test coverage reports
23153 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23155 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23156 Free existing caps if the capsfilter changes. Add a FIXME about
23157 setting those caps on the pads.
23159 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23160 Before adding a ghost pad to a parent bin, check that there isn't
23161 already one for the element on the bin. Prevents infinite recursion
23162 when using decodebin in parse pipelines. Andy says he'll rewrite the
23163 way this works anyway, so ignore the hack.
23165 2005-06-02 Andy Wingo <wingo@pobox.com>
23167 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23168 file size, pass it on to the type find helper.
23170 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23171 segment_start and segment_end properly according to the seek
23172 method. Segment_end is still a bit flaky because offset can be
23173 negative for CUR and END cases, but it takes -1 as an "unset"
23176 2005-06-02 Wim Taymans <wim@fluendo.com>
23178 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23179 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23180 (gst_basesink_activate):
23181 * gst/base/gstbasesink.h:
23182 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23183 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23184 (gst_pad_query), (gst_pad_start_task):
23186 * gst/gstqueue.c: (gst_queue_bufferalloc),
23187 (gst_queue_handle_sink_event), (gst_queue_chain):
23188 Bufferalloc: return GstFlowReturn to more accuratly report
23189 why allocation failed.
23191 2005-06-02 Wim Taymans <wim@fluendo.com>
23193 * gst/gstpipeline.c: (gst_pipeline_send_event):
23194 Take snapshot of state without blocking.
23196 2005-06-02 Wim Taymans <wim@fluendo.com>
23198 * docs/design/part-TODO.txt:
23199 * docs/design/part-caps.txt:
23200 * docs/design/part-clocks.txt:
23201 * docs/design/part-negotiation.txt:
23202 * docs/design/part-preroll.txt:
23205 2005-05-30 Wim Taymans <wim@fluendo.com>
23207 * gst/elements/gstidentity.c: (gst_identity_event),
23208 (gst_identity_transform), (gst_identity_get_property):
23209 Protect last_message property as it is accessed from
23212 2005-05-30 Wim Taymans <wim@fluendo.com>
23214 * gst/gstelement.c: (gst_element_init),
23215 (gst_element_pads_activate), (gst_element_change_state):
23216 Slicker pad activation code.
23218 2005-05-30 Wim Taymans <wim@fluendo.com>
23221 * gst/gstelement.h:
23222 * gst/gstelementfactory.h:
23224 Move elementfactory methods to separate .h file.
23226 2005-05-30 Wim Taymans <wim@fluendo.com>
23228 * docs/design/part-overview.txt:
23229 * gst/gstsystemclock.h:
23230 Small typo fixes, doc updates.
23232 2005-05-30 Wim Taymans <wim@fluendo.com>
23234 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23235 (init_popt_callback):
23236 Remove cpu-opt flag.
23238 2005-05-30 Wim Taymans <wim@fluendo.com>
23240 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23241 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23243 Avoid typechecking in places where not needed.
23244 Added accessor for malloc_data.
23246 2005-05-30 Wim Taymans <wim@fluendo.com>
23248 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23249 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23250 (gst_pad_configure_sink), (gst_pad_configure_src),
23251 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23252 (gst_pad_start_task):
23253 Propagate errors from _set_caps() in configure_src/sink
23254 functions instead of returning TRUE.
23255 FLUSH events can travel up and downstream
23258 2005-05-30 Wim Taymans <wim@fluendo.com>
23260 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23261 (gst_basesink_activate):
23262 Handle EOS in preroll.
23264 2005-05-30 Wim Taymans <wim@fluendo.com>
23266 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23267 (gst_queue_loop), (gst_queue_handle_src_event):
23268 Remove old pieces of code
23269 Flushing the queue in an upstream event is a very bad idea.
23271 2005-05-26 Andy Wingo <wingo@pobox.com>
23273 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23274 gst_value_set_mini_object so as to add a ref on the object (which
23275 will be removed when the value is unset).
23277 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23278 arg type in ::handoff.
23280 * gst/gstelement.c (gst_element_change_state): Also deactivate
23281 pads in READY->NULL, just in case the element didn't make it to
23282 PAUSED. Wingo tested, Wim approved.
23284 2005-05-26 Wim Taymans <wim@fluendo.com>
23286 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23287 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23288 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23289 A flushing pad cannot be used to alloc_buffer from.
23291 2005-05-26 Wim Taymans <wim@fluendo.com>
23293 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23294 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23295 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23296 (gst_bus_create_watch), (gst_bus_add_watch_full):
23298 Implement a real GSource and use g_main_context_wakeup() to
23299 signal new messages instead of the socketpair.
23301 2005-05-25 Wim Taymans <wim@fluendo.com>
23303 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23304 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23305 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23306 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23307 (gst_pad_send_event), (gst_pad_start_task):
23308 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23309 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23310 (gst_queue_sink_activate), (gst_queue_src_activate),
23311 (gst_queue_change_state):
23313 Fix state changes for non sinks. We now change sinks, then elements
23314 with unconnected srcpads, then the rest.
23315 More efficient queue unlocking in flush and state changes.
23316 Set the pad activate mode even if it does not have an activate
23319 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23321 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23322 Don't go in pull mode for non-seekable sources.
23323 * gst/elements/gsttypefindelement.h:
23324 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23325 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23326 (free_entry), (stop_typefinding),
23327 (gst_type_find_element_handle_event), (find_peek),
23328 (gst_type_find_element_chain), (do_pull_typefind),
23329 (gst_type_find_element_change_state):
23330 Allow typefinding (w/o seeking) in push-mode, simplified version
23331 of what was in 0.8.
23332 * gst/gstutils.c: (gst_buffer_join):
23334 gst_buffer_join() from 0.8.
23336 2005-05-25 Wim Taymans <wim@fluendo.com>
23338 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23339 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23340 (gst_pad_send_event), (gst_pad_start_task):
23341 Disable attempt at mode switching until it is figured out.
23343 2005-05-25 Wim Taymans <wim@fluendo.com>
23345 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23346 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23347 (gst_basesink_finish_preroll), (gst_basesink_chain),
23348 (gst_basesink_loop), (gst_basesink_activate),
23349 (gst_basesink_change_state):
23350 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23351 (gst_basesrc_get_range), (gst_basesrc_loop),
23352 (gst_basesrc_activate):
23353 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23354 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23355 (gst_real_pad_init), (gst_real_pad_set_property),
23356 (gst_real_pad_get_property), (gst_pad_set_active),
23357 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23358 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23359 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23360 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23361 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23362 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23363 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23364 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23365 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23366 (gst_pad_stop_task):
23368 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23369 (gst_queue_loop), (gst_queue_src_activate):
23370 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23371 (gst_task_get_state):
23373 * gst/schedulers/threadscheduler.c:
23374 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23375 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23377 Remove ACTIVE pad flag, use FLUSHING everywhere
23378 Added _pad_chain(), _pad_get_range() to call chain/getrange
23380 Add locks around IS_FLUSHING when reading.
23381 Take STREAM lock in chain(), get_range() functions so plugins
23382 don't need to take it anymore.
23386 2005-05-25 Wim Taymans <wim@fluendo.com>
23388 * tools/gst-launch.c: (event_loop):
23389 Unref message after using its contents instead of
23392 2005-05-24 Wim Taymans <wim@fluendo.com>
23394 * docs/design/draft-ghostpads.txt:
23395 * docs/design/draft-push-pull.txt:
23396 * docs/design/draft-query.txt:
23397 * docs/design/part-overview.txt:
23398 Docs updates, added general overview doc.
23400 2005-05-21 David Schleef <ds@schleef.org>
23402 * docs/gst/tmpl/old/GstBin.sgml:
23403 * docs/gst/tmpl/old/GstBuffer.sgml:
23404 * docs/gst/tmpl/old/GstCaps.sgml:
23405 * docs/gst/tmpl/old/GstClock.sgml:
23406 * docs/gst/tmpl/old/GstCompat.sgml:
23407 * docs/gst/tmpl/old/GstData.sgml:
23408 * docs/gst/tmpl/old/GstElement.sgml:
23409 * docs/gst/tmpl/old/GstEvent.sgml:
23410 * docs/gst/tmpl/old/GstIndex.sgml:
23411 * docs/gst/tmpl/old/GstStructure.sgml:
23412 * docs/gst/tmpl/old/GstTag.sgml:
23413 * docs/gst/tmpl/old/cothreads.sgml:
23414 * docs/gst/tmpl/old/cothreads_compat.sgml:
23415 * docs/gst/tmpl/old/gettext.sgml:
23416 * docs/gst/tmpl/old/gobject2gtk.sgml:
23417 * docs/gst/tmpl/old/grammar.tab.sgml:
23418 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23419 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23420 * docs/gst/tmpl/old/gst_private.sgml:
23421 * docs/gst/tmpl/old/gstaggregator.sgml:
23422 * docs/gst/tmpl/old/gstarch.sgml:
23423 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23424 * docs/gst/tmpl/old/gstbufferstore.sgml:
23425 * docs/gst/tmpl/old/gstdata_private.sgml:
23426 * docs/gst/tmpl/old/gstdisksink.sgml:
23427 * docs/gst/tmpl/old/gstdisksrc.sgml:
23428 * docs/gst/tmpl/old/gstelementfactory.sgml:
23429 * docs/gst/tmpl/old/gstextratypes.sgml:
23430 * docs/gst/tmpl/old/gstfakesink.sgml:
23431 * docs/gst/tmpl/old/gstfakesrc.sgml:
23432 * docs/gst/tmpl/old/gstfdsink.sgml:
23433 * docs/gst/tmpl/old/gstfdsrc.sgml:
23434 * docs/gst/tmpl/old/gstfilesink.sgml:
23435 * docs/gst/tmpl/old/gstfilesrc.sgml:
23436 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23437 * docs/gst/tmpl/old/gstidentity.sgml:
23438 * docs/gst/tmpl/old/gstindexfactory.sgml:
23439 * docs/gst/tmpl/old/gstmarshal.sgml:
23440 * docs/gst/tmpl/old/gstmd5sink.sgml:
23441 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23442 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23443 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23444 * docs/gst/tmpl/old/gstpipefilter.sgml:
23445 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23446 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23447 * docs/gst/tmpl/old/gstshaper.sgml:
23448 * docs/gst/tmpl/old/gstspider.sgml:
23449 * docs/gst/tmpl/old/gstspideridentity.sgml:
23450 * docs/gst/tmpl/old/gststatistics.sgml:
23451 * docs/gst/tmpl/old/gsttee.sgml:
23452 * docs/gst/tmpl/old/gsttimecache.sgml:
23453 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23454 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23455 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23456 * docs/gst/tmpl/old/types.sgml:
23457 I didn't intend to add these or check them in.
23459 2005-05-19 David Schleef <ds@schleef.org>
23461 * configure.ac: Use -no-common everywhere. In a sane world, it
23462 would be the default in libtool, because without it, you can't
23463 build DLLs on Windows.
23464 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23465 * docs/gst/gstreamer-sections.txt:
23466 * docs/gst/tmpl/gstcpu.sgml:
23467 * docs/gst/tmpl/gstdata.sgml:
23468 * docs/gst/tmpl/gstthread.sgml:
23470 2005-05-19 David Schleef <ds@schleef.org>
23472 * gst/gstminiobject.c: (gst_value_set_mini_object),
23473 (gst_value_take_mini_object), (gst_value_get_mini_object):
23474 * gst/gstminiobject.h: Add GValue set/get functions.
23476 2005-05-19 Wim Taymans <wim@fluendo.com>
23478 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23479 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23480 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23482 * gst/gstbus.c: (gst_bus_post):
23483 * gst/gstelement.c: (gst_element_get_random_pad):
23484 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23485 Make subbufer unref the parent in finalize.
23486 some more debugging info.
23489 2005-05-19 Wim Taymans <wim@fluendo.com>
23491 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23492 (gst_basesink_init), (gst_basesink_finalize),
23493 (gst_basesink_activate), (gst_basesink_change_state):
23494 Don't free preroll queue too early.
23496 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23500 Hi, I'm outdated. Please shoot me.
23502 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23504 * gst/gstpipeline.c: (gst_pipeline_send_event):
23505 Do not access variables after they have been deleted.
23507 2005-05-19 Wim Taymans <wim@fluendo.com>
23509 * tools/gst-inspect.c: (print_plugin_features):
23510 A plugin feature does unfortunatly not use the
23513 2005-05-18 Wim Taymans <wim@fluendo.com>
23515 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23516 Port _span() functions to new subbuffers.
23518 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23520 * gst/gstbin.c: (gst_bin_add_func):
23521 Fix clock settery in bins when adding kids after the clock has
23524 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23526 * gst/elements/gstidentity.c: (gst_identity_class_init):
23527 Workaround until signals support GstMiniObject.
23529 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23532 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23534 2005-05-18 Wim Taymans <wim@fluendo.com>
23536 * gst/base/Makefile.am:
23537 * gst/base/gstadapter.c: (gst_adapter_base_init),
23538 (gst_adapter_class_init), (gst_adapter_init),
23539 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23540 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23541 (gst_adapter_flush), (gst_adapter_available),
23542 (gst_adapter_available_fast):
23543 * gst/base/gstadapter.h:
23544 Ported and added adapter to the base classes.
23546 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23549 * gst/gstmessage.c:
23550 Make sure the class is reffed/unreffed once before threads can be
23551 used. Fixes #304551.
23553 2005-05-17 Wim Taymans <wim@fluendo.com>
23555 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23556 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23557 * gst/gstminiobject.c: (gst_mini_object_get_type),
23558 (gst_mini_object_free):
23559 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23560 (gst_pad_push), (gst_pad_push_event):
23561 * gst/gstqueue.c: (gst_queue_change_state):
23562 Don't queue buffers in basesink when we are flushing.
23563 Unref buffer when flushing in basesink.
23564 Flush queue when going to READY
23565 Unref buffer when _push() returns an error.
23566 Don't free MiniObject instance when refcount is incremented
23567 in _finalize() so that we can recover objects.
23569 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23571 * docs/manual/advanced-schedulers.xml:
23572 * docs/manual/appendix-checklist.xml:
23573 * docs/pwg/advanced-clock.xml:
23574 * docs/pwg/advanced-interfaces.xml:
23575 * docs/pwg/advanced-request.xml:
23576 * docs/pwg/advanced-types.xml:
23577 * docs/pwg/intro-preface.xml:
23578 * examples/plugins/example.c: (gst_example_get_type),
23579 (gst_example_class_init), (gst_example_chain),
23580 (gst_example_set_property), (gst_example_get_property),
23581 (gst_example_change_state), (plugin_init):
23582 * examples/plugins/example.h:
23585 2005-05-17 Wim Taymans <wim@fluendo.com>
23587 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23588 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23589 * gst/gstqueue.c: (gst_queue_change_state):
23590 Clear queue when going to READY.
23591 Remove IN_SETCAPS flag too.
23593 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23595 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23596 Remove implicit cast from gboolean to GstElementStateReturn;
23597 make sure we still return failure in paused => ready case if
23598 the parent class fails to change state and our own stop
23601 2005-05-17 Wim Taymans <wim@fluendo.com>
23603 * tools/gst-launch.c: (event_loop):
23604 Message was unreffed too soon.
23606 2005-05-16 Andy Wingo <wingo@pobox.com>
23608 * gst/gstbin.c (sink_iterator_filter): Err... um...
23610 * check/gst/gstbin.c (test_ghost_pads): New test for the
23611 ghosting-if-elements-not-in-same-bin behavior.
23613 2005-05-16 David Schleef <ds@schleef.org>
23615 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23616 accessing refcount directly.
23618 2005-05-15 David Schleef <ds@schleef.org>
23620 * check/Makefile.am: remove GstData checks
23621 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23622 * gst/Makefile.am: add miniobject, remove data
23623 * gst/gst.h: add miniobject, remove data
23624 * gst/gstdata.c: remove
23625 * gst/gstdata.h: remove
23626 * gst/gstdata_private.h: remove
23627 * gst/gsttypes.h: remove GstEvent and GstMessage
23628 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23629 * gst/gstmarshal.list: change BOXED -> OBJECT
23631 Implement GstMiniObject.
23632 * gst/gstminiobject.c:
23633 * gst/gstminiobject.h:
23635 Modify to be subclasses of GstMiniObject.
23636 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23637 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23638 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23639 (gst_subbuffer_get_type), (gst_subbuffer_init),
23640 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23643 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23644 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23645 (_gst_event_copy), (gst_event_new):
23647 * gst/gstmessage.c: (_gst_message_initialize),
23648 (gst_message_get_type), (gst_message_class_init),
23649 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23650 (gst_message_new), (gst_message_new_error),
23651 (gst_message_new_warning), (gst_message_new_tag),
23652 (gst_message_new_state_changed), (gst_message_new_application):
23653 * gst/gstmessage.h:
23654 * gst/gstprobe.c: (gst_probe_perform),
23655 (gst_probe_dispatcher_dispatch):
23657 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23658 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23659 (_gst_query_copy), (gst_query_new):
23661 Update elements for GstData -> GstMiniObject changes
23663 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23664 (gst_queue_chain), (gst_queue_loop):
23665 * gst/elements/gstbufferstore.c:
23666 (gst_buffer_store_add_buffer_func),
23667 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23668 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23669 (gst_fakesink_render):
23670 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23671 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23672 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23673 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23674 (gst_filesrc_create_read):
23675 * gst/elements/gstidentity.c: (gst_identity_class_init):
23676 * gst/elements/gsttypefindelement.c:
23677 (gst_type_find_element_src_event), (free_entry_buffers),
23678 (gst_type_find_element_handle_event):
23679 * libs/gst/dataprotocol/dataprotocol.c:
23680 (gst_dp_header_from_buffer):
23681 * libs/gst/dataprotocol/dataprotocol.h:
23682 * libs/gst/dataprotocol/dp-private.h:
23684 2005-05-15 David Schleef <ds@schleef.org>
23686 * gst/elements/gstelements.c: Don't include headers that were
23689 2005-05-15 David Schleef <ds@schleef.org>
23691 * gst/elements/Makefile.am: Remove some elements that don't
23692 need to be in the core (or even exist at all).
23693 * gst/elements/gstaggregator.c:
23694 * gst/elements/gstaggregator.h:
23695 * gst/elements/gstmd5sink.c:
23696 * gst/elements/gstmd5sink.h:
23697 * gst/elements/gstmultifilesrc.c:
23698 * gst/elements/gstmultifilesrc.h:
23699 * gst/elements/gstpipefilter.c:
23700 * gst/elements/gstpipefilter.h:
23701 * gst/elements/gstshaper.c:
23702 * gst/elements/gstshaper.h:
23703 * gst/elements/gststatistics.c:
23704 * gst/elements/gststatistics.h:
23705 * po/POTFILES.in: Remove above files.
23707 2005-05-14 Andy Wingo <wingo@pobox.com>
23709 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23710 so as to get the refs right.
23711 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23712 unreffing objects that don't pass the filter.
23714 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23715 gst_element_set_bus.
23716 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23717 normal cases, this will destroy the bus.
23719 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23722 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23725 2005-05-13 Andy Wingo <wingo@pobox.com>
23727 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23728 gst_pad_link, call pad_link_maybe_ghosting,
23729 (pad_link_maybe_ghosting): Links pads, making sure that the
23730 elements being linked are in the same bin.
23731 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23732 Helpers for pad_link_maybe_ghosting.
23734 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23737 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23739 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23741 * docs/design/part-element-source.txt:
23744 2005-05-12 Wim Taymans <wim@fluendo.com>
23746 * gst/base/gstbasesink.c: (gst_basesink_init),
23747 (gst_basesink_activate):
23748 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23749 (gst_basesrc_is_seekable):
23750 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23751 (bin_element_is_sink), (gst_bin_change_state):
23752 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23753 * gst/gstelement.h:
23754 Identify sinks by their flag to avoid overly complicated
23756 Do state changes even for elements not reachable from the
23758 BaseSink is a sink now :)
23759 Some more debugging info in the basesrc.
23762 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23765 Implement _query on a bin, similar to _send_event.
23767 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23769 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23770 Discont event offset format should be GST_FORMAT_BYTES,
23771 not GST_FORMAT_TIME.
23773 2005-05-12 Wim Taymans <wim@fluendo.com>
23775 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23776 Same fix as Ronald's but without the signal.
23778 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23780 * gst/gstutils.c: (gst_element_query_position):
23781 No, an element is not a pad.
23783 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23785 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23786 (gst_bin_get_state):
23787 If a child is removed from a bin while we remove the child from
23788 the bin and while we're retrieving its state, signal this to the
23789 get_state function so we abort the wait (instead of waiting for
23790 a timeout) and can immediately re-iterate over all other elements.
23792 2005-05-12 Wim Taymans <wim@fluendo.com>
23794 * gst/base/Makefile.am:
23795 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23796 (gst_basesrc_start):
23797 * gst/base/gstbasesrc.h:
23798 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23799 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23800 (gst_pushsrc_init), (gst_pushsrc_create):
23801 * gst/base/gstpushsrc.h:
23802 Added is_seekable to BaseSrc
23803 Added simple PushSrc.
23805 2005-05-11 Wim Taymans <wim@fluendo.com>
23807 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23808 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23809 (gst_element_link_pads), (gst_element_query_position),
23810 (gst_element_query_convert), (intersect_caps_func),
23811 (gst_pad_query_position), (gst_pad_query_convert):
23812 Fix refcounting in utils function.
23813 No point in trying to activate a pad when it's added, it could
23814 be added from the state change function and then we deadlock, the
23815 element has to decide what to do.
23817 2005-05-10 Andy Wingo <wingo@pobox.com>
23819 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23820 *all* the arguments.
23822 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23823 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23824 lock (according to the docs -- if this is wrong change the docs).
23826 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23827 flush messages in the NULL state.
23829 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23830 message immediately and return.
23831 (gst_bus_set_flushing): New function. If a bus is flushing, it
23832 flushes out any queued messages and immediately unrefs new
23833 messages. This is so when an element goes to NULL, all of the
23834 unhandled messages coming from it can be freed, and their
23835 references to the element dropped. In other words: message source
23836 ref considered harmful :P
23838 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23839 we're finished with it.
23841 * gst/gstmessage.c (gst_message_new_state_changed):
23843 2005-05-10 Wim Taymans <wim@fluendo.com>
23845 * gst/gstvalue.c: (gst_value_compare_flags),
23846 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23847 (_gst_value_initialize):
23848 Added flags serialize/deserialize/compare code.
23850 2005-05-09 Andy Wingo <wingo@pobox.com>
23852 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23853 Intersect the peer's caps with our caps.
23855 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23857 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23858 * gst/elements/gsttypefindelement.c: (find_peek):
23859 Handle negative offsets better. Fixes decodebin.
23861 2005-05-09 Wim Taymans <wim@fluendo.com>
23863 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23864 (gst_base_transform_event):
23865 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23866 Implement accept_caps.
23867 Fix silly lock/unlock mismatch in base class.
23869 2005-05-09 Wim Taymans <wim@fluendo.com>
23871 * docs/design/draft-push-pull.txt:
23872 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23873 * gst/elements/gstfilesink.c: (gst_filesink_init),
23874 (gst_filesink_query):
23875 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23876 (gst_type_find_handle_src_query), (find_element_get_length):
23877 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23878 * gst/gstelement.h:
23879 * gst/gstmessage.c:
23880 * gst/gstmessage.h:
23881 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23882 (gst_real_pad_get_caps_unlocked),
23883 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23884 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23885 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23886 (gst_real_pad_dispose), (gst_real_pad_finalize),
23887 (gst_pad_load_and_link), (gst_pad_save_thyself),
23888 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23889 (gst_pad_check_pull_range), (gst_pad_pull_range),
23890 (gst_pad_template_get_type), (gst_pad_template_class_init),
23891 (gst_pad_template_init), (gst_pad_template_dispose),
23892 (name_is_valid), (gst_static_pad_template_get),
23893 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23894 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23895 (gst_pad_get_element_private), (gst_pad_start_task),
23896 (gst_pad_pause_task), (gst_pad_stop_task),
23897 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23898 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23899 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23900 (gst_ghost_pad_new):
23902 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23903 (gst_query_new_position), (gst_query_set_position),
23904 (gst_query_parse_position), (gst_query_new_convert),
23905 (gst_query_set_convert), (gst_query_parse_convert):
23907 * gst/gstqueryutils.c:
23908 * gst/gstqueryutils.h:
23909 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23910 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23911 (gst_queue_handle_src_query):
23912 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23913 (gst_element_query_position), (gst_element_query_convert),
23914 (intersect_caps_func), (gst_pad_query_position),
23915 (gst_pad_query_convert):
23917 * tools/gst-inspect.c: (print_pad_info):
23918 * tools/gst-xmlinspect.c: (print_element_info):
23919 Remove old query functions. Ported old code.
23920 Added position/convert helper functions to gstutils.
23921 Reordered gstpad.c code, grouping relevant things.
23922 Remove gst_message_new(), always need to speficy a specific
23926 2005-05-09 Andy Wingo <wingo@pobox.com>
23928 * gst/gstiterator.h: Add some includes.
23930 * gst/gstqueryutils.h: Include more headers.
23933 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23934 some uses of gst_pad_query.
23936 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23937 NULL out parameters.
23938 (gst_query_new_position): New proc, allocates a new position
23941 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23942 gstqueryutils.c to the build.
23944 * gst/gststructure.c (gst_structure_set_valist): Implement with
23945 the generic G_VALUE_COLLECT.
23947 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23949 * gst/Makefile.am: (gst_headers):
23950 Added gstqueryutils.h to the list of headers to install, that was
23951 a 'nachty' move wingo :)
23953 2005-05-06 Andy Wingo <wingo@pobox.com>
23956 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23957 GstData, init a memchunk.
23958 (standard_definitions): Add a few query types, deprecate a few.
23959 (gst_query_get_type): New proc.
23960 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23962 (gst_query_new_application, gst_query_get_structure): New public
23965 * docs/design/draft-query.txt: Removed LINKS from the query types,
23966 because all the rest can be dispatched to other pads -- seemed
23967 ugly to have a query that couldn't be dispatched. internal_links
23968 is fine as a pad method.
23970 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23971 in gstpad.c, but maintain binary compatibility for the moment.
23972 Will fix before 0.9 is out.
23974 * gst/gstqueryutils.c:
23975 * gst/gstqueryutils.h: New files, implement 3 methods for each
23976 query type: parse_query, parse_response, and set. Probably need an
23979 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23981 * gst/elements/gstfilesink.c (gst_filesink_query2):
23982 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23983 query_types, and formats methods.
23985 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23986 (gst_pad_set_query2_function): New functions.
23987 (gst_real_pad_init): Set query2_default as the default query2
23988 function. Basically just dispatches to internally linked pads.
23992 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23993 without using the atomic operations. Only one thread can possibly
23994 be accessing the data at this point. Changed so as to avoid
23995 gst_atomic operations.
23997 2005-05-06 Wim Taymans <wim@fluendo.com>
23999 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24000 Also set caps if we use the fallback buffer alloc.
24002 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24004 * docs/gst/Makefile.am:
24005 * docs/gst/gstreamer-docs.sgml:
24006 * docs/gst/gstreamer-sections.txt:
24007 * docs/gst/tmpl/gstatomic.sgml:
24008 * docs/gst/tmpl/gstmemchunk.sgml:
24009 * testsuite/elements/struct_i386.h:
24010 * win32/GStreamer.vcproj:
24012 Purge GstAtomic stuff from docs and win32 makefiles as well
24014 2005-05-06 Wim Taymans <wim@fluendo.com>
24016 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24017 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24018 * gst/gstpad.c: (gst_pad_peer_get_caps):
24019 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24020 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24021 (gst_queue_src_activate), (gst_queue_change_state):
24023 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24024 (intersect_caps_func):
24025 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24026 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24027 Some fixes for the peer_get_caps() change.
24029 2005-05-06 Wim Taymans <wim@fluendo.com>
24031 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24032 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24033 (gst_basesink_activate):
24034 Actually do something with error codes returned from the push
24037 2005-05-06 Wim Taymans <wim@fluendo.com>
24039 * docs/design/part-element-sink.txt:
24040 * docs/design/part-element-source.txt:
24041 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24042 (gst_basesink_event), (gst_basesink_activate):
24043 * gst/base/gstbasesink.h:
24044 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24045 (gst_basesrc_activate):
24046 * gst/base/gstbasesrc.h:
24047 * gst/gstelement.c: (gst_element_pads_activate):
24048 Some more documentation.
24049 Fixed scheduling decision in _pads_activate().
24051 2005-05-05 Andy Wingo <wingo@pobox.com>
24053 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24056 2005-05-05 Wim Taymans <wim@fluendo.com>
24058 * gst/base/Makefile.am:
24059 * gst/base/gstbasesink.h:
24060 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24061 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24062 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24063 (gst_collectpads_class_init), (gst_collectpads_init),
24064 (gst_collectpads_finalize), (gst_collectpads_new),
24065 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24066 (find_pad), (gst_collectpads_remove_pad),
24067 (gst_collectpads_is_active), (gst_collectpads_collect),
24068 (gst_collectpads_collect_range), (gst_collectpads_start),
24069 (gst_collectpads_stop), (gst_collectpads_peek),
24070 (gst_collectpads_pop), (gst_collectpads_available),
24071 (gst_collectpads_read), (gst_collectpads_flush),
24072 (gst_collectpads_chain):
24073 * gst/base/gstcollectpads.h:
24074 * gst/elements/Makefile.am:
24075 * gst/elements/gstelements.c:
24076 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24077 (gst_fakesink_get_times), (gst_fakesink_event),
24078 (gst_fakesink_preroll), (gst_fakesink_render):
24079 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24080 (gst_filesink_init), (gst_filesink_set_location),
24081 (gst_filesink_open_file), (gst_filesink_close_file),
24082 (gst_filesink_pad_query), (gst_filesink_event),
24083 (gst_filesink_render), (gst_filesink_change_state):
24084 * gst/elements/gstfilesink.h:
24085 Added object to help in making collect pad based elements.
24087 Make event function in sink baseclass return gboolean.
24089 2005-05-05 Wim Taymans <wim@fluendo.com>
24091 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24092 (gst_bin_get_by_name):
24094 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24095 (gst_clock_finalize):
24096 * gst/gstdata.c: (gst_data_replace):
24098 * gst/gstelement.c: (gst_element_request_pad),
24099 (gst_element_pads_activate):
24100 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24101 (gst_object_unref):
24102 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24103 (gst_pad_set_checkgetrange_function),
24104 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24105 (gst_pad_check_pull_range), (gst_pad_pull_range),
24106 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24107 (gst_pad_pause_task), (gst_pad_stop_task):
24108 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24109 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24110 Fix name lookup in GstBin.
24111 Added _data_replace() function and _buffer_replace()
24112 Use finalize method to clean up clock.
24113 Fix refcounting on request pads.
24114 Fix pad schedule mode error.
24115 Some more object refcounting debug info,
24118 2005-05-04 Andy Wingo <wingo@pobox.com>
24120 * check/Makefile.am:
24121 * docs/gst/tmpl/gstatomic.sgml:
24122 * docs/gst/tmpl/gstplugin.sgml:
24123 * gst/base/gstbasesink.c: (gst_basesink_activate):
24124 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24125 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24126 (gst_basesrc_query), (gst_basesrc_set_property),
24127 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24128 (gst_basesrc_activate):
24129 * gst/base/gstbasesrc.h:
24130 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24131 (gst_base_transform_src_activate):
24132 * gst/elements/gstelements.c:
24133 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24134 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24135 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24136 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24137 (gst_type_find_element_checkgetrange),
24138 (gst_type_find_element_activate):
24139 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24140 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24141 (gst_caps_load_thyself):
24142 * gst/gstelement.c: (gst_element_pads_activate),
24143 (gst_element_save_thyself), (gst_element_restore_thyself):
24144 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24145 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24147 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24148 (gst_xml_parse_file), (gst_xml_parse_memory),
24149 (gst_xml_get_element), (gst_xml_make_element):
24150 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24151 (_file_index_id_save_xml), (gst_file_index_commit):
24152 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24153 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24155 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24156 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24157 * tools/gst-complete.c: (main):
24158 * tools/gst-compprep.c: (main):
24159 * tools/gst-inspect.c: (print_element_properties_info):
24160 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24161 * tools/gst-xmlinspect.c: (print_element_properties):
24164 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24166 * gst/gstplugin.c: (gst_plugin_check_module),
24167 (gst_plugin_check_file), (gst_plugin_load_file):
24168 apply patch from #172526 to make register work on MacOSX
24170 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24172 * docs/gst/tmpl/gstconfig.sgml:
24173 * gst/gstconfig.h.in:
24174 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24175 * testsuite/debug/printf_extension.c: (main):
24176 Do not use GST_PTR_FORMAT on pointers to types with
24177 sizeof < sizeof(gpointer). Fixes test on 64-bit
24178 * testsuite/elements/property.h:
24179 use correct printf format
24181 2005-05-02 Wim Taymans <wim@fluendo.com>
24183 * docs/design/draft-push-pull.txt:
24184 * docs/design/draft-query.txt:
24185 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24186 (gst_basesrc_start):
24187 Added draft for new query API.
24188 Added draft for better selecting scheduling methods.
24189 Make basesrc ignore length if the subclass does not support
24192 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24195 possible fixes for automake-1.5 - _LIBADD is reserved
24197 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24199 * docs/faq/Makefile.am:
24200 * docs/manual/Makefile.am:
24201 * docs/manuals.mak:
24202 * docs/pwg/Makefile.am:
24204 possible fixes for automake-1.5
24206 2005-04-28 Wim Taymans <wim@fluendo.com>
24208 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24209 (gst_basesink_pad_getcaps), (gst_basesink_init),
24210 (gst_basesink_do_sync):
24211 * gst/gstclock.c: (gst_clock_entry_new):
24212 * gst/gstevent.c: (gst_event_discont_get_value):
24213 * gst/gstpipeline.c: (pipeline_bus_handler),
24214 (gst_pipeline_change_state):
24215 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24216 Better debugging of clocking info.
24217 Allow NULL values when getting discont values.
24219 2005-04-27 Wim Taymans <wim@fluendo.com>
24221 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24222 * check/gst/gstpad.c: (gst_pad_suite):
24223 Increase timeout for checks.
24225 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24227 * check/Makefile.am:
24228 fix the broken rule for cleanup. Apparently this rule is
24229 only needed on FC2, so maybe this warrants further autotool
24232 2005-04-26 Wim Taymans <wim@fluendo.com>
24234 * gst/gsttrashstack.h:
24235 Ooohh. a nasty one! After having a failed pop() from the stack,
24236 it's possible that the stack is empty. In that case, don't
24237 follow the NULL pointer.
24239 2005-04-25 Wim Taymans <wim@fluendo.com>
24241 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24242 (gst_pad_set_checkgetrange_function),
24243 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24244 (gst_pad_check_pull_range), (gst_pad_pull_range),
24245 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24246 (gst_pad_pause_task), (gst_pad_stop_task):
24247 * gst/gstplugin.c: (gst_plugin_load):
24249 Remove gst_library_load as it does more harm than good with
24250 the new g_module flags.
24251 Revert bogus caps template check in pad linking, pad caps
24252 are important when linking not the template, which is more
24253 general than the current caps.
24255 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24257 * gst/autoplug/.cvsignore:
24258 * gst/autoplug/Makefile.am:
24259 * gst/autoplug/gstsearchfuncs.c:
24260 * gst/autoplug/gstsearchfuncs.h:
24261 * gst/autoplug/gstspider.c:
24262 * gst/autoplug/gstspider.h:
24263 * gst/autoplug/gstspideridentity.c:
24264 * gst/autoplug/gstspideridentity.h:
24265 * gst/autoplug/spidertest.c:
24268 2005-04-25 Wim Taymans <wim@fluendo.com>
24270 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24271 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24272 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24273 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24275 Added stubs for unimplemented functions.
24277 2005-04-24 David Schleef <ds@schleef.org>
24279 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24282 2005-04-24 David Schleef <ds@schleef.org>
24284 Convert everything from GstAtomicInt to g_atomic_int_*, and
24289 * gst/gstatomic_impl.h:
24297 * gst/gstdata_private.h:
24301 * gst/gstmessage.c:
24304 * gst/gststructure.c:
24305 * gst/gststructure.h:
24306 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24309 2005-04-24 David Schleef <ds@schleef.org>
24311 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24312 make the regressions tests work. Remove some code that is no
24314 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24315 Disable warning for pads without templates.
24317 2005-04-24 David Schleef <ds@schleef.org>
24319 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24320 functions that handle filtered links.
24321 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24323 * gst/gstutils.c: Fix/remove utility functions that handle
24326 * gst/gstvalue.c: Add serialization/deserialization of caps
24327 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24328 requires fixing so that the filter caps notation creates
24329 a capsfilter element and sets the filter_caps property. I
24330 think everyone probably wants to keep the shorthand notation.
24331 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24332 * docs/gst/tmpl/gstpad.sgml:
24334 * gst/elements/gstelements.c: Register capsfilter element.
24335 * gst/Makefile.am: fix spacing
24336 * docs/random/ds/0.9-suggested-changes: random
24338 2005-04-23 David Schleef <ds@schleef.org>
24340 * gst/elements/Makefile.am:
24341 * gst/elements/gstcapsfilter.c: New element that acts like an
24342 identity, but filters caps. Will eventually replace filtered
24343 caps in pad linking.
24344 * gst/gstutils.c: (gst_element_create_all_pads): New function
24345 to create all the ALWAYS pads that are registered with an
24346 element class. This functionality should eventually be
24347 merged in with GstElement initialization.
24349 * testsuite/trigger/README: part of trigger test code that should
24350 have been checked in a long time ago.
24352 2005-04-23 David Schleef <ds@schleef.org>
24354 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24355 needed with new versions of libtool (nobody will confirm this),
24356 and hard to carry around.
24357 * gst/autoplug/Makefile.am:
24358 * gst/base/Makefile.am:
24359 * gst/elements/Makefile.am:
24360 * gst/indexers/Makefile.am:
24361 * gst/schedulers/Makefile.am:
24362 * libs/gst/bytestream/Makefile.am:
24363 * libs/gst/control/Makefile.am:
24364 * libs/gst/dataprotocol/Makefile.am:
24365 * libs/gst/getbits/Makefile.am:
24367 2005-04-21 Wim Taymans <wim@fluendo.com>
24369 * docs/design/draft-push-pull.txt:
24370 * docs/design/part-MT-refcounting.txt:
24371 * docs/design/part-TODO.txt:
24372 * docs/design/part-caps.txt:
24373 * docs/design/part-events.txt:
24374 * docs/design/part-gstbus.txt:
24375 * docs/design/part-gstpipeline.txt:
24376 * docs/design/part-messages.txt:
24377 * docs/design/part-push-pull.txt:
24378 * docs/design/part-query.txt:
24381 2005-04-21 Wim Taymans <wim@fluendo.com>
24383 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24384 (gst_message_new), (gst_message_new_error),
24385 (gst_message_new_warning), (gst_message_new_tag),
24386 (gst_message_new_state_changed), (gst_message_new_application),
24387 (gst_message_get_structure):
24388 * gst/gstmessage.h:
24389 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24390 (gst_structure_copy_conditional):
24391 Use parent refcount in GstMessage to ensure GstStructure
24393 Cleaned up headers a bit.
24396 2005-04-20 Wim Taymans <wim@fluendo.com>
24398 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24399 (gst_basesink_pad_getcaps), (gst_basesink_init),
24400 (gst_basesink_chain_unlocked):
24401 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24402 (gst_type_find_helper):
24403 * gst/elements/gsttypefindelement.c:
24404 (gst_type_find_element_have_type), (gst_type_find_element_init),
24405 (stop_typefinding), (gst_type_find_element_handle_event),
24406 (find_suggest), (gst_type_find_element_chain),
24407 (gst_type_find_element_checkgetrange),
24408 (gst_type_find_element_getrange), (do_typefind),
24409 (gst_type_find_element_activate):
24410 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24411 (gst_buffer_default_free), (gst_buffer_default_copy),
24412 (gst_buffer_set_caps):
24413 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24414 (gst_caps_replace):
24415 * gst/gstmessage.c: (gst_message_new),
24416 (gst_message_new_state_changed):
24417 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24418 (gst_pad_set_checkgetrange_function),
24419 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24420 (gst_pad_set_caps), (gst_pad_check_pull_range),
24421 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24423 * gst/gsttypefind.c: (gst_type_find_register):
24424 Make gst_caps_replace() work like other _replace() functions.
24425 Use _caps_replace() where possible.
24426 Make sure _message_new() initialises its field.
24427 Add gst_static_pad_template_get_caps()
24430 2005-04-18 Andy Wingo <wingo@pobox.com>
24432 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24433 on the peer, not the pad. I think that was a typo. Pass an extra
24434 arg to see if random access is possible. Activate the pads as
24435 PULL_RANGE if possible.
24437 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24439 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24440 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24443 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24445 * docs/faq/using.xml:
24446 Add note on gstreamer-properties (#154996).
24448 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24450 * docs/random/bbb/optional-properties:
24451 Some analysis on optional properties.
24453 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24455 * docs/gst/tmpl/gstelementfactory.sgml:
24456 * gst/gstelement.h:
24457 * gst/gstelementfactory.c: (gst_element_factory_init),
24458 (gst_element_factory_cleanup), (gst_element_register),
24459 (__gst_element_factory_add_static_pad_template),
24460 (gst_element_factory_get_static_pad_templates),
24461 (gst_element_factory_can_src_caps),
24462 (gst_element_factory_can_sink_caps):
24463 * gst/registries/Makefile.am:
24464 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24465 (gst_xml_registry_class_init), (gst_xml_registry_init),
24466 (gst_xml_registry_new), (gst_xml_registry_set_property),
24467 (gst_xml_registry_get_property), (get_time), (make_dir),
24468 (gst_xml_registry_get_perms_func),
24469 (plugin_times_older_than_recurse), (plugin_times_older_than),
24470 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24471 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24472 (add_to_char_array), (read_string), (read_uint), (read_enum),
24473 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24474 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24475 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24476 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24477 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24478 (gst_xml_registry_rebuild):
24479 * gst/registries/gstlibxmlregistry.h:
24480 * tools/gst-compprep.c: (main):
24481 * tools/gst-inspect.c: (print_pad_templates_info):
24482 * tools/gst-xmlinspect.c: (print_element_info):
24483 Use libxml2 for registry parsing, use staticpadtemplates in
24484 elementfactories. Makes gst_init() +/- 10x faster.
24486 2005-04-12 Wim Taymans <wim@fluendo.com>
24488 * gst/base/Makefile.am:
24489 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24490 (gst_basesink_pad_getcaps), (gst_basesink_init),
24491 (gst_basesink_event), (gst_basesink_change_state):
24492 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24493 (gst_basesrc_init), (gst_basesrc_query),
24494 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24495 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24496 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24497 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24498 (gst_basesrc_stop), (gst_basesrc_activate),
24499 (gst_basesrc_change_state):
24500 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24501 (helper_find_suggest), (gst_type_find_helper):
24502 * gst/base/gsttypefindhelper.h:
24503 * gst/elements/Makefile.am:
24504 * gst/elements/gstelements.c:
24505 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24506 (gst_fakesink_get_times), (gst_fakesink_event),
24507 (gst_fakesink_preroll), (gst_fakesink_render):
24508 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24509 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24510 (gst_fakesrc_get_property), (gst_fakesrc_create),
24511 (gst_fakesrc_start), (gst_fakesrc_stop):
24512 * gst/elements/gstfakesrc.h:
24513 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24514 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24515 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24516 (gst_filesrc_create_read), (gst_filesrc_create),
24517 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24518 (gst_filesrc_start):
24519 * gst/elements/gsttypefindelement.c:
24520 (gst_type_find_element_have_type), (gst_type_find_element_init),
24521 (start_typefinding), (stop_typefinding), (push_buffer_store),
24522 (gst_type_find_element_handle_event),
24523 (gst_type_find_element_chain),
24524 (gst_type_find_element_checkgetrange),
24525 (gst_type_find_element_getrange), (do_typefind),
24526 (gst_type_find_element_activate),
24527 (gst_type_find_element_change_state):
24528 * gst/elements/gsttypefindelement.h:
24529 * gst/gstpipeline.c: (pipeline_bus_handler):
24530 Added typefind helper.
24531 Small preroll fix in the base sink.
24532 Disable typefind code in basesrc.
24533 Crude port of typefindelement.
24537 2005-04-11 Wim Taymans <wim@fluendo.com>
24539 * check/gst/gstbus.c: (gstbus_suite):
24540 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24541 * check/gstcheck.h:
24542 Fix up the timeout so that the test does not fail.
24544 2005-04-06 Wim Taymans <wim@fluendo.com>
24547 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24548 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24549 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24550 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24551 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24552 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24553 (gst_basesrc_stop), (gst_basesrc_activate),
24554 (gst_basesrc_change_state), (basesrc_find_peek),
24555 (basesrc_find_suggest), (gst_basesrc_type_find):
24556 * gst/base/gstbasesrc.h:
24557 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24558 (gst_filesrc_class_init), (gst_filesrc_init),
24559 (gst_filesrc_finalize), (gst_filesrc_set_location),
24560 (gst_filesrc_set_property), (gst_filesrc_get_property),
24561 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24562 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24563 (gst_filesrc_create_read), (gst_filesrc_create),
24564 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24565 * gst/elements/gstfilesrc.h:
24566 * gst/gstelement.c: (gst_element_get_state_func),
24567 (gst_element_lost_state), (gst_element_pads_activate):
24568 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24569 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24570 (gst_pad_pull_range):
24572 More work on the generic source base class, implement seeking,
24574 Make filesrc extend the base source class.
24575 Added gst_pad_set_checkgetrange_function to GstPad.
24577 2005-04-06 Andy Wingo <wingo@pobox.com>
24579 * pkgconfig/gstreamer-base.pc.in:
24580 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24582 * pkgconfig/Makefile.am:
24583 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24585 2005-04-04 Wim Taymans <wim@fluendo.com>
24587 * gst/base/Makefile.am:
24589 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24590 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24591 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24592 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24593 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24594 (gst_basesrc_base_init), (gst_basesrc_class_init),
24595 (gst_basesrc_init), (gst_basesrc_get_formats),
24596 (gst_basesrc_get_query_types), (gst_basesrc_query),
24597 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24598 (gst_basesrc_set_property), (gst_basesrc_get_property),
24599 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24600 (gst_basesrc_loop), (gst_basesrc_activate),
24601 (gst_basesrc_change_state):
24602 * gst/base/gstbasesrc.h:
24603 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24604 (gst_fakesrc_class_init), (gst_fakesrc_init),
24605 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24606 (gst_fakesrc_get_property), (gst_fakesrc_create):
24607 * gst/elements/gstfakesrc.h:
24608 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24609 (gst_filesrc_open_file), (gst_filesrc_loop),
24610 (gst_filesrc_activate), (filesrc_find_peek),
24611 (gst_filesrc_type_find):
24612 Made base source class, make fakesrc extend it.
24613 Add comments to basesink class.
24614 Some filesrc cleanup.
24616 2005-03-31 David Schleef <ds@schleef.org>
24618 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24619 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24620 expected to link against libgstreamer.
24621 * gst/base/Makefile.am: link against libgstreamer
24622 * gst/elements/Makefile.am: same
24624 2005-03-31 Andy Wingo <wingo@pobox.com>
24626 * tests/instantiate/Makefile.am:
24627 * tests/instantiate/caps.c: Add test to test speed of caps copy
24630 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24631 GMemChunk to be fair.
24633 * gst/gsttrashstack.h: Remove warning about using the fallback
24634 trash stack implementation, it's still faster than malloc.
24636 2005-03-30 Andy Wingo <wingo@pobox.com>
24638 * tests/complexity.c: Add a copyright.
24640 2005-03-31 Wim Taymans <wim@fluendo.com>
24642 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24643 (gst_base_transform_class_init), (gst_base_transform_init),
24644 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24645 (gst_base_transform_get_property),
24646 (gst_base_transform_sink_activate),
24647 (gst_base_transform_src_activate),
24648 (gst_base_transform_change_state):
24649 * gst/base/gstbasetransform.h:
24650 * gst/elements/gstidentity.c: (gst_identity_class_init),
24651 (gst_identity_event), (gst_identity_check_perfect),
24652 (gst_identity_transform), (gst_identity_start),
24653 (gst_identity_stop):
24654 Added start/stop methods to transform base class so subclasses
24655 don't need to deal with state changes even.
24657 2005-03-31 Wim Taymans <wim@fluendo.com>
24659 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24660 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24663 (gst_pad_pull_range):
24664 Added rate to the discont event to prepare for variable speed
24665 and reverse playback.
24667 2005-03-29 David Schleef <ds@schleef.org>
24670 * testsuite/trigger/Makefile.am:
24671 * testsuite/trigger/trigger.c: A little example program to show
24672 how trigger-based elements can work.
24674 2005-03-29 Wim Taymans <wim@fluendo.com>
24676 * gst/base/Makefile.am:
24678 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24679 (gst_basesink_base_init), (gst_basesink_class_init),
24680 (gst_basesink_pad_getcaps), (gst_basesink_init),
24681 (gst_basesink_activate), (gst_basesink_change_state):
24682 * gst/base/gstbasesink.h:
24683 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24684 (gst_base_transform_base_init), (gst_base_transform_finalize),
24685 (gst_base_transform_class_init), (gst_base_transform_init),
24686 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24687 (gst_base_transform_event), (gst_base_transform_getrange),
24688 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24689 (gst_base_transform_set_property),
24690 (gst_base_transform_get_property),
24691 (gst_base_transform_sink_activate),
24692 (gst_base_transform_src_activate),
24693 (gst_base_transform_change_state):
24694 * gst/base/gstbasetransform.h:
24695 * gst/elements/gstidentity.c: (gst_identity_finalize),
24696 (gst_identity_class_init), (gst_identity_init),
24697 (gst_identity_event), (gst_identity_check_perfect),
24698 (gst_identity_transform), (gst_identity_set_property),
24699 (gst_identity_get_property), (gst_identity_change_state):
24700 * gst/elements/gstidentity.h:
24701 * gst/gstelement.c: (gst_element_get_state_func),
24702 (gst_element_lost_state), (gst_element_pads_activate):
24703 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24704 (gst_pad_check_pull_range), (gst_pad_pull_range):
24706 Simplify pad activation.
24707 Added function to check if pull_range can be performed.
24708 Error out when pulling inactive or flushing pads.
24709 Removed const from refcounted types as it does not make sense.
24710 Simplify pad templates in basesink
24711 Added base class for simple 1-to-1 transforms.
24712 Make identity subclass the base transform.
24714 2005-03-29 Andy Wingo <wingo@pobox.com>
24716 * docs/libs/gstreamer-libs-overrides.txt:
24717 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24718 really don't understand what's going on, but like whatever. I want
24721 * docs/gst/Makefile.am:
24722 * docs/libs/Makefile.am: Dist the overrides files.
24724 * check/Makefile.am (clean-local): Remove .libs directories.
24726 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24727 elements to EXTRA_DIST, so po/ files are happy.
24729 * po/POTFILES.in: Er, remove it here.
24731 * po/POTFILES: Remove gstspider.c.
24733 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24735 * docs/libs/gstreamer-libs-docs.sgml:
24736 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24739 * tests/complexity.c (main): Set the length of the preroll queue
24740 on the sinks to prevent a lockup.
24742 * libs/gst/dataprotocol/Makefile.am:
24743 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24744 the same as the one in check/gst-libs/gdp.c.
24746 * po/, docs/gst/: Commit automatic changes to docs and po files.
24748 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24749 the versioned libgstbase.
24751 * check/Makefile.am: Depend on an unversioned gst-register, seems
24752 to make autoconf happier.
24754 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24756 2005-03-28 Wim Taymans <wim@fluendo.com>
24759 * docs/design/part-gstelement.txt:
24760 * docs/design/part-negotiation.txt:
24761 * docs/design/part-preroll.txt:
24762 * docs/design/part-scheduling.txt:
24763 * docs/design/part-states.txt:
24765 * gst/base/Makefile.am:
24767 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24768 (gst_basesink_base_init), (gst_basesink_class_init),
24769 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24770 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24771 (gst_basesink_set_pad_functions),
24772 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24773 (gst_basesink_set_property), (gst_basesink_get_property),
24774 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24775 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24776 (gst_basesink_preroll_queue_push),
24777 (gst_basesink_preroll_queue_empty),
24778 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24779 (gst_basesink_event), (gst_basesink_get_times),
24780 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24781 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24782 (gst_basesink_loop), (gst_basesink_activate),
24783 (gst_basesink_change_state):
24784 * gst/base/gstbasesink.h:
24785 * gst/elements/Makefile.am:
24786 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24787 (gst_fakesink_class_init), (gst_fakesink_init),
24788 (gst_fakesink_set_property), (gst_fakesink_get_property),
24789 (gst_fakesink_get_times), (gst_fakesink_event),
24790 (gst_fakesink_preroll), (gst_fakesink_render),
24791 (gst_fakesink_change_state):
24792 * gst/elements/gstfakesink.h:
24793 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24794 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24795 * gst/gstelement.c: (gst_element_add_pad),
24796 (gst_element_get_state_func), (gst_element_abort_state),
24797 (gst_element_commit_state), (gst_element_lost_state),
24798 (gst_element_set_state), (gst_element_pads_activate):
24799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24800 * gst/gstpipeline.c: (gst_pipeline_send_event),
24801 (gst_pipeline_change_state):
24802 Added state change code.
24803 Added/updated docs.
24804 Added sink base class, make fakesink extend the base class.
24805 Small cleanups in GstPipeline.
24807 2005-03-26 David Schleef <ds@schleef.org>
24809 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24810 is broken and should be implemented in a different library.
24811 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24812 * gst/gst.h: remove gstcpu.h
24813 * gst/gstcpu.c: remove
24814 * gst/gstcpu.h: remove
24815 * gst/Makefile.am.future: Remove this file. It's ancient.
24817 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24819 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24820 (gst_bin_send_event):
24821 Add default event/set_manager handlers. The set_manager handler
24822 takes care that the manager is distributed over kids that were
24823 already in the bin before the manager was set. The event handler
24824 is a utility virtual function that sends the event over all sinks,
24825 so that gst_element_send_event (bin, event); has the expected
24827 * gst/gstpad.c: (gst_pad_event_default):
24828 Re-install default event handling for discontinuities, so that
24829 seeking works without requiring hacks in applications or extra
24831 * gst/gstpipeline.c: (gst_pipeline_class_init),
24832 (gst_pipeline_send_event):
24833 Half hack, half utility: set a pipeline to PAUSED for seek events,
24834 since that is the only way we can guarantee a/v sync. Means that
24835 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24836 and it "just works".
24838 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24840 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24841 Lock/unlock mismatch.
24843 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24845 * docs/faq/gst-uninstalled:
24846 add gst-plugins-base
24847 * docs/gst/Makefile.am:
24848 don't error out until docs are fixed
24849 * docs/gst/gstreamer.types:
24852 2005-03-22 Wim Taymans <wim@fluendo.com>
24854 * check/Makefile.am:
24855 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24856 * gst/gststructure.c: (gst_structure_set_valist),
24857 (gst_structure_copy_conditional):
24858 Activated more tests.
24859 Added message test.
24860 Added G_TYPE_POINTER to GstStructure.
24863 2005-03-22 Wim Taymans <wim@fluendo.com>
24865 * docs/design/part-TODO.txt:
24866 * docs/design/part-events.txt:
24867 * docs/design/part-gstbin.txt:
24868 * docs/design/part-gstbus.txt:
24869 * docs/design/part-gstpipeline.txt:
24870 * docs/design/part-messages.txt:
24872 * gst/gstmessage.c:
24875 2005-03-21 Wim Taymans <wim@fluendo.com>
24877 * gst/gstbus.c: (gst_bus_post):
24878 Fix copy-and-paste error.
24880 2005-03-21 Wim Taymans <wim@fluendo.com>
24882 * check/Makefile.am:
24884 * gst/elements/Makefile.am:
24885 * gst/elements/gstelements.c:
24886 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24887 (gst_fakesink_event), (gst_fakesink_chain):
24888 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24889 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24890 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24891 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24892 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24893 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24894 (gst_fakesrc_loop), (gst_fakesrc_activate),
24895 (gst_fakesrc_change_state):
24896 * gst/elements/gstfakesrc.h:
24897 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24898 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24899 (gst_filesrc_open_file), (gst_filesrc_loop),
24900 (gst_filesrc_activate), (gst_filesrc_change_state),
24901 (filesrc_find_peek), (filesrc_find_suggest),
24902 (gst_filesrc_type_find):
24903 * gst/elements/gstidentity.c: (gst_identity_finalize),
24904 (gst_identity_class_init), (gst_identity_init),
24905 (gst_identity_proxy_getcaps), (identity_queue_push),
24906 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24907 (gst_identity_getrange), (gst_identity_chain),
24908 (gst_identity_sink_loop), (gst_identity_src_loop),
24909 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24910 (gst_identity_set_property), (gst_identity_get_property),
24911 (gst_identity_change_state):
24912 * gst/elements/gstidentity.h:
24913 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24914 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24915 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24916 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24917 (gst_tee_sink_activate):
24918 * gst/elements/gsttee.h:
24919 * gst/gst.c: (gst_register_core_elements), (init_post):
24921 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24922 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24923 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24924 (gst_bin_change_state):
24926 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24927 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24928 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24929 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24930 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24931 (bus_watch_callback), (bus_watch_destroy),
24932 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24933 (poll_timeout), (gst_bus_poll):
24937 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24938 (gst_element_post_message), (gst_element_message_full),
24939 (gst_element_get_state_func), (gst_element_get_state),
24940 (gst_element_abort_state), (gst_element_commit_state),
24941 (gst_element_lost_state), (gst_element_set_state),
24942 (gst_element_pads_activate), (gst_element_change_state),
24943 (gst_element_dispose), (gst_element_set_manager_func),
24944 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24945 (gst_element_set_manager), (gst_element_get_manager),
24946 (gst_element_set_bus), (gst_element_get_bus),
24947 (gst_element_set_scheduler), (gst_element_get_scheduler):
24948 * gst/gstelement.h:
24949 * gst/gstevent.c: (gst_event_new_segment_seek),
24950 (gst_event_new_flush):
24952 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24953 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24954 (gst_message_new_eos), (gst_message_new_error),
24955 (gst_message_new_warning), (gst_message_new_tag),
24956 (gst_message_new_state_changed), (gst_message_new_application),
24957 (gst_message_get_structure), (gst_message_parse_tag),
24958 (gst_message_parse_state_changed), (gst_message_parse_error),
24959 (gst_message_parse_warning):
24960 * gst/gstmessage.h:
24961 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24962 (gst_real_pad_set_property), (gst_pad_set_active),
24963 (gst_pad_is_active), (gst_pad_set_blocked_async),
24964 (gst_pad_set_blocked), (gst_pad_is_blocked),
24965 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24966 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24967 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24968 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24969 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24970 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24971 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24972 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24973 (gst_pad_set_caps), (gst_pad_configure_sink),
24974 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24975 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24976 (gst_real_pad_dispose), (gst_real_pad_finalize),
24977 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24978 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24979 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24981 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24982 (pipeline_bus_handler), (gst_pipeline_change_state),
24983 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24984 * gst/gstpipeline.h:
24986 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24987 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24988 (gst_queue_link_src), (gst_queue_bufferalloc),
24989 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24990 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24991 (gst_queue_loop), (gst_queue_handle_src_event),
24992 (gst_queue_handle_src_query), (gst_queue_src_activate),
24993 (gst_queue_change_state):
24995 * gst/gstscheduler.c: (gst_scheduler_init),
24996 (gst_scheduler_dispose), (gst_scheduler_create_task),
24997 (gst_scheduler_factory_create):
24998 * gst/gstscheduler.h:
24999 * gst/gststructure.c: (gst_structure_get_type),
25000 (gst_structure_copy_conditional):
25001 * gst/gststructure.h:
25002 * gst/gsttaginterface.h:
25003 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25004 (gst_task_init), (gst_task_dispose), (gst_task_create),
25005 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25011 * gst/schedulers/Makefile.am:
25012 * gst/schedulers/cothreads_compat.h:
25013 * gst/schedulers/entryscheduler.c:
25014 * gst/schedulers/faircothreads.c:
25015 * gst/schedulers/faircothreads.h:
25016 * gst/schedulers/fairscheduler.c:
25017 * gst/schedulers/gstbasicscheduler.c:
25018 * gst/schedulers/gstoptimalscheduler.c:
25019 * gst/schedulers/gthread-cothreads.h:
25020 * gst/schedulers/threadscheduler.c:
25021 (gst_thread_scheduler_task_get_type),
25022 (gst_thread_scheduler_task_class_init),
25023 (gst_thread_scheduler_task_init),
25024 (gst_thread_scheduler_task_start),
25025 (gst_thread_scheduler_task_stop),
25026 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25027 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25028 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25029 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25031 * libs/gst/Makefile.am:
25032 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25033 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25034 (gst_file_pad_parent_set):
25035 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25036 (gst_dp_event_from_packet):
25037 * tests/complexity.c: (main):
25038 * tests/mass_elements.c: (main):
25039 * testsuite/states/locked.c: (message_received), (main):
25040 * testsuite/states/parent.c: (main):
25041 * tools/gst-inspect.c: (print_element_flag_info),
25042 (print_implementation_info), (print_pad_info):
25043 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25045 * tools/gst-md5sum.c: (event_loop), (main):
25046 * tools/gst-typefind.c: (main):
25047 * tools/gst-xmlinspect.c: (print_element_info):
25049 Added GstBus for mainloop integration.
25050 Added GstMessage for sending notifications on the bus.
25051 Added GstTask as an abstraction for pipeline entry points.
25053 Removed Schedulers.
25054 Simplified GstQueue for multithreaded core.
25055 Made _link threadsafe, removed old capsnego.
25056 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25057 Added pad blocking functions.
25058 Reworked scheduling functions in GstPad to prepare for
25059 scheduling updates soon.
25060 Moved events out of data stream.
25061 Simplified GstEvent types.
25062 Added return values to push/pull.
25063 Removed clocking from GstElement.
25064 Added prototypes for state change function for next merge.
25065 Removed iterate from bins and state change management.
25066 Fixed some elements, disabled others for now.
25067 Fixed -inspect and -launch.
25068 Added check for GstBus.
25070 2005-03-10 Wim Taymans <wim@fluendo.com>
25072 * docs/design/part-MT-refcounting.txt:
25073 * docs/design/part-clocks.txt:
25074 * docs/design/part-gstelement.txt:
25075 * docs/design/part-gstobject.txt:
25076 * docs/design/part-standards.txt:
25077 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25078 (gst_bin_remove_func), (gst_bin_remove):
25082 * testsuite/clock/clock1.c: (main):
25083 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25085 * testsuite/dlopen/loadgst.c: (do_test):
25086 * testsuite/refcounting/bin.c: (add_remove_test1),
25087 (add_remove_test2), (main):
25088 * testsuite/refcounting/element.c: (main):
25089 * testsuite/refcounting/element_pad.c: (main):
25090 * testsuite/refcounting/pad.c: (main):
25091 * tools/gst-launch.c: (sigint_handler_sighandler):
25092 * tools/gst-typefind.c: (main):
25094 Added doc about clock.
25095 removed gst_bin_iterate_recurse_up(), marked methods
25097 Fix more testsuites.
25099 2005-03-09 Wim Taymans <wim@fluendo.com>
25101 * gst/gstpad.c: (gst_pad_get_direction),
25102 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25103 (gst_pad_collect_valist):
25104 * testsuite/bins/interface.c: (main):
25105 * testsuite/caps/audioscale.c: (test_caps):
25106 * testsuite/caps/caps.c: (test1), (test2), (test3):
25107 * testsuite/caps/deserialize.c: (main):
25108 * testsuite/caps/enumcaps.c: (main):
25109 * testsuite/caps/filtercaps.c: (main):
25110 * testsuite/caps/intersect2.c: (main):
25111 * testsuite/caps/random.c: (main):
25112 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25113 * testsuite/caps/sets.c: (check_caps):
25114 * testsuite/caps/simplify.c: (check_caps), (main):
25115 * testsuite/caps/subtract.c: (check_caps):
25116 Fix _pad_get_direction wrt ghostpads.
25117 Fix caps testsuite.
25119 2005-03-09 Wim Taymans <wim@fluendo.com>
25121 * check/Makefile.am:
25122 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25123 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25124 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25126 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25127 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25128 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25129 (bin_element_is_sink), (gst_bin_iterate_sinks),
25130 (gst_bin_iterate_all_by_interface):
25132 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25133 (gst_element_change_state), (gst_element_dispose),
25134 (gst_element_finalize), (gst_element_set_loop_function):
25135 * gst/gstelement.h:
25136 * gst/gstiterator.c: (find_custom_fold_func):
25137 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25138 (gst_pad_collectv), (gst_pad_collect_valist),
25139 (gst_pad_template_new):
25140 * gst/gstpipeline.c: (gst_pipeline_class_init),
25141 (gst_pipeline_dispose), (gst_pipeline_set_property),
25142 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25143 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25144 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25146 * gst/schedulers/entryscheduler.c:
25147 * gst/schedulers/gstbasicscheduler.c:
25148 (gst_basic_scheduler_cothreaded_chain),
25149 (gst_basic_scheduler_chain_add_element):
25150 * testsuite/bins/interface.c: (main):
25152 Added GstSystemClock test.
25153 Implemented clock distribution code in GstBin.
25154 Implemented iterate sinks method for future use.
25155 Rearranged gstelement.h
25156 Fix GstIterator comparison bug.
25157 Moved some code to GstPipeline, mostly clocking related.
25159 2005-03-09 Wim Taymans <wim@fluendo.com>
25162 * gst/gst_private.h:
25163 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25164 (gst_bin_remove_func), (gst_bin_remove),
25165 (gst_bin_get_by_name_recurse_up):
25166 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25167 (gst_clock_id_compare_func), (gst_clock_id_wait),
25168 (gst_clock_id_wait_async), (gst_clock_init),
25169 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25170 * gst/gstelement.h:
25171 * gst/gstinfo.c: (_gst_debug_init):
25173 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25174 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25176 Bump version number, we're now 0.9.0
25177 Add future debugging category.
25178 Fix NULL _unref() in _get_by_name_recurse_up
25179 Rearrange gstpad.h.
25182 2005-03-08 Wim Taymans <wim@fluendo.com>
25184 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25185 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25186 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25187 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25188 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25189 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25190 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25191 * gst/elements/gstidentity.c: (gst_identity_class_init):
25192 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25193 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25194 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25195 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25196 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25198 * gst/gstelement.c: (gst_element_class_init),
25199 (gst_element_base_class_init), (gst_element_init),
25200 (gst_element_get_random_pad), (gst_element_wait_state_change),
25201 (gst_element_change_state), (gst_element_dispose),
25202 (gst_element_finalize), (gst_element_set_loop_function):
25203 * gst/gstelement.h:
25204 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25205 * gst/gstthread.c: (gst_thread_class_init),
25206 (gst_thread_release_children_locks), (gst_thread_change_state):
25207 * gst/schedulers/gstbasicscheduler.c:
25208 (gst_basic_scheduler_loopfunc_wrapper),
25209 (gst_basic_scheduler_chain_wrapper),
25210 (gst_basic_scheduler_src_wrapper),
25211 (gst_basic_scheduler_remove_element):
25212 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25213 Remove threadsafe properties. Fix elements because GObject
25214 complains when installing a property before declaring a
25215 set/get_property handler.
25216 Rearrange gstelement.h file, use STATE macros for state locks.
25217 Free mutexes in the finalize method instead of dispose.
25219 2005-03-08 Wim Taymans <wim@fluendo.com>
25221 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25222 * gst/gstthread.c: (gst_thread_release_children_locks):
25223 Added parentage check.
25224 Fix build og GstThread again.
25226 2005-03-08 Wim Taymans <wim@fluendo.com>
25228 * docs/design/part-MT-refcounting.txt:
25229 * docs/design/part-conventions.txt:
25230 * docs/design/part-gstobject.txt:
25231 * docs/design/part-relations.txt:
25232 * docs/design/part-standards.txt:
25233 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25234 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25235 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25236 (gst_bin_iterate_all_by_interface):
25239 * gst/gstelement.c: (gst_element_class_init),
25240 (gst_element_change_state), (gst_element_set_loop_function):
25241 * gst/gstelement.h:
25242 * gst/gstiterator.c:
25243 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25244 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25245 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25246 (gst_object_set_parent), (gst_object_unparent),
25247 (gst_object_check_uniqueness):
25249 Docs updates, clean up some headers.
25251 2005-03-07 Wim Taymans <wim@fluendo.com>
25253 * check/.cvsignore:
25254 * check/Makefile.am:
25255 * check/gst-libs/.cvsignore:
25256 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25257 * check/gst/.cvsignore:
25258 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25259 (START_TEST), (gstbus_suite), (main):
25260 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25261 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25262 (gst_data_suite), (main):
25263 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25264 (add_fold_func), (gstiterator_suite), (main):
25265 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25266 (thread_name_object), (thread_name_object_default),
25267 (gst_object_name_compare), (gst_object_suite), (main):
25268 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25269 (gst_pad_suite), (main):
25270 * check/gstcheck.c: (gst_check_log_message_func),
25271 (gst_check_log_critical_func), (gst_check_init):
25272 * check/gstcheck.h:
25273 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25274 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25277 2005-03-07 Wim Taymans <wim@fluendo.com>
25279 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25280 (gst_list_iterator_next), (gst_list_iterator_resync),
25281 (gst_list_iterator_free), (gst_iterator_new_list),
25282 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25283 (gst_iterator_free), (gst_iterator_push), (filter_next),
25284 (filter_resync), (filter_uninit), (filter_free),
25285 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25286 (gst_iterator_foreach), (find_custom_fold_func),
25287 (gst_iterator_find_custom):
25288 * gst/gstiterator.h:
25289 Added missing files.
25291 2005-03-07 Wim Taymans <wim@fluendo.com>
25295 * docs/design/part-MT-refcounting.txt:
25296 * docs/design/part-conventions.txt:
25297 * docs/design/part-gstobject.txt:
25298 * docs/design/part-relations.txt:
25299 * examples/mixer/mixer.c: (main):
25300 * examples/thread/thread.c: (eos), (main):
25302 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25303 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25304 (gst_spider_plug_from_srcpad):
25305 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25306 (gst_spider_identity_change_state),
25307 (gst_spider_identity_sink_loop_type_finding):
25308 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25309 * gst/elements/gstidentity.c: (gst_identity_init):
25310 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25311 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25312 * gst/elements/gsttypefindelement.c: (free_entry):
25315 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25316 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25317 (gst_bin_set_index), (gst_bin_set_element_sched),
25318 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25319 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25320 (gst_bin_iterate_elements), (iterate_child_recurse),
25321 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25322 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25323 (compare_interface), (gst_bin_get_by_interface),
25324 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25326 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25327 (gst_buffer_default_free), (gst_buffer_default_copy),
25328 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25329 (gst_buffer_create_sub):
25331 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25332 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25333 (gst_caps_unref), (gst_static_caps_get),
25334 (gst_caps_remove_and_get_structure), (gst_caps_append),
25335 (gst_caps_append_structure), (gst_caps_remove_structure),
25336 (gst_caps_copy_nth), (gst_caps_set_simple),
25337 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25338 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25339 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25340 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25341 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25342 (gst_caps_structure_figure_out_union),
25343 (gst_caps_switch_structures), (gst_caps_do_simplify),
25344 (gst_caps_replace), (gst_caps_from_string),
25345 (gst_caps_copy_conditional):
25347 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25348 (_gst_clock_id_free), (gst_clock_id_unref),
25349 (gst_clock_id_compare_func), (gst_clock_id_wait),
25350 (gst_clock_id_wait_async), (gst_clock_class_init),
25351 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25352 (gst_clock_get_time), (gst_clock_set_time_adjust),
25353 (gst_clock_set_property), (gst_clock_get_property):
25356 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25357 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25359 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25360 (gst_element_requires_clock), (gst_element_provides_clock),
25361 (gst_element_set_clock), (gst_element_clock_wait),
25362 (gst_element_wait), (gst_element_set_time_delay),
25363 (gst_element_is_indexable), (gst_element_add_pad),
25364 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25365 (pad_compare_name), (gst_element_get_static_pad),
25366 (gst_element_request_pad), (gst_element_get_request_pad),
25367 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25368 (gst_element_class_get_pad_template_list),
25369 (gst_element_class_get_pad_template), (gst_element_error_func),
25370 (gst_element_get_random_pad), (gst_element_get_event_masks),
25371 (gst_element_send_event), (gst_element_seek),
25372 (gst_element_get_query_types), (gst_element_query),
25373 (gst_element_get_formats), (gst_element_convert),
25374 (gst_element_is_locked_state), (gst_element_set_locked_state),
25375 (gst_element_sync_state_with_parent), (gst_element_change_state),
25376 (gst_element_finalize), (gst_element_yield),
25377 (gst_element_interrupt), (gst_element_set_scheduler),
25378 (gst_element_get_scheduler), (gst_element_set_loop_function):
25379 * gst/gstelement.h:
25381 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25382 (gst_format_get_by_nick), (gst_format_get_details),
25383 (gst_format_iterate_definitions):
25385 * gst/gstindex.c: (gst_index_gtype_resolver):
25388 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25389 (gst_mem_chunk_free):
25390 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25391 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25392 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25393 (gst_object_dispatch_properties_changed),
25394 (gst_object_set_name_default), (gst_object_set_name),
25395 (gst_object_get_name), (gst_object_set_name_prefix),
25396 (gst_object_get_name_prefix), (gst_object_set_parent),
25397 (gst_object_get_parent), (gst_object_unparent),
25398 (gst_object_check_uniqueness), (gst_object_save_thyself),
25399 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25400 (gst_object_set_property), (gst_object_get_property),
25401 (gst_object_get_path_string):
25403 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25404 (gst_real_pad_init), (gst_real_pad_get_property),
25405 (gst_pad_custom_new), (gst_pad_get_direction),
25406 (gst_pad_set_active), (gst_pad_is_active),
25407 (gst_pad_set_event_function), (gst_pad_is_linked),
25408 (gst_pad_link_free), (gst_pad_link_intersect),
25409 (gst_pad_link_fixate), (gst_pad_set_caps),
25410 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25411 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25412 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25413 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25414 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25415 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25416 (gst_pad_realize), (gst_pad_get_allowed_caps),
25417 (gst_real_pad_dispose), (gst_real_pad_finalize),
25418 (gst_pad_collectv), (gst_pad_collect_valist),
25419 (gst_pad_template_dispose), (gst_pad_template_new),
25420 (gst_pad_get_internal_links):
25422 * gst/gstpipeline.c: (gst_pipeline_dispose),
25423 (gst_pipeline_change_state):
25424 * gst/gstpipeline.h:
25426 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25427 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25428 * gst/gstpluginfeature.h:
25429 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25430 * gst/gstquery.c: (_gst_query_type_initialize),
25431 (gst_query_type_register), (gst_query_type_get_by_nick),
25432 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25434 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25435 * gst/gstscheduler.c: (gst_scheduler_add_element),
25436 (gst_scheduler_factory_create):
25437 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25438 (gst_structure_free), (gst_structure_set_name),
25439 (gst_structure_id_set_value), (gst_structure_set_value),
25440 (gst_structure_set_valist), (gst_structure_remove_field),
25441 (gst_structure_remove_fields),
25442 (gst_structure_remove_fields_valist),
25443 (gst_structure_remove_all_fields), (gst_structure_foreach),
25444 (gst_structure_map_in_place),
25445 (gst_caps_structure_fixate_field_nearest_int),
25446 (gst_caps_structure_fixate_field_nearest_double):
25447 * gst/gststructure.h:
25448 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25449 (gst_system_clock_init), (gst_system_clock_dispose),
25450 (gst_system_clock_async_thread),
25451 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25452 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25453 * gst/gstsystemclock.h:
25454 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25455 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25456 * gst/gsttaginterface.c:
25457 * gst/gstthread.c: (gst_thread_dispose),
25458 (gst_thread_release_children_locks), (gst_thread_change_state),
25459 (gst_thread_main_loop):
25460 * gst/gsttrashstack.h:
25461 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25463 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25464 (gst_element_request_pad), (gst_element_get_pad_from_template),
25465 (gst_element_request_compatible_pad),
25466 (gst_element_get_compatible_pad_filtered),
25467 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25468 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25469 (gst_element_link_many), (gst_element_link),
25470 (gst_element_link_pads), (gst_element_unlink_pads),
25471 (gst_element_unlink_many), (gst_element_unlink),
25472 (gst_pad_can_link_filtered), (gst_pad_can_link),
25473 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25474 (gst_object_default_error), (gst_bin_add_many),
25475 (gst_bin_remove_many), (gst_element_populate_std_props),
25476 (gst_element_class_install_std_props), (gst_buffer_merge),
25477 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25478 (link_fold_func), (gst_pad_proxy_setcaps):
25480 * gst/gstvalue.c: (gst_value_deserialize_string):
25481 * gst/parse/grammar.y:
25482 * gst/schedulers/gstbasicscheduler.c:
25483 (gst_basic_scheduler_cothreaded_chain),
25484 (gst_basic_scheduler_chain_recursive_add),
25485 (gst_basic_scheduler_pad_link):
25486 * gst/schedulers/gstoptimalscheduler.c:
25487 (get_group_schedule_function),
25488 (gst_opt_scheduler_state_transition),
25489 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25490 * libs/gst/bytestream/bytestream.c:
25491 * libs/gst/dataprotocol/dataprotocol.c:
25492 (gst_dp_header_from_buffer):
25495 * tests/threadstate/threadstate2.c: (eos):
25496 * tools/gst-compprep.c: (main):
25497 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25498 (print_pad_info), (print_children_info):
25499 * tools/gst-launch.c: (idle_func), (main):
25500 * tools/gst-md5sum.c: (idle_func), (main):
25501 * tools/gst-xmlinspect.c: (print_element_info):
25502 First THREADED backport attempt, focusing on adding locks and
25503 making sure the API is threadsafe. Needs more work. More docs
25506 2005-02-24 Andy Wingo <wingo@pobox.com>
25508 * tests/bench-complexity.scm:
25509 * tests/complexity.gnuplot: New files, good for running complexity
25512 * tests/Makefile.am:
25513 * tests/complexity.c: New test, sets up N elements, at each level
25514 teeing into M streams per element. Eeeenteresting.
25516 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25517 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25518 running bench-mass_elements.scm.
25520 * tests/bench-mass_elements.scm: New script, runs mass_elements
25521 for various numbers of identities, outputting the results to a
25522 file. Requires guile 1.6. Just for testing.
25524 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25526 * gst/schedulers/fairscheduler.c:
25527 compile with debug disabled
25529 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25532 hunting season on 0.9 is now OPEN