1 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/gst/gstreamer-sections.txt:
4 * gst/gsttaglist.c:
5 * gst/gsttaglist.h:
6 API: add GST_TAG_COMPOSER, fixes #459809.
8 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
10 * gst/gstplugin.c:
11 * gst/gstplugin.h:
12 Add the 3-clause BSD license and the MIT/X11 license to the license
13 list. Fixes #479784.
15 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
17 * docs/faq/getting.xml:
18 Add Q+A about different GStreamer versions (#364056).
20 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
22 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
23 (gst_base_sink_event), (gst_base_sink_change_state):
24 Return correct gboolean from query function.
26 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
28 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
29 (gst_base_sink_event), (gst_base_sink_query),
30 (gst_base_sink_change_state):
31 Simplify latency query.
32 When not synchronizing, we can report latency without querying the peer
33 element.
35 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
37 * gst/gstobject.h:
38 * gst/gstvalue.c:
39 Fix small typos in the docs.
41 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
43 * docs/design/draft-latency.txt:
44 * docs/design/draft-push-pull.txt:
45 * docs/design/draft-tagreading.txt:
46 * docs/design/part-MT-refcounting.txt:
47 * docs/design/part-activation.txt:
48 * docs/design/part-block.txt:
49 * docs/design/part-element-source.txt:
50 * docs/design/part-events.txt:
51 * docs/design/part-gstbin.txt:
52 * docs/design/part-gstelement.txt:
53 * docs/design/part-gstobject.txt:
54 * docs/design/part-gstpipeline.txt:
55 * docs/design/part-messages.txt:
56 * docs/design/part-preroll.txt:
57 * docs/design/part-push-pull.txt:
58 * docs/design/part-qos.txt:
59 * docs/design/part-query.txt:
60 * docs/design/part-scheduling.txt:
61 * docs/design/part-seeking.txt:
62 * docs/design/part-segments.txt:
63 * docs/design/part-states.txt:
64 Documentation updates and typo fixes.
66 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
68 * plugins/elements/gstfakesink.c:
69 Add some debug text to error message to indicate that
70 we errored out on request.
72 * tools/gst-launch.c:
73 When the state change to PLAYING fails, check for an
74 error message on the bus and print it.
76 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
78 translated by: Jorge González González <aloriel@gmail.com>
80 * po/LINGUAS:
81 * po/es.po:
82 Added Spanish translation.
84 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
86 * plugins/elements/gstqueue.c: (gst_queue_push_one):
87 Fix printf arguments.
89 2007-09-20 Stefan Kost <ensonic@users.sf.net>
91 * tests/check/generic/states.c:
92 Improved state change unit test.
94 2007-09-20 Stefan Kost <ensonic@users.sf.net>
96 * gst/gstbin.h:
97 Move priv to the right place.
99 * gst/gstsystemclock.c:
100 Add FIXME: and improve log.
102 * tests/check/Makefile.am:
103 * tests/examples/manual/Makefile.am:
104 Work with all types of registries.
106 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
108 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
109 Don't unref the event after pushing it. Fixes #478401.
111 2007-09-19 Stefan Kost <ensonic@users.sf.net>
113 * .cvsignore:
114 * tests/examples/manual/.cvsignore:
115 Ignore registries in any format.
117 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
119 * gst/glib-compat-private.h:
120 Add compatibility macro for g_intern_string() for
121 GLib-2.8 (any reason we can't just bump the
122 requirement to at least 2.10?)
124 * gst/gstpadtemplate.h:
125 * gst/gstelementfactory.c:
126 * gst/gstregistryxml.c:
127 * gst/gstregistrybinary.c:
128 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
129 up the internal code accordingly. This shouldn't be a problem, since
130 there is no reason external code could ever assume the string in such
131 a structure is dynamically allocated unless it did that itself; the
132 use of g_strdup() is private to element factories. The new code also
133 saves some memory by putting pad template name strings into the GLib
134 quark table instead of allocating them dynamically.
135 Declaring this field constant fixes warnings with g++-4.2 when using
136 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
138 2007-09-19 Stefan Kost <ensonic@users.sf.net>
140 * gst/gstelementfactory.c:
141 Release static caps. Fixes #475723.
143 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
145 * gst/gstinfo.c:
146 * gst/gstinfo.h:
147 Make some internal API take const gchar * instead of just
148 gchar * to avoid compiler warnings with g++-4.2.2 when
149 passing string constants (partially fixes #478092).
151 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
153 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
154 A latency query fails when one of the sinks fail.
156 * gst/gstelement.c: (gst_element_set_base_time):
157 Improve debugging.
159 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
161 * gst/gstbin.c: (gst_bin_continue_func):
162 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
163 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
164 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
166 Fix minor compilation warnings shown with Forte.
168 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
170 * plugins/elements/gstqueue.c: (apply_buffer),
171 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
172 Measure queue level based on the diff between head and tail timestamps
173 even when pushing the first buffer.
175 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
177 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
178 (gst_base_sink_event), (gst_base_sink_change_state):
179 Sinks that don't preroll can always be queried for the latency.
180 Don't post ASYNC start when we are not async.
182 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
184 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
185 (gst_queue_handle_sink_event), (gst_queue_chain),
186 (gst_queue_push_one), (gst_queue_handle_src_query),
187 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
188 * plugins/elements/gstqueue.h:
189 When downstream returns UNEXPECTED from pushing a buffer, don't try to
190 push more buffers but allow pushing of EOS and NEWSEGMENT.
191 Add some more debug info here and there. Fixes #476514.
193 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
195 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
196 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
197 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
198 (gst_base_sink_set_flushing), (gst_base_sink_query),
199 (gst_base_sink_change_state):
200 Latency query is allowed after we are prerolled. Introduce a new flag
201 for this and stop abusing other variables.
203 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
205 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
206 Push OOB events downstream when we get them in send_event. This allows
207 the application to insert events in the pipeline.
208 Add some more comments.
210 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
212 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
213 (do_bin_latency), (gst_bin_change_state_func):
214 * gst/gstpipeline.c: (gst_pipeline_change_state):
215 Move latency query from GstPipeline to GstBin so that we can also
216 use it when async-handling is enabled on bins.
218 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
220 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
221 (gst_base_src_do_sync), (gst_base_src_change_state):
222 Update docs.
223 Clean up the timestamping and syncing code for pseudo live sources.
225 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
227 Patch by: Steve Fink <sphink gmail com>
229 * docs/manual/appendix-checklist.xml:
230 Mention less -R switch in the section about debug output (#474055).
232 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
234 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
235 Queue can latency to the pipeline up to the configured max size in time.
236 Report this fact in the latency query.
238 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
240 Patch by: Sebastien Moutte <sebastien at moutte dot net>
242 * libs/gst/controller/gstinterpolation.c:
243 * libs/gst/controller/gstlfocontrolsource.c:
244 Use gst_guint64_to_gdouble() when converting from a uint64 or
245 GstClockTime to double to fix the build on win32. Fixes #474371.
247 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
249 * gst/gstbuffer.c: (gst_buffer_finalize):
250 Implement poisoning for GstBuffer if --enable-poisoning is specified.
251 When finalizing a buffer the complete struct is filled with 0xff,
252 thus making a use of the buffer after the final unref impossible.
254 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
256 * tests/check/libs/controller.c: (GST_START_TEST):
257 Use fail_unless_equals_int(a, b) instead of
258 fail_unless_equals (a == b) to get better output on failures.
260 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
262 * tests/check/gst/gsturi.c:
263 Also check for the other file URI variant on win32.
265 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
267 * gst/gsturi.c: (gst_uri_get_location):
268 If there's no hostname, we want to return 'c:/foo/bar.txt'
269 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
271 * tests/check/gst/gsturi.c:
272 Unit test for the above and a few more things.
274 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
276 * docs/design/part-live-source.txt:
277 Add docs on how live sources should timestamp.
279 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
280 Add some more debug info.
281 For subclasses that are live and like to sync, add aditional startup
282 latency to sync time and timestamps so that we timstamp according to the
283 design doc.
285 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
287 * gst/gstbuffer.c:
288 Also do a g_type_class_ref() for the subbuffer type in
289 the init function.
291 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
293 * docs/gst/gstreamer-sections.txt:
294 * gst/gstpad.c: (gst_pad_peer_query):
295 * gst/gstpad.h:
296 Add function to perform a query on the peer of a pad.
297 API: gst_pad_peer_query()
299 2007-09-11 Stefan Kost <ensonic@users.sf.net>
301 * tests/check/gst/gstsystemclock.c:
302 Cleanup the test a little (use gst-logging and not g_message). Improve
303 test to check if a wait reached the target.
305 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
307 * docs/libs/gstreamer-libs-sections.txt:
308 Add new API to docs and fix the build.
310 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
312 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
313 (gst_base_src_init), (gst_base_src_set_do_timestamp),
314 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
315 (gst_base_src_get_property), (gst_base_src_do_sync):
316 * libs/gst/base/gstbasesrc.h:
317 Add property to make the basesrc timestamp buffers based on the current
318 running time.
319 API: GstBaseSrc::do-timestamp
320 API: gst_base_src_set_do_timestamp()
321 API: gst_base_src_get_do_timestamp()
323 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
325 * docs/random/release:
326 Really make sure translations are up-to-date before
327 a release (#465010).
329 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
331 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
332 Always destroy the timer, also in error cases.
334 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
336 * docs/manual/highlevel-xml.xml:
337 Fix XML example code. Fixes #472714.
339 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
341 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
342 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
343 (gst_base_sink_query):
344 Protect eos and have_preroll with the OBJECT lock so we don't need to
345 take the PREROLL lock when querying the latency. Fixes #473846.
347 2007-09-05 Stefan Kost <ensonic@users.sf.net>
349 * gst/gstelement.c:
350 Give some log-messages a category.
352 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
354 * gst/gststructure.c:
355 (gst_structure_fixate_field_nearest_fraction):
356 Fix fraction list fixation code. Take the fraction with the smallest
357 difference with the target instead of the first one in the list.
359 * tests/check/gst/gststructure.c: (GST_START_TEST),
360 (gst_structure_suite):
361 Added test to verify correct fraction list fixation behaviour.
363 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
365 * win32/common/libgstreamer.def:
366 Export gst_bus_add_signal_watch too.
368 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
370 * docs/libs/gstreamer-libs-sections.txt:
371 Add new methods to docs.
373 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
374 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
375 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
376 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
377 * libs/gst/base/gstbasesink.h:
378 Add ts-offset property to fine-tune the synchronisation.
379 API: GstBaseSink::ts-offset property
380 API: gst_base_sink_set_ts_offset()
381 API: gst_base_sink_get_ts_offset()
383 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
385 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
386 (gst_base_sink_init), (gst_base_sink_set_sync),
387 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
388 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
389 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
390 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
391 (gst_base_sink_get_property), (gst_base_sink_change_state):
392 * libs/gst/base/gstbasesink.h:
393 Add async property to instruct the sink never to inform the parent about
394 ASYNC state changes, update docs.
395 Check argument with g_return_* for the public functions.
396 API: GstBaseSink::async property
397 API: gst_base_sink_set_async_enabled()
398 API: gst_base_sink_is_async_enabled()
400 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
402 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
403 Improve debugging.
405 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
406 (gst_base_src_default_query), (gst_base_src_wait),
407 (gst_base_src_do_sync), (gst_base_src_change_state):
408 Rearrange some code so that we can add support for measuring the
409 startup latency.
411 2007-08-27 Stefan Kost <ensonic@users.sf.net>
413 * docs/random/ensonic/dynlink.txt:
414 More thoughs on this.
416 * plugins/elements/gstcapsfilter.c:
417 Add bugzilla ticket number to FIXME comment.
419 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
421 * docs/design/part-TODO.txt:
422 * docs/design/part-block.txt:
423 Update some docs.
425 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
427 * gst/Makefile.am:
428 Revert patch which uses $(gst_headers) instead of $^ because it
429 breaks make dist.
431 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
433 * tests/check/gst/gstbin.c: (GST_START_TEST):
434 Fix leaks in the new unit test.
436 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
438 * gst/gst.c:
439 Don't use GST_INFO before the debug system is actually initialised
440 (shouldn't do any harm, but won't print anything either, so we can
441 just as well remove it).
443 * gst/gstinfo.h:
444 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
445 compilers that don't support variadic macros (such as MSVC), should
446 check for debug_level <= __gst_debug_min as well, since that's the
447 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
448 inline helper functions. Should improve performance a bit, but also
449 makes sure uses of GST_INFO et.al are ignored if the debugging
450 system isn't initialised yet (instead of printing an assertion
451 failure).
453 2007-08-23 Stefan Kost <ensonic@users.sf.net>
455 patch by: David Nečas <yeti@physics.muni.cz>
457 * gst/Makefile.am:
458 Replace some non portable makefile constructs.
460 2007-08-21 Stefan Kost <ensonic@users.sf.net>
462 * common/gtk-doc-plugins.mak:
463 Grrrrr. Don't remove the types file on make clean.
465 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
467 * tools/gst-launch.1.in:
468 Add colorspace to example pipeline. Fixes #458274.
470 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
472 * docs/random/release:
473 The release manager should run 'make download-po' before making a
474 release to make sure translations are up-to-date.
476 * po/LINGUAS:
477 * po/be.po:
478 * po/pl.po:
479 * po/rw.po:
480 Add some new translations.
482 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
484 * tools/gst-launch.c: (event_loop), (main):
485 Don´t try to do any state management when a live pipeline posts
486 buffering messages.
487 Also make the buffering string translatable.
489 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
491 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
492 (bin_handle_async_start), (gst_bin_handle_message_func):
493 Improve debugging.
494 When adding elements, insert messages into the bus of the newly added
495 element and make sure the element is the source of the message. This
496 allows the parent bin to intercept the message and do the
497 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
498 messages to the app (which is not allowed).
499 Update some docs.
501 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
502 Fix testsuite so that is does not work around messages that should not
503 have been posted in the first place.
505 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
507 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
508 (update_degree), (gst_bin_sort_iterator_next):
509 Fix annoying bug in the sorted iterator where a sink that is not really
510 a sink (when it has downstream links) screwed up the iterator.
512 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
513 Unit test to verify the fix.
515 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
517 * gst/gstmessage.h:
518 Add some more docs for the messages.
520 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
521 (gst_base_sink_query):
522 Add some more debugging.
524 * tools/gst-launch.c: (event_loop):
525 When interrupting, don't try to set pipeline to PAUSED twice.
527 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
530 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
531 (bin_handle_async_start), (gst_bin_handle_message_func):
532 Move ASYNC_START message posting to where it belongs, similar to
533 async_done.
534 Don't post ASYNC_START when we are in error.
535 Post ASYNC_START when we added an async element to a bin.
537 2007-08-14 Julien MOUTTE <julien@moutte.net>
539 * gst/gstindex.c: (gst_index_add_association): Fix index entry
540 generation from vargs. Fixes #466595.
542 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
544 * gst/gstbin.c: (gst_bin_element_set_state):
545 Always change the state of a NO_PREROLL element even if it has ASYNC
546 elements inside (in case of a bin).
548 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
549 Unit test for this case.
551 2007-08-13 Stefan Kost <ensonic@users.sf.net>
553 * libs/gst/check/gstbufferstraw.c:
554 * libs/gst/check/gstcheck.h:
555 * libs/gst/controller/gstcontroller.c:
556 * libs/gst/controller/gstcontrolsource.h:
557 * libs/gst/controller/gstlfocontrolsource.h:
558 * plugins/elements/gstcapsfilter.h:
559 * plugins/elements/gstfdsink.h:
560 * plugins/elements/gstfdsrc.h:
561 Add more missing docs.
563 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
565 * gst/gststructure.c:
566 Add Since tag to docs.
568 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
570 * docs/gst/gstreamer-sections.txt:
571 * gst/gststructure.c: (gst_structure_get_uint):
572 * gst/gststructure.h:
573 Add function to get uint from a structure.
574 API: gst_structure_get_uint()
576 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
578 * gst/gstcaps.c: (gst_caps_set_simple_valist),
579 (gst_caps_intersect):
580 Fix proper check for simple caps.
582 2007-08-10 Stefan Kost <ensonic@users.sf.net>
584 * docs/gst/Makefile.am:
585 * docs/libs/Makefile.am:
586 Remove cruft and do some cleanups.
588 * docs/gst/gstreamer-docs.sgml:
589 * docs/libs/gstreamer-libs-docs.sgml:
590 Prepare for comming gtkdoc features (rebase against online docs).
592 2007-08-10 Michael Smith <msmith@fluendo.com>
594 * docs/gst/gstreamer-sections.txt:
595 Add gst_registry_add_path to docs.
597 2007-08-10 Michael Smith <msmith@fluendo.com>
599 * gst/gstregistry.h:
600 Add gst_registry_add_path, which was missing from this header.
602 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
604 * libs/gst/controller/gstlfocontrolsource.c:
605 Printf format fix.
607 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
609 * libs/gst/base/gstbasesink.c:
610 Don't send an async_start message during downwards state change if
611 target state is less than READY
613 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
615 translated by: Gabor Kelemen <kelemeng@gnome.hu>
617 * po/LINGUAS:
618 * po/hu.po:
619 Added Hungarian translation.
621 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
623 * po/fi.po:
624 * po/it.po:
625 * po/nl.po:
626 * po/sv.po:
627 * po/uk.po:
628 Updated translations.
630 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
632 * libs/gst/controller/Makefile.am:
633 Dist gstlfocontrolsourceprivate.h
635 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
637 * docs/libs/gstreamer-libs.types:
638 Don't register the enum type gst_lfo_waveform_get_type() in the
639 .types file - only GObject derived types belong.
641 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
643 Patch by: <arenevier at fdn dot fr>
645 * gst/gstbuffer.h:
646 Remove comma from last element in enum to avoid compile errors when
647 using -pendantic. Fixes #464366.
649 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
651 * docs/design/part-TODO.txt:
652 Add some more TODO items
654 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
655 Improve debugging.
657 * gst/gstcaps.c: (gst_caps_intersect):
658 Optimize trivial intersection case between identical caps pointers.
660 * gst/gstelement.c: (gst_element_continue_state),
661 (gst_element_set_state_func):
662 * gst/gstpad.c:
663 Fix spelling and grammar mistakes.
665 2007-08-05 Stefan Kost <ensonic@users.sf.net>
667 * po/POTFILES.in:
668 * po/POTFILES.skip:
669 Update POTFILES. Fixes #461599.
671 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
673 * gst/gst.c:
674 Fix confusing typo in debug output.
676 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
678 reviewed by: Stefan Kost <ensonic@users.sf.net>
680 * libs/gst/controller/Makefile.am:
681 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
682 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
683 (gst_lfo_control_source_new),
684 (gst_lfo_control_source_set_waveform),
685 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
686 (gst_lfo_control_source_finalize),
687 (gst_lfo_control_source_dispose),
688 (gst_lfo_control_source_set_property),
689 (gst_lfo_control_source_get_property),
690 (gst_lfo_control_source_class_init):
691 * libs/gst/controller/gstlfocontrolsource.h:
692 * libs/gst/controller/gstlfocontrolsourceprivate.h:
693 API: Add GstLFOControlSource, a control source that gives values
694 for specific timestamps based on several periodic waveforms.
695 Fixes #459717.
697 * tests/check/libs/controller.c: (GST_START_TEST),
698 (gst_controller_suite):
699 * docs/libs/gstreamer-libs-docs.sgml:
700 * docs/libs/gstreamer-libs-sections.txt:
701 * docs/libs/gstreamer-libs.types:
702 Add documentation and unit tests for GstLFOControlSource.
704 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
706 * configure.ac:
707 Back to CVS
709 === release 0.10.14 ===
711 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
713 * configure.ac:
714 releasing 0.10.14, "Breathing Vacuum"
716 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
718 * gst/gstelement.c: (gst_element_class_set_details_simple):
719 * gst/gstelement.h:
720 Make strings passed to gst_element_class_set_details_simple()
721 constant, as they should be (#462752).
723 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
725 * gst/gstbin.c: (gst_bin_change_state_func),
726 (bin_handle_async_done), (gst_bin_handle_message_func):
727 Don't forget about the fact that some element went ASYNC even after a
728 resync. This makes us post the ASYNC_DONE message correctly.
729 Fixes #462558.
731 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
733 * gst/gstregistry.c: (gst_registry_add_feature):
734 When replacing an existing feature in the registry, make sure to
735 continue holding a reference until we've replaced the name string
736 within our feature hash table. Make sure to use g_hash_table_replace
737 instead of g_hash_table_insert to ensure the new name string is used
738 as a key instead of the old one that we're about to free.
739 Fixes: #462085
741 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
743 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
744 (gst_plugin_feature_set_name):
745 Revert patch from #459466 until after the release and we can work
746 out exactly what the problem is (if any).
748 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
750 * docs/gst/gstreamer-sections.txt:
751 * gst/gsttaglist.c:
752 * gst/gsttaglist.h:
753 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
755 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
757 * docs/libs/Makefile.am:
758 Include our build-prefix libs and includes before the generic ones to
759 avoid linking against the installed libs when we want the build-tree
760 ones.
762 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
764 Patch by: Steve Fink <sphink gmail com>
766 * docs/pwg/building-testapp.xml:
767 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
768 if people try to build or install the example from the plugin
769 template against a GStreamer from package using the configure
770 defaults.
772 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
774 Patch by: Steve Fink <sphink gmail com>
776 * tools/gst-inspect.1.in:
777 Document --print-all and --print-plugin-auto-install-info command
778 line options in man page.
780 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
782 * docs/gst/gstreamer-sections.txt:
783 Add docs for new api function.
785 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
787 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
788 * gst/gstelementfactory.h:
789 API: gst_element_factory_has_interface()
790 Added method to check if an element factory implements a named
791 interface.
793 2007-07-25 Stefan Kost <ensonic@users.sf.net>
795 * configure.ac:
796 * docs/gst/gstreamer.types.in:
797 Another conditional doc check.
799 * gst/gstmessage.c:
800 * gst/gstparamspecs.h:
801 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
802 * gst/gstvalue.c:
803 * gst/gstxml.h:
804 API-doc fixes.
806 2007-07-24 Stefan Kost <ensonic@users.sf.net>
808 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
809 (gst_registry_binary_load_feature),
810 (gst_registry_binary_load_plugin),
811 (gst_registry_binary_read_cache):
812 Print error just once and with additional info.
814 2007-07-24 Stefan Kost <ensonic@users.sf.net>
816 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
817 (helper_find_suggest), (helper_find_get_length),
818 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
819 (gst_type_find_helper_for_buffer):
820 Cleanup the typefindhelper code and add private doc comments.
822 2007-07-24 Edward Hervey <bilboed@bilboed.com>
824 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
825 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
826 Fix capsfilter for cases where the caps set on capsfilter will provide
827 additional information.
828 Fixes #449197
830 2007-07-24 Stefan Kost <ensonic@users.sf.net>
832 * gst/gsttypefindfactory.c:
833 Fix docs that recommened wrong function to use.
835 2007-07-23 Stefan Kost <ensonic@users.sf.net>
837 * tools/gst-inspect.c: (print_plugin_features):
838 Also give media-type for typefinders in element output.
840 2007-07-23 Stefan Kost <ensonic@users.sf.net>
842 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
843 (gst_registry_remove_features_for_plugin_unlocked),
844 (gst_registry_add_feature), (gst_registry_remove_feature),
845 (gst_registry_lookup_feature_locked):
846 * gst/gstregistry.h:
847 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
848 Fixes #459501.
850 2007-07-23 Stefan Kost <ensonic@users.sf.net>
852 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
853 (gst_plugin_feature_set_name):
854 Avoid double memory usage for pluginfeature names. Fixes #459466.
856 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
858 * gst/gstpad.h:
859 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
860 driving the pipeline may need to explicitly check for NOT_LINKED as
861 well, since IS_FATAL doesn't cover that.
863 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
865 * docs/pwg/advanced-types.xml:
866 Fix typo and duplicate entry in video formats list.
868 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
870 * libs/gst/controller/gstinterpolation.c:
871 Also round to the nearest int when using cubic interpolation.
873 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
875 * libs/gst/controller/gstinterpolation.c:
876 When linearly interpolating integer types, round to the nearest int
877 by adding 0.5. Don't do it for float/double types.
878 Fixes the failing controller test on my machine, which is somehow
879 rounding differently than on the buildbots.
881 2007-07-20 Stefan Kost <ensonic@users.sf.net>
883 * tools/gst-plot-timeline.py:
884 Better log parsing (categories can have -). Adjust text vs. lines, so
885 that they span the same y-range.
887 2007-07-20 Stefan Kost <ensonic@users.sf.net>
889 * docs/random/ensonic/audiobaseclasses.txt:
890 * docs/random/ensonic/dynlink.txt:
891 * docs/random/ensonic/profiling.txt:
892 Save my thoughts.
894 * docs/random/moving-plugins:
895 Add note to use g_assert type macros.
897 2007-07-20 Stefan Kost <ensonic@users.sf.net>
899 * configure.ac:
900 * libs/gst/check/Makefile.am:
901 Add libm check as we use in for plugins.
903 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
905 * gst/gstbin.c: (gst_bin_continue_func):
906 Check that the state_cookie hasn't changed since the continue_func
907 was scheduled. Avoids problems where the state changes back to
908 something it shouldn't be because it was changed in the meantime.
910 2007-07-17 Stefan Kost <ensonic@users.sf.net>
912 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
913 (gst_registry_binary_save_string),
914 (gst_registry_binary_save_pad_template),
915 (gst_registry_binary_save_feature),
916 (gst_registry_binary_save_plugin),
917 (gst_registry_binary_load_feature),
918 (gst_registry_binary_load_plugin),
919 (gst_registry_binary_read_cache):
920 Fix memory leak. Be less verbose in the log.
922 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
924 * tests/check/elements/.cvsignore:
925 Add file to cvsignore as commanded.
927 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
929 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
930 (mq_dummypad_event), (run_output_order_test):
931 Use a GStaticMutex to protect all cases where libcheck
932 fail_if/fail_unless macros might be called from multiple threads
933 simultaneously to avoid errors like:
934 "check_pack.c:107: :-1081725400:Bad message type arg"
936 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
938 * tests/check/pipelines/stress.c: (GST_START_TEST):
939 Make sure we set the pipeline back to the NULL state before
940 dropping our final reference.
942 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
944 * tests/check/elements/tee.c: (GST_START_TEST):
945 Make the tee stress-test a little less stressful so it doesn't just
946 time out on slow-machines, and remove a small race when it's starting
947 up by adding a get_state() call.
949 2007-07-16 Stefan Kost <ensonic@users.sf.net>
951 * gst/gst.c:
952 Avoid reading registry twice on startup. Fixes #457322.
954 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
956 * pkgconfig/gstreamer-check-uninstalled.pc.in:
957 * pkgconfig/gstreamer-check.pc.in:
958 Substitute the CFLAGS for libcheck into our .pc file too so that
959 dependent modules will pick it up properly if libcheck is installed
960 into some other prefix.
962 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
964 * configure.ac:
965 Revert the pkg-config check for libcheck, since it pulls in the
966 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
967 a proper solution, either from the check project, or something else.
969 2007-07-12 Stefan Kost <ensonic@users.sf.net>
971 * configure.ac:
972 Use pkg-config to locate check.
974 2007-07-10 Stefan Kost <ensonic@users.sf.net>
976 * gst/gsttaglist.c:
977 Fix doc syntax.
979 * gst/gstutils.c:
980 * gst/gstutils.h:
981 Add deprecation guards.
983 * libs/gst/base/gstcollectpads.h:
984 Don't document object (this is implicitly private).
986 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
988 * gst/gststructure.c: (gst_structure_parse_value):
989 When deserialising foo=bar without a type cast, check if it's a
990 boolean before falling back to a string type, otherwise things like
991 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
992 because the filtercaps end up having a signed=(string)true field,
993 which causes problems later when intersection caps.
995 * tests/check/gst/gststructure.c: (GST_START_TEST):
996 Add a unit test for this.
998 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1000 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1002 * libs/gst/controller/Makefile.am:
1003 * libs/gst/controller/gstcontroller.c:
1004 (gst_controlled_property_add_interpolation_control_source),
1005 (gst_controlled_property_new), (gst_controlled_property_free),
1006 (gst_controller_find_controlled_property),
1007 (gst_controller_new_valist), (gst_controller_new_list),
1008 (gst_controller_new), (gst_controller_remove_properties_valist),
1009 (gst_controller_remove_properties_list),
1010 (gst_controller_remove_properties),
1011 (gst_controller_set_property_disabled),
1012 (gst_controller_set_disabled), (gst_controller_set_control_source),
1013 (gst_controller_get_control_source), (gst_controller_get),
1014 (gst_controller_sync_values), (gst_controller_get_value_array),
1015 (_gst_controller_dispose), (gst_controller_get_type),
1016 (gst_controlled_property_set_interpolation_mode),
1017 (gst_controller_set), (gst_controller_set_from_list),
1018 (gst_controller_unset), (gst_controller_unset_all),
1019 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1020 * libs/gst/controller/gstcontroller.h:
1021 * libs/gst/controller/gstcontrollerprivate.h:
1022 * libs/gst/controller/gstcontrolsource.c:
1023 (gst_control_source_class_init), (gst_control_source_init),
1024 (gst_control_source_get_value),
1025 (gst_control_source_get_value_array), (gst_control_source_bind):
1026 * libs/gst/controller/gstcontrolsource.h:
1027 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1028 (gst_object_get_control_source):
1029 * libs/gst/controller/gstinterpolation.c:
1030 (gst_interpolation_control_source_find_control_point_node),
1031 (gst_interpolation_control_source_get_first_value),
1032 (_interpolate_none_get), (interpolate_none_get),
1033 (interpolate_none_get_boolean_value_array),
1034 (interpolate_none_get_enum_value_array),
1035 (interpolate_none_get_string_value_array),
1036 (_interpolate_trigger_get), (interpolate_trigger_get),
1037 (interpolate_trigger_get_boolean_value_array),
1038 (interpolate_trigger_get_enum_value_array),
1039 (interpolate_trigger_get_string_value_array):
1040 * libs/gst/controller/gstinterpolationcontrolsource.c:
1041 (gst_control_point_free), (gst_interpolation_control_source_reset),
1042 (gst_interpolation_control_source_new),
1043 (gst_interpolation_control_source_set_interpolation_mode),
1044 (gst_interpolation_control_source_bind),
1045 (gst_control_point_compare), (gst_control_point_find),
1046 (gst_interpolation_control_source_set_internal),
1047 (gst_interpolation_control_source_set),
1048 (gst_interpolation_control_source_set_from_list),
1049 (gst_interpolation_control_source_unset),
1050 (gst_interpolation_control_source_unset_all),
1051 (gst_interpolation_control_source_get_all),
1052 (gst_interpolation_control_source_get_count),
1053 (gst_interpolation_control_source_init),
1054 (gst_interpolation_control_source_finalize),
1055 (gst_interpolation_control_source_dispose),
1056 (gst_interpolation_control_source_class_init):
1057 * libs/gst/controller/gstinterpolationcontrolsource.h:
1058 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1059 API: Refactor GstController into the core controller which can take
1060 a GstControlSource for providing actual values for timestamps.
1061 Implement a interpolation control source and use this for backward
1062 compatibility, deprecate a bunch of functions that are now handled
1063 by GstControlSource or GstInterpolationControlSource.
1064 Make it possible to disable the controller completely or only for
1065 specific properties. Fixes #450711.
1066 * docs/libs/gstreamer-libs-docs.sgml:
1067 * docs/libs/gstreamer-libs-sections.txt:
1068 * docs/libs/gstreamer-libs.types:
1069 Add new functions and classes to the docs.
1070 * tests/check/libs/controller.c: (GST_START_TEST),
1071 (gst_controller_suite):
1072 * tests/examples/controller/audio-example.c: (main):
1073 Port unit test and example to the new API and add some new
1074 unit tests.
1076 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1078 Patch by: Mark Nauwelaerts <manauw at skynet be>
1080 * plugins/elements/gstmultiqueue.c:
1081 (gst_multi_queue_get_internal_links), (apply_buffer),
1082 (single_queue_overrun_cb), (gst_single_queue_new):
1083 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1084 the pipeline layout can be tracked correctly. Fixes #453732.
1086 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1088 * docs/gst/Makefile.am:
1089 * docs/libs/Makefile.am:
1090 * docs/plugins/Makefile.am:
1091 Simplify --extra-dir as gtkdoc scans recursively.
1093 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1095 * tools/gst-launch.c: (main):
1096 When we got an error, there is no point in waiting for preroll when
1097 shutting down.
1099 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1101 * plugins/elements/gsttee.c: (gst_tee_base_init),
1102 (gst_tee_request_new_pad), (gst_tee_release_pad),
1103 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1104 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1105 (gst_tee_chain):
1106 Be a lot smarter when deciding what srcpad to use for proxying
1107 the buffer_alloc. Also handle pad added/removed when doing so.
1108 Fixes #357959.
1109 Keep track of what pads we already pushed on in case we have pads
1110 added/removed while pushing. Fixes #374639
1112 * tests/check/Makefile.am:
1113 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1114 (tee_suite):
1115 Added unit test for pad resync.
1117 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1119 * po/nl.po:
1120 * po/sv.po:
1121 Updated translations.
1123 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1125 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1127 * po/LINGUAS:
1128 * po/fi.po:
1129 Added new Finnish translation.
1131 2007-06-28 Wim Taymans <wim@fluendo.com>
1133 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1134 (single_queue_overrun_cb):
1135 When figuring out when a queue is filled, use our internal time estimate
1136 based on segments, just like check_full does.
1138 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1140 * gst/gstminiobject.c: (gst_mini_object_get_type):
1141 Remove 3 do-nothing methods.
1143 2007-06-27 Wim Taymans <wim@fluendo.com>
1145 Patch by: Tim Angus <tim at ngus dot net>
1147 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1148 (gst_capsfilter_set_property):
1149 Take a reference instead of a copy when setting "caps".
1150 Fix documentation to clarify this behaviour. Fixes #449414.
1152 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1154 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1155 * gst/gstplugin.c: (gst_plugin_init):
1156 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1157 * gst/gstquery.c: (gst_query_get_type):
1158 * gst/gstregistry.c: (gst_registry_init):
1159 * gst/gsturi.c: (gst_uri_handler_base_init):
1160 Remove empty instance_init() functions to save relocs and lessen the
1161 noise. Remove some of the function prototypes that are doubled by
1162 G_DEFINE_TYPE.
1164 2007-06-27 Wim Taymans <wim@fluendo.com>
1166 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1168 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1169 Add peer and direction in the XML serialisation of ghostpads.
1170 Fixes #449226.
1172 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1174 * configure.ac:
1175 Preserve useful information, thanks Tim.
1177 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1179 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1180 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1181 (gst_single_queue_push_one), (gst_multi_queue_loop),
1182 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1183 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1184 (compute_high_id), (gst_single_queue_new):
1185 * plugins/elements/gstmultiqueue.h:
1186 Take the multiqueue lock when updating the fill level so we don't get
1187 confused.
1189 After applying a buffer or event on the src pad segment, make sure to
1190 call gst_data_queue_limits_changed() to get the data queue to unblock
1191 and check the filled state again.
1193 Rework the not-linked pad handling so the logic is that not-linked
1194 pads can push as fast as they like, but only so they never get
1195 ahead of any linked pads.
1197 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1198 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1199 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1201 Add a test to check that not-linked pads always stay behind
1202 linked pads.
1204 Fixes: #430682
1206 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1208 * docs/random/release:
1209 Some updates to the release procedure.
1211 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1213 * gst/gstelementfactory.c: (__gst_element_details_clear):
1214 Microoptimization that saves stunning 80 bytes.
1216 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1218 * docs/plugins/gstreamer-plugins.args:
1219 * docs/plugins/inspect/plugin-coreelements.xml:
1220 * docs/plugins/inspect/plugin-coreindexers.xml:
1221 Update docs with caps info.
1223 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * po/it.po:
1226 Updated Italian translation.
1228 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1230 * ChangeLog:
1231 * po/vi.po:
1232 Update Vietnamese translations.
1234 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1236 * libs/gst/base/gstbasesink.c:
1237 Remove unused signal enum.
1239 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1241 * docs/gst/gstreamer-sections.txt:
1242 * gst/gstelement.c:
1243 * gst/gstutils.c: (gst_type_register_static_full):
1244 Beef up and include the docs for gst_type_register_static_full and
1245 gst_element_class_set_details_simple and add the API keyword
1246 in the ChangeLog.
1248 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1250 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1251 (update_time_level), (gst_single_queue_push_one),
1252 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1253 (single_queue_overrun_cb), (single_queue_underrun_cb),
1254 (single_queue_check_full):
1255 Fix setting max-* properties after adding queues.
1256 Use IS_FILLED for checking visible items.
1257 Signal overrun if multiple queues overrun.
1258 Add extra debug output.
1259 Patch by: Wim Taymans <wim@fluendo.com>
1261 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1263 * gst/gstelement.c: (gst_element_class_set_details_simple):
1264 * gst/gstelement.h:
1265 * gst/gstutils.c: (gst_type_register_static_full):
1266 * gst/gstutils.h:
1267 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1268 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1269 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1270 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1271 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1272 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1273 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1274 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1275 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1276 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1277 (apply_buffer), (gst_queue_chain):
1278 * plugins/elements/gsttee.c: (gst_tee_base_init):
1279 * plugins/elements/gsttypefindelement.c:
1280 (gst_type_find_element_base_init),
1281 (gst_type_find_element_class_init):
1282 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1283 API: add gst_type_register_static_full
1284 API: add gst_element_class_set_details_simple
1286 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1288 * docs/pwg/advanced-types.xml:
1289 Fix typo in iana.org URI.
1291 2007-06-19 Andy Wingo <wingo@pobox.com>
1293 * tests/check/pipelines/simple-launch-lines.c
1294 (test_state_change_returns): Enable pull-mode tests now that
1295 basesink has been fixed.
1297 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1298 Changed from gst_base_sink_is_prerolled, reversing the sense of
1299 the return value. Returns FALSE also if the sink is in pull mode,
1300 in which case it needs no preroll.
1301 (gst_base_sink_query, gst_base_sink_change_state): Update for
1302 needs_preroll change.
1303 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1304 chaining up, in which we return SUCCESS directly if we activated
1305 in pull mode instead of ASYNC. Involves countering an async_start
1306 message sent before chaining up; not sure if this is correct, in
1307 an ideal world we only send async-start when activating in push
1308 mode.
1310 * tests/check/pipelines/simple-launch-lines.c
1311 (test_state_change_returns): New test, partially disabled until
1312 basesink is fixed.
1314 2007-06-19 Wim Taymans <wim@fluendo.com>
1316 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1317 (gst_multi_queue_sink_event):
1318 Fix event leak.
1320 2007-06-19 Wim Taymans <wim@fluendo.com>
1322 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1323 (gst_bin_change_state_func), (bin_push_state_continue),
1324 (bin_handle_async_start), (bin_handle_async_done),
1325 (gst_bin_handle_message_func):
1326 Move the common code for posting state-change messages into
1327 one function.
1328 Broadcast the state signal after we posted the messages.
1329 Mark the bin as busy when it's doing a state-change.
1330 Make sure async-start/done messages don't interfere with the bin's
1331 state when it's busy.
1332 After the state change, let the bin check which elements completed the
1333 state change while it was busy so that it can update its state.
1335 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1337 * docs/random/release:
1338 Add a note about updating the doap file to the release checklist
1340 2007-06-18 Wim Taymans <wim@fluendo.com>
1342 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1343 (gst_single_queue_push_one), (gst_multi_queue_chain),
1344 (gst_multi_queue_sink_event):
1345 Make sure we don't reference the buffer/event after we have given away
1346 ownership in the queue.
1348 2007-06-18 Wim Taymans <wim@fluendo.com>
1350 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1351 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1352 Update queue state _after_ adding the item in the queue because else we
1353 could end up being full without the element added yet.
1355 2007-06-18 Wim Taymans <wim@fluendo.com>
1357 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1358 (gst_bin_remove_func), (gst_bin_get_state_func),
1359 (gst_bin_element_set_state), (gst_bin_continue_func),
1360 (bin_push_state_continue), (bin_handle_async_start),
1361 (bin_handle_async_done), (gst_bin_handle_message_func):
1362 * gst/gstbin.h:
1363 Immediatly commit the toplevel bin state when receiving an async-done
1364 message. This enables us to avoid spawning a thread to commit the state
1365 in some common cases and it also avoids some races.
1366 Avoid spawning a state thread when adding/removing async elements to a
1367 toplevel bin. Instead we immediatly update the bin state.
1368 Get rid of iterating all the children when getting the state in the bin
1369 because it is now always up-to-date.
1370 Fix bug where locked elements would always return _SUCCESS even it they
1371 returned NO_PREROLL before being locked.
1372 Fix the order of the state_change, async-start/done messages that was
1373 sometimes incorrect.
1374 Mark the state_dirty field as deprecated, we don't need it anymore as we
1375 are always up-to-date.
1377 * gst/gstelement.c: (gst_element_get_state_func),
1378 (gst_element_continue_state):
1379 Small debug inprovements.
1380 Return the previous element state return when nothing is pending instead
1381 of blindly returning SUCCESS.
1383 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1384 (gst_sinks_suite):
1385 Add a whole bunch of new testcases.
1387 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1389 * po/uk.po:
1390 * po/vi.po:
1391 Update translations.
1393 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1395 * gst/gstpad.c:
1396 Fix typo in the docs.
1398 2007-06-15 Wim Taymans <wim@fluendo.com>
1400 * docs/libs/gstreamer-libs-sections.txt:
1401 Add docs for new methods.
1403 2007-06-15 Wim Taymans <wim@fluendo.com>
1405 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1406 (gst_multi_queue_item_new):
1407 Don't use GSlice because we don't depend on >= 2.10 yet.
1409 2007-06-15 Wim Taymans <wim@fluendo.com>
1411 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1412 (update_time_level), (apply_segment), (apply_buffer),
1413 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1414 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1415 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1416 (single_queue_underrun_cb), (single_queue_check_full):
1417 Remove debug printf.
1419 2007-06-15 Wim Taymans <wim@fluendo.com>
1421 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1422 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1423 (gst_data_queue_set_flushing), (gst_data_queue_push),
1424 (gst_data_queue_pop), (gst_data_queue_drop_head),
1425 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1426 * libs/gst/base/gstdataqueue.h:
1427 Various cleanups.
1428 Added methods to get the current levels and to inform the queue that the
1429 'full' limits changed.
1431 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1432 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1433 (gst_single_queue_flush), (update_time_level), (apply_segment),
1434 (apply_buffer), (gst_single_queue_push_one),
1435 (gst_multi_queue_item_steal_object),
1436 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1437 (gst_multi_queue_loop), (gst_multi_queue_chain),
1438 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1439 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1440 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1441 (single_queue_underrun_cb), (single_queue_check_full),
1442 (gst_single_queue_new):
1443 Keep track of time in the queue by measuring the difference between
1444 running_time on input and output. This gives more accurate results and
1445 can compensate for segments correctly.
1446 Make a queue by default only 5 buffers deep. We will now increase the
1447 buffer size depending on the filledness of the other queues.
1448 Factor out commong flush code.
1449 Make sure we don't add additional refcounts to buffers when we can avoid
1450 it.
1451 Propagate GstFlowReturn differently.
1452 Use GSlice for intermediate GstMultiQueueItems.
1453 Keep track of EOS.
1454 Resize queues on over and underruns based on filled level of other
1455 queues.
1456 When checking if the queue is filled, prefer to measure in time if we
1457 can and fall back to bytes when no time is known.
1459 * plugins/elements/gstqueue.c:
1460 Fix return value.
1462 2007-06-15 Wim Taymans <wim@fluendo.com>
1464 * libs/gst/base/gstbasetransform.c:
1465 (gst_base_transform_sink_event):
1466 Work around the brokenness of the event vmethod in basetransform. Prefer
1467 to return TRUE when the subclass returned FALSE (meaning don't forward
1468 the event).
1470 * libs/gst/base/gstbasetransform.h:
1471 Clarify the docs.
1473 2007-06-15 Wim Taymans <wim@fluendo.com>
1475 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1476 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1477 (gst_base_src_default_query), (gst_base_src_get_range),
1478 (gst_base_src_start):
1479 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1480 Improve debugging.
1482 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1484 * docs/pwg/advanced-types.xml:
1485 Added more formats to caps table.
1487 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1489 * tools/gst-launch.c: (main):
1490 Remove crufy code. GOption does not need this workaround.
1492 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1494 * libs/gst/controller/gstcontroller.c:
1495 (gst_controlled_property_set_interpolation_mode):
1496 Fix wrong getter for enums in controller.
1498 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1500 * libs/gst/check/gstcheck.c: (gst_check_init):
1501 Intercept criticals and warnings in the Gst-Phonon log domain, so
1502 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1503 well.
1505 2007-06-14 Edward Hervey <edward@fluendo.com>
1507 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1508 Since this file doesn't include "gst.h" it will not go through the
1509 macros that disable GST_LOG if debugging was disabled.
1511 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1513 * libs/gst/check/Makefile.am:
1514 * libs/gst/check/gstcheck.h:
1515 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1516 * pkgconfig/gstreamer-check.pc.in:
1517 Ugly 'fix' for the controller unit test on the p5 bot: in
1518 fail_unless_equals_float() check whether the values are 'almost
1519 equal' by allowing a small absolute error, which should be good
1520 enough for our use cases (normal numbers and values close to 0).
1521 Proper fixage left to floating point arithmetic aficionados.
1523 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1525 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1526 (gst_base_sink_render_object), (gst_base_sink_get_position):
1527 Add two breaks thats where missing.
1529 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1531 * docs/libs/gstreamer-libs-sections.txt:
1532 * libs/gst/check/gstcheck.h:
1533 API: add fail_unless_equals_float() and assert_equals_float().
1534 Add documentation for some of the macros.
1536 * tests/check/libs/controller.c: (GST_START_TEST):
1537 Use newly-added asserts.
1539 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1541 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1542 Show the caps change in the log to help spotting the case of not
1543 exactly matching caps.
1545 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1547 * docs/pwg/building-boiler.xml:
1548 Fix typos, spotted by Thijs Vermeir (#447190).
1550 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1552 * docs/plugins/tmpl/.cvsignore:
1553 Ignore file to keep the buildbots happy
1555 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1557 * docs/plugins/Makefile.am:
1558 * docs/plugins/gstreamer-plugins-docs.sgml:
1559 * docs/plugins/gstreamer-plugins-sections.txt:
1560 Pull fdsink into the docs too.
1562 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1564 * libs/gst/controller/gstinterpolation.c:
1565 Actually use the new functions with min/max checks for the trigger and
1566 none interpolation modes for get() and get_value_array() instead of
1567 just the latter.
1569 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1571 * libs/gst/controller/gstcontroller.c:
1572 (gst_controlled_property_free):
1573 Unset the minimum and maximum GValues when freeing the corresponding
1574 GstControllerProperty struct.
1576 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1578 * libs/gst/controller/gstcontroller.c:
1579 (gst_controlled_property_new):
1580 * libs/gst/controller/gstcontrollerprivate.h:
1581 * libs/gst/controller/gstinterpolation.c:
1582 (gst_controlled_property_find_control_point_node),
1583 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1584 (interpolate_none_get_string_value_array),
1585 (interpolate_trigger_get),
1586 (interpolate_trigger_get_enum_value_array),
1587 (interpolate_trigger_get_string_value_array):
1588 Protect against values larger or smaller than the minimum or maximum
1589 allowed value for the property when using values that can be compared.
1591 Optimize trigger interpolator a bit by taking the last requested value
1592 into account instead of always looping through the complete list.
1594 Fix coding style a bit, everywhere else we use "return foo" instead
1595 of "return (foo)".
1597 * tests/check/libs/controller.c: (GST_START_TEST),
1598 (gst_controller_suite):
1599 Add unit test for the protection against too large or too small
1600 values.
1602 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1604 * docs/random/slomo/controller.txt:
1605 Add some thoughts about the future of the controller.
1607 2007-06-08 Wim Taymans <wim@fluendo.com>
1609 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1610 Don't overflow in retimestamping code.
1612 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1614 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1615 Use gst_util_guint64_to_gdouble for conversions.
1616 * win32/common/libgstreamer.def:
1617 Add new exported functions.
1619 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1621 * gst/gstutils.c:
1622 Small docs addition.
1624 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1626 * README:
1627 Remove that test line again.
1629 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1631 * README:
1632 Test commit mail sending.
1634 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1636 * configure.ac:
1637 Fix typo and test commit mail sending.
1639 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1641 * tests/examples/controller/audio-example.c:
1642 Improve comment and test commit mail sending.
1644 2007-06-07 Wim Taymans <wim@fluendo.com>
1646 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1647 (gst_bin_remove_func), (gst_bin_element_set_state),
1648 (bin_handle_async_start), (bin_handle_async_done),
1649 (gst_bin_handle_message_func):
1650 Add helper function to find messages.
1651 Generate the async-done messages together with the state change
1652 messages.
1653 Small cleanups in handling toplevel bins.
1655 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1657 * libs/gst/base/gstdataqueue.c:
1658 * libs/gst/base/gstdataqueue.h:
1659 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1660 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1661 (gst_multi_queue_sink_event):
1662 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1663 Fix multiqueue leaking buffers and events when downstream or the
1664 queue are flushing. Make refcounting assumptions explicit and
1665 document them (shouldn't break existing code that uses it other than
1666 maybe leak miniobjects, but that already happens anyway). Add unit
1667 test for the most common flushing case. Fixes #423700.
1669 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1671 * libs/gst/controller/gstcontroller.c:
1672 Clarify docs: The get_all, get_value_array(s) functions
1673 don't modify the GObject properties.
1675 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1677 * libs/gst/controller/gstcontroller.c:
1678 (gst_controlled_property_set_interpolation_mode),
1679 (gst_controlled_property_prepend_default),
1680 (gst_controlled_property_new), (gst_controller_set_unlocked),
1681 (gst_controller_set), (gst_controller_set_from_list),
1682 (gst_controller_unset), (gst_controller_unset_all):
1683 * libs/gst/controller/gstcontrollerprivate.h:
1684 * libs/gst/controller/gstinterpolation.c:
1685 Factor out the 'set' logic into gst_controller_set_unlocked for the
1686 gst_controller_set and gst_controller_set_from_list functions.
1688 To make life of the interpolators easier always add a control point
1689 at timestamp zero with the default value.
1691 In the linear interpolator make things more obvious by better variable
1692 naming (slope).
1694 Implement cubic interpolation mode (by using a natural cubic spline)
1695 and map the quadratic interpolation mode to this too (as quadratic
1696 doesn't make much sense, see discussion on the list).
1698 * tests/check/libs/controller.c: (GST_START_TEST),
1699 (gst_controller_suite):
1700 Add unit test for the cubic interpolation mode and check everywhere
1701 if the interpolation mode could be set as expected.
1703 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1705 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1706 Don't use GLib-2.10 functions, we still depend on
1707 GLib-how-old-is-it-again-2.8.
1709 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1711 * docs/gst/gstreamer-sections.txt:
1712 * gst/Makefile.am:
1713 * gst/gst.c:
1714 * gst/gst.h:
1715 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1716 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1717 (_gst_param_fraction_values_cmp),
1718 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1719 * gst/gstparamspecs.h:
1720 * gst/gstvalue.c:
1721 * tests/check/Makefile.am:
1722 * tests/check/gst/.cvsignore:
1723 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1724 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1725 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1726 (GST_START_TEST), (gst_param_spec_suite):
1727 API: add GstParamSpecFraction, so elements can have fraction
1728 properties without lots of painful string parsing (#444648).
1730 2007-06-05 Wim Taymans <wim@fluendo.com>
1732 * gst/gstobject.c: (gst_object_class_init):
1733 Fix signal signature.
1735 * gst/gstsegment.c:
1736 Add small clarification in the api docs.
1738 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1739 States are protected with object lock.
1741 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1743 * AUTHORS:
1744 I should probably be listed as an author by now.
1746 * docs/random/release:
1747 Update the release doc
1749 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1751 * gst/gstvalue.c:
1752 Make docs for gst_value_compare() mention return enums that
1753 actually exist.
1755 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1757 * configure.ac:
1758 Back to CVS
1760 === release 0.10.13 ===
1762 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1764 * configure.ac:
1765 releasing 0.10.13, "With or without you"
1767 2007-05-25 Wim Taymans <wim@fluendo.com>
1769 * gst/gstbin.c: (bin_handle_async_done):
1770 Make sure that the child bin stops after completing the async state
1771 change so that the parent can continue the state change to PLAYING.
1772 Fixes #441159.
1774 2007-05-25 Wim Taymans <wim@fluendo.com>
1776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1777 (unref_data), (gst_collect_pads_remove_pad),
1778 (gst_collect_pads_check_pads):
1779 Use additional refcounting to avoid crashes when dynamically adding and
1780 removing pads. Fixes #420206.
1782 2007-05-24 Wim Taymans <wim@fluendo.com>
1784 * tools/gst-launch.c: (event_loop):
1785 When buffering goes from a two digit to a single digit number, make sure
1786 to remove the old second digit by writing a blank over it.
1788 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1790 * libs/gst/base/gstdataqueue.c:
1791 Eliminate tabs and trailing comma in enum list; fix some typos.
1793 2007-05-24 Wim Taymans <wim@fluendo.com>
1795 * tests/check/gst/gstbin.c: (GST_START_TEST):
1796 Allow refcount of 3 and 4 because some state thread might still be busy
1797 with it.
1799 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1801 * plugins/elements/Makefile.am:
1802 * plugins/elements/gstmultiqueue.h:
1803 * plugins/elements/gstqueue.h:
1804 These are not installed headers, no need for padding.
1806 2007-05-24 Wim Taymans <wim@fluendo.com>
1808 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1809 (gst_bin_continue_func):
1810 Enable latency for next release.
1811 Restore STATE_LOCK around recalc_state that was left out during the
1812 rewrite and could result in racy behaviour when _get_state and
1813 recalc_state are run concurrently. See #440463.
1815 2007-05-23 Wim Taymans <wim@fluendo.com>
1817 * tests/check/gst/gstsystemclock.c: (store_callback),
1818 (GST_START_TEST):
1819 Improve test_async_order to also work when both timers are already
1820 expired when we get scheduled to check it.
1822 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1824 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1825 (gst_bin_set_property), (gst_bin_get_property),
1826 (gst_bin_remove_func), (gst_bin_handle_message_func):
1827 * gst/gstbin.h:
1828 'private' is a c++ keyword, let's not use that in header files,
1829 otherwise c++ compilers will throw a tantrum.
1831 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1833 * plugins/elements/gstelements.c:
1834 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1835 (gst_file_sink_get_current_offset):
1836 * plugins/indexers/gstindexers.c: (plugin_init):
1837 Use #ifdef for HAVE_XYZ for consistency.
1839 * tests/check/Makefile.am:
1840 * tests/check/elements/.cvsignore:
1841 * tests/check/elements/filesink.c: (setup_filesink),
1842 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1843 Add some unit tests for filesink.
1845 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1847 Patch by: Mark Nauwelaerts <manauw at skynet be>
1849 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1850 (gst_file_sink_query), (gst_file_sink_do_seek),
1851 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1852 * plugins/elements/gstfilesink.h:
1853 Fix position reporting; rename data_written member to current_pos to
1854 reflect its real meaning (fixes #412648).
1856 2007-05-22 Edward Hervey <edward@fluendo.com>
1858 * docs/gst/gstreamer-sections.txt:
1859 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1860 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1861 (gst_bin_remove_func), (gst_bin_handle_message_func):
1862 * gst/gstbin.h:
1863 Add a property for bins that handle the state change of their childs.
1864 Fixes #435880
1866 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1868 * libs/gst/controller/gstinterpolation.c:
1869 Use an array of the correct type when using _get_value_array with
1870 linear interpolation.
1872 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1874 * gst/gstelement.c (gst_element_requires_clock,
1875 gst_element_provides_clock, gst_element_request_pad,
1876 gst_element_class_set_details, gst_element_class_set_details_simple,
1877 gst_element_default_send_event, gst_element_abort_state,
1878 gst_element_continue_state, gst_element_set_state,
1879 gst_element_set_state_func, iterator_activate_fold_with_resync):
1880 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1881 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1882 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1883 gst_pad_get_range, gst_pad_pull_range):
1884 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1885 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1886 GstPadActivateModeFunction, GstPadChainFunction,
1887 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1888 GstPadFixateCapsFunction, GstPadTemplate):
1889 * gst/gstpipeline.c (gst_pipeline_change_state,
1890 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1891 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1892 gst_pipeline_get_delay):
1893 Whitespace and docs fixes.
1895 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1897 * libs/gst/controller/gstinterpolation.c:
1898 (interpolate_trigger_get_enum_value_array),
1899 (interpolate_trigger_get_string_value_array):
1900 Add support for retrieving value arrays when using the trigger
1901 interpolation mode.
1903 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1905 * libs/gst/controller/gstcontroller.c:
1906 (gst_controller_get_value_array):
1907 * libs/gst/controller/gstcontroller.h:
1908 Clarify the docs of gst_controller_get_value_array(): The array where
1909 the values should be written to must be allocated as there seems to be
1910 no way to get the size of a random GType. This doesn't change any
1911 behaviour. Also fix some typos all over the place and remove an unused,
1912 commented function that is not necessary as g_object_set() could be
1913 used instead.
1914 * tests/check/libs/controller.c: (GST_START_TEST),
1915 (gst_controller_suite):
1916 Add unit test for gst_controller_get_value_array().
1918 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1920 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1922 Disable part of the gst_buffer_try_new_and_alloc test, because
1923 it can happily succeed on 64-bit systems where there's more address
1924 space available.
1926 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1928 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1929 Add unit test for the improved caps checking from bug #421543.
1931 2007-05-21 Wim Taymans <wim@fluendo.com>
1933 * docs/design/part-synchronisation.txt:
1934 Small addition.
1936 * gst/gstbin.c: (gst_bin_query):
1937 * plugins/elements/gstqueue.c: (apply_segment):
1938 Improve debugging.
1940 * gst/gstmessage.h:
1941 Improve docs.
1943 2007-05-21 Wim Taymans <wim@fluendo.com>
1945 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1946 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1947 (gst_pad_configure_src):
1948 Added simple version of improved caps checking. It was previously
1949 assumed that a setcaps function would check the validity of the caps but
1950 people prefer us to check caps against the template automatically.
1951 Fixes #421543.
1953 2007-05-21 Wim Taymans <wim@fluendo.com>
1955 * libs/gst/base/gstbasetransform.h:
1956 Fix macro for locking/unlocking the transform lock.
1958 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1960 * docs/plugins/tmpl/.cvsignore:
1961 Ignore more.
1963 2007-05-18 Edward Hervey <edward@fluendo.com>
1965 * plugins/elements/gstqueue.c: (gst_queue_loop):
1966 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1967 for the subtle art of warning a potentially blocking thread that it
1968 should check the source pad return value, and relay the information
1969 upstream.
1971 2007-05-18 Edward Hervey <edward@fluendo.com>
1973 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1974 Release the queue lock !
1976 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1978 * docs/libs/gstreamer-libs-sections.txt:
1979 Add the two new controller functions to the appropiate places.
1981 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1983 reviewed by: Stefan Kost <ensonic@users.sf.net>
1985 * libs/gst/controller/gstcontroller.c:
1986 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1987 (_gst_controller_get_property), (_gst_controller_set_property),
1988 (_gst_controller_init), (_gst_controller_class_init):
1989 * libs/gst/controller/gstcontroller.h:
1990 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1991 (gst_object_get_control_rate), (gst_object_set_control_rate):
1992 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1993 Add API that provides sync suggestion timestamps for elements that
1994 call gst_object_sync_values() from which those elements can subdivide
1995 their processing loop to get the best results for the controlled
1996 properties. For now it just suggests last_sync + control_rate as
1997 new timestamp but this will be improved in the future.
1999 While doing that change the control-rate property to a GstClockTime
2000 from guint and change it's meaning from samples to nanoseconds as
2001 the GstController doesn't know anything about sampling rate. Strictly
2002 speaking this breaks ABI but as the control-rate property didn't do
2003 anything in the past and as such couldn't be used this should be no
2004 problem.
2006 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2008 reviewed by: Stefan Kost <ensonic@users.sf.net>
2010 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2011 (gst_controller_unset_all):
2012 * libs/gst/controller/gstcontrollerprivate.h:
2013 * libs/gst/controller/gstinterpolation.c:
2014 (gst_controlled_property_find_control_point_node):
2015 Save last synced value from the list to continue searching from there
2016 in future syncs. This speeds everything up a bit.
2018 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2020 reviewed by: Stefan Kost <ensonic@users.sf.net>
2022 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2023 (gst_control_point_find), (gst_controlled_property_new),
2024 (gst_control_point_free), (gst_controlled_property_free),
2025 (gst_controller_set), (gst_controller_set_from_list),
2026 (gst_controller_unset), (gst_controller_unset_all),
2027 (gst_controller_sync_values):
2028 * libs/gst/controller/gstcontroller.h:
2029 * libs/gst/controller/gstcontrollerprivate.h:
2030 * libs/gst/controller/gstinterpolation.c:
2031 (gst_controlled_property_find_control_point_node),
2032 (interpolate_none_get), (interpolate_trigger_get):
2033 Add a new private GstControlPoint struct which "inherits" from
2034 GstTimedValue to allow different interpolators to store internal
2035 values next to each control point. From the outside everything is
2036 still a GstControlPoint so we don't loose binary compatibility.
2037 Also fixup all the GValue handling to not leak GValues or list nodes.
2038 * tests/check/libs/controller.c: (GST_START_TEST):
2039 Free the list nodes and GValues in the controller_misc test.
2041 2007-05-17 Edward Hervey <edward@fluendo.com>
2043 * gst/gstsegment.c:
2044 Small doc fix.
2046 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2048 * gst/gstplugin.c: (gst_plugin_load_file):
2049 If we fail to load a plugin because of unresolved symbols or missing
2050 libraries and spew a warning to stderr, we may just as well mention
2051 which plugin it was that failed to load.
2053 2007-05-13 David Schleef <ds@schleef.org>
2055 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2056 handles the case when ENABLE_GTK_DOC is false, and installs
2057 the prebuilt documentation. So gtk-doc subdirs are
2058 unconditionally enabled. Fixes: #349099.
2060 2007-05-13 David Schleef <ds@schleef.org>
2062 * gst/gstutils.h: Reword some documentation.
2064 2007-05-12 David Schleef <ds@schleef.org>
2066 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2067 do anything with the passed "module" parameter, so remove it.
2068 Allows removal of additional vestigal code.
2070 2007-05-12 David Schleef <ds@schleef.org>
2072 * gst/gstplugin.c:
2073 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2074 Switch to using g_stat() because it's more portable.
2076 2007-05-12 David Schleef <ds@schleef.org>
2078 * gst/gst.c:
2079 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2080 parsing for embedded systems.
2081 * gst/gstelementfactory.c:
2082 Allow gst_element_register() to be called with plugin==NULL.
2083 Did nobody notice that static elements were broken?
2085 2007-05-12 Wim Taymans <wim@fluendo.com>
2087 * tools/gst-launch.c: (event_loop):
2088 Give more interesting info when buffering starts and stops.
2089 Fix case where buffering starts but we fail to update the buffering flag
2090 because the target state is not PLAYING.
2092 2007-05-12 Wim Taymans <wim@fluendo.com>
2094 * plugins/elements/gstqueue.c: (gst_queue_init),
2095 (gst_queue_finalize), (update_time_level), (apply_segment),
2096 (apply_buffer), (gst_queue_locked_flush),
2097 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2098 (gst_queue_handle_sink_event), (gst_queue_chain),
2099 (gst_queue_push_one), (gst_queue_loop):
2100 * plugins/elements/gstqueue.h:
2101 Refactor an cleanup queue a bit.
2102 Do better time level calculations that also work when the srcpad is not
2103 yet running.
2104 Remove some unneeded debug lines.
2106 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2107 Added testcase for time level measurement.
2108 Try to make some stuff more racefree.
2110 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2112 * gst/gsturi.c: (gst_element_make_from_uri):
2113 Don't leak plugin feature.
2115 * tests/check/Makefile.am:
2116 * tests/check/gst/.cvsignore:
2117 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2118 Add brain-dead unit test.
2120 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2122 Patch by: Jeroen Wouters <woutersj at gmail com>
2124 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2125 Treat protocol strings in a case-insensitive way (#437563).
2127 2007-05-11 Michael Smith <msmith@fluendo.com>
2129 * gst/gstplugin.c: (gst_plugin_load_file):
2130 * gst/gstregistry.c: (gst_registry_scan_path_level):
2131 Don't print a g_warning for any failure to load a shared object.
2132 Instead, push this down into gstplugin.c, and warn _only_ if we
2133 failed to open the module (i.e. failure to link).
2134 Avoids warnings on normal, working, non-plugin .so files.
2136 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2138 * gst/gstplugin.c (gst_plugin_load_file):
2139 * gst/gstregistry.c (GST_CAT_DEFAULT,
2140 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2141 Print a g_warning if there was an error when loading a plugins during
2142 registry scan. The shuld help beginners starting with gst-plugin
2143 template.
2145 2007-05-10 Wim Taymans <wim@fluendo.com>
2147 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2148 (update_time_level), (gst_queue_locked_flush),
2149 (gst_queue_handle_sink_event), (gst_queue_chain),
2150 (gst_queue_push_one), (gst_queue_loop):
2151 * plugins/elements/gstqueue.h:
2152 Be smarter when calculating the current amount of data in the queue by
2153 measuring the difference between start and end timestamps (in running
2154 time) inside the queue. Fixes #432876.
2155 API: GstQueue::pushing to notify elements that we are pushing data again
2156 since the running signal is rather broken for this purpose.
2158 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2160 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2161 gst_queue_base_init, gst_queue_init):
2162 use GST_BOILERPLATE
2164 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2166 * win32/common/libgstreamer.def:
2167 Add new exported functions.
2168 * win32/vs6/grammar.dsp:
2169 Use grammar pre-generated files.
2171 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2173 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2175 * gst/Makefile.am:
2176 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2177 * gst/gstparse.h:
2178 * gst/gstutils.c: (gst_parse_bin_from_description):
2179 * gst/gstutils.h:
2180 Maintain API and ABI when --disable-parse is used. Now that
2181 we have an appropriate error code, we can just return NULL and the
2182 appropriate error when gst_parse_launch() is used despite it having
2183 been disabled (#342564).
2185 * tests/check/Makefile.am:
2186 * tests/check/pipelines/.cvsignore:
2187 * tests/check/pipelines/parse-disabled.c:
2188 Make sure these functions exist and return NULL plus a GError when
2189 --disable-parse is used.
2191 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2193 * tests/benchmarks/complexity.c: (main):
2194 * tests/benchmarks/mass-elements.c: (main):
2195 Set a good example and don't leak messages.
2197 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2199 * docs/gst/Makefile.am:
2200 * docs/libs/Makefile.am:
2201 Correct fixxrefs options.
2203 * docs/plugins/Makefile.am:
2204 * docs/plugins/gstreamer-plugins-docs.sgml:
2205 * docs/plugins/gstreamer-plugins-sections.txt:
2206 * plugins/elements/Makefile.am:
2207 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2208 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2209 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2210 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2211 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2212 _GstCapsFilterClass, trans_class):
2213 * plugins/elements/gstelements.c (name, rank, type, _elements):
2214 * plugins/elements/gstidentity.c
2215 (gst_identity_check_imperfect_timestamp,
2216 gst_identity_check_imperfect_offset):
2217 Document capsfilter and add doc-blurb to identity.
2219 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2221 * libs/gst/controller/gstcontroller.c:
2222 (gst_controlled_property_set_interpolation_mode):
2223 * libs/gst/controller/gstinterpolation.c:
2224 Don't crash if someone tries to set an interpolation mode that
2225 is invalid or that isn't supported yet. Fixes #422295.
2227 * tests/check/libs/controller.c: (GST_START_TEST),
2228 (gst_controller_suite):
2229 Add a test case for the above.
2231 2007-05-03 Edward Hervey <edward@fluendo.com>
2233 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2234 Properly set the last_stop position on GstSegment. This will only happen
2235 if there is a buffer to push out.
2237 2007-05-03 Wim Taymans <wim@fluendo.com>
2239 * libs/gst/base/gstbasetransform.c:
2240 (gst_base_transform_buffer_alloc):
2241 always_in_place does not mean that the sink and source caps are the
2242 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2244 2007-05-03 Wim Taymans <wim@fluendo.com>
2246 * docs/libs/gstreamer-libs-sections.txt:
2247 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2248 (gst_base_src_default_query), (gst_base_src_get_range):
2249 * libs/gst/base/gstbasesrc.h:
2250 API: gst_base_src_query_latency(). Added method so that subclasses can
2251 easily get the latency values of the base source class.
2253 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2255 * tools/gst-inspect.c (print_implementation_info):
2256 Remove 0.8 cruft.
2258 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2260 * tools/Makefile.am:
2261 * tools/gst-launch.1.in:
2262 Don't create a customised man page based on the host architecture,
2263 describe the default registry path generically. That way the man
2264 page is the same for all architectures and packagers have one
2265 multilib issue less to deal with. Fixes #434926.
2267 2007-05-02 Wim Taymans <wim@fluendo.com>
2269 * gst/gstpad.c:
2270 Fix documentation as spotted by rg on IRC.
2272 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2274 * gst/gstutils.c:
2275 Improve docs for gst_element_{link,unlink}.
2277 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2279 * docs/design/part-events.txt:
2280 * docs/design/part-overview.txt:
2281 * gst/gstevent.c:
2282 * gst/gsturi.c:
2283 * gst/gsturi.h:
2284 * libs/gst/base/gstbasesink.c:
2285 Typo fixes; minor docs addition.
2287 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2289 * docs/gst/gstreamer-sections.txt:
2290 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2291 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2292 * gst/gsturi.h:
2293 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2294 or src that supports a given URI protocol exists.
2296 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2298 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2299 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2300 Set the location to NULL if "file://" is set as URI. Otherwise
2301 some random previous URI would still be set if "file://" is
2302 set on an already used filesink/filesrc.
2304 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2306 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2307 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2308 Special case the "file://" URI as as this is used by some
2309 applications to test with gst_element_make_from_uri if there's
2310 an element that supports the URI protocol.
2311 Also move the g_path_is_absolute() check for the location part
2312 of the URI to also check this for "file://localhost/bla" URIs.
2314 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2316 * docs/gst/gstreamer-sections.txt:
2317 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2318 * gst/gstbuffer.h:
2319 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2320 (gst_buffer_suite):
2321 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2323 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2325 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2326 (gst_registry_binary_load_pad_template),
2327 (gst_registry_binary_load_plugin),
2328 (gst_registry_binary_read_cache):
2329 * gst/gstregistrybinary.h:
2330 Implement no-mmap alternative for registry reading. Do code cleanups.
2331 Add more comments about avoiding strdups for all text data. Comments
2332 welcome.
2334 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2336 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2337 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2338 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2339 Comment structs and reformat to fix the build (that stuff should go
2340 into a priv. header).
2342 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2344 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2345 (gst_registry_binary_load_feature):
2346 * gst/gstregistrybinary.h:
2347 Refactor so that we can implement multiple features. Add support for
2348 TypeFindFactory features.
2350 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2352 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2354 * configure.ac:
2355 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2357 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2359 * gst/gstbin.c: (gst_bin_element_set_state),
2360 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2361 (bin_handle_async_done), (gst_bin_handle_message_func):
2362 Fix build with --gst-disable-gst-debug
2364 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2366 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2367 Make sure streaming has finished before calling the ::stop() vfunc,
2368 since that vfunc might clear state which is being used in the
2369 streaming thread. This fixes a race that caused crashes in
2370 audioresample when shutting down a pipeline (#420106).
2372 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2374 * docs/gst/gstreamer-sections.txt:
2375 That was one byte missing.
2377 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2379 * configure.ac:
2380 * docs/gst/gstreamer-sections.txt:
2381 * gst/Makefile.am:
2382 * gst/gstconfig.h.in:
2383 * gst/gstobject.c: (gst_object_class_init),
2384 (gst_signal_object_class_init):
2385 * gst/gstobject.h:
2386 2nd attempt to have a xml-less build as a joined effort of #413123
2387 and #421480.
2389 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2391 * docs/design/draft-tagreading.txt:
2392 Added open issues/thoughts to draft.
2394 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2396 * gst/parse/grammar.tab.pre.c:
2397 * gst/parse/grammar.tab.pre.h:
2398 * gst/parse/lex._gst_parse_yy.pre.c:
2399 Update the prebuild parser sources.
2401 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2403 * gst/parse/Makefile.am:
2404 And now fix the building of the flex sources. Now everything should
2405 work as expected.
2407 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2409 * gst/parse/Makefile.am:
2410 Now hopefully fix the build failures by setting proper rule
2411 dependencies and moving instead of copying.
2413 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2415 * tests/benchmarks/complexity.gnuplot:
2416 * tests/benchmarks/complexity.scm:
2417 * tests/benchmarks/mass-elements.gnuplot:
2418 * tests/benchmarks/mass-elements.scm:
2419 Total licensification.
2421 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2423 * gst/parse/Makefile.am:
2424 Fix the build by correcting the rule that gave wrong files to flex.
2426 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2428 * tests/benchmarks/complexity.c:
2429 * tests/benchmarks/mass-elements.c:
2430 Change licence to LGPL as granted by Benjamin and Andy.
2432 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2434 * gst/parse/Makefile.am:
2435 Add correct grammar.tab.h dependency if compiling without new enough
2436 flex. Fixes #431150.
2438 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2440 * gst/parse/Makefile.am:
2441 Fix typo and use outdated sources if the flex/bison sources are newer
2442 than the pregenerated ones but flex is too old. Print a warning in
2443 that case. This should fix the build on the build bot.
2445 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2447 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2448 * gst/parse/Makefile.am:
2449 * gst/parse/grammar.y:
2450 * gst/parse/parse.l:
2451 Make the parser reentrant and recursively callable. This requires flex
2452 >= 2.5.31, for older versions pregenerated sources are used as we
2453 can't bump the build dependency. Finally fixes #349180.
2455 * gst/gstparse.c: (gst_parse_launch):
2456 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2457 now anyway.
2459 * docs/gst/Makefile.am:
2460 * docs/gst/Makefile.am:
2461 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2462 (__gst_parse_strfree), (__gst_parse_link_new),
2463 (__gst_parse_link_free), (__gst_parse_chain_new),
2464 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2465 (gst_parse_element_set), (gst_parse_free_link),
2466 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2467 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2468 (_gst_parse_launch):
2469 * gst/parse/grammar.tab.pre.h:
2470 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2471 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2472 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2473 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2474 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2475 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2476 (_gst_parse_yypop_buffer_state),
2477 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2478 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2479 (yy_fatal_error), (_gst_parse_yyget_extra),
2480 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2481 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2482 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2483 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2484 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2485 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2486 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2487 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2488 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2489 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2490 (_gst_parse_yyfree):
2491 If the installed flex version is too old use pre-generated parser
2492 sources. These pre-generated parser sources are always updated when
2493 the actual flex/bison sources change but require everybody who wants
2494 to change something in the parser to have flex >= 2.5.31 installed.
2496 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2498 * common/m4/gst-gettext.m4:
2499 * gst/gst-i18n-lib.h:
2500 Make --disable-nls to work
2502 2007-04-17 Wim Taymans <wim@fluendo.com>
2504 * gst/gstconfig.h.in:
2505 Revert previous change that broke the build.
2507 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2509 * configure.ac:
2510 * gst/Makefile.am:
2511 * gst/gstconfig.h.in:
2512 Drop libxml2 dependency when building with
2513 --enable-binary-registry --disable-loadsave
2515 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2517 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2518 (gst_registry_binary_read_cache):
2519 * gst/gstregistrybinary.h:
2520 Remove unnecessary <sys/mman.h> include which broke the win32 build
2521 with MingW; move includes from header file to .c file, even if the
2522 header file isn't installed; use g_strerror() where UTF-8 strings
2523 are expected, such as in GST_DEBUG messages.
2525 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2527 * docs/libs/gstreamer-libs-sections.txt:
2528 Remove bogus addition for API I didn't end up keeping.
2530 * libs/gst/base/gstbasesrc.h:
2531 Mention Since: 0.10.13 in the documentation.
2533 Add the API keyword to the previous ChangeLog entry.
2535 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2537 * docs/libs/gstreamer-libs-sections.txt:
2538 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2539 (gst_base_src_default_prepare_seek_segment),
2540 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2541 * libs/gst/base/gstbasesrc.h:
2542 Allow basesrc derived classes to execute seeks in other formats
2543 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2544 to prepare the GstSegment in any format that their perform_seek method
2545 will be able to understand. The default implementation provides the
2546 old behaviour of attempting to convert the seek offsets to the
2547 configured native format.
2549 API: basesrc::prepare_seek_segment vmethod.
2551 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2553 * gst/gstelement.c: (gst_element_get_state_func):
2554 Don't output the same debug statement twice.
2556 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2557 (gst_adapter_peek), (gst_adapter_take_buffer):
2558 Optimise the case where we have buffers at the head of the queue that
2559 can be joined quickly (because they're contiguous sub-buffers) by
2560 merging them together rather than copying data out into new memory.
2562 * gst/parse/grammar.y:
2563 * tests/check/pipelines/parse-launch.c:
2564 Fix a leak in an error path for parse_launch, and add a check
2565 for it to the testsuite.
2567 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2569 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2570 Don't deadlock when releasing a pad - gst_pad_set_active may try
2571 and take the multiqueue lock too.
2573 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2575 * gst/gsterror.c: (_gst_core_errors_init):
2576 * gst/gsterror.h:
2577 API: add GST_CORE_ERROR_DISABLED (#392804).
2579 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2581 * docs/faq/gst-uninstalled:
2582 don't get empty paths on the PATH variables
2583 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2584 Don't format for the uncommon terminal width of 84 characters.
2586 2007-04-06 Wim Taymans <wim@fluendo.com>
2588 * gst/gstpipeline.c: (reset_stream_time),
2589 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2590 Only try to select a different pipeline clock when we went back to
2591 PAUSED and not when we merely got flushed.
2593 2007-04-05 Michael Smith <msmith@fluendo.com>
2595 * tools/gst-launch.1.in:
2596 fractions are better supported in gstreamer than ractions, so
2597 suggest using those.
2599 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2601 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2603 * po/LINGUAS:
2604 * po/da.po:
2605 Added Danish translation.
2607 2007-04-05 Wim Taymans <wim@fluendo.com>
2609 * libs/gst/base/gstbasesink.c:
2610 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2611 Fix leak caused when refusing newsegment after EOS.
2613 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2614 (gst_fake_sink_init), (gst_fake_sink_set_property),
2615 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2616 (gst_fake_sink_render), (gst_fake_sink_change_state):
2617 * plugins/elements/gstfakesink.h:
2618 Add num-buffers property to make the element generate EOS after a
2619 configurable amount of buffers.
2620 API: fakesink::num-buffers property.
2622 * tests/check/elements/fakesink.c: (GST_START_TEST),
2623 (fakesink_suite):
2624 Fix GstBus leak in test.
2625 Test for fakesink num-buffers.
2627 2007-04-05 Wim Taymans <wim@fluendo.com>
2629 * libs/gst/base/gstbasesink.c:
2630 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2631 (gst_base_sink_change_state):
2632 Don't accept anything after an EOS, return UNEXPECTED instead.
2634 * tests/check/elements/fakesink.c: (GST_START_TEST),
2635 (fakesink_suite):
2636 Unit test for new EOS behaviour.
2638 2007-04-05 Wim Taymans <wim@fluendo.com>
2640 * gst/gstelement.c: (gst_element_get_request_pad):
2641 Make padtemplates also work when they don't contain %s or %d.
2643 2007-04-05 Wim Taymans <wim@fluendo.com>
2645 * docs/gst/gstreamer-sections.txt:
2646 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2647 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2648 * gst/gstclock.h:
2649 Improve _adjust_unlocked() so that it overflows less.
2650 Add gst_clock_unadjust_unlocked to convert from external time to
2651 internal time based on calibration.
2652 Add some more debug.
2653 API: GstClock::gst_clock_unadjust_unlocked()
2655 2007-04-03 Wim Taymans <wim@fluendo.com>
2657 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2659 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2660 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2661 when releasing sink pad. Fixes #425400.
2663 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2665 * docs/random/ensonic/dynlink.txt:
2666 More work on proposal for new core api.
2668 * docs/libs/gstreamer-libs-sections.txt:
2669 * libs/gst/base/gstbasetransform.h:
2670 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2672 * libs/gst/controller/gstcontroller.c:
2673 (on_object_controlled_property_changed),
2674 (gst_controller_sync_values),
2675 (gst_controller_set_interpolation_mode):
2676 * libs/gst/controller/gstcontroller.h:
2677 Less verbose logging add docs for unimplemented parts and correctly
2678 return when using unavailable parts.
2680 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2682 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2683 Move all the debug to the CLOCK category, and associate it with
2684 the clock object.
2686 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2688 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2689 Make take_buffer a bit quicker by removing redundant checks
2690 caused by calling gst_adapter_take.
2692 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2694 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2695 Don't leak GCond.
2697 * tests/check/Makefile.am:
2698 * tests/check/elements/.cvsignore:
2699 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2700 (GST_START_TEST), (multiqueue_suite):
2701 Add some dead simple unit tests for the 'multiqueue' element
2702 (some bits don't work yet and are disabled for now).
2704 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2706 * gst/gstelement.c: (gst_element_get_request_pad),
2707 (gst_element_class_get_request_pad_template):
2708 Make gst_element_get_request_pad() create request pads only for
2709 request pad templates and not for, say, sometimes pad templates.
2711 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2713 * docs/design/draft-klass.txt:
2714 Add example that needs more thinking.
2716 * docs/design/draft-missing-plugins.txt:
2717 More thoughts about wrapper plugins.
2719 * docs/random/ensonic/embedded.txt:
2720 * docs/random/ensonic/profiling.txt:
2721 More design work.
2723 2007-03-25 Wim Taymans <wim@fluendo.com>
2725 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2726 (gst_base_src_loop):
2727 Only push the segment events in the PLAYING state for live sources.
2729 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2731 * gst/gstpipeline.c: (gst_pipeline_change_state):
2732 Modify the clock distribution path in PAUSED->PLAYING so that we
2733 never attempt to choose a new clock unless we're actually leaving
2734 the PAUSED state for the first time. This prevents choosing a
2735 different clock when the state_change gets called for a 2nd time due
2736 to some element doing an async state change.
2738 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2740 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2741 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2742 (gst_pad_chain_unchecked), (gst_pad_push):
2743 Revert last commit. This needs some more thoughts.
2745 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2747 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2748 (gst_pad_chain_unchecked), (gst_pad_push):
2749 Check in set_caps if the caps are compatible with the pad and remove
2750 two functions that are redundant now. Fixes #421543.
2752 2007-03-22 Wim Taymans <wim@fluendo.com>
2754 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2755 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2756 Unref some more to make valgrind happy.
2758 2007-03-22 Wim Taymans <wim@fluendo.com>
2760 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2761 (gst_system_clock_id_wait_jitter),
2762 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2763 Fix anoying regression that survived a few releases. When adding an
2764 async entry while blocking on a sync entry, the sync entry will unblock
2765 but still be busy, so it should continue to wait instead of returning
2766 _BUSY to the app.
2767 Add some comments here and there.
2769 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2770 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2771 Add testcase for this.
2773 2007-03-22 Wim Taymans <wim@fluendo.com>
2775 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2776 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2777 WRONG_STATE and can silently pause the task. All other cases should
2778 error out.
2780 2007-03-22 Wim Taymans <wim@fluendo.com>
2782 Patch by: Ville Syrjala <syrjala at sci dot fi>
2784 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2785 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2786 Improve debugging.
2788 2007-03-21 Michael Smith <msmith@fluendo.com>
2790 * docs/pwg/advanced-types.xml:
2791 Fix some errors in the typefinding docs pointed out on irc.
2793 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2795 * libs/gst/base/gstbasesrc.c:
2796 Clarify FIXME comment in the face of having added unlock_stop()
2798 2007-03-21 Wim Taymans <wim@fluendo.com>
2800 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2801 Prepare for release where we warn against possible app breakage in the
2802 case of live pipelines along with an env var to enable/disable live
2803 preroll mode (GST_COMPAT=[no-]live-preroll).
2805 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2807 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2808 So we should use correct constants for checking for None offset.
2810 2007-03-20 Wim Taymans <wim@fluendo.com>
2812 * docs/design/part-block.txt:
2813 Mention the fact that the newly switched element should be set to at
2814 least PAUSED.
2816 2007-03-20 Wim Taymans <wim@fluendo.com>
2818 * gst/gst.c:
2819 Fix compilation with registry disabled as spotted by Saur.
2821 2007-03-20 Wim Taymans <wim@fluendo.com>
2823 Patch by: Olivier Crete <tester at tester dot ca>
2825 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2826 Look at the pending state too when syncing the element state to the
2827 parent. Fixes #420133.
2829 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2831 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2832 (gst_base_sink_change_state):
2833 * libs/gst/base/gstbasesink.h:
2834 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2835 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2836 (gst_base_src_deactivate):
2837 * libs/gst/base/gstbasesrc.h:
2838 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2839 for sub-classes to correctly clear any state they set trying to
2840 unlock, such as clearing out unlock commands from a command fd.
2841 API: basesrc::unlock_stop
2842 API: basesink::unlock_stop
2844 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2845 (gst_fd_sink_render), (gst_fd_sink_unlock),
2846 (gst_fd_sink_unlock_stop):
2847 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2848 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2849 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2851 Implement unlock_stop in fdsrc and fdsink.
2852 Implement seeking in fdsrc when a seekable fd is passed, as in
2853 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2855 2007-03-19 Wim Taymans <wim@fluendo.com>
2857 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2859 * gst/gstelement.c: (gst_element_class_init):
2860 Fix pad-added and pad-removed signal signatures so that the pad type is
2861 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2863 2007-03-19 Wim Taymans <wim@fluendo.com>
2865 * docs/gst/gstreamer-sections.txt:
2866 Add new element field and method.
2868 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2869 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2870 (gst_bin_recalc_state), (gst_bin_get_state_func),
2871 (gst_bin_element_set_state), (gst_bin_change_state_func),
2872 (gst_bin_continue_func), (bin_bus_handler),
2873 (bin_push_state_continue), (bin_handle_async_start),
2874 (bin_handle_async_done), (gst_bin_handle_message_func):
2875 Make async state changes a bit smarter by using new ASYNC_START and
2876 ASYNC_DONE messages. This reduces the number of times we run the state
2877 recalculation thread.
2878 Don't change state of element with a pending ASYNC_START message.
2879 Deprecate STATE_DIRTY messages.
2881 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2882 (gst_element_get_state_func), (gst_element_continue_state),
2883 (gst_element_lost_state), (gst_element_set_state_func),
2884 (gst_element_change_state):
2885 * gst/gstelement.h:
2886 Keep the state that was last set by the app in a new element field.
2887 Don't allow state changes when handling an element event.
2888 Post ASYNC_START and ASYNC_DONE messages.
2889 Change lost_state so that we go to PAUSED and wait for the parent to set
2890 us to PLAYING again (so latency calculation can be performed)
2891 Export gst_element_change_state() method so that subclasses can use it.
2892 API: gst_element_change_state()
2893 API: GST_STATE_TARGET
2895 * gst/gstpipeline.c: (gst_pipeline_class_init),
2896 (reset_stream_time), (gst_pipeline_change_state),
2897 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2898 Using the new ASYNC_START message we can reset the base_time when
2899 needed. This can then be used to implement base_time redistribution in
2900 flushing seeks so that we can remove the explicit seek handling.
2901 Perform latency query and configuration when going to PLAYING.
2903 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2904 (gst_base_sink_query), (gst_base_sink_change_state):
2905 Post new ASYNC_START/ASYNC_DONE messages.
2907 * tests/check/generic/sinks.c: (GST_START_TEST):
2908 Fix test because the bin will not set the async element to PLAYING right
2909 away.
2911 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2912 Make the message check a little stronger.
2913 Handle ASYNC messages.
2915 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2916 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2917 Expect ASYNC_DONE messages.
2919 2007-03-19 Wim Taymans <wim@fluendo.com>
2921 * docs/gst/gstreamer-sections.txt:
2922 * gst/gstmessage.c: (gst_message_new_async_start),
2923 (gst_message_new_async_done), (gst_message_parse_info),
2924 (gst_message_parse_async_start):
2925 * gst/gstmessage.h:
2926 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2927 support.
2929 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2931 * tools/gst-inspect.c:
2932 (print_plugin_automatic_install_info_codecs):
2933 Now that we don't check for the 'Codec' keyword any longer in the
2934 klass, we shouldn't spew a warning if the klass isn't a decoder or
2935 encoder (since it might be a Source/Network, for example).
2937 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2939 * tools/gst-inspect.c:
2940 (print_plugin_automatic_install_info_codecs):
2941 Don't require decoder/demuxer/depayloader elements or
2942 encoder/muxer/paylader elements to have 'Codec' as part of their
2943 factory class string when introspecting a plugin's capabilities.
2944 draft-klass.txt mentions that it might be removed in future, and
2945 flump3dec doesn't have it as part of its class string, so chances
2946 are others might also not have it.
2948 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2950 * po/af.po:
2951 * po/az.po:
2952 * po/bg.po:
2953 * po/ca.po:
2954 * po/cs.po:
2955 * po/de.po:
2956 * po/en_GB.po:
2957 * po/fr.po:
2958 * po/it.po:
2959 * po/nb.po:
2960 * po/nl.po:
2961 * po/ru.po:
2962 * po/sq.po:
2963 * po/sr.po:
2964 * po/sv.po:
2965 * po/tr.po:
2966 * po/uk.po:
2967 * po/vi.po:
2968 * po/zh_CN.po:
2969 * po/zh_TW.po:
2970 Update translations from translation project
2972 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2974 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2975 (gst_child_proxy_set_property):
2976 Invert precondition check to be alike the ones in the mimiced gobject
2977 api.
2979 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2981 * docs/design/draft-tagreading.txt:
2982 * docs/random/ensonic/audiobaseclasses.txt:
2983 Do some Architect work.
2985 * gst/gstobject.c: (gst_object_set_name):
2986 Add a WARNING.
2988 * gst/gstpad.c:
2989 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2991 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2993 * gst/gstsystemclock.c: (gst_system_clock_init),
2994 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2995 Defer starting the async system clock thread until the first async
2996 wait is scheduled. Fixes #414986.
2998 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3000 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3001 (gst_single_queue_free):
3002 Fix small leak (free GstSingleQueue structure too, not only contents).
3004 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3006 * gst/gstbin.c:(gst_bin_add):
3007 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3008 * win32/common/libgstbase.def:
3009 * win32/common/libgstreamer.def:
3010 Add new exported functions.
3012 2007-03-09 Wim Taymans <wim@fluendo.com>
3014 * docs/plugins/gstreamer-plugins-sections.txt:
3015 Fix GstTee docs.
3017 2007-03-09 Wim Taymans <wim@fluendo.com>
3019 * docs/gst/gstreamer-sections.txt:
3020 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3021 * gst/gstbuffer.h:
3022 Add metadata copy functions. Fixes #393099.
3023 API: gst_buffer_copy_metadata()
3025 * gst/gstutils.c: (gst_buffer_stamp):
3026 * libs/gst/base/gstbasetransform.c:
3027 (gst_base_transform_prepare_output_buffer):
3028 Use new metadata copy functions.
3030 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3032 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3033 (gst_identity_init), (gst_identity_check_perfect),
3034 (gst_identity_check_imperfect_timestamp),
3035 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3036 (gst_identity_set_property), (gst_identity_get_property):
3037 * plugins/elements/gstidentity.h:
3038 Separate out check-imperfect-timestamp and check-imperfect-offset.
3039 Put back check-perfect as it was to keep compatibility.
3041 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3043 * gst/gstelement.c: (gst_element_dispose):
3044 There's no need to warn if VOID_PENDING is not NONE here, as
3045 long as the state is NULL it's ok, and that's checked immediately
3046 above.
3048 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3050 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3051 Fix check for perfect stream to ignore buffers with -1
3052 offsets/offset ends when checking data contiguity.
3054 2007-03-08 Wim Taymans <wim@fluendo.com>
3056 * tools/gst-launch.c: (event_loop):
3057 Print INFO messages.
3059 2007-03-08 Wim Taymans <wim@fluendo.com>
3061 * libs/gst/base/gstbasetransform.c:
3062 (gst_base_transform_sink_eventfunc),
3063 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3064 (gst_base_transform_activate):
3065 * libs/gst/base/gstbasetransform.h:
3066 Add support for dropping buffers with custom GstFlowReturn.
3067 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3068 buffers or dropped buffers.
3070 * docs/libs/gstreamer-libs-sections.txt:
3071 docs for new custom return code.
3073 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3074 Use drop support in base class to implement drop-probability.
3076 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3078 * gst/gst.c: (load_plugin_func):
3079 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3080 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3081 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3082 Remove newlines at end of debug log strings.
3084 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3086 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3087 Only post bus message at max, once per buffer received.
3089 2007-03-07 Wim Taymans <wim@fluendo.com>
3091 * docs/design/Makefile.am:
3092 * docs/design/part-synchronisation.txt:
3093 Add doc about synchronisation
3095 * docs/design/draft-latency.txt:
3096 * docs/design/part-TODO.txt:
3097 * docs/design/part-clocks.txt:
3098 * docs/design/part-events.txt:
3099 * docs/design/part-gstbus.txt:
3100 * docs/design/part-gstpipeline.txt:
3101 * docs/design/part-live-source.txt:
3102 * docs/design/part-messages.txt:
3103 * docs/design/part-overview.txt:
3104 * docs/design/part-streams.txt:
3105 * docs/design/part-trickmodes.txt:
3106 Documentation updates.
3108 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3110 * gstreamer.doap:
3111 Update the doap file.
3113 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3115 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3116 Rename non-perfect to imperfect for Mike and for the sanctity of the
3117 language.
3118 Also make sure bus message gets emitted for data-incontiguities.
3120 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3122 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3123 (gst_identity_start):
3124 * plugins/elements/gstidentity.h:
3125 Emit bus message if check-perfect is true and we encounter a
3126 non-perfect stream between 2 consecutive buffers.
3127 Fixes #415394.
3129 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3131 * configure.ac:
3132 Back to CVS
3134 === release 0.10.12 ===
3136 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3138 * configure.ac:
3139 releasing 0.10.12, "Inevitable Demise"
3141 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3143 * configure.ac:
3144 Version 0.10.11.2 (0.10.12 pre-release)
3145 Bump libtool versioning.
3147 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3149 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3150 Log flow-names and not numbers.
3152 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3154 * configure.ac:
3155 Convert to new AG_GST style.
3157 2007-02-28 Wim Taymans <wim@fluendo.com>
3159 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3160 Don't unref query twice.
3162 2007-02-28 Wim Taymans <wim@fluendo.com>
3164 * gst/gstvalue.c: (gst_value_transform_object_string),
3165 (_gst_value_initialize):
3166 Implement GstObject -> string transform so we print object names
3167 when serializing GValues containing GstObjects.
3169 2007-02-28 Wim Taymans <wim@fluendo.com>
3171 * docs/gst/gstreamer-sections.txt:
3172 Add new stuff to docs.
3174 2007-02-28 Wim Taymans <wim@fluendo.com>
3176 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3177 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3178 (gst_base_sink_change_state):
3179 Improve latency query code.
3180 Don't leak latency events.
3182 * tests/check/gst/gstbin.c: (GST_START_TEST):
3183 Improve debugging.
3185 2007-02-28 Wim Taymans <wim@fluendo.com>
3187 * gst/gstelement.c: (gst_element_message_full),
3188 (gst_element_get_state_func):
3189 * gst/gstelement.h:
3190 Improve docs a little. Added Since: for new macro.
3192 * gst/gstobject.c: (gst_object_sink):
3193 * gst/gstpipeline.c: (gst_pipeline_change_state),
3194 (gst_pipeline_set_new_stream_time):
3195 * gst/gstpipeline.h:
3196 Improve debugging and docs.
3198 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3199 Improve debugging.
3201 2007-02-28 Wim Taymans <wim@fluendo.com>
3203 * gst/gstelement.c: (gst_element_message_full),
3204 (gst_element_set_locked_state), (gst_element_get_state_func),
3205 (gst_element_change_state):
3206 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3207 Documentation updates.
3208 Small code cleanups.
3210 * gst/gstmessage.c: (gst_message_new_info),
3211 (gst_message_parse_info):
3212 * gst/gstmessage.h:
3213 API: gst_message_new_info()
3214 API: gst_message_parse_info()
3215 Add INFO message create and parse code.
3217 2007-02-28 Wim Taymans <wim@fluendo.com>
3219 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3220 (bin_query_latency_done):
3221 Also report the live parameter of a latency query.
3223 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3225 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3226 Copy the current generic/states example from -base and adapt so
3227 we can use the exact same code everywhere.
3228 Check a STATES_IGNORE_ELEMENTS env var which can be used
3229 to ignore certain element factories for this test, which is
3230 what is being done in -base
3231 * tests/check/Makefile.am:
3232 Mention this environment variable.
3234 2007-02-27 Wim Taymans <wim@fluendo.com>
3236 * docs/gst/gstreamer-sections.txt:
3237 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3238 (gst_bus_timed_pop), (gst_bus_pop):
3239 * gst/gstbus.h:
3240 API: gst_bus_timed_pop()
3241 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3242 message to arrive on the bus.
3244 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3245 (gst_bus_suite):
3246 Two unit tests for new _timed_pop() function.
3248 2007-02-23 Wim Taymans <wim@fluendo.com>
3250 * gst/gstpipeline.c: (gst_pipeline_change_state),
3251 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3252 Don't ref a NULL clock in _provide_clock_func().
3253 Don't allow an INVALID delay.
3254 Don't try to calculate base_time with an invalid start_time.
3255 Also distribute and notify a NULL clock when it was selected.
3257 * tools/gst-launch.c: (event_loop):
3258 Don't crash when a NULL clock was selected in the pipeline.
3260 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3262 * docs/design/Makefile.am:
3263 * docs/design/draft-missing-plugins.txt:
3264 * docs/random/draft-missing-plugins.txt:
3265 Some small updates: update plugin system identifier prefix
3266 ('gstreamer.net' to 'gstreamer'), mention our new install
3267 API in libgstbaseutils rather than libgimme-codec, add
3268 reference to the online docs.
3270 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3272 * win32/common/config.h:
3273 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3274 use moap cl ci to only check in what is mentioned in the ChangeLog.
3276 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3278 * docs/gst/gstreamer-sections.txt:
3279 * gst/gstelement.h:
3280 Fix up documentation to link to the correct GstGError section.
3281 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3283 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3285 * tools/gst-launch.c: (event_loop):
3286 Make sure that we actually show the important message part of a
3287 warning message.
3288 No need to check if the gerror is not NULL to free; first of all
3289 g_free accepts NULL; and second the default error handler would
3290 segfault if gerror was NULL.
3292 2007-02-21 Wim Taymans <wim@fluendo.com>
3294 * docs/gst/gstreamer-sections.txt:
3295 Removed docs as well.
3297 2007-02-21 Wim Taymans <wim@fluendo.com>
3299 * gst/gstmessage.c: (gst_message_parse_duration):
3300 * gst/gstmessage.h:
3301 Remove new messages for release.
3303 2007-02-20 Wim Taymans <wim@fluendo.com>
3305 * docs/design/part-gstghostpad.txt:
3306 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3307 (gst_ghost_pad_new_full):
3308 Make the ghostpad a parent of the internal pad again for better backward
3309 compatibility. Don't write code that relies on this however.
3311 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3312 (gst_pad_link_check_hierarchy):
3313 Require that parents should be GstElements in the hierarchy check.
3315 2007-02-20 Wim Taymans <wim@fluendo.com>
3317 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3318 (gst_bin_change_state_func), (bin_query_min_max_init),
3319 (bin_query_latency_fold), (bin_query_latency_done),
3320 (gst_bin_query):
3321 Improve debug info.
3322 Implement latency query.
3324 2007-02-20 Wim Taymans <wim@fluendo.com>
3326 * docs/design/part-gstghostpad.txt:
3327 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3328 (gst_ghost_pad_internal_do_activate_push),
3329 (gst_ghost_pad_internal_do_activate_pull),
3330 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3331 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3332 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3333 Do not set the internal pad as a parent anymore so we can avoid
3334 hierarchy linking errors when the ghostpad has no parent yet. This also
3335 fixes failed activation because of unlinked internal pads, which in
3336 turn fixes the impossible case where you have to activate a pad before
3337 you can add it to a running element.
3338 Also fix the docs.
3340 * gst/gstpad.c: (pre_activate), (post_activate),
3341 (gst_pad_set_active), (gst_pad_activate_pull),
3342 (gst_pad_activate_push), (gst_pad_check_pull_range):
3343 Add some more debug info.
3344 Mark activation mode in pre_activate so that we don't try to activate in
3345 endless loops. Fixes #385084.
3347 2007-02-19 Wim Taymans <wim@fluendo.com>
3349 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3350 (gst_base_transform_check_get_range):
3351 Implement a checkgetrange function instead of relying on the default
3352 core behaviour that assumes we can operate in pull mode if we have a
3353 getrange function. First step at fixing #385084.
3355 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3357 * gst/gstchildproxy.h:
3358 * libs/gst/base/gstbasesink.h:
3359 * libs/gst/base/gstbasesrc.h:
3360 * libs/gst/base/gstbasetransform.h:
3361 More docs coverage and some ChangeLog surgery (add missing names)
3363 2007-02-15 Wim Taymans <wim@fluendo.com>
3365 * docs/design/part-TODO.txt:
3366 * docs/design/part-activation.txt:
3367 * docs/design/part-block.txt:
3368 * docs/design/part-buffering.txt:
3369 * docs/design/part-clocks.txt:
3370 * docs/design/part-element-source.txt:
3371 * docs/design/part-events.txt:
3372 * docs/design/part-gstbin.txt:
3373 * docs/design/part-gstbus.txt:
3374 * docs/design/part-gstpipeline.txt:
3375 * docs/design/part-live-source.txt:
3376 * docs/design/part-messages.txt:
3377 * docs/design/part-overview.txt:
3378 * docs/design/part-qos.txt:
3379 * docs/design/part-query.txt:
3380 * docs/design/part-states.txt:
3381 * docs/design/part-trickmodes.txt:
3382 Some doc updates. Start renaming from stream_time to running_time where
3383 it was used wrongly.
3385 2007-02-15 Wim Taymans <wim@fluendo.com>
3387 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3388 Answer LATENCY query.
3390 2007-02-15 Wim Taymans <wim@fluendo.com>
3392 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3393 (GST_START_TEST):
3394 Improve debugging.
3396 2007-02-15 Wim Taymans <wim@fluendo.com>
3398 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3399 (gst_pad_dispatcher):
3400 Improve debugging of default pad dispatcher and query functions.
3402 2007-02-15 Wim Taymans <wim@fluendo.com>
3404 * docs/gst/gstreamer-sections.txt:
3405 Remove old unused method.
3407 2007-02-13 Wim Taymans <wim@fluendo.com>
3409 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3410 Fix check
3412 2007-02-13 Wim Taymans <wim@fluendo.com>
3414 * docs/design/part-seeking.txt:
3415 Some small update.
3417 * gst/gstsegment.c: (gst_segment_set_seek):
3418 Revert old bogus change that should make seeking work again.
3420 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3422 * docs/random/ensonic/dynlink.txt:
3423 * docs/random/ensonic/interfaces.txt:
3424 * docs/random/ensonic/receipies.txt:
3425 Possible dynamic reconnection api, plus some type fixes the other two
3426 docs.
3428 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3430 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3431 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3432 Also check for an absolute path following file:// in the filesrc
3433 element. Remove redundant check and call g_path_is_absolute() on the
3434 unescaped location.
3436 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3438 * docs/design/draft-klass.txt:
3439 Add existing category analysis.
3441 * gst/gstcaps.c:
3442 Fix doc example, framerate is a fraction.
3444 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3446 * configure.ac:
3447 * docs/gst/Makefile.am:
3448 * docs/gst/gstreamer-sections.txt:
3449 * docs/libs/Makefile.am:
3450 Erm, forgot a bunch of --extra-dir.
3452 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3454 * configure.ac:
3455 * docs/gst/Makefile.am:
3456 * docs/libs/Makefile.am:
3457 * docs/plugins/Makefile.am:
3458 Add crossreferences to glib/gobject docs.
3460 2007-02-12 Wim Taymans <wim@fluendo.com>
3462 * docs/design/draft-latency.txt:
3463 Small update.
3465 * docs/libs/gstreamer-libs-sections.txt:
3466 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3467 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3468 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3469 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3470 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3471 (gst_base_sink_get_position), (gst_base_sink_query),
3472 (gst_base_sink_change_state):
3473 * libs/gst/base/gstbasesink.h:
3474 API: gst_base_sink_query_latency() to let subclasses query the upstream
3475 latency.
3476 API: gst_base_sink_get_latency() to let subclasses query the configured
3477 latency in the sink.
3478 Implement query and set latency.
3479 Update some docs.
3480 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3481 don't continue preroll when we are flushing. Fixes #405284.
3483 * tests/check/pipelines/stress.c: (change_state_timeout),
3484 (quit_timeout), (GST_START_TEST), (stress_suite):
3485 Test for #405284.
3487 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3489 Patch by: René Stadler <mail at renestadler de>
3491 * docs/gst/gstreamer-sections.txt:
3492 * gst/gsttaglist.c: (_gst_tag_initialize):
3493 * gst/gsttaglist.h:
3494 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3496 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3498 * docs/libs/Makefile.am:
3499 Fix path to core docs.
3501 * gst/gstbin.c: (gst_bin_get_by_interface),
3502 (gst_bin_iterate_all_by_interface):
3503 Refix docs by also renaming 'interface' to 'iface' in implementation.
3505 * docs/gst/gstreamer-sections.txt:
3506 * gst/gstcaps.c:
3507 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3508 * gst/gstchildproxy.h:
3509 * gst/gstelementfactory.c:
3510 * gst/gstpadtemplate.h:
3511 * libs/gst/controller/gstcontroller.c:
3512 (gst_controlled_property_new):
3513 Document more.
3515 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3517 * gst/gstbin.h:(gst_bin_get_by_interface),
3518 (gst_bin_iterate_all_by_interface):
3519 Replace interface parameter name by iface as interface is
3520 a reserved keyword in Visual Studio for C++ projects so it removes
3521 a build error for application developpers using VS.
3522 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3523 Fix a bug on Windows in uri format check. Now the prefix checked
3524 is file:// and next we check if the path after file:// is absolute.
3525 * win32/common/libgstbase.def:
3526 * win32/common/libgstdataprotocol.def:
3527 * win32/common/libgstgstreamer.def:
3528 Add new exported functions.
3530 2007-02-09 Andy Wingo <wingo@pobox.com>
3532 * tests/check/pipelines/simple-launch-lines.c
3533 (simple_launch_lines_suite, test_tee): Disable tee test until I
3534 have time to fix it :-(
3536 * tests/check/Makefile.am (noinst_HEADERS):
3537 * tests/check/libs/libsabi.c:
3538 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3539 * tests/check/gst/gstabi.c:
3540 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3542 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3543 tests for push and pull tee behavior.
3545 * plugins/elements/gsttee.h:
3546 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3547 mark as deprecated as well as unimplemented. It was a crack idea.
3548 Add support for tee operating in pull mode, off by default.
3550 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3551 normal-case logs down to LOG, raise errors to WARNING.
3552 (gst_registry_xml_read_cache): Don't log before calling a function
3553 that logs.
3555 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3556 exit (registry finalize).
3557 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3558 DEBUG log when we emit signals that people don't even have the
3559 chance to connect to.
3560 (gst_registry_scan_path_level): Less logging in the normal case.
3562 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3564 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3566 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3567 Correctly generate EOS for non-seekable files. We don't have a total
3568 length for them and would get an unexpected end of file if we only
3569 special-cased for regular files. (Fixes: #404569)
3571 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3573 * tests/check/elements/filesrc.c: (GST_START_TEST),
3574 (filesrc_suite):
3575 Add unit test for the GstURIHandler interface in filesrc. This also
3576 tests the newly added file://localhost/foo/bar support.
3578 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3580 * gst/gstelementfactory.h:
3581 The klass string is not a hierarchy. Add reference to the design doc
3582 for more information and common types.
3584 2007-02-02 Wim Taymans <wim@fluendo.com>
3586 * gst/gstquery.c: (gst_query_new_latency):
3587 Remove old structure field.
3589 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3591 * tools/gst-launch.1.in:
3592 Give example for network streaming (#351998)
3594 2007-02-02 Wim Taymans <wim@fluendo.com>
3596 * docs/gst/gstreamer-sections.txt:
3597 Add docs for new methods.
3599 * gst/gstevent.c: (gst_event_new_latency),
3600 (gst_event_parse_latency):
3601 * gst/gstevent.h:
3602 Add new LATENCY event to configure latency in a pipeline.
3603 API: gst_event_new_latency
3604 API: gst_event_parse_latency
3606 * gst/gstmessage.c: (gst_message_new_buffering),
3607 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3608 (gst_message_new_latency), (gst_message_parse_buffering),
3609 (gst_message_parse_lost_preroll):
3610 * gst/gstmessage.h:
3611 Added messages used in draft-latency.
3612 API: gst_message_new_lost_preroll
3613 API: gst_message_parse_lost_preroll
3614 API: gst_message_new_prerolled
3615 API: gst_message_new_latency
3617 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3618 (gst_query_parse_latency):
3619 * gst/gstquery.h:
3620 Implemented new latency query as in design doc.
3621 API: gst_query_new_latency
3622 API: gst_query_set_latency
3623 API: gst_query_parse_latency
3625 2007-02-02 Wim Taymans <wim@fluendo.com>
3627 * docs/design/draft-latency.txt:
3628 Slight redesign to allow for dynamic latency adjustments.
3630 * docs/design/part-negotiation.txt:
3631 Fix some typos.
3633 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3635 reviewed by: Wim Taymans <wim@fluendo.com>
3637 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3638 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3639 Allow file://localhost/foo/bar URLs and correctly fail for every other
3640 hostname that one sets. This was gnomevfssrc is linked for those if
3641 installed as it can handle it (#403172)
3643 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3645 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3647 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3648 (unref_data), (gst_collect_pads_add_pad_full):
3649 * libs/gst/base/gstcollectpads.h:
3650 Don't put the previously added destroy notify in the GstCollectData
3651 struct as all it's padding is already used and we don't want to break
3652 ABI. Instead put in the pad's GObject data for now. This should be
3653 cleaned up for 0.11 (#402393).
3655 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3657 reviewed by: Wim Taymans <wim@fluendo.com>
3659 * docs/libs/gstreamer-libs-sections.txt:
3660 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3661 (unref_data), (gst_collect_pads_add_pad),
3662 (gst_collect_pads_add_pad_full):
3663 * libs/gst/base/gstcollectpads.h:
3664 API: Add function to specify a destroy notification for custom
3665 GstCollectData when adding new pads in GstCollectPads (#402393).
3667 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3669 * po/sv.po:
3670 Update Swedish translation (#378255).
3672 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3674 * docs/design/draft-klass.txt:
3675 Fix the previous change, this is a list of categories and not a hierarchy.
3677 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3679 * docs/design/draft-klass.txt:
3680 Add info about how to get a list of used classes.
3682 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3684 * plugins/elements/gsttypefindelement.c:
3685 (gst_type_find_element_chain_do_typefinding),
3686 (gst_type_find_element_change_state):
3687 Don't leak found caps in chain function (no idea why that never
3688 showed up as a leak anywhere).
3690 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3692 * gst/gstplugin.h:
3693 Fix and expand GstPluginDesc API docs.
3695 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3697 * gst/gstcaps.c:
3698 * gst/gstelementfactory.c:
3699 * gst/gstpadtemplate.h:
3700 api doc fixes
3702 * libs/gst/controller/gstcontroller.c:
3703 (gst_controlled_property_new):
3704 * tests/examples/controller/audio-example.c:
3705 comment fixes
3707 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3709 * configure.ac:
3710 comment about refining the xml deps
3712 * docs/manuals.mak:
3713 comments about moving away from jade for docs
3715 * gst/gst.c:
3716 recommit the ifdefs to use the binary registry
3718 * gst/gstbin.c: (gst_bin_change_state_func):
3719 this break is obsolete
3721 * gst/gstelementfactory.h:
3722 better GST_ELEMENT_DETAILS docs, add comment about translation
3724 * gst/gstinfo.h:
3725 remove eol slash
3727 * gst/gstobject.c: (gst_signal_object_get_type):
3728 add G_UNLIKELY as usual
3730 * gst/gstpad.c: (gst_pad_event_default):
3731 add fall trhu comment
3733 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3734 (gst_registry_binary_initialize_magic),
3735 (gst_registry_binary_save_string),
3736 (gst_registry_binary_save_pad_template),
3737 (gst_registry_binary_save_feature),
3738 (gst_registry_binary_save_plugin),
3739 (gst_registry_binary_write_cache),
3740 (gst_registry_binary_check_magic),
3741 (gst_registry_binary_load_pad_template),
3742 (gst_registry_binary_load_feature),
3743 (gst_registry_binary_load_plugin),
3744 (gst_registry_binary_read_cache):
3745 comment typo and formatting
3747 * gst/gstutils.c: (gst_element_state_get_name),
3748 (gst_element_state_change_return_get_name):
3749 remove obsolete breaks
3751 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3752 add FIXME 0.11 and remove cpp comment
3754 2007-01-29 Edward Hervey <edward@fluendo.com>
3756 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3757 Fix print statement in an even more portable way.
3759 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3761 * docs/gst/gstreamer-sections.txt:
3762 * gst/gstutils.h:
3763 API: add GST_ROUND_DOWN_* macros (#401781).
3765 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3767 * docs/gst/gstreamer.types.in:
3768 * gst/gstregistry.c: (gst_registry_class_init):
3769 Document registry signals and make gtk-doc pick them up (#401381).
3771 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3773 * docs/pwg/building-testapp.xml:
3774 Add some audioconverts and audioresample to the pipeline, and some
3775 more comments and error handling.
3777 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3779 * docs/manual/manual.xml:
3780 * docs/pwg/pwg.xml:
3781 Fix typo (#400987).
3783 2007-01-26 Wim Taymans <wim@fluendo.com>
3785 * gst/gstcaps.c: (gst_static_caps_get):
3786 Init caps flags too.
3788 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3790 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3792 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3793 If not using mmap'ed files try to seek to the end instead of the
3794 start to determine whether we can seek at all. This fixes the case
3795 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3796 seeks for everything afterwards fail. Fixes #400656
3798 2007-01-25 Wim Taymans <wim@fluendo.com>
3800 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3801 Add some refcount debugging.
3802 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3803 in multiple streaming threads.
3805 2007-01-25 Wim Taymans <wim@fluendo.com>
3807 Patch by: David Schleef <ds at schleef dot org>
3809 * docs/libs/gstreamer-libs-sections.txt:
3810 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3811 * libs/gst/base/gstadapter.h:
3812 API: gst_adapter_copy() that can reduce the amount of memcpy when
3813 getting data from the adapter. Fixes #388201.
3815 2007-01-25 Edward Hervey <edward@fluendo.com>
3817 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3818 In print statements, "%x" is for guint. Fixes build on macosx.
3820 2007-01-24 Edward Hervey <edward@fluendo.com>
3822 * plugins/elements/gstmultiqueue.c:
3823 (gst_multi_queue_loop):
3824 Small fix.
3825 (single_queue_overrun_cb), (single_queue_underrun_cb),
3826 (single_queue_check_full), (gst_single_queue_new):
3827 Implement single queue growth system.
3828 This uses the extra-size properties, and will grow single queues by
3829 that much if one goes full whereas there are others empty. This is
3830 called extra-mode in the code.
3831 When a single queue's levels go back below the initial max-size
3832 limits, it is no longer in extra-mode. This is to ensure we don't
3833 consume too much memory.
3834 Fixes #399875
3836 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3838 * gst/gst.c: (gst_init_get_option_group):
3839 Make warning about late g_thread_init() calls a bit more explicit,
3840 so that it's more obvious to application developers what they need
3841 to do if a user files a bug against their application.
3843 2007-01-22 Edward Hervey <edward@fluendo.com>
3845 * plugins/elements/gstmultiqueue.c:
3846 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3847 Remove previous hack of unsetting the flushing flag for the source pad
3848 instead of activating it. Instead, fix the source pad activate function
3849 so that it no longer depends on having a parent set or not.
3851 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3853 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3855 * docs/manual/basics-bus.xml:
3856 Fix example code, gst_element_unref() doesn't exist any longer.
3858 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3860 Patch by: Mark Nauwelaerts <manauw at skynet be>
3862 * gst/gstpad.c:
3863 Fix two docs typoes (#399094).
3865 2007-01-19 Edward Hervey <edward@fluendo.com>
3867 * docs/faq/gst-uninstalled:
3868 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3869 depending on libgstbaseutils can work in uninstalled environment.
3871 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3873 * gst/gsttaglist.h:
3874 * gst/gsttagsetter.c:
3875 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3876 statement for new tag.
3878 2007-01-17 Edward Hervey <edward@fluendo.com>
3880 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3881 When dynamically creating single queues, activate sinkpad before adding
3882 it.
3883 We should be doing the same thing for the source pad, but we can't
3884 since it would call a method which needs the parent to be set in order
3885 to work propertly. Instead of activating the source pad, we just unset
3886 the flushing flag, which is the minimal requirement for adding a pad
3887 to an element in a state greater than READY.
3889 2007-01-17 Edward Hervey <edward@fluendo.com>
3891 * docs/faq/gst-uninstalled:
3892 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3893 Mac OS X.
3895 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3897 * tests/check/gst/gstabi.c:
3898 * tests/check/gst/struct_hppa.h:
3899 * tests/check/libs/libsabi.c:
3900 * tests/check/libs/struct_hppa.h:
3901 Add ABI structs for HPPA (see #393796).
3903 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3905 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3906 Actually write ABI structs to the file specified in the GST_ABI
3907 environment variable, as the message we print claims we would.
3909 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3911 * tests/check/gst/gsttask.c:
3912 Fix header comment.
3914 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3916 * gst/gsttaglist.c: (_gst_tag_initialize):
3917 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3918 previous two entries.
3920 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3922 * docs/gst/gstreamer-sections.txt:
3923 * gst/gsttaglist.c: (_gst_tag_initialize):
3924 * gst/gsttaglist.h:
3925 Add tag support for beat-per-minute.
3927 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3929 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3930 (gst_registry_binary_initialize_magic),
3931 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3932 (gst_registry_binary_save_pad_template),
3933 (gst_registry_binary_save_feature),
3934 (gst_registry_binary_save_plugin),
3935 (gst_registry_binary_write_cache),
3936 (gst_registry_binary_check_magic),
3937 (gst_registry_binary_load_pad_template),
3938 (gst_registry_binary_load_feature),
3939 (gst_registry_binary_load_plugin),
3940 (gst_registry_binary_read_cache):
3941 * gst/gstregistrybinary.h:
3942 Use glib types, cleanup comments, impement interfaces and uri-types.
3944 2007-01-13 Andy Wingo <wingo@pobox.com>
3946 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3947 getrange() to return buffers with other caps, while we fix
3948 demuxers and typefind, or otherwise change part-negotiation.txt.
3950 2007-01-12 Andy Wingo <wingo@pobox.com>
3952 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3953 Factor start/stop into this private function instead of partially
3954 in activate functions and partially in the change_state function.
3955 Fixes setup before the element has changed from READY->PAUSED, as
3956 is the case in pull-mode pipelines.
3957 (gst_base_transform_sink_activate_push)
3958 (gst_base_transform_src_activate_pull): Refactor to use
3959 gst_base_transform_activate().
3960 (gst_base_transform_change_state): Removed, not needed any more.
3962 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3963 Truncate before fixating.
3965 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3966 Don't set_caps() if the result of fixating is ANY, as it's not
3967 supported, and not necessary in the case of a link with no
3968 template caps on either side. Fixes tests/check/libs/basesrc in
3969 some pull-mode tests.
3971 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3972 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3973 (gst_base_transform_src_activate_pull):
3974 Track the activation mode.
3975 (gst_base_transform_setcaps): In pull mode, when activating the
3976 src pad, after activating the sink pad, activate the sink pad's
3977 peer, as discussed in part-negotiation.txt.
3979 * libs/gst/base/gstbasesrc.h:
3980 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3981 vmethod, as in basesink.
3983 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3985 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3986 mode, first proxy the setcaps to the peer pad.
3987 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3988 new fixate vmethod.
3989 (gst_base_sink_default_activate_pull): Rename from
3990 gst_base_sink_activate_pull.
3991 (gst_base_sink_negotiate_pull): New function, performs negotiation
3992 in pull mode before calling ::activate_pull().
3993 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3994 vmethod instead of the default implementation. I have no idea how
3995 this worked before. Negotiate before calling activate_pull.
3997 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3998 sink pads in pull mode. In addition to being correct, fixes
3999 filesrc ! decodebin ! identity ! fakesink.
4000 (gst_pad_get_range, gst_pad_pull_range): Don't call
4001 gst_pad_set_caps() if the caps changes; instead error out with
4002 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4004 2007-01-12 Andy Wingo <wingo@pobox.com>
4006 * docs/design/part-negotiation.txt: Update with more policy.
4008 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4010 * libs/gst/check/gstbufferstraw.h:
4011 * libs/gst/check/gstcheck.h:
4012 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4013 belongs.
4015 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4017 * tests/check/Makefile.am:
4018 * tests/check/gst/.cvsignore:
4019 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4020 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4021 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4022 (GST_START_TEST), (gst_tag_setter_suite):
4023 Add minimal unit test for beforementioned GstTagSetter bug.
4025 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4027 Patch by: René Stadler <mail at renestadler dot de>
4029 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4030 gst_tag_list_merge() returns a new list, so it's not the best idea
4031 to ingore its return value. Effectively meant that tags could only
4032 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4033 Also add function guard to require a non-NULL taglist as input (has
4034 always been so due to gst_tag_list_copy(), just making it explicit).
4036 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4038 * docs/random/draft-missing-plugins.txt:
4039 Some additions: mention new API that is supposed to be used at the
4040 various stages; short blob about new gst-inspect introspection
4041 option; mention potential future problem with plugins that have
4042 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4044 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4046 * tools/gst-inspect.c:
4047 (print_plugin_automatic_install_info_codecs),
4048 (print_plugin_automatic_install_info_protocols),
4049 (print_plugin_automatic_install_info), (main):
4050 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4051 introspect plugin files and get machine-parsable output that corresponds
4052 to the last bit of the missing-plugin installer string (small gotcha:
4053 doesn't take into account ranks).
4055 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4057 * configure.ac:
4058 * docs/gst/gstreamer-sections.txt:
4059 * gst/Makefile.am:
4060 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4061 (gst_registry_lookup_locked):
4062 * gst/gstregistry.h:
4063 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4064 (gst_registry_binary_initialize_magic),
4065 (gst_registry_binary_save_string),
4066 (gst_registry_binary_save_pad_template),
4067 (gst_registry_binary_save_feature),
4068 (gst_registry_binary_save_plugin),
4069 (gst_registry_binary_write_cache),
4070 (gst_registry_binary_check_magic),
4071 (gst_registry_binary_load_pad_template),
4072 (gst_registry_binary_load_feature),
4073 (gst_registry_binary_load_plugin),
4074 (gst_registry_binary_read_cache):
4075 * gst/gstregistrybinary.h:
4076 * gst/gstregistryxml.c: (load_feature),
4077 (gst_registry_xml_read_cache):
4078 commit binary registry (disabled by default, see #359653)
4080 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4082 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4083 Fix 'make check' too.
4085 2007-01-10 Andy Wingo <wingo@pobox.com>
4087 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4088 notes.
4090 * docs/design/part-negotiation.txt: Update with, um, one way that
4091 pull-mode negotiation might work?
4093 * gst/gstpad.h:
4094 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4095 that the pad must be a src pad; makes sense to call it the other
4096 way in pull mode, and the logic is symmetric anyway.
4098 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4100 * plugins/elements/gstfilesink.c:
4101 Include <stdio.h> for fseeko().
4103 2007-01-10 Wim Taymans <wim@fluendo.com>
4105 * gst/gstevent.c:
4106 * gst/gstevent.h:
4107 Reserve LATENCY event.
4109 2007-01-09 Wim Taymans <wim@fluendo.com>
4111 * docs/design/draft-latency.txt:
4112 Updates.
4114 2007-01-09 Wim Taymans <wim@fluendo.com>
4116 * docs/design/draft-latency.txt:
4117 Updates.
4119 * gst/gstelement.h:
4120 * gst/gststructure.c:
4121 * gst/gsttrace.c:
4122 Small typo fixes.
4124 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4126 * tests/check/.cvsignore:
4127 Ignore test-registry.xml as well.
4129 2007-01-09 Wim Taymans <wim@fluendo.com>
4131 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4132 unref data at the end when we are done with the pad.
4134 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4136 * docs/gst/gstreamer-sections.txt:
4137 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4138 (init_post), (gst_deinit), (gst_update_registry):
4139 * gst/gst.h:
4140 API: add gst_update_registry() (#391296).
4142 * tests/check/Makefile.am:
4143 * tests/check/gst/gstregistry.c:
4144 * tests/check/gst/.cvsignore:
4145 Simple unit test for the above.
4147 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4149 * gst/gstregistry.c: (gst_registry_scan_path_level):
4150 Plugin extension on HP-UX is .sl, add that to the list of approved
4151 plugin extensions (see #393796).
4153 * tests/check/gst/gstpad.c: (GST_START_TEST):
4154 ulong => gulong. Fixes compilation with HP-UX compiler.
4156 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4157 Fix compilation if valgrind headers are not available.
4159 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4161 * win32/common/libgstreamer.def:
4162 Add new exported function.
4163 * win32/vs6/libgstbase.dsp:
4164 Add gstdataqueue.c to the build.
4165 * win32/vs6/libgstcoreelements.dsp:
4166 Add gstmultiqueue.c to the build.
4168 2007-01-06 Andy Wingo <wingo@pobox.com>
4170 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4171 activate_pull(), providing for a way to specialize the process of
4172 spawning a thread to pull on the sink pad. There is a default
4173 implementation.
4175 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4176 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4177 (gst_base_sink_init): Renamed pad activation functions (inserting
4178 "_pad" in their names). Refactor to use the new activate_pull
4179 vmethod, as appropriate.
4180 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4181 default activate_pull function to start a task pulling from the
4182 sink pad, as before.
4184 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4185 on the pads if necessary, as in push()/chain(). Update docs.
4186 Shouldn't affect existing pull() usage as it is currently only
4187 being used on buffers without caps.
4189 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4191 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4192 (init_pre):
4193 Call g_thread_init() first thing in gst_init() / gst_check_init().
4194 When initialisation is done via gst_init_get_option_group() and
4195 GOption parsing, issue a warning if the GLib thread system has not
4196 been initialised yet by the time gst_init_get_option_group() is
4197 called, as it's quite likely other GLib functions such as
4198 g_option_context_new() have been called already then, and
4199 g_thread_init() must be called before any other GLib function. The
4200 application in question must be fixed in that case, since memory
4201 corruption might happen otherwise.
4202 We issue the warning because even if the GLib folks decide to work
4203 around the problem on their end in future, this is still an issue
4204 with all GLib versions >= 2.10.0, so we should warn until we depend
4205 on a GLib version we know to be safe.
4206 Update documentation as well.
4207 Closes bug #391278.
4209 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4211 * tools/gst-inspect.c: (main):
4212 * tools/gst-launch.c: (main):
4213 * tools/gst-typefind.c: (main):
4214 * tools/gst-xmlinspect.c: (main):
4215 Call g_thread_init() really really early, before any other GLib
4216 function (see #342564 and recent discussion on gtk-devel-list).
4218 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4220 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4222 * gst/gst_private.h:
4223 * gst/gstconfig.h.in:
4224 * gst/gstinfo.h:
4225 On win32, all the __declspec stuff for symbol exporting is
4226 apparently only needed with MSVC, but doesn't work with MingW.
4227 Fixes compilation with MingW and #391909.
4229 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4231 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4232 Change some GST_ERROR_OBJECT that aren't really errors to
4233 GST_WARNING_OBJECT in order to reduce terminal spam.
4235 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4237 * tests/check/Makefile.am:
4238 disable test again, as there seem to be still race problems
4240 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4242 * tests/check/Makefile.am:
4243 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4244 (GST_START_TEST), (queue_suite):
4245 enable queue test again, add tests for the leaky behaviour
4247 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4249 * configure.ac:
4250 * tests/examples/Makefile.am:
4251 Compile adapter test/example only if the required headers are
4252 available (fixes #391915).
4254 2007-01-01 David Schleef <ds@schleef.org>
4256 * gst/gstplugin.c:
4257 Restore the previous signal handler for SIGSEGV instead of
4258 setting to default, since we may have stolen it away from
4259 someone. (i.e., Mono)
4261 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4263 * docs/random/draft-missing-plugins.txt:
4264 Some small additions and clarifications.
4266 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4268 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4269 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4270 since that can lead to random memory corruptions and crashes
4271 (may or may not be related to #383244, #386711, and #386711).
4273 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4275 * tests/check/.cvsignore:
4276 * tests/check/Makefile.am:
4277 sync .cvsignome and CLEANFILES
4279 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4281 * tests/check/Makefile.am:
4282 fix distcheck
4284 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4286 * docs/design/part-states.txt:
4287 two tiny additional comments
4289 * gst/gststructure.c:
4290 doc fixing
4292 * tests/check/Makefile.am:
4293 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4294 (GST_START_TEST):
4295 disable test for now, unless it gets fixed
4297 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4299 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4300 (GST_START_TEST):
4301 fix race in underrun test
4303 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4305 * tests/check/elements/.cvsignore:
4306 ignore more
4308 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4309 (GST_START_TEST):
4310 try to narrow test failure
4312 2006-12-21 David Schleef <ds@schleef.org>
4314 * plugins/elements/gstfakesrc.c:
4315 Use g_random_int_range(), since it produces better random
4316 numbers in a range than almost-correct floating point code.
4318 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4320 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4321 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4322 (gst_check_teardown_sink_pad):
4323 do not automatically (de)activate pads
4325 * tests/check/Makefile.am:
4326 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4327 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4328 add new, yet simple tests for queue
4330 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4331 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4332 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4333 (GST_START_TEST):
4334 * tests/check/elements/identity.c: (cleanup_identity):
4335 consistent pad (de)activation
4337 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4339 Patch by: Sebastian Dröge <slomo ubuntu com>
4341 * libs/gst/base/gstcollectpads.c:
4342 Fix two doc typos (#387866).
4344 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4346 * docs/manual/advanced-dparams.xml:
4347 Fix typo (g_object_control_properties() doesn't exist).
4349 2006-12-19 Edward Hervey <edward@fluendo.com>
4351 * gst/gstsegment.c: (gst_segment_set_seek):
4352 Fine tune the cases where the segment start/stop values are really
4353 updated.
4354 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4355 Add tests for the return values of gst_segment_set_seek().
4357 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4359 * gst/gst.c:
4360 Docs typo fix.
4362 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4363 (gst_queue_init):
4364 Fix incorrect documentation and flesh it out a bit more.
4365 Set default values for the max properties on the GParamSpec as well,
4366 so it shows up correctly in gst-inspect.
4368 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4370 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4371 Correct docs of queue, add more detail and crosslink it more.
4373 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4375 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4376 Print additional debug info when the stream isn't perfectly
4377 timestamped; don't try to use invalid durations.
4379 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4381 * docs/design/Makefile.am:
4382 Dist new design docs.
4384 2006-12-16 Wim Taymans <wim@fluendo.com>
4386 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4388 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4389 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4390 (gst_collect_pads_stop), (gst_collect_pads_event),
4391 (gst_collect_pads_chain):
4392 * libs/gst/base/gstcollectpads.h:
4393 Add refcounting to the collectpads data so we can track when it's safe
4394 to free the data. Fixes #383382.
4396 2006-12-15 Wim Taymans <wim@fluendo.com>
4398 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4399 (gst_collect_pads_remove_pad):
4400 Automatically activate/deactivate pads when they are added to a
4401 started/stoped collectpads.
4403 2006-12-15 Wim Taymans <wim@fluendo.com>
4405 * gst/gstelement.c: (gst_element_add_pad):
4406 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4407 * gst/gstpad.c: (gst_pad_init):
4408 Set pads to FLUSHING when they are created. Check, warn and fix when a
4409 demuxer adds an inactive pad to itself when running. Fixes #339326.
4411 2006-12-15 Wim Taymans <wim@fluendo.com>
4413 * gst/gstelement.c: (gst_element_class_init),
4414 (gst_element_default_send_event), (gst_element_send_event),
4415 (gst_element_default_query), (gst_element_query):
4416 Expose default element send_event and query handling as vmethods that
4417 subclasses can chain up to.
4419 2006-12-15 Wim Taymans <wim@fluendo.com>
4421 * gst/gstelement.c: (gst_element_set_state_func):
4422 Small documentation fixes.
4424 2006-12-15 Wim Taymans <wim@fluendo.com>
4426 * docs/design/draft-latency.txt:
4427 Checked in draft for handling latency in pipelines.
4429 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4431 * Makefile.am:
4432 * gstreamer.doap:
4433 * gstreamer.spec.in:
4434 adding .doap file
4436 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4438 * gst/gst.c: (init_pre), (init_post):
4439 init_pre() and init_post() might be called via our GOptionGroup or
4440 from gst_init(), and we should skip both of them if we've already
4441 been initialised, otherwise we will init some things twice or add
4442 two default log functions.
4444 2006-12-13 Edward Hervey <edward@fluendo.com>
4446 * docs/manual/basics-bus.xml:
4447 No, gst_main_loop does not exist. Its g_main_loop.
4448 Discovered by somebody who abused the copy-paste technique of coding :)
4450 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4452 * gst/gstghostpad.c:
4453 Log ghostpad debug stuff to the GST_PADS category as well rather
4454 than just to the default category.
4456 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4458 * configure.ac:
4459 * gst/gst.c: (init_pre):
4460 Add some basic system details such as OS and architecture
4461 to the debug output if possible, courtesy of uname().
4463 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4465 * docs/gst/running.xml:
4466 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4467 environment variables.
4469 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4471 * tests/check/gst/gstbin.c: (GST_START_TEST):
4472 It is acceptable to have a refcount of 2 or 3 at this point in the
4473 test, because the pipeline might be just posting its state_change
4474 message. The next line then waits for that message to appear using
4475 bus_poll, so that should be fine too.
4477 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4479 * gst/gst.c: (ensure_current_registry_forking):
4480 Ignore EINTR when reading from the child registry pipe.
4481 Explicitly ignore the return value from close, since it makes no
4482 difference.
4484 * gst/gstminiobject.c: (gst_mini_object_ref),
4485 (gst_mini_object_unref):
4486 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4488 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4489 When removing cached plugins, remove their features too, so they're
4490 not visible after they've disappeared.
4492 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4493 In the unlikely case that we are linking pads with no parents, don't
4494 crash trying to get the non-existent parent bin.
4496 * gst/parse/grammar.y:
4497 Output debug in the PIPELINE category
4499 2005-03-08 Wim Taymans <wim@fluendo.com>
4501 Patch by: René Stadler <mail at renestadler dot de>
4503 * gst/gstclock.c: (gst_clock_new_periodic_id):
4504 Reject invalid clock times for interval of periodic ids.
4505 Fixes ##383506.
4507 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4509 * gst/gstelementfactory.c: (gst_element_factory_create):
4510 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4511 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4512 * tools/gst-inspect.c: (print_element_info):
4513 Fix refcounting of gst_plugin_feature_load to match the docs.
4514 Fixes: #380129
4516 2006-12-07 Wim Taymans <wim@fluendo.com>
4518 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4519 (gst_base_sink_get_position):
4520 Improve debugging of events.
4522 2006-12-07 Wim Taymans <wim@fluendo.com>
4524 Patch by: René Stadler <mail at renestadler dot de>
4526 * gst/gstclock.c: (gst_clock_id_wait):
4527 Make period ids add the interval to the origial requested time instead
4528 of the possibly updated time which can be wrong when there are multiple
4529 waiters for the same id. Fixes #382592.
4531 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4532 (gst_system_clock_id_wait_jitter_unlocked),
4533 (gst_system_clock_id_wait_jitter):
4534 Fix restart in the async notify thread when an async entry is added to
4535 the front of the list. Fixes #381492.
4537 * tests/check/gst/gstsystemclock.c: (store_callback),
4538 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4539 Added test for multiple async waits.
4540 Added test for async wait order.
4542 2006-12-07 Wim Taymans <wim@fluendo.com>
4544 * gst/gstbin.c: (gst_bin_query):
4545 Add some more docs about the POSITION query.
4547 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4549 * configure.ac:
4550 Bump version nano - back to CVS.
4552 === release 0.10.11 ===
4554 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4556 * configure.ac:
4557 releasing 0.10.11, "Love never runs on time"
4559 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4561 * win32/common/libgstbase.def:
4562 * win32/common/libgstreamer.def:
4563 * win32/vs8/libgstbase.vcproj:
4564 * win32/vs8/libgstcoreelements.vcproj:
4565 * win32/vs8/libgstreamer.vcproj:
4566 Fix compilation on win32 under VS8
4567 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4568 Partially fixes #381175
4570 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4572 * gst/gstvalue.c: (gst_value_compare_fraction):
4573 If someone is foolish enough to compare 2 fractions with denominator =
4574 0, return UNORDERED rather than aborting.
4576 2006-11-28 Edward Hervey <edward@fluendo.com>
4578 * libs/gst/base/Makefile.am:
4579 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4580 (gst_data_queue_base_init), (gst_data_queue_class_init),
4581 (gst_data_queue_init), (gst_data_queue_new),
4582 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4583 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4584 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4585 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4586 (gst_data_queue_set_flushing), (gst_data_queue_push),
4587 (gst_data_queue_pop), (gst_data_queue_drop_head),
4588 (gst_data_queue_set_property), (gst_data_queue_get_property):
4589 * libs/gst/base/gstdataqueue.h:
4590 New GstDataQueue object for threadsafe queueing. Most useful for
4591 elements that need some queueing functionnality.
4592 * docs/libs/gstreamer-libs-docs.sgml:
4593 * docs/libs/gstreamer-libs-sections.txt:
4594 Insert documentation for GstDataQueue
4595 * plugins/elements/Makefile.am:
4596 * plugins/elements/gstelements.c:
4597 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4598 (gst_multi_queue_class_init), (gst_multi_queue_init),
4599 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4600 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4601 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4602 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4603 (gst_multi_queue_loop), (gst_multi_queue_chain),
4604 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4605 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4606 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4607 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4608 (wake_up_next_non_linked), (compute_next_non_linked),
4609 (single_queue_overrun_cb), (single_queue_underrun_cb),
4610 (single_queue_check_full), (gst_single_queue_new):
4611 * plugins/elements/gstmultiqueue.h:
4612 New multiqueue element, using GstDataQueue. Used for queuing multiple
4613 streams.
4614 Closes #344639 and #347785
4616 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4618 * docs/pwg/advanced-types.xml:
4619 add more missing type details
4621 * tools/gst-run.c: (main):
4622 remove unused variable
4624 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4626 * docs/libs/Makefile.am:
4627 * docs/libs/gstreamer-libs.types:
4628 add types of base classes to enable gobject specific stuff in the docs
4630 * docs/random/ensonic/embedded.txt:
4631 more ideas about isolating platform specific things
4633 2006-11-20 Wim Taymans <wim@fluendo.com>
4635 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4637 * libs/gst/check/gstcheck.h:
4638 Fix compilation and running against 0.9.4. Fixes #377332.
4640 2006-11-20 Wim Taymans <wim@fluendo.com>
4642 * gst/gstsegment.c: (gst_segment_set_seek),
4643 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4644 (gst_segment_to_running_time):
4645 Fix boundary checking in to_running_time() and to_stream_time().
4646 Fixes #377183.
4648 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4649 stream and running time can now be calculated for the complete
4650 clipped segment.
4652 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4654 * gst/gstpad.c: (gst_pad_push_event):
4655 Can't access event structure after giving away ownership of
4656 the event.
4658 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4660 * docs/random/ensonic/embedded.txt:
4661 * docs/random/ensonic/profiling.txt:
4662 * docs/random/ensonic/receipies.txt:
4663 more thinking
4665 2006-11-13 Wim Taymans <wim@fluendo.com>
4667 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4669 * gst/gstpad.c:
4670 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4672 2006-11-13 Wim Taymans <wim@fluendo.com>
4674 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4676 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4677 Store new length in segment duration so we don't keep on calling the
4678 potentially expensize get_size() call. Fixes #370865.
4680 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4682 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4684 * win32/common/libgstreamer.def:
4685 Add two missing symbols (#366492).
4687 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4689 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4690 (gst_adapter_take_buffer):
4691 Fix format string to use all its arguments.
4692 Remove useless >= check on a guint
4694 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4696 * tests/examples/adapter/.cvsignore:
4697 Ignore build file as commanded by the build-bot
4699 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4701 * tests/examples/adapter/Makefile.am:
4702 * tests/examples/adapter/adapter_test.c: (run_test_take),
4703 (run_test_take_buffer), (run_tests), (main):
4705 Add new files from the previous commit
4707 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4709 * Makefile.am:
4710 * configure.ac:
4711 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4712 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4713 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4714 * libs/gst/base/gstadapter.h:
4715 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4716 (GST_START_TEST), (gst_adapter_suite):
4717 * tests/examples/Makefile.am:
4718 Do some optimisation work in GstAdapter to avoid copies in more cases.
4719 It could still do slightly better by merging buffers when
4720 gst_buffer_is_span_fast is true, but is already faster.
4722 Also, avoid traversing a single-linked list to append each incoming
4723 buffer inside the adapter.
4725 Add simple test app that times the adapter behaviour in different
4726 situations, and extend the unit test to check that bytes enter and
4727 exit the adapter in their original order.
4729 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4731 * docs/random/draft-missing-plugins.txt:
4732 Update: use element message instead of adding a new message
4733 type to the core; don't provide GStreamer API to initiate the
4734 plugin download, just provide API to compose the strings needed
4735 and let an external libgimmestuff handle the rest.
4737 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4739 * tools/gst-inspect.c: (print_element_properties_info):
4740 Print a string instead of 'unknown type' for GValueArray properties
4742 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4744 * docs/random/draft-missing-plugins.txt:
4745 More small fixes.
4747 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4749 * tests/examples/typefind/typefind.c: (type_found), (main):
4750 Make typefind element example work again (#371894); add a
4751 license header.
4753 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4755 * docs/random/draft-missing-plugins.txt:
4756 Commit initial draft about how to deal with missing plugins,
4757 needs work (API too).
4759 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4761 * docs/pwg/advanced-types.xml:
4762 documents the new caps elements (see #363118)
4764 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4766 * gst/gstplugin.c: (gst_plugin_load_file):
4767 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4768 (gst_file_src_map_region), (gst_file_src_start):
4769 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4770 (gst_file_index_commit):
4771 Use g_strerror() instead of strerror() - we want UTF-8.
4773 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4775 Patch by: Peter Kjellerstedt <pkj at axis com>
4777 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4778 Another printf fix (#371493).
4780 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4782 * tests/check/gst/gsttag.c:
4783 relicence (okay with author=company)
4785 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4787 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4788 (gst_pad_push_event):
4789 Enhance debug and improve docs
4791 * gst/gsturi.c:
4792 Fix docs
4794 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4796 * docs/random/ensonic/distributed.txt:
4797 * docs/random/ensonic/profiling.txt:
4798 more ideas
4800 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4802 * docs/gst/gstreamer-sections.txt:
4803 add new API and fix the build
4805 * gst/gstbin.c: (gst_bin_recalc_state):
4806 * gst/gstelement.c: (gst_element_message_full),
4807 (gst_element_get_state_func), (gst_element_set_state_func):
4808 use new API and improve logging
4810 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4811 * gst/gstutils.h:
4812 API: add function to get StateChangereturn names to improve logs
4814 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4816 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4817 I'm considering shooting the next person to put strerror stuff
4818 in the translateable part of the message.
4820 2006-11-03 Wim Taymans <wim@fluendo.com>
4822 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4823 Get the type and printf conversion specifiers right.
4825 2006-11-03 Wim Taymans <wim@fluendo.com>
4827 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4829 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4830 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4831 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4832 Some small cleanups. Improve debugging.
4833 * gst/gstpad.h:
4834 Signal all waiting threads with a broadcast instead of just one.
4835 Fixes #369942.
4837 2006-11-03 Wim Taymans <wim@fluendo.com>
4839 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4840 (gst_fd_src_create):
4841 Add some debugging.
4842 Only update fd when it's different from the old.
4844 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4846 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4847 Printf fixes for PPC/OSX, take two (#369366).
4849 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4851 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4853 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4854 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4855 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4856 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4857 don't cast to long long for portability reasons, but use
4858 GLib's types instead.
4860 2006-10-30 Michael Smith <msmith@fluendo.com>
4862 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4863 Get the arguments to lseek() the right way around.
4864 Fixes 367677.
4866 2006-10-30 Wim Taymans <wim@fluendo.com>
4868 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4870 * gst/gstinfo.h:
4871 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4873 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4875 Patch by: Kjartan Maraas <kmaraas at gnome org>
4877 * docs/design/part-MT-refcounting.txt:
4878 * docs/random/wtay/capsnego2-docs:
4879 * gst/gstclock.c:
4880 * gst/gstxml.c:
4881 Typo fixes (#366212).
4883 2006-10-28 Wim Taymans <wim@fluendo.com>
4885 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4887 * gst/gst.c:
4888 * win32/common/libgstbase.def:
4889 * win32/common/libgstreamer.def:
4890 * win32/vs8/libgstbase.vcproj:
4891 * win32/vs8/libgstcontroller.vcproj:
4892 Add needed entries in .def files.
4893 Use HAVE_UNISTD_H.
4894 Rearrange def files in vs8 solutions. Fixes #366286.
4896 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4898 * win32/common/gstconfig.h:
4899 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4900 hand-made win32 gstconfig.h. Fixes #366321.
4902 2006-10-27 Wim Taymans <wim@fluendo.com>
4904 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4905 (gst_ghost_pad_new_full):
4906 Make acceptcaps return TRUE when we don't have a target, just like
4907 setcaps does.
4909 2006-10-27 Wim Taymans <wim@fluendo.com>
4911 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4912 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4914 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4916 * gst/gststructure.c: (gst_structure_id_set_value):
4917 If someone tries to set a non-UTF8 string field on a structure,
4918 don't just print a warning, but also ignore the request and do
4919 not change/add that field to the structure.
4921 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4922 Test for the above.
4924 2006-10-25 David Schleef <ds@schleef.org>
4926 * gst/gstinfo.c:
4927 g_hash_table_insert() needs a cast to a non-const pointer duh.
4929 2006-10-25 David Schleef <ds@schleef.org>
4931 * gst/gstinfo.c:
4932 * gst/gstinfo.h:
4933 Change name parameter of _gst_debug_register_funcptr to const
4934 to reflect the constness of its use in the function as well
4935 as to quiet a gcc warning.
4937 2006-10-25 Edward Hervey <edward@fluendo.com>
4939 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4940 Don't push the buffer if it's empty.
4941 Closes #363095
4943 2006-10-24 Wim Taymans <wim@fluendo.com>
4945 * gst/gstevent.h:
4946 Add small comment.
4948 * libs/gst/base/gstbasetransform.c:
4949 (gst_base_transform_sink_eventfunc):
4950 Debug segment values *after* updating them as this is more
4951 interesting.
4953 2006-10-23 Wim Taymans <wim@fluendo.com>
4955 * docs/design/part-events.txt:
4956 Update some docs.
4958 * docs/design/part-block.txt:
4959 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4960 (gst_pad_push_event):
4961 Revert BLOCKING patch, it tries to be smart without really having a
4962 clear idea what or how. So, now we discard all FLUSHING events again on
4963 a blocking pad. Should fix gnonlin again.
4965 2006-10-23 Wim Taymans <wim@fluendo.com>
4967 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4969 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4970 (gst_base_src_start), (gst_base_src_activate_push):
4971 Make sure size is always initialized. Fixes #364388.
4973 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4975 * docs/random/ensonic/distributed.txt:
4976 add some ideas about doing distributed processing
4978 * docs/random/ensonic/profiling.txt:
4979 get_rusage look promising
4981 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4983 * docs/manual/basics-helloworld.xml:
4984 Add a cast in example to fix compile warning
4986 2006-10-18 Wim Taymans <wim@fluendo.com>
4988 * gst/gstsegment.c: (gst_segment_set_last_stop),
4989 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4990 Relax arg checking again, -1 is allowed.
4992 2006-10-18 Wim Taymans <wim@fluendo.com>
4994 * gst/gstsegment.c: (gst_segment_set_last_stop),
4995 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4996 _set_last_stop() must be with a value != -1
4997 A _TYPE_SET to -1 means seek to 0.
4998 Calc last_stop correctly for negative rates.
4999 Make sure we work with positive durations when updating a segment.
5001 2006-10-18 Wim Taymans <wim@fluendo.com>
5003 * docs/design/part-live-source.txt:
5004 * gst/gstclock.h:
5005 Small docs fixes.
5007 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5009 * gst/gstbuffer.h:
5010 Add an explicit cast to GstBuffer** to keep old code that added an
5011 explicit cast to GstMiniObject** for gst_mini_object_replace()
5012 compiling without warning.
5014 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5016 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5017 check for validity of dates
5019 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5021 * docs/gst/gstreamer-sections.txt:
5022 Forgot this one, makes gtk-doc shut up.
5024 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5026 Patch by: Peter Kjellerstedt <pkj at axis com>
5028 * gst/gstobject.h:
5029 Don't define xmlNodePtr to gpointer if the core was built with
5030 --disable-loadsave and --disable-registry, this will break
5031 applications that want to use libxml2 but are buildling against a
5032 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5033 instead so we don't have to mess with the libxml2 namespace
5034 (#361675).
5036 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5038 * gst/gstbuffer.h:
5039 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5040 type-punned pointer warnings.
5042 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5044 * gst/gstelement.h:
5045 Add casts to the correct return type to state <=> state transition
5046 macros.
5048 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5050 * docs/design/part-live-source.txt:
5051 describe howto handle latency
5053 * docs/random/ensonic/profiling.txt:
5054 more ideas
5056 * tools/gst-plot-timeline.py:
5057 fix log parsing for solaris, remove unused function
5059 2006-10-16 Wim Taymans <wim@fluendo.com>
5061 * docs/design/part-trickmodes.txt:
5062 * gst/gstevent.c:
5063 Update some docs regarding reverse playback.
5065 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5067 Patch by: Marcus Granado <mrc dot gran at gmail com>
5069 * win32/vs8/grammar.vcproj:
5070 Error out with a warning if glib-genmarshal.exe is not in path,
5071 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5073 2006-10-13 Wim Taymans <wim@fluendo.com>
5075 * gst/gstsegment.c: (gst_segment_set_seek):
5076 When seeking to stop -1, set last_stop (current position) to the
5077 duration of the segment.
5079 2006-10-13 Wim Taymans <wim@fluendo.com>
5081 * gst/gstelement.h:
5082 Clarify _NO_PREROLL a bit more.
5084 * gst/gstevent.c:
5085 Fix docs.
5087 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5088 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5089 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5090 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5091 due to wrong locking order. Fixes #361769.
5092 Remove some redundant/misplaced checks in pad_block.
5094 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5095 For negative rates, count backwards from the duration.
5097 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5099 * gst/gsterror.c: (_gst_library_errors_init):
5100 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5101 up with something better).
5103 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5105 * win32/vs6/libgstreamer.dsp:
5106 * win32/vs7/libgstreamer.vcproj:
5107 * win32/vs8/libgstreamer.vcproj:
5108 Don't reference glib-compat.c which is currently not used and not
5109 disted; add gstquark.c which was recently added. Fixes #361730.
5111 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5113 * win32/common/libgstbase.def:
5114 * win32/common/libgstcontroller.def:
5115 * win32/common/libgstreamer.def:
5116 Add gst_caps_merge() and a bunch of other recently-added functions.
5117 Fixes #361732.
5119 2006-10-11 Wim Taymans <wim@fluendo.com>
5121 * docs/plugins/gstreamer-plugins.args:
5122 * docs/plugins/inspect/plugin-coreelements.xml:
5123 * docs/plugins/inspect/plugin-coreindexers.xml:
5124 Update element args.
5126 * gst/gstsystemclock.c:
5127 Small comment update.
5129 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5130 (gst_tee_request_new_pad), (gst_tee_release_pad),
5131 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5132 (gst_tee_sink_activate_pull):
5133 * plugins/elements/gsttee.h:
5134 Some tee loving:
5135 Add default property defines.
5136 Implement release pad function.
5137 Give properties better blubs etc.
5138 Activate pads before adding them to a running tee.
5139 Do simple buffer_alloc on the first requested pad.
5140 Post error when activation fails.
5142 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5144 * gst/gst.c: (ensure_current_registry_forking):
5145 Check return value of write() to make compiler happy.
5147 2006-10-11 Wim Taymans <wim@fluendo.com>
5149 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5151 * plugins/elements/gstqueue.c: (gst_queue_chain):
5152 Recheck queue filledness after signalling the overrun when we're about
5153 to leak downstream because we released the lock when emitting the signal
5154 and the queue could be empty again. Fixes #352345.
5156 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5158 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5159 Fix refcounting here too, just like we did for _new_valist() a few
5160 days ago (#357180) (thanks to René Stadler). Also remove all those
5161 'Since: 0.9' from the gtk-doc blobs.
5163 * tests/check/libs/controller.c: (controller_refcount_new_list),
5164 (gst_controller_suite):
5165 Unit test for the above.
5167 2006-10-10 Wim Taymans <wim@fluendo.com>
5169 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5171 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5172 (gst_pad_save_thyself):
5173 Update some docs.
5174 Write pad direction in XML output. Fixes #345496.
5176 2006-10-10 Wim Taymans <wim@fluendo.com>
5178 Patch by: René Stadler <mail at renestadler dot de>
5180 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5181 (gst_controller_new_list), (_gst_controller_dispose),
5182 (_gst_controller_finalize), (_gst_controller_class_init):
5183 Take ref to controlled object so that it cannot disappear.
5184 Fixes #357432.
5186 2006-10-10 Wim Taymans <wim@fluendo.com>
5188 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5189 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5190 (gst_check_teardown_sink_pad):
5191 Activate/deactivate pads in setup/teardown respectively.
5193 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5195 Patch by: Josep Torre Valles <josep@fluendo.com>
5197 * gst/Makefile.am:
5198 Cast values when making gstenumtypes.h. This pacifies Forte
5199 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5200 in the enumeration.
5202 2006-10-09 Wim Taymans <wim@fluendo.com>
5204 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5205 Rename some more @cur to @start to fix docs.
5207 * gst/gstsegment.c: (gst_segment_set_seek):
5208 Fix typo.
5209 time and start must always stay in sync as defined in design doc.
5211 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5212 Rename param to fix docs.
5214 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5215 Check that start and time are in sync.
5217 * tests/check/pipelines/parse-launch.c:
5218 (gst_parse_test_element_change_state):
5219 Activate pad before adding to the element.
5221 2006-10-09 Wim Taymans <wim@fluendo.com>
5223 * docs/design/part-qos.txt:
5224 Fix typo.
5226 * gst/gstevent.c:
5227 * gst/gstevent.h:
5228 Update seek event docs regarding negative rates.
5229 Rename @cur to @start.
5231 * gst/gstsegment.c: (gst_segment_set_seek):
5232 * gst/gstsegment.h:
5233 Update set_seek docs regarding negative rates.
5234 Correctly update last_stop to @stop when dealing with negative
5235 rates.
5236 Rename @cur to @start.
5238 * tests/check/gst/gstpad.c: (GST_START_TEST):
5239 Activate pads before trying to use them.
5241 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5242 (gst_segment_suite):
5243 Add simple check for segments and negative rates.
5245 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5247 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5248 * gst/gsttaglist.h:
5249 * docs/gst/gstreamer-sections.txt:
5250 API: add gst_tag_list_is_empty() (#360467).
5252 * tests/check/gst/gsttag.c: (GST_START_TEST):
5253 And a test case.
5255 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5257 * gst/gstmessage.h:
5258 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5259 a value that doesn't fit on enumeration.
5261 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5263 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5264 Remove local debugging system and use Gstreamer's instead.
5266 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5268 Patch by: Josep Torre Valles <josep@fluendo.com>
5270 * common/m4/gst-error.m4:
5271 Disable warning of statement not reached on Forte.
5272 * gst/gstmessage.h:
5273 Fix warning on Forte (value doesn't fit on enumeration).
5274 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5275 Fix warning on Forte (value doesn't fit on enumeration).
5276 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5277 DEBUG macro says it takes minimum of 2 args and so Forte
5278 complains about the use with just 1 arg.
5279 * plugins/elements/gstfdsink.c:
5280 * plugins/elements/gstfdsrc.c:
5281 * plugins/elements/gstfilesink.c:
5282 * plugins/elements/gstfilesrc.c:
5283 Use correct return type for the uri handler implementations.
5285 All these fix warnings in Forte. Fixes bug #360860.
5287 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5289 * gst/gstelement.h:
5290 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5291 format string, so don't use G_GNUC_PRINTF for those versions.
5293 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5295 * gst/gsttaglist.c: (gst_is_tag_list):
5296 * gst/gsttaglist.h:
5297 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5299 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5300 Small test for the above.
5302 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5304 * gst/gsttaglist.h:
5305 Less tabs, more spaces.
5307 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5309 * gst/gstinfo.h:
5310 Those two function declarations do actually belong there, revert
5311 commit from yesterday that turned them intro macros.
5313 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5315 Patch by: Josep Torre Valles <josep@fluendo.com>
5317 * gst/gst.c: (gst_init_get_option_group):
5318 Fix empty declaration and type mismatch.
5319 * gst/gstbin.c: (gst_bin_change_state_func):
5320 Fix type mismatch.
5321 * gst/gstelement.c: (gst_element_continue_state),
5322 (gst_element_set_state_func), (gst_element_change_state),
5323 (gst_element_change_state_func):
5324 Fix type mismatches.
5325 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5326 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5327 Cast as appropriate.
5328 * gst/gstobject.c: (gst_class_signal_connect):
5329 Cast as appropriate. The function pointer parameter really
5330 has the wrong type but would break API if we change it.
5331 * gst/gstquery.c:
5332 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5333 order of including string.h.
5334 * gst/gstutils.c: (gst_element_state_get_name):
5335 Remove unreachable line.
5336 * gst/gstxml.c: (gst_xml_parse_doc):
5337 Fix type mismatch.
5338 All these caught by Forte.
5340 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5342 Patch by: Josep Torre Valles <josep@fluendo.com>
5344 * common/m4/gst-error.m4:
5345 Fixed bug #360151.
5346 We need to disable warnings on Forte for empty declarations
5347 due to gst-indent adding ;s to lines that just use macros
5348 where the macro actually doesn't need a ; at end to end
5349 statement.
5351 2006-10-06 Wim Taymans <wim@fluendo.com>
5353 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5354 (gst_file_sink_close_file), (gst_file_sink_event),
5355 (gst_file_sink_render):
5356 Add some FIXME for the NEWSEGMENT handling.
5358 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5360 * gst/parse/grammar.y:
5361 Remove static function gst_parse_element_lock as all it does
5362 is return. Looks like cruft from 0.8.
5364 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5366 Patch by: Josep Torre Valles <josep@fluendo.com>
5368 * common/m4/gst-error.m4:
5369 * configure.ac:
5370 * libs/gst/net/Makefile.am:
5371 Fix a compilation issue with Forte on Solaris. inet_aton is in
5372 libresolv.
5374 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5376 * gst/gstpad.c: (pre_activate):
5377 * gst/gstregistry.c: (gst_registry_scan_path_level):
5378 * gst/gstregistryxml.c: (load_plugin):
5379 * libs/gst/controller/gstcontroller.c:
5380 (gst_controlled_property_set_interpolation_mode):
5381 * libs/gst/dataprotocol/dataprotocol.c:
5382 (gst_dp_packet_from_event_1_0):
5383 * libs/gst/net/gstnetclientclock.c:
5384 (gst_net_client_clock_observe_times):
5385 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5386 Printf fixes.
5388 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5390 * configure.ac:
5391 * docs/gst/gstreamer-sections.txt:
5392 * gst/gstconfig.h.in:
5393 * gst/gstelement.h:
5394 * gst/gstinfo.h:
5395 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5396 whether we can use G_GNUC_PRINTF in other header files and at
5397 least check the printf format/arguments of debug messages and
5398 GST_ELEMENT_ERROR messages when the printf extension is not
5399 being used.
5400 Replace more tabs with spaces in gstinfo.h and remove two spurious
5401 function declarations in GST_DISABLE_DEBUG part with macros.
5403 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5405 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5406 More docs for the sync-message signal (mention that it is not
5407 emitted by default); log message structures of messages posted on
5408 the bus as well.
5410 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5412 * gst/gst.c: (ensure_current_registry_forking):
5413 Use a pipe pair to receive status results from the forked child, and
5414 ignore the result from waitpid. Fixes #355499
5416 2006-10-02 Wim Taymans <wim@fluendo.com>
5418 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5419 (gst_ghost_pad_suite):
5420 Fix leak in check.
5422 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5424 * gst/gstpad.c:
5425 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5427 2006-10-02 Edward Hervey <edward@fluendo.com>
5429 * docs/design/part-block.txt:
5430 Further explain the use of flushing on blocked pads.
5431 * docs/gst/gstreamer-sections.txt:
5432 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5433 (gst_pad_push_event):
5434 * gst/gstpad.h:
5435 Added new GstPadFlag : GST_PAD_BLOCKING.
5436 Adds the notion of pads really blocking, which enables to properly
5437 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5438 Fixes #358999
5439 API: gst_pad_is_blocking()
5440 API: GST_PAD_IS_BLOCKING() macro
5441 API: GST_PAD_BLOCKING GstPadFlag
5443 2006-10-02 Wim Taymans <wim@fluendo.com>
5445 Patch by: mrcgran <mrc.gran at gmail dot com>
5447 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5448 Filter the proxied caps against the padtemplate if we have one.
5450 * gst/gstquery.c: (gst_query_new_segment):
5451 Add include for gstinfo.h so that compilation with
5452 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5454 2006-10-02 Wim Taymans <wim@fluendo.com>
5456 Patch by: Alessandro Decina <alessandro at nnva org>
5458 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5459 (gst_file_sink_set_location), (gst_file_sink_open_file),
5460 (gst_file_sink_close_file), (gst_file_sink_event),
5461 (gst_file_sink_render):
5462 Set file to NULL when closing filesink so that we can set a new filename
5463 in READY. Fixes #358613.
5465 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5467 Patch by: Alessandro Decina <alessandro at nnva org>
5469 * gst/gstevent.c: (_gst_event_copy):
5470 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5471 with event structures by setting the parent refcount address of the
5472 copied structure to the address of the refcount member of the newly
5473 copied event rather than the address of the refcount member of the
5474 original event. Fixes #358737.
5476 * tests/check/gst/gstevent.c: (GST_START_TEST):
5477 Unit test for the above.
5479 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5481 * docs/design/Makefile.am:
5482 Dist some more files.
5484 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5486 * tests/check/libs/controller.c: (GST_START_TEST),
5487 (gst_controller_suite):
5488 Add test for the previous fix; add some more tests
5489 for correct refcounting behaviour; fix a few leaks
5490 in test cases; call gst_controller_init() at start
5491 of all tests.
5493 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5495 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5496 (gst_controller_set_from_list):
5497 Don't g_return_val_if_fail() on timed values with invalid timestamps
5498 inside a critical section without unlocking the mutex. Spotted by
5499 René Stadler. (#357617)
5500 Also, fix up refcounting properly: when returning an existing
5501 controller, we should increase the reference only once and not
5502 once per property and when trying to control a property again
5503 we should also increase the refcount.
5505 2006-09-29 Wim Taymans <wim@fluendo.com>
5507 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5508 * libs/gst/net/gstnettimeprovider.c:
5509 (gst_net_time_provider_thread):
5510 Stop reading commands when EOF as well.
5512 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5513 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5514 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5515 Unify description of the dump property.
5517 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5519 * tests/examples/manual/.cvsignore:
5520 OK, so it's actually cvsignore that needs changing. Stop laughing.
5522 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5524 * tests/examples/manual/Makefile.am:
5525 Gah, declare vars *before* using them
5527 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5529 * gst/gst.c: (init_pre), (scan_and_update_registry),
5530 (ensure_current_registry_nonforking),
5531 (ensure_current_registry_forking), (ensure_current_registry),
5532 (init_post), (gst_debug_help), (gst_deinit):
5533 * gst/gst_private.h:
5534 * gst/gstregistry.c: (gst_registry_finalize),
5535 (gst_registry_remove_features_for_plugin_unlocked),
5536 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5537 (gst_registry_scan_path),
5538 (_priv_gst_registry_remove_cache_plugins),
5539 (_priv_gst_registry_cleanup):
5540 * gst/gstregistry.h:
5541 Re-commit the registry changes, along with an extra fix:
5542 When a cached plugin is encountered at a different file path,
5543 update the stored path in the registry cache so that the parent
5544 process knows where it actually is now when it re-reads the registry
5545 cache. Fixes the thing that broke distcheck with the previous commit.
5547 * tests/check/Makefile.am:
5548 Clean up files named 'core' too when running make clean.
5550 * tests/examples/manual/Makefile.am:
5551 Set up a registry path for running these tests, and clean it properly
5552 for distcheck.
5554 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5556 * configure.ac:
5557 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5558 want gmodule-no-export-2.0.pc instead so that we don't drag in
5559 --export-dynamic on every project that links to GStreamer.
5561 Also, make our export regex only match the start of symbols, rather
5562 than any symbol that contains '_gst' somewhere.
5564 * libs/gst/check/Makefile.am:
5565 The libgstcheck we build does however need export-dynamic, as it
5566 produces some symbols that don't match our _gst... style regex.
5567 Fixes: #318031
5569 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5571 * gst/gst.c: (init_pre), (scan_and_update_registry),
5572 (ensure_current_registry_nonforking),
5573 (ensure_current_registry_forking), (ensure_current_registry),
5574 (init_post), (gst_debug_help), (gst_deinit):
5575 * gst/gst_private.h:
5576 * gst/gstregistry.c: (gst_registry_finalize),
5577 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5578 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5579 (_gst_registry_cleanup):
5580 * gst/gstregistry.h:
5581 Revert previous change until I figure out why it breaks distcheck.
5583 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5585 * gst/gst.c: (init_pre), (scan_and_update_registry),
5586 (ensure_current_registry_nonforking),
5587 (ensure_current_registry_forking), (ensure_current_registry),
5588 (init_post), (gst_debug_help), (gst_deinit):
5590 Make init_pre and init_post take the full complement of GOptionFunc
5591 args so they can return useful GErrors. Make the registry updating
5592 functions do so.
5594 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5595 ensure that the registry we're about to write out doesn't contain
5596 stale information about old-deleted plugin files.
5598 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5599 that deletion of plugin files is considered a registry change.
5601 * gst/gst_private.h:
5602 * gst/gstregistry.c: (gst_registry_finalize),
5603 (gst_registry_remove_features_for_plugin_unlocked),
5604 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5605 (gst_registry_scan_path),
5606 (_priv_gst_registry_remove_cache_plugins),
5607 (_priv_gst_registry_cleanup):
5608 * gst/gstregistry.h:
5609 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5610 by adding _priv prefix, so that they won't appear in the global
5611 symbol table. They still do atm though because of #318031. Move the
5612 prototypes to gst_private.h
5614 When removing a plugin, remove all features for that plugin too.
5615 Fixes #340878.
5617 2006-09-27 Wim Taymans <wim@fluendo.com>
5619 * docs/random/moving-plugins:
5620 Make it clear that the "compiled-in descriptions" really mean
5621 the element details.
5623 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5624 (gst_base_sink_wait_preroll):
5625 Update docs.
5627 * docs/libs/gstreamer-libs-sections.txt:
5628 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5629 (gst_base_src_get_range), (gst_base_src_activate_push):
5630 * libs/gst/base/gstbasesrc.h:
5631 Added function to block while waiting for PLAYING, this function
5632 is used by live sources that block on the clock.
5633 API: gst_base_src_wait_playing()
5635 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5637 Patch by: Peter Kjellerstedt <pkj at axis com>
5639 * Makefile.am:
5640 gst-element-check.m4 is generated and should therefore be
5641 copied from the build dir rather than the source dir (#357593).
5642 'make distcheck' hasn't noticed this because we were disting
5643 the file as well, so stop doing that.
5645 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5647 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5648 Add some tests for gst_caps_intersect().
5650 * tools/gst-launch.c: (event_loop):
5651 Print all buffering percentages we get, even the 100% one.
5653 2006-09-26 Wim Taymans <wim@fluendo.com>
5655 * tools/gst-inspect.c: (print_element_properties_info),
5656 (print_signal_info):
5657 Fix printing of flags to match the look of enums.
5659 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5661 * gst/gstelementfactory.c:
5662 Fix typo in docs blurb.
5664 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5666 * gst/gsturi.c: (search_by_entry):
5667 Don't assert/crash here if a uri handler doesn't return any
5668 supported protocols. The list of protocols could be generated
5669 dynamically at runtime or at plugin registration, and an error
5670 in the underlying library shouldn't be fatal (#353301).
5672 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5674 * gst/gstinfo.c:
5675 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5676 (spotted by Peter Kjellerstedt).
5678 2006-09-23 Wim Taymans <wim@fluendo.com>
5680 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5682 * libs/gst/base/gstbasesrc.c:
5683 (gst_base_src_default_check_get_range), (gst_base_src_start),
5684 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5685 (gst_base_src_change_state):
5686 Match _start/_stop calls in the activate functions. Remove redundant
5687 _stop call from the state change function. Fixes #356910.
5688 Turn failure DEBUG into ERROR.
5690 2006-09-22 Wim Taymans <wim@fluendo.com>
5692 * docs/design/part-buffering.txt:
5693 * gst/gstmessage.c: (gst_message_new_buffering),
5694 (gst_message_parse_buffering):
5695 Update docs about buffering.
5697 * docs/design/part-trickmodes.txt:
5698 Fix typo.
5700 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5702 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5703 (gst_controller_new_list):
5704 Ref instances when returning them again (fixes #357180)
5706 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5708 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5709 Don't forget to release proxy lock when there's an error.
5711 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5713 * gst/gstcaps.h:
5714 Add extra initialisers for Caps things, to fix some plugin warnings
5715 when using -Wextra
5717 2006-09-18 Wim Taymans <wim@fluendo.com>
5719 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5720 Also set template on the internal pad so that a getcaps from the
5721 target pad returns the template caps.
5723 2006-09-18 Wim Taymans <wim@fluendo.com>
5725 * gst/gstelement.c: (gst_element_post_message),
5726 (gst_element_dispose):
5727 Use _DEBUG_OBJECT some more.
5729 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5730 Avoid typechecks.
5732 * tools/gst-launch.c: (main):
5733 If the toplevel element is not a GstPipeline, it must be put in a
5734 pipeline so that a bus and clock is selected.
5736 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5738 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5739 JITTER, RATE, and LATENCY query should be handled by the
5740 default case and not by the CONVERT query code.
5742 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5744 * gst/gstformat.c: (gst_format_register):
5745 Fix locking order (must take lock before using n_values).
5747 * gst/gstvalue.c: (gst_value_serialize_enum),
5748 (gst_value_deserialize_enum_iter_cmp),
5749 (gst_value_deserialize_enum):
5750 Fix serialisation/deserialisation of custom registered GstFormats.
5752 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5753 Unit test for custom format serialisation/deserialisation.
5755 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5757 * docs/pwg/building-boiler.xml:
5758 * plugins/elements/gstcapsfilter.c:
5759 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5760 section.
5762 2006-09-16 Edward Hervey <edward@fluendo.com>
5764 * libs/gst/base/gstbasetransform.c:
5765 (gst_base_transform_buffer_alloc):
5766 Check if requested caps are the same as the sinks caps IF
5767 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5768 is FALSE.
5769 This fixes the renegotiation issues stated in #352827.
5771 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5773 * configure.ac:
5774 * docs/manual/advanced-autoplugging.xml:
5775 * tests/examples/Makefile.am:
5776 * tests/examples/manual/.cvsignore:
5777 * tests/examples/manual/Makefile.am:
5778 * tests/examples/manual/extract.pl:
5779 Extract the manual examples again like we used to do.
5780 Fix one of them.
5782 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5784 * win32/common/config.h:
5785 update for version
5787 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5789 * gst/gsterror.c:
5790 Documents how to receive errors.
5792 2006-09-15 Wim Taymans <wim@fluendo.com>
5794 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5795 (event_loop), (main):
5796 Added some comments here and there.
5797 Post an application message when an interrupt is caught instead of doing
5798 an uncontrolled state change.
5799 Clean up the event loop.
5800 Handle buffering messages, pause/resume the pipeline.
5801 Make shutdown because of an interrupt more reliable.
5803 2006-09-15 Wim Taymans <wim@fluendo.com>
5805 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5806 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5807 (gst_base_sink_preroll_object):
5808 Make sure that our internal state is correct when we commit our state
5809 asynchronously. This solves a race where a state change to PLAYING
5810 could cause the sink to remain blocked in preroll in some situations.
5812 2006-09-15 Wim Taymans <wim@fluendo.com>
5814 * tools/gst-inspect.c: (print_element_properties_info),
5815 (print_signal_info):
5816 List flags as hex so it's easier to deal with.
5818 2006-09-15 Wim Taymans <wim@fluendo.com>
5820 * docs/libs/gstreamer-libs-sections.txt:
5821 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5822 (gst_base_sink_do_sync):
5823 * libs/gst/base/gstbasesink.h:
5824 Expose logic to wait for preroll so that subclasses such as audiosink
5825 can also use this method.
5826 API: gst_base_sink_wait_preroll()
5828 2006-09-15 Wim Taymans <wim@fluendo.com>
5830 * gst/gstobject.c: (gst_object_set_parent):
5831 * gst/gstpipeline.c: (do_pipeline_seek):
5832 Small cleanups in docs and code.
5834 * gst/gstsegment.c: (gst_segment_clip):
5835 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5836 if stop == start and start is in the segment, no clipping should be
5837 done. Also add a test for this.
5839 2006-09-15 Wim Taymans <wim@fluendo.com>
5841 * docs/design/part-buffering.txt:
5842 * docs/gst/gstreamer-sections.txt:
5843 * gst/gstmessage.c: (gst_message_new_buffering),
5844 (gst_message_parse_buffering):
5845 * gst/gstmessage.h:
5846 Added methods to create and parse BUFFERING messages.
5847 Added preliminary docs about buffering.
5848 API: gst_message_new_buffering
5849 API: gst_message_parse_buffering
5851 2006-09-06 Wim Taymans <wim@fluendo.com>
5853 * gst/gstbin.c:
5854 Update documentation.
5856 * gst/gstelement.c: (gst_element_class_init),
5857 (gst_element_release_request_pad), (gst_element_set_clock),
5858 (gst_element_get_index), (gst_element_add_pad),
5859 (gst_element_remove_pad), (gst_element_get_random_pad),
5860 (gst_element_send_event), (gst_element_get_query_types),
5861 (gst_element_query), (gst_element_post_message),
5862 (gst_element_message_full), (gst_element_continue_state),
5863 (gst_element_lost_state), (gst_element_save_thyself),
5864 (gst_element_restore_thyself):
5865 Documentation updates.
5866 Rename last bit of the new-pad -> pad-added signal rename.
5867 Fix the case where an element query would only work if the source
5868 pad was linked.
5869 Avoid some useless type checking in message handling.
5871 * gst/gstevent.c:
5872 * gst/gstevent.h:
5873 * gst/gstutils.c:
5874 Documentation updates.
5876 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5878 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5879 add an INFO line for when we actually update the fd
5881 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5883 * configure.ac:
5884 back to TRUNK
5886 === release 0.10.10 ===
5888 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5890 * configure.ac:
5891 releasing 0.10.10, "Pais"
5893 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5895 * docs/manual/advanced-position.xml:
5896 Fix typo in sample code.
5898 2006-09-05 Wim Taymans <wim@fluendo.com>
5900 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5901 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5902 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5903 * libs/gst/net/gstnetclientclock.h:
5904 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5905 * libs/gst/net/gstnettimepacket.h:
5906 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5907 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5908 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5909 * libs/gst/net/gstnettimeprovider.h:
5910 Make stuff compile on windows. Fixes #345295.
5912 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5914 * gst/gst.c: (ensure_current_registry_forking):
5915 Print better details when child was terminated by signal.
5917 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5919 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5920 Print a warning rather than g_assert() if a plugin feature
5921 is a URI handler but returns no protocols (#353976).
5923 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5925 * docs/random/moving-plugins:
5926 Fix two typos.
5928 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5930 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5931 Fix locking order, handle NULL function values properly.
5933 * gst/gstinfo.h:
5934 Fix docs.
5936 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5937 Initialise variable before using it and fix debug statement to
5938 print the address of the function rather than the address of the
5939 variable on the stack holding the address of the function.
5941 2006-09-01 Wim Taymans <wim@fluendo.com>
5943 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5944 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5945 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5946 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5947 (gst_ghost_pad_parent_unset),
5948 (gst_ghost_pad_internal_do_activate_push),
5949 (gst_ghost_pad_internal_do_activate_pull),
5950 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5951 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5952 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5953 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5954 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5955 (gst_ghost_pad_new_no_target_from_template),
5956 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5957 More cleanups.
5958 Avoid needless typechecking in macros.
5959 Since the internal pad is always present and never changes, there is
5960 no need to locking or ref when retrieving it.
5961 Improve debugging a bit.
5962 Handle link errors when setting the target. Fixes #341029.
5964 2006-09-01 Wim Taymans <wim@fluendo.com>
5966 * docs/libs/gstreamer-libs-sections.txt:
5967 * docs/plugins/gstreamer-plugins-sections.txt:
5968 Fix docs some more.
5970 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5971 (gst_collect_pads_event):
5972 * libs/gst/base/gstcollectpads.h:
5973 Documentation updates.
5974 Free queued buffer when removing a pad.
5976 2006-08-31 Michael Smith <msmith@fluendo.com>
5978 * gst/gstutils.c: (gst_element_link_pads),
5979 (gst_element_link_pads_filtered):
5980 Ensure that we set a capsfilter to NULL if we failed to link it
5981 when doing filtered linking, to avoid criticals.
5983 No need to check for unreffing srcpad, which is explicly NULLed
5984 above (a trivial code cleanup).
5986 2006-08-31 Wim Taymans <wim@fluendo.com>
5988 * docs/design/part-gstghostpad.txt:
5989 Update ascii art in documentation.
5991 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5992 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5993 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5994 (gst_ghost_pad_internal_do_activate_push),
5995 (gst_ghost_pad_internal_do_activate_pull),
5996 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5997 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5998 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5999 (gst_ghost_pad_set_target):
6000 Small cleanups and leak fixes.
6001 Remove some checks now that the internal pad is never NULL.
6002 Fix the case where linking pads without a target would create nasty
6003 criticals. Fixes #341029.
6004 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6005 value of _set_target().
6007 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6008 (gst_ghost_pad_suite):
6009 Some more tests for creating and linking untargeted ghostpads.
6011 2006-08-31 Edward Hervey <edward@fluendo.com>
6013 * docs/gst/gstreamer-sections.txt:
6014 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6015 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6016 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6017 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6018 (gst_ghost_pad_new_from_template),
6019 (gst_ghost_pad_new_no_target_from_template):
6020 * gst/gstghostpad.h:
6021 Refactored *_new() functions.
6022 Templates are now used as a g_object_new() parameter.
6023 Use template in _do_getcaps() if we don't have a target.
6024 Small documentation cleanups.
6025 Added two new constructors:
6026 gst_ghost_pad_new_from_template()
6027 gst_ghost_pad_new_no_target_from_template()
6028 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6029 (gst_ghost_pad_suite):
6030 Added tests for new ghostpad instanciation functions.
6032 API additions: gst_ghost_pad_new_from_template,
6033 gst_ghost_pad_new_no_target_from_template
6035 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6037 * docs/random/ensonic/profiling.txt:
6038 Ideas about qos profiling.
6040 2006-08-29 Wim Taymans <wim@fluendo.com>
6042 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6043 Code cleanups.
6044 Fix memleak.
6046 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6048 * gst/gstxml.c:
6049 Improve and detypofy docs.
6051 * tests/check/Makefile.am:
6052 * tests/check/gst/.cvsignore:
6053 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6054 Add a basic test suite for GstXML.
6056 2006-08-29 Wim Taymans <wim@fluendo.com>
6058 * gst/gstelement.c: (activate_pads), (clear_caps),
6059 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6060 Clear the pad caps when the element shut down all of the pads and
6061 is not streaming data that could modify the caps.
6062 Fixes #352958.
6064 2006-08-28 Michael Smith <msmith@fluendo.com>
6066 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6067 Revert previous change; I misunderstood single-segment mode.
6069 2006-08-28 Michael Smith <msmith@fluendo.com>
6071 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6072 Unset DISCONT on buffers when using single-segment mode.
6074 2006-08-28 Wim Taymans <wim@fluendo.com>
6076 * gst/gstcaps.c: (gst_caps_merge_structure):
6077 * gst/gstcaps.h:
6078 Fix docs and indentation again.
6080 * tests/check/gst/gstquery.c: (GST_START_TEST):
6081 Fix leak in tests and add some more tests.
6083 2006-08-28 Edward Hervey <edward@fluendo.com>
6085 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6086 Inform GstSegment of the last stop position in order for the current
6087 segment to have a proper duration if it doesn't have a specific stop
6088 position from which a duration could be calculated.
6089 This bug was noticeable when a non-flushing, non-update new segment was
6090 followed by another segment (all buffers from the new segment were being
6091 dropped).
6093 2006-08-28 Wim Taymans <wim@fluendo.com>
6095 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6096 Small comment update.
6098 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6099 (gst_identity_transform_ip):
6100 Drop-probability is broken, mention this in the code with a
6101 FIXME and also in the property description.
6102 Make silent also be silent about the drop messages.
6104 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6106 * docs/manual/appendix-win32.xml:
6107 Remove mention of popt, we don't depend on that any
6108 longer (#353136). Add some comments pointing out that
6109 this section is slightly outdated.
6111 2006-08-28 Wim Taymans <wim@fluendo.com>
6113 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6115 * gst/gstquery.c: (gst_query_new_segment):
6116 * tests/check/gst/gstquery.c: (GST_START_TEST):
6117 Initialize variables when creating a new segment query.
6118 Fixes #353121.
6120 2006-08-28 Wim Taymans <wim@fluendo.com>
6122 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6124 * gst/gstelement.c: (gst_element_get_bus):
6125 * tests/check/gst/gstelement.c: (GST_START_TEST):
6126 Check for NULL before _reffing the bus. Fixes #353122.
6128 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6130 * docs/manual/basics-bus.xml:
6131 Docs update: fix wrong callback return value explanation; add
6132 some lines about the implicit relationship between main loop
6133 and main context; remove duplicate main loop variable declaration.
6135 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6137 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6138 Don't leak caps in unit test; add a few more simple
6139 checks.
6141 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6143 * docs/gst/gstreamer-sections.txt:
6144 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6145 (gst_caps_structure_is_subset), (gst_caps_merge),
6146 (gst_caps_merge_structure):
6147 * gst/gstcaps.h:
6148 * libs/gst/base/gstbasetransform.c:
6149 (gst_base_transform_transform_caps):
6150 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6151 implement caps merging (fixes #352580)
6153 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6155 * tools/Makefile.am:
6156 * tools/gst-plot-timeline.py:
6157 add debug-log plotting developer tool (#340674)
6159 2006-08-23 Wim Taymans <wim@fluendo.com>
6161 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6162 (gst_pad_stop_task):
6163 Improve debugging for task functions.
6165 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6166 (gst_task_start), (gst_task_pause), (gst_task_join):
6167 Make sure that the task function started and finished after a
6168 join().
6169 Don't try to push the task function on the threadpool multiple
6170 times.
6171 Improve the g_warning message with some useful suggestions
6172 about how to fix the problem.
6174 2006-08-23 Wim Taymans <wim@fluendo.com>
6176 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6177 Handle RESYNC correctly in _proxy_getcaps.
6179 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6181 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6182 (gst_xml_parse_memory), (gst_xml_get_element):
6183 Chain up to parent class in dispose function and also
6184 unref the elements in the toplevel_elements GList.
6185 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6186 Always return a reference in gst_xml_get_element() rather
6187 than only sometimes.
6189 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6190 Don't leak GstXml object.
6192 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6194 * docs/gst/gstreamer-sections.txt:
6195 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6196 (gst_caps_merge):
6197 * gst/gstcaps.h:
6198 * libs/gst/base/gstbasetransform.c:
6199 (gst_base_transform_transform_caps):
6200 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6201 in a better way
6203 2006-08-21 Edward Hervey <edward@fluendo.com>
6205 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6206 Implement GObject::dispose virtual method in GstXML so we can free the
6207 top_elements GList.
6209 2006-08-21 Wim Taymans <wim@fluendo.com>
6211 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6212 (gst_buffer_create_sub):
6213 Copy duration/offset_end/caps when creating a subbuffer of the
6214 complete parent.
6215 Make the subbuffer read-only when we make the metadata writable for
6216 now. Fixes #351768.
6218 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6219 Added check for metadata copy when creating subbuffers.
6221 2006-08-21 Edward Hervey <edward@fluendo.com>
6223 * libs/gst/base/gstbasetransform.c:
6224 (gst_base_transform_buffer_alloc):
6225 Only call downstream buffer_alloc if transform element is passthrough
6226 or always_in_place. Closes #350449.
6228 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6230 * ChangeLog:
6231 ChangeLog surgery to add comments to previous changes
6233 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6235 * gst/gst.c:
6236 Add comments
6238 * gst/gstpad.c: (gst_pad_set_active):
6239 Be more verbose in the log
6241 * libs/gst/base/gstbasetransform.c:
6242 (gst_base_transform_transform_caps):
6243 Simplify caps to get rid of duplicates, fixes #345444
6245 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6247 * gst/gstvalue.c:
6248 * gst/gstvalue.h:
6249 Use these optimizations only internally.
6251 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6253 * gst/gstvalue.c: (gst_value_compare_list),
6254 (gst_value_compare_fraction_range),
6255 (gst_value_intersect_fraction_fraction_range),
6256 (gst_value_intersect_fraction_range_fraction_range),
6257 (gst_value_subtract_fraction_fraction_range),
6258 (gst_value_subtract_fraction_range_fraction_range),
6259 (gst_value_get_compare_func), (gst_value_compare),
6260 (gst_value_compare_with_func):
6261 * gst/gstvalue.h:
6262 Saves the expensive lookup of the compare function in many cases
6263 (#345444)
6265 2006-08-18 Edward Hervey <edward@fluendo.com>
6267 * tests/check/gst/gstinfo.c: (gst_info_suite):
6268 Disable test that require gstdebug if it wasn't built in core.
6270 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6272 * docs/random/ensonic/logging.txt:
6273 update ideas
6275 * gst/gstinfo.c: (gst_debug_log_default):
6276 reorder fields, save some columns, add optional color codes for log
6277 levels
6279 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6281 * docs/random/ensonic/logging.txt:
6282 add ideas about making the logs a bit more useful
6284 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6286 * docs/pwg/advanced-events.xml:
6287 * docs/pwg/titlepage.xml:
6288 Update for 0.10 API (#340627). Add myself
6289 to authors list.
6291 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6293 * docs/libs/gstreamer-libs-docs.sgml:
6294 * docs/libs/gstreamer-libs-sections.txt:
6295 * libs/gst/check/gstbufferstraw.c:
6296 Make gstcheck stuff show up in docs (still needs to
6297 be documented properly though).
6299 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6301 * docs/gst/gstreamer-sections.txt:
6302 * gst/Makefile.am:
6303 * gst/gst.c: (init_post):
6304 * gst/gst_private.h:
6305 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6306 * gst/gstquark.h:
6307 * gst/gstquery.c: (gst_query_new_position),
6308 (gst_query_set_position), (gst_query_parse_position),
6309 (gst_query_new_duration), (gst_query_set_duration),
6310 (gst_query_parse_duration), (gst_query_new_convert),
6311 (gst_query_set_convert), (gst_query_parse_convert),
6312 (gst_query_new_segment), (gst_query_set_segment),
6313 (gst_query_parse_segment), (gst_query_new_seeking),
6314 (gst_query_set_seeking), (gst_query_parse_seeking):
6315 Add internal helpers for pre-registering quarks from static strings
6316 and using the quark values directly instead of looking them up when
6317 creating and parsing queries. Can be used for event construction too.
6318 Closes #350432.
6320 2006-08-16 Wim Taymans <wim@fluendo.com>
6322 * gst/gstbin.c:
6323 Fix bogus docs.
6325 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6327 * gst/gstutils.c: (gst_util_set_value_from_string):
6328 Fix memleak (#351502).
6330 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6331 Add unit test for most of gst_util_set_value_from_string()
6332 (not that one would want to encourage use of this function).
6334 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6336 * libs/gst/check/gstcheck.h:
6337 Use const gchar * variables in fail_unless_equals_string
6338 macro to avoid compiler warnings (and don't use tabs for
6339 indenting).
6341 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6343 * tools/gst-launch.c: (print_tag):
6344 More space on the left for the tag names, to cater
6345 for the 'extended comment' tag (not touching the
6346 string for the first line since it's translated).
6348 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6350 * libs/gst/check/gstcheck.h:
6351 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6352 print something when they fail.
6354 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6356 * docs/gst/gstreamer-sections.txt:
6357 * gst/gsttaglist.c: (_gst_tag_initialize):
6358 * gst/gsttaglist.h:
6359 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6360 Also change merge function for GST_TAG_COMMENT to
6361 use_first.
6363 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6365 * gst/gstinfo.c: (gst_debug_print_object):
6366 Make GST_PTR_FORMAT print messages as well.
6368 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6369 (GST_START_TEST), (gst_info_suite):
6370 More tests.
6372 2006-08-14 Edward Hervey <edward@fluendo.com>
6374 * gst/gstelementfactory.c: (gst_element_register):
6375 If the GstElementClass doesn't have a GstElementDetails with all fields
6376 filled up correctly (longname, description AND author), then error out
6377 nicely instead of crashing.
6379 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6381 * gst/gststructure.c:
6382 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6384 * gst/gstvalue.h:
6385 Expand on the difference between arrays and lists as we use them.
6387 2006-08-14 Wim Taymans <wim@fluendo.com>
6389 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6390 If the parent state change function failed, don't assume we can safely
6391 stop the source, this will be done when the pads are deactivated.
6393 2006-08-14 Wim Taymans <wim@fluendo.com>
6395 * gst/gstbuffer.c:
6396 * gst/gsttask.c: (gst_task_join):
6397 Small doc updates.
6399 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6400 (gst_pad_stop_task):
6401 When pad (de)activation failed for some reason, restore the old
6402 activation mode and set the pad to flushing instead of assuming the
6403 pad is deactivated.
6404 If the _task_join() failed, reinstall the task on the pad so that it can
6405 be stopped later and return an error.
6407 2006-08-11 Andy Wingo <wingo@pobox.com>
6409 * configure.ac:
6410 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6411 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6412 is only for users of API that don't want to see deprecated
6413 functions in the headers; people that want to compile out
6414 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6415 CFLAGS. Fixes the build of multifdsink, or will soon..
6417 2006-08-11 Wim Taymans <wim@fluendo.com>
6419 * docs/gst/gstreamer-sections.txt:
6420 Add GstClockClass vmethod docs.
6422 * gst/gstcaps.h:
6423 Mark #endif with comment for associated #if
6425 * gst/gstclock.c: (gst_clock_id_wait):
6426 * gst/gstclock.h:
6427 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6428 most clock implementations.
6429 Document vmethods.
6430 Flesh out docs about resolution methods.
6431 API: GstClockClass::wait_jitter
6433 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6434 (gst_system_clock_async_thread),
6435 (gst_system_clock_id_wait_jitter_unlocked),
6436 (gst_system_clock_id_wait_jitter):
6437 Use base class wait_jitter variant for improved performance
6438 due to less clock polling.
6440 2006-08-11 Edward Hervey <edward@fluendo.com>
6442 * gst/gst.c: (gst_init_check), (init_post):
6443 Set gst as being initialized before scanning/updating the registry,
6444 since there might be my python plugin loader that calls gst_init() and
6445 we don't want to loop back in.
6446 Closes #350879
6448 2006-08-11 Wim Taymans <wim@fluendo.com>
6450 * docs/design/part-qos.txt:
6451 Bring docs in line with the code. Mostly the sign of the jitter was
6452 wrong in the docs. Fixes #349943.
6454 * gst/gstclock.c:
6455 Fix the docs for the jitter.
6457 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6458 (gst_event_parse_tag), (gst_event_new_buffer_size),
6459 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6460 (gst_event_new_seek), (gst_event_parse_seek),
6461 (gst_event_new_navigation):
6462 Make sure the GstStructure has no parent when creating custom
6463 events.
6464 Add some more argument checking so that we avoid 0.0 rates.
6465 Flesh out the docs for the QoS event some more.
6467 2006-08-11 Wim Taymans <wim@fluendo.com>
6469 * docs/gst/gstreamer-sections.txt:
6470 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6471 (ensure_current_registry_forking), (ensure_current_registry),
6472 (parse_one_option), (parse_goption_arg), (gst_deinit),
6473 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6474 * gst/gst.h:
6475 Doc updates.
6476 Added API and command line option to disable registry forking in
6477 addition to the environment variable.
6478 Constify some static arrays.
6479 Added some more debug.
6480 Don't deinit twice.
6481 API: gst_registry_fork_is_enabled()
6482 API: gst_registry_fork_set_enabled()
6483 API: --gst-disable-registry-fork command line option
6484 Fixes #348918.
6486 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6488 * gst/gst.c: (gst_init):
6489 Fix typo in error message.
6491 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6493 * libs/gst/controller/gstcontroller.h:
6494 fix ABI size-correction
6496 * tests/check/libs/gdp.c: (gst_dp_suite):
6497 make tests that use deprecated API conditional
6499 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6501 * docs/libs/gstreamer-libs-sections.txt:
6502 * libs/gst/controller/gstcontroller.c:
6503 (_gst_controller_get_property), (_gst_controller_set_property),
6504 (_gst_controller_init), (_gst_controller_class_init):
6505 * libs/gst/controller/gstcontroller.h:
6506 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6507 (gst_object_set_control_rate):
6508 API: add gst_object_{s,g}et_control_rate(), add private data section,
6509 fix docs
6511 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6512 * libs/gst/dataprotocol/dataprotocol.h:
6513 add deprecation guards to make gtk-doc happy and allow disabling cruft
6515 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6517 * tests/check/Makefile.am:
6518 * tests/check/gst/.cvsignore:
6519 Let's enable the new unit test as well.
6521 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6523 * configure.ac:
6524 * docs/gst/gstreamer-sections.txt:
6525 * gst/gstconfig.h.in:
6526 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6527 (_gst_info_printf_extension_ptr),
6528 (_gst_info_printf_extension_segment):
6529 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6530 register that lets us easily dump GstSegments into debug
6531 logs (#350419).
6533 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6534 (info_segment_format_printf_extension), (gst_info_suite):
6535 Add simple unit test that logs a bunch of different segments (not
6536 valgrinded at the moment because of leaks in
6537 gst_debug_add_log_function).
6539 2006-08-09 Edward Hervey <edward@fluendo.com>
6541 * libs/gst/base/gstbasetransform.c:
6542 (gst_base_transform_buffer_alloc):
6543 Even if we can't figure out the proper format to request downstream,
6544 call buffer_alloc() downstream with the input parameters without setting
6545 the caps on the srcpad. This will force negotiation in the chain
6546 function.
6547 Closes #350449
6549 2006-08-08 Edward Hervey <edward@fluendo.com>
6551 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6552 Unlinking from a pad without a target is now a perfectly valid case
6553 which should NOT raise an assertion.
6554 This case would happen if a linked ghostpad its target set to NULL after
6555 it was previously linked.
6557 2006-08-08 Edward Hervey <edward@fluendo.com>
6559 * tests/check/libs/gdp.c:
6560 Also comment out the test (see below).
6562 2006-08-08 Edward Hervey <edward@fluendo.com>
6564 * tests/check/libs/gdp.c: (gst_dp_suite):
6565 Use the architecture information from config.h and not gcc macros
6566 in order to properly disable a test that fails on PPC64.
6568 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6570 * gst/gstelement.c: (gst_element_remove_pad):
6571 Don't crash printing the warning if the pad has no parent.
6573 2006-08-02 Wim Taymans <wim@fluendo.com>
6575 * libs/gst/dataprotocol/dataprotocol.c:
6576 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6577 (gst_dp_crc), (gst_dp_header_payload_length),
6578 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6579 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6580 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6581 (gst_dp_event_from_packet), (gst_dp_validate_header),
6582 (gst_dp_validate_payload):
6583 Make debug category static
6584 Constify the crc table.
6585 Do some more arg checking in public functions.
6586 Fix some docs and do some small cleanups.
6588 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6589 Add some more checks to see if GDP deals with bogus input.
6591 2006-07-31 Wim Taymans <wim@fluendo.com>
6593 * gst/gstvalue.c: (gst_value_compare_list):
6594 Fix GstValueList comparison code. Fixes #347293.
6596 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6597 Check to test GstValueList comparison.
6599 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6601 * gst/gstelementfactory.c: (gst_element_factory_create):
6602 Remove unnecessary ref/unref pair
6604 * gst/parse/grammar.y:
6605 Make sure to free the parse buffer on all code paths.
6606 Move a g_free up to the error handler where it's easier to see.
6608 * tests/check/gst/gstevent.c: (test_event):
6609 Extending timeout for downstream travelling events to 10 seconds to
6610 hopefully avoid intermittent failure on the buildbots.
6612 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6613 Don't manually set the state of the src element - it will happen as a
6614 natural consequence of the pipeline changing state, and that way it
6615 will do it in the right order too.
6617 2006-07-31 Wim Taymans <wim@fluendo.com>
6619 * libs/gst/base/gstbasetransform.c:
6620 (gst_base_transform_buffer_alloc):
6621 Use OBJECT_LOCK and refcounting to get the pad caps in the
6622 buffer_alloc function because the caps could change while we are
6623 busy with them. Fixes #349105
6625 2006-07-31 Wim Taymans <wim@fluendo.com>
6627 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6628 Protect _PAD_CAPS with OBJECT_LOCK.
6630 2006-07-31 Wim Taymans <wim@fluendo.com>
6632 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6633 (gst_pad_get_property), (gst_pad_activate_pull),
6634 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6635 (gst_pad_set_activate_function),
6636 (gst_pad_set_activatepull_function),
6637 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6638 (gst_pad_set_getrange_function),
6639 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6640 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6641 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6642 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6643 (gst_pad_set_acceptcaps_function),
6644 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6645 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6646 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6647 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6648 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6649 (gst_pad_configure_sink), (gst_pad_configure_src),
6650 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6651 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6652 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6653 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6654 (gst_pad_send_event):
6655 Use _DEBUG_OBJECT when it makes sense.
6656 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6657 Small cleanups and code reflows.
6658 Avoid caps refcounting in _accept_caps.
6659 Refactor alloc_buffer so that the code performed on the peer is in a
6660 separate function. Also if the pad does not implement a buffer alloc
6661 function, we should still check if the pad is flushing before falling
6662 back to the default allocator.
6664 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6666 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6667 Make all uses of identity and fakesink have silent=true to avoid
6668 serialising every passing data structure, which is breaking tests
6669 on FC4 for some unknown reason.
6671 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6673 * gst/parse/Makefile.am:
6674 * gst/parse/grammar.y:
6675 * gst/parse/parse.l:
6676 Reverted previous patch as it required to bump the flex dependency to
6677 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6679 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6681 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6683 * gst/parse/Makefile.am:
6684 * gst/parse/grammar.y:
6685 * gst/parse/parse.l:
6686 push & pop the state of the lexer for reentrant use case
6687 Fixes #349180
6689 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6691 * libs/gst/base/gstbasesrc.h:
6692 Note in the docs that the ::newsegment vfunc is not actually used by
6693 GstBaseSrc.
6695 2006-07-28 Wim Taymans <wim@fluendo.com>
6697 * libs/gst/base/gstcollectpads.c:
6698 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6699 (gst_collect_pads_clear), (gst_collect_pads_flush),
6700 (gst_collect_pads_event), (gst_collect_pads_chain):
6701 When flushing a pad, also clear the queued buffer so that we don't
6702 accidentally use it when we shouldn't.
6703 Fix leaks by inreffing incomming buffer.
6704 Flush out queued buffers in case of errors.
6705 Fixes #347452.
6707 2006-07-28 Wim Taymans <wim@fluendo.com>
6709 * docs/random/phonon-gst:
6710 Random notes about a Phonon backend.
6712 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6714 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6715 Extra debug output
6716 * tests/check/libs/gdp.c: (gst_dp_suite):
6717 Take a whack at fixing the ppc compile using a different define to
6718 disable the broken test.
6720 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6721 Remove excess g_print()
6723 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6725 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6726 Oops, meant to uncomment this line too to dampen the noise a bit.
6728 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6730 * gst/parse/grammar.y:
6731 * gst/parse/parse.l:
6732 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6733 (GST_START_TEST), (parse_suite):
6734 Fix some of the leaks exposed by extending the parse-launch testsuite,
6735 and move the 3 I can't figure out into a separate test that won't run
6736 the pipelines unless the appropriate line is uncommented.
6738 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6740 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6741 Requesting 0 bytes before the end of the file should result in
6742 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6743 unit test.
6745 2006-07-27 Wim Taymans <wim@fluendo.com>
6747 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6748 Fix useless assert, a uint is always positive.
6750 * gst/gststructure.c: (gst_structure_nth_field_name),
6751 (gst_structure_foreach), (gst_structure_map_in_place):
6752 Check input arguments for public functions to avoid obvious crashes.
6754 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6755 * plugins/elements/gstfakesink.h:
6756 Do less useless typechecking.
6758 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6760 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6761 Do not use mmap() by default since there are a number of error
6762 conditions that we would like to handle in a non-fatal way that
6763 will result in a SIGBUS if we use mmap(). Examples: external
6764 devices (USB harddrive, portable music player) being unplugged
6765 while in use; file on mounted CD/DVD that can't be read because
6766 the medium is partly damaged. Fixes #348455 and #348475.
6768 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6770 * gst/gstquery.h:
6771 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6772 rates are a gdouble
6774 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6776 * gst/gstregistry.c:
6777 Move big documentation comment into class section header, so that it
6778 appears in the API docs.
6780 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6782 * docs/gst/gstreamer-sections.txt:
6783 Oops. Commit the docs additions too for new API.
6784 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6786 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6788 * gst/gststructure.c: (gst_structure_id_set),
6789 (gst_structure_id_set_valist):
6790 * gst/gststructure.h:
6791 Add API for setting values into structures without performing
6792 a quark lookup, if the appropriate quark is already known.
6794 API: gst_structure_id_set
6795 API: gst_structure_id_set_valist
6797 * gst/parse/grammar.y:
6798 * gst/parse/parse.l:
6799 Remove some dead code shown by the coverage information.
6800 Don't throw a critical g_warning when encountering a syntax error,
6801 just warn and let the normal error path handle it.
6803 * plugins/elements/gstelements.c:
6804 Bump the rank of filesink up to PRIMARY so that it is preferred over
6805 gnomevfssink for file:// sink uri's
6807 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6808 (GST_START_TEST), (run_delayed_test),
6809 (gst_parse_test_element_base_init),
6810 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6811 (gst_parse_test_element_change_state),
6812 (gst_register_parse_element), (parse_suite):
6813 Beef up the tests for parse syntax to check that more error cases
6814 fail as they are supposed to. Increases the test coverage a bit.
6816 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6818 * docs/manual/basics-elements.xml:
6819 Fix gst_element_link() example.
6821 * gst/gstutils.c:
6822 Mention in API docs that one should usually gst_bin_add()
6823 elements to a bin or pipeline before doing the linking.
6825 2006-07-26 Wim Taymans <wim@fluendo.com>
6827 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6828 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6829 Avoid function call for known types by keeping the buffer and
6830 subbuffer GType global.
6832 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6833 Random silly optimisations in read() path.
6835 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6837 * tools/gst-launch.c: (main):
6838 If the top-level of the parse is a normal bin, it doesn't do the
6839 right logic to run as a top-level element, so place it inside a
6840 pipeline.
6842 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6844 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6845 Remove superfluous g_object_notify() calls, GObject does
6846 that for us automatically.
6848 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6850 * gst/gstinfo.h:
6851 on Win32, use dllspec to export the debug category symbols
6853 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6855 * gst/gsttaglist.c: (_gst_tag_initialize):
6856 Allow more than one GST_TAG_IMAGE per taglist.
6858 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6860 * gst/gstminiobject.c:
6861 update docs
6862 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6863 (gst_fd_src_create):
6864 log recurring events at LOG level
6865 add more debug for when the fd gets set
6867 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6869 * gst/gstparse.c: (gst_parse_launch):
6870 Also remove reentrance checks if flex is MT safe (#348179)
6871 Fix my empty ChangeLog entry below
6873 2006-07-21 Andy Wingo <wingo@pobox.com>
6875 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6877 * libs/gst/check/Makefile.am
6878 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6879 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6880 * libs/gst/check/gstbufferstraw.h:
6881 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6882 functions, thus proving I am still a GStreamer haxor. OK I wrote
6883 them a long time ago, but anyways.
6885 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6887 * configure.ac:
6888 * gst/gstparse.c: (gst_parse_launch):
6889 Check for flex version and omit mutex if we have a MT save flex
6890 (fixes #348179)
6892 2006-07-21 Wim Taymans <wim@fluendo.com>
6894 * gst/gstparse.c: (gst_parse_launch):
6895 Protect recursive calls to _parse with a recursive mutex
6896 and busy flag.
6898 2006-07-21 Wim Taymans <wim@fluendo.com>
6900 * tests/check/gst/gstpad.c: (GST_START_TEST):
6901 Fix leak in test.
6903 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6905 * gst/gstparse.c: (gst_parse_launch):
6906 Do not hang on recursive usage of gst_parse_launch()
6908 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6910 * gst/gsttaglist.c:
6911 Add some more docs, comments and FIXME 0.11s here and there
6912 and also fix some typos.
6914 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6916 * gst/gstsegment.h:
6917 Convert tabs to spaces for better readability.
6919 2006-07-20 Edward Hervey <edward@fluendo.com>
6921 * tests/check/libs/gdp.c: (gst_dp_suite):
6922 the test_buffer test fails at line 140 on ppc64 at the following
6923 check:
6924 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6925 GST_BUFFER_FLAG_IN_CAPS),
6926 "GST_BUFFER_IN_CAPS flag should have been copied !");
6927 See bug #348114 for more details.
6929 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6931 * docs/pwg/advanced-scheduling.xml:
6932 * gst/gstpad.c:
6933 Fix typos (#348000).
6935 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6937 * docs/pwg/intro-basics.xml:
6938 Fix wrong links (#347927).
6940 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6942 * gst/gstregistry.h:
6943 * gst/gstregistryxml.c: (load_feature),
6944 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6945 * win32/common/config.h:
6946 make --disable-index work (#342564)
6948 2006-07-18 Wim Taymans <wim@fluendo.com>
6950 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6952 * gst/Makefile.am:
6953 * gst/gsttrace.h:
6954 The attached patch adds two missing defines to gsttrace.h when tracing
6955 is disabled. It also corrects one existing define.
6956 Fixes #347756.
6958 2006-07-17 Wim Taymans <wim@fluendo.com>
6960 * docs/gst/gstreamer-sections.txt:
6961 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6962 * gst/gst.h:
6963 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6964 Add two functions to check and change the SIGSEGV behaviour
6965 when loading plugins.
6966 Don't mess with the SIGSEGV handler when we were told not to.
6967 Fixes #347794.
6968 API: gst_segtrap_is_enabled
6969 API: gst_segtrap_set_enabled
6971 2006-07-14 Wim Taymans <wim@fluendo.com>
6973 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6974 * tests/check/elements/filesrc.c: (GST_START_TEST):
6975 Revert fix for regression in #347408 after release.
6977 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6979 Patch by: Antoine Tremblay <hexa00 at gmail com>
6981 * gst/gstutils.c: (gst_element_unlink):
6982 Free iterator when done (#347311).
6984 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6985 And add a test case for this.
6987 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6989 * configure.ac:
6990 Bump nano back to CVS
6992 === release 0.10.9 ===
6994 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6996 * configure.ac:
6997 releasing 0.10.9, "On the road again"
6999 2006-07-13 Wim Taymans <wim@fluendo.com>
7001 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7002 * tests/check/elements/filesrc.c: (GST_START_TEST):
7003 Revert pull-0 fix for release. Disable check. Fixes #347408.
7005 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7007 * libs/gst/dataprotocol/dataprotocol.c:
7008 (gst_dp_event_from_packet_1_0):
7009 Fixes #347337: failure to deserialize event packets with
7010 empty payload (only event type)
7012 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7014 * gst/Makefile.am:
7015 do not install a .c file in the header directory
7017 2006-07-13 Edward Hervey <edward@fluendo.com>
7019 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7020 GhostPad no longer implicitely use the padtemplates of the targets.
7021 Fixes #347384
7023 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7025 * gst/gstvalue.c: (gst_value_compare_list),
7026 (gst_value_compare_array), (_gst_value_initialize):
7027 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7028 Make GstValueArray comparison be order dependent as designed.
7029 Add checks for value lists and value array comparisons.
7030 Fixes #347221
7032 2006-07-11 Edward Hervey <edward@fluendo.com>
7034 * gst/gstbin.c: (activate_pads),
7035 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7036 (gst_bin_change_state_func):
7037 (de)activate src pads before calling state_change on the childs.
7038 This is to avoid the case where a src ghostpad is blocked (holding the
7039 stream lock), which would block the deactivation of the ghostpad's
7040 target pad.
7041 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7042 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7043 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7044 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7045 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7046 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7047 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7048 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7049 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7050 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7051 (gst_ghost_pad_class_init),
7052 (gst_ghost_pad_internal_do_activate_push),
7053 (gst_ghost_pad_internal_do_activate_pull),
7054 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7055 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7056 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7057 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7058 GhostPads now create their internal GstProxyPad at creation (and not
7059 when they're linked, as it was being done previously).
7060 The internal and target pads are linked straight away.
7061 The data will also travel through the other pad in order to make
7062 pad blocking and probes non-hackish (the probe/block now really happens
7063 on the GhostPad and not on the target).
7064 * gst/gstpad.c: (gst_pad_set_blocked_async),
7065 (gst_pad_link_prepare), (gst_pad_push_event):
7066 Remove previous ghostpad cruft.
7067 * gst/gstutils.c: (gst_pad_add_data_probe),
7068 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7069 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7070 (gst_pad_remove_buffer_probe):
7071 Remove previous ghost pad cruft.
7072 Added more detailed debug statements.
7073 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7074 Fix the testsuite for refcounting changes.
7075 The comments about who has references were correct, but the refcount
7076 being checked wasn't the same (!?!).
7078 Fixes #341029
7080 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7082 * docs/gst/gstreamer-sections.txt:
7083 * gst/gstconfig.h.in:
7084 More docs for configuration options, add docs to gtk-doc.
7086 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7088 * gst/Makefile.am:
7089 * gst/gstconfig.h.in:
7090 * win32/common/config.h:
7091 Fix build when disabling tracing (fixes #344016). Also start to document
7092 the defines that disable the sub-systems.
7094 2006-07-10 Edward Hervey <edward@fluendo.com>
7096 * gst/gst.c: (ensure_current_registry_forking):
7097 let's make valgrind happy...
7099 2006-07-09 Wim Taymans <wim@fluendo.com>
7101 * gst/gstelement.c: (activate_pads),
7102 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7103 Better pad activation code: Reset the collect value too on resync.
7104 Add some comments.
7106 2006-07-09 Wim Taymans <wim@fluendo.com>
7108 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7109 (gst_pad_activate_push):
7110 Use some more macros where it makes sense.
7111 Allow pad mode switching instead of asserting. When a pad
7112 is activated in one mode and we activate it in another,
7113 deactivate it first before activating it in a different mode.
7114 Fixes #329198.
7116 2006-07-08 Andy Wingo <wingo@pobox.com>
7118 * tools/gst-launch.c (main): Handle err == NULL.
7120 * gst/gst.c (init_post, ensure_current_registry)
7121 (ensure_current_registry_forking)
7122 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7123 factoring out the registry scanning into separate functions. Don't
7124 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7125 Better environment var name/interface suggestions accepted.
7127 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7129 * gst/gstobject.c: (gst_object_set_name_default),
7130 (gst_object_set_name):
7131 Random micro-optimisation: don't use a hash table
7132 with strings as keys and the usual strdup/strcmp
7133 involved, but rather just use the GQuark of the
7134 type name as key, since it needs to be looked up
7135 anyway to get the type name string.
7137 * tests/check/gst/gstobject.c: (GST_START_TEST):
7138 Fix various leaks.
7140 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7142 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7143 (gst_bin_iterate_all_by_interface):
7144 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7145 GTypes are gulongs and thus the top 4 bytes might be cut
7146 off on some platforms when doing GPOINTER_TO_INT, leading
7147 to invalid GTypes and bad things happening (see RH bug #179654).
7148 Also add a check to make sure the type passed in is really
7149 an interface type.
7151 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7153 * .cvsignore:
7154 Ignore more.
7156 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7158 * Makefile.am:
7159 * configure.ac:
7160 * gst-element-check.m4:
7161 * gst-element-check.m4.in:
7162 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7163 instead of the unversioned gst-inspect (#324176, #168659).
7165 2006-07-06 Wim Taymans <wim@fluendo.com>
7167 * gst/gstmessage.h:
7168 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7169 warnings.
7171 2006-07-06 Wim Taymans <wim@fluendo.com>
7173 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7174 (gst_base_src_wait), (gst_base_src_update_length),
7175 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7176 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7177 (gst_base_src_loop), (gst_base_src_start),
7178 (gst_base_src_activate_pull):
7179 Update docs.
7180 blocksize == 0 now means the default blocksize when working in push
7181 based mode.
7182 Remove some pointless asserts in _wait function.
7183 Fix offset/length calculations and EOS handling. We can now pull 0
7184 bytes as well, which is allowed.
7185 use _check_get_range() to decide if we can operate in _pull based
7186 mode.
7187 Fix refcounting leak when check_get_range function was not
7188 implemented.
7189 API GstBaseSrc::blocksize range can be 0 too now (default)
7191 * tests/check/elements/filesrc.c: (GST_START_TEST),
7192 (filesrc_suite):
7193 Added check to test _get_range() behaviour.
7195 2006-07-06 Wim Taymans <wim@fluendo.com>
7197 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7198 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7199 (gst_pad_pull_range):
7200 * gst/gstpad.h:
7201 Lots of comments and docs added to the pad functions.
7202 Flesh out the expected behaviour of the get_range() functions.
7204 2006-07-06 Wim Taymans <wim@fluendo.com>
7206 * gst/gstbus.h:
7207 * gst/gstclock.h:
7208 * gst/gstevent.h:
7209 * gst/gstiterator.h:
7210 * gst/gstpad.h:
7211 * gst/gstplugin.h:
7212 * gst/gsttask.h:
7213 Remove comma at end of enumerator list.
7215 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7217 * win32/common/libgstbase.def:
7218 * win32/common/libgstdataprotocol.def:
7219 * win32/common/libsgtreamer.def:
7220 Add new exported functions.
7222 2006-07-05 Wim Taymans <wim@fluendo.com>
7224 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7225 Add some more docs here and there.
7227 2006-07-05 Wim Taymans <wim@fluendo.com>
7229 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7230 (gst_base_sink_loop), (gst_base_sink_get_position):
7231 When operating in pull mode update the offset so that we
7232 read sequentially.
7234 2006-07-05 Wim Taymans <wim@fluendo.com>
7236 * gst/gstregistryxml.c: (read_string):
7237 Avoid strdup. (will happen in libxml, but hey!)
7239 * gst/gsturi.c:
7240 Add some more docs.
7242 2006-07-05 Wim Taymans <wim@fluendo.com>
7244 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7245 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7246 (gst_buffer_suite):
7247 No point in checking if the size of the subbuffer > 0, the
7248 code handles it correclty as demonstrated by unit test.
7249 Also add a unit test for the zero sized _new_and_alloc and
7250 _copy. Fixes #346663.
7252 2006-07-05 Wim Taymans <wim@fluendo.com>
7254 * libs/gst/base/gstbasetransform.c:
7255 (gst_base_transform_prepare_output_buffer),
7256 (gst_base_transform_buffer_alloc),
7257 (gst_base_transform_handle_buffer):
7258 Make sure the buffer we pass to transform_ip has a refcount of
7259 1 and thus is writable. Fixes #343196
7261 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7263 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7264 (gst_file_src_init), (gst_file_src_set_property),
7265 (gst_file_src_get_property), (gst_file_src_map_region):
7266 * plugins/elements/gstfilesrc.h:
7267 Add "sequential" property, off by default, to use madvise and hint
7268 to the kernel that sequential access is desired.
7269 Touch all retrieved pages by default to ensure they are pulled
7270 into memory. (Closes #345720)
7272 2006-07-03 Wim Taymans <wim@fluendo.com>
7274 * docs/design/part-block.txt:
7275 * docs/design/part-dynamic.txt:
7276 Small docs updates.
7278 2006-07-03 Wim Taymans <wim@fluendo.com>
7280 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7281 (gst_caps_unref), (gst_static_caps_get),
7282 (gst_caps_append_structure):
7283 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7284 Use GSlice when the glib we build against is >= 2.10
7286 2006-07-03 Wim Taymans <wim@fluendo.com>
7288 * gst/gstelement.c: (gst_element_pads_activate):
7289 Small cleanup in pad activation code.
7291 2006-07-03 Wim Taymans <wim@fluendo.com>
7293 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7295 * gst/gst-i18n-app.h:
7296 * gst/gst-i18n-lib.h:
7297 * tools/gst-inspect.c: (print_signal_info):
7298 The attached patch will make the inclusion of gettext.h unconditional in
7299 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7300 libintl.h in tools/gst-inspect.c.
7301 This allows use of --disable-nls again and fixes #344642.
7303 2006-07-03 Edward Hervey <edward@fluendo.com>
7305 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7306 Implement pad blocking on events according to part-block.txt.
7307 More comments on behaviour.
7308 * tests/check/gst/gstevent.c: (test_event):
7309 Send event to peer pad of blocked pad (else it will block).
7311 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7313 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7314 (gst_check_run_suite):
7315 if we get the wrong message, give us the types as string
7316 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7317 Fix a translatable
7318 * tests/check/elements/filesrc.c: (GST_START_TEST):
7319 add a test for trying to open a non-existing file
7321 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7323 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7324 add a test for adding self
7326 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7328 * libs/gst/check/gstcheck.h:
7329 add some assert_ as alias for fail_unless_*
7330 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7331 increase test coverage
7333 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7335 * Makefile.am:
7336 include lcov.mak for lcov coverage generation
7337 * tools/Makefile.am:
7338 add to CLEANFILES
7340 2006-07-02 Edward Hervey <edward@fluendo.com>
7342 * tests/check/elements/.cvsignore:
7343 moaping
7345 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7347 * configure.ac:
7348 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7349 * tests/check/Makefile.am:
7350 clean up gcov files
7352 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7354 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7355 remove gst_caps_simplify; it was not declared and not used
7356 and deprecated in 0.8
7358 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7360 * docs/faq/gst-uninstalled:
7361 don't put empty paths on PYTHONPATH
7362 * docs/gst/gstreamer-sections.txt:
7363 remove some symbols that are not there
7365 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7367 * gst/gstcaps.c: (gst_caps_compare_structures):
7368 whitespace fixes
7369 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7370 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7371 add more tests
7373 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7375 * libs/gst/dataprotocol/Makefile.am:
7376 build dataprotocol test by linking to the lib, instead of
7377 compiling the source, so we get coverage
7378 * tests/check/Makefile.am:
7379 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7380 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7381 add a test for filesrc
7383 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * tests/check/gst/gststructure.c: (GST_START_TEST),
7386 (gst_structure_suite):
7387 Push coverage from 59.04% to 70.00%
7389 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7391 * tests/check/Makefile.am:
7392 gst-inspect every element; this makes sure that we also get
7393 coverage on element's get/set functions
7395 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7397 * configure.ac:
7398 set CFLAGS and friends to -O0 if gcov is being used
7399 add GCOV LIBS
7400 * gst/Makefile.am:
7401 * libs/gst/base/Makefile.am:
7402 * libs/gst/check/Makefile.am:
7403 * libs/gst/controller/Makefile.am:
7404 * libs/gst/dataprotocol/Makefile.am:
7405 * libs/gst/net/Makefile.am:
7406 * plugins/elements/Makefile.am:
7407 * plugins/indexers/Makefile.am:
7408 add makefile rules to generate gcov data and clean up
7409 * tests/check/Makefile.am:
7410 add a coverage target that generates an html overview
7411 of coverage data
7413 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7415 * tests/check/elements/fakesink.c:
7416 * tests/check/elements/fakesrc.c:
7417 * tests/check/elements/fdsrc.c:
7418 * tests/check/elements/identity.c:
7419 * tests/check/generic/sinks.c: (gst_sinks_suite):
7420 * tests/check/generic/states.c:
7421 * tests/check/gst/gst.c:
7422 * tests/check/gst/gstabi.c:
7423 * tests/check/gst/gstbin.c:
7424 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7425 * tests/check/gst/gstbus.c: (gst_bus_suite):
7426 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7427 * tests/check/gst/gstelement.c:
7428 * tests/check/gst/gstevent.c: (gst_event_suite):
7429 * tests/check/gst/gstghostpad.c:
7430 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7431 * tests/check/gst/gstmessage.c: (gst_message_suite):
7432 * tests/check/gst/gstminiobject.c:
7433 * tests/check/gst/gstobject.c:
7434 * tests/check/gst/gstpad.c:
7435 * tests/check/gst/gstpipeline.c:
7436 * tests/check/gst/gstplugin.c:
7437 * tests/check/gst/gstquery.c: (gst_query_suite):
7438 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7439 * tests/check/gst/gststructure.c:
7440 * tests/check/gst/gstsystemclock.c:
7441 * tests/check/gst/gsttag.c:
7442 * tests/check/gst/gsttask.c: (gst_task_suite):
7443 * tests/check/gst/gstutils.c:
7444 * tests/check/gst/gstvalue.c:
7445 * tests/check/libs/adapter.c:
7446 * tests/check/libs/basesrc.c:
7447 * tests/check/libs/collectpads.c:
7448 * tests/check/libs/controller.c:
7449 * tests/check/libs/gdp.c: (gst_dp_suite):
7450 * tests/check/libs/gstnetclientclock.c:
7451 * tests/check/libs/gstnettimeprovider.c:
7452 * tests/check/libs/libsabi.c: (libsabi_suite):
7453 * tests/check/libs/typefindhelper.c:
7454 * tests/check/pipelines/cleanup.c:
7455 * tests/check/pipelines/parse-launch.c:
7456 * tests/check/pipelines/simple-launch-lines.c:
7457 * tests/check/pipelines/stress.c: (stress_suite):
7458 use the new macro
7460 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7462 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7463 * libs/gst/check/gstcheck.h:
7464 create a macro and function so that the simple unit test
7465 case can be just one macro to create main()
7467 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7469 * gst/gstbin.c: (gst_bin_restore_thyself):
7470 * gst/gstxml.c: (gst_xml_make_element):
7471 Fix deserialisation from XML. Set parent manually
7472 instead of using gst_bin_add(), since gst_bin_add()
7473 will unlink all pads of the element being added.
7474 Fixes #341667.
7476 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7478 Patch by: Peter Kjellerstedt <pkj at axis com>
7480 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7481 Fix missing g_strdup() and double free when using the
7482 --gst-plugin-load command line option (#346097).
7484 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7486 * gst/gstinfo.c:
7487 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7489 * libs/gst/net/gstnetclientclock.c:
7490 * libs/gst/net/gstnettimeprovider.c:
7491 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7493 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7495 * docs/manual/advanced-dataaccess.xml:
7496 Fix buffer probe example compilation in
7497 ADM (#345708).
7499 2006-06-22 Edward Hervey <edward@fluendo.com>
7501 * gst/gstelement.c: (gst_element_pads_activate):
7502 We need to deactivate src pads first and then sink pads.
7503 The reason is the src pads might be blocking while holding the streaming
7504 lock, so we need to deactivate them first so that deactivating the sink
7505 pads doesn't block (since it will require the streaming lock).
7507 2006-06-22 Wim Taymans <wim@fluendo.com>
7509 * libs/gst/base/gstbasetransform.c:
7510 (gst_base_transform_buffer_alloc):
7511 Forgot to remove two unneeded unrefs.
7512 Simplify a check _is_equal allready checks the obvious case.
7514 2006-06-22 Wim Taymans <wim@fluendo.com>
7516 * docs/design/part-block.txt:
7517 Some docs about what pad_block should do.
7519 2006-06-22 Wim Taymans <wim@fluendo.com>
7521 * gst/gstcaps.c: (gst_caps_replace):
7522 Fix crasher when passed NULL. Doc clarification.
7523 Optimize for the trivial case.
7525 * gst/gstpipeline.c: (gst_pipeline_change_state):
7526 Small cleanups.
7528 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7529 Small documentation cleanup.
7531 * libs/gst/base/gstbasetransform.c:
7532 (gst_base_transform_buffer_alloc):
7533 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7534 is what we need and it avoids a whole lot of redundant
7535 refcount operations.
7537 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7539 Patch by: Philip Jägenstedt <philip at lysator liu se>
7541 * docs/manual/advanced-dataaccess.xml:
7542 Fix 'Embedding static elements' section to use
7543 GST_PLUGIN_DEFINE_STATIC (#345607).
7545 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7547 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7548 Attempt to 'fix' spuriously failing test case: it seems like the
7549 timeout of half a second is simply too small when the system is under
7550 load otherwise, and the timeout doesn't really seem to serve any
7551 particular purpose here. Give the pipeline a few seconds to preroll
7552 first, and then give it another half a second to go from PAUSED to
7553 PLAYING and marshal the message into the main thread.
7555 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7557 * tools/gst-feedback-m.m:
7558 Don't only use unversioned tools, try versioned tools as well
7559 (#345086).
7561 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7563 * gst/gstbus.c: (gst_bus_class_init):
7564 Fix some typos, make docs more explicit.
7566 2006-06-20 Wim Taymans <wim@fluendo.com>
7568 * tests/check/gst/gstghostpad.c: (block_callback),
7569 (GST_START_TEST), (gst_ghost_pad_suite):
7570 Added some more ghostpad tests, mainly blocking
7571 and probes.
7573 2006-06-16 Wim Taymans <wim@fluendo.com>
7575 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7576 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7577 (gst_file_sink_event), (gst_file_sink_render):
7578 * plugins/elements/gstfilesink.h:
7579 Check if we can seek in the file instead of assuming
7580 we always can. Post an error when we are asked to seek in a
7581 non-seekable file (like a fifo). Fixes #343312.
7582 Some cleanups.
7584 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7586 * tools/gst-launch.1.in:
7587 Un-garble (fourcc) bit in filtered caps section.
7589 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7591 * docs/manual/advanced-autoplugging.xml:
7592 * docs/manual/basics-helloworld.xml:
7593 * docs/manual/highlevel-components.xml:
7594 Don't leak bus reference in sample code.
7596 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7598 * autogen.sh:
7599 Add default for new --enable-plugin-docs switch.
7601 * configure.ac:
7602 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7603 Fixes #344039.
7605 * docs/Makefile.am:
7606 Use new ENABLE_PLUGIN_DOCS conditional.
7608 2006-06-14 Wim Taymans <wim@fluendo.com>
7610 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7611 Make it clear with a FIXME and a real define what the #if 0
7612 previously disabled.
7614 2006-06-14 Wim Taymans <wim@fluendo.com>
7616 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7617 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7618 * libs/gst/base/gstbasetransform.c:
7619 (gst_base_transform_sink_eventfunc):
7620 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7621 Don't randomly and silently reset a segment when the format
7622 changes as this is a bug somewhere upstream. Fixes #330379.
7624 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7626 Patch by: Wouter Paesen <wouter at kangaroot net>
7628 * libs/gst/controller/gstcontroller.c:
7629 (gst_controlled_property_new):
7630 Fix controlling of float properties (#344849).
7632 * tests/check/libs/controller.c:
7633 (gst_test_mono_source_get_property),
7634 (gst_test_mono_source_set_property),
7635 (gst_test_mono_source_class_init), (GST_START_TEST):
7636 While we're at it, add some float stuff to unit test.
7638 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7640 * docs/README:
7641 * docs/images/gdp-header.svg:
7642 add a gdp image
7643 * docs/libs/Makefile.am:
7644 * docs/libs/gdp-header.png:
7645 * libs/gst/dataprotocol/dataprotocol.c:
7646 add it to the API docs
7647 * docs/manual/intro-motivation.xml:
7648 fix typo
7650 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7652 * gst/gst.c: (scan_and_update_registry), (init_post):
7653 If the fork()'ed child process can't write the updated registry cache
7654 file to disk for some reason, make it exit with a failure exit code,
7655 so that the parent can then re-scan the plugins itself and update the
7656 registry structures in memory and work with that (rather than failing
7657 when creating elements because seemingly no plugins are available).
7658 Refactor registry scanning code into separate function for this and
7659 also separate fork() and non-fork() code paths. Fixes #344748.
7661 2006-06-13 Wim Taymans <wim@fluendo.com>
7663 * docs/manual/advanced-dataaccess.xml:
7664 Fix wrong PluginDesc. Fixes #344755.
7666 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7668 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7669 Fix silly bug that prevented us from creating
7670 ~/.gstreamer-0.10 and writing the registry in one
7671 go (the first call to g_mkstemp() would overwrite the
7672 placeholder in the template string, so the second call
7673 to g_mkstemp() after creating the missing directory
7674 would then error out with 'invalid argument').
7676 2006-06-13 Edward Hervey <edward@fluendo.com>
7678 * gst/gst.c: (init_post):
7679 Free string.
7681 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * gst/glib-compat-private.h:
7684 * gst/glib-compat.c:
7685 * gst/glib-compat.h:
7686 * gst/gstvalue.c: (gst_value_serialize_flags):
7687 remove GLib 2.6 compatibility code
7689 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7691 * gst/parse/Makefile.am:
7692 Fix build with 'make -j N' even more (#340016).
7694 2006-06-12 Wim Taymans <wim@fluendo.com>
7696 * docs/gst/gstreamer-sections.txt:
7697 Fix docs.
7699 2006-06-12 Wim Taymans <wim@fluendo.com>
7701 * gst/gstsegment.c: (gst_segment_set_duration),
7702 (gst_segment_set_last_stop), (gst_segment_set_seek),
7703 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7704 (gst_segment_to_running_time), (gst_segment_clip):
7705 Use G_UNLIKELY to help the compiler a bit.
7707 2006-06-12 Wim Taymans <wim@fluendo.com>
7709 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7711 * gst/gstevent.c: (gst_event_get_type):
7712 * gst/gstmessage.c:
7713 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7714 (gst_pad_push):
7715 constify quark registration strings. Fixes #344115
7716 Avoid unneeded type checking is _pad_push() by internally
7717 calling gst_pad_chain_unchecked().
7719 2006-06-12 Wim Taymans <wim@fluendo.com>
7721 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7722 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7723 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7724 (gst_buffer_is_span_fast), (gst_buffer_span):
7725 Init _type for consistency.
7726 Use _FLAGS macro to avoid type check.
7727 Avoid unneeded type checks in subbufer code.
7729 2006-06-12 Wim Taymans <wim@fluendo.com>
7731 * gst/gst.c: (gst_debug_help):
7732 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7733 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7734 (gst_plugin_feature_list_free):
7735 * gst/gstregistry.c: (gst_registry_add_plugin),
7736 (gst_registry_add_feature), (gst_registry_plugin_filter),
7737 (gst_registry_feature_filter), (gst_registry_find_plugin),
7738 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7739 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7740 * gst/gstregistryxml.c: (load_feature),
7741 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7742 * gst/gstminiobject.c: (gst_mini_object_unref),
7743 (gst_mini_object_replace), (gst_value_mini_object_free),
7744 (gst_value_mini_object_copy):
7745 Use _CAST macros to avoid unneeded type checking.
7746 Added some more G_UNLIKELY.
7748 2006-06-12 Wim Taymans <wim@fluendo.com>
7750 * gst/gstbuffer.h:
7751 Avoid unneeded type checking.
7752 API: GST_BUFFER_IS_DISCONT
7754 * gst/gstminiobject.h:
7755 Avoid type check in flag accessor.
7757 * gst/gstelementfactory.h:
7758 * gst/gstplugin.h:
7759 * gst/gstpluginfeature.h:
7760 Add _CAST macros.
7761 API: GST_ELEMENT_FACTORY_CAST
7762 API: GST_PLUGIN_CAST
7763 API: GST_PLUGIN_FEATURE_CAST
7765 2006-06-12 Wim Taymans <wim@fluendo.com>
7767 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7768 (gst_object_unref):
7769 Add G_UNLIKELY in type registration.
7770 Avoid type check in _ref/_unref since that is also
7771 done in glib.
7773 2006-06-12 Wim Taymans <wim@fluendo.com>
7775 * gst/gsterror.c: (gst_g_error_get_type):
7776 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7777 (gst_static_pad_template_get_type):
7778 * gst/gsttaglist.c: (gst_tag_list_get_type):
7779 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7780 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7781 * gst/gsturi.c: (gst_uri_handler_get_type):
7782 * gst/gstvalue.c: (gst_date_get_type):
7783 * gst/gstxml.c: (gst_xml_get_type):
7784 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7785 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7786 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7787 Add G_UNLIKELY in type registration.
7789 2006-06-12 Wim Taymans <wim@fluendo.com>
7791 * tools/gst-inspect.c: (print_signal_info):
7792 Properly print enum values.
7794 2006-06-12 Wim Taymans <wim@fluendo.com>
7796 * gst/gstinfo.c: (gst_debug_set_active),
7797 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7798 * gst/gstinfo.h:
7799 Add some G_[UN]LIKELY.
7800 Maintain __gst_debug_min to avoid formatting the arguments of
7801 debug messages that will be dropped anyway to avoid a lot of
7802 overhead from the debugging system.
7804 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7806 * po/POTFILES.in:
7807 * po/POTFILES.skip:
7808 add missing files containing translatable strings, tell intltool about
7809 one exception
7811 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7813 * tests/check/libs/.cvsignore:
7814 add test-binary to ignore list
7816 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7818 * docs/libs/gstreamer-libs-docs.sgml:
7819 reorder (put dp into a chapter) and indent
7821 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7823 * configure.ac:
7824 back to HEAD
7826 === release 0.10.8 ===
7828 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7830 * configure.ac:
7831 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7833 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7835 * gst/gst.c: (init_post):
7836 move pid declaration to declaration block
7838 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7840 * gst/gst.c: (init_post):
7841 use _exit() instead of exit() in our forked child; this ensures
7842 that none of the registered exit handlers from whatever is using
7843 GStreamer get executed. This fixes gnome-mixer-applet failing
7844 to load, because ORBit would shut down.
7845 Spotted by: Edward Hervey <edward@fluendo.com>
7846 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7847 Fixes #344474
7849 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7851 * configure.ac:
7852 back to TRUNK
7854 === release 0.10.7 ===
7856 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7858 * configure.ac:
7859 releasing 0.10.7, "Soepeke, ik zie ou"
7861 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7863 * configure.ac:
7864 * po/af.po:
7865 * po/az.po:
7866 * po/bg.po:
7867 * po/ca.po:
7868 * po/cs.po:
7869 * po/de.po:
7870 * po/en_GB.po:
7871 * po/fr.po:
7872 * po/it.po:
7873 * po/nb.po:
7874 * po/nl.po:
7875 * po/ru.po:
7876 * po/sq.po:
7877 * po/sr.po:
7878 * po/sv.po:
7879 * po/tr.po:
7880 * po/uk.po:
7881 * po/vi.po:
7882 * po/zh_CN.po:
7883 * po/zh_TW.po:
7884 * win32/common/config.h:
7885 0.10.6.2 prerelease
7887 2006-06-07 Wim Taymans <wim@fluendo.com>
7889 * gst/gstindex.c: (gst_index_gtype_resolver):
7890 * tools/gst-xmlinspect.c: (print_plugin_info):
7891 Fix leak spotted by coverity checker. Fixes #343827
7892 Fix another other leak found by paolo borelli.
7894 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7896 * libs/gst/dataprotocol/dataprotocol.c:
7897 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7898 (gst_dp_version_get_type), (gst_dp_init),
7899 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7900 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7901 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7902 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7903 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7904 (gst_dp_packetizer_free):
7905 * libs/gst/dataprotocol/dataprotocol.h:
7906 API: add a GstDPPacketizer object, and create/free functions
7907 API: add GstDPVersion enum
7908 Add 1.0 event function that uses the string serialization
7909 Serialize more useful buffer flags
7910 Fixes #343988
7912 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7914 * tests/check/Makefile.am:
7915 * tests/check/gst/gstabi.c:
7916 * tests/check/gst/struct_ppc64.h:
7917 * tests/check/libs/libsabi.c:
7918 * tests/check/libs/struct_ppc64.h:
7919 add ppc64 structure sizes
7921 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7923 * tests/check/Makefile.am:
7924 * tests/check/gst/gstabi.c:
7925 * tests/check/gst/struct_x86_64.h:
7926 * tests/check/libs/libsabi.c:
7927 * tests/check/libs/struct_x86_64.h:
7928 generate and add structure size lists for x86_64
7930 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7932 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7933 * libs/gst/check/gstcheck.h:
7934 factor out the method from tests that checks size of structures,
7935 and add code to generate the header containing these sizes
7936 * tests/check/gst/gstabi.c: (GST_START_TEST):
7937 * tests/check/gst/struct_i386.h:
7938 * tests/check/libs/libsabi.c: (GST_START_TEST):
7939 * tests/check/libs/struct_i386.h:
7940 use it
7942 2006-06-06 Michael Smith <msmith@fluendo.com>
7944 * gst/gstsegment.h:
7945 Don't use c++-style comments, fixes #343929
7947 2006-06-05 Edward Hervey <edward@fluendo.com>
7949 * gst/gst.c:
7950 plugin_paths is not used if we build without registry support.
7952 * gst/gstsegment.c: (gst_segment_copy):
7953 _copy() was always returning NULL...
7955 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7957 * libs/gst/dataprotocol/dataprotocol.c:
7958 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7959 (gst_dp_packet_from_event):
7960 factor out CRC code
7962 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7964 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7965 make sure we unset caps
7967 2006-06-02 Michael Smith <msmith@fluendo.com>
7969 * libs/gst/check/gstcheck.c: (gst_check_init),
7970 (gst_check_chain_func):
7971 * libs/gst/check/gstcheck.h:
7972 Add a cond/mutex to the check support lib, signal this whenever we
7973 add to the buffers list. This will allow tests to not busy-wait on
7974 the buffer-list.
7976 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7978 * libs/gst/dataprotocol/dataprotocol.c:
7979 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7980 (gst_dp_packet_from_event):
7981 factor out some common header init code
7983 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7985 * docs/libs/gstreamer-libs-sections.txt:
7986 * docs/libs/tmpl/gstdataprotocol.sgml:
7987 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7988 * libs/gst/dataprotocol/dataprotocol.h:
7989 API: make gst_dp_crc() public
7991 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7993 * plugins/indexers/gstindexers.c: (plugin_init):
7994 conditionally register fileindexer (fixes #343598)
7996 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7998 * gst/gsttagsetter.h:
7999 Can't cast ifaces to a class
8001 * libs/gst/net/gstnetclientclock.h:
8002 * libs/gst/net/gstnettimeprovider.h:
8003 * plugins/elements/gstfakesink.h:
8004 * plugins/elements/gstfakesrc.h:
8005 * plugins/elements/gstfdsink.h:
8006 * plugins/elements/gstfdsrc.h:
8007 * plugins/elements/gstfilesink.h:
8008 * plugins/elements/gstfilesrc.h:
8009 * plugins/elements/gstidentity.h:
8010 * plugins/elements/gstqueue.h:
8011 * plugins/elements/gsttee.h:
8012 * plugins/indexers/gstfileindex.c:
8013 * plugins/indexers/gstmemindex.c:
8014 * tests/old/examples/plugins/example.h:
8015 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8017 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8019 * libs/gst/dataprotocol/dataprotocol.c:
8020 (gst_dp_header_from_buffer):
8021 make sure we zero the whole ABI-compatible area
8023 2006-06-01 Wim Taymans <wim@fluendo.com>
8025 Patch by: Alessandro Decina <alessandro at nnva dot org>
8027 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8028 Make sure the EOS flag is cleared from pads after a flush
8029 or stop. Fixes #343538.
8031 * tests/check/libs/collectpads.c: (GST_START_TEST),
8032 (gst_collect_pads_suite):
8033 Added test for collectpads reusage after EOS.
8035 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8037 * gst/gst.c:
8038 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8039 * win32/common/libgstbase.def:
8040 export gst_collect_pads_set_flushing
8041 * win32/common/libgstreamer.def:
8042 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8043 gst_value_fraction_multiply
8044 * win32/vs6/gst_inspect.dsp:
8045 add a link to intl.lib
8047 2006-05-30 Wim Taymans <wim@fluendo.com>
8049 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8050 (gst_collect_pads_chain):
8051 Handle the case where a pad is removed from the collection
8052 that could cause the other pads to become collectable.
8054 2006-05-30 Wim Taymans <wim@fluendo.com>
8056 * gst/gstelement.c:
8057 Clarify the use of _release_request_pad() and
8058 _get_request_pad() a bit better.
8060 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8061 (gst_adapter_take_buffer):
8062 Fix some doc and comment typos.
8064 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8066 * docs/gst/gstreamer-sections.txt:
8067 * docs/libs/gstreamer-libs-sections.txt:
8068 add declared symbols
8070 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8072 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8073 Add debug that can be enabled using a #define at the top of the file,
8074 for dumping stats about how late/early we were when waking up from
8075 waiting on the clock.
8077 2006-05-30 Wim Taymans <wim@fluendo.com>
8079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8080 When rebuilding the pad list, don't leak the previous list.
8082 2006-05-30 Wim Taymans <wim@fluendo.com>
8084 Patch by: Lutz Mueller <lutz at topfrose dot de>
8086 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8087 (gst_base_src_get_query_types), (gst_base_src_update_length):
8088 Publish supported query types.
8089 Update last_stop field in get_range mode so the position
8090 query works. Fixes #342321.
8092 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8094 * docs/gst/gstreamer-sections.txt:
8095 * gst/gsttaglist.c: (_gst_tag_initialize):
8096 * gst/gsttaglist.h:
8097 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8099 2006-05-30 Wim Taymans <wim@fluendo.com>
8101 Patch by: Alessandro Decina <alessandro at nnva dot org>
8103 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8104 Unlock mutex when removing an unknown pad.
8105 Fixes #343334.
8107 * tests/check/Makefile.am:
8108 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8109 (push_event), (setup), (teardown), (GST_START_TEST),
8110 (gst_collect_pads_suite), (main):
8111 Added collecpads check, disabled for now as check crashes for
8112 some reason.
8114 2006-05-29 Wim Taymans <wim@fluendo.com>
8116 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8117 Don't leak pads lists.
8119 2006-05-29 Wim Taymans <wim@fluendo.com>
8121 * docs/libs/gstreamer-libs-sections.txt:
8122 * libs/gst/base/gstcollectpads.c:
8123 (gst_collect_pads_set_flushing_unlocked),
8124 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8125 (gst_collect_pads_stop):
8126 * libs/gst/base/gstcollectpads.h:
8127 API: gst_collect_pads_set_flushing()
8128 Added api to set the pads to flushing, useful for seeking
8129 code in elements using collectpads.
8130 Clear segment when receiving a flush.
8132 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8134 * gst/gst.c: (add_path_func), (init_post):
8135 Don't scan registry paths passed via --gst-plugin-path immediately
8136 (will crash, because absolutely nothing is set up and no types are
8137 registered etc.); do this later in init_post(). Fixes #343057.
8139 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8141 * gst/gst.c: (init_post):
8142 if we have fork, fork while reading/rebuilding the registry
8143 so the parent doesn't take the hit of having all plugins loaded
8144 in memory. Fixes #342777.
8145 * configure.ac:
8146 Check if we have fork()
8147 * win32/common/config.h.in:
8148 no fork() on win32
8150 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8152 * plugins/elements/gstelements.c:
8153 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8154 (gst_file_src_init), (gst_file_src_set_property),
8155 (gst_file_src_get_property), (gst_file_src_start):
8156 * plugins/elements/gstfilesrc.h:
8157 API: GstFileSrc::use-mmap
8159 Add a use-mmap property to enable easier testing of all code paths.
8160 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8161 in the absence of gnomevfssrc. (Closes #340501)
8163 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8165 * tools/gst-inspect.c:
8166 Add missing include, removes warning of ngettext not being defined on
8167 some arches.
8169 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8171 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8172 Handle NULL input and output pointers silently as a failed conversion,
8173 rather than g_warnings.
8175 2006-05-25 Wim Taymans <wim@fluendo.com>
8177 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8178 Initialize variable before using. Fixes #342820.
8180 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8182 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8183 Fix off-by-one bug that would only allow peeks of N-1 bytes
8184 from the start even if the buffer to typefind on contains
8185 in fact N bytes of data (makes vorbis typefinding from a
8186 vorbis identification header buffer work).
8188 * tests/check/Makefile.am:
8189 * tests/check/libs/.cvsignore:
8190 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8191 (gst_typefindhelper_suite), (main), (foobar_typefind),
8192 (plugin_init):
8193 Add very basic unit test for gst_type_find_helper_for_buffer()
8194 that checks for the problem fixed above.
8196 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8198 * tools/gst-inspect.c: (print_interfaces),
8199 (print_element_properties_info), (print_element_list), (main):
8200 add more translatable strings
8202 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8204 Patch by: Julien Moutte <julien at moutte net>
8206 * docs/gst/gstreamer-sections.txt:
8207 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8209 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8210 (gst_fake_sink_preroll):
8211 * plugins/elements/gstfakesink.h:
8212 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8214 2006-05-23 Wim Taymans <wim@fluendo.com>
8216 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8217 * gst/gstpad.h:
8218 Added _CUSTOM error and success GstFlowReturn that can be
8219 used be elements internally.
8220 Added macro to check for SUCCESS flowreturns.
8221 API: GST_FLOW_CUSTOM_SUCCESS
8222 API: GST_FLOW_CUSTOM_ERROR
8223 API: GST_FLOW_IS_SUCCESS
8225 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8226 Added check for GstFlowReturn sanity.
8228 2006-05-23 Wim Taymans <wim@fluendo.com>
8230 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8232 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8233 (gst_collect_pads_event):
8234 clear/reset segment info in FLUSH_STOP.
8235 Fixes #336929.
8237 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8239 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8240 (gst_collect_pads_check_collected):
8241 Flush queued buffer on _stop(), fixes playing again (#342454)
8243 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8245 * tests/check/gst/gststructure.c: (GST_START_TEST),
8246 (gst_structure_suite):
8247 add a test for a complete structure
8249 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8251 * docs/faq/developing.xml:
8252 * docs/faq/faq.xml:
8253 * docs/faq/troubleshooting.xml:
8254 * docs/faq/using.xml:
8255 Some minor FAQ updates that won't change the fact that
8256 our FAQ is badly structured, full of information hardly
8257 anyone new to GStreamer needs to know and lacking lots
8258 of information people constantly ask for.
8260 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8262 * gst/gstpad.c: (gst_pad_set_caps):
8263 Short-circuit gst_pad_set_caps if setting the existing
8264 caps pointer again, and avoid printing debug and
8265 reffing/unreffing the caps.
8267 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8268 There's actually no need to set the caps before pushing -
8269 the acceptcaps method will handle it anyway.
8271 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8273 * docs/gst/gstreamer-sections.txt:
8274 * win32/common/libgstreamer.def:
8275 * gst/gstutils.c: (gst_element_seek_simple):
8276 * gst/gstutils.h:
8277 API: add gst_element_seek_simple() (#342238).
8279 2006-05-18 Edward Hervey <edward@fluendo.com>
8281 * gst/gsttypefind.c: (gst_type_find_get_type):
8282 * gst/gsttypefind.h:
8283 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8284 registered for GstTypeFind pointers. This allows wrapping the structure
8285 in bindings (i.e. gst-python).
8287 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8289 * gst/gsttagsetter.c:
8290 Docs additions and fixes (see #339918).
8292 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8294 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8295 The caps intersection algorithm can produce multiple copies of the
8296 caps. Until that is fixed, we need to simplify the result to be
8297 sure whether the allowed caps are fixed or not.
8299 * plugins/elements/gstqueue.c: (gst_queue_init),
8300 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8301 (gst_queue_push_one):
8302 Proxied buffer alloc should not set the caps on the source pad.
8303 When pushing buffers, we always accept the caps change that triggers.
8304 This prevents negotiation errors caused by caps changing mid-stream
8305 and then being refused on our source pad (because upstream is now
8306 refusing those caps).
8308 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8310 * tests/examples/helloworld/helloworld.c: (main):
8311 Must plug audioconvert and audioresample between decoder
8312 and audio sink.
8314 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8316 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8317 (load_feature), (load_plugin):
8318 Allow empty strings for some of the plugin fields so we don't
8319 drop valid plugin entries that were written out correctly
8320 (Fixes #341479)
8322 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8324 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8325 Use g_remove and g_rename instead of remove and rename that don't
8326 handle utf8 characters. rename was failing for users who had specific
8327 characters in their name then the registry was built at each
8328 gstreamer init.
8329 * win32/vs6/gst_inspect.dsp:
8330 * win32/vs6/gst_launch.dsp:
8331 * win32/vs6/libgstbase.dsp:
8332 * win32/vs6/libgstcoreelements.dsp:
8333 * win32/vs6/libgstreamer.dsp:
8334 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8335 build of libgstreamer and clean unused libraries in projects link
8336 settings.
8338 2006-05-17 Edward Hervey <edward@fluendo.com>
8340 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8341 The queue is not responsible for pushing an EOS when receiving a fatal
8342 flow error. It's up to the real element driving the pipeline to do that.
8344 2006-05-16 Edward Hervey <edward@fluendo.com>
8346 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8347 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8348 buffer returned a fatal error. It should just send an EOS and stop
8349 its task.
8350 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8351 when pushing buffers on the queue and will be able to handle the event.
8353 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8355 * docs/manual/basics-bins.xml:
8356 * docs/manual/basics-init.xml:
8357 Fix typos and minor errors in sample code (#341856).
8359 2006-05-16 Wim Taymans <wim@fluendo.com>
8361 * docs/design/part-qos.txt:
8362 Fix indexes in formulas to make more sense.
8364 2006-05-15 Wim Taymans <wim@fluendo.com>
8366 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8367 Don't report POSITION based on clock time if sync is
8368 disabled in a sink.
8370 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8372 * gst/gstobject.h:
8373 Add cast to make compiler happy - refcount variable was a gint
8374 in GstObject but is a guint in GObject and g_atomic_int_get()
8375 wants a gint *.
8377 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8379 * gst/parse/Makefile.am:
8380 chain commands using &&, which also makes parallel make work
8382 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8384 * docs/gst/gstreamer-sections.txt:
8385 * gst/gstevent.c:
8386 * gst/gstevent.h:
8387 * gst/gstmessage.h:
8388 Minor docs fixes.
8390 === release 0.10.6 ===
8392 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8394 * configure.ac:
8395 releasing 0.10.6, "Take the cannoli"
8397 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8399 * tools/gst-launch.c: (print_tag):
8400 Fix use of uninitialized variable in the hypothetical
8401 case that some broken plugin creates a GST_TAG_IMAGE
8402 tag containing a NULL buffer (#341667).
8404 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8406 * tools/gst-launch.c: (print_tag):
8407 Print something more intelligible for image tags when
8408 using the -t switch (#341556).
8410 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8412 * Makefile.am:
8413 updates for win32
8414 * configure.ac:
8415 define GST_MAJORMINOR so we have it available in win32/common/config.h
8416 Possibly remove it from our Makefile.am files later
8417 * win32/common/config.h:
8418 * win32/common/config.h.in:
8419 added GST_MAJORMINOR
8420 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8421 * win32/common/gstversion.h:
8422 updated
8424 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8426 * win32/MANIFEST:
8427 Update win32 files listing.
8428 * win32/common/gstversion.h:
8429 Add GST_MAJORMINOR definition.
8430 * win32/common/libgstreamer.def:
8431 Add new exported functions.
8433 2006-05-12 Michael Smith <msmith@fluendo.com>
8435 * gst/gstplugin.c: (gst_plugin_load_file):
8436 If an so file has no plugin entry point, unload the module.
8438 2006-05-11 Wim Taymans <wim@fluendo.com>
8440 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8441 (gst_queue_set_property):
8442 Don't forget to signal the _chain or _loop function
8443 when the queue size or thresholds change since that might
8444 cause them to make progres again.
8446 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8448 * gst/gstclock.c: (gst_clock_class_init):
8449 * gst/gstindex.c: (gst_index_class_init):
8450 * gst/gstobject.c: (gst_object_class_init):
8451 * gst/gstpad.c: (gst_pad_class_init):
8452 * gst/gstpipeline.c: (gst_pipeline_class_init):
8453 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8454 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8455 * libs/gst/base/gstbasetransform.c:
8456 (gst_base_transform_class_init):
8457 * libs/gst/net/gstnetclientclock.c:
8458 (gst_net_client_clock_class_init):
8459 * libs/gst/net/gstnettimeprovider.c:
8460 (gst_net_time_provider_class_init):
8461 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8462 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8463 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8464 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8465 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8466 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8467 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8468 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8469 * plugins/elements/gsttee.c: (gst_tee_class_init):
8470 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8471 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8472 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8474 2006-05-11 Wim Taymans <wim@fluendo.com>
8476 * gst/gstbuffer.c: (_gst_buffer_initialize):
8477 Register subbufer along with the buffer type so that
8478 it does not accidentally gets registered from N
8479 different streaming threads in a non threadsafe way.
8481 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8483 * gst/gstbuffer.h:
8484 * gst/gstevent.h:
8485 * gst/gstmessage.h:
8486 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8487 gst_event_ref() and gst_message_ref() functions again
8488 (ugly hack, please do fix if there's a better way besides
8489 overrides.txt, which doesn't seem to work).
8491 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8493 * libs/gst/check/gstcheck.h:
8494 add an assert for setting state to avoid lots of repetitive code
8495 in the future
8497 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8499 * gst/gstvalue.c: (gst_value_serialize_flags):
8500 fix a leak if no flags are set
8501 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8502 fix leak in tests
8504 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8506 * docs/manual/basics-pads.xml:
8507 Expand a bit on caps and filtered links and update
8508 examples that were still using the no longer existing
8509 gst_pad_link_filtered() (#338206).
8511 2006-05-10 Wim Taymans <wim@fluendo.com>
8513 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8514 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8515 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8516 (gst_collect_pads_stop):
8517 * libs/gst/base/gstcollectpads.h:
8518 No need to call _stop in _finalize.
8519 Iterate the main pad list in _finalize.
8520 Added some more debug.
8521 Free lists and data in the right order.
8522 Also free data whem doing _remove_pad when stopped for
8523 backward compatibility protect ::started with PAD_LOCK as
8524 well.
8526 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8528 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8529 (gst_structure_parse_value):
8530 add some comments
8531 rename a method so that it actually says what it does better
8533 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8535 * gst/gstevent.c: (_gst_event_initialize):
8536 * gst/gstformat.c: (_gst_format_initialize):
8537 make sure some essential types used by events are registered
8538 as part of gst_init()
8539 * gst/gstvalue.c: (gst_value_serialize_flags):
8540 if no flags are set, serialize them to a value that represents NONE
8541 so that deserializing them works
8542 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8543 add tests for serialization and deserialization of flags
8545 2006-05-10 Wim Taymans <wim@fluendo.com>
8547 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8548 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8549 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8550 (gst_collect_pads_event), (gst_collect_pads_chain):
8551 Update docs.
8552 Better debug info.
8553 Catch and return errors from the collect function
8554 Refuse data on eos pads.
8556 2006-05-10 Edward Hervey <edward@fluendo.com>
8558 * gst/gstinterface.h:
8559 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8560 GInterface type checking.
8561 They were previously using non-defined macros.
8563 2006-05-09 Wim Taymans <wim@fluendo.com>
8565 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8566 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8567 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8568 (gst_collect_pads_start), (gst_collect_pads_stop),
8569 (gst_collect_pads_peek), (gst_collect_pads_pop),
8570 (gst_collect_pads_available), (gst_collect_pads_read),
8571 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8572 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8573 (gst_collect_pads_chain):
8574 * libs/gst/base/gstcollectpads.h:
8575 Clean up the mess that is collectpads, add comments and
8576 FIXMEs where needed.
8577 Maintain a separate pad list so we can add pads while
8578 collecting the other ones. For this we need a new separate
8579 lock (see comics).
8580 Fix memory leak in finalize.
8581 Refactor some weird code to set/unset pad flushing flags, mark
8582 with comments.
8583 Don't crash in _available, _read, _flush when we're EOS.
8585 * tests/check/libs/.cvsignore:
8586 Ignore adapter check binary.
8588 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8590 * gst/gstindex.c: (gst_index_resolver_get_type):
8591 * plugins/elements/gstfakesink.c:
8592 (gst_fake_sink_state_error_get_type):
8593 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8594 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8595 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8596 Const-ify GEnumValue arrays.
8598 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8600 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8601 Add test case for flags + gst_buffer_make_metadata_writable().
8603 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8605 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8606 gst_buffer_make_metadata_writable() should maintain the
8607 buffer flags (those that make sense at least) (see #340859).
8609 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8611 * tools/gst-inspect.c:
8612 * tools/gst-launch.c:
8613 * tools/gst-typefind.c:
8614 * tools/gst-xmlinspect.c:
8615 * tools/tools.h:
8616 Fix up includes: need to include stdlib.h in tools.h for exit().
8618 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8620 * gst/gsttaglist.c: (_gst_tag_initialize):
8621 * gst/gsttaglist.h:
8622 API: add GST_TAG_IMAGE tag (#340721).
8624 2006-05-08 Wim Taymans <wim@fluendo.com>
8626 * gst/gstquery.c:
8627 Added some docs for the segment query.
8629 2006-05-08 Wim Taymans <wim@fluendo.com>
8631 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8632 (gst_base_src_loop), (gst_base_src_change_state):
8633 Always push non-flushing serialized events in the streaming
8634 thread.
8636 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8638 * gst/gsterror.c: (_gst_stream_errors_init):
8639 Add a missing error string.
8641 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8643 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8644 Add applied_rate to the debug
8646 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8647 Copy applied_rate into the outgoing NEWSEGMENT event
8649 2006-05-08 Wim Taymans <wim@fluendo.com>
8651 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8653 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8654 (gst_base_sink_change_state):
8655 call ::unlock before taking the PREROLL_LOCK so we can safely
8656 handle elements that lock in ::render.
8657 Fixes #340174.
8659 2006-05-08 Edward Hervey <edward@fluendo.com>
8661 * autogen.sh: (CONFIGURE_DEF_OPT):
8662 Darwin's libtoolize is in fact called glibtoolize.
8663 Adding glibtoolize to the list of accepted names for libtoolize.
8665 2006-05-08 Wim Taymans <wim@fluendo.com>
8667 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8668 Unify error handling, don't post an error message
8669 when a push() returns EOS but perform our normal EOS
8670 handling code. Fixes #340772.
8672 2006-05-08 Wim Taymans <wim@fluendo.com>
8674 * docs/design/part-overview.txt:
8675 Make upsteam/downstream concepts more clear.
8676 Give an example of serialized/non-serialized events.
8678 * docs/design/part-events.txt:
8679 * docs/design/part-streams.txt:
8680 Mention applied_rate.
8682 * docs/design/part-trickmodes.txt:
8683 Mention applied rate, flesh out some more use cases.
8685 * gst/gstevent.c: (gst_event_new_new_segment),
8686 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8687 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8688 (gst_event_parse_tag), (gst_event_new_buffer_size),
8689 (gst_event_parse_buffer_size), (gst_event_new_qos),
8690 (gst_event_parse_qos), (gst_event_parse_seek),
8691 (gst_event_new_navigation):
8692 * gst/gstevent.h:
8693 Add applied_rate field to NEWSEGMENT event.
8694 API: gst_event_new_new_segment_full()
8695 API: gst_event_parse_new_segment_full()
8697 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8698 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8699 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8700 * gst/gstsegment.h:
8701 Add applied_rate to GstSegment structure.
8702 Make calculation of stream_time and running_time more correct
8703 wrt rate/applied_rate.
8704 Add some more docs.
8705 API: GstSegment::applied_rate field
8706 API: gst_segment_set_newsegment_full();
8708 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8709 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8710 * libs/gst/base/gstbasetransform.c:
8711 (gst_base_transform_sink_eventfunc),
8712 (gst_base_transform_handle_buffer):
8713 Parse and use applied_rate in the GstSegment field.
8715 * tests/check/gst/gstevent.c: (GST_START_TEST):
8716 Add check for applied_rate field.
8718 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8719 (gstsegments_suite):
8720 Add more checks for various GstSegment operations.
8722 2006-05-08 Wim Taymans <wim@fluendo.com>
8724 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8725 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8726 (gst_base_sink_get_position), (gst_base_sink_change_state):
8727 Store the sync time of the buffer end position separatly in a
8728 new variable eos_rtime so we can properly sync the EOS event.
8729 Fixes #340697.
8730 Fix the docs for gst_base_sink_set_qos_enabled().
8731 Don't set segment start to invalid value when we receive a
8732 non TIME newsegment.
8733 get closer to handling position reporting for negative rates
8734 correctly.
8736 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8738 * gst/gstcaps.c:
8739 Docs about how to print caps for debug purposes.
8741 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8742 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8744 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8746 * gst/gstelement.c:
8747 use full enum names and preprend a '%' in docs strings to make recent
8748 gtk-doc turn that into a link
8750 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8752 * docs/manual/basics-bins.xml:
8753 * docs/manual/basics-bus.xml:
8754 * docs/manual/basics-pads.xml:
8755 Some typo fixes, some additions, some clarifications.
8757 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8759 * tools/gst-inspect.c: (main):
8760 * tools/gst-launch.c: (main):
8761 * tools/gst-run.c: (main):
8762 * tools/gst-typefind.c: (main):
8763 * tools/gst-xmlinspect.c: (main):
8764 Use the string passed to g_option_context_new() for
8765 what it's intended for - the program name is already
8766 printed elsewhere.
8768 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8770 * tools/Makefile.am:
8771 * tools/gst-inspect.c: (main):
8772 * tools/gst-launch.c: (main):
8773 * tools/gst-xmlinspect.c: (main):
8774 * tools/tools.h:
8775 Add back --version command line option (#340460).
8777 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8778 Add --version option and use GOption for argument parsing; refactor a
8779 bit; accept directories as arguments and recurse into them; lastly,
8780 print a decent error message when things go wrong.
8782 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8784 * docs/manual/basics-bins.xml:
8785 Don't mention GstThread (#340611)
8786 * docs/manual/basics-elements.xml:
8787 Update link to GObject tutorial (#340607)
8789 2006-05-05 Wim Taymans <wim@fluendo.com>
8791 * gst/gstbuffer.h:
8792 * gst/gstminiobject.c:
8793 Add note about refcounting and miniobject/buffer writeability
8794 to docs. Fixes #340604
8796 * gst/gstelementfactory.h:
8797 Added some explanation about @klass.
8799 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8801 * docs/manual/intro-motivation.xml:
8802 * docs/manual/manual.xml:
8803 Avoid CORBA & Bonobo references (#340598)
8805 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8807 * docs/manual/basics-bus.xml:
8808 * docs/manual/basics-pads.xml:
8809 Fix up some inaccuracies and omissions (#340609)
8811 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8813 * gst/gstghostpad.c:
8814 Small typo in docs (#340625)
8816 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8818 * gst/parse/Makefile.am:
8819 Make 'make -j' proof (see #340698).
8821 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8823 * configure.ac:
8824 Require GLib-2.8 here as well.
8826 2006-05-05 Wim Taymans <wim@fluendo.com>
8828 * gst/glib-compat.c:
8829 * gst/gst.c: (init_pre):
8830 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8831 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8832 (gst_object_dispatch_properties_changed):
8833 * gst/gstobject.h:
8834 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8835 * gst/gststructure.c: (gst_structure_set_valist):
8836 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8837 Remove pre glib2.8 compatibility, fixes #340508
8839 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8841 * gst/gsttaglist.h:
8842 Mention type of tags in doc blurbs.
8844 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8846 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8847 (gst_pad_configure_src), (gst_pad_push):
8848 Restore acceptcaps checking behaviour now that good plugins have
8849 been released.
8851 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8853 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8855 * gst/gst.c:
8856 * gst/gstbus.c:
8857 * gst/gstclock.c:
8858 * gst/gstevent.c:
8859 * gst/gstformat.c:
8860 * gst/gstmessage.c:
8861 * gst/gstparse.c:
8862 * gst/gstquery.c:
8863 * gst/gstutils.c:
8864 * gst/parse/Makefile.am:
8865 * libs/gst/base/gstadapter.c:
8866 * libs/gst/base/gstbasesrc.c:
8867 * libs/gst/base/gstpushsrc.c:
8868 * libs/gst/base/gsttypefindhelper.c:
8869 * plugins/elements/gstfakesrc.c:
8870 * plugins/elements/gstidentity.c:
8871 Make sure gstprivate.h and/or config.h are
8872 always included first, otherwise some of our
8873 defines (like _FILE_OFFSET_BITS) might be
8874 redefined in the system headers. Fixes build
8875 on opensolaris (#340016).
8877 2006-05-04 Wim Taymans <wim@fluendo.com>
8879 * docs/libs/gstreamer-libs-sections.txt:
8880 API: addition: gst_adapter_take_buffer()
8882 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8883 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8884 (gst_adapter_available_fast):
8885 * libs/gst/base/gstadapter.h:
8886 Prepare for optimizing the hell out of this hugely inefficient
8887 piece of code.
8888 Added gst_adapter_take_buffer() so we can at least start thinking
8889 about subbuffering and merging.
8890 Added some comments.
8892 * tests/check/Makefile.am:
8893 * tests/check/libs/adapter.c: (GST_START_TEST),
8894 (gst_adapter_suite), (main):
8895 Added GstAdapter check.
8897 2006-05-04 Wim Taymans <wim@fluendo.com>
8899 * docs/design/part-overview.txt:
8900 Fix some typos, add blurb about buffer flags.
8902 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8904 * docs/libs/gstreamer-libs-sections.txt:
8905 make sure GstBaseTransformClass shows up in the docs
8906 * libs/gst/base/gstbasetransform.c:
8907 * libs/gst/base/gstbasetransform.h:
8908 move docs so gtk-doc picks it up now
8910 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8912 * docs/libs/gstreamer-libs-sections.txt:
8913 add missing symbols to docs
8915 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8917 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8918 back out the newsegment handling change, see #340060 for ongoing
8919 discussion
8921 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8923 * tools/gst-run.c: (get_candidates), (main):
8924 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8925 work); fix typo in error message. Fixes #340079.
8927 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8929 * common/Makefile.am:
8930 * docs/Makefile.am:
8931 * docs/faq/Makefile.am:
8932 * docs/gst/Makefile.am:
8933 * docs/libs/Makefile.am:
8934 * docs/manual/Makefile.am:
8935 * docs/plugins/Makefile.am:
8936 * docs/pwg/Makefile.am:
8937 * docs/slides/Makefile.am:
8938 * docs/upload.mak:
8939 * common/upload.mak:
8940 move upload.mak to common
8942 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8944 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8945 add more asserts on refcounts
8946 do more cleanup at end of tests
8947 fix test leaks showing in FC5
8949 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8951 * plugins/elements/gsttypefindelement.c:
8952 (gst_type_find_element_handle_event):
8953 reverted wrong change and reflowed code to avoid others falling into
8954 this trap
8956 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8958 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8959 fix changelog entry about last collectpads change,
8960 add notes about proper fix
8962 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8964 * gst/gst.c:
8965 * gst/gstregistry.c: (gst_registry_scan_path_level),
8966 (gst_registry_scan_path):
8967 * gst/gstregistry.h:
8968 only write out registry if it has changed, fixes #338339
8970 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8972 * gst/gstbin.c:
8973 * gst/gstpipeline.c:
8974 * plugins/elements/gstcapsfilter.c:
8975 * plugins/elements/gstfakesink.c:
8976 * plugins/elements/gstfakesrc.c:
8977 * plugins/elements/gstfdsink.c:
8978 * plugins/elements/gstfdsrc.c:
8979 * plugins/elements/gstfilesink.c:
8980 * plugins/elements/gstfilesrc.c:
8981 * plugins/elements/gstidentity.c:
8982 * plugins/elements/gstqueue.c:
8983 * plugins/elements/gsttee.c:
8984 * plugins/elements/gsttypefindelement.c:
8985 (gst_type_find_element_handle_event):
8986 make GstElementDetails const
8988 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8990 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8991 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8992 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8993 more detailed debug and formatting cleanup,
8994 forward newsegments to src-pad (so that e.g. adder not eats them)
8996 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8998 * gst/gstutils.c: (gst_element_link_pads):
8999 cleanup double code
9001 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9003 * libs/gst/controller/gstcontroller.c:
9004 (gst_controller_sync_values):
9005 some little tuning
9006 * tests/check/libs/controller.c: (GST_START_TEST),
9007 (gst_controller_suite):
9008 a new test for live value handling
9010 2006-04-28 Wim Taymans <wim@fluendo.com>
9012 * gst/gstutils.c: (push_and_ref):
9013 Added some more docs.
9014 Fix refcount issue whith gst_element_found_tags() helper
9015 function. Fixes #338335
9017 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9018 Added testsuite for gst_element_found_tags().
9020 2006-04-28 Michael Smith <msmith@fluendo.com>
9022 * gst/gstvalue.c: (gst_value_serialize_flags):
9023 Avoid NULL dereference when trying to serialize flags containing
9024 invalid values.
9026 2006-04-28 Michael Smith <msmith@fluendo.com>
9028 * plugins/elements/gsttypefindelement.c:
9029 (gst_type_find_element_handle_event):
9030 If we get EOS before any data is accumulated, don't use
9031 uninitialised local variables.
9033 2006-04-28 Michael Smith <msmith@fluendo.com>
9035 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9036 (gst_dp_event_from_packet):
9037 Fixes in reading/writing events over GDP (not currently used?) -
9038 dereferencing NULL events for unknown/invalid event types, memory
9039 leak, and change g_warning to GST_WARNING.
9041 2006-04-28 Wim Taymans <wim@fluendo.com>
9043 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9044 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9045 (gst_base_sink_get_position), (gst_base_sink_change_state):
9046 When frame dropping is enabled, we should not ignore frames
9047 without a duration.
9048 Update some documentation.
9050 2006-04-28 Wim Taymans <wim@fluendo.com>
9052 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9053 (gst_base_src_send_event), (gst_base_src_change_state):
9054 Documentation updates.
9056 2006-04-28 Wim Taymans <wim@fluendo.com>
9058 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9059 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9060 handle EAGAIN, EINTR and short writes correctly. Also clean
9061 up some error cases, avoid a deadlock on bad file descriptors and
9062 use GST_DEBUG_OBJECT.
9063 Fixes #339843
9065 2006-04-28 Wim Taymans <wim@fluendo.com>
9067 * gst/gstvalue.c: (gst_value_serialize_buffer),
9068 (gst_value_deserialize_buffer):
9069 Don't try to serialize a GValue with a NULL buffer.
9070 Fixes #339821.
9072 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9073 Added check for serialisation of NULL buffers.
9075 2006-04-28 Wim Taymans <wim@fluendo.com>
9077 * gst/gstminiobject.c: (gst_value_take_mini_object):
9078 Taking a NULL miniobject is valid, fix the case where
9079 we try to unref the NULL miniobject.
9081 2006-04-28 Wim Taymans <wim@fluendo.com>
9083 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9085 * gst/gstbin.c: (gst_bin_handle_message_func):
9086 Update docs.
9087 Don't leak bin refcount when a state recalc is
9088 in progress and we delay another one #339808.
9090 2006-04-28 Wim Taymans <wim@fluendo.com>
9092 * docs/design/part-TODO.txt:
9093 Mention QoS as an ongoing work item.
9095 * docs/design/part-buffering.txt:
9096 New doc about buffering that needs to be fleshed out
9097 at some point.
9099 * docs/design/part-qos.txt:
9100 More QoS policy for decoders/demuxers/transforms
9102 * docs/design/part-trickmodes.txt:
9103 Small update.
9105 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9107 * configure.ac:
9108 back to HEAD
9110 === release 0.10.5 ===
9112 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9114 * configure.ac:
9115 releasing 0.10.5, "Fogo"
9117 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9119 patch by: Wim Taymans
9121 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9122 (gst_pad_configure_src), (gst_pad_push):
9123 * gst/gstpipeline.c: (gst_pipeline_init):
9124 Fix internal data flow errors. Fixes #338711.
9126 2006-04-12 Wim Taymans <wim@fluendo.com>
9128 * tests/check/gst/gstelement.c: (GST_START_TEST):
9129 Don't leak the factory.
9131 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9133 * configure.ac:
9134 * win32/common/config.h:
9135 prerelease
9137 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9139 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9140 (gst_controller_unset_all):
9141 Free allocated GstTimedValues when freeing list nodes.
9142 Should fix leaks 'make check-valgrind' complains about.
9144 * win32/common/libgstcontroller.def:
9145 Add gst_controller_unset_all.
9147 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9149 * docs/libs/gstreamer-libs-sections.txt:
9150 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9151 (gst_controller_unset_all):
9152 * libs/gst/controller/gstcontroller.h:
9153 API: Added new method gst_controller_unset_all()
9154 fixed gst_controller_unset()
9155 * tests/check/libs/controller.c: (GST_START_TEST),
9156 (gst_controller_suite):
9157 Added two testcases for new and fixed method
9159 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9161 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9162 MSG_DONTWAIT is not defined on Cygwin, so work
9163 around that (fixes #317048).
9165 2006-04-11 Wim Taymans <wim@fluendo.com>
9167 * gst/gstelementfactory.c: (gst_element_register),
9168 (gst_element_factory_create), (gst_element_factory_make):
9169 Some cleanups.
9170 Fixed a FIXME.
9171 Updated docs (Fixes #131079)
9173 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9174 Small cleanups.
9176 * tests/check/gst/gstelement.c: (GST_START_TEST),
9177 (gst_element_suite):
9178 Added testcase for elementfactory class field.
9180 2006-04-10 Wim Taymans <wim@fluendo.com>
9182 * gst/gstsegment.c:
9183 Added some more docs.
9185 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9186 (gst_base_sink_reset_qos):
9187 Calculate more accurate rate values.
9189 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9191 * gst/gst_private.h:
9192 add a new #ifdef to use __declspec(dllimport) only for
9193 other modules and not for gstreamer core
9194 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9195 use gst_guint64_to_gdouble for conversion
9196 * win32/common/libgstreamer.def:
9197 add new exported functions
9198 * win32/vs6/gst_inspect.dsp:
9199 * win32/vs6/gst_launch.dsp:
9200 * win32/vs6/libgstbase.dsp:
9201 * win32/vs6/libgstcontroller.dsp:
9202 * win32/vs6/libgstcoreelements.dsp:
9203 * win32/vs6/libgstdataprotocol.dsp:
9204 * win32/vs6/libgstnet.dsp:
9205 update project files
9207 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9209 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9210 * gst/gstclock.c: (gst_clock_class_init):
9211 * gst/gstelement.c: (gst_element_class_init):
9212 * gst/gstindex.c: (gst_index_class_init):
9213 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9214 * gst/gstobject.c: (gst_object_class_init),
9215 (gst_signal_object_class_init):
9216 * gst/gstpad.c: (gst_pad_class_init):
9217 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9218 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9219 * gst/gstregistry.c: (gst_registry_class_init):
9220 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9221 * gst/gsttask.c: (gst_task_class_init):
9222 * gst/gstxml.c: (gst_xml_class_init):
9223 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9224 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9225 (gst_base_src_loop):
9226 * libs/gst/controller/gstcontroller.c:/
9227 (_gst_controller_class_init):
9228 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9229 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9230 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9231 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9232 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9233 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9235 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9237 * gst/gstpad.c: (gst_pad_link):
9238 Must set peer pads before calling the link function, otherwise
9239 a task started from a link function might get a flow-not-linked
9240 result when trying to push because the other thread where the
9241 linking happens hasn't had a chance to set the peers yet. This
9242 might happen for example when a queue gets linked to a downstream
9243 element, as queue starts a streaming task when its source pad
9244 gets linked. Happens in real life when playing back flac/musepack
9245 files in playbin (#332390).
9247 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9249 * gst/gstindex.h:
9250 * gst/gstxml.h:
9251 * libs/gst/base/gstadapter.h:
9252 * libs/gst/base/gstbasesink.h:
9253 * libs/gst/base/gstbasesrc.h:
9254 * libs/gst/base/gstbasetransform.h:
9255 * libs/gst/base/gstcollectpads.h:
9256 * libs/gst/base/gstpushsrc.h:
9257 Fix broken GObject macros
9259 2006-04-07 Wim Taymans <wim@fluendo.com>
9261 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9262 Initialize start and stop times, thanks valgrind.
9264 2006-04-07 Wim Taymans <wim@fluendo.com>
9266 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9267 Be a bit nicer to badly behaving upstream elements that expect
9268 us to deal with non TIME segments and timestamps (such as fakesrc
9269 in the testsuite).
9271 2006-04-07 Wim Taymans <wim@fluendo.com>
9273 * gst/gstbus.c:
9274 Small documentation clarification about the signal watch.
9276 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9277 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9278 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9279 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9280 (gst_base_sink_get_position_last),
9281 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9282 Convert and store timestamps in stream time and running time, the
9283 raw timestamps are not useful, also document this better.
9284 Use different window sizes for good and bad QoS observations so
9285 we react to badness a little quicker.
9286 Keep track of the amount of rendered and dropped buffers.
9287 Send QoS timestamps in running time.
9289 * libs/gst/base/gstbasetransform.c:
9290 (gst_base_transform_sink_eventfunc),
9291 (gst_base_transform_handle_buffer):
9292 Compare QoS timestamps against running time.
9294 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9296 * gst/gstpad.c:
9297 Typo fixes in docs.
9299 2006-04-06 Michael Smith <msmith@fluendo.com>
9301 * gst/gstpad.c: (gst_pad_set_property):
9302 Use g_value_get_object() instead of g_value_dup_gst_object(),
9303 to avoid double-reffing the pad template (which we then sink,
9304 so this worked previously if (and only if) the pad template
9305 was floating.
9307 * gst/gstpadtemplate.c: (gst_pad_template_init),
9308 (gst_pad_template_pad_created):
9309 Never return floating references to pad templates, create
9310 them as initially-sunken.
9312 Document an extra function (and make this stop sinking our
9313 pad template, since that is now guaranteed to do nothing,
9314 since we created it sunken).
9316 * gst/gstghostpad.c:
9317 Fix docs typo.
9319 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9321 * gst/gstinfo.c: (__gst_in_valgrind):
9322 Add some newlines.
9324 * plugins/elements/gsttypefindelement.c:
9325 (gst_type_find_element_chain):
9326 Don't leak buffer caps.
9328 2006-04-06 Michael Smith <msmith@fluendo.com>
9330 * gst/parse/grammar.y:
9331 Fix a leak in parse-launch for any source-or-sink named element
9332 references used.
9334 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9335 Unref the pipeline if it exists after we've failed parsing.
9337 2006-04-05 Michael Smith <msmith@fluendo.com>
9339 * gst/gstpipeline.c: (gst_pipeline_init):
9340 When we create a pipeline bus, initially create it in flushing mode.
9341 Fixes leaks in at least one test, and makes a new pipeline work the
9342 same as one that has gone to READY and then back to NULL.
9344 * gst/gstelement.c:
9345 Typo fix in docs.
9347 2006-04-05 Michael Smith <msmith@fluendo.com>
9349 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9350 Unref a pad we reffed.
9351 * tests/check/gst/gstutils.c: (GST_START_TEST):
9352 Unref bins
9354 2006-04-05 Michael Smith <msmith@fluendo.com>
9356 * gst/gstquery.c: (gst_query_set_formats),
9357 (gst_query_set_formatsv):
9358 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9360 2006-04-05 Michael Smith <msmith@fluendo.com>
9362 * tests/check/generic/sinks.c: (GST_START_TEST):
9363 Fix a variety of memleaks in sinks check, which are only sometimes
9364 shown by running the tests under valgrind (weird?).
9366 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9368 * docs/version.entities.in:
9369 Fix the substituted entity name after thomas' changes on the
9370 weekend.
9372 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9374 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9375 VALGRIND_PRINTF
9377 2006-04-05 Andy Wingo <wingo@pobox.com>
9379 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9381 * libs/gst/base/gstbasetransform.c
9382 (gst_base_transform_sink_eventfunc): When resetting our segment on
9383 FLUSH_STOP, also update the flag saying we haven't seen a
9384 newsegment.
9386 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9388 Patch by: Paolo Borelli <pborelli at katamail dot com>
9390 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9391 (gst_plugin_check_license):
9392 minor clean-ups: G_DEFINE_TYPE already takes care of the
9393 parent_class stuff, no need to do it twice. Mark array of
9394 license strings as constant. (#337103)
9396 2006-04-04 Michael Smith <msmith@fluendo.com>
9398 * tools/gst-inspect.c: (print_element_list):
9399 Free the right plugin list; fixes a memory leak.
9401 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9403 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9405 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9406 Don't error out on empty buffers (#336945).
9408 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9410 * docs/libs/gstreamer-libs-sections.txt:
9411 * gst/gsttaglist.c:
9412 * libs/gst/base/gstbasesink.c:
9413 * libs/gst/base/gstbasesink.h:
9414 * libs/gst/base/gstbasesrc.c:
9415 * libs/gst/base/gstbasesrc.h:
9416 Documentation updates. Make BaseSink and BaseSrc docs contain the
9417 class structure so that people can actually see the prototypes for
9418 virtual functions they're supposed to be overriding.
9420 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9422 * plugins/elements/gsttypefindelement.c:
9423 (gst_type_find_element_chain):
9424 More debug info; when skipping typefinding, send cached
9425 events in all cases.
9427 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9429 * configure.ac:
9430 use new AS_VERSION and AS_NANO macros
9431 * gst/gst-i18n-lib.h:
9432 * gst/gst.c:
9433 * gst/gsterror.c:
9434 * gst/gstversion.h.in:
9435 * win32/common/config.h:
9436 * win32/common/config.h.in:
9437 update accordingly
9439 2006-03-31 Michael Smith <msmith@fluendo.com>
9441 * plugins/elements/gsttypefindelement.c:
9442 (gst_type_find_element_chain):
9443 Do not typefind content if the buffers already have caps.
9444 Neccesary for icydemux (#333657), and the right thing to do anyway.
9446 2006-03-30 Wim Taymans <wim@fluendo.com>
9448 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9449 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9450 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9451 (gst_base_sink_record_qos_observation),
9452 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9453 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9454 (gst_base_sink_change_state):
9455 More QoS measurements as described in the design doc.
9456 Get rid of ringbuffer with observations, running average is
9457 more simple and equally good.
9458 Calculates valid proportion now.
9459 Added beginning of flood measurement.
9461 2006-03-29 Wim Taymans <wim@fluendo.com>
9463 * docs/design/part-qos.txt:
9464 * gst/gstclock.c:
9465 Small documentation updates and additions.
9467 2006-03-29 Wim Taymans <wim@fluendo.com>
9469 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9470 (gst_base_src_send_event), (gst_base_src_loop),
9471 (gst_base_src_change_state):
9472 Perform the EOS logic when we reach the segment stop position.
9473 Fix compilation on gcc4.1
9475 2006-03-29 Wim Taymans <wim@fluendo.com>
9477 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9479 * plugins/elements/gstqueue.c: (gst_queue_init),
9480 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9481 (gst_queue_set_property):
9482 * plugins/elements/gstqueue.h:
9483 In queue, when EOS is received, if minimum threshold > max_size -
9484 current_level, there is chance that queue blocks forever in conditional
9485 item del wait. This is because the queue is not emptied completely due
9486 to minimum threshold. Here is another approach. Instead of setting
9487 cur_levels to max in EOS, just zero all minimum threshold levels. This
9488 should make sure that queue gives out all data. When going to READY
9489 (stop) state, just reset the original minimum threshold levels.
9490 Fixes #336336.
9492 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9494 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9495 (gst_type_find_element_handle_event),
9496 (gst_type_find_element_send_cached_events),
9497 (gst_type_find_element_change_state):
9498 * plugins/elements/gsttypefindelement.h:
9499 When typefinding is done in push mode, we should cache
9500 events we receive during typefinding instead of just
9501 dropping them (e.g. newsegment, custom events from
9502 dvdreadsrc etc.) and then send them out once we've
9503 determined the type of the stream (and decodebin
9504 has had a chance to plug in a decoder/demuxer).
9506 2006-03-27 Wim Taymans <wim@fluendo.com>
9508 * docs/design/part-qos.txt:
9509 First QoS ideas.
9511 2006-03-27 Wim Taymans <wim@fluendo.com>
9513 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9515 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9516 (gst_base_src_send_event), (gst_base_src_change_state):
9517 Handle element seek correctly when we are streaming.
9518 Fixes #326998.
9520 2006-03-24 Michael Smith <msmith@fluendo.com>
9522 * docs/faq/gst-uninstalled:
9523 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9524 allow you to correctly run intalled applications built against old
9525 core, using plugins that require updated core (e.g. running
9526 installed totem against a full uninstalled gstreamer stack)
9528 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9531 more debug details
9533 2006-03-24 Wim Taymans <wim@fluendo.com>
9535 * docs/gst/gstreamer-sections.txt:
9536 Rearrange the order of the methods so that related methods
9537 are grouped together in sections.
9539 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9541 * gst/gstelement.c:
9542 Little clarification in the docs
9544 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9546 * docs/README:
9547 formatting fix
9548 * plugins/elements/gstidentity.c:
9549 * plugins/elements/gstqueue.c:
9550 * plugins/elements/gsttee.c:
9551 * plugins/elements/gsttypefindelement.c:
9552 GST_ELEMENT_DETAILS formatting
9554 2006-03-24 Wim Taymans <wim@fluendo.com>
9556 * libs/gst/base/gstbasesink.h:
9557 Only add fields, not insert or we break ABI.
9559 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9561 * win32/common/libgstbase.def:
9562 * win32/common/libgstreamer.def:
9563 Update, add recently added functions.
9565 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9567 * docs/gst/gstreamer-sections.txt:
9568 * gst/gstutils.c: (gst_pad_query_peer_position),
9569 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9570 * gst/gstutils.h:
9571 API: add some new utility functions:
9572 - gst_pad_query_peer_position()
9573 - gst_pad_query_peer_duration()
9574 - gst_pad_query_peer_convert()
9576 2006-03-23 Wim Taymans <wim@fluendo.com>
9578 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9579 (gst_base_sink_init), (gst_base_sink_finalize),
9580 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9581 (gst_base_sink_set_property), (gst_base_sink_get_property),
9582 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9583 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9584 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9585 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9586 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9587 (gst_base_sink_preroll_object), (gst_base_sink_event),
9588 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9589 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9590 (gst_base_sink_query), (gst_base_sink_change_state):
9591 Decouple max-lateness and the fact that QoS messages are generated
9592 with a new property (qos).
9593 added API: GstBaseSink::async_play()
9594 Add vmethod so subclasses can be notified of ASYNC playing
9595 state changes.
9596 Collect timestamp start and stop to report better current
9597 position in EOS/PLAYING/PAUSED/READY/NULL.
9598 Refactor QoS/frame dropping and other measurements.
9599 API: GstBaseSrc::qos
9600 Fixes #326311
9602 * libs/gst/base/gstbasesink.h:
9603 Added Private struct.
9604 API: gst_base_sink_set_qos_enabled()
9605 API: gst_base_sink_is_qos_enabled()
9607 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9609 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9610 If compiling against GLib-2.8 or newer, try to read the
9611 registry file using GMappedFile first before falling back
9612 to fopen() + fread() (#332151).
9614 2006-03-22 Wim Taymans <wim@fluendo.com>
9616 * gst/gstinfo.c: (gst_debug_set_active),
9617 (gst_debug_category_set_threshold):
9618 Disable debugging unless explicitly activated.
9619 Fixes #335480.
9621 2006-03-22 Wim Taymans <wim@fluendo.com>
9623 * gst/gstelement.c: (gst_element_set_locked_state),
9624 (gst_element_dispose):
9625 Cleanup the error case.
9627 * gst/gstobject.c: (gst_object_dispose):
9628 print a critical when some object was disposed with
9629 a parent, also revive the object since it might
9630 crash the parent.
9632 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9634 * tools/gst-launch.1.in:
9635 Fix another typo.
9637 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9639 * configure.ac:
9640 * tests/check/Makefile.am:
9641 disable some tests when we don't have a registry
9642 * tests/check/gst/gstutils.c: (gst_utils_suite):
9643 don't build the part that needs parsing
9645 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9647 * gst/Makefile.am
9648 * tests/examples/Makefile.am:
9649 fix --disable-parse build
9651 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9653 * tools/gst-feedback.1.in:
9654 Fix typo: s/feeback/feedback/ (#133494).
9656 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9658 * tools/Makefile.am:
9659 * tools/gst-launch.1.in:
9660 Add FILES section and correct entry about GST_REGISTRY_PATH
9661 environment variable (#133495; #133494).
9663 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9665 * tools/Makefile.am:
9666 * tools/gst-md5sum.1.in:
9667 * tools/gst-md5sum.c:
9668 Remove gst-md5sum and man page (the md5sink element
9669 required was removed ages ago)
9671 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9673 * gst/gststructure.c: (gst_structure_id_set_value):
9674 Make sure that string fields in structures/taglists
9675 contain valid UTF-8 - we don't want to pass rubbish to
9676 applications because of a buggy plugin (cp. #334167).
9678 2006-03-21 Edward Hervey <edward@fluendo.com>
9680 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9681 (gst_bin_handle_message_func):
9682 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9683 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9684 (gst_element_set_bus_func):
9685 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9686 * gst/gstminiobject.c: (gst_value_set_mini_object),
9687 (gst_value_take_mini_object):
9688 * gst/gstpad.c: (gst_pad_set_pad_template):
9689 * gst/gstpipeline.c: (gst_pipeline_dispose),
9690 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9691 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9692 (gst_collect_pads_chain):
9693 * libs/gst/net/gstnettimeprovider.c:
9694 (gst_net_time_provider_set_property):
9695 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9696 It's in fact all issues with gst_*object_replace().
9698 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9700 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9702 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9703 * pkgconfig/gstreamer-check.pc.in:
9704 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9706 2006-03-21 Edward Hervey <edward@fluendo.com>
9708 * gst/gstbuffer.h:
9709 * gst/gstevent.h:
9710 * gst/gstmessage.h:
9711 gst_[buffer|event|message]_ref() macros are replaced by a static
9712 inline functions because gcc-4.1 will about if the return value
9713 isn't used.
9714 * tests/check/gst/gstevent.c: (event_probe):
9715 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9717 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9719 * gst/gstutils.h:
9720 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9721 the type' case. (Closes: #335195 for now). In the future, when we
9722 depend on GLib 2.10, we could also intern the type name using
9723 g_intern_static_string()
9725 2006-03-20 Wim Taymans <wim@fluendo.com>
9727 * gst/gstbin.c: (gst_bin_handle_message_func),
9728 (bin_query_max_init), (bin_query_position_fold),
9729 (bin_query_position_done), (gst_bin_query):
9730 Position query should also take max of all streams.
9732 2006-03-20 Wim Taymans <wim@fluendo.com>
9734 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9735 (gst_fake_src_finalize):
9736 Fix leaks in fakesrc.
9738 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9739 Fix leaks in the testcase.
9741 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9743 * gst/gst_private.h:
9744 add win32 specific import decoration(__declspec(dllimport))
9745 for all extern GstDebugCategory * variables
9746 * win32/common/libgstbase.def:
9747 * win32/common/libgstcontroller.def:
9748 * win32/common/libgstreamer.def:
9749 Add some exports, remove empty lines
9750 * win32/common/libgstdataprotocol.def:
9751 * win32/common/libgstdataprotocol.dsp:
9752 * win32/common/libgstnet.def:
9753 * win32/common/libgstnet.dsp:
9754 new project files and exportation files added
9756 2006-03-19 Wim Taymans <wim@fluendo.com>
9758 * tests/check/libs/basesrc.c: (eos_event_counter):
9759 Use proper return value for probe.
9761 2006-03-17 Wim Taymans <wim@fluendo.com>
9763 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9764 (gst_pad_push):
9765 Don't leak buffers, caps and pads on negotiation errors.
9767 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9769 * docs/faq/cvs.xml:
9770 * docs/faq/dependencies.xml:
9771 * docs/faq/developing.xml:
9772 * docs/faq/faq.xml:
9773 * docs/faq/general.xml:
9774 * docs/faq/getting.xml:
9775 * docs/faq/legal.xml:
9776 * docs/faq/troubleshooting.xml:
9777 * docs/faq/using.xml:
9778 Faq review and update.
9780 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9782 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9783 (gst_pad_push):
9784 Don't pound the cpu to pieces by checking get_caps when accept_caps
9785 is called with the same caps as the pad already has.
9786 Use GST_DEBUG_OBJECT when outputting caps change information.
9788 2006-03-15 Wim Taymans <wim@fluendo.com>
9790 * gst/gstclock.c: (gst_clock_class_init):
9791 Fix docs.
9793 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9795 * gst/gstbuffer.h:
9796 Documentation fix.
9798 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9799 (gst_pad_accept_caps), (gst_pad_configure_sink),
9800 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9801 Make the default acceptcaps behaviour be to check the requested
9802 caps against the gst_pad_get_caps output.
9804 Ensure that gst_pad_accept_caps is used to check caps when a pad
9805 doesn't have a setcaps function, so that pads automatically refuse
9806 caps that they don't allow in their pad template. (Fixes #332986)
9808 When a buffer with attached caps is pushed, ensure that the source
9809 pad receives those caps even if the element didn't call
9810 gst_pad_set_caps first.
9812 2006-03-15 Wim Taymans <wim@fluendo.com>
9814 * libs/gst/base/gstadapter.c:
9815 Add some docs.
9817 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9819 * win32/common/libgstbase.def:
9820 * win32/common/libgstcontroller.def:
9821 * win32/common/libgstreamer.def:
9822 Add a whole bunch of missing functions (#334434).
9824 2006-03-14 Wim Taymans <wim@fluendo.com>
9826 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9827 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9828 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9829 Better debug info when we receive a segment event.
9830 Reorganize a bit so we can pass the get_times() results around.
9831 Use the segment format when calculating the running time.
9832 Don't do QoS is sync is disabled or we have no clock or the
9833 element does not want us to sync to the clock.
9834 Don't drop buffers if QoS is disabled for now.
9836 2006-03-14 Wim Taymans <wim@fluendo.com>
9838 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9839 Marked the stats property as unimplemented so people don't get
9840 wild ideas.
9841 Add debug message when regression goes wrong.
9842 Added some more docs.
9844 2006-03-14 Wim Taymans <wim@fluendo.com>
9846 * gst/gstsegment.c: (gst_segment_to_stream_time):
9847 Return correct return type in case of errors.
9849 2006-03-14 Wim Taymans <wim@fluendo.com>
9851 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9852 Don't segfault on invalid formats.
9854 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9856 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9857 Can't use gst_segment_to_running_time() when the segment
9858 is not in GST_TIME_FORMAT (like with filesink, for example).
9859 Stops flac encoding pipelines from spewing critical warnings
9860 at EOS (#331248).
9862 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9864 * gst/gstpipeline.c: (gst_pipeline_class_init):
9865 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9867 * plugins/elements/gsttypefindelement.c:
9868 (gst_type_find_element_handle_event):
9869 Don't try to typefind empty streams.
9871 2006-03-14 Wim Taymans <wim@fluendo.com>
9873 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9874 (gst_base_sink_do_qos):
9875 Separate QoS calculation.
9876 Only drop buffers when lateness is bigger than the
9877 duration of the buffer.
9879 2006-03-13 Wim Taymans <wim@fluendo.com>
9881 * gst/gstpipeline.c: (gst_pipeline_set_property),
9882 (gst_pipeline_get_property), (do_pipeline_seek),
9883 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9884 (gst_pipeline_get_delay):
9885 Don't deadlock when reading properties.
9887 2006-03-13 Wim Taymans <wim@fluendo.com>
9889 * libs/gst/base/gstbasetransform.c:
9890 (gst_base_transform_class_init), (gst_base_transform_init),
9891 (gst_base_transform_sink_event),
9892 (gst_base_transform_sink_eventfunc),
9893 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9894 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9895 (gst_base_transform_set_property),
9896 (gst_base_transform_get_property),
9897 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9898 (gst_base_transform_set_qos_enabled),
9899 (gst_base_transform_is_qos_enabled):
9900 * libs/gst/base/gstbasetransform.h:
9901 Make basetransform virtual method for src events too.
9902 Handle QOS in basetransform.
9903 API: gst_base_transform_update_qos()
9904 API: gst_base_transform_set_qos_enabled()
9905 API: gst_base_transform_is_qos_enabled()
9907 2006-03-13 Wim Taymans <wim@fluendo.com>
9909 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9910 (gst_base_sink_do_sync):
9911 Small cleanups.
9912 Use QOS debug category.
9914 2006-03-13 Wim Taymans <wim@fluendo.com>
9916 * plugins/elements/gstqueue.c:
9917 Very small doc update.
9919 2006-03-13 Wim Taymans <wim@fluendo.com>
9921 * gst/gst_private.h:
9922 * gst/gstinfo.c: (_gst_debug_init):
9923 Added QOS debug category
9925 2006-03-13 Wim Taymans <wim@fluendo.com>
9927 * docs/gst/gstreamer-sections.txt:
9928 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9929 * gst/gstbin.h:
9930 * gst/gstbus.c: (gst_bus_class_init):
9931 * gst/gstbus.h:
9932 * gst/gstclock.c:
9933 * gst/gstelement.c: (gst_element_set_locked_state):
9934 * gst/gstsegment.c:
9935 Documentation updates.
9937 * gst/gstpipeline.c: (gst_pipeline_get_type),
9938 (gst_pipeline_class_init), (gst_pipeline_init),
9939 (gst_pipeline_dispose), (gst_pipeline_set_property),
9940 (gst_pipeline_get_property), (do_pipeline_seek),
9941 (gst_pipeline_send_event), (gst_pipeline_change_state),
9942 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9943 (gst_pipeline_get_delay):
9944 * gst/gstpipeline.h:
9945 Added methods for setting the delay.
9946 API: gst_pipeline_set_delay()
9947 API: gst_pipeline_get_delay()
9948 Add pipeline debug category
9949 Various cleanups.
9950 Updated docs.
9951 Don't reset stream time when seek failed.
9953 2006-03-13 Wim Taymans <wim@fluendo.com>
9955 * docs/design/draft-klass.txt:
9956 * docs/design/part-clocks.txt:
9957 * docs/design/part-events.txt:
9958 * docs/design/part-gstbin.txt:
9959 * docs/design/part-gstpipeline.txt:
9960 * docs/design/part-messages.txt:
9961 * docs/design/part-negotiation.txt:
9962 * docs/design/part-overview.txt:
9963 * docs/design/part-preroll.txt:
9964 * docs/design/part-seeking.txt:
9965 * docs/design/part-states.txt:
9966 * docs/design/part-streams.txt:
9967 Documentation updates.
9969 2006-03-12 Julien MOUTTE <julien@moutte.net>
9971 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9972 us to leak strings...
9974 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9976 * libs/gst/net/gstnettimeprovider.c:
9977 fix docs
9978 * win32/common/config.h:
9979 update
9981 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9983 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9985 * configure.ac:
9986 Don't check for libgnomeui (leftover from old examples
9987 that aren't built or disted any longer) (#334303).
9989 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9991 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9992 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9993 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9994 there's no space left on the device.
9996 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9998 * gst/gstclock.h:
9999 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10000 to cast the input to GstClockTime before comparing with
10001 another GstClockTime value.
10003 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10005 * configure.ac:
10006 back to trunk
10008 === release 0.10.4 ===
10010 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10012 * configure.ac:
10013 releasing 0.10.4, "Light"
10015 2006-03-10 Michael Smith <msmith@fluendo.com>
10017 * libs/gst/dataprotocol/dataprotocol.c:
10018 Fix docs for dataprocotol to not get the return types completely
10019 wrong for a few functions.
10021 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10023 * docs/gst/gstreamer-sections.txt:
10024 * gst/gstpipeline.c: (gst_pipeline_class_init),
10025 (gst_pipeline_init), (gst_pipeline_set_property),
10026 (gst_pipeline_get_property), (gst_pipeline_change_state),
10027 (gst_pipeline_set_auto_flush_bus),
10028 (gst_pipeline_get_auto_flush_bus):
10029 * gst/gstpipeline.h:
10030 Add new API: gst_pipeline_set_auto_flush_bus() and
10031 gst_pipeline_get_auto_flush_bus() to disable automatic
10032 flushing of the pipeline's GstBus when going from READY
10033 to NULL state (#332045).
10035 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10037 * docs/gst/gstreamer-sections.txt:
10038 * gst/gsturi.c: (gst_uri_has_protocol):
10039 * gst/gsturi.h:
10040 Add new API: gst_uri_has_protocol() (#333779).
10042 2006-03-09 Wim Taymans <wim@fluendo.com>
10044 * gst/gstclock.c: (gst_clock_entry_new),
10045 (gst_clock_id_compare_func), (gst_clock_id_wait),
10046 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10047 (gst_clock_init), (gst_clock_get_internal_time),
10048 (gst_clock_set_master), (do_linear_regression),
10049 (gst_clock_add_observation), (gst_clock_set_property):
10050 * gst/gstclock.h:
10051 Review docs.
10052 Small cleanups.
10053 Fix a possible segfault when the window-size is made smaller.
10054 Calculate jitter before performing the clock wait. Ideally
10055 the clock implementation should calculate jitter but we need
10056 API breakage for that.
10058 * gst/gstsystemclock.c: (gst_system_clock_init):
10059 Docs review.
10061 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10062 Remove leftover else
10064 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10065 (gst_systemclock_suite):
10066 Added check to test GST_CLOCK_DIFF.
10068 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10070 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10071 (gst_type_find_helper_get_range):
10072 If we are provided with the size, we should implement
10073 GstTypeFind::get_length, so that typefind functions who
10074 want to can actually peek at the middle of a file.
10076 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10078 * docs/manual/advanced-dataaccess.xml:
10079 Add some very very basic error checking.
10081 * docs/pwg/appendix-checklist.xml:
10082 Some updates to the list of things to check when writing an element.
10084 2006-03-08 Wim Taymans <wim@fluendo.com>
10086 * docs/design/part-element-transform.txt:
10087 Added some docs about the design of tranform elements.
10089 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10090 (gst_base_src_loop), (gst_base_src_change_state):
10091 Mark buffers with the DISCONT flag.
10093 2006-03-08 Michael Smith <msmith@fluendo.com>
10095 * gst/gstregistry.h:
10096 * gst/gstregistryxml.c: (gst_registry_save),
10097 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10098 (gst_registry_xml_save_pad_template),
10099 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10100 (gst_registry_xml_write_cache):
10101 Rewrite registry-saving to avoid race conditions and check for
10102 failed writes.
10104 2006-03-08 Wim Taymans <wim@fluendo.com>
10106 * libs/gst/base/gstbasetransform.c:
10107 (gst_base_transform_transform_caps),
10108 (gst_base_transform_transform_size),
10109 (gst_base_transform_prepare_output_buffer),
10110 (gst_base_transform_get_unit_size),
10111 (gst_base_transform_buffer_alloc),
10112 (gst_base_transform_handle_buffer),
10113 (gst_base_transform_change_state):
10114 Cleanups, separate normal flow from errors, add sensible
10115 DEBUG lines.
10116 Don't try to renegotiate when allocating an output buffer.
10117 Also copy DISCONT buffer flag when copying a buffer.
10118 Reset the transform after we finish streaming, not during.
10120 2006-03-08 Wim Taymans <wim@fluendo.com>
10122 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10123 Use last buffer timestamp in qos message.
10125 2006-03-07 Wim Taymans <wim@fluendo.com>
10127 Patch by: Christophe Fergeau
10129 * docs/pwg/advanced-tagging.xml:
10130 * docs/pwg/building-pads.xml:
10131 fixes #333416
10133 2006-03-07 Wim Taymans <wim@fluendo.com>
10135 * docs/libs/gstreamer-libs-sections.txt:
10136 Added basesink new methods.
10138 * gst/gstevent.c:
10139 * gst/gstevent.h:
10140 Docs updates. Flesh out the QoS docs.
10142 * libs/gst/base/gstadapter.c:
10143 Small doc clarification about ownership and flushing.
10145 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10146 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10147 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10148 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10149 * libs/gst/base/gstbasesink.h:
10150 API additions:
10151 Added new methods to allow subclass to control max-lateness
10152 and sync.
10153 Generate very basic QoS events based on last sync observation.
10154 Updated docs, fix typo, added some QoS blurb.
10156 * libs/gst/base/gstbasesrc.c:
10157 Remove obsolete _get_state() calls from docs.
10159 2006-03-07 Wim Taymans <wim@fluendo.com>
10161 * docs/libs/gstreamer-libs-sections.txt:
10162 * libs/gst/base/gstbasetransform.h:
10163 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10164 Fix docs for GstBaseSrc.
10166 2006-03-07 Wim Taymans <wim@fluendo.com>
10168 * docs/gst/gstreamer-sections.txt:
10169 * gst/gstbuffer.h:
10170 * gst/gstvalue.c:
10171 * libs/gst/base/gstbasetransform.h:
10172 Small documentation fixes.
10174 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10176 * gst/gstvalue.c:
10177 Document thread-unsafety of gst_value_register_foo_func()
10178 when used at the same time as gst_value_foo() (#322628).
10180 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10182 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10183 (gst_push_src_check_get_range):
10184 Push sources don't support pull mode by default.
10186 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10188 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10189 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10190 (gst_base_src_default_check_get_range):
10191 * libs/gst/base/gstbasesrc.h:
10192 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10193 provide default implementation, and rename
10194 gst_base_src_check_get_range() to
10195 gst_base_src_pad_check_get_range() for clarity.
10197 2006-03-06 Wim Taymans <wim@fluendo.com>
10199 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10200 Make property overridable.
10202 2006-03-06 Wim Taymans <wim@fluendo.com>
10204 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10205 (gst_base_sink_init), (gst_base_sink_set_property),
10206 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10207 * libs/gst/base/gstbasesink.h:
10208 API addition: Make max-lateness a property.
10210 2006-03-06 Wim Taymans <wim@fluendo.com>
10212 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10213 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10214 Don't ever draw a frame that is >10ms late.
10216 2006-03-06 Michael Smith <msmith@fluendo.com>
10218 * gst/gstmessage.c: (_gst_message_copy):
10219 When copying a message, set the parent_refcount of the enclosed
10220 structure to point at the copy, not the original message.
10222 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10224 Patch by: Christophe Fergeau
10226 * gst/gstutils.h:
10227 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10228 usable in c++ code (#333417)
10230 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10232 * gst/gstclock.h:
10233 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10235 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10237 * libs/gst/base/gstbasetransform.c:
10238 (gst_base_transform_transform_caps):
10239 Make sure caps are writable before passing them to
10240 gst_caps_append().
10242 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10244 * gst/gsterror.h:
10245 Fix some minor docs errors.
10247 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10249 Patch by: Ross Burton <ross at burtonini dot com>
10251 * gst/gsterror.c: (_gst_resource_errors_init):
10252 * gst/gsterror.h:
10253 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10255 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10257 * gst/gst.c:
10258 Add a check and output a g_warning when GStreamer is built
10259 against GLib 2.6 but running against 2.8 or higher, and vice
10260 versa. (Closes: #323542)
10262 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10264 * gst/parse/parse.l:
10265 Commit patch for parse_launch syntax from #331255. Removes
10266 support for quoted strings and mimetypes when writing filtered
10267 caps. See the bug report for more details - I'm pretty sure this
10268 obscure feature is not in use by _anyone_ anywhere.
10270 With this simple change, the size of the gstreamer.so here
10271 drops from 2193KB to 1565KB.
10273 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10275 * plugins/elements/gsttypefindelement.h:
10276 * plugins/elements/gsttypefindelement.c:
10277 (gst_type_find_element_src_event), (start_typefinding),
10278 (stop_typefinding), (gst_type_find_element_handle_event),
10279 (gst_type_find_element_chain),
10280 (gst_type_find_element_chain_do_typefinding):
10281 Use gst_type_find_helper_for_buffer() for chain-based
10282 typefinding.
10284 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10286 * plugins/elements/gsttypefindelement.c:
10287 (gst_type_find_element_class_init),
10288 (gst_type_find_element_set_property),
10289 (gst_type_find_element_get_property):
10290 Deprecate "maximum" property (not only was it only taken into
10291 account for typefinding in push-mode anyway, it also was never
10292 actually possible to set it in the first place because the
10293 property was registered with the numeric property ID for the
10294 "minimum" property). Register "maximum" property correctly,
10295 for the sake of future copy'n'pasters. Remove some cruft
10296 from property get/set functions.
10298 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10300 * plugins/elements/gsttypefindelement.c:
10301 (gst_type_find_element_activate):
10302 Use gst_type_find_helper_get_range() here, so we
10303 can honour the "minimum" property and also emit
10304 the signal with the correct probability of the found caps.
10306 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10308 * docs/libs/gstreamer-libs-sections.txt:
10309 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10310 (helper_find_suggest), (gst_type_find_helper_get_range),
10311 (gst_type_find_helper):
10312 * libs/gst/base/gsttypefindhelper.h:
10313 New API: gst_type_find_helper_get_range() (#333042).
10315 2006-03-02 Michael Smith <msmith@fluendo.com>
10317 * gst/gstregistryxml.c: (load_feature):
10318 Asserting on a failure to read part of the registry is Not Cool.
10319 Just log a warning and return NULL (which is already handled)
10321 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10323 * win32/common/libgstbase.def:
10324 added export of gst_type_find_helper_for_buffer
10325 * win32/common/libgstbase.def:
10326 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10327 gst_ghost_pad_get_target
10329 2006-02-28 Wim Taymans <wim@fluendo.com>
10331 * docs/design/draft-klass.txt:
10332 We use Filter now.
10333 Added Connector to mark elements that are only used to
10334 allow pipeline connections.
10335 Moved Debug to extra feature since most of them are
10336 functionally something else.
10338 2006-02-28 Wim Taymans <wim@fluendo.com>
10340 * docs/design/draft-klass.txt:
10341 Some updates and clarifications.
10343 2006-02-28 Wim Taymans <wim@fluendo.com>
10345 * docs/design/draft-klass.txt:
10346 Proposal for klass field values.
10348 * docs/design/part-streams.txt:
10349 Start of a doc describing stream anatomy.
10351 2006-02-28 Wim Taymans <wim@fluendo.com>
10353 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10354 Help the compiler a bit with type registration.
10355 Use existing forward cod path instead of duplicating it when
10356 handling a message.
10358 * gst/gstbus.c: (gst_bus_get_type):
10359 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10360 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10361 * gst/gstclock.c: (gst_clock_get_type):
10362 * gst/gstelement.c: (gst_element_get_type),
10363 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10364 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10365 * gst/gstminiobject.c: (gst_mini_object_get_type):
10366 * gst/gstpad.c: (gst_pad_get_type):
10367 * gst/gstsegment.c: (gst_segment_get_type):
10368 * gst/gststructure.c: (gst_structure_get_type):
10369 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10370 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10371 * gst/gstvalue.c:
10372 Help compiler with type registration.
10374 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10375 Small doc update.
10377 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10379 * plugins/elements/gsttypefindelement.c:
10380 (gst_type_find_element_handle_event):
10381 When we get an EOS event and have not found a type yet
10382 (most likely because we had not yet accumulated
10383 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10384 type given the data we have so far. Fixes typefinding
10385 for very short streams again, most notably quicktime
10386 redirections as used on Apple's trailer site (#331701).
10388 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10390 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10391 (gst_type_find_helper):
10392 Try typefinding factories with the highest rank first.
10394 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10396 * docs/libs/gstreamer-libs-docs.sgml:
10397 * docs/libs/gstreamer-libs-sections.txt:
10398 * libs/gst/base/gsttypefindhelper.c:
10399 Add section for typefind helper and add documentation
10400 for the old and the new function.
10402 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10404 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10405 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10406 (gst_type_find_helper_for_buffer):
10407 * libs/gst/base/gsttypefindhelper.h:
10408 New API: gst_type_find_helper_for_buffer() (#332723).
10410 2006-02-27 Michael Smith <msmith@fluendo.com>
10412 Patch by: Loïc Minier
10414 * configure.ac:
10415 * docs/Makefile.am:
10416 * docs/slides/Makefile.am:
10417 prevent CVS directories getting disted.
10419 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10421 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10422 Use the REFCOUNTING category for caps refcounting.
10424 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10426 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10427 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10429 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10431 * plugins/elements/gsttypefindelement.c:
10432 (gst_type_find_element_activate):
10433 Use gst_pad_check_pull_range() before _activate_pull()
10434 to avoid unnecessary open/close (see #331690).
10436 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10438 * gst/gstutils.c:
10439 Docs enhancement: make it crystal clear what the
10440 gst_pad_add_*_probe() callbacks should look like.
10442 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10444 * libs/gst/base/gstbasesrc.c:
10445 Document how applications can stop recording from
10446 live sources (see #330996).
10448 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10450 * tests/check/Makefile.am:
10451 * tests/check/libs/basesrc.c: (eos_event_counter),
10452 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10453 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10454 (gst_basesrc_suite), (main):
10455 ... and add some tests for the base source EOS stuff.
10457 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10459 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10460 Test case originally showed the problem fixed below,
10461 but was then amended. Add checks back at the place
10462 where they used to be.
10464 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10466 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10467 (gst_base_src_init), (gst_base_src_loop),
10468 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10469 (gst_base_src_change_state):
10470 * libs/gst/base/gstbasesrc.h:
10471 Don't unconditionally send EOS when going from PAUSED to
10472 READY state, esp. make sure we don't send two EOS events
10473 in some cases (e.g. one when reaching EOS and one when
10474 going from PAUSED to READY). Also, we don't want to send
10475 EOS events when operating in pull mode. However, we do
10476 want to send an EOS event when shutting down a live
10477 source explicitly, for example (fixes #330996).
10479 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10481 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10482 Update src->read_position after a seek when not using mmap.
10483 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10485 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10487 * gst/Makefile.am:
10488 * gst/gstparse.h:
10489 * gst/gstutils.c:
10490 * gst/gstutils.h:
10491 Make things work with --disable-parse as they do with
10492 --disable-load-save - the symbols involved disappear, but the
10493 header is still installed and GST_DISABLE_PARSE is included via
10494 gstconfig.h
10496 2006-02-20 Julien MOUTTE <julien@moutte.net>
10498 * libs/gst/base/gstbasetransform.c:
10499 (gst_base_transform_change_state): Fix a stupid bug. I was
10500 sure I compiled that.
10502 2006-02-20 Julien MOUTTE <julien@moutte.net>
10504 * gst/gstpad.c: (gst_pad_set_blocked_async):
10505 * gst/gstutils.c: (gst_pad_add_data_probe),
10506 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10507 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10508 (gst_pad_remove_buffer_probe): Make those function act on the
10509 ghostpad target when it's a ghostpad. (Closes #331727)
10511 2006-02-20 Julien MOUTTE <julien@moutte.net>
10513 * libs/gst/base/gstbasetransform.c:
10514 (gst_base_transform_change_state): Make basetransform reusable.
10515 (Closes #331898)
10517 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10519 * docs/random/release:
10520 Move the current documentation of how to do a release to the top
10521 of the file.
10523 * gst/gstbin.c: (gst_bin_class_init),
10524 (gst_bin_handle_message_func):
10525 Allow multiple state-recalculation threads. (Closes #328873)
10527 2006-02-19 Julien MOUTTE <julien@moutte.net>
10529 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10530 * gst/gstpad.c: (gst_pad_set_event_function),
10531 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10532 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10533 2 strings. You can't use the STR_NULL macro on that.
10535 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10537 * gst/gstpad.c: (gst_pad_set_event_function),
10538 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10539 (gst_pad_set_getcaps_function)
10540 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10541 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10542 So now, we can use --gst-debug-level=5 on Windows
10543 * win32/common/libgstcontroller.def:
10544 Added export of gst_controller_init
10545 * win32/vs6/libgstcontroller.dsp:
10546 Fixed Release post build configuration
10548 2006-02-17 Wim Taymans <wim@fluendo.com>
10550 * tests/check/gst/gstquery.c: (GST_START_TEST):
10551 Added another check.
10553 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10555 * plugins/elements/gsttypefindelement.c: (find_peek):
10556 We can do peeks at non-zero offsets, as long as they
10557 fall within the buffer we have.
10559 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10561 * tests/check/Makefile.am:
10562 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10563 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10564 (parse_suite), (main):
10565 Add testsuite for parse launch syntax
10567 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10569 * plugins/elements/gsttypefindelement.c:
10570 (gst_type_find_element_chain):
10571 When typefinding is unsuccessful in the chain function, don't
10572 error out immediately. Only error out with NO_CAPS_FOUND if
10573 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10574 otherwise simply wait for more data so we can try typefinding
10575 again with more data later. Also, don't attempt to typefind
10576 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10577 this should improve typefinding from network sources where the
10578 size of the first buffer can be somewhat random.
10580 2006-02-14 Wim Taymans <wim@fluendo.com>
10582 * docs/gst/gstreamer-sections.txt:
10583 * gst/gstpadtemplate.c:
10584 * gst/gstpadtemplate.h:
10585 Fix padtemplate docs, fixes #328805.
10587 2006-02-14 Wim Taymans <wim@fluendo.com>
10589 * tools/gst-launch.c: (main):
10590 NO_PREROLL is not an ERROR so don't send confusing messages
10591 to the user.
10593 2006-02-14 Wim Taymans <wim@fluendo.com>
10595 Patch by: Torsten Schoenfeld
10597 * gst/gstregistry.c: (gst_registry_get_default),
10598 (_gst_registry_cleanup):
10599 Protect default registry with lock and ref/sink it.
10600 Fixes #324818
10602 2006-02-14 Wim Taymans <wim@fluendo.com>
10604 * gst/gstbuffer.c:
10605 * gst/gstquery.c: (gst_query_list_add_format),
10606 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10607 (gst_query_parse_formats_nth):
10608 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10609 Docs fixes.
10611 2006-02-14 Wim Taymans <wim@fluendo.com>
10613 * docs/gst/gstreamer-sections.txt:
10614 Reworked query docs.
10616 * gst/gstquery.c: (gst_query_new_formats),
10617 (gst_query_list_add_format), (gst_query_set_formats),
10618 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10619 (gst_query_parse_formats_nth):
10620 * gst/gstquery.h:
10621 Flesh out formats query, added some new methods.
10622 Fix part of #324398.
10624 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10625 Added query creation tests.
10627 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10629 * gst/gstpad.c: (fixate_value):
10630 Add a default fixation for fraction lists.
10632 2006-02-13 Wim Taymans <wim@fluendo.com>
10634 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10635 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10636 (gst_task_join):
10637 * gst/gsttask.h:
10638 Detect and warn for obvious deadlocks. fixes #320340
10639 Fix error case where lock was not released.
10641 * tests/check/Makefile.am:
10642 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10643 (task_func), (gst_element_suite), (main):
10644 Add task check.
10646 2006-02-13 Wim Taymans <wim@fluendo.com>
10648 * docs/gst/gstreamer-sections.txt:
10649 * gst/gstbus.c:
10650 Add new functions to docs.
10652 2006-02-13 Wim Taymans <wim@fluendo.com>
10654 * docs/design/part-TODO.txt:
10655 Updated TODO list, basesrc supports seeking to non-bytes
10656 formats.
10658 * docs/design/part-element-sink.txt:
10659 Update docs.
10661 * gst/gstbin.c: (bin_replace_message),
10662 (gst_bin_handle_message_func):
10663 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10664 * gst/gstevent.c: (gst_event_finalize):
10665 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10666 (gst_pad_send_event):
10667 Use shiny new _TYPE_NAME macros.
10669 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10670 Move debug statement up.
10672 * gst/gstelement.c: (gst_element_set_locked_state):
10673 Add some debugging.
10675 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10677 * docs/gst/gstreamer-sections.txt:
10678 * gst/gstmessage.h:
10679 * gst/gstquery.h:
10680 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10681 macros (#330906). Also, document the already existing
10682 GST_QUERY_TYPE macro.
10684 2006-02-13 Wim Taymans <wim@fluendo.com>
10686 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10687 (event_probe), (GST_START_TEST):
10688 Only events up to the pipeline EOS are counted, there are
10689 some more when going to NULL currently which we don't care
10690 about for now.
10692 2006-02-13 Wim Taymans <wim@fluendo.com>
10694 * gst/gstpad.c: (gst_pad_send_event):
10695 Correctly check flushing and emit probes. fixes #330125
10697 2006-02-10 Andy Wingo <wingo@pobox.com>
10699 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10700 structure.
10701 (gst_bus_init): Cache the location of the private data in the
10702 instance structure.
10703 (gst_bus_enable_sync_message_emission)
10704 (gst_bus_disable_sync_message_emission): Implement new public
10705 functions.
10706 (gst_bus_post): Emit the sync-message signal if the user asked for
10707 it. Fixes #330684.
10709 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10710 location of the bus-private structure.
10711 (gst_bus_enable_sync_message_emission)
10712 (gst_bus_disable_sync_message_emission): API addition
10714 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10716 Patch by: Vincent Torri
10718 * docs/pwg/building-boiler.xml:
10719 PWG patch from #326800
10721 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10723 * configure.ac:
10724 * docs/Makefile.am:
10725 * docs/design/Makefile.am:
10726 Dist design docs.
10728 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10730 * configure.ac:
10731 back to CVS
10733 === release 0.10.3 ===
10735 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10737 * configure.ac:
10738 releasing 0.10.3, "Like a virgin"
10740 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10742 * configure.ac:
10743 2nd prerelease of 0.10.3
10744 Bump libtool versioning.
10746 2006-02-07 Andy Wingo <wingo@pobox.com>
10748 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10749 update last_stop if we're in TIME format and the timestamp is
10750 valid.
10752 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10753 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10754 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10755 If we get a new newsegment with a different format, adapt
10756 accordingly.
10758 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10759 of 0. Not a problem, really.
10761 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10762 warn if sync=true.
10764 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10766 * configure.ac:
10767 Prelease of 0.10.3
10769 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10771 * win32/vs7:
10772 project files updated to the default vs7 configuration
10773 * win32/common/libgstbase.def:
10774 * win32/common/libgstreamer.def:
10775 added new symbols,
10776 removed empty lines,
10777 sorted all exported symbols alphabetically
10778 * win32/common/dirent.c:
10779 * win32/common/dirent.h:
10780 * win32/common/gchar.h:
10781 use windows line end.
10783 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10785 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10786 Send EOS event when stopping.
10788 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10790 * docs/README:
10791 Tell folks what to do if the plugin-foobar.xml file
10792 hasn't been generated for a newly-added plugin.
10794 2006-02-05 Julien MOUTTE <julien@moutte.net>
10796 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10797 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10798 (gst_collect_pads_start), (gst_collect_pads_stop),
10799 (gst_collect_pads_event): Collectpads now holds a reference
10800 to the GstPad that was added. Indeed we don't want to look
10801 at pads that might just go away with no warning...
10803 2006-02-05 Julien MOUTTE <julien@moutte.net>
10805 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10806 (gst_collect_pads_start), (gst_collect_pads_stop),
10807 (gst_collect_pads_event), (gst_collect_pads_chain):
10808 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10809 Mark Nauwelaerts's patch on bug #328491.
10811 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10813 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10814 (gst_utils_suite):
10815 Add some simple tests for gst_parse_bin_from_description() and
10816 gst_bin_find_unconnected_pad() (#329069).
10818 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10820 * tools/gst-launch.c: (event_loop), (main):
10821 Catch errors during preroll (#320084).
10823 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10825 * plugins/elements/gsttypefindelement.c:
10826 (gst_type_find_element_activate):
10827 Post TYPE_NOT_FOUND error message when typefinding
10828 is unsuccessful in the activate function as well.
10830 2006-02-02 Wim Taymans <wim@fluendo.com>
10832 * docs/design/part-element-sink.txt:
10833 Updated doc.
10835 2006-02-02 Wim Taymans <wim@fluendo.com>
10837 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10838 (gst_base_sink_render_object),
10839 (gst_base_sink_queue_object_unlocked):
10840 Only keep track of prerollable items when we are
10841 prerolling.
10842 Before rendering after preroll, always check if we
10843 have queued items.
10844 Added some more debugging.
10846 2006-02-02 Wim Taymans <wim@fluendo.com>
10848 * gst/gstelement.c: (gst_element_continue_state),
10849 (gst_element_set_state_func), (gst_element_change_state):
10850 Fixed #326576, been running this for quite some time with
10851 no regressions at all.
10853 2006-02-02 Wim Taymans <wim@fluendo.com>
10855 * common/gst.supp:
10856 Added more suppressions
10858 2006-02-02 Wim Taymans <wim@fluendo.com>
10860 * docs/design/part-element-sink.txt:
10861 Updated document.
10863 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10864 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10865 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10866 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10867 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10868 (gst_base_sink_preroll_object),
10869 (gst_base_sink_queue_object_unlocked),
10870 (gst_base_sink_queue_object), (gst_base_sink_event),
10871 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10872 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10873 (gst_base_sink_get_position), (gst_base_sink_change_state):
10874 * libs/gst/base/gstbasesink.h:
10875 Totally refactored matching the design doc.
10876 Use two segments, one to clip incomming buffers and another to
10877 perform sync.
10878 Handle queueing correctly, bypass the queue when playing.
10879 Make EOS cancelable.
10880 Handle errors correctly when operating in pull based mode.
10882 * tests/check/elements/fakesink.c: (GST_START_TEST),
10883 (fakesink_suite):
10884 Added new check for sinks.
10886 2006-02-02 Wim Taymans <wim@fluendo.com>
10888 * gst/gstsegment.c: (gst_segment_clip):
10889 No reason to refuse to clip when start == -1
10891 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10893 * docs/README:
10894 * docs/manual/intro-basics.xml:
10895 * docs/manual/intro-preface.xml:
10896 * docs/manual/manual.xml:
10897 * docs/pwg/advanced-dparams.xml:
10898 * docs/pwg/intro-basics.xml:
10899 * docs/pwg/intro-preface.xml:
10900 * docs/pwg/pwg.xml:
10901 describe dparams (controller) for plugins
10902 unify docs a little more
10904 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10906 * docs/gst/gstreamer-sections.txt:
10907 * gst/gstutils.c: (element_find_unconnected_pad),
10908 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10909 * gst/gstutils.h:
10910 Add new API: gst_parse_bin_from_description() and
10911 gst_bin_find_unconnected_pad() (#329069).
10913 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10915 * docs/manual/README:
10916 uncover a nasty detail of the docs build
10918 2006-01-31 Wim Taymans <wim@fluendo.com>
10920 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10921 Don't cache duration messages if we're not going to use or
10922 free them.
10924 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10926 * docs/manual/advanced-dparams.xml:
10927 * docs/pwg/advanced-dparams.xml:
10928 more dparam docs
10929 * gst/gstindex.c:
10930 fix docs
10931 * libs/gst/controller/lib.c: (gst_controller_init):
10932 init just once
10934 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10936 * gst/gstelement.c: (gst_element_message_full):
10937 also show file/line/func if no additional debug was given
10939 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10941 * win32/vs7/grammar.vcproj:
10942 activate copy of autogenerated files for Release mode
10944 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10946 * win32/common/libgstreamer.def:
10947 export gst_value_compare
10949 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10951 * plugins/elements/Makefile.am:
10952 * plugins/elements/gstelements.c:
10953 * plugins/elements/gstfdsink.c: (_do_init),
10954 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10955 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10956 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10957 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10958 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10959 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10960 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10961 * plugins/elements/gstfdsink.h:
10962 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10964 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10966 * docs/manual/advanced-dparams.xml:
10967 describe controller
10968 * docs/manual/advanced-position.xml:
10969 * docs/manual/basics-init.xml:
10970 * docs/manual/manual.xml:
10971 * docs/manual/titlepage.xml:
10972 * docs/pwg/pwg.xml:
10973 * docs/pwg/titlepage.xml:
10974 cleanup xml (more to come)
10975 * libs/gst/controller/gstcontroller.c:
10976 fix typo
10978 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10980 * win32/vs6/grammar.dsp:
10981 add autogen of gstmarshal.c,h for Release mode
10983 2006-01-30 Wim Taymans <wim@fluendo.com>
10985 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10986 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10987 (gst_base_sink_handle_object), (gst_base_sink_event),
10988 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10989 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10990 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10991 (gst_base_sink_deactivate), (gst_base_sink_activate),
10992 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10993 (gst_base_sink_query), (gst_base_sink_change_state):
10994 Basesink cleanups, remove some old code.
10995 Handle the case where a subclass can preroll in the render
10996 method (mostly audiosinks).
10997 Handle more events.
10998 Remove some locks around variables that are now protected
10999 with the PREROLL_LOCK (clock_id, flushing, ..).
11000 Optimize position query some more, do correct locking.
11001 Remove old code to push queue in state change, this is not
11002 needed anymore since preroll blocks on all prerollable items
11003 now.
11004 Almost implemented as described in design doc.
11006 2006-01-30 Wim Taymans <wim@fluendo.com>
11008 * tests/check/gst/gstbin.c: (GST_START_TEST):
11009 Wait for refcount to settle down before checking.
11011 2006-01-30 Wim Taymans <wim@fluendo.com>
11013 * docs/design/part-element-sink.txt:
11014 Pseudo code overview of desired sink behaviour regarding
11015 preroll.
11017 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11018 * win32/vs6/grammar.dsp:
11019 fix some bugs in Release mode for autogenerated files
11021 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11022 * win32/common/libgstbase.def:
11023 * win32/common/libgstreamer.def:
11024 export some new symbols: gst_base_src_set_format,
11025 gst_iterator_next, gst_structure_set_valist
11027 2006-01-29 Julien MOUTTE <julien@moutte.net>
11029 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11030 Set pad functions unconditionally. Fixes #329105.
11032 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11033 * win32/vs8:
11034 add vs8 project files created by Sergey Scobich
11036 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11038 * gst/gstutils.c: (gst_element_unlink_pads):
11039 Don't leak pad references.
11041 * tests/check/elements/fakesink.c: (GST_START_TEST):
11042 * tests/check/generic/sinks.c: (GST_START_TEST):
11043 * tests/check/generic/states.c: (GST_START_TEST):
11044 * tests/check/gst/gstbin.c: (GST_START_TEST):
11045 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11046 * tests/check/gst/gstelement.c: (GST_START_TEST):
11047 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11048 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11049 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11050 Fix a bunch of leaks. Make generic/sinks.c
11051 use a bit less cpu by slowing the buffer rate
11052 between fakesrc and fakesink.
11054 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11055 * gst/gstcaps.c:
11056 * gst/gstelement.c: (gst_element_send_event):
11057 * gst/gstevent.c:
11058 * gst/gstinfo.c:
11059 * gst/gstiterator.c:
11060 * gst/gstiterator.h:
11061 * gst/gstpad.c: (gst_pad_send_event):
11062 * gst/gststructure.c:
11063 * gst/gsturi.c:
11064 * gst/gstutils.c:
11065 * gst/gstvalue.c:
11066 * libs/gst/base/gstadapter.c:
11067 doc fixes, to link to function, just write gst_cool_function(), don't
11068 prefix with '#'
11070 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11072 * plugins/elements/gsttee.c: (gst_tee_do_push),
11073 (gst_tee_handle_buffer):
11074 Always prefer an actual return value from a src
11075 pad in place of NOT_LINKED. This means we return
11076 WRONG_STATE when all src pads are WRONG_STATE
11077 instead of NOT_LINKED.
11079 Lock when replacing the last message to prevent
11080 racing with the get_property method.
11082 Add debug output
11084 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11086 * tests/check/Makefile.am:
11087 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11088 (main):
11089 Add a very simple check that should have caught the memleak I fixed
11090 last night (if not for the slice allocator hiding it)
11092 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11094 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11095 (gst_bin_remove_func), (gst_bin_handle_message_func),
11096 (bin_query_duration_fold), (bin_query_generic_fold):
11097 Clean up references to the clock provider when disposed or when
11098 handling a clock-lost message from it.
11100 Unref sinks when performing a query via gst_iterator_fold, as the
11101 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11103 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11104 (gst_clock_set_master):
11105 Drop our reference to the master clock, if any, when we are disposed.
11107 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11108 Chain up in dispose.
11110 2006-01-26 Wim Taymans <wim@fluendo.com>
11112 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11113 Add some debugging.
11115 2006-01-26 Julien MOUTTE <julien@moutte.net>
11117 * plugins/elements/gsttee.c: (gst_tee_do_push),
11118 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11119 handles pad being NOT_LINKED or in WRONG_STATE.
11121 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11123 * win32/MANIFEST:
11124 more updating
11126 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11128 * win32/MANIFEST:
11129 remove obsolete entry
11131 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11133 * docs/gst/gstreamer-sections.txt:
11134 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11135 (gst_bin_iterate_sources), (gst_bin_send_event):
11136 * gst/gstbin.h:
11137 * gst/gstelement.c: (gst_element_send_event):
11138 * gst/gstevent.c:
11139 * gst/gstpad.c: (gst_pad_send_event):
11140 added code for downstream events, reviewed docs in gstevent.c
11142 2006-01-25 Julien MOUTTE <julien@moutte.net>
11144 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11145 We only query position using the clock in the playing state.
11146 Query peer in the other cases.
11147 * win32/common/config.h: Updates.
11149 2006-01-24 Wim Taymans <wim@fluendo.com>
11151 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11152 A clock entry that is scheduled for the exact time of the
11153 clock is still in time.
11155 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11156 (gst_base_sink_do_sync):
11157 Add some more debug info.
11159 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11161 * win32/vs7:
11162 Add new vs7 project files and solution.
11164 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11166 * win32/vs7:
11167 all files removed as they were out-dated.
11169 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11171 * docs/random/release:
11172 update notes
11173 * gst/gstbin.c: (gst_bin_init):
11174 * gst/gstbus.c: (gst_bus_new):
11175 * gst/gstbus.h:
11176 * gst/gstpipeline.c: (gst_pipeline_init):
11177 use gst_bus_new(), improve logging, fix docs
11178 * win32/common/config.h:
11179 update for cvs build
11181 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11183 * autogen.sh:
11184 up required version of automake to 1.7
11186 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11188 * win32/common/libgstreamer.def:
11189 export gst_buffer_is_metadata_writable
11191 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11193 * docs/gst/gstreamer-sections.txt:
11194 * gst/gstevent.h:
11195 Add gst_event_replace() (#327001)
11197 2006-01-20 Wim Taymans <wim@fluendo.com>
11199 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11200 Make it actually compile too..
11202 2006-01-20 Wim Taymans <wim@fluendo.com>
11204 * gst/gstcaps.c:
11205 Clarify behaviour of _is_equal() when passing NULL parameters.
11207 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11208 (gst_pad_set_caps):
11209 Cleanups. Don't unref NULL caps.
11210 When setting the same caps, protect caps of the pad with
11211 proper lock.
11212 Use full functionality of _is_equal() when comparing caps.
11214 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11217 Don't loop infinitely if there are no buffers to present. Partially
11218 fixes #327197, but collectpads is just broken for reusing elements
11219 to do multiple encodes atm.
11221 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11223 * tools/gst-inspect.c: (print_element_features):
11224 * tools/gst-xmlinspect.c: (main):
11225 URL_HANDLER is not a plugin feature we can search for in
11226 the registry.
11228 2006-01-19 Edward Hervey <edward@fluendo.com>
11230 * gst/gstelement.c: (gst_element_pads_activate):
11231 When activating, do src pads first, then sink pads.
11232 When de-activating, do sink pads first, then src pads.
11234 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11236 * docs/gst/gstreamer-sections.txt:
11237 Add gst_index_add_associationv to the docs
11239 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11241 * gst/gstevent.c:
11242 Fix docs typo
11244 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11245 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11246 Do some refactoring. Doesn't actually change functionality,
11247 but makes landing the DRAIN event easier later.
11249 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11251 * docs/pwg/advanced-scheduling.xml:
11252 Update from 0.9.x to 0.10 API and make example a bit
11253 clearer.
11255 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11257 * docs/gst/gstreamer-sections.txt:
11258 Add gst_buffer_(is|make)_metadata_writable methods.
11260 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11262 * docs/design/part-sparsestreams.txt:
11263 Update sparse streams doc, hopefully for greater clarity
11265 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11267 * docs/design/part-events.txt:
11268 Remove mention of FILLER events.
11269 Add DRAIN event.
11271 * docs/design/part-sparsestreams.txt:
11272 Write some things about using NEWSEGMENT to keep sparse streams
11273 flowing.
11275 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11277 * gst/gstbin.c: (gst_bin_dispose):
11278 Guard gst_object_unref call against a NULL object (dispose
11279 can theoretically be called multiple times).
11281 2006-01-18 Wim Taymans <wim@fluendo.com>
11283 * gst/gstbin.c: (gst_bin_element_set_state):
11284 * gst/gstclock.c: (gst_clock_id_wait):
11285 Added some more debug info.
11287 * libs/gst/base/gstadapter.c:
11288 Added more docs.
11290 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11291 (gst_base_sink_do_sync), (gst_base_sink_chain):
11292 Added some comments.
11294 2006-01-18 Wim Taymans <wim@fluendo.com>
11296 * tests/check/Makefile.am:
11297 * tests/check/elements/fakesink.c: (chain_async_buffer),
11298 (chain_async), (chain_async_return), (GST_START_TEST),
11299 (fakesink_suite), (main):
11300 Added fakesink test that checks prerolling and clipping
11301 behaviour.
11303 * tests/check/gst/gstutils.c: (GST_START_TEST):
11304 Make check run faster so that buildbots don't timeout.
11306 2006-01-18 Wim Taymans <wim@fluendo.com>
11308 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11309 (gst_base_sink_do_sync):
11310 Some cleanups.
11311 When the sink finishes blocking on the preroll buffer, it can
11312 immediatly render it instead of rendering when the next buffer
11313 arrives.
11315 2006-01-18 Wim Taymans <wim@fluendo.com>
11317 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11318 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11319 (gst_base_sink_chain):
11320 Small cleanups.
11321 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11322 Don't store _last_stop if the buffer is dropped.
11324 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11326 * plugins/elements/gsttypefindelement.c:
11327 (gst_type_find_element_class_init):
11328 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11329 object method handler that sets the caps on the pad and we want
11330 that to happen before we emit the signal (fixes e.g. feeding a
11331 plain text file to decodebin).
11333 2006-01-18 Christian Schaller <Christian@fluendo.com>
11335 * gst/gstplugin.c: Add MPL and Proprietary as license options
11337 2006-01-18 Andy Wingo <wingo@pobox.com>
11339 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11340 symbol was exported before, it appears this was just an oversight.
11341 Fixes #168703.
11342 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11344 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11345 prototype to gint. OK since this prototype was not in the header.
11347 2006-01-17 Andy Wingo <wingo@pobox.com>
11349 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11350 registry while we remove plugins.
11352 * tools/gst-inspect.c (print_element_info): Don't unref the
11353 factory arg, that should be the responsibility of whatever code
11354 received the ref. Fixes a double-free when called from
11355 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11356 (main): Unref the factory if we have one.
11357 (print_element_list): No change -- relies on the
11358 plugin_feature_list_free to free the list of features.
11360 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11362 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11363 (gst_buffer_make_metadata_writable):
11364 * gst/gstbuffer.h:
11365 * libs/gst/base/gstbasetransform.c:
11366 (gst_base_transform_prepare_output_buf):
11367 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11368 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11369 Replace gst_buffer_(make|is)_metadata_writable patch now
11370 that the release is out.
11372 2006-01-17 Andy Wingo <wingo@pobox.com>
11374 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11375 in the present tense without reference to versions.
11377 * gst/gstregistry.c (gst_registry_add_plugin)
11378 (gst_registry_remove_plugin, gst_registry_remove_feature)
11379 (gst_registry_find_feature, gst_registry_get_feature_list)
11380 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11381 (gst_registry_lookup, gst_registry_scan_path)
11382 (_gst_registry_remove_cache_plugins)
11383 (gst_registry_get_feature_list_by_plugin): Add argument
11384 validation.
11386 === release 0.10.2 ===
11388 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11390 * configure.ac:
11391 releasing 0.10.2, "If man is five"
11393 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11395 * gst/gstbuffer.c:
11396 * gst/gstbuffer.h:
11397 * libs/gst/base/gstbasetransform.c:
11398 (gst_base_transform_prepare_output_buf):
11399 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11400 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11401 Back out patch until after the release.
11403 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11405 * gst/gstminiobject.c:
11406 Spelling fix in docs.
11407 * ChangeLog - remove conflict indicator
11409 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11411 Reviewed By: Andy Wingo
11413 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11414 (gst_buffer_make_metadata_writable):
11415 * gst/gstbuffer.h:
11416 Add gst_buffer_(is|make)_metadata_writable as analogues of
11417 gst_buffer_(is|make)_writable.
11419 * libs/gst/base/gstbasetransform.c:
11420 (gst_base_transform_prepare_output_buf):
11421 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11422 Use name gst_buffer_(is|make)_metadata_writable functions.
11424 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11425 Test gst_buffer_(is|make)_metadata_writable
11427 (Closes: #324162)
11429 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11431 * docs/manual/Makefile.am:
11432 don't do parallel make
11433 * configure.ac:
11434 AC_SUBST HOST_CPU
11435 * win32/common/config.h.in:
11436 add generations for HOST_CPU and GST_MAJORMINOR
11437 * win32/common/config.h:
11438 commit generated result
11440 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11442 * docs/manual/appendix-integration.xml:
11443 Update GNOME integration section to use gst_init_get_option_group()
11444 instead of the old popt stuff (#322911). Also, GNOME applications
11445 should now use gconf*sink and gconf*src instead of the old gconf
11446 helper lib we had.
11448 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11451 * docs/gst/gstreamer-docs.sgml:
11452 * docs/gst/gstreamer-sections.txt:
11453 * docs/libs/gstreamer-libs-sections.txt:
11454 add new API entries to the docs
11455 * libs/gst/controller/Makefile.am:
11456 * libs/gst/controller/gstcontroller.c:
11457 * libs/gst/controller/gstcontroller.h:
11458 * libs/gst/controller/gstcontrollerprivate.h:
11459 * libs/gst/controller/gsthelper.c:
11460 * libs/gst/controller/gstinterpolation.c:
11461 move private structs to private header
11462 * po/README:
11463 gstreamer-0.7 -> gstreamer-0.10
11464 * tests/check/libs/struct_i386.h:
11465 remove private structs
11467 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11469 * plugins/indexers/Makefile.am:
11470 Fixes as part of #317048
11472 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11474 * plugins/indexers/Makefile.am:
11475 fix #316086 - compilation when mmap is missing
11477 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11479 * libs/gst/base/gstbasesink.c:
11480 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11481 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11482 * win32/common/config.h:
11483 added some defines GST_MAJORMINOR and HOST_CPU
11484 * win32/common/libgstbase.def:
11485 * win32/common/libgstreamer.def:
11486 added some exported functions.
11488 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11490 * libs/gst/controller/gstcontroller.c:
11491 (gst_controlled_property_set_interpolation_mode),
11492 (gst_controlled_property_new):
11493 * libs/gst/controller/gstcontroller.h:
11494 * libs/gst/controller/gstinterpolation.c:
11495 (interpolate_none_get_string_value_array):
11496 make G_TYPE_STRING controlable
11498 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11500 * tools/README:
11501 * tools/gst-feedback.1.in:
11502 * tools/gst-inspect.1.in:
11503 * tools/gst-launch.1.in:
11504 * tools/gst-md5sum.1.in:
11505 * tools/gst-typefind.1.in:
11506 * tools/gst-xmlinspect.1.in:
11507 * tools/gst-xmllaunch.1.in:
11508 cleanup man-pages, remove reference to gst-register, document env-vars
11510 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11512 * gst/gstbuffer.c: (gst_buffer_span):
11513 gst_buffer_span should copy the timestamp of the first buffer
11514 if they were both originally overlapping subbuffers of the
11515 same parent, using the same logic as the 'slow copy' case.
11517 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11519 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11520 Need to awaken ALL the pads when we pop a buffer, otherwise
11521 collectpads only works when there is 2 input streams.
11523 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11525 * docs/random/ensonic/media-device-daemon.txt:
11526 more ideas (dbus)
11527 * gst/gstbuffer.c:
11528 fix doc example, add clarification
11529 * tools/gst-launch.1.in:
11530 add initial info about GST_PLUGIN_PATH, needs more work
11532 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11534 * docs/manual/basics-bins.xml:
11535 * docs/manual/basics-elements.xml:
11536 * docs/manual/intro-basics.xml:
11537 Some more minor docs additions and updates.
11539 2006-01-11 Wim Taymans <wim@fluendo.com>
11541 * docs/manual/basics-bins.xml:
11542 * docs/manual/basics-elements.xml:
11543 Some small fixes as pointed out by Ser-ver on IRC.
11545 2006-01-10 Edward Hervey <edward@fluendo.com>
11547 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11548 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11549 the single-segment mode.
11551 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11553 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11555 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11556 (gst_base_src_perform_seek), (gst_base_src_send_event),
11557 (gst_base_src_set_property), (gst_base_src_get_property),
11558 (gst_base_src_loop), (gst_base_src_start),
11559 (gst_base_src_activate_push):
11560 * libs/gst/base/gstbasesrc.h:
11561 Name (private) union; makes Sun's Forte compiler happy (#324900).
11563 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11565 * README:
11566 gst-register is gone.
11568 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11570 * gst/gstvalue.c: (_gst_value_initialize):
11571 make the G_TYPE_DATE instantiation work if debug is disabled
11573 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11575 * gst/gstmessage.c: (gst_message_parse_tag),
11576 (gst_message_parse_error), (gst_message_parse_warning):
11577 Don't crash when return location for error/warning debug
11578 string is NULL; add fact that return locations can be
11579 NULL to docs where appropriate.
11581 2006-01-05 Wim Taymans <wim@fluendo.com>
11583 * gst/gstplugin.c: (gst_plugin_load_file):
11584 Replace strdup by g_strdup.
11586 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11588 * docs/pwg/advanced-types.xml:
11589 fix doc borkage
11591 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11593 submitted by: Abel Cheung
11595 * po/LINGUAS:
11596 * po/zh_TW.po:
11597 Added Chinese (traditional) translation
11599 2006-01-04 Wim Taymans <wim@fluendo.com>
11601 * docs/manual/basics-pads.xml:
11602 * docs/plugins/Makefile.am:
11603 * docs/plugins/gstreamer-plugins-docs.sgml:
11604 * docs/plugins/gstreamer-plugins-sections.txt:
11605 * docs/pwg/advanced-clock.xml:
11606 * docs/pwg/advanced-scheduling.xml:
11607 * docs/pwg/advanced-types.xml:
11608 * plugins/elements/gstfdsink.c:
11609 * plugins/elements/gstfdsrc.c:
11610 * plugins/elements/gstfdsrc.h:
11611 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11612 * plugins/elements/gstidentity.h:
11613 * plugins/elements/gstqueue.h:
11614 * plugins/elements/gsttee.c:
11615 * plugins/elements/gsttee.h:
11616 * plugins/elements/gsttypefindelement.c:
11617 (gst_type_find_element_class_init):
11618 * plugins/elements/gsttypefindelement.h:
11619 Small updates to various docs.
11620 Added core plugins to docs.
11622 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11624 * common/gst.supp:
11625 add a suppression for liboil's uninitialized variable
11627 2006-01-02 James Livingston <jrl at ids dot org dot au>
11629 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11631 * gst/gstutils.h:
11632 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11633 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11634 compiler switch is being used (#325429).
11636 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11638 * gst/gstbin.c: (gst_bin_query):
11639 Disable duration query caching in bins until it gets
11640 fixed (see #324807).
11642 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11644 * tools/gst-inspect.c: (print_element_properties_info):
11645 Handle properties of POINTER and BOXED type.
11647 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11649 * gst/gst.c: (init_post):
11650 Init tags stuff and some other things before loading
11651 any static plugins (there may be other static plugins
11652 than just the GStreamer ones, and they may want to
11653 register their own tags or formats or whatever, and
11654 preferably without segfaulting).
11656 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11657 Print at least a warning in the debug logs if we drop a
11658 query just because we don't know how to adjust the value
11659 in the particular format.
11661 2005-12-24 David Schleef <ds@schleef.org>
11663 * tools/gstreamer-completion:
11664 Replacement for gst-complete written in sh and sed. Only
11665 completes names of features, but that's 90% of what I want
11666 it for. Properties are not available in registry.xml. (Maybe
11667 they should be...)
11669 === release 0.10.1 ===
11671 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11673 * configure.ac:
11674 releasing 0.10.1, "Nollaig chridheil"
11676 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11678 * docs/faq/cvs.xml:
11679 Add missing quote, should be make ERROR_CFLAGS="".
11681 2005-12-20 Wim Taymans <wim@fluendo.com>
11683 * docs/design/part-trickmodes.txt:
11684 More documentation on trickmodes.
11686 2005-12-20 Edward Hervey <edward@fluendo.com>
11688 * gst/gstcaps.c: (gst_static_caps_get_type):
11689 * gst/gstcaps.h:
11690 API addition: GST_TYPE_STATIC_CAPS
11691 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11692 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11693 * gst/gstpadtemplate.h:
11694 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11695 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11696 bindings.
11698 2005-12-18 Wim Taymans <wim@fluendo.com>
11700 * libs/gst/base/gstadapter.c:
11701 * libs/gst/base/gstadapter.h:
11702 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11703 (gst_base_sink_get_position):
11704 * libs/gst/base/gstbasesink.h:
11705 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11706 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11707 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11708 (gst_base_src_send_event), (gst_base_src_update_length),
11709 (gst_base_src_get_range), (gst_base_src_loop),
11710 (gst_base_src_start):
11711 * libs/gst/base/gstbasesrc.h:
11712 * libs/gst/base/gstbasetransform.h:
11713 * libs/gst/base/gstcollectpads.h:
11714 * libs/gst/base/gstpushsrc.c:
11715 * libs/gst/base/gstpushsrc.h:
11716 * libs/gst/dataprotocol/dataprotocol.c:
11717 * libs/gst/dataprotocol/dataprotocol.h:
11718 * libs/gst/net/gstnetclientclock.h:
11719 * libs/gst/net/gstnettimeprovider.h:
11720 Documentation updates.
11722 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11724 * docs/manual/basics-helloworld.xml:
11725 Remove superfluous closing bracket in helloworld example.
11727 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11729 * tools/gst-launch.1.in:
11730 Update gst-launch man page; add a section with useful
11731 environment variables. Fixes #323882.
11733 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11735 * gst/gst.c:
11736 * gst/gst_private.h:
11737 change some char* into char[]
11739 2005-12-16 Wim Taymans <wim@fluendo.com>
11741 * gst/gstregistryxml.c: (load_feature):
11742 Cleanups.
11743 Don't use g_object_unref on GstObjects so that we avoid
11744 leaks on unsafe glibs.
11746 2005-12-16 Wim Taymans <wim@fluendo.com>
11748 * gst/gstbin.c: (gst_bin_recalc_state):
11749 Small doc updates.
11751 2005-12-16 Wim Taymans <wim@fluendo.com>
11753 * common/check.mak:
11754 Added make forever target for check.
11756 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11758 * gst/gst.c: (init_post):
11759 make the registry cache file HOST_CPU-dependent
11761 2005-12-16 Andy Wingo <wingo@pobox.com>
11763 * plugins/elements/gstbufferstore.c
11764 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11765 return value.
11767 * tests/check/gst/gstobject.c
11768 (test_fake_object_name_threaded_unique): Pay attention to
11769 g_list_sort return value.
11771 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11773 * tools/gst-feedback-m.m:
11774 Update for 0.9/0.10 (fixes #323870).
11776 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11778 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11779 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11781 * tests/check/gst/gstminiobject.c: (my_foo_init),
11782 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11783 (test_value_collection), (gst_mini_object_suite):
11784 Add test to ensure refcounts end up as expected when passing
11785 GstMiniObjects through g_object_get() and g_object_set().
11787 2005-12-14 Julien MOUTTE <julien@moutte.net>
11789 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11790 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11791 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11792 of collectpads. This version removes a lot of races without
11793 touching API/ABI. Yay !
11795 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11797 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11798 Don't allow activation of a srcpad in pull_range if it has no
11799 getrange function.
11800 Change some debug statements to be a little clearer
11802 * plugins/elements/gsttypefindelement.c:
11803 (gst_type_find_handle_src_query):
11804 Check that we have a peer before executing queries thereupon.
11806 * tests/examples/metadata/read-metadata.c: (message_loop):
11807 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11808 immediately return us any available message with 0 timeout.
11810 2005-12-12 Michael Smith <msmith@fluendo.com>
11812 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11813 Don't unref factories after calling them.
11814 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11815 * plugins/elements/gsttypefindelement.c:
11816 (gst_type_find_element_chain):
11817 Free lists of factories after using them. Fixing typefinding memory
11818 leaks.
11820 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11822 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11823 (gst_plugin_feature_load):
11824 more meaningful debug output
11825 * configure.ac:
11826 * tests/Makefile.am:
11827 * tests/old/examples/Makefile.am:
11828 make make distcheck happy again
11830 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11832 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11833 Catch the special case where we are operating chain-based,
11834 but the downstream peer pad has no chain function. Emit a
11835 custom error message in this case instead of letting the
11836 core generate one implying that this is some sort of core
11837 bug. It's not, it just means that whatever got plugged
11838 into the pipeline downstream when we announced the type
11839 can only operate pull-based, while our source can only
11840 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11841 Error string has not been marked for translation yet, as
11842 it probably needs some more work first.
11844 (gst_type_find_element_get_best_possibility):
11845 Add helper function to find the best of all available
11846 found possibilities that qualify given the min. threshold.
11848 (gst_type_find_element_handle_event):
11849 Fix the case where we get an EOS while still in TYPEFIND
11850 mode (we want to chose the best of all possible types,
11851 not just the first type that happens to be in our unsorted
11852 list of possible types).
11854 (gst_type_find_element_chain):
11855 Make sure we return GST_FLOW_ERROR when we errored out
11856 in stop_typefinding(); also, don't just find the best of
11857 all found type entries and then use the last examined
11858 type entry, but actually use the best entry.
11860 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11862 * tests/examples/typefind/typefind.c: (type_found):
11863 * tests/examples/xml/runxml.c: (xml_loaded):
11864 More gcc4 fixes and a mem leak fix.
11866 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11868 * tests/examples/xml/createxml.c: (object_saved):
11869 gcc 4 fixes
11871 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11873 * tests/Makefile.am:
11874 enable the examples even more
11876 2005-12-12 Andy Wingo <wingo@pobox.com>
11878 * libs/gst/net/gstnettimeprovider.c
11879 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11880 (gst_net_time_provider_set_property)
11881 (gst_net_time_provider_get_property):
11882 API addition: Export "active" as a GObject property.
11883 (gst_net_time_provider_thread): Only respond to time queries if
11884 the time provider is active.
11886 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11887 NetTimeProvider, preserving binary compat.
11889 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11891 * tests/examples/controller/audio-example.c: (main):
11892 * tests/examples/launch/Makefile.am:
11893 convert comments again
11895 2005-12-12 Wim Taymans <wim@fluendo.com>
11897 * libs/gst/base/gstpushsrc.c:
11898 Fix typo.
11900 2005-12-12 Wim Taymans <wim@fluendo.com>
11902 * docs/libs/gstreamer-libs-sections.txt:
11903 Added new symbol to docs.
11905 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11906 (gst_base_src_init), (gst_base_src_set_format),
11907 (gst_base_src_default_query), (gst_base_src_query),
11908 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11909 (gst_base_src_perform_seek), (gst_base_src_send_event),
11910 (gst_base_src_default_event), (gst_base_src_event_handler),
11911 (gst_base_src_set_property), (gst_base_src_get_property),
11912 (gst_base_src_wait), (gst_base_src_do_sync),
11913 (gst_base_src_update_length), (gst_base_src_get_range),
11914 (gst_base_src_check_get_range), (gst_base_src_loop),
11915 (gst_base_src_default_negotiate), (gst_base_src_start),
11916 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11917 (gst_base_src_change_state):
11918 * libs/gst/base/gstbasesrc.h:
11919 Implement seeking to other formats than _BYTES.
11920 Implement more seeking methods correctly.
11921 Doc updates.
11922 Added query vmethod.
11923 Added do_seek vmethod to make life easier for subclasses
11924 when seeking.
11925 API addition: gst_base_src_set_format()
11927 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11929 * tests/examples/Makefile.am:
11930 added that too
11932 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11934 * configure.ac:
11935 * docs/random/ensonic/media-device-daemon.txt:
11936 * tests/examples/controller/.cvsignore:
11937 * tests/examples/controller/Makefile.am:
11938 * tests/examples/controller/audio-example.c: (main):
11939 * tests/examples/helloworld/.cvsignore:
11940 * tests/examples/helloworld/Makefile.am:
11941 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11942 * tests/examples/launch/.cvsignore:
11943 * tests/examples/launch/Makefile.am:
11944 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11945 * tests/examples/metadata/.cvsignore:
11946 * tests/examples/metadata/Makefile.am:
11947 * tests/examples/metadata/read-metadata.c: (message_loop),
11948 (make_pipeline), (print_tag), (main):
11949 * tests/examples/queue/.cvsignore:
11950 * tests/examples/queue/Makefile.am:
11951 * tests/examples/queue/queue.c: (event_loop), (main):
11952 * tests/examples/typefind/.cvsignore:
11953 * tests/examples/typefind/Makefile.am:
11954 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11955 (main):
11956 * tests/examples/xml/.cvsignore:
11957 * tests/examples/xml/Makefile.am:
11958 * tests/examples/xml/createxml.c: (object_saved), (main):
11959 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11960 * tests/old/examples/Makefile.am:
11961 * tests/old/examples/TODO:
11962 * tests/old/examples/controller/.cvsignore:
11963 * tests/old/examples/controller/Makefile.am:
11964 * tests/old/examples/controller/audio-example.c:
11965 * tests/old/examples/helloworld/.cvsignore:
11966 * tests/old/examples/helloworld/Makefile.am:
11967 * tests/old/examples/helloworld/helloworld.c:
11968 * tests/old/examples/launch/.cvsignore:
11969 * tests/old/examples/launch/Makefile.am:
11970 * tests/old/examples/launch/mp3parselaunch.c:
11971 * tests/old/examples/launch/mp3play:
11972 * tests/old/examples/manual/Makefile.am:
11973 * tests/old/examples/metadata/Makefile.am:
11974 * tests/old/examples/metadata/read-metadata.c:
11975 * tests/old/examples/queue/.cvsignore:
11976 * tests/old/examples/queue/Makefile.am:
11977 * tests/old/examples/queue/queue.c:
11978 * tests/old/examples/typefind/.cvsignore:
11979 * tests/old/examples/typefind/Makefile.am:
11980 * tests/old/examples/typefind/typefind.c:
11981 * tests/old/examples/xml/.cvsignore:
11982 * tests/old/examples/xml/Makefile.am:
11983 * tests/old/examples/xml/createxml.c:
11984 * tests/old/examples/xml/runxml.c:
11985 applied some simple fixing to some examples
11986 re-enabled the working examples
11988 2005-12-12 Wim Taymans <wim@fluendo.com>
11990 * gst/gstsegment.c: (gst_segment_init),
11991 (gst_segment_set_last_stop), (gst_segment_set_seek),
11992 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11993 (gst_segment_to_running_time):
11994 Added more documentation.
11995 Make sure the last_pos value is updated properly.
11996 Make sure to_stream_time and to_running_time don't
11997 operate on wrong values.
11999 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12000 Update check.
12002 2005-12-12 Michael Smith <msmith@fluendo.com>
12004 * plugins/elements/gsttypefindelement.c: (free_entry),
12005 (gst_type_find_element_chain):
12006 Now that we're not leaking factories, make sure we keep references
12007 to them while we need them.
12009 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12011 * tests/check/gst/struct_i386.h:
12012 ifdef out the XML structs
12014 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12016 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12017 floor is not needed, F is always positive; this obviates the
12018 need for adding -lm when building without libxml
12020 2005-12-12 Wim Taymans <wim@fluendo.com>
12022 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12023 Take current playback rate into account when reporting
12024 the position.
12026 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12028 * docs/manual/mime-world.fig:
12029 Let's try this again, this time with a file that is
12030 actually in XFig format.
12032 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12034 * docs/manual/mime-world.fig:
12035 Add audioconvert element to diagram so that it
12036 matches the text and the code (fixes #319526).
12038 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12040 * docs/pwg/building-chainfn.xml:
12041 * docs/pwg/building-pads.xml:
12042 * docs/pwg/building-state.xml:
12043 * docs/pwg/other-source.xml:
12044 Update state change stuff for 0.10 (fixes #322969).
12046 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12048 * docs/manual/advanced-dataaccess.xml:
12049 * docs/manual/appendix-checklist.xml:
12050 * docs/manual/appendix-programs.xml:
12051 * docs/manual/basics-pads.xml:
12052 * docs/manual/highlevel-components.xml:
12053 * docs/manual/manual.xml:
12054 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12055 add converters in front of pipelines; remove curly
12056 brackets for threads stuff, they no longer exist; use
12057 GST_TYPE_FRACTION for framerates; update some pieces of
12058 code to 0.10, but there's plenty more to do.
12060 * docs/manual/appendix-porting.xml:
12061 Expand on asynchroneous state changes; s/0.9/0.10/;
12062 mention disappearance of gst_init_get_popt_table()
12063 (fixes #322916).
12065 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12067 * docs/faq/using.xml:
12068 Spider no longer exists, and neither does gst-launch-ext.
12069 Update examples to use decodebin and playbin and put
12070 converters in front of sinks (fixes #323726).
12072 2005-12-09 Michael Smith <msmith@fluendo.com>
12074 * plugins/elements/gsttypefindelement.c: (find_peek),
12075 (gst_type_find_element_chain):
12076 Fix leaking element factories in typefinding.
12077 Fix problem where we forgot about a probable type on non-seekable
12078 files, and thus later mis-typefound it.
12080 2005-12-09 Michael Smith <msmith@fluendo.com>
12082 * common/m4/gst-makecontext.m4:
12083 * common/m4/gst-mcsc.m4:
12084 * configure.ac:
12085 * win32/common/config.h:
12086 * win32/common/config.h.in:
12087 Remove makecontext stuff; not used in 0.10 and causes problems on
12088 HPUX according to bug #322441
12090 2005-12-07 Wim Taymans <wim@fluendo.com>
12092 * tests/check/Makefile.am:
12093 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12094 (main):
12095 * tests/check/libs/struct_i386.h:
12096 Added ABI check for libs
12098 2005-12-07 Wim Taymans <wim@fluendo.com>
12100 * tests/check/Makefile.am:
12101 And add the struct_i386.h to dist.
12103 2005-12-07 Wim Taymans <wim@fluendo.com>
12105 * tests/check/Makefile.am:
12106 * tests/check/gst/.cvsignore:
12107 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12108 (main):
12109 * tests/check/gst/struct_i386.h:
12110 Added check for ABI compatibility.
12112 2005-12-07 Wim Taymans <wim@fluendo.com>
12114 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12115 (gst_fake_src_get_times), (gst_fake_src_create):
12116 Fix broken sync option, fixes #323259
12118 2005-12-07 Wim Taymans <wim@fluendo.com>
12120 * gst/gstbuffer.c:
12121 Small docs update.
12123 * gst/gstcaps.c: (gst_caps_is_equal):
12124 Don't assert on NULL <--> X. Fixes #323260
12126 * gst/gstminiobject.c: (gst_mini_object_replace):
12127 If we're doing atomic operations, we might just as well use
12128 the proper way to get an atomic pointer.
12130 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12131 Clean up debugging.
12133 2005-12-07 Michael Smith <msmith@fluendo.com>
12135 * gst/parse/grammar.y:
12136 Remove handling of { } for threads.
12138 2005-12-06 David Schleef <ds@schleef.org>
12140 * libs/gst/base/gstbasetransform.c: speling fix.
12142 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12144 * docs/libs/tmpl/gstdataprotocol.sgml:
12145 * docs/random/omega/testing/gstobject.c:
12146 * gst/gst.c:
12147 * gst/gstclock.c:
12148 * gst/gstelement.c:
12149 * gst/gstelementfactory.c:
12150 * gst/gsterror.c:
12151 * gst/gstevent.c:
12152 * gst/gstghostpad.c:
12153 * gst/gstinfo.c:
12154 * gst/gstpadtemplate.c:
12155 * gst/gstregistryxml.c:
12156 * gst/gsttaglist.c:
12157 * gst/gsttagsetter.c:
12158 * gst/gsttypefind.c:
12159 * gst/gstvalue.c:
12160 * libs/gst/base/gstbasesrc.c:
12161 * libs/gst/net/gstnetclientclock.c:
12162 * libs/gst/net/gstnettimeprovider.c:
12163 * plugins/elements/gstfakesrc.c:
12164 * plugins/elements/gstfdsrc.c:
12165 * plugins/elements/gstfilesrc.c:
12166 * plugins/elements/gstidentity.c:
12167 * plugins/elements/gstqueue.c:
12168 * plugins/elements/gsttypefindelement.c:
12169 * plugins/indexers/gstfileindex.c:
12170 * plugins/indexers/gstmemindex.c:
12171 * tests/check/gst/gsttag.c:
12172 * tests/old/examples/cutter/cutter.c:
12173 * tests/old/examples/mixer/mixer.c:
12174 * tests/old/examples/xml/runxml.c: (main):
12175 * tests/old/testsuite/caps/normalisation.c:
12176 * tests/old/testsuite/debug/global.c:
12177 * tests/old/testsuite/parse/parse1.c:
12178 * tools/gst-xmlinspect.c:
12179 * win32/common/dirent.c:
12180 expand tabs
12182 === release 0.10.0 ===
12184 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12186 * configure.ac:
12187 releasing 0.10.0, "Maroilles"
12189 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12191 submitted by: Funda Wang <fundawang@linux.net.cn>
12193 * po/LINGUAS:
12194 * po/zh_CN.po:
12195 added Chinese (Traditional) translation
12197 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12199 * docs/gst/gstreamer-sections.txt:
12200 * docs/libs/tmpl/gstdataprotocol.sgml:
12201 * docs/random/thomasvs/TODO:
12202 * gst/gstutils.c:
12203 * gst/gstutils.h:
12204 fix docs
12206 2005-12-05 Andy Wingo <wingo@pobox.com>
12208 patch by: Wim Taymans <wim@fluendo.com>
12210 * libs/gst/base/gstbasetransform.c
12211 (gst_base_transform_prepare_output_buf)
12212 (gst_base_transform_buffer_alloc):
12213 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12214 alloc_buffer_and_set_caps.
12216 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12217 set_caps on the source pad.
12218 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12219 alloc_buffer used to do. Fixes #322874.
12221 * docs/gst/gstreamer-sections.txt:
12222 * docs/design/part-negotiation.txt:
12223 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12224 changes.
12226 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12228 patch by: Sebastien Moutte
12230 * win32/MANIFEST:
12231 * win32/common/config.h.in:
12232 * win32/vs6/libgstcontroller.dsp:
12233 win32 build fixes
12235 2005-12-05 Wim Taymans <wim@fluendo.com>
12237 * gst/gstcaps.c: (gst_caps_is_equal):
12238 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12239 (gst_fake_src_create):
12240 Back out previous code changes, leave doc updates, file bugs
12241 instead.
12243 2005-12-05 Wim Taymans <wim@fluendo.com>
12245 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12246 (gst_fake_src_get_times), (gst_fake_src_create):
12247 * plugins/elements/gstfakesrc.h:
12248 Fix broken sync code.
12250 2005-12-05 Wim Taymans <wim@fluendo.com>
12252 * gst/gstcaps.c: (gst_caps_is_equal):
12253 Comparing NULL against !NULL yields different caps, not a
12254 failure.
12256 2005-12-05 Wim Taymans <wim@fluendo.com>
12258 * gst/gstpipeline.c:
12259 Fix small typo in docs.
12261 2005-12-05 Andy Wingo <wingo@pobox.com>
12263 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12265 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12266 registries/plugins with a MAJORMINOR one.
12267 (plugin_desc): Rename library from gstcoreleements to
12268 staticelements. Fixes #323222.
12270 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12272 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12273 Change debug category to 'collectpads' from 'collect_pads'
12274 (fixes #323250).
12276 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12278 patch by: Sebastien Moutte
12280 * libs/gst/controller/gstinterpolation.c:
12281 use convert function for uint64/double
12282 * win32/vs6/libgstcontroller.dsp:
12283 link to GLib
12285 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12288 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12289 * gst/gstutils.h:
12290 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12291 add tests that seem to show that the guint64/gdouble conversions
12292 are correct.
12294 2005-12-02 Wim Taymans <wim@fluendo.com>
12296 * gst/gstregistry.c: (gst_registry_add_path):
12297 * gst/gstregistry.h:
12298 * gst/gstregistryxml.c:
12299 Fix docs again.
12301 2005-12-02 Wim Taymans <wim@fluendo.com>
12303 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12304 (gst_util_uint64_scale_int):
12305 Small cleanup.
12307 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12308 Add debug log line.
12310 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12311 Add FIXME.
12313 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12315 * win32/MANIFEST:
12316 * win32/common/config.h:
12317 * win32/vs6/gstreamer.dsw:
12318 * win32/vs6/libgstcoreelements.dsp:
12319 * win32/vs6/libgstelements.dsp:
12320 renamed core elements plugin
12322 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12324 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12325 (get_candidates):
12326 do piece-wise major/minor comparison so 0.9 < 0.10
12327 also allow .exe extensions for tools
12329 2005-12-02 Michael Smith <msmith@fluendo.com>
12331 * gst/gst.c:
12332 Escape a % to make gtkdoc happier; bug 322958.
12334 === release 0.9.7 ===
12336 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12338 * configure.ac:
12339 releasing 0.9.7, "My Dog Has No Nose"
12341 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12343 * common/gst-xmlinspect.py:
12344 * configure.ac:
12345 * docs/libs/tmpl/gstdataprotocol.sgml:
12346 * docs/random/release:
12347 * po/af.po:
12348 * po/az.po:
12349 * po/bg.po:
12350 * po/ca.po:
12351 * po/cs.po:
12352 * po/de.po:
12353 * po/en_GB.po:
12354 * po/fr.po:
12355 * po/it.po:
12356 * po/nb.po:
12357 * po/nl.po:
12358 * po/ru.po:
12359 * po/sq.po:
12360 * po/sr.po:
12361 * po/sv.po:
12362 * po/tr.po:
12363 * po/uk.po:
12364 * po/vi.po:
12365 * win32/common/config.h:
12366 * win32/common/config.h.in:
12367 * win32/vs6/gst_inspect.dsp:
12368 * win32/vs6/gst_launch.dsp:
12369 * win32/vs6/libgstbase.dsp:
12370 * win32/vs6/libgstelements.dsp:
12371 * win32/vs6/libgstreamer.dsp:
12372 * win32/vs7/GStreamer.vcproj:
12373 * win32/vs7/gst-inspect.vcproj:
12374 * win32/vs7/gst-launch.vcproj:
12375 * win32/vs7/libgstbase.vcproj:
12376 bump GST_MAJORMINOR to 0.10
12377 reset libtool version
12379 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12381 * po/LINGUAS:
12382 * po/bg.po:
12383 Added Bulgarian translation by (Alexander Shopov)
12385 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12387 * tests/check/gst/gstplugin.c:
12388 fix test
12390 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12392 * common/gst-xmlinspect.py:
12393 * common/gtk-doc-plugins.mak:
12394 * configure.ac:
12395 * docs/Makefile.am:
12396 * docs/gst/Makefile.am:
12397 * docs/gst/gstreamer-docs.sgml:
12398 * docs/gst/gstreamer-sections.txt:
12399 * docs/gst/gstreamer.types:
12400 * docs/gst/gstreamer.types.in:
12401 * docs/plugins/Makefile.am:
12402 * docs/plugins/gstreamer-plugins-docs.sgml:
12403 * docs/plugins/gstreamer-plugins-sections.txt:
12404 * docs/plugins/gstreamer-plugins.types:
12405 * docs/plugins/inspect.stamp:
12406 * docs/plugins/inspect/plugin-coreelements.xml:
12407 * docs/plugins/inspect/plugin-coreindexers.xml:
12408 * docs/plugins/scanobj-build.stamp:
12409 * gstreamer.spec.in:
12410 * plugins/elements/Makefile.am:
12411 * plugins/elements/gstelements.c:
12412 * plugins/elements/gstfakesink.c:
12413 * plugins/elements/gstfakesrc.c:
12414 * plugins/elements/gstfilesink.c:
12415 * plugins/elements/gstfilesrc.c:
12416 * plugins/elements/gstqueue.c:
12417 * plugins/indexers/Makefile.am:
12418 * plugins/indexers/gstindexers.c:
12419 document core plugins in a separate document just like all the
12420 others
12421 rename these plugins to something starting with core
12423 2005-12-01 Andy Wingo <wingo@pobox.com>
12425 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12426 padding here before, but it missed the commit.
12428 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12430 * libs/gst/controller/gstinterpolation.c:
12431 whitespace prices have crashed, we should feel free to use some now
12432 use gst_guint64_to_gdouble
12434 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12436 * libs/gst/controller/gstcontroller.c:
12437 * libs/gst/controller/gsthelper.c:
12438 * libs/gst/controller/gstinterpolation.c:
12439 * libs/gst/controller/lib.c:
12440 wrap config.h include
12442 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12444 * docs/gst/gstreamer-sections.txt:
12445 update docs
12447 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12449 * plugins/elements/gstelements.c:
12450 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12451 (gst_fd_sink__class_init), (gst_fd_sink__init),
12452 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12453 (gst_fd_sink__get_property):
12454 * plugins/elements/gstfdsink.h:
12455 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12456 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12457 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12458 (gst_fd_src_unlock), (gst_fd_src_set_property),
12459 (gst_fd_src_get_property), (gst_fd_src_create),
12460 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12461 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12462 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12463 (gst_fd_src_uri_handler_init):
12464 * plugins/elements/gstfdsrc.h:
12465 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12466 more anal cleanup
12468 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12470 * docs/gst/Makefile.am:
12471 * docs/gst/gstreamer.types.in:
12472 * gst/Makefile.am:
12473 fix the docs build
12475 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12477 * configure.ac:
12478 * gst/Makefile.am:
12479 * gst/gst.c:
12480 * gst/gstplugin.h:
12481 * gst/gstregistry.h:
12482 * tests/benchmarks/complexity.c:
12483 * tests/benchmarks/mass-elements.c:
12484 * tests/check/Makefile.am:
12485 * tools/Makefile.am:
12486 * tools/gst-inspect.c:
12487 * tools/gst-xmlinspect.c:
12488 various fixes to make
12489 --disable-nls --disable-registry --disable-loadsave
12490 --disable-parse --disable-gst-debug
12491 work and get the core .so down to 360444 bytes after stripping
12493 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12495 * Makefile.am:
12496 * configure.ac:
12497 descend into tests
12498 * docs/random/thomasvs/TODO:
12499 * tests/Makefile.am:
12500 * tests/README:
12501 add a README
12503 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12505 * win32/GStreamer.vcproj:
12506 * win32/MANIFEST:
12507 * win32/Makefile:
12508 * win32/Makefile.inspect:
12509 * win32/Makefile.launch:
12510 * win32/Makefile.register:
12511 * win32/README.txt:
12512 * win32/gst-inspect.vcproj:
12513 * win32/gst-launch.vcproj:
12514 * win32/gst-register.vcproj:
12515 * win32/gstelements.vcproj:
12516 * win32/gstgetbits.def:
12517 * win32/gstgetbits.vcproj:
12518 * win32/gstreamer-dbg.def:
12519 * win32/gstreamer.def:
12520 * win32/libgstbase.def:
12521 * win32/libgstbase.vcproj:
12522 * win32/link_oldruntime.c:
12523 * win32/mman.c:
12524 * win32/mman.h:
12525 * win32/mman.inl:
12526 * win32/msvc71.sln:
12527 move even more stuff, win32/ is nice and clean now
12529 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12531 * libs/gst/control/.cvsignore:
12532 * win32/MANIFEST:
12533 * win32/config.h:
12534 * win32/dirent.c:
12535 * win32/dirent.h:
12536 * win32/gstbytestream.def:
12537 * win32/gstbytestream.vcproj:
12538 * win32/gstconfig.h:
12539 * win32/gstenumtypes.c:
12540 * win32/gstenumtypes.h:
12541 * win32/gstoptimalscheduler.vcproj:
12542 * win32/gstversion.h:
12543 * win32/gtchar.h:
12544 * win32/testsuite/bins.vcproj:
12545 * win32/testsuite/bytestream.vcproj:
12546 * win32/testsuite/caps.vcproj:
12547 * win32/testsuite/cleanup.vcproj:
12548 * win32/testsuite/clock.vcproj:
12549 * win32/testsuite/debug.vcproj:
12550 * win32/testsuite/dlopen.vcproj:
12551 * win32/testsuite/dynparams.vcproj:
12552 * win32/testsuite/elements.vcproj:
12553 * win32/testsuite/ghostpads.vcproj:
12554 * win32/testsuite/indexers.vcproj:
12555 * win32/testsuite/negotiation.vcproj:
12556 * win32/testsuite/parse.vcproj:
12557 * win32/testsuite/plugin.vcproj:
12558 * win32/testsuite/refcounting.vcproj:
12559 * win32/testsuite/schedulers.vcproj:
12560 * win32/testsuite/states.vcproj:
12561 * win32/testsuite/tags.vcproj:
12562 * win32/testsuite/threads.vcproj:
12563 remove old win32 stuff that isn't maintained and should be
12564 reorganized
12566 2005-11-30 Andy Wingo <wingo@pobox.com>
12568 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12569 loading the gst.interfaces python module bork.
12571 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12572 available since GLib 2.2. Fixes #318031.
12574 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12576 * Makefile.am:
12577 * check/.cvsignore:
12578 * check/Makefile.am:
12579 * check/elements/.cvsignore:
12580 * check/elements/fakesrc.c:
12581 * check/elements/fdsrc.c:
12582 * check/elements/identity.c:
12583 * check/generic/.cvsignore:
12584 * check/generic/states.c:
12585 * check/gst-libs/.cvsignore:
12586 * check/gst-libs/controller.c:
12587 * check/gst-libs/gdp.c:
12588 * check/gst/.cvsignore:
12589 * check/gst/capslist.h:
12590 * check/gst/gst.c:
12591 * check/gst/gstbin.c:
12592 * check/gst/gstbuffer.c:
12593 * check/gst/gstbus.c:
12594 * check/gst/gstcaps.c:
12595 * check/gst/gstelement.c:
12596 * check/gst/gstevent.c:
12597 * check/gst/gstghostpad.c:
12598 * check/gst/gstiterator.c:
12599 * check/gst/gstmessage.c:
12600 * check/gst/gstminiobject.c:
12601 * check/gst/gstobject.c:
12602 * check/gst/gstpad.c:
12603 * check/gst/gstpipeline.c:
12604 * check/gst/gstplugin.c:
12605 * check/gst/gstsegment.c:
12606 * check/gst/gststructure.c:
12607 * check/gst/gstsystemclock.c:
12608 * check/gst/gsttag.c:
12609 * check/gst/gstutils.c:
12610 * check/gst/gstvalue.c:
12611 * check/net/.cvsignore:
12612 * check/net/gstnetclientclock.c:
12613 * check/net/gstnettimeprovider.c:
12614 * check/pipelines/.cvsignore:
12615 * check/pipelines/cleanup.c:
12616 * check/pipelines/simple_launch_lines.c:
12617 * check/pipelines/stress.c:
12618 * check/states/.cvsignore:
12619 * check/states/sinks.c:
12620 * configure.ac:
12621 * examples/Makefile.am:
12622 * examples/appreader/.cvsignore:
12623 * examples/appreader/Makefile.am:
12624 * examples/appreader/appreader.c:
12625 * examples/controller/.cvsignore:
12626 * examples/controller/Makefile.am:
12627 * examples/controller/audio-example.c:
12628 * examples/cutter/.cvsignore:
12629 * examples/cutter/Makefile.am:
12630 * examples/cutter/cutter.c:
12631 * examples/cutter/cutter.h:
12632 * examples/events/Makefile.am:
12633 * examples/events/seek.c:
12634 * examples/helloworld/.cvsignore:
12635 * examples/helloworld/Makefile.am:
12636 * examples/helloworld/helloworld.c:
12637 * examples/helloworld2/.cvsignore:
12638 * examples/helloworld2/Makefile.am:
12639 * examples/helloworld2/helloworld2.c:
12640 * examples/launch/.cvsignore:
12641 * examples/launch/Makefile.am:
12642 * examples/launch/mp3parselaunch.c:
12643 * examples/launch/mp3play:
12644 * examples/manual/.cvsignore:
12645 * examples/manual/Makefile.am:
12646 * examples/manual/extract.pl:
12647 * examples/metadata/Makefile.am:
12648 * examples/metadata/read-metadata.c:
12649 * examples/mixer/.cvsignore:
12650 * examples/mixer/Makefile.am:
12651 * examples/mixer/mixer.c:
12652 * examples/mixer/mixer.h:
12653 * examples/pingpong/.cvsignore:
12654 * examples/pingpong/Makefile.am:
12655 * examples/pingpong/pingpong.c:
12656 * examples/plugins/.cvsignore:
12657 * examples/plugins/Makefile.am:
12658 * examples/plugins/example.c:
12659 * examples/plugins/example.h:
12660 * examples/pwg/.cvsignore:
12661 * examples/pwg/Makefile.am:
12662 * examples/pwg/extract.pl:
12663 * examples/queue/.cvsignore:
12664 * examples/queue/Makefile.am:
12665 * examples/queue/queue.c:
12666 * examples/queue2/.cvsignore:
12667 * examples/queue2/Makefile.am:
12668 * examples/queue2/queue2.c:
12669 * examples/queue3/.cvsignore:
12670 * examples/queue3/Makefile.am:
12671 * examples/queue3/queue3.c:
12672 * examples/queue4/.cvsignore:
12673 * examples/queue4/Makefile.am:
12674 * examples/queue4/queue4.c:
12675 * examples/retag/.cvsignore:
12676 * examples/retag/Makefile.am:
12677 * examples/retag/retag.c:
12678 * examples/retag/transcode.c:
12679 * examples/thread/.cvsignore:
12680 * examples/thread/Makefile.am:
12681 * examples/thread/thread.c:
12682 * examples/typefind/.cvsignore:
12683 * examples/typefind/Makefile.am:
12684 * examples/typefind/typefind.c:
12685 * examples/xml/.cvsignore:
12686 * examples/xml/Makefile.am:
12687 * examples/xml/createxml.c:
12688 * examples/xml/runxml.c:
12689 * tests/Makefile.am:
12690 * tests/check/Makefile.am:
12691 * testsuite/.cvsignore:
12692 * testsuite/Makefile.am:
12693 * testsuite/Rules:
12694 * testsuite/caps/.cvsignore:
12695 * testsuite/caps/Makefile.am:
12696 * testsuite/caps/app_fixate.c:
12697 * testsuite/caps/audioscale.c:
12698 * testsuite/caps/caps.c:
12699 * testsuite/caps/caps.h:
12700 * testsuite/caps/caps_strings:
12701 * testsuite/caps/compatibility.c:
12702 * testsuite/caps/deserialize.c:
12703 * testsuite/caps/enumcaps.c:
12704 * testsuite/caps/eratosthenes.c:
12705 * testsuite/caps/filtercaps.c:
12706 * testsuite/caps/fixed.c:
12707 * testsuite/caps/fraction-convert.c:
12708 * testsuite/caps/fraction-multiply-and-zero.c:
12709 * testsuite/caps/intersect2.c:
12710 * testsuite/caps/intersection.c:
12711 * testsuite/caps/normalisation.c:
12712 * testsuite/caps/random.c:
12713 * testsuite/caps/renegotiate.c:
12714 * testsuite/caps/sets.c:
12715 * testsuite/caps/simplify.c:
12716 * testsuite/caps/string-conversions.c:
12717 * testsuite/caps/structure.c:
12718 * testsuite/caps/subtract.c:
12719 * testsuite/caps/union.c:
12720 * testsuite/debug/.cvsignore:
12721 * testsuite/debug/Makefile.am:
12722 * testsuite/debug/category.c:
12723 * testsuite/debug/commandline.c:
12724 * testsuite/debug/global.c:
12725 * testsuite/debug/output.c:
12726 * testsuite/debug/printf_extension.c:
12727 * testsuite/dlopen/.cvsignore:
12728 * testsuite/dlopen/Makefile.am:
12729 * testsuite/dlopen/dlopen_gst.c:
12730 * testsuite/dlopen/loadgst.c:
12731 * testsuite/elements/.cvsignore:
12732 * testsuite/elements/Makefile.am:
12733 * testsuite/elements/gst-inspect-check.in:
12734 * testsuite/elements/struct_i386.h:
12735 * testsuite/elements/struct_size.c:
12736 * testsuite/indexers/.cvsignore:
12737 * testsuite/indexers/Makefile.am:
12738 * testsuite/indexers/cache1.c:
12739 * testsuite/indexers/indexdump.c:
12740 * testsuite/parse/.cvsignore:
12741 * testsuite/parse/Makefile.am:
12742 * testsuite/parse/parse1.c:
12743 * testsuite/parse/parse2.c:
12744 * testsuite/plugin/.cvsignore:
12745 * testsuite/plugin/Makefile.am:
12746 * testsuite/plugin/README:
12747 * testsuite/plugin/dynamic.c:
12748 * testsuite/plugin/linked.c:
12749 * testsuite/plugin/loading.c:
12750 * testsuite/plugin/registry.c:
12751 * testsuite/plugin/static.c:
12752 * testsuite/plugin/static2.c:
12753 * testsuite/plugin/testplugin.c:
12754 * testsuite/plugin/testplugin2.c:
12755 * testsuite/plugin/testplugin2_s.c:
12756 * testsuite/plugin/testplugin_s.c:
12757 * testsuite/refcounting/.cvsignore:
12758 * testsuite/refcounting/Makefile.am:
12759 * testsuite/refcounting/bin.c:
12760 * testsuite/refcounting/element.c:
12761 * testsuite/refcounting/element_pad.c:
12762 * testsuite/refcounting/mainloop.c:
12763 * testsuite/refcounting/mem.c:
12764 * testsuite/refcounting/mem.h:
12765 * testsuite/refcounting/object.c:
12766 * testsuite/refcounting/pad.c:
12767 * testsuite/refcounting/sched.c:
12768 * testsuite/refcounting/thread.c:
12769 * testsuite/states/.cvsignore:
12770 * testsuite/states/Makefile.am:
12771 * testsuite/states/bin.c:
12772 * testsuite/states/locked.c:
12773 * testsuite/states/parent.c:
12774 * testsuite/threads/.cvsignore:
12775 * testsuite/threads/159566.c:
12776 * testsuite/threads/159852.c:
12777 * testsuite/threads/Makefile.am:
12778 * testsuite/threads/queue.c:
12779 * testsuite/threads/signals.c:
12780 * testsuite/threads/staticrec.c:
12781 * testsuite/threads/thread.c:
12782 * testsuite/threads/threadb.c:
12783 * testsuite/threads/threadc.c:
12784 * testsuite/threads/threadd.c:
12785 * testsuite/threads/threade.c:
12786 * testsuite/threads/threadf.c:
12787 * testsuite/threads/threadg.c:
12788 * testsuite/threads/threadh.c:
12789 * testsuite/threads/threadi.c:
12790 move all of these under tests
12792 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12794 * configure.ac:
12795 * tests/Makefile.am:
12796 fix distcheck
12798 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12800 * docs/gst/gstreamer-sections.txt:
12801 * tests/sched/.cvsignore:
12802 * tests/sched/Makefile.am:
12803 * tests/sched/cases/(fs-fs).xml:
12804 * tests/sched/cases/(fs-i-fs).xml:
12805 * tests/sched/cases/(fs-i-i-fs).xml:
12806 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12807 * tests/sched/dynamic-pipeline.c:
12808 * tests/sched/interrupt1.c:
12809 * tests/sched/interrupt2.c:
12810 * tests/sched/interrupt3.c:
12811 * tests/sched/runtestcases:
12812 * tests/sched/runxml.c:
12813 * tests/sched/sched-stress.c:
12814 * tests/sched/sort.c:
12815 * tests/sched/testcases:
12816 * tests/sched/testcases1.tc:
12817 * tests/seeking/.cvsignore:
12818 * tests/seeking/Makefile.am:
12819 * tests/seeking/seeking1.c:
12820 * tests/threadstate/.cvsignore:
12821 * tests/threadstate/Makefile.am:
12822 * tests/threadstate/test1.c:
12823 * tests/threadstate/test2.c:
12824 * tests/threadstate/threadstate1.c:
12825 * tests/threadstate/threadstate2.c:
12826 * tests/threadstate/threadstate3.c:
12827 * tests/threadstate/threadstate4.c:
12828 * tests/threadstate/threadstate5.c:
12829 remove obsolete tests
12830 * configure.ac:
12831 * tests/bench-complexity.scm:
12832 * tests/bench-mass_elements.scm:
12833 * tests/complexity.c:
12834 * tests/complexity.gnuplot:
12835 * tests/instantiate/.cvsignore:
12836 * tests/instantiate/Makefile.am:
12837 * tests/instantiate/caps.c:
12838 * tests/mass_elements.c:
12839 * tests/network-clock-utils.scm:
12840 * tests/network-clock.scm:
12841 * tests/plot-data:
12842 First pass at cleaning up tests/ dir before moving the rest
12843 Combined with CVS surgery
12845 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12847 * po/POTFILES.in:
12848 queue has moved, update
12850 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12852 * docs/gst/gstreamer-sections.txt:
12853 remove double entries from the docs
12854 * gst/gst_private.h:
12855 * gst/gstinfo.c: (_gst_debug_init):
12856 remove the THREAD debug category
12857 * gst/Makefile.am:
12858 * gst/gstqueue.c:
12859 * gst/gstqueue.h:
12860 * docs/gst/gstreamer.types:
12861 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12862 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12863 completely move queue and fix up debugging categories
12865 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12867 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12868 make initialization portable, using LL is not
12870 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12872 * win32/common/gstconfig.h:
12873 add large padding
12875 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12877 * win32/common/libgstreamer.def:
12878 rename symbols; sort base section
12880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12882 * gst/gstclock.c: (do_linear_regression):
12883 remove crack non-portable handrolled DEBUG macro
12885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12887 * docs/random/release:
12888 update notes
12889 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12890 (gst_object_flags_get_type), (register_gst_bin_flags),
12891 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12892 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12893 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12894 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12895 (gst_caps_flags_get_type), (register_gst_clock_return),
12896 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12897 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12898 (gst_clock_flags_get_type), (register_gst_state),
12899 (gst_state_get_type), (register_gst_state_change_return),
12900 (gst_state_change_return_get_type), (register_gst_state_change),
12901 (gst_state_change_get_type), (register_gst_element_flags),
12902 (gst_element_flags_get_type), (register_gst_core_error),
12903 (gst_core_error_get_type), (register_gst_library_error),
12904 (gst_library_error_get_type), (register_gst_resource_error),
12905 (gst_resource_error_get_type), (register_gst_stream_error),
12906 (gst_stream_error_get_type), (register_gst_event_type_flags),
12907 (gst_event_type_flags_get_type), (register_gst_event_type),
12908 (gst_event_type_get_type), (register_gst_seek_type),
12909 (gst_seek_type_get_type), (register_gst_seek_flags),
12910 (gst_seek_flags_get_type), (register_gst_format),
12911 (gst_format_get_type), (register_gst_index_certainty),
12912 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12913 (gst_index_entry_type_get_type),
12914 (register_gst_index_lookup_method),
12915 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12916 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12917 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12918 (gst_index_flags_get_type), (register_gst_debug_level),
12919 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12920 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12921 (gst_iterator_result_get_type), (register_gst_iterator_item),
12922 (gst_iterator_item_get_type), (register_gst_message_type),
12923 (gst_message_type_get_type), (register_gst_mini_object_flags),
12924 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12925 (gst_pad_link_return_get_type), (register_gst_flow_return),
12926 (gst_flow_return_get_type), (register_gst_activate_mode),
12927 (gst_activate_mode_get_type), (register_gst_pad_direction),
12928 (gst_pad_direction_get_type), (register_gst_pad_flags),
12929 (gst_pad_flags_get_type), (register_gst_pad_presence),
12930 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12931 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12932 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12933 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12934 (gst_plugin_flags_get_type), (register_gst_rank),
12935 (gst_rank_get_type), (register_gst_query_type),
12936 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12937 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12938 (gst_tag_flag_get_type), (register_gst_task_state),
12939 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12940 (gst_alloc_trace_flags_get_type),
12941 (register_gst_type_find_probability),
12942 (gst_type_find_probability_get_type), (register_gst_uri_type),
12943 (gst_uri_type_get_type), (register_gst_parse_error),
12944 (gst_parse_error_get_type):
12945 * win32/common/gstenumtypes.h:
12946 * win32/common/gstversion.h:
12947 update visual studio generated files
12949 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12951 * win32/vs6/libgstbase.dsp:
12952 * win32/vs6/libgstelements.dsp:
12953 update project files for new locations
12955 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12957 * Makefile.am:
12958 remove some files
12959 * README:
12960 reinstate and update
12961 * DEVEL:
12962 * REQUIREMENTS:
12963 removed
12964 * LICENSE:
12965 * docs/random/LICENSE:
12966 moved to random
12968 2005-11-30 Edward Hervey <edward@fluendo.com>
12970 * gst/gsttypefind.c: (gst_type_find_register):
12971 * gst/gsttypefind.h:
12972 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12973 (gst_type_find_factory_dispose):
12974 * gst/gsttypefindfactory.h:
12975 Fix memory leak in GstTypeFindFactory.
12977 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12979 * gst/gst.c:
12980 * plugins/elements/Makefile.am:
12981 * plugins/elements/gstelements.c:
12982 * plugins/elements/gstqueue.c:
12983 move queue from core to the elements plugin
12985 2005-11-29 Andy Wingo <wingo@pobox.com>
12987 * libs/gst/base/gstbasetransform.h:
12988 * libs/gst/base/gstbasesrc.h:
12989 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12991 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12992 of pointers by which to pad very extensible base classes (like the
12993 ones in libs/gst/base).
12995 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12997 * docs/gst/gstreamer-docs.sgml:
12998 * docs/gst/gstreamer-sections.txt:
12999 * docs/libs/gstreamer-libs-docs.sgml:
13000 * docs/libs/gstreamer-libs-sections.txt:
13001 moving documentation from core to lib
13003 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13005 * check/Makefile.am:
13006 * configure.ac:
13007 * docs/gst/Makefile.am:
13008 * gst/Makefile.am:
13009 * gst/base/.cvsignore:
13010 * gst/base/Makefile.am:
13011 * gst/base/README:
13012 * gst/base/gstadapter.c:
13013 * gst/base/gstadapter.h:
13014 * gst/base/gstbasesink.c:
13015 * gst/base/gstbasesink.h:
13016 * gst/base/gstbasesrc.c:
13017 * gst/base/gstbasesrc.h:
13018 * gst/base/gstbasetransform.c:
13019 * gst/base/gstbasetransform.h:
13020 * gst/base/gstcollectpads.c:
13021 * gst/base/gstcollectpads.h:
13022 * gst/base/gstpushsrc.c:
13023 * gst/base/gstpushsrc.h:
13024 * gst/base/gsttypefindhelper.c:
13025 * gst/base/gsttypefindhelper.h:
13026 * gst/check/Makefile.am:
13027 * gst/check/gstcheck.c:
13028 * gst/check/gstcheck.h:
13029 * gst/net/Makefile.am:
13030 * gst/net/gstnet.h:
13031 * gst/net/gstnetclientclock.c:
13032 * gst/net/gstnetclientclock.h:
13033 * gst/net/gstnettimepacket.c:
13034 * gst/net/gstnettimepacket.h:
13035 * gst/net/gstnettimeprovider.c:
13036 * gst/net/gstnettimeprovider.h:
13037 * libs/gst/Makefile.am:
13038 * libs/gst/base/Makefile.am:
13039 * libs/gst/base/gstbasetransform.c:
13040 * libs/gst/check/Makefile.am:
13041 * plugins/elements/Makefile.am:
13042 * po/POTFILES.in:
13043 CVS surgery + support to move base, check, and net out of gst
13044 and into libs/gst
13046 2005-11-29 Andy Wingo <wingo@pobox.com>
13048 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13050 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13051 padding.
13053 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13055 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13057 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13059 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13060 padding; reduces object size by about 30%. We don't expect
13061 anything else to go into gstobject.
13063 * gst/gstminiobject.h (struct _GstMiniObject)
13064 (struct _GstMiniObjectClass): Only one pointer of padding; the
13065 payload is only a pointer and two ints anyway. For the class there
13066 are only two methods as well.
13068 * gst/gstelement.h (struct _GstElementClass): Removed
13069 the state_changed signal callback, it is not used.
13071 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13073 * docs/gst/gstreamer.types:
13074 fix includes, though they are a little dinky
13076 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13078 * check/Makefile.am:
13079 look in the right place for elements, a lot more chance of
13080 success
13081 * gst/Makefile.am:
13082 remove indexers and elements subdirs
13083 * plugins/Makefile.am:
13084 make indexers conditional
13086 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13088 * Makefile.am:
13089 * configure.ac:
13090 * plugins/elements/Makefile.am:
13091 * plugins/elements/gstcapsfilter.c:
13092 * plugins/elements/gstfilesink.c:
13093 * plugins/elements/gstfilesrc.c:
13094 * plugins/elements/gstidentity.c:
13095 * plugins/indexers/Makefile.am:
13096 do CVS surgery and related build fixery to move elements
13097 and indexers in a new gstreamer/plugins directory, out of the
13098 gst/ directory
13100 2005-11-29 Andy Wingo <wingo@pobox.com>
13102 * check/Makefile.am:
13103 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13104 * pkgconfig/gstreamer-net.pc.in:
13105 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13106 #322257.
13108 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13110 * tools/Makefile.am:
13111 * tools/gst-complete.1.in:
13112 * tools/gst-complete.c:
13113 * tools/gst-compprep.1.in:
13114 * tools/gst-compprep.c:
13115 removing -compprep and -complete
13117 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13119 * gst/gstevent.c: (gst_event_new_new_segment),
13120 (gst_event_parse_new_segment):
13121 * gst/gstevent.h:
13122 fix #320529 - clean up new_segment API and structure.
13123 Let's hope everyone was using the methods, and not the structure.
13125 2005-11-29 Edward Hervey <edward@fluendo.com>
13127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13128 (gst_base_sink_event), (gst_base_sink_do_sync),
13129 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13130 Properly handle non GST_FORMAT_TIME segment
13131 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13132 Properly handle non GST_FORMAT_TIME segment
13133 * gst/gstsegment.c:
13134 This function is valid if the accumulator is 0 and the format
13135 is different from the requested format.
13137 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13139 * docs/gst/gstreamer-sections.txt:
13140 Add gst_query_new_seeking and gst_query_parse_seeking to the
13141 docs.
13143 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13145 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13146 Treat a pad alloc with new caps the same as if we were not
13147 negotiated, in order to allow a changing upstream output
13148 to produce a new format of data.
13150 2005-11-29 Edward Hervey <edward@fluendo.com>
13152 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13153 (gst_base_transform_event), (gst_base_transform_eventfunc):
13154 The event virtual method is now properly implemented, with a default
13155 handler
13156 Sub classes should call the parent_class event method. They should
13157 return FALSE if they had a problem handling the given event, or don't
13158 want GstBaseTransform to send that even downstream
13159 * gst/elements/gstidentity.c: (gst_identity_class_init),
13160 (gst_identity_init), (gst_identity_event),
13161 (gst_identity_transform_ip), (gst_identity_set_property),
13162 (gst_identity_get_property):
13163 * gst/elements/gstidentity.h:
13164 Added the single-segment boolean property.
13165 If set to TRUE, it will output a single segment of data, starting from
13166 0, will eat up all incoming newsegment, and modify the timestamp of the
13167 buffers accordingly
13169 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13171 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13172 Don't ref NULL target pad (#322751). Improve docs.
13174 2005-11-29 Michael Smith <msmith@fluendo.com>
13176 * gst/gstregistryxml.c: (load_plugin):
13177 Don't crash if we failed to load a feature from a plugin.
13179 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13181 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13182 (GST_START_TEST):
13183 use more check API and less GLib API
13185 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13187 * Makefile.am:
13188 don't run checks if we don't have check
13189 * common/check.mak:
13190 remove the registry when running make torture
13191 * docs/gst/gstreamer-sections.txt:
13192 remove second multiply
13193 * gst/gstqueue.c: (gst_queue_loop):
13194 fix a compile warning when disabling debug
13196 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13198 * gst/gstinfo.h:
13199 Hey! Let's print the pad name if the pointer != NULL instead
13200 of when it == NULL :-)
13202 2005-11-28 Wim Taymans <wim@fluendo.com>
13204 * check/gst/gstutils.c: (GST_START_TEST):
13205 Updated check, add some scaling accuracy checking code.
13207 * gst/gstutils.c: (gst_util_div128_64),
13208 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13209 (gst_util_uint64_scale_int):
13210 Fix 6 times faster division code. Optimize for common
13211 1/1 and less common X/1 cases.
13213 2005-11-28 Wim Taymans <wim@fluendo.com>
13215 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13216 More checks.
13218 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13219 (do_linear_regression), (gst_clock_add_observation):
13220 Cleanups.
13221 Release lock when the clock cannot be slaved.
13222 Catch the case where the regression returned an invalid denominator.
13224 * gst/gstutils.c: (gst_util_div128_64_iterate),
13225 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13226 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13227 Add protentially more performant non-iterative 128/64 divide function
13228 that unfortunatly does not work yet.
13229 Shortcut the trivial 0/X = 0 case.
13230 Remove the warnings on overflow.
13232 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13234 * gst/gstplugin.c: (gst_plugin_register_func):
13235 everything causing a plugin not to load should be at least a WARNING
13237 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13239 * docs/random/ensonic/dparams.txt:
13240 some TODOs for the next dev cycle
13241 * libs/gst/controller/gstcontroller.c:
13242 (gst_controlled_property_set_interpolation_mode),
13243 (gst_controlled_property_new):
13244 * libs/gst/controller/gstcontroller.h:
13245 use base type to assign acccessor functions
13247 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13249 * check/Makefile.am:
13250 Oops, that should have been top_srcdir
13252 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13254 * check/Makefile.am:
13255 * check/elements/fdsrc.c: (GST_START_TEST):
13256 Use a cmdline define to specify the location of a file to use for
13257 testing, to avoid breaking distcheck.
13259 2005-11-28 Andy Wingo <wingo@pobox.com>
13261 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13263 2005-11-28 Edward Hervey <edward@fluendo.com>
13265 * tools/gst-launch.c: (main):
13266 Clarify the output strings, makes it easier to translate.
13267 Fixes #322626
13269 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13271 * gst/Makefile.am:
13272 don't try and build net if we don't even have <sys/socket.h>
13274 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13276 * check/Makefile.am:
13277 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13278 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13279 Add tests for fdsrc seekability
13281 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13282 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13283 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13284 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13285 * gst/elements/gstfdsrc.h:
13286 fdsrc should not be a 'live' source.
13287 Implement seeking on seekable fd's.
13289 * gst/gstquery.c: (gst_query_new_seeking),
13290 (gst_query_parse_seeking):
13291 * gst/gstquery.h:
13292 Implement SEEKING query functions:
13293 *_new_seeking and *_parse_seeking
13295 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13297 * gst/gstelement.c: (gst_element_dispose):
13298 don't loop forever
13300 * gst/gstiterator.c:
13301 * gst/gststructure.c:
13302 doc fixes
13304 * libs/gst/controller/gstcontroller.c:
13305 (gst_controlled_property_set_interpolation_mode):
13306 * libs/gst/controller/gstcontroller.h:
13307 * libs/gst/controller/gstinterpolation.c:
13308 (interpolate_none_get_enum_value_array):
13309 support controlling enums
13311 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13313 * gst/gstvalue.c:
13314 Improve documentation for gst_value_union().
13316 * gst/gstvalue.h:
13317 Change return value for union, intersect and subtract functions
13318 from gint to gboolean.
13320 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13322 * gst/gstvalue.c: (gst_value_serialize_any_list),
13323 (gst_value_transform_any_list_string),
13324 (gst_value_deserialize_list), (gst_value_deserialize_array),
13325 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13326 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13327 (gst_value_set_fraction_range_full),
13328 (gst_value_deserialize_fraction_range),
13329 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13330 (gst_value_deserialize_boolean),
13331 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13332 (gst_value_serialize_float), (gst_value_deserialize_float),
13333 (gst_string_wrap), (gst_value_deserialize_string),
13334 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13335 (gst_value_union_int_range_int_range),
13336 (gst_value_intersect_int_range_int_range),
13337 (gst_value_intersect_double_range_double_range),
13338 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13339 (gst_value_subtract_int_range_int_range),
13340 (gst_value_subtract_double_double_range),
13341 (gst_value_subtract_double_range_double_range),
13342 (gst_value_deserialize_fraction):
13343 * gst/gstvalue.h:
13344 Use gint, gdouble and gchar in our API instead of int, double and
13345 char (and make usage in gstvalue.c more consistent).
13347 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * check/Makefile.am:
13350 * libs/gst/controller/Makefile.am:
13351 * libs/gst/dataprotocol/Makefile.am:
13352 fix up Makefile.am and remove GST_ENABLE_NEW
13354 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13356 * configure.ac:
13357 * gst/Makefile.am:
13358 * gst/base/Makefile.am:
13359 * gst/check/Makefile.am:
13360 * gst/elements/Makefile.am:
13361 * gst/net/Makefile.am:
13362 update LDFLAGS use some more
13364 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13366 * common/m4/gst-doc.m4:
13367 Fixes #312589
13369 2005-11-26 Edward Hervey <edward@fluendo.com>
13371 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13372 This shouldn't issue a g_warning since it returns NULL if it
13373 couldn't find the plugin, and all functions using this behave
13374 properly on a NULL return. Switching to a GST_WARNING.
13376 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13378 * gst/gstbin.c: (gst_bin_handle_message_func):
13379 Don't leak clock messages.
13381 2005-11-25 Wim Taymans <wim@fluendo.com>
13383 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13384 (gst_util_uint64_scale_int):
13385 Optimisations, remove unneeded vars.
13387 2005-11-25 Wim Taymans <wim@fluendo.com>
13389 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13390 Added more checks for the high precision uint64 cases.
13392 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13393 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13394 Implement high precision (guint64 * guint64) / guint64.
13396 2005-11-24 Wim Taymans <wim@fluendo.com>
13398 * gst/base/gstbasesrc.c: (gst_base_src_query):
13399 Fix wrong percentage query.
13401 * gst/gstutils.c: (gst_util_uint64_scale),
13402 (gst_util_uint64_scale_int):
13403 Add some more common cases that can be handled
13404 efficiently to _scale.
13406 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13408 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13409 (gst_mini_object_suite):
13410 don't use check calls from threads; check probably isn't
13411 threadsafe and using a lock to make it threadsafe would
13412 defeat the purpose of this check
13413 * gst/check/gstcheck.c:
13414 * gst/check/gstcheck.h:
13415 use GST_DEBUG some more
13417 2005-11-24 Wim Taymans <wim@fluendo.com>
13419 * gst/gstutils.c: (gst_util_uint64_scale),
13420 (gst_util_uint64_scale_int):
13421 Chain trivial case to _scale_int.
13423 2005-11-24 Wim Taymans <wim@fluendo.com>
13425 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13426 Added test for scaling.
13428 * gst/gstclock.h:
13429 Small doc fix.
13431 * gst/gstutils.c: (gst_util_uint64_scale_int):
13432 Implemented high precision scaling code.
13434 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13436 * gst/gstinfo.h:
13437 do not crash on pad==NULL
13439 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13441 Patch by: Stefan Kost
13443 * common/gtk-doc.mak:
13444 * docs/gst/Makefile.am:
13445 * docs/libs/Makefile.am:
13446 Fix distcheck issues for the libraries docs build
13447 Closes #319599.
13449 2005-11-24 Michael Smith <msmith@fluendo.com>
13451 * docs/manual/basics-helloworld.xml:
13452 Fix bug #315027: memory leak in example code in docs.
13454 2005-11-24 Michael Smith <msmith@fluendo.com>
13456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13457 Unlock the PREROLL_LOCK in a failure case.
13459 2005-11-24 Wim Taymans <wim@fluendo.com>
13461 * docs/gst/gstreamer-sections.txt:
13462 * gst/base/gstadapter.h:
13463 * gst/base/gstbasesink.h:
13464 * gst/base/gstbasesrc.h:
13465 * gst/base/gstbasetransform.h:
13466 * gst/base/gstpushsrc.h:
13467 * gst/elements/gstfakesink.h:
13468 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13469 * gst/elements/gstfakesrc.h:
13470 * gst/elements/gstfilesink.h:
13471 * gst/elements/gstfilesrc.h:
13472 * gst/gst.c:
13473 * gst/gstbin.c:
13474 * gst/gstbuffer.c: (_gst_buffer_copy):
13475 * gst/gstbus.h:
13476 * gst/gstcaps.c:
13477 * gst/gstchildproxy.c:
13478 * gst/gstclock.c:
13479 * gst/gstelement.c:
13480 * gst/gstelementfactory.c:
13481 * gst/gstelementfactory.h:
13482 * gst/gstevent.c:
13483 * gst/gstghostpad.h:
13484 * gst/gstindex.h:
13485 * gst/gstinterface.h:
13486 * gst/gstminiobject.c:
13487 * gst/gstminiobject.h:
13488 * gst/gstpad.c:
13489 * gst/gstpad.h:
13490 * gst/gstpadtemplate.h:
13491 * gst/gstpipeline.h:
13492 * gst/gstpluginfeature.h:
13493 * gst/gstquery.h:
13494 * gst/gstqueue.h:
13495 * gst/gsttaglist.c:
13496 * gst/gsttaglist.h:
13497 * gst/gsttagsetter.c:
13498 * gst/gsttagsetter.h:
13499 * gst/gsttrace.c:
13500 * gst/gsttrace.h:
13501 * gst/gsttypefind.h:
13502 * gst/gsturi.h:
13503 * gst/gstvalue.c:
13504 * gst/net/gstnetclientclock.c:
13505 * gst/net/gstnetclientclock.h:
13506 * gst/net/gstnettimepacket.c:
13507 * gst/net/gstnettimeprovider.c:
13508 * gst/net/gstnettimeprovider.h:
13509 Doc fixes.
13511 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13513 * configure.ac: back to HEAD
13515 === release 0.9.6 ===
13517 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13519 * configure.ac:
13520 releasing 0.9.6, "Always On Time"
13522 2005-11-23 Wim Taymans <wim@fluendo.com>
13524 * docs/gst/gstreamer-sections.txt:
13525 * gst/glib-compat.c:
13526 * gst/gsttagsetter.c:
13527 * gst/gstvalue.c:
13528 * gst/net/gstnetclientclock.c:
13529 * gst/net/gstnettimepacket.h:
13530 Doc updates.
13532 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13534 * docs/faq/using.xml:
13535 * docs/libs/tmpl/gstcontrol.sgml:
13536 * docs/manual/advanced-dparams.xml:
13537 * docs/manual/appendix-checklist.xml:
13538 * docs/manual/basics-elements.xml:
13539 * docs/pwg/other-source.xml:
13540 * docs/random/moving-plugins:
13541 * gst/gstpad.c:
13542 * tools/gst-launch.1.in:
13543 remove mentions of sinesrc
13545 2005-11-23 Michael Smith <msmith@fluendo.com>
13547 * docs/gst/gstreamer-sections.txt:
13548 Update for new API and API changes.
13549 * gst/gstobject.h:
13550 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13551 * gst/gstvalue.c:
13552 Documentation typo fix.
13553 * gst/net/gstnettimepacket.c:
13554 Documentation fixes for arguments.
13556 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13558 * gst/gststructure.c: (gst_structure_get_fraction),
13559 (gst_structure_parse_value),
13560 (gst_structure_fixate_field_nearest_fraction):
13561 * gst/gststructure.h:
13562 * gst/gstutils.c: (gst_util_uint64_scale_int):
13563 * gst/gstutils.h:
13564 * scripts/update-funcnames:
13565 API Changes.
13566 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13567 Make gst_structure_fixate_field_nearest_fraction take a numerator
13568 and denominator argument instead of a GValue
13569 add gst_structure_get_fraction helper function.
13571 2005-11-23 Wim Taymans <wim@fluendo.com>
13573 * docs/design/part-TODO.txt:
13574 Update TODO.
13576 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13577 * gst/net/gstnetclientclock.h:
13578 Use parent fields for timeout and window_size.
13580 2005-11-23 Andy Wingo <wingo@pobox.com>
13582 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13583 rate_num/rate_denom change.
13585 * gst/net/gstnetclientclock.c
13586 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13587 OBJECT_LOCK. Don't call add_observation with the lock.
13589 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13590 fraction.
13591 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13592 rate fraction.
13593 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13594 deal with rate as a fraction whose numerator and denominator are
13595 GstClockTime values.
13596 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13597 master; the other fields are protected by the SLAVE_LOCK.
13598 (do_linear_regression): Note that this must be called with the
13599 SLAVE_LOCK.
13600 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13601 OBJECT_LOCK. Call set_calibration instead of touching the
13602 variables directly.
13603 (gst_clock_set_property, gst_clock_get_property): Protect
13604 master/slave parameters with the SLAVE_LOCK.
13606 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13607 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13608 note that all of the instance variables that add_observation and
13609 the set_master functions use are protected by that lock and not
13610 the OBJECT_LOCK.
13611 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13613 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13614 the caller to take the object lock.
13616 2005-11-23 Wim Taymans <wim@fluendo.com>
13618 * gst/gsterror.c: (_gst_core_errors_init):
13619 * gst/gsterror.h:
13620 Add error for clock stuff.
13622 * gst/gstpipeline.c: (gst_pipeline_change_state),
13623 (gst_pipeline_set_clock):
13624 Post clock error when clock cannot be used in a pipeline.
13626 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13628 * docs/gst/gstreamer-sections.txt:
13629 make two symbols from gstinfo private for the docs
13630 * gst/base/gstcollectpads.h:
13631 * gst/gstutils.c:
13632 fix doc typos, update docs
13634 2005-11-22 Wim Taymans <wim@fluendo.com>
13636 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13637 (gst_base_sink_wait), (gst_base_sink_do_sync),
13638 (gst_base_sink_handle_event):
13639 * gst/base/gstbasesink.h:
13640 No need to store the clock, the parent element class already
13641 has it.
13643 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13644 Updates for clock_set returning a gboolean
13646 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13647 (gst_clock_id_wait_async), (gst_clock_class_init),
13648 (gst_clock_init), (gst_clock_finalize),
13649 (gst_clock_get_internal_time), (gst_clock_get_time),
13650 (gst_clock_slave_callback), (gst_clock_set_master),
13651 (gst_clock_get_master), (do_linear_regression),
13652 (gst_clock_add_observation), (gst_clock_set_property),
13653 (gst_clock_get_property):
13654 * gst/gstclock.h:
13655 Implement master/slave. When setting a clock as a slave, a
13656 periodic timeout is scheduled to sample master and slave times.
13657 Then the slave clock is recalibrated to match offset and rate
13658 of the master clock.
13659 Update logging a bit.
13660 Add flag so that a clock can state that is cannot be slaved to
13661 another clock.
13663 * gst/gstelement.c: (gst_element_set_clock):
13664 * gst/gstelement.h:
13665 The set clock returns a gboolean for when an element cannot
13666 deal with the selected clock in the pipeline.
13668 * gst/gstpipeline.c: (gst_pipeline_change_state),
13669 (gst_pipeline_set_clock):
13670 * gst/gstpipeline.h:
13671 Handle the case where the selected clock cannot be set on
13672 the pipeline.
13674 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13675 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13676 (gst_net_client_clock_set_property),
13677 (gst_net_client_clock_get_property),
13678 (gst_net_client_clock_observe_times):
13679 * gst/net/gstnetclientclock.h:
13680 Use regression code in GstClock parent, remove duplicated
13681 functionality.
13683 2005-11-22 Michael Smith <msmith@fluendo.com>
13685 * gst/gstutils.c: (gst_util_clock_time_scale):
13686 * gst/gstutils.h:
13687 * docs/gst/gstreamer-sections.txt:
13688 Rename method to have extra underscore.
13690 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13692 * gst/elements/Makefile.am:
13693 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13694 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13695 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13696 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13697 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13698 * gst/elements/gstfakesrc.h:
13699 * gst/gstqueue.c: (queue_leaky_get_type):
13700 correctly fix GEnumValues so that nick is the short lowercase
13701 dashed tag
13702 * tools/gst-inspect.c: (print_element_properties_info):
13703 also show the nick, since it's useful to use from parse_launch
13704 syntax
13705 Fixes #322139
13707 2005-11-22 Michael Smith <msmith@fluendo.com>
13709 * gst/gstutils.c: (gst_util_clocktime_scale):
13710 * gst/gstutils.h:
13711 * docs/gst/gstreamer-sections.txt:
13712 Add util method for scaling a clocktime by a fraction. Useful
13713 implementation is left as an exercise for the reader.
13715 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13717 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13718 If needed, allocate storage in the destination value during
13719 collection.
13721 2005-11-22 Edward Hervey <edward@fluendo.com>
13723 * docs/gst/gstreamer-sections.txt:
13724 * gst/Makefile.am:
13725 * gst/gst.h:
13726 * gst/gsturitype.c:
13727 * gst/gsturitype.h:
13728 * gst/gstutils.c: (gst_util_set_object_arg):
13729 * tools/gst-compprep.c: (main):
13730 * tools/gst-inspect.c: (print_element_properties_info):
13731 Removed GstURI, closes bug #321061
13733 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13735 * check/gst/gststructure.c: (GST_START_TEST):
13736 * gst/gststructure.c: (gst_structure_parse_value):
13737 Oops, broke automatic string type parsing.
13738 Add a test to catch it in future.
13740 2005-11-22 Andy Wingo <wingo@pobox.com>
13742 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13743 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13744 Actually rename the function implementations. Grr.
13746 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13748 * check/gst/capslist.h:
13749 Comment test cases
13750 * check/gst/gststructure.c: (GST_START_TEST),
13751 (gst_structure_suite):
13752 Test automatic value type detection in gst_structure_from_string.
13753 * gst/gststructure.c: (gst_structure_parse_value):
13754 Add fraction as a type we try and guess automatically in
13755 caps/structure strings.
13757 2005-11-22 Andy Wingo <wingo@pobox.com>
13759 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13761 * gst/gsttagsetter.h:
13762 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13763 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13764 (gst_tag_setter_add_tag_valist)
13765 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13766 _add_values, _add_valist, and _add_valist_values. Since this is an
13767 interface the function suffixes should be more explicit so
13768 language binding don't end up with element.add_valist ->
13769 gst_tag_setter_add_valist, for example. Fixes #322069.
13771 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13773 * check/gst/gstcaps.c: (GST_START_TEST):
13774 Extend caps string tests to check that a caps to string
13775 conversion is reversible and produces the same caps.
13777 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13778 Output "fraction" as the generic type fraction range, so caps
13779 serialisation and deserialisation works.
13780 * check/gst/capslist.h:
13781 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13782 Support 'MIN' and 'MAX' for deserialising fractions.
13784 2005-11-22 Andy Wingo <wingo@pobox.com>
13786 * gst/gstevent.h (gst_event_new_new_segment)
13787 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13788 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13789 Renamed from *_newsegment, *_buffersize, *_notarget.
13791 * scripts/update-funcnames: New script, performs the changes
13792 listed above.
13794 2005-11-22 Wim Taymans <wim@fluendo.com>
13796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13797 Make sure the GstFlowReturn is returned.
13799 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13800 (gst_bus_add_signal_watch):
13801 * gst/gstbus.h:
13802 add gst_bus_add_signal_watch_full.
13804 * gst/gstplugin.c: (gst_plugin_load_file):
13805 Small style cleanup.
13807 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13809 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13810 Block the fakesrc srcpad when we send an event, to avoid
13811 contention on the stream_lock causing random test failures.
13813 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13815 * check/gst/gstvalue.c: (GST_START_TEST):
13816 * gst/gstvalue.c: (gst_value_fraction_subtract):
13817 Fix subtraction.
13819 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13821 * gst/gst.h:
13822 include "gstchildproxy.h"
13823 * gst/gstchildproxy.h:
13824 * libs/gst/controller/gstcontroller.h:
13825 use G_GNUC_NULL_TERMINATED
13827 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13829 * check/gst/capslist.h:
13830 * check/gst/gstcaps.c: (GST_START_TEST):
13831 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13832 * gst/gststructure.c: (gst_structure_parse_range),
13833 (gst_structure_fixate_field_nearest_fraction):
13834 * gst/gststructure.h:
13835 * gst/gstvalue.c: (gst_value_init_fraction_range),
13836 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13837 (gst_value_collect_fraction_range),
13838 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13839 (gst_value_set_fraction_range_full),
13840 (gst_value_get_fraction_range_min),
13841 (gst_value_get_fraction_range_max),
13842 (gst_value_serialize_fraction_range),
13843 (gst_value_transform_fraction_range_string),
13844 (gst_value_compare_fraction_range),
13845 (gst_value_deserialize_fraction_range),
13846 (gst_value_intersect_fraction_fraction_range),
13847 (gst_value_intersect_fraction_range_fraction_range),
13848 (gst_value_subtract_fraction_fraction_range),
13849 (gst_value_subtract_fraction_range_fraction),
13850 (gst_value_subtract_fraction_range_fraction_range),
13851 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13852 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13853 (gst_value_transform_string_fraction), (_gst_value_initialize):
13854 * gst/gstvalue.h:
13855 Implement fraction ranges and extend GstFraction to support
13856 arithmetic subtraction, as well as deserialization from integer
13857 strings such as "100"
13858 Add a testsuite as for int and double range set operations
13860 2005-11-21 Andy Wingo <wingo@pobox.com>
13862 * gst/gsttaglist.h:
13863 * gst/gstcaps.h:
13864 * gst/gststructure.h: Add glib-compat.h.
13866 2005-11-21 Wim Taymans <wim@fluendo.com>
13868 * gst/gstbin.c: (gst_bin_change_state_func):
13869 Fix for #321595
13871 2005-11-21 Wim Taymans <wim@fluendo.com>
13873 * gst/gstsegment.h:
13874 And add a nice define too.
13876 2005-11-21 Wim Taymans <wim@fluendo.com>
13878 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13879 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13880 (gst_segment_set_duration), (gst_segment_set_last_stop),
13881 (gst_segment_set_seek), (gst_segment_set_newsegment),
13882 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13883 (gst_segment_clip):
13884 * gst/gstsegment.h:
13885 Make binding friendly.
13887 2005-11-21 Andy Wingo <wingo@pobox.com>
13889 * gst/gsttagsetter.h:
13890 * gst/gsttaglist.h:
13891 * gst/gststructure.h:
13892 * gst/gstcaps.h:
13893 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13894 #319940.
13896 * gst/gsterror.c (_gst_core_errors_init):
13897 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13898 category.
13900 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13901 (noinst_HEADERS): noinst the -private.
13903 2005-11-21 Michael Smith <msmith@fluendo.com>
13905 * gst/gstplugin.h:
13906 * gst/gstregistry.h:
13907 Remove unimplemented declarations for which we can see no sensible
13908 use.
13910 2005-11-21 Andy Wingo <wingo@pobox.com>
13912 * gst/gst.h: Include glib-compat.h.
13914 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13916 * gst/glib-compat.c: Include the public and the private header.
13918 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13920 * gst/gstvalue.c:
13921 * gst/gstpad.c:
13922 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13924 * check/gst/gstevent.c (create_custom_events): Check that
13925 FLUSH_STOP is serialized.
13927 * check/elements/identity.c (event_func):
13928 * check/elements/fakesrc.c (event_func): No stream lock, the core
13929 takes it.
13931 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13932 stream lock taking, yay.
13934 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13935 ensure that core takes the stream lock.
13937 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13938 lock name change.
13940 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13941 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13942 it already. For the flush start we do take it though so we get the
13943 right preroll state change messages.
13945 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13946 the stream lock here, the core does it for us.
13948 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13949 GST_STREAM_GET_LOCK.
13950 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13951 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13952 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13953 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13954 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13955 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13957 * gst/gstpad.c: Update for stream lock name change.
13959 * gst/base/gstbasesink.c: Update for preroll lock name change.
13961 2005-11-21 Wim Taymans <wim@fluendo.com>
13963 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13964 (gst_clock_get_master):
13965 * gst/gstclock.h:
13966 * gst/gstsystemclock.c: (gst_system_clock_init):
13967 Convert Clock flags to object flags.
13968 Added methods to manage master/slave clocks.
13970 2005-11-21 Wim Taymans <wim@fluendo.com>
13972 * check/gst/gstsegment.c: (GST_START_TEST):
13973 * docs/design/part-TODO.txt:
13974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13975 (gst_base_sink_event), (gst_base_sink_do_sync),
13976 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13977 (gst_base_sink_query), (gst_base_sink_change_state):
13978 * gst/base/gstbasesink.h:
13979 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13980 (gst_base_src_default_newsegment),
13981 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13982 (gst_base_src_get_range), (gst_base_src_loop),
13983 (gst_base_src_change_state):
13984 * gst/base/gstbasesrc.h:
13985 * gst/base/gstbasetransform.c:
13986 (gst_base_transform_prepare_output_buf),
13987 (gst_base_transform_event), (gst_base_transform_change_state):
13988 * gst/base/gstbasetransform.h:
13989 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13990 (gst_collect_pads_event):
13991 * gst/base/gstcollectpads.h:
13992 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13993 (gst_fake_src_create):
13994 * gst/elements/gstfakesrc.h:
13995 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13996 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13997 (gst_segment_set_last_stop), (gst_segment_set_seek),
13998 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13999 (gst_segment_to_running_time), (gst_segment_clip):
14000 * gst/gstsegment.h:
14001 More segment updates, replace code in plugins with segment
14002 helper functions.
14004 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14006 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14007 Don't ignore sscanf results
14009 2005-11-21 Andy Wingo <wingo@pobox.com>
14011 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14013 * *.h:
14014 * *.c: Ran scripts/update-macros. Oh yes.
14016 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14017 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14018 GST_GET_LOCK, etc.
14020 * scripts/update-macros: New script. Run it on your files to
14021 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14022 well.
14024 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14026 * docs/gst/Makefile.am:
14027 * docs/gst/gstreamer-docs.sgml:
14028 * docs/gst/gstreamer-sections.txt:
14029 * docs/gst/gstreamer.types:
14030 * gst/gstinfo.h:
14031 more docs fixes, add new api to the docs
14033 2005-11-21 Andy Wingo <wingo@pobox.com>
14035 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14036 state_broadcast call.
14038 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14040 2005-11-21 Julien MOUTTE <julien@moutte.net>
14042 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14043 function calls for arrays.
14045 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14047 * docs/random/ensonic/media-device-daemon.txt:
14048 wild idea, can this be done?
14049 * docs/gst/gstreamer-sections.txt:
14050 * gst/gsterror.h:
14051 * gst/gstfilter.c:
14052 * gst/gstfilter.h:
14053 * gst/gstplugin.h:
14054 * gst/gstpluginfeature.c:
14055 * gst/gsttrace.c:
14056 * gst/gstvalue.c:
14057 * gst/gstvalue.h:
14058 doc fixes and additions
14060 2005-11-21 Andy Wingo <wingo@pobox.com>
14062 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14063 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14064 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14065 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14066 private to the basesrc implementation.
14068 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14069 behalf of event function if necessary. It should no longer be
14070 necessary to take the stream lock in pad's event functions. Fixes
14071 #320299.
14073 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14074 * docs/gst/gstreamer-sections.txt:
14075 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14076 (gst_structure_fixate_field_nearest_double),
14077 (gst_structure_fixate_field_boolean):
14078 * gst/gststructure.h:
14079 * win32/common/libgstreamer.def:
14080 * win32/gstreamer.def:
14082 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14083 (#322027)
14085 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14087 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14088 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14089 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14090 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14091 (gst_fdsrc_uri_handler_init):
14092 * gst/elements/gstfdsrc.h:
14093 Port fd:// URI handler from 0.8 to fdsrc
14095 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14097 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14098 (gst_value_serialize_fourcc):
14099 * gst/gstvalue.h:
14100 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14101 consistent with our other format defines (#320324).
14103 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14105 * gst/gstvalue.c: (gst_value_is_fixed):
14106 Revert previous commit. Value lists are by definition
14107 not fixed, as they are a list of possible values.
14109 2005-11-21 Andy Wingo <wingo@pobox.com>
14111 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14112 during the stable series if we need it. Fixes #319178.
14114 * gst/gstevent.c (gst_event_new_filler): Removed.
14116 * check/gst/gstevent.c: Update comment about filler events.
14118 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14120 * gst/gstvalue.c: (gst_value_is_fixed):
14121 Should handle both value arrays and value lists.
14123 2005-11-21 Andy Wingo <wingo@pobox.com>
14125 patch by: Alessandro Dessina <alessandro nnva org>
14127 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14128 functions to access arrays. Fixes #321962.
14130 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14132 * docs/gst/gstreamer.types:
14133 gst_collectpads_get_type => gst_collect_pads_get_type.
14135 * gst/base/gstbasetransform.c:
14136 Remove unused SIGNAL_HANDOFF enum.
14138 2005-11-21 Andy Wingo <wingo@pobox.com>
14140 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14141 the event type (upstream, downstream, serialized). Renamed
14142 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14143 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14144 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14146 * gst/gstevent.c: Update for new CUSTOM event names.
14148 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14150 * gst/gstevent.h:
14151 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14152 bug #319392.
14154 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14156 * docs/gst/gstreamer-sections.txt:
14157 * win32/common/libgstbase.def:
14158 * win32/libgstbase.def:
14159 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14160 (gst_collect_pads_class_init), (gst_collect_pads_init),
14161 (gst_collect_pads_finalize), (gst_collect_pads_new),
14162 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14163 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14164 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14165 (gst_collect_pads_start), (gst_collect_pads_stop),
14166 (gst_collect_pads_peek), (gst_collect_pads_pop),
14167 (gst_collect_pads_available), (gst_collect_pads_read),
14168 (gst_collect_pads_flush), (gst_collect_pads_event),
14169 (gst_collect_pads_chain):
14170 * gst/base/gstcollectpads.h:
14171 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14172 unimplemented functions as unimplemented. Add padding to
14173 GstCollectData. (#320766, #320423)
14175 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14177 * gst/gstmessage.c:
14178 Improve docs for DURATION message (usage of duration parameter)
14179 (#320113)
14181 2005-11-20 Wim Taymans <wim@fluendo.com>
14183 * check/Makefile.am:
14184 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14185 (main):
14186 * gst/Makefile.am:
14187 * gst/gst.h:
14188 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14189 (gst_segment_set_seek), (gst_segment_set_newsegment),
14190 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14191 (gst_segment_clip):
14192 * gst/gstsegment.h:
14193 Added segment helper structure and methods. Not fully implemented
14194 yet.
14195 Added segment check.
14197 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14199 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14200 Add a deserialisation test for fractions
14201 * examples/metadata/read-metadata.c: (message_loop),
14202 (make_pipeline), (main):
14203 Fix up metadata reading sample.
14204 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14205 Debug format fix
14206 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14207 Don't try and fixate empty caps
14208 * gst/gst_private.h:
14209 Wrap in G_BEGIN_DECLS/G_END_DECLS
14210 * gst/gstvalue.c: (gst_value_collect_fraction),
14211 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14212 (gst_value_transform_string_fraction),
14213 (gst_value_compare_fraction):
14214 Add some extra guards to ensure that we don't end up
14215 with an invalid denominator of 0 in a gstfraction and
14216 that fractions always get reduced.
14218 2005-11-20 Wim Taymans <wim@fluendo.com>
14220 * docs/gst/gstreamer-sections.txt:
14221 * gst/gstbuffer.h:
14222 * gst/gstelement.c:
14223 * gst/gstformat.c:
14224 * gst/gstformat.h:
14225 * gst/gstindex.h:
14226 * gst/gstquery.c:
14227 * gst/gstquery.h:
14228 * gst/gstvalue.c:
14229 Doc fixes.
14231 2005-11-20 Wim Taymans <wim@fluendo.com>
14233 * docs/design/part-TODO.txt:
14234 * gst/gstcaps.h:
14235 Make a proper enum of the flag.
14237 2005-11-19 Wim Taymans <wim@fluendo.com>
14239 * docs/design/part-TODO.txt:
14240 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14241 (gst_format_to_quark), (gst_format_register):
14242 * gst/gstformat.h:
14243 * gst/gstquery.c: (_gst_query_initialize),
14244 (gst_query_type_get_name), (gst_query_type_to_quark),
14245 (gst_query_type_register):
14246 * gst/gstquery.h:
14247 Add type to quark and type to string conversions.
14249 2005-11-19 Andy Wingo <wingo@pobox.com>
14251 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14252 #320097.
14254 2005-11-19 Wim Taymans <wim@fluendo.com>
14256 * docs/design/part-TODO.txt:
14257 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14258 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14259 (gst_bin_handle_message_func):
14260 * gst/gstbin.h:
14261 Make message handling overridable.
14263 2005-11-19 Andy Wingo <wingo@pobox.com>
14265 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14267 * gst/gstclock.h:
14268 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14269 be a GstClockTime.
14270 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14271 is a GstClockTime. Fixes #321710.
14273 * gst/gstclock.h (GstClock): Remove offset property. Add
14274 internal_calibration and external_calibration. Fix padding. Pad
14275 also by GstClockTime so we don't run into problems.
14277 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14278 (gst_clock_get_rate_offset): Remove.
14279 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14281 * gst/gstutils.h:
14282 * gst/gstutils.c (g_static_rec_cond_wait)
14283 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14285 * gst/gstbin.c: Remove terrible continue_state prototype.
14287 * gst/gstelement.h (gst_element_continue_state): Make public.
14289 * gst/gstelement.h:
14290 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14291 by continue_state. Fixes #319389.
14293 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14294 Really fixes #168438. However I don't see anywhere where the
14295 filter function is called... stupid GStreamer...
14297 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14298 don't have a dispose function, so it won't get called when the
14299 object is unreffed, but oh well!
14301 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14302 allows a destroy function to be set so user_data can be freed.
14303 Fixes #168438.
14304 (gst_index_set_filter): Call gst_index_set_filter_full.
14306 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14308 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14309 string should produce an error, given the lack of a way to
14310 represent NULL strings. Fixes #165650.
14312 * gst/gstvalue.h:
14313 * gst/gstvalue.c (gst_value_array_append_value)
14314 (gst_value_array_prepend_value, gst_value_array_get_size)
14315 (gst_value_array_get_value): New API, copied from
14316 gst_value_list_*, only operates on arrays.
14317 (gst_value_list_append_value, gst_value_list_prepend_value)
14318 (gst_value_list_concat, gst_value_list_get_size)
14319 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14321 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14322 init_list, because it works on both.
14323 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14324 (gst_value_copy_list_or_array): Renamed from copy_list.
14325 (gst_value_free_list_or_array): Renamed from free_list.
14326 (gst_value_collect_list_or_array): Renamed from collect_list.
14327 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14328 (gst_value_list_or_array_peek_pointer): Renamed from
14329 list_peek_pointer.
14330 (_gst_value_array_value_table, _gst_value_list_value_table):
14331 Update value table functions.
14332 (gst_value_compare_list_or_array): Renamed from compare_list.
14334 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14335 some constness.
14337 * gst/gsttaglist.c:
14338 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14339 GstTagList*. Fixes #143472.
14341 * gst/gststructure.h: Clarify what the foreach/map functions can
14342 or can't do to their arguments.
14344 2005-11-18 Wim Taymans <wim@fluendo.com>
14346 * gst/gstclock.c: (gst_clock_set_calibration),
14347 (gst_clock_get_calibration):
14348 Doc and API fixes.
14349 Calibration can be set with internal time equal to current
14350 internal time too.
14352 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14354 * gst/gsterror.c:
14355 * gst/gsterror.h:
14356 document
14358 2005-11-18 Andy Wingo <wingo@pobox.com>
14360 * configure.ac:
14361 * pkgconfig/gstreamer-net.pc.in:
14362 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14363 * pkgconfig/Makefile.am: Add net pkgconfig files.
14365 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14367 * gst/gstcaps.c:
14368 * gst/gstghostpad.c:
14369 * gst/gsttrace.c:
14370 * gst/gstvalue.c:
14371 * gst/gstvalue.h:
14372 docs fixes
14374 2005-11-18 Andy Wingo <wingo@pobox.com>
14376 * gst/net/gstnetclientclock.c: Turn off debugging.
14378 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14379 times connverge somewhat. Can't make a real test.
14381 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14382 integer arithmetic. Return the minimum of the domain, which can be
14383 set as "internal" for gst_clock_set_calibration.
14384 (gst_net_client_clock_observe_times): Call _set_calibration.
14385 (gst_net_client_clock_new): Call _set_calibration instead of
14386 rate_offset.
14388 * check/net/gstnetclientclock.c (test_functioning): Use the right
14389 adjustment api.
14391 * gst/gstclock.h:
14392 * gst/gstclock.c (gst_clock_get_calibration)
14393 (gst_clock_set_calibration): New functions, obsolete the ones I
14394 added yesterday. Doh. Precision issues mean we have to extrapolate
14395 from a point in the more recent past than 1970.
14396 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14397 obsolete.
14398 (gst_clock_adjust_unlocked): Use the right calibration data.
14400 2005-11-18 Edward Hervey <edward@fluendo.com>
14402 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14403 Also reset the ->current_* values in READY->PAUSED
14405 2005-11-18 Andy Wingo <wingo@pobox.com>
14407 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14408 Whoops, check the right fd. Also add some debugging.
14409 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14410 (do_linear_regression): Add a crapload of debugging. Subtract off
14411 the minimum values from the input series to discard unneeded bits.
14412 Use only int arithmetic. There is still double arithmetic when
14413 calculating the intercept that needs fixing. Return boolean to
14414 indicate success; FALSE would mean the domain or range is too
14415 great. Still needs fixes.
14417 2005-11-18 Wim Taymans <wim@fluendo.com>
14419 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14420 For the current position in stream time, we need to subtract
14421 accumulated time.
14423 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14424 Release lock before calling the callback function of async
14425 entries.
14427 2005-11-18 Andy Wingo <wingo@pobox.com>
14429 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14430 Port goes all the way to MAXUINT16.
14432 * gst/net/gstnettimeprovider.c: Make the port range the same as
14433 for the kernel: 0 assigns, otherwise ports are less than
14434 MAXUINT16.
14436 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14437 port change.
14439 * check/net/gstnetclientclock.c (test_functioning): Add the start
14440 of another test.
14442 2005-11-18 Wim Taymans <wim@fluendo.com>
14444 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14445 (gst_bin_remove_func), (bin_bus_handler):
14446 * gst/gstbin.h:
14447 Removing a clock provider from a bin, triggers a clock lost message
14448 so that a new clock will be selected.
14449 Adding a clock to a bin triggers a clock provider message.
14450 Make sure we reselect a clock when we received a clock lost message.
14451 Keep a reference to the element that provided the clock.
14453 2005-11-18 Andy Wingo <wingo@pobox.com>
14455 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14456 the clock initially so it produces values around the base time.
14457 (gst_net_client_clock_class_init): Typo fix.
14458 (gst_net_client_clock_thread): Add note on when the socket gets
14459 closed.
14461 2005-11-17 Wim Taymans <wim@fluendo.com>
14463 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14464 Free remote and local time arrays.
14466 2005-11-17 Wim Taymans <wim@fluendo.com>
14468 * gst/net/gstnetclientclock.c: (do_linear_regression),
14469 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14470 Fix compilation, uninitialized vars and a forgotten continue.
14472 2005-11-17 Andy Wingo <wingo@pobox.com>
14474 * check/Makefile.am (check_PROGRAMS):
14475 * check/net/gstnetclientclock.c: Add a most minimal test for the
14476 net client clock. More to come later.
14478 * gst/net/gstnet.h:
14479 * gst/net/Makefile.am: Add netclientclock.
14481 * gst/net/gstnetclientclock.h:
14482 * gst/net/gstnetclientclock.c: New files, implement an untested
14483 GstClock that takes its time from a network time provider.
14484 Implements the algorithm in network-clock.scm.
14486 * tests/network-clock.scm (*window-size*): Rename from
14487 *queue-length*.
14488 * tests/network-clock.scm (network-time):
14489 * tests/network-clock-utils.scm (q-push): Update callers.
14491 2005-11-17 Wim Taymans <wim@fluendo.com>
14493 * gst/gstbin.c: (gst_bin_provide_clock_func),
14494 (gst_bin_sort_iterator_new):
14495 And unref the child too..
14497 2005-11-17 Wim Taymans <wim@fluendo.com>
14499 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14500 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14501 Refactor the sort iterator so it can be used while holding the
14502 LOCK too.
14503 Make clock selection select a clock closest to the source.
14505 2005-11-17 Michael Smith <msmith@fluendo.com>
14507 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14508 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14509 * gst/gstclock.h:
14510 Anonymous structs are a gcc (and some other compilers) extension, so
14511 don't use them. Since this is only for ABI-compatibility, and our
14512 API/ABI freeze is over in a few days, this whole thing will only
14513 last a few days, so don't bother trying to think up a meaningful
14514 name for the struct.
14516 2005-11-17 Andy Wingo <wingo@pobox.com>
14518 * gst/gstclock.h (GstClock): Add rate and offset properties,
14519 preserving ABI stability. Add rate/offset accessors. Will file bug
14520 for the freeze break.
14522 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14523 and offset, trying to keep precision and avoiding
14524 underflow/overflow.
14525 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14526 functions. Make gst_clock_set_time_adjust obsolete.
14527 (gst_clock_set_time_adjust): Note that this function is obsolete.
14528 Will file bug soon.
14530 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14531 greppable by using GST_PADDING-1+1.
14533 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14535 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14537 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14538 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14540 * gst/gstpadtemplate.h:
14541 * gst/gstpluginfeature.h:
14542 Don't use c++ style comments in headers (#321638).
14544 2005-11-16 Andy Wingo <wingo@pobox.com>
14546 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14547 buffer.
14549 * check/net/gstnettimeprovider.c: Check to see that the time
14550 provider actually provides times. Works, yo!
14552 2005-11-16 Wim Taymans <wim@fluendo.com>
14554 * check/Makefile.am:
14555 Enable more tests.
14557 * check/elements/fakesrc.c: (GST_START_TEST):
14558 Set element to NULL before disposing it.
14560 2005-11-16 Andy Wingo <wingo@pobox.com>
14562 * gst/net/Makefile.am:
14563 * gst/net/gstnet.h:
14564 * gst/net/gstnettimeprovider.c:
14565 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14566 provider, include it from gstnet.h, and add it to the build.
14568 * gst/net/gstnettimepacket.h:
14569 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14570 sending and receiving.
14572 2005-11-16 Wim Taymans <wim@fluendo.com>
14574 * check/Makefile.am:
14575 Enable valgrind check.
14577 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14578 (gst_fake_src_alloc_buffer):
14579 Fix memleak.
14581 2005-11-16 Wim Taymans <wim@fluendo.com>
14583 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14584 Call parent finalize too.
14586 2005-11-16 Wim Taymans <wim@fluendo.com>
14588 * check/Makefile.am:
14589 Enable valgrind check that should work fine now.
14591 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14592 * gst/gstqueue.c: (gst_queue_init):
14593 Fix memleaks in pad allocation.
14595 2005-11-16 Andy Wingo <wingo@pobox.com>
14597 * gst/net/Makefile.am:
14598 * gst/net/gstnet.h: New part of core to hold network elements and
14599 objects. Put in core because it exposes API that applications want
14600 to use. The library is named libgstnet-tempname right now because
14601 of the existing libgstnet in gst-plugins-base. Solution is
14602 probably to rename the one in plugins-base; will file a bug for
14603 the freeze break.
14605 * gst/net/gstnettimeprovider.c:
14606 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14607 get_time call over the network.
14609 * configure.ac:
14610 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14612 * check/Makefile.am:
14613 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14614 get additions shortly.
14616 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14618 * gst/gstpad.c: (gst_pad_new_from_static_template):
14619 * gst/gstpad.h:
14620 add gst_pad_new_from_static_template functions
14621 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14622 (gst_check_setup_sink_pad):
14623 * gst/elements/gsttee.c: (gst_tee_init):
14624 and use them
14626 2005-11-16 Wim Taymans <wim@fluendo.com>
14628 * gst/gstpad.c: (gst_pad_pause_task):
14629 Removed warning, it's not really an error either.
14631 2005-11-16 Wim Taymans <wim@fluendo.com>
14633 * gst/base/gstbasetransform.c:
14634 (gst_base_transform_prepare_output_buf),
14635 (gst_base_transform_event):
14636 Check if the caps are NULL, this can happen if the element
14637 is shutting down and the pad caps are set to NULL.
14639 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14641 * gst/elements/gsttee.c: (gst_tee_init):
14642 fix pad template leak in tee
14644 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14646 * gst/glib-compat.c: (g_value_dup_gst_object):
14647 * gst/glib-compat.h:
14648 * gst/gstpad.c: (gst_pad_set_property):
14649 use gst_object_ref when setting the pad template; this will
14650 trigger the pad template leaks on GLib 2.6 and the slaves
14652 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14654 * gst/glib-compat.c: (gst_flags_get_first_value):
14655 * gst/glib-compat.h:
14656 * gst/gstregistryxml.c:
14657 remove functions copied from GLib 2.6
14659 2005-11-16 Michael Smith <msmith@fluendo.com>
14661 * gst/Makefile.am:
14662 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14663 do, but only breaks with newer valgrind versions. We're not a
14664 valgrind tool, we have no link-time dependencies on libcoregrind.
14666 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14668 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14669 some debug changes
14670 * gst/gstmessage.h:
14671 typo fixes
14673 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14675 * gst/base/gstbasesrc.c: (gst_base_src_init):
14676 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14677 * gst/gstqueue.c: (gst_queue_init):
14678 * gst/gstregistryxml.c: (load_feature):
14679 Revert all these unrefs, they don't even pass make check !
14681 2005-11-15 Johan Dahlin <johan@gnome.org>
14683 * gst/base/gstbasesrc.c: (gst_base_src_init):
14684 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14685 * gst/gstqueue.c: (gst_queue_init):
14686 Free pad templates, fixes a couple of leaks.
14688 2005-11-15 Daniel Fischer <dan at f3c dot com>
14690 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14692 * gst/gstpad.c: (gst_pad_get_property):
14693 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14694 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14695 (#321452)
14697 2005-11-15 Wim Taymans <wim@fluendo.com>
14699 * gst/gstevent.c:
14700 Small doc update.
14702 2005-11-15 Andy Wingo <wingo@pobox.com>
14704 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14706 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14707 using GST_CLOCK_TIME_NONE to disable base time management.
14708 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14709 time if it was NONE before.
14710 (gst_pipeline_change_state): Only munge the base time if
14711 stream_time != GST_CLOCK_TIME_NONE.
14713 * check/gst/gstpipeline.c (test_base_time): Punt around the
14714 problem of the probe not being called, because that's not the
14715 issue I'm looking at. Add a check that setting stream_time to NONE
14716 disables base time management.
14718 2005-11-15 Wim Taymans <wim@fluendo.com>
14720 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14721 segment_stop == -1 at startup.
14723 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14724 (gst_base_transform_change_state):
14725 Init segment values at start.
14727 2005-11-15 Wim Taymans <wim@fluendo.com>
14729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14730 0 segment values are 0 in any format.
14732 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14733 * gst/base/gstbasetransform.h:
14734 Parse newsegment correctly in basetransform
14736 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14737 Sync to clock using updated segment values.
14739 2005-11-15 Andy Wingo <wingo@pobox.com>
14741 * check/gst/gstpipeline.c (test_base_time): Add check that the
14742 base time and stream time are reset correctly.
14744 2005-11-15 Wim Taymans <wim@fluendo.com>
14746 * docs/design/part-TODO.txt:
14747 Some more TODO items.
14749 2005-11-15 Andy Wingo <wingo@pobox.com>
14751 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14752 error if the user selected "no clock" as the clocking method.
14754 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14755 timestamps with live capture.
14757 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14758 is 0 but we are a live source, timestamp the buffers using the
14759 element's clock.
14761 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14763 * docs/gst/gstreamer-sections.txt:
14764 * gst/gsterror.c:
14765 * gst/gstghostpad.c:
14766 * gst/gstobject.h:
14767 * gst/gstxml.c:
14768 more section docs
14770 2005-11-14 Wim Taymans <wim@fluendo.com>
14772 * common/gst.supp:
14773 add suppressions from Wim's Debian machine
14775 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14777 * common/gst.supp:
14778 add suppressions from Andy's AMD64 Ubuntu machine
14780 2005-11-14 Andy Wingo <wingo@pobox.com>
14782 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14783 STATE_LOCK not necessary. Fixes #311489.
14785 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14786 #305291.
14788 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14789 this function is not implemented.
14791 2005-11-14 Julien MOUTTE <julien@moutte.net>
14793 * gst/base/gstbasetransform.c:
14794 (gst_base_transform_prepare_output_buf):
14795 Ref the source pad caps while we need them.
14796 Fixes (#321386)
14798 2005-11-11 Wim Taymans <wim@fluendo.com>
14800 * docs/gst/gstreamer-sections.txt:
14801 Added some docs for GstCollectData.
14803 * gst/base/gstadapter.c:
14804 Some small code example fix.
14806 * gst/base/gstcollectpads.c:
14807 * gst/base/gstcollectpads.h:
14808 Document some more.
14810 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14812 * configure.ac: back to HEAD
14814 === release 0.9.5 ===
14816 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14818 * configure.ac:
14819 releasing 0.9.5, "Bike Lunch Day"
14821 2005-11-11 Wim Taymans <wim@fluendo.com>
14823 * gst/gstbuffer.c: (_gst_buffer_copy):
14824 Copy more flags.
14826 * gst/gstcaps.c: (gst_caps_is_equal):
14827 Fix some docs.
14828 Make _is_equal fast in the trivial cases.
14830 * gst/gstminiobject.c:
14831 * gst/gstminiobject.h:
14832 More docs. Spifify .h file.
14834 * gst/gstutils.c:
14835 Small doc update.
14837 2005-11-11 Wim Taymans <wim@fluendo.com>
14839 * gst/base/gstbasetransform.c:
14840 (gst_base_transform_prepare_output_buf),
14841 (gst_base_transform_handle_buffer):
14842 Small cleanups.
14843 If we're processing a buffer and need to allocate an output
14844 buffer, we cannot accept a format change. If we did get a
14845 format change, we have to alloc a buffer ourselves of the
14846 right size.
14848 2005-11-11 Wim Taymans <wim@fluendo.com>
14850 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14851 While checking the flag for reentrancy in the gstcaps function
14852 is nice to detect recursive invocations, it also makes it
14853 impossible to call getcaps from multiple threads, which must be
14854 possible. So, checking for recursive calls has to go.
14856 2005-11-11 Michael Smith <msmith@fluendo.com>
14858 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14859 Don't sync on buffers that fall partially outside our current
14860 segment. Prevents an assertion failure/abort playing some files.
14862 2005-11-10 Andy Wingo <wingo@pobox.com>
14864 * check/gst/gstbin.c (test_message_state_changed_children): Style
14865 fix..
14867 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14868 gst_bus_poll with the signal watch. Ensures that poll and a signal
14869 watch see the same messages.
14871 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14872 a poll and a watch at the same time get the same messages.
14874 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14876 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14877 * gst/gstcaps.c: (gst_caps_intersect):
14878 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14879 and it's not needed.
14881 2005-11-10 Wim Taymans <wim@fluendo.com>
14883 * docs/design/part-TODO.txt:
14884 Updated todo.
14886 2005-11-10 Wim Taymans <wim@fluendo.com>
14888 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14889 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14890 (gst_base_src_do_sync), (gst_base_src_get_range):
14891 Implement clock sync in base class.
14893 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14895 patch by: Tim-Philipp Müller <tim at centricular dot net>
14897 * gst/gststructure.c: (gst_structure_parse_field),
14898 (gst_structure_from_string):
14899 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14900 so that gst_parse_launch() can deal with spaces in filtered link
14901 caps (fixes #164479)
14902 * check/gst/capslist.h:
14903 * check/gst/gststructure.c: (GST_START_TEST):
14904 add unit tests for this change
14906 2005-11-10 Wim Taymans <wim@fluendo.com>
14908 * docs/gst/gstreamer-sections.txt:
14909 * gst/gstelement.c:
14910 * gst/gstelement.h:
14911 Fix docs, move some STATE macros to private.
14913 2005-11-10 Wim Taymans <wim@fluendo.com>
14915 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14916 Added check for bug #317341
14918 * gst/gstbuffer.c:
14919 * gst/gstbuffer.h:
14920 Some more spiffifying.
14922 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14923 Call peer linkfunction if we are a source pad. Totally fixes
14924 #317341
14926 * gst/gstpad.c:
14927 Update docs, source pads should call the peer linkfunction
14928 so they can atomically perform the pad link.
14930 2005-11-09 Wim Taymans <wim@fluendo.com>
14932 * gst/gstbuffer.c:
14933 * gst/gstbuffer.h:
14934 Uber-spiffy-spiffify some more.
14936 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14938 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14939 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14940 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14941 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14942 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14943 * gst/gstpad.c: (gst_pad_init):
14944 Use GST_DEBUG_FUNCPTR() more extensively.
14946 2005-11-09 Wim Taymans <wim@fluendo.com>
14948 * gst/gstobject.c: (gst_object_class_init):
14949 * gst/gstobject.h:
14950 Documentation fixes.
14952 2005-11-09 Edward Hervey <edward@fluendo.com>
14954 * gst/gsttypefindfactory.c:
14955 Fix docs.
14957 2005-11-09 Edward Hervey <edward@fluendo.com>
14959 * gst/base/gsttypefindhelper.c:
14960 * gst/gsttypefind.c:
14961 * gst/gsttypefind.h:
14962 Fix docs.
14964 2005-11-09 Wim Taymans <wim@fluendo.com>
14966 * gst/gstiterator.c:
14967 Fix revision data.
14969 * gst/gsttask.c:
14970 * gst/gsttask.h:
14971 Fix docs.
14973 2005-11-09 Wim Taymans <wim@fluendo.com>
14975 * gst/gstevent.h:
14976 * gst/gsturi.h:
14977 Fix docs.
14979 2005-11-09 Wim Taymans <wim@fluendo.com>
14981 * docs/gst/gstreamer-sections.txt:
14982 Moved the message async delivery private lock and cond
14983 to the private section.
14985 * gst/gstmessage.c:
14986 * gst/gstmessage.h:
14987 Fixed docs.
14989 2005-11-09 Edward Hervey <edward@fluendo.com>
14991 * docs/gst/gstreamer-sections.txt:
14992 * gst/gsturi.c:
14993 * gst/gsturi.h:
14994 Document GstURIHandler
14996 2005-11-09 Wim Taymans <wim@fluendo.com>
14998 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14999 (gst_iterator_find_custom):
15000 * gst/gstiterator.h:
15001 Fix iterator docs.
15003 2005-11-09 Wim Taymans <wim@fluendo.com>
15005 * gst/gstbin.h:
15006 Document another field.
15008 * gst/gststructure.c:
15009 * gst/gststructure.h:
15010 Document.
15012 2005-11-09 Wim Taymans <wim@fluendo.com>
15014 * gst/gstbin.h:
15015 Documented structs.
15017 2005-11-09 Wim Taymans <wim@fluendo.com>
15019 * docs/gst/gstreamer-sections.txt:
15020 Added some new macros.
15022 * gst/gstclock.c:
15023 * gst/gstclock.h:
15024 * gst/gstobject.h:
15025 Docs updates.
15027 2005-11-09 Wim Taymans <wim@fluendo.com>
15029 * docs/design/part-TODO.txt:
15030 Some more items for the TODO
15032 * gst/gstcaps.c:
15033 * gst/gstcaps.h:
15034 Document GstCaps.
15036 2005-11-09 Andy Wingo <wingo@pobox.com>
15038 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15039 to work on something else now tho...
15041 * gst/base/gstadapter.c: More adapter docs.
15043 * gst/elements/gstfilesink.c (gst_file_sink_start)
15044 (gst_file_sink_stop): New functions, replace the state change
15045 handler.
15046 (gst_file_sink_class_init): Hook up the start and stop functions.
15047 (gst_file_sink_base_init): Don't set the state change handler any
15048 more. It was a bit ugly too, being set from here...
15049 (gst_file_sink_get_property, gst_file_sink_set_property):
15050 Cleanups...
15051 (gst_file_sink_set_location): More robust check that doesn't call
15052 GST_STATE. Ugggggg.
15054 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15056 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15057 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15059 2005-11-08 Wim Taymans <wim@fluendo.com>
15061 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15062 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15063 (gst_base_sink_chain), (gst_base_sink_change_state):
15064 * gst/base/gstbasesink.h:
15065 * gst/base/gstbasesrc.h:
15066 * gst/gstelement.h:
15067 * gst/gstevent.h:
15068 Avoid excessive typechecking in macros.
15070 * gst/gstminiobject.c: (gst_mini_object_get_type),
15071 (gst_mini_object_init), (gst_mini_object_new),
15072 (gst_mini_object_free):
15073 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15074 (gst_object_finalize):
15075 Remove cruft code, optimize alloc_trace.
15077 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15079 * docs/faq/gst-uninstalled:
15080 fix up PS1 for systems that try to reset it
15082 2005-11-07 Wim Taymans <wim@fluendo.com>
15084 * gst/base/gstbasesrc.c: (gst_base_src_init),
15085 (gst_base_src_get_range):
15086 Set the segment_end to -1 initially. Fixed typefind.
15088 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15090 * gst/base/gstadapter.c:
15091 Debug category should be 'adapter', not 'GstAdapter'.
15093 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15094 (gst_collectpads_class_init), (gst_collectpads_init),
15095 (gst_collectpads_peek), (gst_collectpads_pop),
15096 (gst_collectpads_event), (gst_collectpads_chain):
15097 Add debug category and some debugging output. Use boilerplate
15098 macros. Remove some extraneous words from docs.
15100 2005-11-05 Andy Wingo <wingo@pobox.com>
15102 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15103 macro.
15105 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15107 * docs/gst/gstreamer-sections.txt:
15108 * gst/gstcaps.h:
15109 * gst/gstinfo.c:
15110 * gst/gstminiobject.h:
15111 * gst/gstobject.h:
15112 * gst/gstutils.h:
15113 more docs added
15115 2005-11-04 Wim Taymans <wim@fluendo.com>
15117 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15118 Small update to stop at the configured segment_end
15119 position.
15121 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15123 * gst/gstregistry.c:
15124 * gst/gstregistry.h:
15125 added missing docs
15127 2005-11-04 Edward Hervey <edward@fluendo.com>
15129 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15130 Check if we are doing a segment seek and have arrived at the
15131 end of that segment.
15133 2005-11-04 Wim Taymans <wim@fluendo.com>
15135 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15136 Don't leak a mutex unlock in case of an error.
15138 * gst/gstbus.h:
15139 Doc fixes.
15141 2005-11-04 Wim Taymans <wim@fluendo.com>
15143 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15144 (gst_bus_post):
15145 Get the context to wake up only once.
15147 2005-11-03 Wim Taymans <wim@fluendo.com>
15149 * check/states/sinks.c: (GST_START_TEST):
15150 Uncomment fixed check.
15152 * docs/design/part-TODO.txt:
15153 Updated TODO.
15155 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15156 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15157 (gst_base_sink_get_position):
15158 If we are going to PLAYING, post the right pending state
15159 when we post the intermediate paused message.
15161 * gst/gstelement.c: (gst_element_continue_state),
15162 (gst_element_set_state_func), (gst_element_change_state):
15163 Don't post state changes that were between the same state
15164 and were not ASYNC.
15166 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15168 * docs/gst/gstreamer-sections.txt:
15169 * gst/gstcaps.h:
15170 * gst/gstinfo.c:
15171 * gst/gstminiobject.h:
15172 * gst/gstobject.h:
15173 * gst/gstutils.h:
15174 more docs and doc style fixes
15176 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15178 * docs/gst/gstreamer-sections.txt:
15179 * gst/gstelement.c:
15180 * gst/gstminiobject.c:
15181 doc fixes
15183 2005-11-03 Andy Wingo <wingo@pobox.com>
15185 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15186 state-changed messages actually have the right order and the right
15187 values.
15189 2005-11-03 Wim Taymans <wim@fluendo.com>
15191 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15192 Added some more checks. Specifically the case where NO_PREROLL
15193 elements are in the pipeline.
15195 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15196 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15197 (gst_base_sink_get_position):
15198 Post READY->PAUSED state change messages too.
15199 Fix bug where VOID was posted as pending state...
15201 * gst/gstbin.c: (gst_bin_recalc_state):
15202 use _element_continue_state() to continue the state change.
15204 * gst/gstelement.c: (gst_element_continue_state),
15205 (gst_element_commit_state), (gst_element_set_state_func),
15206 (gst_element_change_state), (gst_element_change_state_func):
15207 Lots of state change cleanups, assign the STATE_RETURN in
15208 a new continue_state() function that also propagates the
15209 last return value from a state change to the app.
15210 Update some debug statements with proper category.
15212 2005-11-03 Wim Taymans <wim@fluendo.com>
15214 * docs/design/part-events.txt:
15215 * docs/design/part-gstpipeline.txt:
15216 * docs/design/part-messages.txt:
15217 * docs/design/part-overview.txt:
15218 * docs/design/part-seeking.txt:
15219 * docs/design/part-states.txt:
15220 * docs/design/part-trickmodes.txt:
15221 * docs/manual/advanced-position.xml:
15222 Small docs updates.
15224 * gst/gstobject.h:
15225 People think !! is ugly, this looks better.
15227 * gst/gstpad.c: (gst_pad_set_blocked_async):
15228 Remove !! since it's fixed elsewhere now.
15230 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15232 * gst/gstminiobject.h:
15233 * gst/gstobject.h:
15234 Add !! to _FLAG_IS_SET macros to make the result boolean.
15236 2005-11-03 Edward Hervey <edward@fluendo.com>
15238 * gst/gstpad.c: (gst_pad_set_blocked_async):
15239 comparing a flag and a gboolean rarely returns coherent results...
15240 Added two characters (!!) to make that work correctly.
15242 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15244 * gst/gstbus.c: (gst_bus_class_init):
15245 Fix some typos.
15247 * gst/gstqueue.c: (gst_queue_loop):
15248 Don't assume a miniobject that isn't a buffer is an
15249 event (it could be that there is a refcounting
15250 problem somewhere and the pointer is stale and
15251 refers to an already destroyed miniobject).
15253 2005-11-03 Julien MOUTTE <julien@moutte.net>
15255 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15257 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15259 * docs/manual/advanced-position.xml:
15260 Update seek example and explanations to current 0.9 API.
15262 * gst/elements/gsttypefindelement.c:
15263 (gst_type_find_element_activate):
15264 Remove FIXME comment now that the found caps
15265 are unreffed.
15267 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15269 * gst/gstregistryxml.c: (load_feature):
15270 Add another GST_STR_NULL instance
15272 2005-11-02 Edward Hervey <edward@fluendo.com>
15274 * gst/gstpad.c: (handle_pad_block):
15275 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15277 2005-11-02 Wim Taymans <wim@fluendo.com>
15279 * gst/gstbin.c:
15280 Fix typo in docs.
15282 * gst/gstelement.c: (gst_element_commit_state):
15283 Remove unused value.
15285 * gst/gstiterator.c:
15286 Mention that the returned element is reffed in the docs.
15288 2005-11-02 Wim Taymans <wim@fluendo.com>
15290 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15291 (gst_pad_push), (gst_pad_push_event):
15292 Unlock blocked pads when they are flushed.
15294 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15296 * docs/README:
15297 * docs/gst/gstreamer-sections.txt:
15298 * gst/gstbin.c:
15299 doc updates
15300 * gst/gstregistry.c: (gst_registry_scan_path_level):
15301 fix for a nasty little missed situation where an installed plug-in
15302 which was in the cache did not get overridden by an uninstalled one
15303 which was earlier in the plugin path because the newly created plugin
15304 for the uninstalled one (not in the registry) didn't get its
15305 ->registered set to TRUE
15307 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15309 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15310 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15311 (gst_collectpads_is_active), (gst_collectpads_collect),
15312 (gst_collectpads_collect_range), (gst_collectpads_start),
15313 (gst_collectpads_stop), (gst_collectpads_peek),
15314 (gst_collectpads_pop), (gst_collectpads_available),
15315 (gst_collectpads_read), (gst_collectpads_flush):
15316 Guard public API with assertions.
15318 * gst/gstpad.c:
15319 Fix docs for gst_pad_set_link_function().
15321 2005-11-02 Johan Dahlin <johan@gnome.org>
15323 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15324 Unref found_caps after we used it.
15326 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15328 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15329 Don't try to ref NULL.
15331 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15333 * win32/common/config.h.in:
15334 provide a GST_FUNCTION that just gives a string for now
15336 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15338 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15339 (gst_object_flags_get_type), (register_gst_bin_flags),
15340 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15341 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15342 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15343 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15344 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15345 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15346 (gst_clock_flags_get_type), (register_gst_state),
15347 (gst_state_get_type), (register_gst_state_change_return),
15348 (gst_state_change_return_get_type), (register_gst_state_change),
15349 (gst_state_change_get_type), (register_gst_element_flags),
15350 (gst_element_flags_get_type), (register_gst_core_error),
15351 (gst_core_error_get_type), (register_gst_library_error),
15352 (gst_library_error_get_type), (register_gst_resource_error),
15353 (gst_resource_error_get_type), (register_gst_stream_error),
15354 (gst_stream_error_get_type), (register_gst_event_type),
15355 (gst_event_type_get_type), (register_gst_seek_type),
15356 (gst_seek_type_get_type), (register_gst_seek_flags),
15357 (gst_seek_flags_get_type), (register_gst_format),
15358 (gst_format_get_type), (register_gst_index_certainty),
15359 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15360 (gst_index_entry_type_get_type),
15361 (register_gst_index_lookup_method),
15362 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15363 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15364 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15365 (gst_index_flags_get_type), (register_gst_debug_level),
15366 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15367 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15368 (gst_iterator_result_get_type), (register_gst_iterator_item),
15369 (gst_iterator_item_get_type), (register_gst_message_type),
15370 (gst_message_type_get_type), (register_gst_mini_object_flags),
15371 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15372 (gst_pad_link_return_get_type), (register_gst_flow_return),
15373 (gst_flow_return_get_type), (register_gst_activate_mode),
15374 (gst_activate_mode_get_type), (register_gst_pad_direction),
15375 (gst_pad_direction_get_type), (register_gst_pad_flags),
15376 (gst_pad_flags_get_type), (register_gst_pad_presence),
15377 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15378 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15379 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15380 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15381 (gst_plugin_flags_get_type), (register_gst_rank),
15382 (gst_rank_get_type), (register_gst_query_type),
15383 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15384 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15385 (gst_tag_flag_get_type), (register_gst_task_state),
15386 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15387 (gst_alloc_trace_flags_get_type),
15388 (register_gst_type_find_probability),
15389 (gst_type_find_probability_get_type), (register_gst_uri_type),
15390 (gst_uri_type_get_type), (register_gst_parse_error),
15391 (gst_parse_error_get_type):
15392 * win32/common/gstversion.h:
15393 update win32 copies
15395 2005-11-01 Luca Ognibene <luogni@tin.it>
15397 * gst/gst.c:
15398 fix docs. popt is dead, long live GOption.
15400 2005-10-31 Wim Taymans <wim@fluendo.com>
15402 * gst/gstbuffer.h:
15403 Small doc fix.
15405 2005-10-31 Andy Wingo <wingo@pobox.com>
15407 * Boo!
15409 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15411 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15412 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15413 the possibility of deadlocks here if code calling notify() or
15414 set() has a lock that can be taken in another notify handler (ABBA
15415 with class lock and e.g. python GIL state lock).
15417 2005-10-28 Julien MOUTTE <julien@moutte.net>
15419 * gst/gstbus.c: Doc updates.
15421 2005-10-28 Wim Taymans <wim@fluendo.com>
15423 * docs/design/part-TODO.txt:
15424 * gst/gstiterator.c:
15425 * gst/gstsystemclock.c:
15426 * gst/gstsystemclock.h:
15427 Doc updates.
15429 2005-10-28 Edward Hervey <edward@fluendo.com>
15431 * docs/gst/gstreamer-docs.sgml:
15432 * docs/gst/gstreamer-sections.txt:
15433 the GstURIType documentation page is private, it only defines GstURIType
15434 which should be defined in the GstURIHandler page
15436 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15438 * gst/gstbin.c: (gst_bin_class_init):
15439 * gst/gstbin.h:
15440 * gst/gstutils.c:
15441 Documentation updates.
15443 2005-10-28 Wim Taymans <wim@fluendo.com>
15445 * docs/gst/gstreamer-sections.txt:
15446 * gst/gstclock.c:
15447 * gst/gstclock.h:
15448 Documented the clocks.
15450 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15452 * docs/gst/gstreamer-sections.txt:
15453 move some macros to private sections
15454 * gst/gstminiobject.c:
15455 * gst/gstminiobject.h:
15456 add descriptions provided by ds and some more
15457 * gst/gstpad.h:
15458 mark macro as to be removed
15460 2005-10-28 Wim Taymans <wim@fluendo.com>
15462 * docs/design/part-TODO.txt:
15463 Add an item to TODO.
15465 * gst/gstiterator.c: (gst_iterator_fold),
15466 (gst_iterator_find_custom):
15467 * gst/gstiterator.h:
15468 Add iterator docs.
15470 2005-10-28 Wim Taymans <wim@fluendo.com>
15472 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15473 (gst_base_transform_init):
15474 Don't leak class.
15476 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15477 An EOS event marks the queue as completely filled.
15479 2005-10-27 Wim Taymans <wim@fluendo.com>
15481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15482 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15483 Some more debugging.
15485 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15486 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15487 (gst_base_transform_event), (gst_base_transform_getrange),
15488 (gst_base_transform_chain):
15489 * gst/base/gstbasetransform.h:
15490 Fix debugging,
15491 Protect transform and concurrent buffer alloc with a new lock.
15492 Try not to break ABI/API.
15494 2005-10-27 Wim Taymans <wim@fluendo.com>
15496 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15497 (gst_base_src_init), (gst_base_src_query),
15498 (gst_base_src_default_newsegment),
15499 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15500 (gst_base_src_send_event), (gst_base_src_event_handler),
15501 (gst_base_src_pad_get_range), (gst_base_src_loop),
15502 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15503 (gst_base_src_start), (gst_base_src_deactivate),
15504 (gst_base_src_activate_push), (gst_base_src_change_state):
15505 Move some stuff around and cleanup things.
15507 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15509 * gst/base/gstbasesrc.c: (gst_base_src_query):
15510 Add missing break statements.
15512 2005-10-27 Wim Taymans <wim@fluendo.com>
15514 * check/gst/gstbin.c: (GST_START_TEST):
15515 An extra refcount is taken in basesrc.
15517 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15518 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15519 (gst_base_src_loop):
15520 Small cleanups, check for flushing after being unlocked from the
15521 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15522 Don't send out EOS when going to READY.
15524 2005-10-27 Wim Taymans <wim@fluendo.com>
15526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15527 (gst_base_sink_get_position):
15528 Some more debug.
15530 * gst/gstbin.c: (message_check), (bin_replace_message),
15531 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15532 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15533 (bin_query_duration_init), (bin_query_duration_fold),
15534 (bin_query_duration_done), (bin_query_generic_fold),
15535 (gst_bin_query):
15536 * tools/gst-launch.c: (main):
15537 Remove old option.
15539 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15541 * examples/controller/audio-example.c: (main):
15542 * examples/queue/queue.c: (event_loop):
15543 * gst/base/gstbasetransform.h:
15544 * gst/gstelement.c: (gst_element_send_event):
15545 * gst/gstevent.h:
15546 * gst/gstpad.c: (gst_pad_send_event):
15547 fixing examples
15548 fixing docs typos
15549 changing log priority in error situations
15551 2005-10-25 Wim Taymans <wim@fluendo.com>
15553 * gst/gstbin.c: (message_check), (bin_replace_message),
15554 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15555 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15556 (bin_query_duration_init), (bin_query_duration_fold),
15557 (bin_query_duration_done), (bin_query_generic_fold),
15558 (gst_bin_query):
15559 Some doc and debug updates.
15560 Cache previously requested query DURATION for speed. invalidate
15561 cached duration if element posts a DURATION message.
15563 2005-10-25 Wim Taymans <wim@fluendo.com>
15565 * docs/design/part-TODO.txt:
15566 Update TODO.
15568 * gst/gstbin.c: (message_check), (bin_replace_message),
15569 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15570 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15571 (bin_query_duration_init), (bin_query_duration_fold),
15572 (bin_query_duration_done), (bin_query_generic_fold),
15573 (gst_bin_query):
15574 Handle SEGMENT_START/DONE messages correctly.
15575 More evolved query algorithm that handles duration queries
15576 correctly.
15578 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15579 (gst_element_get_state_func), (gst_element_abort_state),
15580 (gst_element_commit_state), (gst_element_lost_state):
15581 Some more debugging.
15583 * gst/gstmessage.h:
15584 Added doc.
15586 2005-10-25 Wim Taymans <wim@fluendo.com>
15588 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15589 Don't use invalid stream_time.
15591 * gst/gstevent.c: (gst_event_new_newsegment):
15592 stream_time in newsegment cannot be undefined.
15594 2005-10-24 Wim Taymans <wim@fluendo.com>
15596 * gst/gstbus.c:
15597 Doc fix.
15599 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15600 (gst_queue_loop):
15601 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15603 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15605 * docs/libs/tmpl/gstdparam.sgml:
15606 * docs/libs/tmpl/gstdplinint.sgml:
15607 * docs/libs/tmpl/gstdpman.sgml:
15608 * docs/libs/tmpl/gstdpsmooth.sgml:
15609 * docs/libs/tmpl/gstunitconvert.sgml:
15610 these are obsolete
15612 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15614 * configure.ac:
15615 back to HEAD
15617 === release 0.9.4 ===
15619 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15621 * configure.ac:
15622 releasing 0.9.4, "Tyrannosaurus Rex"
15624 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15626 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15627 (gst_file_sink_get_current_offset):
15628 Use fseeko() and ftello() if available. When falling back on
15629 lseek() to get the current offset, fflush() first to make sure
15630 everything is up-to-date and we get the right offset.
15632 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15635 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15636 * gst/gsterror.c: (_gst_stream_errors_init):
15637 * gst/gsterror.h:
15638 * gst/gstqueue.c: (gst_queue_loop):
15639 * po/POTFILES.in:
15640 remove prematurely added error category and clean up the instances
15642 2005-10-21 Wim Taymans <wim@fluendo.com>
15644 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15645 (gst_base_sink_get_position), (gst_base_sink_query),
15646 (gst_base_sink_change_state):
15647 Simply set the right flag when going to playing, that's all
15648 we need to do instead of calling a function inside the object
15649 lock (that could take the lock as well and deadlock)
15651 2005-10-21 Wim Taymans <wim@fluendo.com>
15653 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15654 (gst_base_src_loop):
15655 Don't warn, the peer element knows what to do best when
15656 the seek failed, it might try something else.
15658 2005-10-21 Wim Taymans <wim@fluendo.com>
15660 * gst/base/gstbasesrc.c: (gst_base_src_init),
15661 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15662 Fix seeking.
15664 2005-10-21 Wim Taymans <wim@fluendo.com>
15666 * docs/design/part-segments.txt:
15667 More docs.
15669 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15670 Correctly set caps, even on the subbufer.
15672 2005-10-21 Wim Taymans <wim@fluendo.com>
15674 * docs/gst/gstreamer-docs.sgml:
15675 * docs/gst/gstreamer-sections.txt:
15676 * gst/gstelement.h:
15677 * gst/gstevent.c:
15678 * gst/gstevent.h:
15679 * gst/gstmessage.h:
15680 * gst/gstpad.h:
15681 * gst/gstparse.h:
15682 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15683 * gst/gsttask.h:
15684 * gst/gstutils.c:
15685 * gst/gstutils.h:
15686 And 2% more doc coverage.
15688 2005-10-21 Andy Wingo <wingo@pobox.com>
15690 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15691 position reporting.
15693 2005-10-20 Wim Taymans <wim@fluendo.com>
15695 * gst/gsterror.c: (gst_error_get_message):
15696 * gst/gstparse.h:
15697 * gst/gstquery.h:
15698 * gst/gststructure.c:
15699 * gst/gsttrace.c:
15700 * gst/gstutils.c:
15701 More docs.
15703 2005-10-20 Wim Taymans <wim@fluendo.com>
15705 * gst/gstbuffer.h:
15706 * gst/gstpad.c:
15707 * gst/gstparse.c:
15708 Another 1% more coverage.
15710 2005-10-20 Wim Taymans <wim@fluendo.com>
15712 * docs/gst/gstreamer-sections.txt:
15713 * gst/gstelement.c: (gst_element_get_state_func),
15714 (gst_element_abort_state), (gst_element_commit_state),
15715 (gst_element_lost_state):
15716 * gst/gstevent.h:
15717 * gst/gstquery.c: (gst_query_set_position),
15718 (gst_query_parse_position), (gst_query_set_duration),
15719 (gst_query_parse_duration), (gst_query_new_convert):
15720 * gst/gstutils.c:
15721 Yay! 1% more docs coverage.
15723 2005-10-20 Wim Taymans <wim@fluendo.com>
15725 * gst/gstpad.h:
15726 * gst/gstquery.c: (gst_query_set_position),
15727 (gst_query_parse_position), (gst_query_set_duration),
15728 (gst_query_parse_duration), (gst_query_new_convert):
15729 * gst/gstquery.h:
15730 * gst/gstutils.c: (gst_element_query_convert):
15731 * gst/gstutils.h:
15732 Docs and consistency fixes.
15734 2005-10-20 Wim Taymans <wim@fluendo.com>
15736 * gst/gsttask.c:
15737 * gst/gsttask.h:
15738 More docs.
15740 2005-10-20 Wim Taymans <wim@fluendo.com>
15742 * gst/gstbin.c: (message_check), (bin_replace_message),
15743 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15744 (update_degree), (gst_bin_sort_iterator_next),
15745 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15746 Reworked the message handling a bit, cache the messages instead of
15747 only the senders. alows us to do more in the future.
15749 2005-10-20 Wim Taymans <wim@fluendo.com>
15751 * docs/design/part-TODO.txt:
15752 Update TODO
15754 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15755 (gst_base_sink_query):
15756 Don't use clock time to report position when in EOS.
15758 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15760 * tools/gst-inspect.c: (print_interfaces),
15761 (print_element_properties_info), (print_element_info):
15762 Fix interface output with gst-inspect -a; don't print
15763 newlines after double/float properties.
15765 2005-10-20 Wim Taymans <wim@fluendo.com>
15767 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15768 (gst_base_sink_query):
15769 Speed up current position calculation.
15771 * gst/base/gstbasesrc.c: (gst_base_src_query),
15772 (gst_base_src_default_newsegment):
15773 Correctly set stream position in newsegment.
15775 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15776 (update_degree), (gst_bin_sort_iterator_next),
15777 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15778 * gst/gstmessage.c: (gst_message_new_custom):
15779 Clean up debugging info
15781 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15782 (gst_queue_loop), (gst_queue_handle_src_query):
15783 Pause task faster.
15785 2005-10-19 Wim Taymans <wim@fluendo.com>
15787 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15788 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15789 Fix query handling again.
15791 2005-10-19 Wim Taymans <wim@fluendo.com>
15793 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15794 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15795 * gst/base/gstbasesrc.c: (gst_base_src_query):
15796 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15797 * gst/elements/gsttypefindelement.c:
15798 (gst_type_find_handle_src_query), (find_element_get_length),
15799 (gst_type_find_element_activate):
15800 API change fix.
15802 * gst/gstquery.c: (gst_query_new_position),
15803 (gst_query_set_position), (gst_query_parse_position),
15804 (gst_query_new_duration), (gst_query_set_duration),
15805 (gst_query_parse_duration), (gst_query_set_segment),
15806 (gst_query_parse_segment):
15807 * gst/gstquery.h:
15808 Bundling query position/duration is not a good idea since duration
15809 does not change much and we don't want to recalculate it for every
15810 position query, so they are separated again..
15811 Base value in segment query is not needed.
15813 * gst/gstqueue.c: (gst_queue_handle_src_query):
15814 * gst/gstutils.c: (gst_element_query_position),
15815 (gst_element_query_duration), (gst_pad_query_position),
15816 (gst_pad_query_duration):
15817 * gst/gstutils.h:
15818 Updates for query API change.
15819 Added some docs here and there.
15821 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15823 * check/gst/gstbin.c: (GST_START_TEST):
15824 * check/gst/gstghostpad.c: (GST_START_TEST):
15825 * check/pipelines/cleanup.c: (GST_START_TEST):
15826 wait on thread to die so we can check refcount correctly
15828 2005-10-18 Wim Taymans <wim@fluendo.com>
15830 * check/pipelines/stress.c: (GST_START_TEST):
15831 Make check a little more time consuming.
15833 2005-10-18 Wim Taymans <wim@fluendo.com>
15835 * check/Makefile.am:
15836 * check/pipelines/stress.c: (GST_START_TEST),
15837 (simple_launch_lines_suite), (main):
15838 Small state change torture test.
15840 * docs/design/part-states.txt:
15841 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15842 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15843 (gst_base_sink_change_state):
15844 Never take state lock from streaming thread, clean up ugly
15845 hacks. Unfortunatly core does not yet support nice ways to
15846 async commit state.
15848 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15849 (bin_bus_handler):
15850 Start state recalc if a STATE_DIRTY message is posted, but only
15851 on the toplevel bin.
15853 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15854 (gst_element_get_state_func), (gst_element_abort_state),
15855 (gst_element_commit_state), (gst_element_lost_state),
15856 (gst_element_set_state_func), (gst_element_change_state):
15857 * gst/gstelement.h:
15858 State variables are now protected with the LOCK, the state
15859 lock is only used to serialize _set_state().
15861 2005-10-18 Wim Taymans <wim@fluendo.com>
15863 * check/gst/gstbin.c: (GST_START_TEST):
15864 * check/gst/gstmessage.c: (GST_START_TEST):
15865 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15866 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15867 (bin_bus_handler):
15868 * gst/gstelement.c: (gst_element_abort_state),
15869 (gst_element_commit_state), (gst_element_lost_state):
15870 * gst/gstmessage.c: (gst_message_new_state_changed),
15871 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15872 (gst_message_new_segment_done), (gst_message_new_duration),
15873 (gst_message_parse_state_changed),
15874 (gst_message_parse_segment_start),
15875 (gst_message_parse_segment_done), (gst_message_parse_duration):
15876 * gst/gstmessage.h:
15877 * tools/gst-launch.c: (event_loop):
15878 Seriously, this is better than a previous commit as we only need
15879 to notify the fact that an element changed state in a streaming
15880 thread, marking the state of the parents dirty, hence the
15881 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15882 message.
15884 2005-10-18 Wim Taymans <wim@fluendo.com>
15886 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15887 (gst_bin_recalc_func):
15888 * gst/gstelement.c: (gst_element_set_clock),
15889 (gst_element_abort_state), (gst_element_lost_state):
15890 Cleanups, prepare for state change fixes.
15892 2005-10-18 Wim Taymans <wim@fluendo.com>
15894 * gst/gstbin.h:
15895 * gst/gstelement.c: (gst_element_class_init),
15896 (gst_element_set_state), (gst_element_set_state_func):
15897 * gst/gstelement.h:
15898 Pending ABI changes.
15899 GThreadPool in GstBinClass to monitor async state changes.
15900 state_cookie in GstElement to detect concurrent gst/set state.
15901 set_state is now virtual too in case a very complicated element
15902 has to be constructed.
15904 2005-10-18 Wim Taymans <wim@fluendo.com>
15906 * check/gst/gstbin.c: (GST_START_TEST):
15907 * check/gst/gstmessage.c: (GST_START_TEST):
15908 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15909 * gst/gstbin.c: (bin_bus_handler):
15910 * gst/gstelement.c: (gst_element_commit_state),
15911 (gst_element_lost_state):
15912 * gst/gstmessage.c: (gst_message_new_state_changed),
15913 (gst_message_new_segment_start), (gst_message_new_segment_done),
15914 (gst_message_new_duration), (gst_message_parse_state_changed),
15915 (gst_message_parse_segment_start),
15916 (gst_message_parse_segment_done), (gst_message_parse_duration):
15917 * gst/gstmessage.h:
15918 * tools/gst-launch.c: (event_loop):
15919 Make messages future proof.
15920 state-change gets a flag if it was a message comming from the
15921 streaming thread.
15922 segment-start/stop can also be specified in other formats.
15923 A message to notify an app that a pipeline changed playback
15924 duration.
15925 Also fix a GstMessage leak in -launch
15927 2005-10-18 Andy Wingo <wingo@pobox.com>
15929 * gst/gstelement.c (gst_element_dispose): More helpful message.
15931 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15933 reviewed by: <delete if not using a buddy>
15935 * common/gtk-doc.mak:
15937 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15939 * gst/gstregistry.c: (gst_registry_scan_path_level):
15940 unref a plug-in we get that was already initialized
15942 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15944 * docs/gst/gstreamer-sections.txt:
15945 * docs/libs/gstreamer-libs-sections.txt:
15946 * gst/gstelement.h:
15947 add new api entries
15948 hide internal macro
15950 2005-10-17 Andy Wingo <wingo@pobox.com>
15952 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15953 cleanup.
15955 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15957 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15959 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15960 (gst_element_get_state_func): Better debug message.
15961 (gst_element_commit_state): s/INFO/DEBUG/.
15962 (gst_element_lost_state, gst_element_change_state):
15964 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15965 (gst_message_new_custom): s/INFO/LOG/.
15967 2005-10-17 Michael Smith <msmith@fluendo.com>
15969 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15970 Check if end time is valid using end time, not start time.
15972 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15974 * check/gst-libs/controller.c: (GST_START_TEST),
15975 (gst_controller_suite):
15976 * libs/gst/controller/gstcontroller.c:
15977 (gst_controlled_property_set_interpolation_mode):
15978 * libs/gst/controller/gstcontroller.h:
15979 * libs/gst/controller/gstinterpolation.c:
15980 * testsuite/controller/.cvsignore:
15981 * testsuite/controller/Makefile.am:
15982 * testsuite/controller/interpolator.c:
15983 merge controller testsuites
15984 fix broken tests
15985 remove mem-chunk from docs
15987 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15989 * gst/gstmemchunk.c:
15990 * gst/gstmemchunk.h:
15991 * gst/gsttrashstack.c:
15992 * gst/gsttrashstack.h:
15993 out. get out. you're fired. to the Attic !
15995 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15997 * gst/gstcaps.c: (gst_caps_intersect):
15998 fix signedness issues in a (hopefully) correct way
15999 * gst/gstelement.c: (gst_element_pads_activate):
16000 some debugging
16001 * gst/gstobject.c: (gst_object_set_parent):
16002 some debugging
16004 2005-10-17 Julien MOUTTE <julien@moutte.net>
16006 * gst/gstvalue.h: Fix prototypes.
16008 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16010 * docs/gst/gstreamer-sections.txt:
16011 * gst/gst.c: (gst_version_string):
16012 * gst/gst.h:
16013 * gst/gstversion.h.in:
16014 * win32/common/libgstreamer.def:
16015 add gst_version_string ()
16017 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16019 * configure.ac:
16020 clean up further
16021 * gst/gst.c: (init_post):
16022 * win32/common/config.h.in:
16023 it's PLUGINDIR now
16024 * gst/gstcaps.c: (gst_caps_intersect):
16025 use gint64, the range could be bigger than a guint
16027 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16029 * gst/gstclock.h:
16030 document potential problem in 2038
16032 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16034 * gst/gstcaps.c: (gst_caps_intersect):
16035 Fix guint j diving under 0
16037 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16039 * configure.ac:
16040 * win32/common/config.h:
16041 * win32/common/config.h.in:
16042 check for process.h, declares getpid() on Windows
16043 * gst/gstinfo.c:
16044 include process.h if we have it
16045 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16046 * gst/gstmemchunk.h:
16047 fix signedness issues
16048 * win32/common/libgstreamer.def:
16049 fix get_type's
16051 2005-10-16 Julien MOUTTE <julien@moutte.net>
16053 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16054 fix. Because of unsigned ints, caps intersection was going nuts and
16055 trying to access structures with G_MAXUINT index. That fixes
16056 videotestsrc ! ffmpegcolorspace ! fakesink
16057 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16058 consistency.
16060 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16062 * configure.ac:
16063 use the gettext macro
16064 * gst/elements/gstelements.c:
16065 * gst/gst.c:
16066 * gst/indexers/gstindexers.c:
16067 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16068 * win32/common/config.h:
16069 updated config.h
16070 * win32/common/config.h.in:
16071 add the template to generate config.h
16072 * win32/common/gstenumtypes.c:
16073 * win32/common/gstversion.h:
16074 updated copies
16076 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16078 * gst/gst.c: (gst_version):
16079 * gst/gstversion.h.in:
16080 add the nano
16082 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16084 * gst/gstevent.h:
16085 Oops, add missing closing bracket.
16087 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16089 * configure.ac:
16090 use common m4's for argument checking
16092 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16094 * docs/gst/gstreamer-sections.txt:
16095 * gst/gstevent.h:
16096 Add GST_EVENT_TYPE_NAME() macro.
16098 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16100 * gst/gstinfo.c:
16101 * gst/gstpluginfeature.c:
16102 * gst/gsttask.c:
16103 privatize more symbols
16105 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16107 * configure.ac:
16108 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16109 everything that uses GStreamer API should have the includes
16111 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16113 * docs/gst/gstreamer-sections.txt:
16114 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16115 * gst/gstvalue.h:
16116 give each value a _get_type, removes the DATA exports
16118 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16120 * gst/gst.c:
16121 * gst/gst.h:
16122 remove _gst_registry_auto_load, not used anymore
16123 * gst/gstbin.c: (gst_bin_get_type):
16124 * gst/gstbin.h:
16125 * gst/gstelement.c: (gst_element_get_type):
16126 * gst/gstelement.h:
16127 * gst/gstobject.c: (gst_object_get_type):
16128 * gst/gstobject.h:
16129 * gst/gstpad.c: (gst_pad_get_type):
16130 * gst/gstpad.h:
16131 make _get_type functions similar, fixes data export from library
16133 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16135 * configure.ac:
16136 correctly make conditionals
16137 * gst/elements/Makefile.am:
16138 * gst/elements/gstelements.c:
16139 fix typo causing fdsrc not to build
16141 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16143 * testsuite/Makefile.am:
16144 * testsuite/bytestream/.cvsignore:
16145 * testsuite/bytestream/Makefile.am:
16146 * testsuite/bytestream/filepadsink.c:
16147 * testsuite/bytestream/gstbstest.c:
16148 * testsuite/bytestream/test1.c:
16149 * testsuite/bytestream/testfile1:
16150 * testsuite/caps/normalisation.c:
16151 * testsuite/caps/random.c: (main):
16152 * testsuite/cleanup/.cvsignore:
16153 * testsuite/cleanup/Makefile.am:
16154 * testsuite/cleanup/cleanup1.c:
16155 * testsuite/cleanup/cleanup2.c:
16156 * testsuite/cleanup/cleanup3.c:
16157 * testsuite/cleanup/cleanup4.c:
16158 * testsuite/cleanup/cleanup5.c:
16159 * testsuite/controller/interpolator.c:
16160 * testsuite/debug/printf_extension.c: (main):
16161 * testsuite/elements/tee.c:
16162 * testsuite/negotiation/.cvsignore:
16163 * testsuite/negotiation/Makefile.am:
16164 * testsuite/negotiation/pad_link.c:
16165 * testsuite/pad/Makefile.am:
16166 * testsuite/pad/chainnopull.c:
16167 * testsuite/pad/getnopush.c:
16168 * testsuite/pad/link.c:
16169 * testsuite/refcounting/sched.c: (create_pipeline):
16170 * testsuite/registry/Makefile.am:
16171 * testsuite/registry/gst-print-formats.c:
16172 * testsuite/schedulers/.cvsignore:
16173 * testsuite/schedulers/142183-2.c:
16174 * testsuite/schedulers/142183.c:
16175 * testsuite/schedulers/143777-2.c:
16176 * testsuite/schedulers/143777.c:
16177 * testsuite/schedulers/147713.c:
16178 * testsuite/schedulers/147819.c:
16179 * testsuite/schedulers/147894-2.c:
16180 * testsuite/schedulers/147894.c:
16181 * testsuite/schedulers/Makefile.am:
16182 * testsuite/schedulers/group_link.c:
16183 * testsuite/schedulers/queue_link.c:
16184 * testsuite/schedulers/relink.c:
16185 * testsuite/schedulers/unlink.c:
16186 * testsuite/schedulers/unref.c:
16187 * testsuite/schedulers/useless_iteration.c:
16188 * testsuite/states/bin.c:
16189 clean out/remove some stuff from the testsuite directories
16191 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16193 * configure.ac:
16194 check for some headers
16195 * gst/elements/Makefile.am:
16196 * gst/elements/gstelements.c:
16197 don't compile fdsrc without sys/socket.h
16198 * gst/indexers/Makefile.am:
16199 * gst/indexers/gstindexers.c: (plugin_init):
16200 don't compile fileindex without mmap
16202 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16204 * configure.ac:
16205 reorganize
16206 clean up
16207 document more
16208 remove cruft
16209 * check/Makefile.am:
16210 * docs/gst/Makefile.am:
16211 * examples/helloworld/Makefile.am:
16212 * gst/Makefile.am:
16213 * gst/base/Makefile.am:
16214 * gst/check/Makefile.am:
16215 * gst/elements/Makefile.am:
16216 * gst/indexers/Makefile.am:
16217 * gst/parse/Makefile.am:
16218 * libs/gst/controller/Makefile.am:
16219 * libs/gst/dataprotocol/Makefile.am:
16220 * examples/helloworld/helloworld.c: (event_loop):
16221 compile fixes, though it's not being compiled currently
16223 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16225 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16226 Add some simple tests for the new taglist date API.
16228 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16230 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16231 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16232 Beautify 'last-message' output: print 'none' for buffer timestamps
16233 and durations if none is set; improve alignment with next messages.
16235 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16237 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16238 * gst/gstpluginfeature.h:
16239 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16240 * gst/gstregistry.h:
16241 * docs/gst/gstreamer-sections.txt:
16242 Add new API to check plugin feature version requirements.
16244 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16245 Some basic tests for the above.
16247 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16249 * gst/gststructure.c: (gst_structure_to_string):
16250 guard against NULL printf - happens when for example
16251 a message structure with GstClock gets serialized
16253 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16255 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16256 Fix presumable copy'n'pasto.
16258 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16260 * gst/elements/gstfakesrc.h:
16261 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16262 * gst/elements/gsttypefindelement.c:
16263 fix some signedness
16264 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16265 I wonder if this could actually write +2GB files before
16267 2005-10-13 Andy Wingo <wingo@pobox.com>
16269 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16270 Fix Timmeke Waymans bug.
16271 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16272 string of the proper length to gst_caps_from_string. There's a
16273 potential for, before this fix, that this could cause someone
16274 connecting over the network to cause a segfault if the payload is
16275 not NUL-terminated.
16277 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16279 * docs/design/draft-push-pull.txt:
16280 * docs/design/part-overview.txt:
16281 * docs/random/TODO-pre-0.9:
16282 * docs/random/old/ChangeLog.gstreamer:
16283 * gst/base/gstpushsrc.c:
16284 * gst/gstclock.c:
16285 fixed typos
16287 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16289 * gst/glib-compat.c: (gst_flags_get_first_value):
16290 * gst/glib-compat.h:
16291 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16292 (gst_value_compare_double), (gst_value_serialize_flags):
16293 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16294 infinite loop
16296 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16299 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16300 fix up debugging
16301 * tools/gst-launch.c: (event_loop):
16302 print out clock nicely
16304 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16306 * docs/gst/gstreamer-sections.txt:
16307 * gst/gsttaglist.h:
16308 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16309 (gst_tag_list_get_date_index):
16310 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16311 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16313 2005-10-13 Julien MOUTTE <julien@moutte.net>
16315 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16316 (gst_collectpads_chain):
16317 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16318 in CollectData.
16320 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16322 * docs/gst/gstreamer-sections.txt:
16323 * gst/gst.c:
16324 * gst/gsterror.h:
16325 * tools/gst-inspect.c: (main):
16326 * tools/gst-launch.c: (main):
16327 * tools/gst-run.c: (main):
16328 * tools/gst-xmlinspect.c: (main):
16329 fix GOption context leaks
16330 doc fixes
16332 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16334 * gst/gstbus.c:
16335 use HAVE_UNISTD_H
16336 * win32/common/config.h:
16337 update config
16338 * win32/vs6/grammar.dsp:
16339 * win32/vs6/libgstelements.dsp:
16340 * win32/vs6/libgstreamer.dsp:
16341 update vs6 files
16343 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16346 * gst/base/gstbasesrc.c: (gst_base_src_query):
16347 fix more guint64<->gdouble conversions
16349 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16351 * Makefile.am:
16352 add win32-update target
16353 * win32/common/gstconfig.h:
16354 * win32/common/gstenumtypes.c:
16355 * win32/common/gstenumtypes.h:
16356 * win32/common/gstversion.h:
16357 add files that visual studio can't generate
16359 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16361 * Makefile.am:
16362 add a win32-update target
16363 * configure.ac:
16365 2005-10-12 Wim Taymans <wim@fluendo.com>
16367 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16368 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16369 * gst/gstelement.c: (gst_element_commit_state),
16370 (gst_element_set_state):
16371 Protect flags with proper lock.
16372 unref provided cached clock in dispose.
16374 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16376 * gst/gst.c:
16377 * gst/gstminiobject.h:
16378 * gst/gstpad.h:
16379 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16380 removed unused flags from miniobject
16381 doc fixes
16383 2005-10-12 Wim Taymans <wim@fluendo.com>
16385 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16386 (gst_file_sink_event), (gst_file_sink_render):
16387 Flush before seeking.
16389 2005-10-12 Andy Wingo <wingo@pobox.com>
16391 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16392 always been the case.
16394 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16396 * check/gst/gstbin.c: (GST_START_TEST):
16397 * docs/gst/gstreamer-sections.txt:
16398 * gst/base/gstbasesink.c: (gst_base_sink_init):
16399 * gst/base/gstbasesrc.c: (gst_base_src_init),
16400 (gst_base_src_get_range), (gst_base_src_check_get_range),
16401 (gst_base_src_start), (gst_base_src_stop):
16402 * gst/base/gstbasesrc.h:
16403 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16404 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16405 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16406 (bin_bus_handler):
16407 * gst/gstbin.h:
16408 * gst/gstbuffer.h:
16409 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16410 * gst/gstbus.h:
16411 * gst/gstelement.c: (gst_element_is_locked_state),
16412 (gst_element_set_locked_state), (gst_element_commit_state),
16413 (gst_element_set_state):
16414 * gst/gstelement.h:
16415 * gst/gstindex.c: (gst_index_init):
16416 * gst/gstindex.h:
16417 * gst/gstminiobject.h:
16418 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16419 (gst_object_set_parent):
16420 * gst/gstobject.h:
16421 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16422 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16423 * gst/gstpad.h:
16424 * gst/gstpadtemplate.h:
16425 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16426 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16427 * gst/gstpipeline.h:
16428 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16429 (gst_file_index_commit):
16430 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16431 * testsuite/pad/link.c: (gst_test_src_init),
16432 (gst_test_filter_init), (gst_test_sink_init):
16433 * testsuite/states/locked.c: (main):
16434 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16435 moved bitshift from macro to enum definition
16437 2005-10-12 Wim Taymans <wim@fluendo.com>
16439 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16440 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16441 (gst_file_sink_render):
16442 Some more debugging info.
16444 2005-10-12 Wim Taymans <wim@fluendo.com>
16446 * docs/design/part-states.txt:
16447 * tools/gst-launch.c: (main):
16448 Some doc updates.
16449 Revert non-intentional change.
16451 2005-10-12 Wim Taymans <wim@fluendo.com>
16453 * check/gst/gstbin.c: (GST_START_TEST):
16454 * check/gst/gstelement.c: (GST_START_TEST):
16455 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16456 * check/gst/gstghostpad.c: (GST_START_TEST):
16457 * check/gst/gstpipeline.c: (GST_START_TEST):
16458 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16459 * check/states/sinks.c: (GST_START_TEST):
16460 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16461 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16462 (gst_bin_remove_func), (gst_bin_get_state_func),
16463 (gst_bin_recalc_state), (gst_bin_change_state_func),
16464 (bin_bus_handler):
16465 * gst/gstelement.c: (gst_element_get_state_func),
16466 (gst_element_get_state), (gst_element_abort_state),
16467 (gst_element_commit_state), (gst_element_set_state),
16468 (gst_element_change_state), (gst_element_change_state_func):
16469 * gst/gstelement.h:
16470 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16471 (gst_pipeline_provide_clock_func):
16472 * gst/gstutils.c: (gst_element_link_pads_filtered):
16473 * tools/gst-launch.c: (main):
16474 * tools/gst-typefind.c: (main):
16475 Use GstClockTime in _get_state() instead of GTimeVal.
16476 Remove old code in gstutils.c
16478 2005-10-12 Andy Wingo <wingo@pobox.com>
16480 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16481 removed.
16483 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16484 there is no task. Shouldn't affect any code, as nothing in our
16485 plugins checks this return value.
16486 (gst_pad_stop_task): Also take the stream lock if the pad has no
16487 task. Docs updated.
16489 2005-10-12 Wim Taymans <wim@fluendo.com>
16491 * gst/gstpad.c: (pre_activate), (post_activate),
16492 (gst_pad_activate_pull), (gst_pad_activate_push):
16493 Cleanup activation code. Reset old state if
16494 activation failed.
16496 2005-10-12 Wim Taymans <wim@fluendo.com>
16498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16499 (gst_base_sink_change_state):
16500 No need to prerol after receiving EOS.
16502 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16503 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16504 * gst/elements/gstidentity.c: (gst_identity_event):
16505 Print events more verbosely.
16507 2005-10-12 Wim Taymans <wim@fluendo.com>
16509 * check/Makefile.am:
16510 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16511 * check/states/sinks2.c:
16512 Moved sinks2 testcode in sinks check.
16514 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16515 (gst_bin_remove_func), (gst_bin_recalc_state),
16516 (gst_bin_change_state_func), (bin_bus_handler):
16517 Fix potential race condition when _get_state() iterated over an
16518 ASYNC element right before it posted a state completion.
16520 * gst/gstclock.h:
16521 Do proper cast here.
16523 * gst/gstevent.c: (gst_event_new_newsegment),
16524 (gst_event_parse_newsegment):
16525 A playback rate of 0.0 is not allowed.
16527 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16529 * win32/common/config.h:
16530 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16531 (_trewinddir), (_ttelldir), (_tseekdir):
16532 * win32/common/dirent.h:
16533 * win32/common/gtchar.h:
16534 * win32/common/libgstbase.def:
16535 * win32/common/libgstreamer.def:
16536 * win32/vs6/grammar.dsp:
16537 * win32/vs6/gst_inspect.dsp:
16538 * win32/vs6/gst_launch.dsp:
16539 * win32/vs6/gstreamer.dsw:
16540 * win32/vs6/libgstbase.dsp:
16541 * win32/vs6/libgstelements.dsp:
16542 * win32/vs6/libgstreamer.dsp:
16543 Visual Studio 6 project files, and a new common directory.
16544 Phear.
16546 2005-10-11 Wim Taymans <wim@fluendo.com>
16548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16549 (gst_base_sink_do_sync), (gst_base_sink_query),
16550 (gst_base_sink_change_state):
16551 * gst/base/gstbasesink.h:
16552 Correctly parse newsegment info.
16554 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16556 * gst/gst.c: (init_post):
16557 split plugin paths correctly
16559 2005-10-11 Wim Taymans <wim@fluendo.com>
16561 * check/gst/gstevent.c: (GST_START_TEST):
16562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16563 (gst_base_sink_change_state):
16564 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16565 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16566 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16567 * gst/gstevent.c: (gst_event_new_newsegment),
16568 (gst_event_parse_newsegment):
16569 * gst/gstevent.h:
16570 Added extra flag to newsegment for future API freeze.
16571 Updated check and base elements.
16573 2005-10-11 Julien MOUTTE <julien@moutte.net>
16575 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16576 (gst_collectpads_add_pad), (gst_collectpads_pop),
16577 (gst_collectpads_event), (gst_collectpads_chain):
16578 * gst/base/gstcollectpads.h: Handle EOS correctly.
16580 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16582 * tools/gst-launch.c: (main):
16583 more null protecting
16585 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16587 * gst/gst-i18n-lib.h:
16588 check for ENABLE_NLS, not GETTEXT_PACKAGE
16589 * gst/gstregistry.c: (gst_registry_add_plugin),
16590 (gst_registry_scan_path_level),
16591 (_gst_registry_remove_cache_plugins):
16592 protect possibly NULL strings
16593 * gst/parse/types.h:
16594 config.h already included before
16595 * tools/gst-inspect.c: (main):
16596 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16597 check for ENABLE_NLS, not GETTEXT_PACKAGE
16598 * tools/gst-launch.c: (main):
16599 check for ENABLE_NLS, not GETTEXT_PACKAGE
16601 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16603 * configure.ac:
16604 if we don't have glib, fail before testing 2.8
16605 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16606 fix a leak, should fix plugins-base testsuite
16608 2005-10-11 Andy Wingo <wingo@pobox.com>
16610 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16611 take the mode we're going to as an arg. Go head and set the mode
16612 and flushing flags now, so that if the activate function starts a
16613 thread all the flags will be in the right state.
16614 (post_activate): Renamed also. Just handle making sure streaming
16615 finishes for the deactivation case, and setting the deactivated
16616 mode.
16617 (gst_pad_set_active): Complain loudly if deactivation fails.
16618 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16619 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16620 remove the terrible hack.
16622 2005-10-11 Wim Taymans <wim@fluendo.com>
16624 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16625 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16626 (gst_bin_recalc_state), (gst_bin_change_state_func),
16627 (gst_bin_dispose), (bin_bus_handler):
16628 * gst/gstbin.h:
16629 Prepare to make current EOS message queue more generic.
16630 Fix some typos.
16632 * gst/gstevent.c: (gst_event_new_newsegment),
16633 (gst_event_parse_newsegment):
16634 * gst/gstevent.h:
16635 Rename base to stream_time.
16637 * gst/gstmessage.h:
16638 Fix typo in docs.
16640 2005-10-11 Wim Taymans <wim@fluendo.com>
16642 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16643 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16644 (gst_bin_change_state_func), (bin_bus_handler):
16645 * gst/gstbin.h:
16646 Work on proper clock selection.
16648 2005-10-11 Edward Hervey <edward@fluendo.com>
16650 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16651 * libs/gst/controller/gstcontroller.h:
16652 Added GList* version of _remove_properties() in order to be able to wrap
16653 it in bindings.
16655 2005-10-11 Wim Taymans <wim@fluendo.com>
16657 * docs/design/part-states.txt:
16658 Some more docs.
16660 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16661 (gst_bin_change_state_func), (bin_bus_handler):
16662 Doc updates. Don't distribute the same clock over and over again.
16664 * gst/gstclock.c:
16665 * gst/gstclock.h:
16666 Doc updates.
16668 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16669 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16670 (gst_pad_send_event):
16671 * gst/gstpad.h:
16672 Make probe emission threadsafe again.
16673 Register quarks and move _get_name() from utils.
16674 Doc updates.
16676 * gst/gstpipeline.c: (gst_pipeline_class_init),
16677 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16678 Only redistribute the clock of it changed.
16680 * gst/gstsystemclock.h:
16681 Doc updates.
16683 * gst/gstutils.c:
16684 * gst/gstutils.h:
16685 Moved the _flow_get_name() to GstPad.
16687 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16689 * check/gst-libs/gdp.c: (GST_START_TEST):
16690 * check/gst/gstcaps.c: (GST_START_TEST):
16691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16692 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16693 (gst_dp_packet_from_caps):
16694 fix more valgrind warnings before turning up the heat
16696 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16698 * gst/parse/grammar.y:
16699 some cleanup before the hacking
16701 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16703 * gst/base/gstbasesrc.c: (gst_base_src_query):
16704 use conversions
16705 * gst/gstutils.c: (gst_guint64_to_gdouble),
16706 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16707 * gst/gstutils.h:
16708 externalize, basesrc uses it
16709 obviously the implementation needs testing
16711 2005-10-10 Wim Taymans <wim@fluendo.com>
16713 * tests/sched/Makefile.am:
16714 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16715 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16717 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16719 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16720 apparently converting from guint64 to double is not implemented
16721 on MSVC
16723 2005-10-10 Wim Taymans <wim@fluendo.com>
16725 * check/Makefile.am:
16726 * check/generic/states.c: (GST_START_TEST):
16727 * check/gst/gstbin.c: (GST_START_TEST):
16728 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16729 * check/states/sinks.c: (GST_START_TEST):
16730 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16731 (main):
16732 Check fixes, use API as stated in design docs, remove hacks.
16734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16735 (gst_base_sink_change_state):
16736 Catch stopping our task while we're shutting down.
16738 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16739 (gst_bin_remove_func), (gst_bin_get_state_func),
16740 (gst_bin_recalc_state), (gst_bin_change_state_func),
16741 (bin_bus_handler):
16742 * gst/gstbin.h:
16743 * gst/gstelement.c: (gst_element_init),
16744 (gst_element_get_state_func), (gst_element_abort_state),
16745 (gst_element_commit_state), (gst_element_lost_state),
16746 (gst_element_set_state), (gst_element_change_state),
16747 (gst_element_change_state_func):
16748 * gst/gstelement.h:
16749 New state change algorithm (see #318116)
16751 * gst/gstpipeline.c: (gst_pipeline_class_init),
16752 (gst_pipeline_init), (gst_pipeline_set_property),
16753 (gst_pipeline_get_property), (do_pipeline_seek),
16754 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16755 * gst/gstpipeline.h:
16756 Remove crude state change hacks.
16758 * gst/gstutils.h:
16759 Remove crude hacks.
16761 * tools/gst-launch.c: (main):
16762 Fixes for state change. Needs some more work to fully use the
16763 new stuff.
16765 2005-10-10 Andy Wingo <wingo@pobox.com>
16767 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16769 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16770 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16771 issue.
16773 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16775 * gst/gstiterator.c: (gst_iterator_new):
16776 Fix my previous commit: GTypes passed to gst_iterator_new()
16777 can be fundamental types.
16779 2005-10-10 Wim Taymans <wim@fluendo.com>
16781 * gst/gstelement.c: (gst_element_iterate_pad_list),
16782 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16783 (gst_element_iterate_sink_pads):
16784 Use src/sink pads lists for the respective iterators instead
16785 of filtering.
16787 2005-10-10 Andy Wingo <wingo@pobox.com>
16789 Merged in popt removal + GOption addition patch from Ronald, bug
16790 #169772.
16792 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16793 GstElement macros around, remove popt-related symbols, add goption
16794 stuff.
16796 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16798 * docs/gst/Makefile.am:
16799 * docs/libs/Makefile.am: No POPT_CFLAGS.
16801 * examples/manual/Makefile.am:
16802 * docs/manual/basics-init.xml: Doc updates with an example.
16804 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16805 (gst_init), (parse_one_option), (parse_goption_arg):
16806 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16807 bit of hand merging and debugging to get the GOption stuff working
16808 tho.
16810 * tests/Makefile.am:
16811 * tools/Makefile.am:
16812 * tools/gst-inspect.c: (main):
16813 * tools/gst-launch.c: (main):
16814 * tools/gst-run.c: (main):
16815 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16817 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16819 * gst/gstiterator.c: (gst_iterator_new):
16820 Add assertions to make sure passed GType is likely to really
16821 be a GType (as the compiler won't catch it if the size and
16822 GType arguments get mixed up, see #318447).
16824 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16826 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16828 * gst/gstbin.c: (gst_bin_iterate_sorted):
16829 Pass GType and size arguments to gst_iterator_new() in the right
16830 order (maybe we should make _new() take the GType as first argument
16831 just like _new_list()?) (#318447).
16834 2005-10-10 Wim Taymans <wim@fluendo.com>
16836 * gst/gstelement.c: (gst_element_finalize):
16837 And free the GStaticRecMutex too
16839 2005-10-10 Andy Wingo <wingo@pobox.com>
16841 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16842 Allocate and free the mutex properly.
16844 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16845 New macros.
16846 (GstElement): The state_lock is now recursive. Rebuild your
16847 plugins, suckers. Old macros adapted.
16849 * docs/gst/gstreamer-sections.txt: Doc updates.
16851 * gst/gstutils.h:
16852 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16853 (g_static_rec_cond_wait): Ported from state changes patch, while
16854 we wait on bug #317802 to be solved in a well-distributed GLib.
16856 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16857 gst_element_change_state, variable name changes.
16858 (gst_element_change_state): Split out of gst_element_set_state in
16859 preparation for the state change merge. Doesn't pay attention to
16860 the 'transition' argument.
16861 (gst_element_set_state): Updates, hopefully purely cosmetic.
16862 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16863 state change patch.
16864 (gst_element_get_state_func): Renamed from get_state, cosmetic
16865 changes.
16867 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16869 * gst/elements/gstelements.c:
16870 * win32/GStreamer.vcproj:
16871 * win32/config.h:
16872 * win32/dirent.c: (_tseekdir):
16873 * win32/gst-inspect.vcproj:
16874 * win32/gst-launch.vcproj:
16875 * win32/gstconfig.h:
16876 * win32/gstelements.vcproj:
16877 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16878 * win32/gstreamer.def:
16879 * win32/msvc71.sln:
16880 updates for the win32 build (patch from Sebastien Moutte)
16882 2005-10-10 Andy Wingo <wingo@pobox.com>
16884 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16885 gst_bin_get_state, cleaned up (but no logic changes).
16886 (bin_element_is_sink): Comment updates.
16887 (sink_iterator_filter): Remove needless cast.
16888 (gst_bin_iterate_sinks): Doc update.
16889 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16890 cleaned up (but no logic changes).
16892 * check/states/sinks.c (test_src_sink): Cleanups from the state
16893 change patch.
16894 (test_livesrc_sink): Sync on the state.
16896 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16897 the state change patch.
16899 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16900 change patch.
16902 * check/gst/gstbin.c: Merge in some style fixes and additional
16903 checks from Wim's state change patch.
16905 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16907 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16908 (gst_type_find_helper):
16909 Check whether we have the requested data already in our list of
16910 cached buffers before pulling a new buffer; also make the buffer
16911 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16913 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16915 * gst/gstcaps.c:
16916 * gst/gstevent.c:
16917 doc updates
16918 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16919 don't use long long, it's not portable. Replacing with
16920 gint64 seems to work; let's hope no skeletons fall out of the closet.
16922 2005-10-10 Andy Wingo <wingo@pobox.com>
16924 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16926 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16928 * docs/gst/gstreamer-sections.txt:
16929 * gst/gstevent.c:
16930 * gst/gstevent.h:
16931 * gst/gstinfo.c:
16932 * gst/gstinfo.h:
16933 * gst/gstmessage.c: (gst_message_parse_state_changed):
16934 * gst/gstpad.c:
16935 * gst/gstpad.h:
16936 more docs, fix compilation
16938 2005-10-09 Philippe Khalaf <burger@speedy.org>
16939 * gst/gstmessage.c:
16940 Fixed a few forgotten variables on previous commit
16942 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16944 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16945 Fix evil typefind crasher: getrange() might return a short
16946 buffer at the end of a file, but gst_type_find_peek() must
16947 either return the full data as requested or NULL, but
16948 never a short buffer.
16950 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16952 * gst/gstmessage.c: (gst_message_new_state_changed),
16953 (gst_message_parse_state_changed):
16954 * gst/gstmessage.h:
16955 don't use "new", it's a C++ keyword
16957 2005-10-08 Wim Taymans <wim@fluendo.com>
16959 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16960 * gst/gstelement.c: (gst_element_post_message):
16961 * gst/gstpipeline.c: (gst_pipeline_change_state):
16962 Small docs and debug updates.
16964 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16966 * docs/gst/gstreamer-sections.txt:
16967 * gst/gstelementfactory.c:
16968 * gst/gstevent.c:
16969 * gst/gsttaglist.c:
16970 more docs
16972 2005-10-08 Wim Taymans <wim@fluendo.com>
16974 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16975 (gst_bin_dispose), (bin_bus_handler):
16976 Fix typos, add comments.
16977 Clear EOS list when going to PAUSED from any direction and do it
16978 in a threadsafe way.
16979 Get base time in a threadsafe way too.
16980 Fix confusing debug in the change_state function.
16981 Various other small cleanups.
16983 * gst/gstelement.c: (gst_element_post_message):
16984 Fix very verbose bus posting code.
16986 * gst/gstpipeline.c: (gst_pipeline_class_init),
16987 (gst_pipeline_set_property), (gst_pipeline_get_property),
16988 (gst_pipeline_change_state):
16989 Small ARG_ -> PROP_ cleanup
16991 2005-10-08 Wim Taymans <wim@fluendo.com>
16993 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16994 Do a less CPU demanding EOS check because we can.
16996 2005-10-08 Wim Taymans <wim@fluendo.com>
16998 * libs/gst/dataprotocol/dataprotocol.c:
16999 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17000 (gst_dp_packet_from_event):
17001 * libs/gst/dataprotocol/dataprotocol.h:
17002 * libs/gst/dataprotocol/dp-private.h:
17003 It's about time we bump the version number.
17004 Since event types don't fit in the guint8 anymore describing
17005 the payload type, make payload type 16 bits wide.
17007 2005-10-08 Wim Taymans <wim@fluendo.com>
17009 * docs/design/part-TODO.txt:
17010 * docs/design/part-clocks.txt:
17011 * docs/design/part-events.txt:
17012 * docs/design/part-gstbin.txt:
17013 * docs/design/part-gstelement.txt:
17014 * docs/design/part-gstpipeline.txt:
17015 * docs/design/part-live-source.txt:
17016 * docs/design/part-messages.txt:
17017 * docs/design/part-overview.txt:
17018 * docs/design/part-states.txt:
17019 Many doc updates.
17021 2005-10-08 Wim Taymans <wim@fluendo.com>
17023 * gst/gstevent.c:
17024 * gst/gstevent.h:
17025 Fix event quark registration.
17026 Add some space between events so we can insert them in the
17027 right groups.
17029 2005-10-08 Wim Taymans <wim@fluendo.com>
17031 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17032 (gst_base_sink_handle_buffer):
17033 Better log message.
17035 * gst/gstbus.h:
17036 * gst/gstelement.h:
17037 More docs.
17039 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17040 (gst_queue_set_property), (gst_queue_get_property):
17041 * gst/gstqueue.h:
17042 Remove old unused properties.
17044 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17045 * docs/gst/gstreamer-sections.txt:
17046 * gst/gstmessage.c:
17047 * gst/gstmessage.h:
17048 * gst/gstminiobject.c:
17049 * gst/gstminiobject.h:
17050 * gst/gstobject.h:
17051 * gst/gstpad.h:
17052 * gst/gstutils.h:
17053 lots of new docs and doc fixes
17055 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17057 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17058 * gst/gstplugin.h:
17059 * gst/gstregistry.c: (gst_registry_lookup_locked),
17060 (gst_registry_scan_path_level):
17061 * gst/gstregistryxml.c: (load_plugin):
17062 Only ever load one plugin for a given plugin basename.
17063 This ensures correct overriding of GST_PLUGIN_PATH over
17064 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17065 system installed plugins.
17067 2005-10-08 Wim Taymans <wim@fluendo.com>
17069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17070 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17071 Prepare for doing QOS.
17073 2005-10-08 Wim Taymans <wim@fluendo.com>
17075 * check/gst/gstbin.c: (GST_START_TEST):
17076 * check/pipelines/cleanup.c: (GST_START_TEST):
17077 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17078 Allow new clock message too.
17080 2005-10-08 Wim Taymans <wim@fluendo.com>
17082 * gst/gstmessage.c: (gst_message_new_error),
17083 (gst_message_new_warning), (gst_message_new_tag),
17084 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17085 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17086 (gst_message_new_segment_start), (gst_message_new_segment_done),
17087 (gst_message_parse_state_changed),
17088 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17089 (gst_message_parse_new_clock):
17090 * gst/gstmessage.h:
17091 Also carry the clock in question.
17093 2005-10-08 Wim Taymans <wim@fluendo.com>
17095 * gst/gstmessage.c: (gst_message_new_custom),
17096 (gst_message_new_eos), (gst_message_new_error),
17097 (gst_message_new_warning), (gst_message_new_tag),
17098 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17099 (gst_message_new_new_clock), (gst_message_new_segment_start),
17100 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17101 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17102 * gst/gstmessage.h:
17103 Clean up.
17104 Added clock related messages.
17106 * gst/gstpipeline.c: (gst_pipeline_change_state):
17107 Post message when the clock changed.
17109 * tools/gst-launch.c: (event_loop):
17110 Print new clock.
17112 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17114 * tools/gst-inspect.c: (print_element_properties_info):
17115 Can't pass NULL strings to g_print() on windows.
17117 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17119 * docs/Makefile.am:
17120 * docs/gst/Makefile.am:
17121 * docs/gst/gstreamer-docs.sgml:
17122 * docs/gst/running.xml:
17123 * docs/version.entities.in:
17124 add a chapter on running GStreamer.
17125 document GST_DEBUG and GST_PLUGIN* env vars
17127 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17129 * Makefile.am:
17130 remove include dir
17131 * configure.ac:
17132 remove PLUGINS_BUILDDIR stuff
17133 * gst/gst.c: (init_post):
17134 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17135 * idiottest.mak:
17136 remove, it was condescending and not needed
17138 2005-10-08 Wim Taymans <wim@fluendo.com>
17140 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17141 (gst_base_sink_handle_object), (gst_base_sink_event),
17142 (gst_base_sink_wait), (gst_base_sink_handle_event),
17143 (gst_base_sink_change_state):
17144 * gst/base/gstbasesink.h:
17145 Repost EOS message while going to PLAYING if still EOS.
17146 Make sure that when receiving a FLUSH_START we don't attempt
17147 to sync on the clock anymore.
17149 2005-10-08 Wim Taymans <wim@fluendo.com>
17151 * tools/gst-launch.c: (event_loop):
17152 Better message printout.
17154 2005-10-08 Wim Taymans <wim@fluendo.com>
17156 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17157 (gst_bin_child_proxy_get_children_count):
17158 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17159 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17160 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17161 (gst_child_proxy_set_valist):
17162 * gst/parse/grammar.y:
17163 Make ChildProxy threadsafe and fix mem leaks.
17165 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17167 * gst/gst.c: (init_post):
17168 debug the GST_PLUGIN_ env vars
17170 2005-10-08 Wim Taymans <wim@fluendo.com>
17172 * check/gst/gstbin.c: (GST_START_TEST):
17173 * check/gst/gstmessage.c: (GST_START_TEST):
17174 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17175 * gst/gstelement.c: (gst_element_commit_state),
17176 (gst_element_lost_state):
17177 * gst/gstmessage.c: (gst_message_new_state_changed),
17178 (gst_message_parse_state_changed):
17179 * gst/gstmessage.h:
17180 * tools/gst-launch.c: (event_loop):
17181 Added extra field to STATE_CHANGE message with the pending
17182 state, which will be different from the new state soon.
17184 2005-10-08 Wim Taymans <wim@fluendo.com>
17186 * gst/gstbus.c: (gst_bus_pop):
17187 * gst/gstclock.c:
17188 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17189 Small cleanups and doc updates.
17191 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17193 * gst/gst.c: (init_pre):
17194 * gst/gstbin.c: (gst_bin_add_func):
17195 log distributing clocks and base time
17196 * gst/gstregistry.c: (gst_registry_add_plugin),
17197 (gst_registry_scan_path_level), (gst_registry_scan_path):
17198 clean up the debugging output a little
17199 * gst/gstutils.c: (gst_element_state_get_name):
17200 warn about a memleak (I've actually seen this be used, though
17201 it was probably a bug)
17203 2005-10-07 Wim Taymans <wim@fluendo.com>
17205 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17206 (gst_base_src_init), (gst_base_src_default_newsegment),
17207 (gst_base_src_newsegment), (gst_base_src_do_seek),
17208 (gst_base_src_loop), (gst_base_src_start):
17209 * gst/base/gstbasesrc.h:
17210 Make the newsegment event customizable by subclasses.
17212 2005-10-07 Wim Taymans <wim@fluendo.com>
17214 * gst/gstevent.c: (gst_event_new_buffersize),
17215 (gst_event_parse_buffersize):
17216 * gst/gstevent.h:
17217 New event for future idea.
17219 2005-10-07 Andy Wingo <wingo@pobox.com>
17221 * gst/gstelement.c (gst_element_post_message): Doc update.
17223 * docs/gst/gstreamer-sections.txt: Update.
17225 * gst/gstmessage.c (gst_message_new_application): Made into a
17226 function like honest API calls.
17227 (gst_message_new_element): New message type.
17229 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17231 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17232 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17233 times.
17235 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17236 NO_PREROLL from gst_element_change_state to fall through.
17238 2005-10-07 Wim Taymans <wim@fluendo.com>
17240 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17241 (gst_ghost_pad_do_activate_push):
17242 Activating a ghostpad with no internal pad in push mode
17243 is ok.
17245 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17247 * gst/gstobject.h:
17248 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17249 Fixes compilation on Windows.
17251 2005-10-07 Michael Smith <msmith@fluendo.com>
17253 * tools/gst-inspect.c:
17254 Print out feature and plugin count at the end when printing out
17255 all features.
17257 2005-10-04 Michael Smith <msmith@fluendo.com>
17259 * gst/gsterror.c: (_gst_stream_errors_init):
17260 Add another error string used in a few existing plugins.
17262 * gst/gstplugin.c:
17263 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17264 * tools/gst-inspect.c: (print_element_info):
17265 When a feature disappears from a plugin (and the feature exists in
17266 the cached registry file), things went horribly wrong. This isn't a
17267 complete fix, we should actually be removing the 'missing' features
17268 from the features list when we load the actual plugin. That's not
17269 yet implemented.
17271 2005-10-04 Johan Dahlin <johan@gnome.org>
17273 * check/gst/gstiterator.c: (GST_START_TEST):
17274 * gst/gstbin.c: (gst_bin_iterate_elements),
17275 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17276 * gst/gstelement.c: (gst_element_iterate_pads):
17277 * gst/gstformat.c: (gst_format_iterate_definitions):
17278 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17279 (gst_iterator_new_list), (gst_iterator_filter):
17280 * gst/gstiterator.h:
17281 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17282 Add a GType to GstIterator, update callsites and tests.
17284 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17286 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17287 give events a chance to be handled by event probes when the pad
17288 is not linked
17290 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17292 * gst/gstevent.c: (gst_event_type_get_name),
17293 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17294 * gst/gstevent.h:
17295 add string representations for event types
17297 2005-10-06 Wim Taymans <wim@fluendo.com>
17299 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17300 Don't use NULL pointers.
17302 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17304 * gst/gst_private.h:
17305 * gst/gstbus.c:
17306 * gst/gstelement.c:
17307 * gst/gstinfo.c:
17308 * gst/gstpluginfeature.c:
17309 widen the debug category in output to fit the biggest one we have
17310 add a bus category and use it
17311 play with the colors
17312 fix up some categories
17314 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17316 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17317 add push activation of sink ghost pads.
17318 Andye, please verify
17320 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17322 * gst/gstutils.c: (gst_element_link_pads):
17323 fix a bug in the case where neither element has a pad
17324 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17325 add a test for that case
17327 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17329 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17330 emit have-data before checking for peers. This allows
17331 for probe handlers to connect elements. This helps autopluggers.
17332 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17333 (gst_pad_suite):
17334 add six checks, linked/unlinked with no/true/false probe
17336 2005-10-04 Wim Taymans <wim@fluendo.com>
17338 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17339 (gst_fake_sink_event), (gst_fake_sink_preroll),
17340 (gst_fake_sink_render), (gst_fake_sink_change_state):
17341 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17342 (gst_fake_src_get_property), (gst_fake_src_create),
17343 (gst_fake_src_stop):
17344 * gst/elements/gstidentity.c: (gst_identity_stop):
17345 Protect last_message with lock.
17347 2005-10-04 Edward Hervey <edward@fluendo.com>
17349 * gst/gstformat.h:
17350 Added precision in the comments for GST_FORMAT_DEFAULT
17352 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17354 * tools/gst-launch.c: (main):
17355 Don't try to run erroneous pipelines.
17357 2005-10-04 Julien MOUTTE <julien@moutte.net>
17359 * gst/gstbus.c: We don't need this header.
17361 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17363 * configure.ac:
17364 back to development
17366 === release 0.9.3 ===
17368 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17370 * README:
17371 * configure.ac:
17372 Releasing 0.9.3, "Unregistered"
17374 2005-10-03 Andy Wingo <wingo@pobox.com>
17376 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17377 whereby calling a pad's activatepush() function can start a thread
17378 that starts to push or pull before the pad gets the FLUSHING flag
17379 unset. Hack around it by holding the stream lock until the flag is
17380 set. Need to replace this with a proper solution. Together with
17381 the ghost pad fixes, this fixes mp3 playing/tagreading.
17383 * docs/design/part-gstghostpad.txt: Add a note about activation of
17384 proxy pads outside of ghost pads.
17386 * gst/gstghostpad.c: Implement the ghost pad activation design.
17388 2005-10-02 Andy Wingo <wingo@pobox.com>
17390 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17391 It is volatile, after all.
17393 * docs/design/part-gstghostpad.txt: Flesh out activation with
17394 ghost pads.
17396 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17397 GST_DEBUG_FUNCPTR.
17399 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17401 * configure.ac:
17402 Fix (unused) AM_CONDITIONAL tests.
17404 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17406 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17408 * gst/gstutils.c: (gst_pad_query_convert):
17409 Add assertion that makes sure src_val is >=0, just like
17410 gst_query_new_convert() has. (#315895)
17412 2005-09-30 Edward Hervey <edward@fluendo.com>
17414 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17415 Let's not iterate pads we're not interested in, it avoids getting
17416 sky-high refcounts on sinkpad.
17418 2005-09-30 Wim Taymans <wim@fluendo.com>
17420 * gst/gstelement.c: (gst_element_set_state),
17421 (gst_element_change_state):
17422 Small tweak, element in ASYNC remains ASYNC.
17424 2005-09-30 Wim Taymans <wim@fluendo.com>
17426 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17427 Only error is an error.
17429 * gst/gstbin.c: (gst_bin_change_state):
17430 Better debugging.
17432 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17433 Also call pad_block in pad alloc.
17435 * gst/gstutils.c: (gst_flow_get_name):
17436 Better debugging.
17438 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17440 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17441 (gst_base_src_get_range):
17442 Fix documentation typos. Add some more debug info.
17444 2005-09-29 David Schleef <ds@schleef.org>
17446 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17447 more end-user friendly.
17448 * tools/gst-inspect.c: (main): Check if command-line argument is
17449 a file and attempt to load that file as a plugin.
17451 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17453 * check/gst/gstbin.c:
17454 * check/states/sinks.c:
17455 fix tests for the new warning
17456 * check/gst/gstpipeline.c:
17457 add a test for pipeline and bus interaction
17458 * gst/gstelement.c:
17459 elements should be NULL if they get disposed; add a warning if not
17461 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17463 * gst/gstobject.c:
17464 for 2.6 refcounting, make debug log more correct by printing
17465 the actual refcounts at the time of swap (Wim)
17467 2005-09-29 Andy Wingo <wingo@pobox.com>
17469 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17470 removes signal watches previously added via
17471 gst_bus_add_signal_watch.
17472 (gst_bus_add_signal_watch): Don't return the source id, just store
17473 it on the bus if there wasn't an id already.
17475 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17476 add_signal_watch and remove_signal_watch.
17478 2005-09-29 Edward Hervey <edward@fluendo.com>
17480 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17481 Better if we actually iterate the list :)
17483 2005-09-29 Wim Taymans <wim@fluendo.com>
17485 * check/gst/gstbin.c: (GST_START_TEST):
17486 Change for new bus API.
17488 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17489 (send_messages), (GST_START_TEST), (gstbus_suite):
17490 Change for new bus signal API.
17492 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17493 (gst_bus_source_prepare), (gst_bus_source_check),
17494 (gst_bus_create_watch), (gst_bus_add_watch_full),
17495 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17496 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17497 * gst/gstbus.h:
17498 Remove support for multiple GSources operating on different
17499 message types as it is too complex and unneeded when using
17500 signals.
17501 Added support for receiving signals from the bus.
17503 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17505 * docs/libs/tmpl/gstdataprotocol.sgml:
17506 * docs/manual/advanced-dataaccess.xml:
17507 * gst/elements/gstcapsfilter.c:
17508 * gst/gstutils.c:
17509 rename filter-caps to caps property
17511 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17513 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17514 More robust fraction string parsing.
17516 * docs/pwg/appendix-porting.xml:
17517 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17519 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17521 * gst/gstcaps.c: (gst_caps_do_simplify):
17522 Thou shalt not free a structure and then continue using it
17523 in the next loop iteration.
17525 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17526 (gst_caps_suite):
17527 Add test case for caps simplification.
17529 2005-09-29 Wim Taymans <wim@fluendo.com>
17531 * check/gst/gstbin.c: (GST_START_TEST):
17532 Oops.
17534 2005-09-29 Wim Taymans <wim@fluendo.com>
17536 * check/gst/gstbin.c: (GST_START_TEST):
17537 Add bus to bin.
17539 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17540 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17541 (find_element), (gst_bin_sort_iterator_next),
17542 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17543 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17544 (gst_bin_change_state), (gst_bin_dispose):
17545 A bin does not have a bus, it gets the bus from the parent.
17547 * gst/gstelement.c: (gst_element_requires_clock),
17548 (gst_element_provides_clock), (gst_element_is_indexable),
17549 (gst_element_is_locked_state), (gst_element_change_state),
17550 (gst_element_set_bus_func):
17551 Small cleanups.
17553 * gst/gstpipeline.c: (gst_pipeline_class_init),
17554 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17555 The pipeline provides a bus.
17557 2005-09-28 Johan Dahlin <johan@gnome.org>
17559 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17560 gst_structure_get_enum instead of gst_structure_get_int
17562 * gst/gststructure.c (gst_structure_get_enum): Impl.
17564 * gst/gststructure.h (gst_structure_get_enum): Add
17566 * docs/gst/gstreamer-sections.txt: Ditto
17568 * gst/gstmessage.c (gst_message_new_state_changed): Use
17569 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17570 which does introspection.
17571 Reviewed by Christian Schaller
17573 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17575 * gst/gstinfo.c: (gst_debug_log_default):
17576 don't do dummy g_strdup()s
17577 * libs/gst/controller/gstcontroller.c:
17578 (on_object_controlled_property_changed),
17579 (gst_controlled_property_new), (gst_controller_new_valist),
17580 (gst_controller_new_list),
17581 (gst_controller_remove_properties_valist), (gst_controller_set),
17582 (gst_controller_get), (gst_controller_sync_values),
17583 (gst_controller_get_value_array), (_gst_controller_class_init),
17584 (gst_controller_get_type):
17585 * libs/gst/controller/gstcontroller.h:
17586 * libs/gst/controller/gstinterpolation.c:
17587 (gst_controlled_property_find_timed_value_node):
17588 convert // to /**/ comments
17590 2005-09-28 Wim Taymans <wim@fluendo.com>
17592 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17593 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17594 (gst_bus_sync_signal_handler):
17595 * gst/gstbus.h:
17596 Added async-message and sync-message signals to the bus.
17597 Added helper BusFunc to emit signals for all posted messages.
17599 * gst/gstmessage.c: (gst_message_type_get_name),
17600 (gst_message_type_to_quark), (gst_message_get_type):
17601 * gst/gstmessage.h:
17602 Register quarks for message names.
17604 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17606 * docs/libs/gstreamer-libs-sections.txt:
17607 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17608 (gst_controller_new_list):
17609 * libs/gst/controller/gstcontroller.h:
17610 added another constructor for language bindings
17612 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17614 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17615 add another check
17616 * gst/gstbus.c:
17617 add some doc
17618 * gst/gstinfo.c: (_gst_debug_init):
17619 slightly more readable color for refcount debugging
17621 2005-09-28 Wim Taymans <wim@fluendo.com>
17623 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17624 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17625 (find_element), (gst_bin_sort_iterator_next),
17626 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17627 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17628 (gst_bin_change_state), (gst_bin_dispose):
17629 Small doc fixes. get_clock -> provide_clock.
17631 * gst/gstelement.c: (gst_element_class_init),
17632 (gst_element_provides_clock), (gst_element_provide_clock),
17633 (gst_element_get_clock), (gst_element_commit_state),
17634 (gst_element_lost_state):
17635 * gst/gstelement.h:
17636 Make get/set_clock() symetric. Add provide_clock vmethod since
17637 that is actually what this function does.
17639 * gst/gstpipeline.c: (gst_pipeline_class_init),
17640 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17641 (gst_pipeline_get_clock):
17642 get_clock -> provide_clock.
17644 2005-09-28 Andy Wingo <wingo@pobox.com>
17646 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17647 lieu of real docs...
17649 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17651 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17653 * gst/elements/gstcapsfilter.c:
17654 * gst/elements/gstfakesink.c:
17655 * gst/elements/gstfakesrc.c:
17656 * gst/elements/gstfdsink.c:
17657 * gst/elements/gstfdsrc.c:
17658 * gst/elements/gstfilesink.c:
17659 * gst/elements/gstfilesrc.c:
17660 * gst/elements/gstidentity.c:
17661 * gst/elements/gsttee.c:
17662 * gst/elements/gsttypefindelement.c:
17663 Make element details static.
17665 2005-09-28 Wim Taymans <wim@fluendo.com>
17667 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17668 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17669 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17670 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17671 (gst_bin_change_state), (gst_bin_dispose):
17672 Some documentation updates.
17673 Clean up dispose handlers.
17675 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17676 * gst/gstpad.c: (gst_pad_dispose):
17677 Clean up dispose handler.
17679 * gst/gstpipeline.c: (gst_pipeline_change_state):
17680 Removed spurious UNLOCK.
17682 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17684 * docs/gst/gstreamer-sections.txt:
17685 * gst/base/gstbasesrc.h:
17686 * gst/gstelement.h:
17687 * gst/gstevent.h:
17688 * gst/gstobject.h:
17689 * gst/gstpad.h:
17690 * gst/gstpipeline.c:
17691 * gst/gstpipeline.h:
17692 * gst/gstutils.h:
17693 * gst/gstxml.h:
17694 added two new functions to the docs
17695 documents all undocumented GstXXXFlags
17696 completed some incomplete docs
17698 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17700 * gst/gstbin.c: (gst_bin_dispose):
17701 * gst/gstelement.c: (gst_element_dispose):
17702 remove now useless and leaky resurrection code in dispose
17703 * gst/base/gstbasesrc.c: (gst_base_src_init):
17704 * gst/gstelementfactory.c: (gst_element_factory_create):
17705 * gst/gstobject.c: (gst_object_set_parent):
17706 add some debugging
17708 2005-09-27 Wim Taymans <wim@fluendo.com>
17710 * docs/design/part-TODO.txt:
17711 Update TODO.
17713 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17714 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17715 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17716 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17717 (gst_bin_change_state):
17718 * gst/gstelement.h:
17719 Remove element variable, we keep element info in the iterator now.
17721 2005-09-27 Andy Wingo <wingo@pobox.com>
17723 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17724 values.
17726 2005-09-27 Wim Taymans <wim@fluendo.com>
17728 * check/gst/gstbin.c: (GST_START_TEST):
17729 Enable check that works now.
17731 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17732 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17733 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17734 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17735 (gst_bin_change_state):
17736 * gst/gstbin.h:
17737 Redid the state change algorithm using a topological sort algo.
17738 Handles all cases correctly.
17739 Exposed iterator for state change order.
17741 * gst/gstelement.h:
17742 Temp storage for state changes. Need to get rid of this soon.
17744 2005-09-27 Wim Taymans <wim@fluendo.com>
17746 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17747 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17748 (link_fold_func), (gst_pad_proxy_setcaps):
17749 Leak fixes, the fold functions need to unref the passed object and
17750 _get_parent_*() returns ref to parent.
17752 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17754 * check/gst/gstbuffer.c: (test_make_writable):
17755 Plug leak in test case and fix 'make check-valgrind'
17757 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17759 * gst/gstbuffer.c: (gst_subbuffer_init):
17760 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17761 works correctly in all circumstances (we could have just copied
17762 the parent buffer's readonly flag, but conceptually it seems
17763 cleaner to mark all subbuffers as read-only). (based on patch
17764 by Alessandro Decina, #314710).
17766 * check/gst/gstbuffer.c: (create_read_only_buffer),
17767 (test_make_writable), (test_subbuffer_make_writable),
17768 (gst_test_suite):
17769 Add some tests for gst_buffer_make_writable().
17771 2005-09-27 Wim Taymans <wim@fluendo.com>
17773 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17774 use gst_object_has_ancestor().
17776 * gst/gstobject.c: (gst_object_has_ancestor):
17777 * gst/gstobject.h:
17778 gst_object_has_ancestor() copied from gstbin.c as it is a
17779 useful function.
17781 * tests/instantiate/create.c: (create_all_elements):
17782 * tests/lat.c: (handoff_src), (handoff_sink):
17783 * tests/sched/runxml.c: (main):
17784 * tests/seeking/seeking1.c: (main):
17785 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17786 (main):
17787 Fix compilation of some tests.
17789 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17791 * gst/gsterror.h:
17792 Remove comment. GST_TYPE_G_ERROR is here to stay,
17793 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17794 (#316961, #300610).
17796 2005-09-26 Wim Taymans <wim@fluendo.com>
17798 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17799 Added check that shows error in state change order.
17801 2005-09-26 Wim Taymans <wim@fluendo.com>
17803 * gst/gstbin.c: (gst_bin_change_state):
17804 Make state change function use 3 queues again, we were
17805 adding elements in the wrong order.
17807 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17808 Some debug info,
17810 * gst/gstpad.c: (gst_pad_dispose):
17811 Added some debug info first.
17813 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17815 * docs/design/draft-push-pull.txt:
17816 * docs/design/part-events.txt:
17817 * docs/design/part-overview.txt:
17818 * docs/design/part-scheduling.txt:
17819 Replace all _pull_region() with _pull_range()
17821 2005-09-26 Andy Wingo <wingo@pobox.com>
17823 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17825 * check/gst-libs/controller.c: Update for controller api change.
17827 * configure.ac:
17828 * tests/Makefile.am:
17829 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17830 over by GLib bug 118439.
17832 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17833 routines to a function.
17835 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17837 * libs/gst/controller/gsthelper.c:
17838 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17839 (gst_object_sync_values): Renamed from sink_values. Ugh.
17841 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17843 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17844 Renamed from controller_key, as it is exported.
17846 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17848 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17850 * gst/Makefile.am:
17851 * gst/gst.h:
17852 * gst/gstpad.h:
17853 * gst/gstpadtemplate.h:
17854 * gst/gstquery.c:
17855 * gst/gstquery.h:
17856 * gst/gstqueryutils.c:
17857 * gst/gstqueryutils.h:
17858 remove queryutils headers after moving the two used functions
17859 to gstquery. also fixes build problem for gstsiddec
17861 2005-09-26 Michael Smith <msmith@fluendo.com>
17863 * tools/gst-launch.1.in:
17864 Correct documentation in manpage of debug syntax
17866 2005-09-26 Wim Taymans <wim@fluendo.com>
17868 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17869 (gst_base_src_is_seekable), (gst_base_src_change_state):
17870 Some more debugging info.
17872 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17874 * docs/gst/gstreamer-sections.txt:
17875 * gst/base/gstbasetransform.h:
17876 * gst/gstindex.h:
17877 added more docs
17879 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17881 * docs/gst/.cvsignore:
17882 * docs/gst/tmpl/.cvsignore:
17883 * docs/gst/tmpl/gstpipeline.sgml:
17884 * docs/gst/tmpl/gstplugin.sgml:
17885 * gst/gstpipeline.c:
17886 * gst/gstplugin.c:
17887 * gst/gstplugin.h:
17888 inlined the last two docs files
17889 removed the tmpl directory from cvs (no more conflicts here!)
17891 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17893 * docs/gst/gstreamer-sections.txt:
17894 * docs/gst/tmpl/.cvsignore:
17895 * docs/gst/tmpl/gstpad.sgml:
17896 * docs/gst/tmpl/gstpadtemplate.sgml:
17897 * gst/Makefile.am:
17898 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17899 (gst_pad_finalize), (gst_pad_set_pad_template):
17900 * gst/gstpad.h:
17901 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17902 (gst_pad_template_class_init), (gst_pad_template_init),
17903 (gst_pad_template_dispose), (name_is_valid),
17904 (gst_static_pad_template_get), (gst_pad_template_new),
17905 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17906 (gst_pad_template_pad_created):
17907 * gst/gstpadtemplate.h:
17908 inlined two more docs
17909 factored gstpadtemplate out of gstpad
17911 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17913 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17914 (test_children_state_change_order_semi_sink):
17915 Fix test case: we can't rely on a fixed state change order when
17916 going from READY => PAUSED because the sink might commit its
17917 new state first when the first buffer created by the source
17918 reaches the sink before the source has finished its change state.
17919 (Test case still fails at times, see #316856, comment 5 onwards)
17921 2005-09-24 Wim Taymans <wim@fluendo.com>
17923 * docs/design/part-events.txt:
17924 * docs/design/part-gstbus.txt:
17925 * docs/design/part-gstpipeline.txt:
17926 * docs/design/part-messages.txt:
17927 * docs/design/part-overview.txt:
17928 * docs/design/part-segments.txt:
17929 * gst/gstbin.c:
17930 * gst/gstbuffer.c:
17931 * gst/gstclock.c:
17932 * gst/gstelement.c:
17933 * gst/gstevent.c:
17934 * gst/gstfilter.c:
17935 * gst/gstiterator.c:
17936 Various documentation updates.
17938 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17940 * gst/gstclock.h:
17941 Well, that's embarassing. Luckily we weren't using
17942 GST_CLOCK_DIFF anywhere.
17944 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17946 * common/gtk-doc.mak:
17947 don't fail on building XML, FC4 slave shows a bunch of doc
17948 missing bits that I don't get
17949 * gst/gstpad.c:
17950 * gst/gstpipeline.c:
17951 * gst/gststructure.c:
17952 some doc updates
17954 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17956 * docs/design/part-gstbin.txt:
17957 * docs/design/part-gstbus.txt:
17958 * gst/gstbus.c:
17959 Add blurb about how the bus goes into flushing mode and
17960 drops all messages when its bin goes from READY into NULL
17961 state.
17963 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17965 * docs/gst/gstreamer-sections.txt:
17966 * gst/gststructure.c: (gst_structure_get_clock_time):
17967 * gst/gststructure.h:
17968 add a method to get a GstClockTime out of a structure
17970 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17972 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17973 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17974 Added test to check state change order in bins (can still be made
17975 to fail here under heavy disk load; bails out with 'Push on pad
17976 fakesink:sink0, but it was not activated in push mode').
17978 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17979 Fix state change order when there is only a semi sink (#316856)
17981 * gst/gstbus.c: (gst_bus_class_init):
17982 Use _class_peek_parent(), not _class_ref(); fix docs to say
17983 'default main context' instead of 'mainloop' where that is
17984 what's meant.
17986 * gst/gstelement.c: (gst_element_commit_state),
17987 (gst_element_set_state):
17988 Fix typos in debug messages
17990 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17992 * docs/README:
17993 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17994 * gst/gstpluginfeature.c:
17995 * gst/gstutils.c:
17996 various doc updates
17997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17998 change an assert into an error until it gets fixed properly
18000 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18002 * docs/gst/gstreamer-sections.txt:
18003 * docs/gst/tmpl/.cvsignore:
18004 * docs/gst/tmpl/gstelement.sgml:
18005 * docs/gst/tmpl/gstinfo.sgml:
18006 * docs/gst/tmpl/gstobject.sgml:
18007 * gst/gstelement.c:
18008 * gst/gstelement.h:
18009 * gst/gstinfo.c:
18010 * gst/gstinfo.h:
18011 * gst/gstobject.c: (gst_object_class_init):
18012 * gst/gstobject.h:
18013 inlined 3 more biiiig doc files and added some missing docs on the fly
18015 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18017 * check/gst/.cvsignore:
18018 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18019 * gst/gstregistryxml.c: (load_plugin),
18020 (gst_registry_xml_save_plugin):
18021 put back source in registry. add checks for find_plugin.
18022 * testsuite/states/bin.c: (assert_state), (empty_bin),
18023 (test_adding_one_element), (main):
18024 * testsuite/states/locked.c: (main):
18025 some compile/run fixes
18027 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18029 * check/gst/gstvalue.c: (GST_START_TEST):
18030 fix leaks in the test itself
18032 2005-09-22 Wim Taymans <wim@fluendo.com>
18034 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18035 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18036 (gst_base_sink_query):
18037 Prepare for more accurate position reporting and query
18038 handling.
18040 * gst/gstelement.c: (gst_element_send_event),
18041 (gst_element_set_state):
18042 Add some comment.
18044 2005-09-22 Wim Taymans <wim@fluendo.com>
18046 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18047 (gst_query_parse_segment):
18048 * gst/gstquery.h:
18049 More documentation.
18050 Add segment query for future use.
18052 2005-09-22 Wim Taymans <wim@fluendo.com>
18054 * gst/gstbin.c: (gst_bin_add_func):
18055 Some more debug info.
18057 * gst/gstelement.c: (gst_element_send_event):
18058 Simplify send_event
18060 * gst/gstelement.h:
18061 Don't know how flags got broken.
18063 * gst/gstquery.h:
18064 Added new query.
18066 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18068 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18069 Add simplistic test suite for GST_TYPE_DATE serialisation and
18070 deserialisation.
18072 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18074 * docs/gst/gstreamer-sections.txt:
18075 * gst/gststructure.c: (gst_structure_set_valist),
18076 (gst_structure_get_date):
18077 * gst/gststructure.h:
18078 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18079 (gst_date_copy), (gst_value_compare_date),
18080 (gst_value_serialize_date), (gst_value_deserialize_date),
18081 (gst_value_transform_date_string),
18082 (gst_value_transform_string_date), (_gst_value_initialize):
18083 * gst/gstvalue.h:
18084 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18085 bunch of utility functions along with a hack that checks that
18086 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18087 is required. Part of the grand scheme in #170777.
18089 2005-09-22 Andy Wingo <wingo@pobox.com>
18091 * gst/gstconfig.h.in: Psych out gtk-doc.
18093 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18095 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18097 * tools/gst-inspect.c (print_element_list): Plug some
18098 inconsequential leaks.
18100 * gst/gstregistry.c (gst_registry_get_default): Doc.
18102 * check/gst/gstplugin.c:
18103 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18104 * gst/gstelementfactory.c (gst_element_factory_create):
18105 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18106 refcount changes.
18108 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18109 (gst_plugin_feature_load): Doc, don't eat refs.
18111 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18112 (gst_plugin_list_free): Doc.
18113 (gst_plugin_load_file): Doc updates.
18115 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18116 accessors returning refcounted objects, return a ref.
18118 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18119 accessor for caps. IDEMPOTENCE. Oh yes.
18121 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18123 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18125 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18126 (_gst_debug_register_funcptr):
18127 Add mutex to serialise access to the hash table with
18128 the function pointer => function name string mapping;
18129 make that hash table static scope (#316809).
18131 * gst/registries/.cvsignore:
18132 Remove left-over file.
18134 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18136 * docs/pwg/appendix-porting.xml:
18137 And something about newsegment events and caps-on-buffers to
18138 the porting guide (feel free to improve).
18140 2005-09-21 Andy Wingo <wingo@pobox.com>
18142 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18143 data and event probes on the same pad.
18144 (test_buffer_probe_once): Test that removing probes from within
18145 the probe functions works.
18147 2005-09-21 Andy Wingo <wingo@pobox.com>
18149 * check/gst/gstutils.c: New file.
18150 (test_buffer_probe_n_times): A simple buffer probe test. More to
18151 come, foolios.
18153 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18154 have-data::buffer, not have-data.
18155 (gst_pad_add_event_probe): Likewise for have-data::event.
18156 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18157 peer' isn't quite right yet though.
18158 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18159 (gst_pad_remove_data_probe): Change to take the guint handler_id
18160 as their arg, not the function+data, which is more glib-like.
18162 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18163 the signal emission to indicate if the data is a buffer or an
18164 event.
18165 (gst_pad_get_type): Initialize buffer and event quarks.
18166 (gst_pad_class_init): have-data is now a detailed signal, yes it
18167 is.
18169 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18171 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18172 * gst/gstutils.c: (gst_util_set_value_from_string),
18173 (gst_util_set_object_arg):
18174 Don't put functional code in g_return_if_fail() or
18175 g_return_val_if_fail() statements, otherwise things will
18176 break when G_DISABLE_CHECKS is defined during compilation.
18178 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18180 * docs/gst/tmpl/.cvsignore:
18181 * docs/gst/tmpl/gstvalue.sgml:
18182 * gst/gstvalue.c:
18183 * gst/gstvalue.h:
18184 inlied another one and added some obvious docs
18186 2005-09-21 Wim Taymans <wim@fluendo.com>
18188 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18189 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18190 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18191 (gst_fdsrc_get_property), (gst_fdsrc_create):
18192 * gst/elements/gstfdsrc.h:
18193 Properly implement fdsrc. Removed signal and timeout,
18194 better implemented somewhere else.
18196 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18198 * docs/gst/tmpl/.cvsignore:
18199 * docs/gst/tmpl/gstimplementsinterface.sgml:
18200 * gst/gstinterface.c:
18201 inlined more docs
18203 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18205 * docs/gst/gstreamer-sections.txt:
18206 * docs/gst/tmpl/.cvsignore:
18207 * docs/gst/tmpl/gstenumtypes.sgml:
18208 remove obsolete doc file
18210 2005-09-21 David Schleef <ds@schleef.org>
18212 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18213 little beer, fix a little leak.
18215 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18217 * docs/gst/gstreamer-docs.sgml:
18218 * docs/gst/gstreamer-sections.txt:
18219 * docs/gst/tmpl/.cvsignore:
18220 * gst/Makefile.am:
18221 * gst/gst.h:
18222 * gst/gstbin.c:
18223 * gst/gstelement.h:
18224 * gst/gstindex.c: (gst_index_class_init):
18225 * gst/gstindex.h:
18226 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18227 (gst_index_factory_class_init), (gst_index_factory_init),
18228 (gst_index_factory_finalize), (gst_index_factory_new),
18229 (gst_index_factory_destroy), (gst_index_factory_find),
18230 (gst_index_factory_create), (gst_index_factory_make):
18231 * gst/gstindexfactory.h:
18232 * gst/gstpluginfeature.c:
18233 * gst/gstpluginfeature.h:
18234 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18235 more docs inlined, splitted gstindex.{c,h}
18237 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18239 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18240 fix a leak
18242 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18244 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18245 Set sync to FALSE by default.
18247 2005-09-20 Wim Taymans <wim@fluendo.com>
18249 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18250 (gst_base_sink_init):
18251 Make sync property settable from subclass.
18253 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18254 (gst_fake_sink_change_state):
18255 Set sync to FALSE by default.
18257 2005-09-20 Wim Taymans <wim@fluendo.com>
18259 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18260 * tools/gst-launch.c: (main):
18261 The timeout handler should have lower priority than the source
18262 so we don't timeout before popping a message with 0 timeout.
18263 Dump error messages after failed state change.
18265 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18267 * tools/gst-inspect.c: (print_element_properties_info):
18268 Fix two typos.
18270 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18272 * check/gst/gstevent.c:
18273 * gst/elements/gstfakesink.c:
18274 * gst/elements/gstfakesink.h:
18275 remove the sync property from fakesink.
18276 has the side effect of setting sync TRUE
18277 for fakesink, which is a change. Anyone who knows how
18278 to fix this nicely in a GObject-y way, feel free.
18280 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18282 * docs/gst/gstreamer-docs.sgml:
18283 remove probe refsection
18285 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18287 * check/Makefile.am:
18288 disable valgrinding the controller test again
18289 * docs/gst/gstreamer-sections.txt:
18290 update for api-changes
18292 2005-09-20 Wim Taymans <wim@fluendo.com>
18294 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18295 (gst_base_sink_set_property), (gst_base_sink_get_property),
18296 (gst_base_sink_do_sync):
18297 * gst/base/gstbasesink.h:
18298 Added sync property to basesink to disable clock sync.
18300 2005-09-20 Andy Wingo <wingo@pobox.com>
18302 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18303 eating the caller's refcount.
18305 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18306 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18307 refcount.
18309 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18310 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18311 of GLib 2.8 public, so we can know which refcount to check in
18312 tests.
18314 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18315 (gst_object_init): Only set the gst refcount if we're going ahead
18316 with the refcount hack.
18318 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18320 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18321 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18322 more leaks plumbed, added more debug-logging
18323 * gst/gstmacros.h:
18324 whitespace fix
18326 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18328 * gst/gstmessage.c:
18329 remove include of gstmemchunk.h
18331 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18333 * gst/gstclock.c: (_gst_clock_id_free):
18334 Commit from the Political Party For More Atomic CVS Commits,
18335 so that people don't waste too much of their day fishing
18336 out obvious leaks out of massive commits.
18337 Oh, and fix a pretty damn obvious leak in the memchunk
18338 removal code.
18340 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18342 * check/Makefile.am:
18343 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18344 plug mem-leak, re-add to valgrindable tests
18346 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18348 * gst/gstplugin.h:
18349 unbreak the build for those who have chronic arthritis
18350 and typing "make check" is just too taxing on the hands
18352 2005-09-20 Andy Wingo <wingo@pobox.com>
18354 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18355 really want it out, you should fix plugins at the same time.
18357 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18359 * configure.ac:
18360 * docs/gst/gstreamer-sections.txt:
18361 * gst/gstobject.c:
18362 added missing symbols to api docs
18363 disable ref-count hack if we have glib >= 2.8
18365 2005-09-19 David Schleef <ds@schleef.org>
18367 * docs/gst/Makefile.am: Ignore a few more internal headers
18368 * docs/gst/gstreamer-docs.sgml: Remove old sections
18369 * docs/gst/gstreamer-sections.txt: Remove old sections
18370 * docs/gst/tmpl/gstobject.sgml: update
18371 * docs/gst/tmpl/gstplugin.sgml: update
18372 * docs/gst/tmpl/gstpluginfeature.sgml: update
18373 * docs/random/ds/0.9-suggested-changes: update.
18374 * gst/Makefile.am: remove memchunk and trashstack, since they're
18375 not used.
18376 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18377 * gst/gst.h: don't include some headers
18378 * gst/gstchildproxy.c: add gstmarshal.h
18379 * gst/gstclock.c: Don't use memchunks
18380 * gst/gstminiobject.c: Add some docs
18381 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18382 * gst/gstobject.h: same
18383 * gst/gstplugin.c: include gstmacros.h
18384 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18385 * gst/gstquery.c: don't use memchunks
18386 * gst/gstregistry.c: rename gst_registry_deinit()
18387 * gst/gstregistry.h: same
18389 2005-09-19 David Schleef <ds@schleef.org>
18391 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18392 * docs/libs/gstreamer-libs-sections.txt:
18393 * docs/libs/tmpl/gstgetbits.sgml:
18394 * docs/libs/tmpl/gstputbits.sgml:
18396 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18398 * win32/gstenumtypes.c:
18399 * win32/gstenumtypes.h:
18400 Update.
18402 2005-09-19 Wim Taymans <wim@fluendo.com>
18404 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18405 Automatically PAUSE and RESUME a pipeline when a flushing seek
18406 is performed.
18408 2005-09-19 Andy Wingo <wingo@pobox.com>
18410 * gst/gstregistry.h: Spacing fixen.
18412 2005-09-19 Wim Taymans <wim@fluendo.com>
18414 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18415 Handle state change failure more correctly.
18417 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18419 * check/Makefile.am:
18420 * check/pipelines/cleanup.c: (run_pipeline):
18421 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18422 (GST_START_TEST):
18423 enable cleanup again after fixing the leak
18424 * docs/README:
18425 some more info on docs
18427 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18429 * check/Makefile.am:
18430 re-enable tests now that leaks are plugged
18431 * check/gst/gst.c:
18432 * check/gst/gstbin.c:
18433 * check/gst/gstpipeline.c:
18434 add some more tests while fixing leaks
18435 * common/check.mak:
18436 make sure binaries are uptodate when valgrinding/gdbing
18437 * gst/gst.c:
18438 * gst/gstelementfactory.c:
18439 remove a ref too many, and add a FIXME for when we get
18440 round to disposing of classes
18441 * gst/gstplugin.c:
18442 fix the refcounting when loading a plugin from a file and
18443 the code pretends that the pointer is the same even though
18444 of course it can change
18445 * gst/gstpluginfeature.c:
18446 unref plugins marked cached (a bit confusing as a name)
18447 as the docs state should be done
18448 various doc additions to explain refcounting
18449 * gst/gstregistry.c:
18450 * gst/gstregistryxml.c:
18451 debugging
18453 2005-09-19 Wim Taymans <wim@fluendo.com>
18455 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18456 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18457 (send_messages), (GST_START_TEST), (gstbus_suite):
18458 * check/gst/gstpipeline.c: (GST_START_TEST):
18459 * check/pipelines/cleanup.c: (run_pipeline):
18460 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18461 (GST_START_TEST):
18462 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18463 (gst_bus_source_check), (gst_bus_source_dispatch),
18464 (gst_bus_create_watch), (gst_bus_add_watch_full),
18465 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18466 * gst/gstbus.h:
18467 * tools/gst-launch.c: (event_loop):
18468 * tools/gst-md5sum.c: (event_loop):
18469 GstBusHandler -> GstBusFunc, return value has the same meaning as
18470 any other GSource (FALSE == remove source).
18471 _add_watch() and _add_watch_full() now take a MessageType mask to
18472 only handle specific types of messages.
18473 _poll() returns the GstMessage instead of the message type to avoid
18474 race conditions.
18475 _have_pending() takes a MessageType mask now too.
18476 Added testsuite for multiple bus watches.
18477 Fix testsuites and applications for new bus API.
18479 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18481 * check/Makefile.am:
18482 mark a bunch of the tests as to fix until we fix them
18484 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18486 * common/check.mak:
18487 use GST_PLUGIN settings for valgrind tests as well, so we're
18488 valgrinding the correct thing
18489 * gst/gst.c: (init_post):
18490 plug another leak
18492 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18494 * gst/gst.c: (init_post), (gst_deinit):
18495 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18496 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18497 * gst/gstindex.c: (gst_index_factory_class_init),
18498 (gst_index_factory_finalize):
18499 * gst/gstobject.c: (gst_object_dispose):
18500 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18501 (gst_plugin_load_file), (gst_plugin_desc_free):
18502 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18503 (gst_plugin_feature_finalize):
18504 * gst/gstregistry.c: (gst_registry_class_init),
18505 (gst_registry_init), (gst_registry_finalize),
18506 (gst_registry_get_default), (gst_registry_deinit):
18507 * gst/gstregistry.h:
18508 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18509 various cleanups and memleak plugging. make valgrind is happy now.
18511 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18513 * common/check.mak:
18514 add a check-valgrind target
18516 2005-09-18 David Schleef <ds@schleef.org>
18518 * tools/gst-inspect.c: Revert the GOption code.
18520 2005-09-17 David Schleef <ds@schleef.org>
18522 * check/Makefile.am: Fix environment variables.
18523 * check/gst/gstplugin.c: Fix for API changes.
18524 * tools/gst-inspect.c: Fix for API changes.
18525 * tools/gst-xmlinspect.c: Fix for API changes.
18526 * gst/gstelementfactory.c:
18527 * gst/gstplugin.c:
18528 * gst/gstplugin.h:
18529 * gst/gstpluginfeature.c:
18530 * gst/gstpluginfeature.h:
18531 * gst/gstregistry.c:
18532 * gst/gstregistry.h:
18533 * gst/gstregistryxml.c:
18534 * gst/gsttypefind.c:
18535 * gst/gsttypefindfactory.c:
18536 * gst/indexers/gstfileindex.c:
18537 * gst/indexers/gstmemindex.c:
18538 * gst/schedulers/Makefile.am:
18539 Change registry to keep track of both plugins and features,
18540 removing the feature tracking from plugins themselves.
18542 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18544 * check/Makefile.am:
18545 * tools/gst-register.1.in:
18546 remove gst-register
18548 2005-09-15 David Schleef <ds@schleef.org>
18550 * check/gst/gstplugin.c:
18551 * gst/gstelementfactory.c:
18552 * gst/gstplugin.c:
18553 * gst/gstpluginfeature.c:
18554 * gst/gstregistry.c:
18555 Getting tired of debugging. Disabled all the unreffing of
18556 plugins and features, which fixes the segfaults, but of
18557 course leaks like crazy. At least playbin works.
18559 2005-09-15 David Schleef <ds@schleef.org>
18561 * check/gst/gstplugin.c: (register_check_elements),
18562 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18563 More testing
18564 * gst/elements/gsttypefindelement.c: Fix refcounting.
18565 * gst/gsttypefind.c:
18566 * gst/gsttypefindfactory.c:
18567 * gst/gsttypefindfactory.h:
18569 2005-09-15 David Schleef <ds@schleef.org>
18571 * gst/gstindex.c: get refcounting correct.
18572 * gst/gstregistry.c: Handle the case where a feature/plugin is
18573 not found.
18575 2005-09-15 David Schleef <ds@schleef.org>
18577 * check/Makefile.am:
18578 * check/gst/gstplugin.c: Add test
18579 * gst/gstplugin.c: Fix problems noticed by testsuite
18580 * gst/gstplugin.h:
18581 * gst/gstregistry.c:
18582 * gst/gstregistry.h:
18584 2005-09-15 David Schleef <ds@schleef.org>
18586 * gst/gstplugin.c: Implement semi-decent recounting and locking
18587 in plugins and plugin features.
18588 * gst/gstplugin.h:
18589 * gst/gstpluginfeature.c:
18590 * gst/gstpluginfeature.h:
18591 * gst/gstregistry.c:
18593 2005-09-15 Michael Smith <msmith@fluendo.com>
18595 * gst/gstregistry.c: (gst_registry_get_feature_list):
18596 Implement this. Makes oggdemux work; decodebin still broken.
18598 2005-09-14 David Schleef <ds@schleef.org>
18600 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18601 #316076)
18602 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18603 * gst/check/Makefile.am:
18604 * libs/gst/controller/Makefile.am:
18605 * libs/gst/dataprotocol/Makefile.am:
18607 2005-09-14 David Schleef <ds@schleef.org>
18609 * configure.ac: Remove getbits library. Nothing uses it, and
18610 it should be in something like liboil if someone did want
18611 to use it.
18612 * libs/gst/Makefile.am:
18613 * libs/gst/getbits/Makefile.am:
18614 * libs/gst/getbits/gbtest.c:
18615 * libs/gst/getbits/getbits.c:
18616 * libs/gst/getbits/getbits.h:
18617 * libs/gst/getbits/gstgetbits_generic.c:
18618 * libs/gst/getbits/gstgetbits_i386.s:
18619 * libs/gst/getbits/gstgetbits_inl.h:
18621 2005-09-14 David Schleef <ds@schleef.org>
18623 * gst/Makefile.am: Dist glib-compat.h
18625 2005-09-14 David Schleef <ds@schleef.org>
18627 * configure.ac: Remove gst/registries, since it's no longer used.
18628 * gst/registries/Makefile.am:
18629 * gst/registries/gstlibxmlregistry.c:
18630 * gst/registries/gstlibxmlregistry.h:
18631 * gst/registries/gstxmlregistry.c:
18632 * gst/registries/gstxmlregistry.h:
18633 * gst/registries/registrytest.c:
18635 2005-09-14 David Schleef <ds@schleef.org>
18637 * gst/glib-compat.h:
18638 * gst/gstregistryxml.c:
18639 Convergence is near. Seriously.
18641 2005-09-14 David Schleef <ds@schleef.org>
18643 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18644 * gst/glib-compat.h:
18645 Attempt #4 to appease the buildbots.
18647 2005-09-14 David Schleef <ds@schleef.org>
18649 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18650 Attempt #3.
18652 2005-09-14 David Schleef <ds@schleef.org>
18654 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18655 Attempt #2.
18657 2005-09-14 David Schleef <ds@schleef.org>
18659 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18660 the new functions.
18662 2005-09-14 David Schleef <ds@schleef.org>
18664 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18665 * gst/glib-compat.h: Add some functions that are in newer versions
18666 of glib than we care to require.
18667 * gst/gstregistryxml.c: Use them.
18669 2005-09-14 David Schleef <ds@schleef.org>
18671 * po/POTFILES.in: remove gst-register.c
18673 2005-09-14 David Schleef <ds@schleef.org>
18675 * docs/gst/gstreamer-docs.sgml:
18676 * docs/gst/gstreamer-sections.txt:
18677 * docs/gst/gstreamer.types:
18678 * docs/gst/tmpl/gstelement.sgml:
18679 * docs/gst/tmpl/gstplugin.sgml:
18680 * docs/gst/tmpl/gstpluginfeature.sgml:
18681 Documentation updates for registry changes.
18683 2005-09-14 David Schleef <ds@schleef.org>
18685 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18686 because we don't require glib-2.8.
18688 2005-09-14 David Schleef <ds@schleef.org>
18690 * gst/gstregistryxml.c: Added. Essentially moved out of the
18691 registries directory.
18693 2005-09-14 David Schleef <ds@schleef.org>
18695 * check/Makefile.am:
18696 * check/generic/states.c:
18697 * gst/Makefile.am:
18698 * gst/gst.c:
18699 * gst/gst.h:
18700 * gst/gst_private.h:
18701 * gst/gstelementfactory.c:
18702 * gst/gstindex.c:
18703 * gst/gstinfo.c:
18704 * gst/gstplugin.c:
18705 * gst/gstplugin.h:
18706 * gst/gstpluginfeature.c:
18707 * gst/gstpluginfeature.h:
18708 * gst/gstregistry.c:
18709 * gst/gstregistry.h:
18710 * gst/gstregistrypool.c: remove
18711 * gst/gstregistrypool.h: remove
18712 * gst/gsttypefind.c:
18713 * gst/gsttypefindfactory.c:
18714 * gst/gsturi.c:
18715 * tools/Makefile.am:
18716 * tools/gst-compprep.c:
18717 * tools/gst-inspect.c:
18718 * tools/gst-register.c: remove
18719 * tools/gst-xmlinspect.c:
18720 Registry rewrite. Changes registry from being a file created
18721 by a tool into a simple cache file created automatically by
18722 libgstreamer. Removed gst-register (because it's no longer
18723 needed). Remove registry pools, because we only have one
18724 registry implementation (XML). Fix up other subsystems as
18725 necessary.
18727 2005-09-13 Michael Smith <msmith@fluendo.com>
18729 * gst/gstconfig.h.in:
18730 Don't Use windows linking attributes for MinGW. Fixes #316157
18732 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18734 * gst/gstutils.c: (set_state_async_thread_func),
18735 (gst_element_set_state_async):
18736 Apparently people think it's better if this function doesn't
18737 try to set the state to whatever state was asked for on the first
18738 call to this function for any object. Seriously.
18740 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18742 * check/gst/gstpipeline.c: (GST_START_TEST):
18743 * docs/gst/gstreamer-sections.txt:
18744 * gst/gstutils.c: (set_state_async_thread_func),
18745 (gst_element_set_state_async):
18746 * gst/gstutils.h:
18747 add a "gst_element_set_state_async" method that
18748 sets the state and starts a thread to make sure the state
18749 change completes as best as it can
18751 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18753 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18754 codify design+behaviour in testsuite after discussion
18756 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18758 * docs/gst/tmpl/gstelement.sgml:
18759 * docs/manual/appendix-quotes.xml:
18760 add a quote
18761 * gst/gstelement.c: (gst_element_set_state):
18762 add some debug
18764 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18766 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18767 (gst_base_transform_prepare_output_buf),
18768 (gst_base_transform_handle_buffer):
18769 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18770 (gst_capsfilter_prepare_buf):
18771 Remove the requirement for sub-classes to call the parent
18772 implementation of prepare_output_buffer with a wrapper function.
18774 * gst/gsttaglist.h:
18775 * gst/gsttagsetter.h:
18776 Fix #define wrapper
18778 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18780 * docs/gst/gstreamer-sections.txt:
18781 more doc cleanups
18783 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18785 * docs/gst/gstreamer-sections.txt:
18786 * docs/gst/tmpl/gstelement.sgml:
18787 * docs/gst/tmpl/gstplugin.sgml:
18788 * gst/gstminiobject.c:
18789 * gst/gstvalue.h:
18790 docs now stop throwing warnings
18792 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18794 * docs/gst/gstreamer-sections.txt:
18795 * docs/gst/gstreamer.types:
18796 * docs/gst/tmpl/gstpad.sgml:
18797 * docs/gst/tmpl/gsttypes.sgml:
18798 * gst/base/gstadapter.h:
18799 * gst/base/gstbasesink.h:
18800 * gst/base/gstbasesrc.h:
18801 * gst/gstbin.h:
18802 * gst/gstbuffer.h:
18803 * gst/gstbus.h:
18804 * gst/gstcaps.h:
18805 * gst/gstclock.h:
18806 * gst/gstelement.h:
18807 * gst/gstevent.h:
18808 * gst/gstmessage.h:
18809 * gst/gstpad.h:
18810 * gst/gststructure.c:
18811 * gst/registries/gstlibxmlregistry.h:
18812 various documentation fixes
18814 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18816 * docs/gst/gstreamer-sections.txt:
18817 * docs/gst/tmpl/gstvalue.sgml:
18818 rearrange gstvalue section
18819 * gst/gstutils.c: (gst_element_state_get_name):
18820 NONE -> VOID
18821 * gst/gstvalue.c: (_gst_value_initialize):
18822 * gst/gstvalue.h:
18823 doc updates
18825 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18827 * check/gst-libs/controller.c:
18828 Header include fix.
18829 * gst/base/gstbasetransform.c:
18830 (gst_base_transform_default_prepare_buf),
18831 (gst_base_transform_handle_buffer):
18832 * gst/base/gstbasetransform.h:
18833 Some more basetransform changes and fixes to enable sub-classes
18834 that modify buffer metadata only.
18835 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18836 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18837 (gst_capsfilter_prepare_buf):
18838 If the output pad has fixed allowed caps and input buffers
18839 don't have any, set the fixed caps on outgoing buffers.
18841 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18842 * check/elements/identity.c: (GST_START_TEST):
18843 Make the error a little clearer when the test fails because
18844 identity made a copy of the buffer.
18845 * docs/gst/gstreamer-sections.txt:
18846 New symbols in gstbasetransform.h
18847 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18848 (gst_base_transform_init), (gst_base_transform_transform_size),
18849 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18850 (gst_base_transform_default_prepare_buf),
18851 (gst_base_transform_get_unit_size),
18852 (gst_base_transform_buffer_alloc),
18853 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18854 (gst_base_transform_change_state),
18855 (gst_base_transform_set_passthrough),
18856 (gst_base_transform_set_in_place),
18857 (gst_base_transform_is_in_place):
18858 * gst/base/gstbasetransform.h:
18859 Change BaseTransform to separate in_place operate from same_caps
18860 output. in_place implies that the element can perform the transform
18861 on incoming buffers in-place, even if the caps on the output are
18862 different.
18863 Sub-class elements can now implement special buffer allocation
18864 methods for outgoing buffers if they wish to.
18865 Big documentation addition.
18866 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18867 * gst/elements/gstelements.c:
18868 Changes for basetransform modifications.
18869 * gst/elements/Makefile.am:
18870 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18871 Compile fix. Extra debug output.
18873 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18875 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18876 (gst_pad_suite):
18877 add tests for valid pad naming
18878 * gst/check/gstcheck.c: (gst_check_log_message_func),
18879 (gst_check_log_critical_func):
18880 add ASSERT_WARNING
18881 remove printing of code, it is fragile when the code contains
18882 % and the line number is enough info
18883 * gst/check/gstcheck.h:
18884 * gst/gstpad.c: (gst_pad_template_new):
18885 fix memleaks
18887 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18889 * configure.ac:
18890 say what CHECK flags we use
18891 * docs/libs/gstreamer-libs.types:
18892 * libs/gst/controller/Makefile.am:
18893 * libs/gst/controller/gst-controller.c:
18894 * libs/gst/controller/gst-controller.h:
18895 * libs/gst/controller/gst-helper.c:
18896 * libs/gst/controller/gst-interpolation.c:
18897 * libs/gst/controller/gstcontroller.c:
18898 * libs/gst/controller/gsthelper.c:
18899 * libs/gst/controller/gstinterpolation.c:
18900 * tools/gst-inspect.c: (print_plugin_info):
18901 we don't use dashes in header names
18903 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18905 * check/Makefile.am:
18906 * check/gst/.cvsignore:
18907 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18908 (gst_pipeline_suite), (main):
18909 adding a test for pipelines and state changes
18910 * gst/gstutils.c: (get_state_func):
18911 add some debugging
18912 * gstreamer.spec.in:
18913 fix up spec file
18915 2005-09-08 Michael Smith <msmith@fluendo.com>
18917 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18918 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18919 (gst_file_src_is_seekable), (gst_file_src_get_size),
18920 (gst_file_src_start):
18921 * gst/elements/gstfilesrc.h:
18922 Various fixes for unseekable, unmmapable, and non-normal files, so
18923 that fallback to read() rather than mmap() works.
18924 * gst/gstevent.c: (gst_event_new_newsegment):
18925 Allow newsegment events with segment_start == segment_end, as will
18926 correctly happen if you use filesrc on a zero-size file, for
18927 example.
18929 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18931 * gst/gstplugin.c: (gst_plugin_load_file):
18932 Call g_module_close when we don't load the module
18934 * gst/registries/gstlibxmlregistry.c:
18935 (gst_xml_registry_get_property):
18936 Port leak fix from 0.8
18938 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18940 * docs/gst/gstreamer-docs.sgml:
18941 * docs/gst/tmpl/.cvsignore:
18942 * docs/gst/tmpl/gsttrace.sgml:
18943 * docs/gst/tmpl/gsttrashstack.sgml:
18944 * gst/Makefile.am:
18945 * gst/gst.h:
18946 * gst/gstelement.h:
18947 * gst/gstevent.h:
18948 * gst/gstmessage.c:
18949 * gst/gstmessage.h:
18950 * gst/gsttag.c:
18951 * gst/gsttag.h:
18952 * gst/gsttaginterface.c:
18953 * gst/gsttaginterface.h:
18954 * gst/gsttaglist.c:
18955 * gst/gsttaglist.h:
18956 * gst/gsttagsetter.c:
18957 * gst/gsttagsetter.h:
18958 * gst/gsttrace.c:
18959 * gst/gsttrace.h:
18960 * gst/gsttrashstack.c:
18961 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18962 inlined docs for gsttrace, gsttrashstack
18964 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18966 * gst/Makefile.am:
18967 * gst/elements/gstbufferstore.h:
18968 * gst/elements/gsttypefindelement.c:
18969 * gst/elements/gsttypefindelement.h:
18970 * gst/gst.h:
18971 * gst/gsttypefind.c:
18972 * gst/gsttypefind.h:
18973 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18974 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18975 (gst_type_find_factory_dispose),
18976 (gst_type_find_factory_unload_thyself),
18977 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18978 (gst_type_find_factory_get_caps),
18979 (gst_type_find_factory_get_extensions),
18980 (gst_type_find_factory_call_function):
18981 * gst/gsttypefindfactory.h:
18982 * gst/registries/gstlibxmlregistry.c:
18983 * gst/registries/gstxmlregistry.c:
18984 splitted gsttypefind into gsttypefind, gsttypefindfactory
18986 2005-09-07 Andy Wingo <wingo@pobox.com>
18988 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18989 condition whereby the pad's task function is entered before the
18990 pad_mode variable was set.
18992 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18994 * gst/gstpad.c: (gst_pad_alloc_buffer):
18995 Catch misbehaving pad_alloc functions that don't
18996 set up caps and do it for them.
18998 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19000 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19001 test for pipe!=NULL
19002 * docs/gst/tmpl/.cvsignore:
19003 * docs/gst/tmpl/gstmemchunk.sgml:
19004 * docs/gst/tmpl/gstparse.sgml:
19005 * docs/gst/tmpl/gsttaglist.sgml:
19006 * docs/gst/tmpl/gsttagsetter.sgml:
19007 * docs/gst/tmpl/gsttypefind.sgml:
19008 * docs/gst/tmpl/gsttypefindfactory.sgml:
19009 * gst/gstmemchunk.c:
19010 * gst/gstparse.c:
19011 * gst/gsttag.c:
19012 * gst/gsttaginterface.c:
19013 * gst/gsttypefind.c:
19014 * gst/gsttypefind.h:
19015 inlined more docs
19017 === release 0.9.2 ===
19019 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19021 * NEWS:
19022 * RELEASE:
19023 * configure.ac:
19024 releasing 0.9.2, "South"
19026 2005-09-05 Andy Wingo <wingo@pobox.com>
19028 * gst/registries/gstxmlregistry.h:
19029 * gst/registries/gstxmlregistry.c: Um... resurrect...
19031 * gst/registries/gstxmlregistry.h:
19032 * gst/registries/gstxmlregistry.c: and update to newer API.
19033 Incidentally they should be a bit faster now that they don't have
19034 to parse the caps.
19036 2005-09-05 Andy Wingo <wingo@pobox.com>
19038 * gst/registries/gstxmlregistry.h:
19039 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19040 replaced by the libxml registry a while back
19042 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19044 * docs/gst/tmpl/gstplugin.sgml:
19045 * gst/elements/gstelements.c:
19046 * gst/gst.c:
19047 * gst/gstplugin.c: (gst_plugin_register_func),
19048 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19049 (gst_plugin_get_source):
19050 * gst/gstplugin.h:
19051 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19052 (gst_xml_registry_save_plugin):
19053 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19054 (gst_xml_registry_save_plugin):
19055 * tools/gst-inspect.c: (print_plugin_info):
19056 add a "source" plugin description field, to represent the source
19057 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19058 will set it to PACKAGE, which is automake's idea of the name of
19059 the source project.
19061 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19063 * Makefile.am:
19064 * autogen.sh:
19065 * configure.ac:
19066 * docs/Makefile.am:
19067 * docs/faq/Makefile.am:
19068 * docs/gst/tmpl/gstelement.sgml:
19069 * docs/gst/tmpl/gsttypes.sgml:
19070 * docs/htmlinstall.mak:
19071 * docs/manual/Makefile.am:
19072 * docs/pwg/Makefile.am:
19073 reorganize doc build a little
19074 split out docbook and gtk-doc stuff
19075 have two separate --enable's and enable them through autogen
19076 but disable by default in configure (to be similar to other
19077 projects)
19078 * gstreamer.spec.in:
19079 clean up docs install
19080 * po/af.po:
19081 * po/az.po:
19082 * po/ca.po:
19083 * po/cs.po:
19084 * po/de.po:
19085 * po/en_GB.po:
19086 * po/fr.po:
19087 * po/it.po:
19088 * po/nb.po:
19089 * po/nl.po:
19090 * po/ru.po:
19091 * po/sq.po:
19092 * po/sr.po:
19093 * po/sv.po:
19094 * po/tr.po:
19095 * po/uk.po:
19096 * po/vi.po:
19097 translation updates
19099 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19101 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19102 Add comment.
19104 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19105 (gst_fake_sink_change_state):
19106 Make state change function thread-safe.
19108 * gst/gstpad.c: (gst_pad_alloc_buffer):
19109 Set offset on generic buffer allocated by fallback.
19111 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19113 * docs/gst/gstreamer-sections.txt:
19114 * docs/gst/tmpl/gstelement.sgml:
19115 * gst/gstpad.c:
19116 * libs/gst/controller/gst-controller.c:
19117 (gst_controlled_property_set_interpolation_mode),
19118 (gst_controlled_property_new),
19119 (gst_controller_find_controlled_property):
19120 run the wingo-magic script against the docs
19122 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19124 * docs/gst/gstreamer-docs.sgml:
19125 * docs/gst/gstreamer-sections.txt:
19126 * docs/gst/tmpl/.cvsignore:
19127 * docs/gst/tmpl/gstelementdetails.sgml:
19128 * docs/gst/tmpl/gstelementfactory.sgml:
19129 * gst/gst.c:
19130 * gst/gstbus.c:
19131 * gst/gstelementfactory.c:
19132 * gst/gstelementfactory.h:
19133 merged elementdetails docs into elementfactory docs
19134 inlined both
19136 2005-09-02 Andy Wingo <wingo@pobox.com>
19138 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19139 consider this enum an enum and not a flags.
19141 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19143 * docs/gst/gstreamer-docs.sgml:
19144 * docs/gst/tmpl/.cvsignore:
19145 * docs/gst/tmpl/gstghostpad.sgml:
19146 * docs/gst/tmpl/gstiterator.sgml:
19147 * docs/gst/tmpl/gstmacros.sgml:
19148 * docs/gst/tmpl/gstrealpad.sgml:
19149 * docs/gst/tmpl/gstregistry.sgml:
19150 * docs/gst/tmpl/gstregistrypool.sgml:
19151 * docs/gst/tmpl/gststructure.sgml:
19152 * docs/gst/tmpl/gstsystemclock.sgml:
19153 * docs/gst/tmpl/gsttrace.sgml:
19154 * gst/gstghostpad.c:
19155 * gst/gstmacros.h:
19156 * gst/gstmemchunk.c:
19157 * gst/gstmemchunk.h:
19158 * gst/gstqueue.c:
19159 * gst/gstregistry.c:
19160 * gst/gstregistrypool.c:
19161 * gst/gststructure.c:
19162 * gst/gstsystemclock.c:
19163 more docs inlined
19165 2005-09-02 Andy Wingo <wingo@pobox.com>
19167 * gst/gstelement.h (GstState): Renamed from GstElementState,
19168 changed to be a normal enum instead of flags.
19169 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19170 munged to be GST_STATE_CHANGE_*.
19171 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19172 work with the new state representation.
19173 (GstStateChange): New enumeration of possible state transitions.
19174 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19175 (GstElementClass::change_state): Pass the GstStateChange along as
19176 an argument. Helps language bindings, so they don't have to use
19177 tricky lock-needing macros like GST_STATE_CHANGE ().
19179 * scripts/update-states (file): New script. Run it on a file to
19180 update it for state naming and API changes. Updates files in
19181 place.
19183 * All files updated for the new API.
19185 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19187 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19188 * gst/gstutils.c: (gst_util_set_value_from_string),
19189 (gst_util_set_object_arg):
19190 fix a bunch of unchecked return values
19191 * tools/gst-complete.c: (main):
19192 * gstreamer.spec.in:
19193 clean up a little
19195 2005-09-01 Wim Taymans <wim@fluendo.com>
19197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19198 (gst_base_sink_event), (gst_base_sink_do_sync),
19199 (gst_base_sink_handle_event):
19200 * gst/base/gstbasesink.h:
19201 Handle newsegments more correctly.
19203 * gst/gstbus.c:
19204 Fix docs.
19206 * gst/gstevent.c: (gst_event_new_newsegment):
19207 A newsegment cannot have a start_time of -1
19209 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19211 * win32/gstenumtypes.c:
19212 * win32/gstenumtypes.h:
19213 Update
19215 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19217 * libs/gst/controller/gst-controller.c:
19218 (gst_controlled_property_set_interpolation_mode),
19219 (gst_controlled_property_new):
19220 fixed boolean again
19222 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19224 * docs/faq/gst-uninstalled:
19225 add -good
19226 * gst/gstevent.c:
19227 * gst/gstevent.h:
19228 remove wrong docs
19229 * gst/gstutils.c: (gst_element_link_filtered):
19230 * gst/gstutils.h:
19231 add gst_element_link_filtered
19233 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19235 * docs/gst/gstreamer-docs.sgml:
19236 * docs/gst/gstreamer-sections.txt:
19237 * docs/gst/tmpl/.cvsignore:
19238 * docs/gst/tmpl/gsterror.sgml:
19239 * docs/gst/tmpl/gstfilter.sgml:
19240 * docs/gst/tmpl/gsturihandler.sgml:
19241 * docs/gst/tmpl/gsturitype.sgml:
19242 * docs/gst/tmpl/gstutils.sgml:
19243 * docs/gst/tmpl/gstxml.sgml:
19244 * gst/gsterror.c:
19245 * gst/gsterror.h:
19246 * gst/gstfilter.c:
19247 * gst/gsturi.c:
19248 * gst/gsturitype.c:
19249 * gst/gstutils.c:
19250 * gst/gstxml.c:
19251 inlined more docs, fixed double id-ref
19253 2005-08-31 Wim Taymans <wim@fluendo.com>
19255 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19256 (gst_base_transform_handle_buffer):
19257 Passthrough elements don't need the caps as they don't care.
19259 2005-08-31 Wim Taymans <wim@fluendo.com>
19261 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19262 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19263 Don't leak refcounts on buffers.
19265 2005-08-31 Wim Taymans <wim@fluendo.com>
19267 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19268 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19269 (gst_base_transform_chain), (gst_base_transform_change_state):
19270 * gst/base/gstbasetransform.h:
19271 Handle the case where we are not negotiated more gracefully.
19273 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19275 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19276 (gst_file_src_map_region):
19277 Set READONLY flag on mmap'ed buffers, otherwise
19278 gst_buffer_make_writable() won't work properly (#314708).
19280 2005-08-31 Wim Taymans <wim@fluendo.com>
19282 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19283 passthrough elements can even do inplace on non writable
19284 buffers (as they don't touch them).
19286 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19288 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19289 (gst_test_mono_source_set_property),
19290 (gst_test_mono_source_class_init), (GST_START_TEST),
19291 (gst_controller_suite):
19292 more tests (hehe I have the most)
19293 * gst/gstbus.c:
19294 describe popping messages whenusing mulltiple sources
19295 * libs/gst/controller/gst-controller.c:
19296 (gst_controlled_property_set_interpolation_mode),
19297 (gst_controlled_property_new):
19298 * libs/gst/controller/gst-controller.h:
19299 * libs/gst/controller/gst-interpolation.c:
19300 implement boolean properties
19302 2005-08-31 Wim Taymans <wim@fluendo.com>
19304 * gst/gstminiobject.c: (gst_mini_object_ref):
19305 Cannot assert that the refcount has to be positive
19306 since a disposed object can be resurrected.
19308 2005-08-31 Wim Taymans <wim@fluendo.com>
19310 * gst/gstpad.c: (gst_pad_init):
19311 Revert change, need to first fix badly behaving
19312 apps.
19314 2005-08-30 Wim Taymans <wim@fluendo.com>
19316 * check/elements/fakesrc.c: (setup_fakesrc):
19317 * check/elements/identity.c: (setup_identity):
19318 Activate pads before using them.
19320 2005-08-30 Wim Taymans <wim@fluendo.com>
19322 * gst/base/gstadapter.c: (gst_adapter_flush):
19323 Flushing out 0 bytes is ok for this function.
19325 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19326 no newsegment gives a warning and sets the start/stop to
19327 invalid.
19329 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19330 (gst_base_transform_set_passthrough):
19331 Some debug info.
19333 * gst/gstminiobject.c: (gst_mini_object_ref):
19334 Check refcount here too.
19336 * gst/gstpad.c: (gst_pad_init):
19337 Pads are initially flushing and refusing data.
19339 * gst/gstutils.c: (gst_element_link_pads_filtered):
19340 When adding a capsfilter element make sure it has the
19341 same state as the parent bin.
19343 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19345 * docs/gst/tmpl/.cvsignore:
19346 * docs/gst/tmpl/gstformat.sgml:
19347 * docs/gst/tmpl/gstversion.sgml:
19348 * gst/gstbus.h:
19349 * gst/gstformat.c:
19350 * gst/gstformat.h:
19351 * gst/gstversion.h.in:
19352 more docs and two more inlined
19354 2005-08-30 Wim Taymans <wim@fluendo.com>
19356 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19357 Don't sync to clock.
19359 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19361 * docs/gst/gstreamer-sections.txt:
19362 ultral33t func10ns deserve to appear in the docs actually
19363 * docs/gst/tmpl/.cvsignore:
19364 * docs/gst/tmpl/gstcompat.sgml:
19365 * docs/gst/tmpl/gstconfig.sgml:
19366 * gst/check/gstcheck.c:
19367 * gst/gstcompat.h:
19368 * gst/gstconfig.h.in:
19369 inlined more docs
19371 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19373 * docs/gst/tmpl/.cvsignore:
19374 * docs/gst/tmpl/gstquery.sgml:
19375 * docs/gst/tmpl/gstutils.sgml:
19376 * gst/gstquery.c:
19377 * gst/gstquery.h:
19378 inlined and extended docs
19380 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19382 * check/gst-libs/controller.c: (GST_START_TEST),
19383 (gst_controller_suite):
19384 more tests
19385 * docs/gst/tmpl/gstutils.sgml:
19386 * docs/libs/gstreamer-libs-sections.txt:
19387 * docs/libs/tmpl/gstdataprotocol.sgml:
19388 include path fixes
19389 * examples/controller/audio-example.c: (main):
19390 controller example works now
19391 * gst/gstclock.h:
19392 doc fixes
19393 * tools/gst-inspect.c: (print_element_properties_info):
19394 show param spec flags
19396 2005-08-29 Andy Wingo <wingo@pobox.com>
19398 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19400 2005-08-28 Andy Wingo <wingo@pobox.com>
19402 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19403 as having two arguments instead of just one. Allows superclasses
19404 to access information on subclasses -- see the terrible for() loop
19405 in gtype.c:g_type_create_instance for the reason why. All callers
19406 changed.
19408 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19410 * docs/design/part-messages.txt:
19411 update info
19412 * docs/gst/tmpl/.cvsignore:
19413 * docs/gst/tmpl/gstcaps.sgml:
19414 * docs/gst/tmpl/gstclock.sgml:
19415 * gst/gstbus.c:
19416 * gst/gstcaps.c:
19417 * gst/gstcaps.h:
19418 * gst/gstclock.c:
19419 * gst/gstclock.h:
19420 * gst/gstmessage.c:
19421 added descriptions for bus and message
19422 inline caps and clock docs
19424 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19426 * gst/gstmessage.c:
19427 * gst/gstmessage.h:
19428 doc fixes
19430 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19432 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19433 fix div-by-zero
19435 2005-08-26 Andy Wingo <wingo@pobox.com>
19437 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19438 element_set_state's return val.
19439 (test_2_elements): Add test that's been disabled for months.
19441 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19442 can-activate-pull properties.
19444 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19445 can-activate-pull properties. Implement is_seekable so fakesrc can
19446 operate in pull mode.
19448 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19449 properties.
19450 (gst_base_sink_activate, gst_base_sink_activate_pull)
19451 (gst_base_sink_activate_push): Make activation mode choosing work.
19452 Cleanups.
19453 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19454 is right. Make pull mode work. Post an eos before pausing in pull
19455 mode.
19456 (gst_base_sink_change_state): Pay attention to the core's
19457 change_state() return val.
19459 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19460 has-getrange properties. Cleanups.
19462 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19463 has_getrange and replace with can_activate_pull and
19464 can_activate_push.
19466 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19467 locking comments. Remove has_loop, has_chain and replace with
19468 can_activate_pull and can_activate_push.
19470 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19472 * configure.ac:
19473 * examples/Makefile.am:
19474 * examples/metadata/Makefile.am:
19475 * examples/metadata/read-metadata.c: (message_loop),
19476 (have_pad_handler), (make_pipeline), (print_tag), (main):
19477 Add metadata reading example that loops over a list of filenames,
19478 dumping any tags found.
19480 * gst/gstbus.c: (gst_bus_dispose):
19481 * gst/gstelement.c: (gst_element_dispose):
19482 Release a few potentially-held references in dispose.
19484 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19486 * docs/gst/tmpl/gstminiobject.sgml:
19487 do *not* add tmpl/*.sgml files to CVS!
19489 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19491 * libs/gst/bytestream/.cvsignore:
19492 * libs/gst/bytestream/Makefile.am:
19493 * libs/gst/bytestream/adapter.c:
19494 * libs/gst/bytestream/adapter.h:
19495 * libs/gst/bytestream/bytestream.c:
19496 * libs/gst/bytestream/bytestream.h:
19497 * libs/gst/bytestream/filepad.c:
19498 * libs/gst/bytestream/filepad.h:
19499 removing obsolete files
19501 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19503 * docs/gst/gstreamer-docs.sgml:
19504 * docs/libs/gstreamer-libs-docs.sgml:
19505 disabed additional index entries again, as this makes docs-gen just
19506 slow and they aren't useful yet
19507 * docs/libs/gstreamer-libs-sections.txt:
19508 little -section.txt cleanup for libs
19510 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19512 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19513 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19514 fix up some debugging
19515 (gst_base_transform_get_unit_size),
19516 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19517 (gst_base_transform_handle_buffer):
19518 * gst/base/gstbasetransform.h:
19519 handle and store timed NEWSEGMENT events so that subclasses that
19520 calculate time by counting samples have a segment_start time they
19521 need to add to their timestamps - see audioresample
19523 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19525 * gst/gstbin.h:
19526 removed ';' from the end of macro defs
19527 * docs/gst/gstreamer-docs.sgml:
19528 * docs/gst/gstreamer-sections.txt:
19529 * docs/gst/tmpl/.cvsignore:
19530 * gst/gstbus.h:
19531 * gst/gstelement.c: (gst_element_class_init),
19532 (gst_element_set_state), (activate_pads),
19533 (gst_element_save_thyself):
19534 * gst/gstevent.c: (gst_event_new_newsegment):
19535 * gst/gstevent.h:
19536 * gst/gstiterator.c:
19537 * gst/gstiterator.h:
19538 * gst/gstpad.c:
19539 * gst/gstprobe.h:
19540 * gst/gstutils.c: (gst_pad_query_convert):
19541 * gst/gstutils.h:
19542 fixed parameter name mismatches between source, header and docs
19543 added some more docs, resolved the last batch of unused elements in
19544 docs (now someone needs to doc them)
19546 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19548 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19549 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19550 don't walk through the plugins backwards. Where is all this
19551 reversed logic coming from ?
19553 2005-08-25 Wim Taymans <wim@fluendo.com>
19555 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19556 (gst_base_transform_transform_size),
19557 (gst_base_transform_configure_caps),
19558 (gst_base_transform_get_unit_size),
19559 (gst_base_transform_buffer_alloc),
19560 (gst_base_transform_change_state):
19561 * gst/base/gstbasetransform.h:
19562 Cache caps unit_size.
19563 Make sure we cannot negotiate up and downstream at the
19564 same time.
19566 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19568 * gst/gst.c: (init_pre), (init_post):
19569 register the installed plugin path after the env var
19570 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19571 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19572 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19573 directories, so the tests can prefer uninstalled over installed
19575 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19577 * gst/base/gstbasetransform.h:
19578 comment
19579 * gst/gstpad.c:
19580 add to docs
19582 2005-08-25 Wim Taymans <wim@fluendo.com>
19584 * gst/gstbin.c: (bin_bus_handler):
19585 Be a bit more conservative about the posted message.
19587 * gst/gstbus.c: (gst_bus_post):
19588 Some cleanups, warn wrong return values.
19590 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19592 * check/gst/gstbin.c: (GST_START_TEST):
19593 * gst/gstbin.c: (bin_bus_handler):
19594 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19595 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19596 (gst_message_new_warning), (gst_message_new_tag),
19597 (gst_message_new_state_changed), (gst_message_new_segment_start),
19598 (gst_message_new_segment_done), (gst_message_new_custom):
19599 * gst/gstmessage.h:
19600 * tools/gst-launch.c: (event_loop):
19601 * tools/gst-md5sum.c: (event_loop):
19602 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19604 2005-08-25 Wim Taymans <wim@fluendo.com>
19606 * check/generic/states.c: (GST_START_TEST):
19607 Cleanup can be done at the end.
19609 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19610 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19611 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19612 Oh boy.. Thanks for finding this, Thomas.
19614 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19616 * docs/gst/gstreamer.types:
19617 added missing types
19619 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19621 * docs/gst/gstreamer-docs.sgml:
19622 * docs/gst/gstreamer-sections.txt:
19623 * docs/gst/tmpl/.cvsignore:
19624 * gst/gstbin.c:
19625 * gst/gstiterator.c:
19626 * gst/gstutils.c:
19627 * gst/registries/gstxmlregistry.h:
19628 added missing classes and symbols (123 more to go)
19629 removed removed symbols from section file
19630 fixed many doc-comments
19632 2005-08-24 Wim Taymans <wim@fluendo.com>
19634 * check/generic/states.c: (GST_START_TEST):
19635 Make sure all tasks are stopped.
19637 * check/gst/gstbin.c: (GST_START_TEST):
19638 Unref after usage for proper valgrinding.
19640 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19641 Really wait for the task to stop before destroying the
19642 mutex.
19644 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19645 (gst_queue_src_activate_push):
19646 Small cleanups. Don't stop the task when we did not start
19647 it.
19649 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19650 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19651 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19652 (gst_task_join):
19653 * gst/gsttask.h:
19654 Protect the stream lock with the object lock.
19655 Disallow setting the stream lock when running.
19656 Add cleanup_all to wait for the threadpool to finish.
19657 Remove code to autoallocate a mutex if none was provided.
19658 Add _join() to wait for a task to stop.
19659 Protect the thread pool with a global lock.
19661 2005-08-24 Wim Taymans <wim@fluendo.com>
19663 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19664 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19665 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19666 * gst/base/gstbasesink.h:
19667 Handle newsegment events correctly.
19668 Drop buffers out of the segment range.
19670 2005-08-22 Andy Wingo <wingo@pobox.com>
19672 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19673 macro, implements an interface and gstimplementsinterface for a
19674 new type.
19676 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19678 * check/Makefile.am:
19679 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19680 add a test that does a bunch of state changes on elements
19681 needs some fixing for valgrind
19682 * check/states/sinks.c: (gst_object_suite):
19683 whitespace
19684 * gst/gstcaps.h:
19685 add prototype for gst_caps_is_equal_fixed
19686 * gst/gstplugin.c:
19687 * gst/gstregistrypool.c:
19688 doc fixes
19690 2005-08-24 Andy Wingo <wingo@pobox.com>
19692 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19693 convert a negative value. Doesn't make much sense. Mostly this is
19694 here to force callers to ensure -1 maps to -1.
19696 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19698 * docs/pwg/advanced-types.xml:
19699 Well done to Michael for catching my deliberate introduction
19700 of this spelling mistake.
19701 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19702 * gst/gstelement.h:
19703 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19704 unlink pads before removing the element from the bin.
19706 2005-08-24 Andy Wingo <wingo@pobox.com>
19708 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19709 the same thing as GST_DEBUG=*:4.
19710 (parse_debug_level, parse_debug_category): New helper parsers.
19712 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19714 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19715 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19716 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19717 (gst_base_transform_buffer_alloc),
19718 (gst_base_transform_handle_buffer):
19719 use gboolean return values and pointers to size so we can use the
19720 full GST_BUFFER_SIZE range (guint) for buffer sizes
19721 use GstPadDirection for transform_caps
19722 * gst/base/gstbasetransform.h:
19723 rename get_size to get_unit_size since that's what it is
19724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19725 use GstPadDirection for transform_caps
19726 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19727 * gst/gstutils.h:
19728 cleanup and debugging
19730 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19732 * gst/gstelement.c: (gst_element_class_init),
19733 (gst_element_set_state), (activate_pads),
19734 (gst_element_save_thyself):
19735 * tools/gst-compprep.c: (main):
19736 * tools/gst-inspect.c: (print_element_properties_info):
19737 * tools/gst-xmlinspect.c: (print_element_properties):
19738 Fixed long standing mem-leak
19740 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19742 * check/gst/gstbin.c: (GST_START_TEST):
19743 * gst/gstbin.c: (bin_bus_handler):
19744 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19745 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19746 (gst_message_new_warning), (gst_message_new_tag),
19747 (gst_message_new_state_changed), (gst_message_new_segment_start),
19748 (gst_message_new_segment_done), (gst_message_new_custom):
19749 * gst/gstmessage.h:
19750 * tools/gst-launch.c: (event_loop):
19751 * tools/gst-md5sum.c: (event_loop):
19752 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19753 that applications can sensibly post custom messages with references
19754 to their own objects.
19756 2005-08-24 Andy Wingo <wingo@pobox.com>
19758 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19759 already.
19761 2005-08-24 Wim Taymans <wim@fluendo.com>
19763 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19764 (gst_base_transform_transform_caps),
19765 (gst_base_transform_transform_size),
19766 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19767 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19768 (gst_base_transform_handle_buffer):
19769 * gst/base/gstbasetransform.h:
19770 Many fixes and new features added by Thomas. Can now also do
19771 transforms with variable sizes and a custom fixate_caps function.
19773 2005-08-24 Wim Taymans <wim@fluendo.com>
19775 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19776 Some debugging.
19778 * gst/gstclock.h:
19779 Cast to ClockTime before formatting to time.
19781 * gst/gstutils.h:
19782 Cleanups.
19784 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19786 * check/gst-libs/controller.c: (GST_START_TEST),
19787 (gst_controller_suite):
19788 * docs/gst/tmpl/gstcaps.sgml:
19789 * docs/gst/tmpl/gstghostpad.sgml:
19790 * docs/gst/tmpl/gstquery.sgml:
19791 * docs/gst/tmpl/gstutils.sgml:
19792 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19793 (gst_object_sink_values), (gst_object_get_value_arrays),
19794 (gst_object_get_value_array):
19795 gracefully handle helper method calls to objects that are not beeing
19796 controlled, added test case for that
19798 2005-08-23 Wim Taymans <wim@fluendo.com>
19800 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19801 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19802 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19803 (gst_event_parse_qos), (gst_event_new_seek),
19804 (gst_event_parse_seek):
19805 * gst/gstevent.h:
19806 Some more debugging output and doc cleanups.
19808 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19809 Fix possible deadlock.
19811 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19813 * docs/gst/gstreamer-docs.sgml:
19814 * docs/gst/gstreamer-sections.txt:
19815 * docs/gst/gstreamer.types:
19816 * docs/gst/tmpl/.cvsignore:
19817 * gst/gstbin.h:
19818 * gst/gstbus.c:
19819 * gst/gstelement.c:
19820 * gst/gstevent.h:
19821 added 100 symbols from gstreamer-unused.txt to the right sections
19822 fixed more broken comments
19823 added GstBus to docs
19825 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19827 * docs/gst/gstreamer-sections.txt:
19828 * docs/gst/tmpl/.cvsignore:
19829 * docs/gst/tmpl/gstbin.sgml:
19830 * docs/gst/tmpl/gstbuffer.sgml:
19831 * gst/base/gstbasesrc.c:
19832 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19833 * gst/gstbuffer.c:
19834 * gst/gstbuffer.h:
19835 * tools/gst-launch.1.in:
19836 inlined more doc comments, added missing comments and fixed comments
19837 fixed typos
19839 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19841 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19842 some debugging
19843 * gst/gstcaps.h:
19844 whitespace fixes
19845 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19846 more debugging
19847 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19848 * gst/gststructure.h:
19849 add a fixate function for booleans; add a FIXME that these func
19850 names should probably be gst_structure_fixate_*
19852 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19854 * docs/gst/gstreamer-docs.sgml:
19855 * docs/gst/gstreamer-sections.txt:
19856 * gst/Makefile.am:
19857 * gst/gstbin.c: (gst_bin_get_type),
19858 (gst_bin_child_proxy_get_child_by_index),
19859 (gst_bin_child_proxy_get_children_count),
19860 (gst_bin_child_proxy_init):
19861 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19862 (gst_child_proxy_get_child_by_index),
19863 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19864 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19865 (gst_child_proxy_get), (gst_child_proxy_set_property),
19866 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19867 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19868 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19869 * gst/gstchildproxy.h:
19870 * gst/parse/grammar.y:
19871 * tools/gst-inspect.c: (print_interfaces),
19872 (print_element_properties_info), (print_element_info):
19873 ported gstchildproxy over from 0.8
19874 ported gst-inspect fixes and enhancements over from 0.8
19876 2005-08-22 Wim Taymans <wim@fluendo.com>
19878 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19879 (gst_base_transform_handle_buffer):
19880 Also call the transform function if we have ANY caps.
19882 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19883 Fix debug info.
19885 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19887 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19888 Don't pretend to handle seek events if the source is not seekable
19890 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19893 Remove extra parameter to debug output
19895 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19896 (gst_base_src_do_seek), (gst_base_src_activate_push):
19897 Fix seek event handling.
19899 * gst/gstpipeline.c: (gst_pipeline_change_state):
19900 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19901 (gst_queue_src_activate_push):
19902 Don't start the src pad task on FLUSH_STOP if the pad
19903 isn't linked.
19904 Debug changes.
19906 2005-08-22 Wim Taymans <wim@fluendo.com>
19908 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19909 Added check for gst_static_caps_get() refcounting.
19911 2005-08-22 Wim Taymans <wim@fluendo.com>
19913 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19914 Make _static_caps_get() refcounting sane.
19916 * gst/gstelement.c: (gst_element_set_state):
19917 Add g_return_val_if_fail() to protect against segfaults.
19919 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19921 * docs/gst/tmpl/gstevent.sgml:
19922 * gst/gstevent.c:
19923 * gst/gstevent.h:
19924 inlined remaining docs, added missing doc comments
19926 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19928 * check/gst/gstbin.c: (GST_START_TEST):
19929 since we don't know when preroll is done, use refcount range
19930 check for the sink
19931 * gst/check/gstcheck.h:
19932 add macro for checking refcount range
19934 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19936 * check/Makefile.am:
19937 clean up environment for when registry gets built versus
19938 when actual tests are run; valgrind seems to not report
19939 leaks if GST_PLUGIN_PATH is set to some specific values
19940 * check/gst/gstbin.c: (GST_START_TEST):
19941 add more refcounting checks; maybe this exposes a
19942 preroll lock bug ?
19943 * common/check.mak:
19944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19945 * gst/check/gstcheck.h:
19946 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19947 (gst_bin_change_state):
19948 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19949 add/fix debugging/whitespace
19951 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19953 * check/gst/gstevent.c: (event_probe), (test_event),
19954 (GST_START_TEST):
19955 Er, don't call gst_bin_watch_for_state_change you idiot.
19957 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19959 * check/Makefile.am:
19960 Use CHECK_CFLAGS and CHECK_LIBS
19961 * check/gst/gstevent.c: (event_probe), (test_event),
19962 (GST_START_TEST):
19963 Don't leak events.
19964 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19965 (gst_base_src_start), (gst_base_src_stop),
19966 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19967 (gst_base_src_change_state):
19968 Sprinkle gst_base_src_stop liberally around error paths to fix
19969 problems reusing a source after failed state changes.
19970 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19971 (helper_find_suggest), (gst_type_find_helper):
19972 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19973 * gst/gstevent.h:
19974 * docs/gst/tmpl/gstevent.sgml:
19975 Migrate part of the docs from the SGML file. Wait for ensonic to
19976 tell me how I did it wrong ;)
19977 * tools/gst-typefind.c: (main):
19978 Extra robustness to state changes between files.
19980 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19982 * check/Makefile.am:
19983 don't valgrind the controller test - it's leaking - Stefan, HELP
19984 * gst/check/gstcheck.c: (gst_check_message_error),
19985 (gst_check_chain_func), (gst_check_setup_element),
19986 (gst_check_teardown_element), (gst_check_setup_src_pad),
19987 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19988 (gst_check_teardown_sink_pad):
19989 * gst/check/gstcheck.h:
19990 add a bunch of methods to set up elements, and src and sink pads
19991 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19992 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19993 (GST_START_TEST):
19994 use them
19995 * gst/gstmessage.c:
19996 * gst/gsttag.h:
19997 whitespace/doc fixes
19999 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20001 * gst/gstelement.h:
20002 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20003 be handled by the application and not always printed as well
20005 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20007 * check/Makefile.am:
20008 set GST_TOOLS_DIR
20009 * gst/check/gstcheck.c: (gst_check_message_error):
20010 * gst/check/gstcheck.h:
20011 add a fail_unless_equals_int
20012 add fail_unless for error messages
20014 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20016 * check/Makefile.am:
20017 * check/gst.supp:
20018 * common/Makefile.am:
20019 * common/check.mak:
20020 * common/gst.supp:
20021 factor out some of the common stuff so we can use it
20023 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20025 * check/Makefile.am:
20026 * check/gst/gstiterator.c: (GST_START_TEST):
20027 * check/gst/gstsystemclock.c: (GST_START_TEST),
20028 (gst_systemclock_suite):
20029 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20030 * gst/gstclock.c:
20031 valgrind more tests
20033 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20035 * check/elements/.cvsignore:
20036 * check/elements/gstfakesrc.c:
20037 rename to name of element
20038 * check/elements/identity.c: (chain_func), (event_func),
20039 (setup_identity), (cleanup_identity), (GST_START_TEST),
20040 (identity_suite), (main):
20041 add a test for identity
20042 * check/Makefile.am:
20043 * pkgconfig/Makefile.am:
20044 * pkgconfig/gstreamer-check.pc.in:
20045 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20046 * gst/check:
20047 * gst/Makefile.am:
20048 * configure.ac:
20049 move the check stuff to a library that gets installed
20050 * check/gst-libs/controller.c: (GST_START_TEST):
20051 * check/gst-libs/gdp.c:
20052 * check/gst/gst.c: (GST_START_TEST):
20053 * check/gst/gstbin.c:
20054 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20055 * check/gst/gstbus.c:
20056 * check/gst/gstcaps.c: (GST_START_TEST):
20057 * check/gst/gstelement.c:
20058 * check/gst/gstghostpad.c:
20059 * check/gst/gstiterator.c:
20060 * check/gst/gstmessage.c:
20061 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20062 * check/gst/gstobject.c:
20063 * check/gst/gstpad.c: (GST_START_TEST):
20064 * check/gst/gststructure.c: (GST_START_TEST):
20065 * check/gst/gstsystemclock.c: (GST_START_TEST),
20066 (gst_systemclock_suite):
20067 * check/gst/gsttag.c: (gst_tag_suite):
20068 * check/gst/gstvalue.c:
20069 * check/pipelines/cleanup.c:
20070 * check/pipelines/simple_launch_lines.c:
20071 * check/states/sinks.c:
20072 change include statement
20074 * docs/gst/gstreamer-sections.txt:
20075 * docs/gst/tmpl/gstpad.sgml:
20076 document more pad stuff
20077 * gst/gstminiobject.c: (gst_mini_object_ref),
20078 (gst_mini_object_unref):
20079 debug refcounting
20081 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20083 * docs/gst/tmpl/gst.sgml:
20084 * gst/gst.c:
20085 eliminate another tmpl file, fix spelling in the long-description
20087 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20089 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20090 (test_event), (timediff), (gstevents_suite):
20091 Should fix build on 64-bit arch's
20093 2005-08-18 Andy Wingo <wingo@pobox.com>
20095 Make sure that when a pipeline goes to PLAYING, that data has
20096 actually hit the sink.
20098 * check/states/sinks.c (test_sink): A sink that doesn't get any
20099 data shouldn't return SUCCESS for going to either PLAYING or
20100 PAUSED. Test also the return values on the way back down.
20102 * gst/gstelement.c (gst_element_set_state): When changing the
20103 state of an element currently changing state asynchronously, go to
20104 lost-state after commiting the pending state. Makes future calls
20105 to get_state continue to return ASYNC.
20107 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20108 ASYNC when going to PLAYING if we still don't have preroll, as can
20109 happen with live sources.
20111 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20113 * docs/pwg/advanced-types.xml:
20114 Hack long paragraph into 2 chunks as a workaround for buggy
20115 jadetex version in sid and breezy that loops infinitely and
20116 eats all RAM.
20118 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20120 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20121 (test_event), (timediff), (gstevents_suite):
20122 Provide more error margin in clock measurements to allow for
20123 g_get_current_time inaccuracies.
20125 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20127 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20128 (test_event), (timediff), (gstevents_suite):
20129 Fix error message output so I might be able to tell why the
20130 test works here but fails on the build farm.
20132 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20134 * check/Makefile.am:
20135 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20136 (test_event), (timediff), (gstevents_suite), (main):
20137 I wrote a test!
20139 * docs/design/part-seeking.txt:
20140 Spelling correction
20142 * docs/gst/tmpl/gstevent.sgml:
20143 * docs/gst/tmpl/gstfakesrc.sgml:
20144 Docs updates.
20146 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20147 Treat a buffer-without-newsegment the same as a receiving
20148 a newsegment not in time format, and disable syncing to the clock
20149 with a warning.
20151 * gst/gstbus.c: (gst_bus_set_sync_handler):
20152 Assert if anyone tries to replace the existing sync_handler for bus,
20153 as only the owner should be setting it.
20155 * gst/gstevent.h:
20156 Have a fixed set of custom event enums with events identified by
20157 their structure name (as in 0.8), rather than a free-for-all
20158 allowing collisions between enum values from different plugins.
20160 * gst/gstpad.c: (gst_pad_class_init):
20161 Docs change.
20163 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20164 Handle out-of-band downstream events from the sending thread.
20166 2005-08-17 Andy Wingo <wingo@pobox.com>
20168 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20169 play-timeout==0 to mean no timeout at all. In that case, don't
20170 bother with a get_state or a warning, just return directly, even
20171 if it's ASYNC.
20173 * gst/base/gstbasetransform.c: Debug changes.
20175 * gst/gstutils.h:
20176 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20177 ensure bins post state change messages. A bit of a hack but I can't
20178 think of a way to avoid it.
20180 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20182 2005-08-16 Andy Wingo <wingo@pobox.com>
20184 * gst/base/gstadapter.h:
20185 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20186 peek() but you own the data. Not terribly efficient atm.
20188 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20190 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20191 (gst_element_found_tags):
20192 * gst/gstutils.h:
20193 Add two utility functions for tag handling.
20195 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20197 * docs/manual/advanced-dataaccess.xml:
20198 * docs/manual/basics-helloworld.xml:
20199 Fix docs to use _bin_add() before _link(), which fixes the examples
20200 with recent core versions (reported by Madhan Raj M
20201 <raj_madan@rediffmail.com>, #313199).
20203 2005-08-16 Wim Taymans <wim@fluendo.com>
20205 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20206 Added subtract checks.
20208 * docs/design/part-events.txt:
20209 Some more docs about newsegment
20211 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20212 Fix FIXME
20214 * gst/gstcaps.c: (gst_caps_to_string):
20215 Add comments, cleanups.
20217 * gst/gstelement.c: (gst_element_save_thyself):
20218 cleanups
20220 * gst/gstvalue.c: (gst_value_collect_int_range),
20221 (gst_string_unwrap), (gst_value_union_int_int_range),
20222 (gst_value_union_int_range_int_range),
20223 (gst_value_intersect_int_int_range),
20224 (gst_value_intersect_int_range_int_range),
20225 (gst_value_intersect_double_double_range),
20226 (gst_value_intersect_double_range_double_range),
20227 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20228 (gst_value_subtract_int_range_int),
20229 (gst_value_subtract_double_range_double),
20230 (gst_value_subtract_double_range_double_range),
20231 (gst_value_subtract_from_list), (gst_value_subtract_list),
20232 (gst_value_can_compare), (gst_value_compare_fraction):
20233 Cleanups, add comments, remove unneeded asserts.
20235 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20237 * tools/gst-launch.c: (event_loop):
20238 don't convert NULL structures to strings
20240 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20242 * docs/gst/gstreamer-sections.txt:
20243 made some defines private
20244 * docs/gst/tmpl/gstconfig.sgml:
20245 * docs/gst/tmpl/gstqueue.sgml:
20246 * docs/gst/tmpl/gsttaglist.sgml:
20247 * docs/gst/tmpl/gsttypes.sgml:
20248 * docs/gst/tmpl/gstutils.sgml:
20249 * docs/pwg/appendix-porting.xml:
20250 * gst/base/gstbasesink.h:
20251 * gst/base/gstbasesrc.c:
20252 * gst/base/gstbasesrc.h:
20253 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20254 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20255 * gst/gstelement.c: (gst_element_class_init):
20256 * gst/gstpad.c: (gst_pad_class_init):
20257 * gst/gstqueue.c: (gst_queue_class_init):
20258 * gst/gstxml.c: (gst_xml_class_init):
20259 documented all undocumented signal inline
20260 * libs/gst/controller/gst-controller.h:
20261 added padding
20263 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20265 * docs/pwg/appendix-porting.xml:
20266 Document _set_link_function -> _set_setcaps_function.
20268 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20270 * check/Makefile.am:
20271 add a .check target for running the check
20272 * check/gst-libs/controller.c: (GST_START_TEST):
20273 cosmetic fixups
20274 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20275 complete checks for gstbuffer; would be nice if I could get the
20276 gcov stuff to work so I can see if I actually completed gstbuffer.c
20277 * check/gstcheck.h:
20278 add ASSERT_BUFFER_REFCOUNT
20280 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20282 * docs/gst/gstreamer-sections.txt:
20283 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20284 * gst/gsttag.h:
20285 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20286 spew out a warning if a tag that is already registered
20287 is re-registered, unless it is re-registered with a
20288 different type (#308438).
20290 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20292 * docs/pwg/appendix-porting.xml:
20293 * docs/pwg/building-state.xml:
20294 Add some paragraphs about state changes in 0.9 to the PWG
20295 and the porting guide, in particular about the new meaning
20296 of GST_STATE_PAUSED and how to write state change functions
20297 with concurrent access by multiple threads in mind.
20299 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20301 * docs/gst/gstreamer-docs.sgml:
20302 * docs/libs/gstreamer-libs-docs.sgml:
20303 added deprecation and since indexes
20304 * libs/gst/controller/gst-controller.c:
20305 * libs/gst/controller/gst-helper.c:
20306 added since tags
20309 2005-08-11 Wim Taymans <wim@fluendo.com>
20311 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20312 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20313 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20314 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20315 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20316 (gst_ghost_pad_set_target):
20317 Actually implement (re)setting the target on a ghostpad
20318 as described in the docs.
20320 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20322 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20323 Check whether GST_DEBUG_NO_COLOR environment variable is
20324 set and disable coloured debug output if that is the case.
20326 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20328 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20329 (gst_type_find_helper):
20330 The memory returned by gst_type_find_peek() needs to
20331 stay valid until the end of a typefind function, and
20332 typefind functions may keep results from different
20333 offsets around, so we can't just unref the buffer from
20334 the previous _peek(), but have to save all buffers
20335 returned by _peek() until typefinding is done and only
20336 free them then.
20338 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20340 * docs/gst/gstreamer-sections.txt:
20341 * gst/gstutils.h:
20342 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20344 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20346 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20347 Fix a pretty good memleak.
20349 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20351 * gst/gstiterator.h:
20352 Fix wrong include and 'make distcheck'.
20354 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20356 * gst/gstbin.c: (bin_bus_handler):
20357 Use gst_element_post_message() instead.
20359 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20361 * gst/base/gstadapter.h:
20362 * gst/base/gstbasesink.h:
20363 * gst/base/gstbasesrc.h:
20364 * gst/base/gstbasetransform.h:
20365 * gst/base/gstcollectpads.h:
20366 * gst/base/gstpushsrc.h:
20367 * gst/gstiterator.h:
20368 Add padding to our base elements' class and instance structs and
20369 to GstIterator (you will need to rebuild all plugins and apps!)
20371 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20373 * gst/gstbin.c: (bin_bus_handler):
20374 Make default message forwarding from child->bus to bin->bus
20375 threadsafe and make it not emit warnings if the parent has no bus.
20377 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20379 * gst/gstelement.c: (activate_pads):
20380 On paused->ready, set pad->caps to NULL, as is the documented
20381 behaviour in this state change. Fixes playback of series of
20382 media files when visualization is enabled in Totem.
20384 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20386 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20387 Allow NULL as filter-caps (which means "any").
20389 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20391 * docs/libs/gstreamer-libs-sections.txt:
20392 * libs/gst/controller/gst-controller.c:
20393 * libs/gst/controller/gst-controller.h:
20394 * libs/gst/controller/gst-helper.c:
20395 adding more entries to the docs and fix small doc-bugs
20397 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20399 * docs/gst/gstreamer-docs.sgml:
20400 * docs/gst/gstreamer-sections.txt:
20401 * docs/gst/gstreamer.types:
20402 * docs/gst/tmpl/gstbasesink.sgml:
20403 * docs/gst/tmpl/gstbasesrc.sgml:
20404 * docs/gst/tmpl/gstbasetransform.sgml:
20405 * docs/gst/tmpl/gstfakesrc.sgml:
20406 * gst/base/gstcollectpads.c:
20407 * gst/base/gstcollectpads.h:
20408 * libs/gst/controller/gst-controller.c:
20409 * libs/gst/controller/gst-controller.h:
20410 * libs/gst/controller/gst-helper.c:
20411 * libs/gst/controller/gst-interpolation.c:
20412 * libs/gst/controller/lib.c:
20413 added long/short desc for controller docs
20414 added collectpads base class docs
20415 added correct includes to base-class docs
20417 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20419 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20420 (gst_test_mono_source_set_property),
20421 (gst_test_mono_source_class_init), (GST_START_TEST),
20422 (gst_controller_suite):
20423 * docs/gst/gstreamer-docs.sgml:
20424 * docs/gst/gstreamer-sections.txt:
20425 * docs/gst/gstreamer.types:
20426 * docs/libs/gstreamer-libs-docs.sgml:
20427 * docs/libs/gstreamer-libs-sections.txt:
20428 * gst/base/gstadapter.c:
20429 * libs/gst/controller/gst-controller.c:
20430 (gst_controlled_property_new), (gst_controlled_property_free),
20431 (gst_controller_new_valist),
20432 (gst_controller_remove_properties_valist),
20433 (gst_controller_sink_values), (_gst_controller_finalize):
20434 * libs/gst/controller/gst-controller.h:
20435 * libs/gst/controller/gst-helper.c:
20436 (gst_object_control_properties), (gst_object_uncontrol_properties),
20437 (gst_object_get_controller), (gst_object_set_controller),
20438 (gst_object_sink_values), (gst_object_get_value_arrays),
20439 (gst_object_get_value_array):
20440 more tests (and fixes) for the controller
20441 more docs for the controller
20442 integrated companies docs for the adapter
20444 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20446 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20447 (GST_START_TEST), (fakesrc_suite):
20448 add tests for sizetype
20450 2005-08-04 Andy Wingo <wingo@pobox.com>
20452 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20453 fixes buffer_alloc proxying among other things.
20455 * gst/base/gstbasetransform.c:
20456 * gst/base/gstbasetransform.h:
20457 Revert patch to gstbasetransform from 7-28 removing
20458 delay_configure.
20460 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20461 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20462 Semantics changed, should return not the size of the output buffer
20463 but the byte size of a buffer with a given caps.
20465 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20466 debug object.
20467 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20468 out) are not the pad caps until setcaps finishes.
20469 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20470 not-in-place case as well. Deal with changing from in-place to
20471 not-in-place within calling pad_alloc_buffer. Still a bit
20472 concerned about the overhead here...
20474 2005-08-03 Andy Wingo <wingo@pobox.com>
20476 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20477 fixating is an error.
20479 2005-08-04 Edward Hervey <edward@fluendo.com>
20481 * gst/base/gstadapter.h:
20482 Added gst_adapter_get_type() to the header
20484 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20486 * check/Makefile.am:
20487 * check/gst-libs/controller.c:
20488 * libs/gst/controller/gst-controller.c:
20489 (gst_controller_new_valist):
20490 added check test suite for the controller
20491 * gst/base/gstpushsrc.c:
20492 fixed a doc typo
20494 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20496 * docs/gst/Makefile.am:
20497 * docs/gst/gstreamer-docs.sgml:
20498 * docs/gst/gstreamer-sections.txt:
20499 * docs/gst/gstreamer.types:
20500 * docs/gst/tmpl/gstfakesrc.sgml:
20501 * gst/base/README:
20502 * gst/base/gstbasesink.c:
20503 * gst/base/gstbasesink.h:
20504 * gst/base/gstbasesrc.c:
20505 * gst/base/gstbasesrc.h:
20506 * gst/base/gstbasetransform.c:
20507 * gst/base/gstpushsrc.c:
20508 * gst/base/gstpushsrc.h:
20509 add short/long description docs to base classes
20510 add pushsrc to the docs
20511 remove consolidated doc fragments
20513 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20515 * configure.ac:
20516 * docs/libs/Makefile.am:
20517 * docs/libs/gstreamer-libs-docs.sgml:
20518 * docs/libs/gstreamer-libs-sections.txt:
20519 * docs/libs/gstreamer-libs.types:
20520 * examples/Makefile.am:
20521 * examples/controller/.cvsignore:
20522 * examples/controller/Makefile.am:
20523 * examples/controller/audio-example.c: (main):
20524 * libs/gst/Makefile.am:
20525 * libs/gst/controller/.cvsignore:
20526 * libs/gst/controller/Makefile.am:
20527 * libs/gst/controller/gst-controller.c:
20528 (on_object_controlled_property_changed), (gst_timed_value_compare),
20529 (gst_timed_value_find),
20530 (gst_controlled_property_set_interpolation_mode),
20531 (gst_controlled_property_new), (gst_controlled_property_free),
20532 (gst_controller_find_controlled_property),
20533 (gst_controller_new_valist), (gst_controller_new),
20534 (gst_controller_remove_properties_valist),
20535 (gst_controller_remove_properties), (gst_controller_set),
20536 (gst_controller_set_from_list), (gst_controller_unset),
20537 (gst_controller_get), (gst_controller_get_all),
20538 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20539 (gst_controller_get_value_array),
20540 (gst_controller_set_interpolation_mode),
20541 (_gst_controller_finalize), (_gst_controller_init),
20542 (_gst_controller_class_init), (gst_controller_get_type):
20543 * libs/gst/controller/gst-controller.h:
20544 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20545 (g_object_uncontrol_properties), (g_object_get_controller),
20546 (g_object_set_controller), (g_object_sink_values),
20547 (g_object_get_value_arrays), (g_object_get_value_array):
20548 * libs/gst/controller/gst-interpolation.c:
20549 (gst_controlled_property_find_timed_value_node),
20550 (interpolate_none_get), (interpolate_trigger_get),
20551 (interpolate_trigger_get_value_array):
20552 * libs/gst/controller/lib.c: (gst_controller_init):
20553 * pkgconfig/Makefile.am:
20554 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20555 * pkgconfig/gstreamer-control.pc.in:
20556 * testsuite/Makefile.am:
20557 * testsuite/controller/.cvsignore:
20558 * testsuite/controller/Makefile.am:
20559 * testsuite/controller/interpolator.c: (main):
20560 added controller code
20561 removed dparam pc files
20563 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20564 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20565 (gst_collectpads_stop):
20566 Broadcast the condition when shutting down, to make sure we wake all
20567 threads up. Shut down pads on finalize, for safety.
20569 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20570 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20571 (gst_base_transform_handle_buffer),
20572 (gst_base_transform_change_state):
20573 Handle PAUSED->READY->PAUSED transition after negotiation
20574 occurred already.
20575 * gst/gstmessage.c: (gst_message_init):
20576 Extra piece of debug for new messages.
20578 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20580 * configure.ac:
20581 * docs/gst/tmpl/gstbasesrc.sgml:
20582 * docs/gst/tmpl/gstelement.sgml:
20583 * docs/gst/tmpl/gstevent.sgml:
20584 * docs/gst/tmpl/gstfakesrc.sgml:
20585 * docs/gst/tmpl/gstformat.sgml:
20586 * docs/gst/tmpl/gstghostpad.sgml:
20587 * docs/gst/tmpl/gstpad.sgml:
20588 * docs/gst/tmpl/gstquery.sgml:
20589 * docs/gst/tmpl/gststructure.sgml:
20590 * docs/gst/tmpl/gsttaglist.sgml:
20591 * docs/gst/tmpl/gstvalue.sgml:
20592 * docs/libs/gstreamer-libs-docs.sgml:
20593 * docs/libs/gstreamer-libs-sections.txt:
20594 * docs/libs/gstreamer-libs.types:
20595 * libs/gst/Makefile.am:
20596 * libs/gst/control/.cvsignore:
20597 * libs/gst/control/Makefile.am:
20598 * libs/gst/control/control.c:
20599 * libs/gst/control/control.h:
20600 * libs/gst/control/dparam.c:
20601 * libs/gst/control/dparam.h:
20602 * libs/gst/control/dparam_smooth.c:
20603 * libs/gst/control/dparam_smooth.h:
20604 * libs/gst/control/dparamcommon.h:
20605 * libs/gst/control/dparammanager.c:
20606 * libs/gst/control/dparammanager.h:
20607 * libs/gst/control/dplinearinterp.c:
20608 * libs/gst/control/dplinearinterp.h:
20609 * libs/gst/control/unitconvert.c:
20610 * libs/gst/control/unitconvert.h:
20611 * testsuite/Makefile.am:
20612 * testsuite/dynparams/.cvsignore:
20613 * testsuite/dynparams/Makefile.am:
20614 * testsuite/dynparams/dparamstest.c:
20615 * tools/Makefile.am:
20616 * tools/gst-inspect.c: (print_element_info), (main):
20617 * tools/gst-xmlinspect.c: (print_element_info), (main):
20618 deactivate and remove dparams (libgstcontrol)
20620 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20622 * gst/elements/gsttypefindelement.c:
20623 (gst_type_find_element_have_type), (gst_type_find_element_init),
20624 (stop_typefinding), (gst_type_find_element_handle_event),
20625 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20626 * gst/elements/gsttypefindelement.h:
20627 Set caps on all outgoing buffers, not just the first one.
20629 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20631 * gst/elements/gsttypefindelement.c:
20632 (gst_type_find_element_have_type),
20633 (gst_type_find_element_check_set_buffer_caps),
20634 (gst_type_find_element_init), (stop_typefinding),
20635 (gst_type_find_element_handle_event),
20636 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20637 * gst/elements/gsttypefindelement.h:
20638 Set caps on first outgoing buffer when we've found the type.
20640 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20642 * docs/gst/gstreamer-docs.sgml:
20643 * docs/gst/gstreamer-sections.txt:
20644 * docs/gst/tmpl/gstscheduler.sgml:
20645 * docs/gst/tmpl/gstschedulerfactory.sgml:
20646 Remove some old cruft from docs.
20648 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20650 * gst/gstpad.h:
20651 Fix inline docs for GstPadLinkReturn.
20653 * gst/gststructure.c: (gst_structure_has_name):
20654 * gst/gststructure.h:
20655 * docs/gst/gstreamer-sections.txt:
20656 New API: gst_structure_has_name().
20658 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20660 * configure.ac:
20661 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20662 and _LARGEFILE_SOURCE in config.h as required. Do not
20663 export those flags in our .pc files any longer (#142209).
20665 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20667 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20668 (gst_file_sink_do_seek), (gst_file_sink_event),
20669 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20670 Redo seek/tell calls with large file support in mind; add some
20671 debugging messages; add log message that tells us when large
20672 file support is unavailable or not enabled for some reason.
20674 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20675 Add log message that tells us when large file support
20676 is unavailable or not enabled for some reason.
20678 2005-07-29 Wim Taymans <wim@fluendo.com>
20680 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20681 Added test for removing an element with ghostpad from a bin.
20682 Fixed test as current implementation does the right thing.
20684 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20685 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20686 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20687 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20688 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20689 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20690 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20691 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20692 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20693 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20694 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20695 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20696 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20697 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20698 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20699 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20700 * gst/gstghostpad.h:
20701 Clean up ghostpads, remove properties for internal stuff.
20702 Make threadsafe.
20703 Fix refcounting.
20704 Prepare for switching targets, not all use cases work yet.
20706 2005-07-29 Wim Taymans <wim@fluendo.com>
20708 * docs/design/part-gstghostpad.txt:
20709 Small update.
20711 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20712 (gst_bin_remove_func):
20713 Unlinking pads while holding the bin LOCK is not a good
20714 idea.
20716 * gst/gstpad.c: (gst_pad_class_init),
20717 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20718 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20719 No prob setting template after creating the pad.
20721 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20723 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20724 (gst_bus_peek), (gst_bus_source_dispatch),
20725 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20726 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20727 gst_bus_poll may be called from other threads. Handle
20728 this nicely by not making poll_data disappear off the
20729 stack once gst_bus_poll returns.
20730 gst_bus_peek now increments the refcount on the returned
20731 message.
20733 2005-07-29 Wim Taymans <wim@fluendo.com>
20735 * docs/design/part-gstghostpad.txt:
20736 Overview of current GhostPad datastructures and use
20737 cases for changing the target.
20739 2005-07-28 Wim Taymans <wim@fluendo.com>
20741 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20742 Added checks for hierarchy consistency whan adding linked
20743 elements to bins.
20745 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20746 Added check to test element scheduling without bin/pipeline.
20748 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20749 First add elements to bin, then link.
20751 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20752 (gst_bin_remove_func):
20753 Unlink pads from elements added/removed from bin to maintain
20754 hierarchy consistency.
20756 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20758 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20759 (gst_base_transform_handle_buffer):
20760 * gst/base/gstbasetransform.h:
20761 Remove broken delay_configure (fixes renegotiation of software
20762 scaling pipelines); remove some leftover printf()s.
20764 2005-07-28 Wim Taymans <wim@fluendo.com>
20766 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20767 Added some more tests for wrong hierarchy
20769 * docs/design/part-overview.txt:
20770 Some updates.
20772 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20773 Cleanups.
20775 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20776 (gst_element_dispose):
20777 Some more cleanups.
20779 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20780 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20781 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20782 (gst_pad_set_caps), (gst_pad_send_event):
20783 Check for correct hierarchy when linking pads. Moving to
20784 strict requirement for ghostpads when linking elements in
20785 different bins.
20787 * gst/gstpad.h:
20788 Clean ups. Added WRONG_HIERARCHY return value.
20790 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20792 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20793 Better debug if no transform is possible.
20795 2005-07-27 Wim Taymans <wim@fluendo.com>
20797 * docs/random/wtay/network-transp:
20798 Some old doc I had.
20800 2005-07-27 Wim Taymans <wim@fluendo.com>
20802 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20803 (gst_dp_event_from_packet):
20804 Fix serialization of seek events.
20806 2005-07-27 Wim Taymans <wim@fluendo.com>
20808 * check/gst-libs/gdp.c: (GST_START_TEST):
20809 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20810 Fix compilation and fix event serialization.
20812 2005-07-27 Wim Taymans <wim@fluendo.com>
20814 * CHANGES-0.9:
20815 * docs/design/part-TODO.txt:
20816 * docs/design/part-events.txt:
20817 Some docs updates
20819 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20820 (gst_base_sink_event), (gst_base_sink_do_sync),
20821 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20822 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20823 (gst_base_src_do_seek), (gst_base_src_event_handler),
20824 (gst_base_src_loop):
20825 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20826 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20827 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20828 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20829 (gst_base_transform_set_passthrough),
20830 (gst_base_transform_is_passthrough):
20831 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20832 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20833 Event updates.
20835 * gst/gstbuffer.h:
20836 Use faster casts.
20838 * gst/gstelement.c: (gst_element_seek):
20839 * gst/gstelement.h:
20840 Update gst_element_seek.
20842 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20843 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20844 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20845 (gst_event_new_eos), (gst_event_new_newsegment),
20846 (gst_event_parse_newsegment), (gst_event_new_tag),
20847 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20848 (gst_event_parse_qos), (gst_event_new_seek),
20849 (gst_event_parse_seek), (gst_event_new_navigation):
20850 * gst/gstevent.h:
20851 Make GstEvent use GstStructure. Add parsing code, make sure the
20852 API is sufficiently generic.
20853 Mark possible directions of events and serialization.
20855 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20856 (_gst_message_copy), (gst_message_new_segment_start),
20857 (gst_message_new_segment_done), (gst_message_new_custom),
20858 (gst_message_parse_segment_start),
20859 (gst_message_parse_segment_done):
20860 Small cleanups.
20862 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20863 (gst_pad_set_caps), (gst_pad_send_event):
20864 Update for new events.
20865 Catch events sent in wrong directions.
20867 * gst/gstqueue.c: (gst_queue_link_src),
20868 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20869 (gst_queue_handle_src_query):
20870 Event updates.
20872 * gst/gsttag.c:
20873 * gst/gsttag.h:
20874 Remove event code from this file.
20876 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20877 (gst_dp_event_from_packet):
20878 Event updates.
20880 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20882 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20883 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20884 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20885 Make debugging actually useful.
20887 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20889 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20890 (gst_pad_fixate_caps):
20891 Implement default fixation once again, so that gst_pad_fixate()
20892 actually does anything at all. This probably needs to be some
20893 sort of a last resort, and use profile-based fixation first, but
20894 since that doesn't exist yet, this is the best we have. Fixes
20895 visualization in Totem.
20897 2005-07-22 Wim Taymans <wim@fluendo.com>
20899 * docs/design/part-events.txt:
20900 Small update.
20902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20903 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20904 (gst_base_sink_activate_pull):
20905 Some more comments.
20907 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20908 (gst_fake_src_create):
20909 Fix handoff marshall.
20911 * gst/elements/gstidentity.c: (gst_identity_class_init),
20912 (gst_identity_transform_ip):
20913 We're a real inplace element.
20915 * gst/gstbus.c: (gst_bus_post):
20916 Added some comments.
20918 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20919 * tests/muxing/case1.c: (main):
20920 * tests/sched/dynamic-pipeline.c: (main):
20921 * tests/sched/interrupt1.c: (main):
20922 * tests/sched/interrupt2.c: (main):
20923 * tests/sched/interrupt3.c: (main):
20924 * tests/sched/runxml.c: (main):
20925 * tests/sched/sched-stress.c: (main):
20926 * tests/seeking/seeking1.c: (event_received), (main):
20927 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20928 (main):
20929 * tests/threadstate/threadstate3.c: (main):
20930 * tests/threadstate/threadstate4.c: (main):
20931 * tests/threadstate/threadstate5.c: (main):
20932 Fix the tests.
20934 2005-07-21 Wim Taymans <wim@fluendo.com>
20936 * docs/design/part-seeking.txt:
20937 Some small additions.
20939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20940 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20941 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20942 * gst/base/gstbasesink.h:
20943 discont values are gint64, handle the math correctly.
20945 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20946 Make the basesrc report error if the source pad is not linked.
20948 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20949 (gst_queue_loop), (gst_queue_handle_src_query),
20950 (gst_queue_src_activate_push):
20951 Make queue collect data even if the srcpad is not linked.
20952 Start pushing out data as soon as it is linked.
20954 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20955 * gst/gstutils.h:
20956 Added gst_flow_get_name() to ease error reporting.
20958 2005-07-20 Wim Taymans <wim@fluendo.com>
20960 * gst/gstmessage.c: (gst_message_new_segment_start),
20961 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20962 (gst_message_parse_segment_done):
20963 * gst/gstmessage.h:
20964 Added a bunch of messages for advanced seeking.
20966 * gst/parse/grammar.y:
20967 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20968 (gst_dpman_state_changed):
20969 Fix some new-pad -> pad-added signals
20971 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20973 * docs/manual/appendix-porting.xml:
20974 * docs/pwg/appendix-porting.xml:
20975 Document new-pad/state-change signal renames and the FixedList
20976 type rename.
20978 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20980 * docs/manual/advanced-autoplugging.xml:
20981 * docs/manual/basics-helloworld.xml:
20982 * docs/manual/basics-pads.xml:
20983 * docs/random/ds/0.9-suggested-changes:
20984 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20985 * gst/gstelement.h:
20986 * gst/gstevent.h:
20987 * gst/gstformat.h:
20988 * gst/gstquery.h:
20989 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20990 (gst_structure_parse_array), (gst_structure_parse_value):
20991 * gst/gstvalue.c: (gst_type_is_fixed),
20992 (gst_value_list_prepend_value), (gst_value_list_append_value),
20993 (gst_value_list_get_size), (gst_value_list_get_value),
20994 (gst_value_transform_array_string), (gst_value_serialize_array),
20995 (gst_value_deserialize_array), (gst_value_intersect_array),
20996 (gst_value_is_fixed), (_gst_value_initialize):
20997 * gst/gstvalue.h:
20998 GstElement::new-pad -> pad-added, GstElement::state-change ->
20999 state-changed, GstValueFixedList -> GstValueArray, add format and
21000 flags as their own arguments in gst_element_seek() (should improve
21001 "bindeability"), remove function generators since they don't work
21002 under a whole bunch of compilers (they were deprecated already
21003 anyway).
21005 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21007 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21008 (_gst_debug_register_funcptr):
21009 * gst/gstinfo.h:
21010 Fix illegal cast on some platforms (#309253).
21012 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21014 * gst/gstmessage.c: (gst_message_new_custom):
21015 * gst/gstmessage.h:
21016 Add _new_custom, make _new_application a macro to _new_custom.
21018 2005-07-20 Wim Taymans <wim@fluendo.com>
21020 * gst/base/gstbasesrc.c: (gst_base_src_init),
21021 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21022 * gst/base/gstbasesrc.h:
21023 Add a gboolean to decide when to push out a discont.
21025 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21026 (gst_queue_loop), (gst_queue_handle_src_query),
21027 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21028 (gst_queue_set_property), (gst_queue_get_property):
21029 Some cleanups.
21031 * tests/threadstate/threadstate1.c: (main):
21032 Make a thread test compile and run... very silly..
21035 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21037 * docs/manual/appendix-porting.xml:
21038 Mention removal of libgstgconf-0.9.la and existence of gconf
21039 elements.
21041 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21043 * docs/pwg/advanced-clock.xml:
21044 * docs/pwg/appendix-porting.xml:
21045 * docs/pwg/intro-preface.xml:
21046 * docs/pwg/other-base.xml:
21047 * docs/pwg/other-manager.xml:
21048 * docs/pwg/other-nton.xml:
21049 * docs/pwg/other-ntoone.xml:
21050 * docs/pwg/other-oneton.xml:
21051 * docs/pwg/pwg.xml:
21052 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21053 demuxer), remove n-to-n (was never written), fix some code examples
21054 and links and update the porting section to include all this.
21056 2005-07-19 Wim Taymans <wim@fluendo.com>
21058 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21059 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21060 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21061 (gst_queue_src_activate_push), (gst_queue_change_state),
21062 (gst_queue_get_property):
21063 * gst/gstqueue.h:
21064 Propagate GstFlowReturn more intelligently upstream and output
21065 an ERROR/EOS when streaming stopped due to fatal error.
21067 2005-07-19 Wim Taymans <wim@fluendo.com>
21069 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21070 Don't block forever for the state change to complete, the
21071 pipeline already did with a sensible timeout.
21073 2005-07-19 Wim Taymans <wim@fluendo.com>
21075 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21076 Make sure we never call the create function is we
21077 got deactivated.
21079 2005-07-19 Andy Wingo <wingo@pobox.com>
21081 * gst/parse/parse.l: Attempt to solve bug #172815.
21083 2005-07-19 Wim Taymans <wim@fluendo.com>
21085 * docs/design/part-clocks.txt:
21086 * docs/design/part-events.txt:
21087 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21088 Small docs updates.
21089 Only update the seeking values when we are not
21090 busy streaming.
21092 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21094 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21095 Oops, ignore the result of gst_pad_push_event here.
21097 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21099 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21100 (gst_base_src_activate_push):
21101 Send discont event from the loop function, as pads
21102 aren't activated yet in the activate_push handler.
21104 * gst/gstbin.c: (bin_bus_handler):
21105 Don't leak element name.
21107 2005-07-18 Andy Wingo <wingo@pobox.com>
21109 * configure.ac: Use AS_LIBTOOL_TAGS.
21111 2005-07-18 Wim Taymans <wim@fluendo.com>
21113 * docs/gst/gstreamer.types:
21114 Remove deleted types.
21116 2005-07-18 Wim Taymans <wim@fluendo.com>
21118 * check/elements/gstfakesrc.c: (GST_START_TEST):
21119 * configure.ac:
21120 * gst/Makefile.am:
21121 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21122 (init_popt_callback):
21123 * gst/gst.h:
21124 * gst/gst_private.h:
21125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21126 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21127 * gst/gstbin.h:
21128 * gst/gstbus.h:
21129 * gst/gstconfig.h.in:
21130 * gst/gstelement.c: (gst_element_class_init),
21131 (gst_element_set_base_time), (gst_element_get_base_time),
21132 (iterator_fold_with_resync), (gst_element_change_state),
21133 (gst_element_dispose), (gst_element_get_bus):
21134 * gst/gstelement.h:
21135 * gst/gstelementfactory.h:
21136 * gst/gsterror.c: (_gst_core_errors_init):
21137 * gst/gsterror.h:
21138 * gst/gstevent.h:
21139 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21140 * gst/gstindex.c:
21141 * gst/gstinfo.c: (_gst_debug_init):
21142 * gst/gstmessage.c: (_gst_message_copy):
21143 * gst/gstmessage.h:
21144 * gst/gstminiobject.h:
21145 * gst/gstobject.c:
21146 * gst/gstobject.h:
21147 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21148 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21149 * gst/gstpad.h:
21150 * gst/gstparse.h:
21151 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21152 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21153 (gst_pipeline_get_last_stream_time):
21154 * gst/gstpipeline.h:
21155 * gst/gstpluginfeature.h:
21156 * gst/gstquery.h:
21157 * gst/gstscheduler.c:
21158 * gst/gstscheduler.h:
21159 * gst/gststructure.h:
21160 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21161 (gst_task_finalize), (gst_task_func), (gst_task_create),
21162 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21163 (gst_task_stop), (gst_task_pause):
21164 * gst/gsttask.h:
21165 * gst/gsttypefind.h:
21166 * gst/gsttypes.h:
21167 * gst/registries/gstlibxmlregistry.c: (load_feature),
21168 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21169 * gst/registries/gstxmlregistry.c:
21170 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21171 * gst/schedulers/threadscheduler.c:
21172 * libs/gst/control/dparammanager.h:
21173 * tools/gst-inspect.c: (print_element_list),
21174 (print_plugin_features), (print_element_features):
21175 * tools/gst-xmlinspect.c: (print_element_list),
21176 (print_plugin_info), (main):
21177 Removed plugable schedulers.
21178 Removed Scheduler/Manager from elements.
21179 Removed gsttypes.h, rearranged includes.
21180 Removed dependency pad<->element, element<>pipeline, and
21181 various others, fix includes.
21182 implement gst_pad_get_parent() with gst_object_get_parent()
21183 Make GstTask sefcontained.
21184 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21185 timeout.
21186 Fix endless loop in iterator_fold_with_resync.
21189 2005-07-18 Wim Taymans <wim@fluendo.com>
21191 * gst/Makefile.am:
21192 * gst/gstarch.h:
21193 Remove old file.
21195 2005-07-18 Wim Taymans <wim@fluendo.com>
21197 * gst/Makefile.am:
21198 No more cothreads.h
21200 2005-07-18 Wim Taymans <wim@fluendo.com>
21202 * gst/cothreads.c:
21203 * gst/cothreads.h:
21204 Let's remove these.
21206 2005-07-18 Wim Taymans <wim@fluendo.com>
21208 * docs/design/part-dynamic.txt:
21209 * docs/design/part-events.txt:
21210 * docs/design/part-seeking.txt:
21211 Some more docs in the works.
21213 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21214 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21215 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21216 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21217 (gst_base_transform_handle_buffer),
21218 (gst_base_transform_sink_activate_push),
21219 (gst_base_transform_src_activate_pull),
21220 (gst_base_transform_set_passthrough),
21221 (gst_base_transform_is_passthrough):
21222 Refcounting fixes.
21224 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21225 Cleanups.
21227 * gst/gstevent.c: (gst_event_finalize):
21228 Set SRC to NULL.
21230 * gst/gstutils.c: (gst_element_unlink),
21231 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21232 (gst_pad_proxy_setcaps):
21233 * gst/gstutils.h:
21234 Add _get_parent_element() to get a pads parent as an element.
21236 2005-07-18 Wim Taymans <wim@fluendo.com>
21238 * check/gst/gstbin.c: (GST_START_TEST):
21239 Remove bogus test.
21241 2005-07-18 Wim Taymans <wim@fluendo.com>
21243 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21244 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21245 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21246 (gst_base_sink_event), (gst_base_sink_do_sync),
21247 (gst_base_sink_chain), (gst_base_sink_loop),
21248 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21249 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21250 Refcounting fixes.
21251 Fix logic for returning ASYNC when not prerolled.
21253 2005-07-18 Wim Taymans <wim@fluendo.com>
21255 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21256 Fix nasty refcount bug.
21258 2005-07-16 Philippe Khalaf <burger@speedy.org>
21260 * gst/elements/gstfdsrc.c:
21261 * gst/elements/gstfdsrc.h:
21262 * gst/elements/gstelements.c:
21263 * gst/elements/Makefile.am:
21264 Ported fdsrc to 0.9.
21266 2005-07-16 Wim Taymans <wim@fluendo.com>
21268 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21269 (gst_base_sink_do_sync):
21270 Fix compile error.
21272 2005-07-16 Wim Taymans <wim@fluendo.com>
21274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21275 (gst_base_sink_event), (gst_base_sink_get_times),
21276 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21277 * gst/base/gstbasesink.h:
21278 Store and use discont values when syncing buffers as described
21279 in design docs.
21281 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21282 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21283 (gst_base_src_activate_push):
21284 Push discont event when starting.
21286 * gst/elements/gstidentity.c: (gst_identity_transform):
21287 Small cleanups.
21289 * gst/gstbin.c: (gst_bin_change_state):
21290 Small cleanups in base_time distribution.
21292 * gst/gstelement.c: (gst_element_set_base_time),
21293 (gst_element_get_base_time), (gst_element_change_state):
21294 * gst/gstelement.h:
21295 Added methods for the base_time of the element.
21296 Some MT fixes.
21298 * gst/gstpipeline.c: (gst_pipeline_send_event),
21299 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21300 (gst_pipeline_get_last_stream_time):
21301 * gst/gstpipeline.h:
21302 MT fixes.
21303 Handle seeking as described in design doc, remove stream_time
21304 hack.
21305 Cleanups clock and stream_time selection code. Added accessors
21306 for the stream_time.
21309 2005-07-16 Andy Wingo <wingo@pobox.com>
21311 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21312 (#305291).
21314 2005-07-16 Wim Taymans <wim@fluendo.com>
21316 * check/gst/gstbin.c: (GST_START_TEST):
21317 Make elements silent as the deep_notify refs the
21318 parent, which might make the test fail.
21320 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21321 Don't hold the lock for too long.
21323 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21325 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21326 Don't unref the caps we passed to gst_caps_make_writable() after
21327 passing them. gst_caps_make_writable() will do that for us.
21329 2005-07-15 Andy Wingo <wingo@pobox.com>
21331 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21332 (#157311).
21334 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21335 own marshalling function for the handoff signal. Properly type the
21336 buffer as a buffer. Fixes some warnings. Should do a more general
21337 solution.
21338 (gst_identity_class_init): Plug into the right marshaller.
21340 2005-07-15 Wim Taymans <wim@fluendo.com>
21342 * docs/design/part-TODO.txt:
21343 * docs/design/part-clocks.txt:
21344 * docs/design/part-element-sink.txt:
21345 * docs/design/part-events.txt:
21346 * docs/design/part-gstpipeline.txt:
21347 Updated docs, mostly DISCONT related.
21349 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21351 * docs/pwg/building-pads.xml:
21352 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21354 2005-07-15 Andy Wingo <wingo@pobox.com>
21356 * tools/gst-typefind.c: Update, add copyright block.
21358 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21359 Normalize and truncate caps before fixation.
21361 * gst/gstcaps.h:
21362 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21363 discards all but the first structure from its argument.
21365 2005-07-15 Wim Taymans <wim@fluendo.com>
21367 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21368 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21369 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21370 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21371 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21372 (gst_base_transform_chain), (gst_base_transform_change_state),
21373 (gst_base_transform_set_passthrough),
21374 (gst_base_transform_is_passthrough):
21375 * gst/base/gstbasetransform.h:
21376 Make passthrough work using the bufferpools.
21377 Changed API a bit, subclasses have to write into a buffer
21378 provided by the base class.
21379 More debug info in nego functions.
21381 * gst/elements/gstidentity.c: (gst_identity_init),
21382 (gst_identity_transform):
21383 Port to new base class.
21385 2005-07-15 Wim Taymans <wim@fluendo.com>
21387 * gst/gstmessage.c: (gst_message_new_state_changed):
21388 * tools/gst-launch.c: (event_loop), (main):
21389 Totally dump messages in -launch with the -m option.
21390 Fix message name for State messages,
21392 2005-07-14 Wim Taymans <wim@fluendo.com>
21394 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21395 Post error messages on errors.
21397 2005-07-14 Wim Taymans <wim@fluendo.com>
21399 * gst/gstcaps.c: (gst_caps_do_simplify):
21400 Remove debug info.
21402 * gst/gsterror.h:
21403 Define error for stream stopped.
21405 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21406 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21407 Do proper return values.
21409 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21410 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21411 (gst_pad_get_range):
21412 Better return values.
21414 * gst/gstpad.h:
21415 Reorganise return values, add macro to check for fatal errors.
21417 * gst/gstqueue.c: (gst_queue_chain):
21418 Return proper GstFlowReturn values,
21420 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21422 * docs/gst/gstreamer-sections.txt:
21423 * docs/gst/gstreamer.types:
21424 * docs/gst/tmpl/gst.sgml:
21425 * docs/gst/tmpl/gstbasesink.sgml:
21426 * docs/gst/tmpl/gstbasesrc.sgml:
21427 * docs/gst/tmpl/gstbasetransform.sgml:
21428 * docs/gst/tmpl/gstbin.sgml:
21429 * docs/gst/tmpl/gstbuffer.sgml:
21430 * docs/gst/tmpl/gstcaps.sgml:
21431 * docs/gst/tmpl/gstclock.sgml:
21432 * docs/gst/tmpl/gstcompat.sgml:
21433 * docs/gst/tmpl/gstconfig.sgml:
21434 * docs/gst/tmpl/gstelement.sgml:
21435 * docs/gst/tmpl/gstelementdetails.sgml:
21436 * docs/gst/tmpl/gstelementfactory.sgml:
21437 * docs/gst/tmpl/gstenumtypes.sgml:
21438 * docs/gst/tmpl/gsterror.sgml:
21439 * docs/gst/tmpl/gstevent.sgml:
21440 * docs/gst/tmpl/gstfakesink.sgml:
21441 * docs/gst/tmpl/gstfakesrc.sgml:
21442 * docs/gst/tmpl/gstfilesink.sgml:
21443 * docs/gst/tmpl/gstfilesrc.sgml:
21444 * docs/gst/tmpl/gstfilter.sgml:
21445 * docs/gst/tmpl/gstformat.sgml:
21446 * docs/gst/tmpl/gstghostpad.sgml:
21447 * docs/gst/tmpl/gstimplementsinterface.sgml:
21448 * docs/gst/tmpl/gstindex.sgml:
21449 * docs/gst/tmpl/gstindexfactory.sgml:
21450 * docs/gst/tmpl/gstinfo.sgml:
21451 * docs/gst/tmpl/gstiterator.sgml:
21452 * docs/gst/tmpl/gstmacros.sgml:
21453 * docs/gst/tmpl/gstmemchunk.sgml:
21454 * docs/gst/tmpl/gstminiobject.sgml:
21455 * docs/gst/tmpl/gstobject.sgml:
21456 * docs/gst/tmpl/gstpad.sgml:
21457 * docs/gst/tmpl/gstpadtemplate.sgml:
21458 * docs/gst/tmpl/gstparse.sgml:
21459 * docs/gst/tmpl/gstpipeline.sgml:
21460 * docs/gst/tmpl/gstplugin.sgml:
21461 * docs/gst/tmpl/gstpluginfeature.sgml:
21462 * docs/gst/tmpl/gstquery.sgml:
21463 * docs/gst/tmpl/gstqueue.sgml:
21464 * docs/gst/tmpl/gstregistry.sgml:
21465 * docs/gst/tmpl/gstregistrypool.sgml:
21466 * docs/gst/tmpl/gstscheduler.sgml:
21467 * docs/gst/tmpl/gstschedulerfactory.sgml:
21468 * docs/gst/tmpl/gststructure.sgml:
21469 * docs/gst/tmpl/gstsystemclock.sgml:
21470 * docs/gst/tmpl/gsttaglist.sgml:
21471 * docs/gst/tmpl/gsttagsetter.sgml:
21472 * docs/gst/tmpl/gsttrace.sgml:
21473 * docs/gst/tmpl/gsttrashstack.sgml:
21474 * docs/gst/tmpl/gsttypefind.sgml:
21475 * docs/gst/tmpl/gsttypefindfactory.sgml:
21476 * docs/gst/tmpl/gsttypes.sgml:
21477 * docs/gst/tmpl/gsturihandler.sgml:
21478 * docs/gst/tmpl/gsturitype.sgml:
21479 * docs/gst/tmpl/gstutils.sgml:
21480 * docs/gst/tmpl/gstvalue.sgml:
21481 * docs/gst/tmpl/gstversion.sgml:
21482 * docs/gst/tmpl/gstxml.sgml:
21483 * docs/libs/tmpl/gstcontrol.sgml:
21484 * docs/libs/tmpl/gstdataprotocol.sgml:
21485 * docs/libs/tmpl/gstdparam.sgml:
21486 * docs/libs/tmpl/gstdplinint.sgml:
21487 * docs/libs/tmpl/gstdpman.sgml:
21488 * docs/libs/tmpl/gstdpsmooth.sgml:
21489 * docs/libs/tmpl/gstgetbits.sgml:
21490 * docs/libs/tmpl/gstunitconvert.sgml:
21491 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21492 (gst_push_src_base_init), (gst_push_src_class_init),
21493 (gst_push_src_init), (gst_push_src_create):
21494 * gst/base/gstpushsrc.h:
21495 * gst/elements/gstelements.c:
21496 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21497 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21498 (gst_fake_sink_init), (gst_fake_sink_set_property),
21499 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21500 (gst_fake_sink_event), (gst_fake_sink_preroll),
21501 (gst_fake_sink_render), (gst_fake_sink_change_state):
21502 * gst/elements/gstfakesink.h:
21503 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21504 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21505 (gst_fake_src_base_init), (gst_fake_src_class_init),
21506 (gst_fake_src_init), (gst_fake_src_event_handler),
21507 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21508 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21509 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21510 (gst_fake_src_create_buffer), (gst_fake_src_create),
21511 (gst_fake_src_start), (gst_fake_src_stop):
21512 * gst/elements/gstfakesrc.h:
21513 * gst/elements/gstfilesink.c: (_do_init),
21514 (gst_file_sink_base_init), (gst_file_sink_class_init),
21515 (gst_file_sink_init), (gst_file_sink_dispose),
21516 (gst_file_sink_set_location), (gst_file_sink_set_property),
21517 (gst_file_sink_get_property), (gst_file_sink_open_file),
21518 (gst_file_sink_close_file), (gst_file_sink_query),
21519 (gst_file_sink_event), (gst_file_sink_render),
21520 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21521 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21522 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21523 * gst/elements/gstfilesink.h:
21524 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21525 (gst_file_src_class_init), (gst_file_src_init),
21526 (gst_file_src_finalize), (gst_file_src_set_location),
21527 (gst_file_src_set_property), (gst_file_src_get_property),
21528 (gst_file_src_map_region), (gst_file_src_map_small_region),
21529 (gst_file_src_create_mmap), (gst_file_src_create_read),
21530 (gst_file_src_create), (gst_file_src_is_seekable),
21531 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21532 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21533 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21534 (gst_file_src_uri_handler_init):
21535 * gst/elements/gstfilesrc.h:
21536 more autistic cleanliness in functions/names/defines
21538 2005-07-13 Andy Wingo <wingo@pobox.com>
21540 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21541 source couldn't negotiate.
21543 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21544 connections again.
21546 * gst/gstutils.h:
21547 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21548 function. I am channeling Hades. Put your boots on suckers!!!
21550 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21552 * testsuite/caps/Makefile.am:
21553 * testsuite/caps/value_compare.c:
21554 * testsuite/caps/value_intersect.c:
21555 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21556 move two testsuite apps over to the check dir
21558 2005-07-12 Wim Taymans <wim@fluendo.com>
21560 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21561 Added more debug info in the negotiate process.
21563 * gst/gstmessage.h:
21564 Prepare for segment playback.
21566 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21567 Better debugging.
21569 * gst/gstutils.c:
21570 Some more docs.
21572 * tools/gst-launch.c: (main):
21573 NULL pipeline on errors.
21575 2005-07-12 Andy Wingo <wingo@pobox.com>
21577 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21578 not it comes from a malloc region. Make sure our copy gets freed.
21580 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21582 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21583 * check/gst/gstmessage.c: (GST_START_TEST):
21584 * check/gst/gststructure.c: (GST_START_TEST),
21585 (gst_structure_suite), (main):
21586 more testing
21587 * gst/gstelement.c: (gst_element_message_full):
21588 clean up GError and debug string now that they get copied
21589 * gst/gstmessage.c: (gst_message_new_error),
21590 (gst_message_new_warning), (gst_message_parse_error),
21591 (gst_message_parse_warning):
21592 use GST_TYPE_G_ERROR for structure_new, and take copies of
21593 arguments, so that we don't mess up refcounting
21595 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21597 * check/Makefile.am:
21598 add per-test valgrind targets
21599 * check/gst-libs/gdp.c: (GST_START_TEST),
21600 (gst_data_protocol_suite), (main):
21601 clean up
21603 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21605 * check/Makefile.am:
21606 instate more valgrindable tests
21607 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21608 (GST_START_TEST), (fakesrc_suite):
21609 * check/gst/gstpad.c: (GST_START_TEST):
21610 * check/gst/gststructure.c: (GST_START_TEST):
21611 fix test leaks
21612 * docs/gst/tmpl/gstminiobject.sgml:
21613 * gst/gstpad.c: (gst_pad_finalize):
21614 fix the static mutex leak
21616 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21618 * check/Makefile.am:
21619 add two more tests for valgrinding
21620 * check/gst/gstvalue.c: (GST_START_TEST):
21621 test refcount of deserialized buffer, found a leak
21622 * docs/gst/gstreamer-docs.sgml:
21623 * docs/gst/gstreamer-sections.txt:
21624 * docs/gst/gstreamer.types:
21625 * docs/gst/tmpl/gstminiobject.sgml:
21626 add miniobject to docs
21627 * gst/gstminiobject.c:
21628 add some docs
21629 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21630 (gst_string_unwrap):
21631 fix a hard-to-find invalid write for one of the tests
21632 fix a leak for deserialized buffers
21634 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21636 * docs/pwg/advanced-events.xml:
21637 * docs/pwg/advanced-request.xml:
21638 * docs/pwg/advanced-scheduling.xml:
21639 * docs/pwg/appendix-porting.xml:
21640 * docs/pwg/building-boiler.xml:
21641 * docs/pwg/intro-preface.xml:
21642 * docs/pwg/other-ntoone.xml:
21643 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21644 of example code and explanation for pad activation, loop() and
21645 getrange() functions and a bit more. Remove old comments pointing
21646 to loop-functions.
21647 * examples/pwg/Makefile.am:
21648 Add loop/getrange examples.
21650 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21652 * configure.ac:
21653 check for valgrind binary + some fixes
21654 * check/gst.supp:
21655 valgrind suppressions for the tests
21656 * check/Makefile.am:
21657 add a valgrind: target that valgrinds the unit tests
21658 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21659 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21660 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21661 * check/gst/gstghostpad.c:
21662 added some cleanup
21663 * check/gst/gstdata.c:
21664 removed
21665 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21666 (thread_unref), (gst_mini_object_suite), (main):
21667 added
21668 * gst/gst.c: (gst_deinit):
21669 * gst/gst.h:
21670 add a method to clean up.
21671 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21672 (gst_system_clock_obtain):
21673 allow for disposing the system clock.
21674 * tools/gst-launch.c: (main):
21675 deinit
21677 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21679 * docs/gst/tmpl/gstbasesrc.sgml:
21680 * docs/gst/tmpl/gstfakesrc.sgml:
21681 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21682 (gst_base_src_init), (gst_base_src_set_property),
21683 (gst_base_src_get_property), (gst_base_src_get_range),
21684 (gst_base_src_start):
21685 * gst/base/gstbasesrc.h:
21686 add num-buffers property
21687 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21688 (gst_fakesrc_init), (gst_fakesrc_set_property),
21689 (gst_fakesrc_get_property), (gst_fakesrc_create),
21690 (gst_fakesrc_start):
21691 remove num-buffers property
21693 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21695 * docs/gst/gstreamer-sections.txt:
21696 * docs/gst/tmpl/gstbasesink.sgml:
21697 * docs/gst/tmpl/gstbasesrc.sgml:
21698 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21699 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21700 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21701 (gst_base_sink_set_property), (gst_base_sink_get_property),
21702 (gst_base_sink_handle_object), (gst_base_sink_event),
21703 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21704 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21705 (gst_base_sink_loop), (gst_base_sink_deactivate),
21706 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21707 (gst_base_sink_change_state):
21708 * gst/base/gstbasesink.h:
21709 * gst/base/gstbasesrc.h:
21710 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21711 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21712 (gst_filesink_init):
21713 more macro splitting
21715 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21717 * gst/gstelement.c: (gst_element_get_bus):
21718 add debug
21719 * tools/gst-launch.c: (check_intr), (event_loop):
21720 fix bus leaks
21722 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21724 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21725 fix a caps leak
21727 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21729 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21730 (gst_base_src_finalize):
21731 add finalize method and clean up properly
21732 * gst/gstpipeline.c: (gst_pipeline_dispose):
21733 add debug
21735 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21737 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21738 (gst_bin_suite):
21739 add more things to check
21740 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21741 * gst/gstelement.c:
21742 more debug
21744 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21746 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21747 (GST_START_TEST), (fakesrc_suite):
21748 * check/gst-libs/gdp.c: (GST_START_TEST):
21749 * check/gst/gst.c: (GST_START_TEST):
21750 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21751 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21752 * check/gst/gstbus.c: (GST_START_TEST):
21753 * check/gst/gstcaps.c: (GST_START_TEST):
21754 * check/gst/gstdata.c: (GST_START_TEST):
21755 * check/gst/gstelement.c: (GST_START_TEST):
21756 * check/gst/gstghostpad.c: (GST_START_TEST):
21757 * check/gst/gstiterator.c: (GST_START_TEST):
21758 * check/gst/gstmessage.c: (GST_START_TEST):
21759 * check/gst/gstobject.c: (GST_START_TEST):
21760 * check/gst/gstpad.c: (GST_START_TEST):
21761 * check/gst/gststructure.c: (GST_START_TEST):
21762 * check/gst/gstsystemclock.c: (GST_START_TEST),
21763 (gst_systemclock_suite):
21764 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21765 * check/gst/gstvalue.c: (GST_START_TEST):
21766 * check/pipelines/cleanup.c: (GST_START_TEST):
21767 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21768 * check/states/sinks.c: (GST_START_TEST):
21769 * check/gstcheck.c: (gst_check_init):
21770 * check/gstcheck.h:
21771 add debugging category
21772 use GST_START_TEST now, so we add a debug line
21774 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21776 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21777 add test for state change message on a bin
21778 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21779 add another test
21780 * gst/gstbin.c: (gst_bin_init):
21781 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21782 * gst/gstelement.c: (gst_element_post_message),
21783 (gst_element_set_state):
21784 * gst/gstelementfactory.c: (gst_element_factory_create):
21785 * gst/gstmessage.c: (gst_message_new):
21786 * gst/gstscheduler.c:
21787 various debugging additions and cleanups
21789 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21791 * check/Makefile.am:
21792 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21793 (main):
21794 adding tests for elements
21795 * gst/gstelement.c: (gst_element_dispose):
21797 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21799 * gst/registries/gstlibxmlregistry.c: (load_feature):
21800 plug more leaks. A simple gst_init() now is leakfree, yay.
21802 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21804 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21805 (gst_xml_registry_load):
21806 plug another memleak
21808 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21810 * configure.ac:
21811 use GST_SET_ERROR_CFLAGS
21812 * docs/faq/cvs.xml:
21813 change to ERROR_CFLAGS
21815 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21817 * configure.ac:
21818 make GST_ERROR_CFLAGS overridable and re-enable Werror
21819 * docs/faq/cvs.xml:
21820 add a note about error CFLAGS
21821 * docs/gst/tmpl/gstfakesrc.sgml:
21822 * gst/elements/gstfakesrc.c:
21823 comment out some unused code
21824 * gst/gst.c: (split_and_iterate):
21825 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21826 (load_feature):
21827 plug some memleaks
21829 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21831 * common/Makefile.am:
21832 * common/gtk-doc.mak:
21833 * docs/gst/Makefile.am:
21834 factor out gtk-doc.mak
21836 2005-07-07 Wim Taymans <wim@fluendo.com>
21838 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21839 (gst_thread_scheduler_dispose):
21840 Unlock the STREAM_LOCK completely.
21842 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21844 * check/Makefile.am:
21845 * check/elements/.cvsignore:
21846 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21847 (START_TEST), (fakesrc_suite), (main):
21848 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21849 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21850 (gst_fakesrc_create), (gst_fakesrc_start):
21851 * gst/elements/gstfakesrc.h:
21852 adding a first element test
21854 2005-07-07 Andy Wingo <wingo@pobox.com>
21856 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21857 debug message.
21859 2005-07-07 Wim Taymans <wim@fluendo.com>
21861 * gst/gstquery.c:
21862 * gst/gstquery.h:
21863 Remove old types
21865 2005-07-07 Wim Taymans <wim@fluendo.com>
21867 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21868 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21869 Allow subclasses to implement their own negotiation.
21871 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21873 * docs/design/part-gstbin.txt:
21874 * docs/design/part-gstpipeline.txt:
21875 Update design notes to reflect the movement of
21876 responsibility for bus handling from GstPipeline to
21877 GstBin
21879 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21881 * configure.ac:
21882 Remove unnecessary queue2/3/4 examples.
21884 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21886 * examples/Makefile.am:
21887 * examples/helloworld/helloworld.c: (event_loop), (main):
21888 * examples/queue/queue.c: (event_loop), (main):
21889 * examples/queue2/queue2.c: (main):
21890 Update a couple of the examples to work again.
21892 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21893 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21894 Spelling corrections and extra debug.
21896 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21897 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21898 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21899 * gst/gstbin.h:
21900 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21901 (gst_pipeline_change_state):
21902 * gst/gstpipeline.h:
21903 Move the bus handler for children to the GstBin, and create a
21904 separate bus for receiving messages from children to the one the
21905 bus sends 'upwards' on.
21907 2005-07-06 Wim Taymans <wim@fluendo.com>
21909 * gst/base/README:
21910 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21911 (gst_base_sink_handle_object), (gst_base_sink_loop),
21912 (gst_base_sink_change_state):
21913 * gst/base/gstbasesink.h:
21914 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21915 (gst_base_src_init), (gst_base_src_setcaps),
21916 (gst_base_src_getcaps), (gst_base_src_loop),
21917 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21918 (gst_base_src_start), (gst_base_src_change_state):
21919 * gst/base/gstbasesrc.h:
21920 Make basesrc negotiate.
21921 Handle the case where preroll fails in basesink.
21922 Update README.
21924 2005-07-06 Wim Taymans <wim@fluendo.com>
21926 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21927 Implement the fixate function.
21928 Clean up acceptcaps.
21930 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21932 * docs/pwg/building-filterfactory.xml:
21933 * docs/pwg/pwg.xml:
21934 Remove never-written filter-factory chapter; I'll add the various
21935 base classes to part 4 ("other element types") later on.
21937 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21939 * docs/pwg/advanced-negotiation.xml:
21940 * docs/pwg/building-boiler.xml:
21941 * docs/pwg/building-pads.xml:
21942 * docs/pwg/pwg.xml:
21943 * examples/pwg/Makefile.am:
21944 Add a chapter on caps negotiation, simplify the original code
21945 samples a bit w.r.t. caps negotiation, add link to the advanced
21946 section. Add a bunch of examples showing different use cases of
21947 different types of caps negotiation. Upstream renegotiation isn't
21948 fully documented yet since nobody knows how that works.
21950 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21952 * check/gst/gstpad.c:
21953 * check/gstcheck.c:
21954 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21955 if pad has no parent, return NULL as list of internal links
21957 2005-07-05 Andy Wingo <wingo@pobox.com>
21959 * gst/elements/gstfilesrc.c:
21960 * gst/elements/gstfakesrc.c:
21961 * gst/base/gstpushsrc.c:
21962 * gst/base/gstbasesrc.h:
21963 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21965 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21967 * Makefile.am:
21968 better report generation target (lcov needs a patch)
21970 2005-07-05 Andy Wingo <wingo@pobox.com>
21972 * gst/elements, testsuite: Null if we got it...
21974 2005-07-05 Wim Taymans <wim@fluendo.com>
21976 * configure.ac:
21977 * libs/gst/dataprotocol/Makefile.am:
21978 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21979 * libs/gst/dataprotocol/dataprotocol.h:
21980 * pkgconfig/Makefile.am:
21981 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21982 * pkgconfig/gstreamer-dataprotocol.pc.in:
21983 Ported dataprotol to 0.9.
21984 Added pkgconfig files.
21986 2005-07-05 Andy Wingo <wingo@pobox.com>
21988 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21989 Default to returning TRUE for the case when tranform_caps returns
21990 a fixed caps, like for identity or volume.
21992 * check/gst/gstbus.c (pound_bus_with_messages):
21993 * check/gst/gstmessage.c (START_TEST):
21994 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21995 message API change.
21997 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21998 logic weaks here: always run transform_caps, trying passthrough
21999 operation only if the original caps intersects with the transform.
22001 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22002 source and sink caps.
22004 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22005 Intersect the peer caps with the pad template before going into
22006 transform_caps.
22007 (gst_base_transform_transform_caps): More debugging.
22009 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22010 src argument.
22012 2005-07-04 Edward Hervey <edward@fluendo.com>
22014 * gst/gstutils.c:
22015 * gst/gstutils.h:
22016 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22017 in bindings.
22019 2005-07-04 Andy Wingo <wingo@pobox.com>
22021 * check/gst/gstpad.c: Only set explicit caps on pads.
22023 2005-07-01 Andy Wingo <wingo@pobox.com>
22025 * tests/network-clock.scm: Commentary update.
22027 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22028 Didn't really make sense, not implementable with basetransform,
22029 etc.
22030 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22031 attempt at implementing the sync property, needs an unlock method.
22033 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22034 New func, by default returns the same caps (the identity
22035 transformation).
22036 (gst_base_transform_getcaps): Uses transform_caps to return
22037 something sensible.
22038 (gst_base_transform_setcaps): Complicated logic to get caps on
22039 both pads, even if they are different, and to call set_caps once
22040 for every time both pads get their caps set.
22041 (gst_base_transform_handle_buffer): Give the ref to the transform
22042 function. Allows in-place modification of the buffer.
22044 * gst/base/gstbasetransform.h (transform_caps): New class method.
22045 Given caps on one side, what can I do on the other.
22046 (set_caps): Take two caps, one for each side of the element.
22048 * gst/gstpad.h:
22049 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22050 caps in place. This is safe because we can check the mutability of
22051 the caps, and a good idea because fixate functions are just called
22052 as a matter of last resort. (Not actually implemented.)
22053 (gst_pad_set_caps): If the caps we're setting is actually the same
22054 as the existing pad caps, just update the pointer without calling
22055 setcaps. Assert that caps is either NULL or fixed, as per the
22056 docs.
22058 * gst/gstghostpad.c: Update for fixate changes.
22060 2005-07-02 Andy Wingo <wingo@pobox.com>
22062 * gst/gstcaps.c:
22063 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22064 two refcounts makes it immutable, which is enough. Doc more.
22066 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22068 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22069 Put the mini_object into GValue as a mini_object,
22070 not a gpointer, since that's how we declared
22071 the signal.
22073 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22075 * examples/pwg/Makefile.am:
22076 Fix buildbot again.
22078 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22080 * docs/pwg/building-testapp.xml:
22081 Add extra check.
22082 * examples/pwg/Makefile.am:
22083 Fix buildbot.
22085 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22087 * configure.ac:
22088 * examples/Makefile.am:
22089 * examples/pwg/Makefile.am:
22090 * examples/pwg/extract.pl:
22091 Enable building the PWG examples.
22092 * docs/pwg/advanced-interfaces.xml:
22093 Add URI interface stub.
22094 * docs/pwg/advanced-types.xml:
22095 * docs/pwg/other-autoplugger.xml:
22096 * docs/pwg/appendix-porting.xml:
22097 * docs/pwg/pwg.xml:
22098 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22099 * docs/pwg/building-boiler.xml:
22100 * docs/pwg/building-chainfn.xml:
22101 * docs/pwg/building-pads.xml:
22102 * docs/pwg/building-props.xml:
22103 * docs/pwg/building-state.xml:
22104 * docs/pwg/building-testapp.xml:
22105 Update the building-*.xml parts for 0.9 changes. All examples
22106 code blocks compile in examples/pwg/*.
22108 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22110 * docs/manual/advanced-autoplugging.xml:
22111 * docs/manual/appendix-checklist.xml:
22112 * docs/manual/appendix-integration.xml:
22113 * docs/manual/highlevel-components.xml:
22114 Fix playbin/decodebin examples, update docs a bit, mention bus
22115 instead of signals in various places, mention kmplayer and
22116 kaffeine since they have a working GStreamer backend in the KDE
22117 section.
22119 2005-06-30 Wim Taymans <wim@fluendo.com>
22121 * CHANGES-0.9:
22122 * docs/design/draft-ghostpads.txt:
22123 * docs/design/draft-push-pull.txt:
22124 * docs/design/draft-query.txt:
22125 * docs/design/part-TODO.txt:
22126 * docs/design/part-query.txt:
22127 Added CHANGES-0.9 doc, updated status of other docs.
22129 * gst/gstquery.h:
22130 Remove "hmm" macro
22132 2005-06-30 Wim Taymans <wim@fluendo.com>
22134 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22135 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22136 (gst_base_sink_change_state):
22137 * gst/base/gstbasesink.h:
22138 Some tweaks, only EOS and a buffer complete a preroll.
22140 2005-06-30 Andy Wingo <wingo@pobox.com>
22142 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22143 activate_push down to the internal pad as well.
22145 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22147 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22149 * gst/gsttaginterface.c:
22150 Some documentation fixes (#307394 and #307397).
22152 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22154 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22156 * gst/gstvalue.c: (gst_value_intersect_list):
22157 Fix memleak (#309125).
22159 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22161 * docs/manual/advanced-dataaccess.xml:
22162 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22163 * docs/manual/basics-pads.xml:
22164 Add reference for filtered caps to above chapter.
22166 2005-06-30 Wim Taymans <wim@fluendo.com>
22168 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22169 (gst_bin_change_state):
22170 Probes are gone.
22171 Lame attempt at making the state change function a bit
22172 more readable.
22174 2005-06-30 Wim Taymans <wim@fluendo.com>
22176 * docs/design/part-clocks.txt:
22177 * docs/design/part-element-sink.txt:
22178 * docs/design/part-events.txt:
22179 * docs/design/part-preroll.txt:
22180 * docs/design/part-states.txt:
22181 Some more tweeks and additions to the docs.
22183 2005-06-30 Wim Taymans <wim@fluendo.com>
22185 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22186 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22187 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22188 (gst_pad_check_pull_range), (gst_pad_get_range),
22189 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22190 * gst/gstpad.h:
22191 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22192 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22193 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22194 (gst_pad_remove_buffer_probe):
22195 Removed atomic operations, use existing LOCK.
22196 Move exception handling out of main code path.
22198 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22200 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22201 (silly_return_true_function), (gst_pad_class_init),
22202 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22203 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22204 (gst_pad_send_event):
22205 Fix accumulator, add default value by using _emitv() instead
22206 of _emit() for signal emission.
22208 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22210 * docs/manual/advanced-dataaccess.xml:
22211 * examples/manual/Makefile.am:
22212 Add probe example.
22213 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22214 Make work (??).
22216 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22218 * gst/elements/gstfilesink.c: (gst_filesink_render):
22219 Simplify code so that we don't have to handle short
22220 writes and return GST_FLOW_ERROR if an error occured.
22222 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22224 * docs/gst/gstreamer-docs.sgml:
22225 Remove probes more.
22227 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22229 * docs/gst/gstreamer-sections.txt:
22230 * docs/gst/tmpl/gstpad.sgml:
22231 * docs/gst/tmpl/gstprobe.sgml:
22232 * gst/Makefile.am:
22233 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22234 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22235 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22236 (gst_pad_push_event), (gst_pad_send_event):
22237 * gst/gstpad.h:
22238 * gst/gstutils.c: (gst_pad_add_data_probe),
22239 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22240 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22241 (gst_pad_remove_buffer_probe):
22242 * gst/gstutils.h:
22243 Remove old probes, add new g-signal-based probes and some utility
22244 functions.
22246 2005-06-29 Edward Hervey <edward@fluendo.com>
22248 * gst/gstelementfactory.c:
22249 * gst/gstutils.h:
22250 * gst/gstutils.c:
22251 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22252 the definition to the header file.
22254 2005-06-29 Andy Wingo <wingo@pobox.com>
22256 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22257 plugins from the source directory.
22259 2005-06-29 Wim Taymans <wim@fluendo.com>
22261 * docs/gst/tmpl/gstbuffer.sgml:
22262 * docs/gst/tmpl/gstclock.sgml:
22263 Some fixings for blantently wrong text.
22265 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22267 * check/Makefile.am:
22268 * gst/gst.c: (add_path_func), (init_pre):
22269 * gst/gstregistry.c: (gst_registry_add_path):
22270 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22271 only scan the GST_PLUGIN_PATH locations, and not add
22272 system locations
22274 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22276 * docs/gst/gstreamer-sections.txt:
22277 * docs/gst/tmpl/gstbasesrc.sgml:
22278 * gst/gstelement.c:
22279 * gst/gstelement.h:
22280 * gst/gstevent.c:
22281 * gst/gstutils.c:
22282 doc fixes
22284 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22286 * docs/manual/advanced-autoplugging.xml:
22287 Fix autoplugging example.
22289 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22291 * docs/manual/advanced-autoplugging.xml:
22292 * docs/manual/mime-world.fig:
22293 Try to get autoplugging working, fix type detection. Fix text
22294 in hello-world image.
22296 2005-06-29 Wim Taymans <wim@fluendo.com>
22298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22299 (gst_base_sink_change_state):
22300 Small debug line.
22302 * gst/gstclock.h:
22303 map SIGNAL and BROADCAST to the right function.
22305 * gst/gstobject.h:
22306 Remove redundant braces.
22308 * gst/gstpad.c: (gst_pad_set_caps):
22309 Don't call setcaps function when reseting caps to NULL.
22311 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22312 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22313 (gst_system_clock_id_unschedule):
22314 Use BROADCAST as this is what we do.
22316 2005-06-29 Wim Taymans <wim@fluendo.com>
22318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22319 We are actually prerolling before commiting the state
22320 change.
22322 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22324 * docs/manual/advanced-clocks.xml:
22325 * docs/manual/advanced-interfaces.xml:
22326 * docs/manual/advanced-metadata.xml:
22327 * docs/manual/advanced-position.xml:
22328 * docs/manual/advanced-schedulers.xml:
22329 * docs/manual/advanced-threads.xml:
22330 * docs/manual/appendix-porting.xml:
22331 * docs/manual/basics-bins.xml:
22332 * docs/manual/basics-bus.xml:
22333 * docs/manual/basics-elements.xml:
22334 * docs/manual/basics-helloworld.xml:
22335 * docs/manual/basics-pads.xml:
22336 * docs/manual/highlevel-components.xml:
22337 * docs/manual/manual.xml:
22338 * docs/manual/thread.fig:
22339 Update (until threads/scheduling) Application Development Manual;
22340 remove GstThread, add GstBus, add simple porting checklist, add
22341 documentation for tag writing, clocks, make all examples until this
22342 part compile and run.
22343 * examples/manual/Makefile.am:
22344 Update from changes to Application Development Manual; add bus
22345 example, remove thread example.
22347 2005-06-28 Wim Taymans <wim@fluendo.com>
22349 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22350 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22351 (gst_bus_source_dispatch):
22352 Add debugging messages.
22353 Make internal methods static.
22354 Handle the case where the bus is flushed in the handler.
22356 * gst/gstelement.c: (gst_element_get_bus):
22357 Fix refcount in _get_bus();
22359 * gst/gstpipeline.c: (gst_pipeline_change_state),
22360 (gst_pipeline_get_clock_func):
22361 Clock refcounting fixes.
22362 Handle the case where preroll timed out more gracefully.
22364 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22365 Clean up the internal thread in dispose. This is needed
22366 for subclasses that actually get disposed.
22368 * gst/schedulers/threadscheduler.c:
22369 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22370 (gst_thread_scheduler_dispose):
22371 Free thread pool in dispose.
22373 2005-06-28 Andy Wingo <wingo@pobox.com>
22375 * tests/network-clock-utils.scm (debug, print-event): New utils.
22377 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22378 (*packet-loss*): Unified loss probability.
22379 (network-time): Report out-of-band events.
22381 * tests/plot-data: Add support for out-of-band events. Hack it
22382 into this script instead of passing it down the pipe; should fix
22383 this later.
22385 2005-06-28 Wim Taymans <wim@fluendo.com>
22387 * docs/gst/gstreamer.types:
22388 * docs/gst/tmpl/gstbasesrc.sgml:
22389 * docs/gst/tmpl/gstpad.sgml:
22390 Docs fixes.
22392 2005-06-28 Wim Taymans <wim@fluendo.com>
22394 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22395 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22396 (gst_proxy_pad_do_fixatecaps):
22397 Correctly proxy the check_pull_range function.
22399 2005-06-28 Andy Wingo <wingo@pobox.com>
22401 * tests/network-clock.scm: Removed need for slib.
22403 2005-06-28 Wim Taymans <wim@fluendo.com>
22405 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22406 (gst_basesink_preroll_queue_flush):
22407 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22408 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22409 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22410 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22411 (gst_proxy_pad_set_property):
22412 * gst/gstpad.c:
22413 * gst/gstpad.h:
22414 * gst/gstqueue.c: (gst_queue_init):
22415 The deprecated pad loop function is removed now.
22417 2005-06-28 Andy Wingo <wingo@pobox.com>
22419 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22420 New parameters, simulate network packet loss.
22422 * tests/network-clock-utils.scm: Initialize the RNG.
22424 2005-06-28 Wim Taymans <wim@fluendo.com>
22426 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22427 (gst_basesink_event), (gst_basesink_deactivate):
22428 Flushing the preroll queue always needs to unlock the waiters.
22430 2005-06-28 Edward Hervey <edward@fluendo.com>
22432 * gst/gstpipeline.c: (gst_pipeline_send_event):
22433 Wheen a seek was successful on a pipeline, set the stream_time to the
22434 seek offset in order to have a synchronized stream_time.
22436 2005-06-28 Wim Taymans <wim@fluendo.com>
22438 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22439 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22440 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22441 (gst_proxy_pad_do_fixatecaps):
22442 Call wrapper function instead of just calling the function
22443 pointers. This takes care of any locking and whatmore.
22445 2005-06-28 Wim Taymans <wim@fluendo.com>
22447 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22448 (gst_pad_pull_range):
22449 * gst/gstpad.h:
22450 CONNECTED -> LINKED.
22452 2005-06-28 Andy Wingo <wingo@pobox.com>
22454 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22455 source-munging commit!!!
22457 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22458 (gst_object_sink): Take gpointer arguments, not GstObject --
22459 avoids casts. Like GLib.
22461 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22462 activate.
22464 2005-06-27 Andy Wingo <wingo@pobox.com>
22466 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22467 remaining buffer.
22469 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22470 returns a sorted copy of the trace list.
22471 (gst_alloc_trace_print_live): New API, only prints traces with
22472 live objects. Sort the list.
22473 (gst_alloc_trace_print_all): Sort the list.
22474 (gst_alloc_trace_print): Align columns.
22476 * gst/elements/gstttypefindelement.c:
22477 * gst/elements/gsttee.c:
22478 * gst/base/gstbasesrc.c:
22479 * gst/base/gstbasesink.c:
22480 * gst/base/gstbasetransform.c:
22481 * gst/gstqueue.c: Adapt for pad activation changes.
22483 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22484 sched.
22485 (gst_pipeline_dispose): Drop ref on sched.
22487 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22488 (gst_pad_activate_default): Push mode by default.
22489 (pre_activate_switch, post_activate_switch): New stubs, things to
22490 do before and after switching activation modes on pads.
22491 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22492 the pad's activate function to choose which mode to activate.
22493 Shortcut on deactivation and call the right function directly.
22494 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22495 mode.
22496 (gst_pad_activate_push): New API, same for push mode.
22497 (gst_pad_set_activate_function)
22498 (gst_pad_set_activatepull_function)
22499 (gst_pad_set_activatepush_function): Setters for new API.
22501 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22502 Trace all miniobjects.
22503 (gst_mini_object_make_writable): Unref the arg if we copy, like
22504 gst_caps_make_writable.
22506 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22508 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22509 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22510 Adapt for new pad API.
22512 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22514 * gst/gstelement.h:
22515 * gst/gstelement.c (gst_element_iterate_src_pads)
22516 (gst_element_iterate_sink_pads): New API functions.
22518 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22519 should fold into gstiterator.c in some form.
22520 (gst_element_pads_activate): Simplified via use of fold and
22521 delegation of decisions to gstpad->activate.
22523 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22524 help in debugging.
22526 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22527 class once in init, like gstmessage. Didn't run into this issue
22528 but it seems correct. Don't initialize a trace, gstminiobject does
22529 that.
22531 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22532 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22533 to the bus.
22534 (assert_live_count): New util function, uses alloc traces to check
22535 cleanup.
22537 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22538 To be modified when unlink drops the internal pad.
22540 2005-06-27 Wim Taymans <wim@fluendo.com>
22542 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22543 (gst_bin_change_state):
22544 Cleanup the get_state() function a little, make sure it
22545 iterates the same set of elements.
22546 Added stub iterate_state_order().
22548 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22550 * docs/gst/gstreamer-docs.sgml:
22551 * docs/gst/gstreamer-sections.txt:
22552 * docs/gst/gstreamer.types:
22553 * docs/gst/tmpl/gstbasesink.sgml:
22554 * docs/gst/tmpl/gstbasesrc.sgml:
22555 * docs/gst/tmpl/gstbasetransform.sgml:
22556 * docs/gst/tmpl/gstelement.sgml:
22557 * docs/gst/tmpl/gstiterator.sgml:
22558 * gst/base/gstbasesrc.c:
22559 * gst/base/gstbasesrc.h:
22560 * gst/base/gstbasetransform.h:
22561 * gst/gstelement.c:
22562 * gst/gstiterator.h:
22563 adding basetransform and iterator docs
22565 2005-06-27 Andy Wingo <wingo@pobox.com>
22567 * docs/design/part-activation.txt: Notes on how activation should
22568 work -- not quite implemented yet.
22570 2005-06-25 Wim Taymans <wim@fluendo.com>
22572 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22573 At least get the chain function correct, needs more
22574 fixing.
22576 2005-06-25 Wim Taymans <wim@fluendo.com>
22578 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22579 (gst_basesink_handle_object), (gst_basesink_event),
22580 (gst_basesink_do_sync), (gst_basesink_handle_event),
22581 (gst_basesink_change_state):
22582 * gst/gsttask.h:
22583 Right, two problems here: ghostpads don't take locks and
22584 glib _rec_mutex_lock_full() with depth==0 still locks.
22585 Catch illegal locking and g_warn them.
22587 2005-06-25 Wim Taymans <wim@fluendo.com>
22589 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22590 Have to check for completion now...
22592 2005-06-25 Wim Taymans <wim@fluendo.com>
22594 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22595 (gst_basesink_handle_object), (gst_basesink_event),
22596 (gst_basesink_do_sync), (gst_basesink_handle_event),
22597 (gst_basesink_change_state):
22598 * gst/gstpad.h:
22599 Unlock STREAM_LOCK whatever the recursion was.
22601 2005-06-25 Wim Taymans <wim@fluendo.com>
22603 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22604 (gst_basesink_preroll_queue_empty),
22605 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22606 (gst_basesink_event), (gst_basesink_do_sync),
22607 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22608 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22609 (gst_basesink_change_state):
22610 Reworked the base sink, handle event and buffer serialisation
22611 correctly and removed possible deadlock.
22612 Handle EOS correctly.
22614 2005-06-25 Wim Taymans <wim@fluendo.com>
22616 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22617 (gst_pipeline_change_state):
22618 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22619 Allow elements to post EOS in the state change function.
22620 Fix up -launch, make it exit the poll loop when the
22621 pipeline actually changed state.
22622 Fix up warning parsing in -launch.
22624 2005-06-25 Wim Taymans <wim@fluendo.com>
22626 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22627 (gst_tee_sink_activate):
22628 Core takes STREAM_LOCK for us now.
22630 2005-06-25 Wim Taymans <wim@fluendo.com>
22632 * gst/gstelement.c: (gst_element_get_state_func),
22633 (gst_element_set_state):
22634 * gst/gstelement.h:
22635 * gst/gstmessage.c: (gst_message_parse_error),
22636 (gst_message_parse_warning):
22637 Keep track of current target state while performing a state
22638 change so that subclasses can do something interesting.
22639 Fix parsing of warning/error messages when GError is NULL.
22641 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22643 * docs/gst/Makefile.am:
22644 * docs/gst/gstreamer-docs.sgml:
22645 * docs/gst/gstreamer-sections.txt:
22646 * docs/gst/gstreamer.types:
22647 * docs/gst/tmpl/gstbasesink.sgml:
22648 * docs/gst/tmpl/gstbasesrc.sgml:
22649 * docs/gst/tmpl/gstbin.sgml:
22650 * docs/gst/tmpl/gstcompat.sgml:
22651 * docs/gst/tmpl/gstfakesink.sgml:
22652 * docs/gst/tmpl/gstfakesrc.sgml:
22653 * docs/gst/tmpl/gstfilesink.sgml:
22654 * docs/gst/tmpl/gstfilesrc.sgml:
22655 * docs/gst/tmpl/gstindex.sgml:
22656 * docs/manual/appendix-quotes.xml:
22657 * gst/base/gstbasesrc.h:
22658 * gst/elements/gstfakesrc.h:
22659 * gst/gstmessage.h:
22660 start pulling in base classes and elements in our docs
22662 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22664 * docs/gst/Makefile.am:
22665 * docs/libs/Makefile.am:
22666 fixed make distcheck with gtk-doc 1.3
22668 2005-06-23 Wim Taymans <wim@fluendo.com>
22670 * gst/gstelement.c: (gst_element_get_state_func),
22671 (gst_element_set_state), (gst_element_change_state):
22672 When the state did not change, also report NO_PREROLL
22673 when it matters.
22675 2005-06-23 Wim Taymans <wim@fluendo.com>
22677 * gst/gstpad.c: (gst_pad_event_default):
22678 * gst/gstqueue.c: (gst_queue_loop):
22679 No unsafe task pausing please.
22681 2005-06-23 Wim Taymans <wim@fluendo.com>
22683 * gst/schedulers/threadscheduler.c:
22684 (gst_thread_scheduler_task_start),
22685 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22686 Ref the task before pushing it on the threadpool. This
22687 makes sure that we have a ref when the threadfunction is
22688 actually called.
22690 2005-06-23 Andy Wingo <wingo@pobox.com>
22692 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22693 offset is greater than the file's size.
22695 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22696 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22697 * gst/gstobject.c (gst_object_class_init): Make the class lock
22698 recursive. Wim won't let me drop deep_notify. Decodebin works
22699 again, whoopdy doo.
22701 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22702 internal pad, and hacks accordingly. Doesn't do it on the target
22703 pad because we change its caps. Probably catches all cases of
22704 interest tho.
22705 (gst_ghost_pad_set_property): Connect to notify::caps as
22706 appropritate.
22708 * tests/network-clock.scm (plot-simulation): Pipe data to the
22709 elite python skript.
22711 * tests/network-clock-utils.scm (define-parameter): New macro,
22712 defines a parameter that can be set via the command line.
22713 (set-parameter!, parse-parameter-arguments): Command line args
22714 parser.
22716 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22717 stdin.
22719 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22721 * gst/elements/gsttypefindelement.c:
22722 (gst_type_find_element_handle_event):
22723 Don't restart typefinding on a discont.
22724 * gst/gstelement.c: (gst_element_set_state):
22725 Debug spelling fix.
22726 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22727 Allow changing mode of an active pad.
22728 Debug output fixes.
22729 * gst/registries/gstlibxmlregistry.c: (load_feature):
22730 Don't cast a static pad template to a normal pad template.
22732 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22734 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22735 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22736 remove gst_strtoll completely, since it didn't actually do
22737 anything more than what g_ascii_strtoull already does.
22738 check for range errors when deserializing
22739 do a cast for the unsigned cases; but further fixing needs
22740 a decision on what the interpretation of "(int)" and
22741 deserialization should be for values that fall outside the
22742 type's boundaries (ie, refuse, or interpret as casting)
22744 2005-06-23 Wim Taymans <wim@fluendo.com>
22746 * check/Makefile.am:
22747 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22748 * docs/design/part-live-source.txt:
22749 * docs/design/part-states.txt:
22750 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22751 (gst_basesrc_set_live), (gst_basesrc_is_live),
22752 (gst_basesrc_get_range), (gst_basesrc_activate),
22753 (gst_basesrc_change_state):
22754 * gst/base/gstbasesrc.h:
22755 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22756 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22757 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22758 * gst/gstelement.c: (gst_element_get_state_func),
22759 (gst_element_set_state):
22760 * gst/gstelement.h:
22761 * gst/gsttypes.h:
22762 * tools/gst-launch.c: (event_loop), (main):
22763 Added support for live sources and other elements that
22764 cannot do preroll.
22765 Updated design docs, added live-source design doc.
22766 Implemented live source functionality in basesrc
22767 Fix error condition in _bin_get_state()
22768 Implement live source handling in -launch.
22769 Added check for live sources.
22770 Fixed case in GstBin where elements were changed state
22771 multiple times.
22774 2005-06-23 Andy Wingo <wingo@pobox.com>
22776 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22777 borken refcounting.
22779 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22780 gst_caps_replace takes care of this for us.
22782 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22783 gst_pad_set_caps on the target, not just its setcaps() function.
22785 * tests/network-clock.scm:
22786 * tests/network-clock-utils.scm: A network clock simulator.
22787 Something of an algorithmic testbed before doing something in C.
22789 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22791 * check/Makefile.am:
22792 * check/gst/capslist.h:
22793 copy over from 0.8, and add two with bitmasks specified with
22794 (int) 0xFF...
22795 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22796 add test to parse everything from capslist.h
22797 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22798 (main):
22799 add test for structure deserialization
22800 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22801 add tests for deserialization of strings to int types
22802 * gst/gststructure.c: (gst_structure_nth_field_name):
22803 * gst/gststructure.h:
22804 add a way to get the name of a field referenced by index
22805 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22806 instead of checking if the resulting long long lies between
22807 min and max, we check if the long long would fit into
22808 a number of bytes for the final type.
22809 This fixes cases where a string represents 2^32 - 1, which
22810 when cast to int would be the (valid) -1, but is bigger than
22811 G_MAXINT
22813 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22815 * gst/parse/grammar.y:
22816 add a log line for type deserialization
22818 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22820 * check/gst/gstvalue.c: (START_TEST):
22821 * gst/gstvalue.c: (gst_value_deserialize):
22822 return long long, not int, so gint64 deserialization actually
22823 works. Is there any flag that makes the compiler check this ?
22824 Fixes #308559
22826 2005-06-22 Wim Taymans <wim@fluendo.com>
22828 * gst/gstbuffer.h:
22829 Added convenience macros for setting buffers in GValue.
22831 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22833 * check/gst/.cvsignore:
22834 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22835 add a test deserializing int64, and comment part out because
22836 it fails, yay !
22838 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22840 * check/Makefile.am:
22841 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22842 * testsuite/Makefile.am:
22843 * testsuite/caps/Makefile.am:
22844 * testsuite/caps/value_serialize.c:
22845 * testsuite/test_gst_init.c:
22846 move a value_serialize test over
22848 2005-06-20 Wim Taymans <wim@fluendo.com>
22850 * gst/gstpad.c:
22851 Small doc updates.
22853 * gst/gstvalue.c: (gst_value_compare_buffer),
22854 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22855 (gst_value_compare_flags), (gst_value_serialize_flags),
22856 (gst_value_deserialize_flags), (_gst_value_initialize):
22857 Fix serialisation of buffers, they are not boxed types anymore
22859 2005-06-20 Wim Taymans <wim@fluendo.com>
22861 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22862 Testcase to show error in buffer-on-caps serialisation.
22864 2005-06-20 Andy Wingo <wingo@pobox.com>
22866 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22867 will be adding to later.
22869 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22870 if its socks fill with rocks.
22871 (gst_system_clock_obtain): Set the name on object construction.
22872 Avoid double-checked locking.
22874 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22876 * gst/gsturi.c: (gst_element_make_from_uri):
22877 Fix potential endless loop.
22879 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22881 * check/Makefile.am:
22882 add gsttag
22883 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22884 (main):
22885 move over from testsuite dir and clean up
22886 * configure.ac:
22887 * gst/gsttag.c:
22888 * testsuite/Makefile.am:
22889 * testsuite/tags/.cvsignore:
22890 * testsuite/tags/Makefile.am:
22891 * testsuite/tags/merge.c:
22892 remove testsuite/tags
22894 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22896 * docs/gst/gstreamer-sections.txt:
22897 * docs/gst/tmpl/gstenumtypes.sgml:
22898 * win32/gstenumtypes.c:
22899 clean up documentation build a little
22901 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22903 * check/gstcheck.h:
22904 add macros for checking refcounts on objects and caps
22905 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22906 add some more unit tests
22907 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22908 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22909 fix leaked refcounts (I hope :)) so unittest works
22910 * gst/gstpad.h:
22911 whitespace removal
22913 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22915 * configure.ac: back to HEAD
22917 === release 0.9.1 ===
22919 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22921 * NEWS:
22922 * RELEASE:
22923 updated
22925 2005-06-17 Andy Wingo <wingo@pobox.com>
22927 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22928 assert; it's always possible that the pad gets deactivated in
22929 between the checks in gstpad.c and the implementation. Rely on
22930 finish_preroll() to return a FLUSHING or similar instead of on the
22931 assert.
22933 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22934 clock and post an EOS message if we come out of finish_preroll in
22935 the playing state.
22937 2005-06-16 David Schleef <ds@schleef.org>
22939 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22940 (gst_capsfilter_set_property): Allow NULL as possible value
22941 for filter_caps property, indicating GST_CAPS_ANY.
22943 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22945 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22946 fix debug output
22947 * gst/schedulers/Makefile.am:
22948 use libgst prefix
22949 * gstreamer.spec.in:
22950 fix spec for it
22952 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22954 * gstreamer.spec.in:
22955 clean up
22957 2005-06-08 Andy Wingo <wingo@pobox.com>
22959 * gst/gstutils.c: RPAD fixes all around.
22960 (gst_element_link_pads): Refcounting fixes.
22962 * tools/gst-inspect.c:
22963 * tools/gst-xmlinspect.c:
22964 * parse/grammar.y:
22965 * gst/base/gsttypefindhelper.c:
22966 * gst/base/gstbasesink.c:
22967 * gst/gstqueue.c: RPAD fixes.
22969 * gst/gstghostpad.h:
22970 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22971 pads. The tricky thing is they provide both source and sink
22972 interfaces, since they proxy the internal pad for the external
22973 pad, and vice versa. Implement with lower-level ProxyPad objects,
22974 with the interior proxy pad as a child of the exterior ghost pad.
22975 Should write a doc on this.
22977 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22978 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22979 gst_object API.
22981 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22982 pads are real pads. No ghost pads in this file. Not documenting
22983 the myriad s/RPAD/PAD/ and REALIZE fixes.
22984 (gst_pad_class_init): Add properties for "direction" and
22985 "template". Both are construct-only, so they can't change during
22986 the life of the pad. Fixes properly deriving from GstPad.
22987 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22988 derived objects, just set properties when creating the objects via
22989 g_object_new.
22990 (gst_pad_get_parent): Implement as a function, return NULL if the
22991 parent is not an element.
22992 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22993 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22995 * gst/gstobject.c (gst_object_class_init): Make name a construct
22996 property. Don't set it in the object init.
22998 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22999 with UNKNOWN direction.
23000 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23001 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23002 (gst_element_remove_pad): Remove ghost-pad special cases.
23003 (gst_element_pads_activate): Remove rpad cruft.
23005 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23006 catch the pad's-parent-not-an-element case.
23008 * gst/gst.h: Include gstghostpad.h.
23010 * gst/gst.c (init_post): No more real, ghost pads.
23012 * gst/Makefile.am: Add gstghostpad.[ch].
23014 * check/Makefile.am:
23015 * check/gst/gstbin.c:
23016 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23017 into a bin creates ghost pads, and that the refcounts are right.
23018 Partly moved from gstbin.c.
23020 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * check/gst-libs/.cvsignore:
23023 * check/gst/.cvsignore:
23024 * check/pipelines/.cvsignore:
23025 ignore more
23026 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23027 (START_TEST), (cleanup_suite), (main):
23028 add some tests related to cleanup after running pipelines
23030 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23032 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23033 add a testsuite for GstBuffer
23035 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23037 * gst/gstminiobject.h:
23038 add defines for accessing the refcount
23040 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23042 * Makefile.am: added support for html unit test coverage reports
23044 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23046 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23047 Free existing caps if the capsfilter changes. Add a FIXME about
23048 setting those caps on the pads.
23050 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23051 Before adding a ghost pad to a parent bin, check that there isn't
23052 already one for the element on the bin. Prevents infinite recursion
23053 when using decodebin in parse pipelines. Andy says he'll rewrite the
23054 way this works anyway, so ignore the hack.
23056 2005-06-02 Andy Wingo <wingo@pobox.com>
23058 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23059 file size, pass it on to the type find helper.
23061 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23062 segment_start and segment_end properly according to the seek
23063 method. Segment_end is still a bit flaky because offset can be
23064 negative for CUR and END cases, but it takes -1 as an "unset"
23065 value.
23067 2005-06-02 Wim Taymans <wim@fluendo.com>
23069 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23070 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23071 (gst_basesink_activate):
23072 * gst/base/gstbasesink.h:
23073 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23074 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23075 (gst_pad_query), (gst_pad_start_task):
23076 * gst/gstpad.h:
23077 * gst/gstqueue.c: (gst_queue_bufferalloc),
23078 (gst_queue_handle_sink_event), (gst_queue_chain):
23079 Bufferalloc: return GstFlowReturn to more accuratly report
23080 why allocation failed.
23082 2005-06-02 Wim Taymans <wim@fluendo.com>
23084 * gst/gstpipeline.c: (gst_pipeline_send_event):
23085 Take snapshot of state without blocking.
23087 2005-06-02 Wim Taymans <wim@fluendo.com>
23089 * docs/design/part-TODO.txt:
23090 * docs/design/part-caps.txt:
23091 * docs/design/part-clocks.txt:
23092 * docs/design/part-negotiation.txt:
23093 * docs/design/part-preroll.txt:
23094 Small doc updates
23096 2005-05-30 Wim Taymans <wim@fluendo.com>
23098 * gst/elements/gstidentity.c: (gst_identity_event),
23099 (gst_identity_transform), (gst_identity_get_property):
23100 Protect last_message property as it is accessed from
23101 multiple threads.
23103 2005-05-30 Wim Taymans <wim@fluendo.com>
23105 * gst/gstelement.c: (gst_element_init),
23106 (gst_element_pads_activate), (gst_element_change_state):
23107 Slicker pad activation code.
23109 2005-05-30 Wim Taymans <wim@fluendo.com>
23111 * gst/Makefile.am:
23112 * gst/gstelement.h:
23113 * gst/gstelementfactory.h:
23114 * gst/gsttypes.h:
23115 Move elementfactory methods to separate .h file.
23117 2005-05-30 Wim Taymans <wim@fluendo.com>
23119 * docs/design/part-overview.txt:
23120 * gst/gstsystemclock.h:
23121 Small typo fixes, doc updates.
23123 2005-05-30 Wim Taymans <wim@fluendo.com>
23125 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23126 (init_popt_callback):
23127 Remove cpu-opt flag.
23129 2005-05-30 Wim Taymans <wim@fluendo.com>
23131 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23132 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23133 * gst/gstbuffer.h:
23134 Avoid typechecking in places where not needed.
23135 Added accessor for malloc_data.
23137 2005-05-30 Wim Taymans <wim@fluendo.com>
23139 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23140 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23141 (gst_pad_configure_sink), (gst_pad_configure_src),
23142 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23143 (gst_pad_start_task):
23144 Propagate errors from _set_caps() in configure_src/sink
23145 functions instead of returning TRUE.
23146 FLUSH events can travel up and downstream
23149 2005-05-30 Wim Taymans <wim@fluendo.com>
23151 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23152 (gst_basesink_activate):
23153 Handle EOS in preroll.
23155 2005-05-30 Wim Taymans <wim@fluendo.com>
23157 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23158 (gst_queue_loop), (gst_queue_handle_src_event):
23159 Remove old pieces of code
23160 Flushing the queue in an upstream event is a very bad idea.
23162 2005-05-26 Andy Wingo <wingo@pobox.com>
23164 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23165 gst_value_set_mini_object so as to add a ref on the object (which
23166 will be removed when the value is unset).
23168 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23169 arg type in ::handoff.
23171 * gst/gstelement.c (gst_element_change_state): Also deactivate
23172 pads in READY->NULL, just in case the element didn't make it to
23173 PAUSED. Wingo tested, Wim approved.
23175 2005-05-26 Wim Taymans <wim@fluendo.com>
23177 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23178 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23179 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23180 A flushing pad cannot be used to alloc_buffer from.
23182 2005-05-26 Wim Taymans <wim@fluendo.com>
23184 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23185 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23186 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23187 (gst_bus_create_watch), (gst_bus_add_watch_full):
23188 * gst/gstbus.h:
23189 Implement a real GSource and use g_main_context_wakeup() to
23190 signal new messages instead of the socketpair.
23192 2005-05-25 Wim Taymans <wim@fluendo.com>
23194 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23195 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23196 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23197 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23198 (gst_pad_send_event), (gst_pad_start_task):
23199 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23200 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23201 (gst_queue_sink_activate), (gst_queue_src_activate),
23202 (gst_queue_change_state):
23203 * gst/gstqueue.h:
23204 Fix state changes for non sinks. We now change sinks, then elements
23205 with unconnected srcpads, then the rest.
23206 More efficient queue unlocking in flush and state changes.
23207 Set the pad activate mode even if it does not have an activate
23208 function.
23210 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23212 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23213 Don't go in pull mode for non-seekable sources.
23214 * gst/elements/gsttypefindelement.h:
23215 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23216 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23217 (free_entry), (stop_typefinding),
23218 (gst_type_find_element_handle_event), (find_peek),
23219 (gst_type_find_element_chain), (do_pull_typefind),
23220 (gst_type_find_element_change_state):
23221 Allow typefinding (w/o seeking) in push-mode, simplified version
23222 of what was in 0.8.
23223 * gst/gstutils.c: (gst_buffer_join):
23224 * gst/gstutils.h:
23225 gst_buffer_join() from 0.8.
23227 2005-05-25 Wim Taymans <wim@fluendo.com>
23229 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23230 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23231 (gst_pad_send_event), (gst_pad_start_task):
23232 Disable attempt at mode switching until it is figured out.
23234 2005-05-25 Wim Taymans <wim@fluendo.com>
23236 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23237 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23238 (gst_basesink_finish_preroll), (gst_basesink_chain),
23239 (gst_basesink_loop), (gst_basesink_activate),
23240 (gst_basesink_change_state):
23241 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23242 (gst_basesrc_get_range), (gst_basesrc_loop),
23243 (gst_basesrc_activate):
23244 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23245 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23246 (gst_real_pad_init), (gst_real_pad_set_property),
23247 (gst_real_pad_get_property), (gst_pad_set_active),
23248 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23249 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23250 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23251 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23252 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23253 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23254 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23255 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23256 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23257 (gst_pad_stop_task):
23258 * gst/gstpad.h:
23259 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23260 (gst_queue_loop), (gst_queue_src_activate):
23261 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23262 (gst_task_get_state):
23263 * gst/gsttask.h:
23264 * gst/schedulers/threadscheduler.c:
23265 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23266 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23267 in task function.
23268 Remove ACTIVE pad flag, use FLUSHING everywhere
23269 Added _pad_chain(), _pad_get_range() to call chain/getrange
23270 functions.
23271 Add locks around IS_FLUSHING when reading.
23272 Take STREAM lock in chain(), get_range() functions so plugins
23273 don't need to take it anymore.
23277 2005-05-25 Wim Taymans <wim@fluendo.com>
23279 * tools/gst-launch.c: (event_loop):
23280 Unref message after using its contents instead of
23281 before.
23283 2005-05-24 Wim Taymans <wim@fluendo.com>
23285 * docs/design/draft-ghostpads.txt:
23286 * docs/design/draft-push-pull.txt:
23287 * docs/design/draft-query.txt:
23288 * docs/design/part-overview.txt:
23289 Docs updates, added general overview doc.
23291 2005-05-21 David Schleef <ds@schleef.org>
23293 * docs/gst/tmpl/old/GstBin.sgml:
23294 * docs/gst/tmpl/old/GstBuffer.sgml:
23295 * docs/gst/tmpl/old/GstCaps.sgml:
23296 * docs/gst/tmpl/old/GstClock.sgml:
23297 * docs/gst/tmpl/old/GstCompat.sgml:
23298 * docs/gst/tmpl/old/GstData.sgml:
23299 * docs/gst/tmpl/old/GstElement.sgml:
23300 * docs/gst/tmpl/old/GstEvent.sgml:
23301 * docs/gst/tmpl/old/GstIndex.sgml:
23302 * docs/gst/tmpl/old/GstStructure.sgml:
23303 * docs/gst/tmpl/old/GstTag.sgml:
23304 * docs/gst/tmpl/old/cothreads.sgml:
23305 * docs/gst/tmpl/old/cothreads_compat.sgml:
23306 * docs/gst/tmpl/old/gettext.sgml:
23307 * docs/gst/tmpl/old/gobject2gtk.sgml:
23308 * docs/gst/tmpl/old/grammar.tab.sgml:
23309 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23310 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23311 * docs/gst/tmpl/old/gst_private.sgml:
23312 * docs/gst/tmpl/old/gstaggregator.sgml:
23313 * docs/gst/tmpl/old/gstarch.sgml:
23314 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23315 * docs/gst/tmpl/old/gstbufferstore.sgml:
23316 * docs/gst/tmpl/old/gstdata_private.sgml:
23317 * docs/gst/tmpl/old/gstdisksink.sgml:
23318 * docs/gst/tmpl/old/gstdisksrc.sgml:
23319 * docs/gst/tmpl/old/gstelementfactory.sgml:
23320 * docs/gst/tmpl/old/gstextratypes.sgml:
23321 * docs/gst/tmpl/old/gstfakesink.sgml:
23322 * docs/gst/tmpl/old/gstfakesrc.sgml:
23323 * docs/gst/tmpl/old/gstfdsink.sgml:
23324 * docs/gst/tmpl/old/gstfdsrc.sgml:
23325 * docs/gst/tmpl/old/gstfilesink.sgml:
23326 * docs/gst/tmpl/old/gstfilesrc.sgml:
23327 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23328 * docs/gst/tmpl/old/gstidentity.sgml:
23329 * docs/gst/tmpl/old/gstindexfactory.sgml:
23330 * docs/gst/tmpl/old/gstmarshal.sgml:
23331 * docs/gst/tmpl/old/gstmd5sink.sgml:
23332 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23333 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23334 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23335 * docs/gst/tmpl/old/gstpipefilter.sgml:
23336 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23337 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23338 * docs/gst/tmpl/old/gstshaper.sgml:
23339 * docs/gst/tmpl/old/gstspider.sgml:
23340 * docs/gst/tmpl/old/gstspideridentity.sgml:
23341 * docs/gst/tmpl/old/gststatistics.sgml:
23342 * docs/gst/tmpl/old/gsttee.sgml:
23343 * docs/gst/tmpl/old/gsttimecache.sgml:
23344 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23345 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23346 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23347 * docs/gst/tmpl/old/types.sgml:
23348 I didn't intend to add these or check them in.
23350 2005-05-19 David Schleef <ds@schleef.org>
23352 * configure.ac: Use -no-common everywhere. In a sane world, it
23353 would be the default in libtool, because without it, you can't
23354 build DLLs on Windows.
23355 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23356 * docs/gst/gstreamer-sections.txt:
23357 * docs/gst/tmpl/gstcpu.sgml:
23358 * docs/gst/tmpl/gstdata.sgml:
23359 * docs/gst/tmpl/gstthread.sgml:
23361 2005-05-19 David Schleef <ds@schleef.org>
23363 * gst/gstminiobject.c: (gst_value_set_mini_object),
23364 (gst_value_take_mini_object), (gst_value_get_mini_object):
23365 * gst/gstminiobject.h: Add GValue set/get functions.
23367 2005-05-19 Wim Taymans <wim@fluendo.com>
23369 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23370 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23371 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23372 * gst/gstbuffer.h:
23373 * gst/gstbus.c: (gst_bus_post):
23374 * gst/gstelement.c: (gst_element_get_random_pad):
23375 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23376 Make subbufer unref the parent in finalize.
23377 some more debugging info.
23380 2005-05-19 Wim Taymans <wim@fluendo.com>
23382 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23383 (gst_basesink_init), (gst_basesink_finalize),
23384 (gst_basesink_activate), (gst_basesink_change_state):
23385 Don't free preroll queue too early.
23387 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23389 * gst/Makefile.am:
23390 * gst/ROADMAP:
23391 Hi, I'm outdated. Please shoot me.
23393 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23395 * gst/gstpipeline.c: (gst_pipeline_send_event):
23396 Do not access variables after they have been deleted.
23398 2005-05-19 Wim Taymans <wim@fluendo.com>
23400 * tools/gst-inspect.c: (print_plugin_features):
23401 A plugin feature does unfortunatly not use the
23402 object name yet...
23404 2005-05-18 Wim Taymans <wim@fluendo.com>
23406 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23407 Port _span() functions to new subbuffers.
23409 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23411 * gst/gstbin.c: (gst_bin_add_func):
23412 Fix clock settery in bins when adding kids after the clock has
23413 been selected.
23415 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23417 * gst/elements/gstidentity.c: (gst_identity_class_init):
23418 Workaround until signals support GstMiniObject.
23420 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23422 * gst/gstbuffer.c:
23423 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23425 2005-05-18 Wim Taymans <wim@fluendo.com>
23427 * gst/base/Makefile.am:
23428 * gst/base/gstadapter.c: (gst_adapter_base_init),
23429 (gst_adapter_class_init), (gst_adapter_init),
23430 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23431 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23432 (gst_adapter_flush), (gst_adapter_available),
23433 (gst_adapter_available_fast):
23434 * gst/base/gstadapter.h:
23435 Ported and added adapter to the base classes.
23437 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23439 * gst/gst.c:
23440 * gst/gstmessage.c:
23441 Make sure the class is reffed/unreffed once before threads can be
23442 used. Fixes #304551.
23444 2005-05-17 Wim Taymans <wim@fluendo.com>
23446 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23447 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23448 * gst/gstminiobject.c: (gst_mini_object_get_type),
23449 (gst_mini_object_free):
23450 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23451 (gst_pad_push), (gst_pad_push_event):
23452 * gst/gstqueue.c: (gst_queue_change_state):
23453 Don't queue buffers in basesink when we are flushing.
23454 Unref buffer when flushing in basesink.
23455 Flush queue when going to READY
23456 Unref buffer when _push() returns an error.
23457 Don't free MiniObject instance when refcount is incremented
23458 in _finalize() so that we can recover objects.
23460 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23462 * docs/manual/advanced-schedulers.xml:
23463 * docs/manual/appendix-checklist.xml:
23464 * docs/pwg/advanced-clock.xml:
23465 * docs/pwg/advanced-interfaces.xml:
23466 * docs/pwg/advanced-request.xml:
23467 * docs/pwg/advanced-types.xml:
23468 * docs/pwg/intro-preface.xml:
23469 * examples/plugins/example.c: (gst_example_get_type),
23470 (gst_example_class_init), (gst_example_chain),
23471 (gst_example_set_property), (gst_example_get_property),
23472 (gst_example_change_state), (plugin_init):
23473 * examples/plugins/example.h:
23474 small doc fixes
23476 2005-05-17 Wim Taymans <wim@fluendo.com>
23478 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23479 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23480 * gst/gstqueue.c: (gst_queue_change_state):
23481 Clear queue when going to READY.
23482 Remove IN_SETCAPS flag too.
23484 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23486 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23487 Remove implicit cast from gboolean to GstElementStateReturn;
23488 make sure we still return failure in paused => ready case if
23489 the parent class fails to change state and our own stop
23490 vfunc succeeds.
23492 2005-05-17 Wim Taymans <wim@fluendo.com>
23494 * tools/gst-launch.c: (event_loop):
23495 Message was unreffed too soon.
23497 2005-05-16 Andy Wingo <wingo@pobox.com>
23499 * gst/gstbin.c (sink_iterator_filter): Err... um...
23501 * check/gst/gstbin.c (test_ghost_pads): New test for the
23502 ghosting-if-elements-not-in-same-bin behavior.
23504 2005-05-16 David Schleef <ds@schleef.org>
23506 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23507 accessing refcount directly.
23509 2005-05-15 David Schleef <ds@schleef.org>
23511 * check/Makefile.am: remove GstData checks
23512 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23513 * gst/Makefile.am: add miniobject, remove data
23514 * gst/gst.h: add miniobject, remove data
23515 * gst/gstdata.c: remove
23516 * gst/gstdata.h: remove
23517 * gst/gstdata_private.h: remove
23518 * gst/gsttypes.h: remove GstEvent and GstMessage
23519 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23520 * gst/gstmarshal.list: change BOXED -> OBJECT
23522 Implement GstMiniObject.
23523 * gst/gstminiobject.c:
23524 * gst/gstminiobject.h:
23526 Modify to be subclasses of GstMiniObject.
23527 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23528 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23529 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23530 (gst_subbuffer_get_type), (gst_subbuffer_init),
23531 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23532 (gst_buffer_span):
23533 * gst/gstbuffer.h:
23534 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23535 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23536 (_gst_event_copy), (gst_event_new):
23537 * gst/gstevent.h:
23538 * gst/gstmessage.c: (_gst_message_initialize),
23539 (gst_message_get_type), (gst_message_class_init),
23540 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23541 (gst_message_new), (gst_message_new_error),
23542 (gst_message_new_warning), (gst_message_new_tag),
23543 (gst_message_new_state_changed), (gst_message_new_application):
23544 * gst/gstmessage.h:
23545 * gst/gstprobe.c: (gst_probe_perform),
23546 (gst_probe_dispatcher_dispatch):
23547 * gst/gstprobe.h:
23548 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23549 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23550 (_gst_query_copy), (gst_query_new):
23552 Update elements for GstData -> GstMiniObject changes
23553 * gst/gstquery.h:
23554 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23555 (gst_queue_chain), (gst_queue_loop):
23556 * gst/elements/gstbufferstore.c:
23557 (gst_buffer_store_add_buffer_func),
23558 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23559 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23560 (gst_fakesink_render):
23561 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23562 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23563 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23564 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23565 (gst_filesrc_create_read):
23566 * gst/elements/gstidentity.c: (gst_identity_class_init):
23567 * gst/elements/gsttypefindelement.c:
23568 (gst_type_find_element_src_event), (free_entry_buffers),
23569 (gst_type_find_element_handle_event):
23570 * libs/gst/dataprotocol/dataprotocol.c:
23571 (gst_dp_header_from_buffer):
23572 * libs/gst/dataprotocol/dataprotocol.h:
23573 * libs/gst/dataprotocol/dp-private.h:
23575 2005-05-15 David Schleef <ds@schleef.org>
23577 * gst/elements/gstelements.c: Don't include headers that were
23578 just removed.
23580 2005-05-15 David Schleef <ds@schleef.org>
23582 * gst/elements/Makefile.am: Remove some elements that don't
23583 need to be in the core (or even exist at all).
23584 * gst/elements/gstaggregator.c:
23585 * gst/elements/gstaggregator.h:
23586 * gst/elements/gstmd5sink.c:
23587 * gst/elements/gstmd5sink.h:
23588 * gst/elements/gstmultifilesrc.c:
23589 * gst/elements/gstmultifilesrc.h:
23590 * gst/elements/gstpipefilter.c:
23591 * gst/elements/gstpipefilter.h:
23592 * gst/elements/gstshaper.c:
23593 * gst/elements/gstshaper.h:
23594 * gst/elements/gststatistics.c:
23595 * gst/elements/gststatistics.h:
23596 * po/POTFILES.in: Remove above files.
23598 2005-05-14 Andy Wingo <wingo@pobox.com>
23600 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23601 so as to get the refs right.
23602 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23603 unreffing objects that don't pass the filter.
23605 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23606 gst_element_set_bus.
23607 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23608 normal cases, this will destroy the bus.
23610 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23611 object.
23613 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23614 has no sinks.
23616 2005-05-13 Andy Wingo <wingo@pobox.com>
23618 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23619 gst_pad_link, call pad_link_maybe_ghosting,
23620 (pad_link_maybe_ghosting): Links pads, making sure that the
23621 elements being linked are in the same bin.
23622 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23623 Helpers for pad_link_maybe_ghosting.
23625 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23627 * configure.ac:
23628 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23630 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23632 * docs/design/part-element-source.txt:
23633 Mention GstPushSrc
23635 2005-05-12 Wim Taymans <wim@fluendo.com>
23637 * gst/base/gstbasesink.c: (gst_basesink_init),
23638 (gst_basesink_activate):
23639 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23640 (gst_basesrc_is_seekable):
23641 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23642 (bin_element_is_sink), (gst_bin_change_state):
23643 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23644 * gst/gstelement.h:
23645 Identify sinks by their flag to avoid overly complicated
23646 checks (fow now).
23647 Do state changes even for elements not reachable from the
23648 sinks.
23649 BaseSink is a sink now :)
23650 Some more debugging info in the basesrc.
23653 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23655 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23656 Implement _query on a bin, similar to _send_event.
23658 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23660 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23661 Discont event offset format should be GST_FORMAT_BYTES,
23662 not GST_FORMAT_TIME.
23664 2005-05-12 Wim Taymans <wim@fluendo.com>
23666 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23667 Same fix as Ronald's but without the signal.
23669 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23671 * gst/gstutils.c: (gst_element_query_position):
23672 No, an element is not a pad.
23674 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23676 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23677 (gst_bin_get_state):
23678 If a child is removed from a bin while we remove the child from
23679 the bin and while we're retrieving its state, signal this to the
23680 get_state function so we abort the wait (instead of waiting for
23681 a timeout) and can immediately re-iterate over all other elements.
23683 2005-05-12 Wim Taymans <wim@fluendo.com>
23685 * gst/base/Makefile.am:
23686 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23687 (gst_basesrc_start):
23688 * gst/base/gstbasesrc.h:
23689 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23690 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23691 (gst_pushsrc_init), (gst_pushsrc_create):
23692 * gst/base/gstpushsrc.h:
23693 Added is_seekable to BaseSrc
23694 Added simple PushSrc.
23696 2005-05-11 Wim Taymans <wim@fluendo.com>
23698 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23699 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23700 (gst_element_link_pads), (gst_element_query_position),
23701 (gst_element_query_convert), (intersect_caps_func),
23702 (gst_pad_query_position), (gst_pad_query_convert):
23703 Fix refcounting in utils function.
23704 No point in trying to activate a pad when it's added, it could
23705 be added from the state change function and then we deadlock, the
23706 element has to decide what to do.
23708 2005-05-10 Andy Wingo <wingo@pobox.com>
23710 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23711 *all* the arguments.
23713 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23714 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23715 lock (according to the docs -- if this is wrong change the docs).
23717 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23718 flush messages in the NULL state.
23720 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23721 message immediately and return.
23722 (gst_bus_set_flushing): New function. If a bus is flushing, it
23723 flushes out any queued messages and immediately unrefs new
23724 messages. This is so when an element goes to NULL, all of the
23725 unhandled messages coming from it can be freed, and their
23726 references to the element dropped. In other words: message source
23727 ref considered harmful :P
23729 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23730 we're finished with it.
23732 * gst/gstmessage.c (gst_message_new_state_changed):
23734 2005-05-10 Wim Taymans <wim@fluendo.com>
23736 * gst/gstvalue.c: (gst_value_compare_flags),
23737 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23738 (_gst_value_initialize):
23739 Added flags serialize/deserialize/compare code.
23741 2005-05-09 Andy Wingo <wingo@pobox.com>
23743 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23744 Intersect the peer's caps with our caps.
23746 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23748 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23749 * gst/elements/gsttypefindelement.c: (find_peek):
23750 Handle negative offsets better. Fixes decodebin.
23752 2005-05-09 Wim Taymans <wim@fluendo.com>
23754 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23755 (gst_base_transform_event):
23756 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23757 Implement accept_caps.
23758 Fix silly lock/unlock mismatch in base class.
23760 2005-05-09 Wim Taymans <wim@fluendo.com>
23762 * docs/design/draft-push-pull.txt:
23763 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23764 * gst/elements/gstfilesink.c: (gst_filesink_init),
23765 (gst_filesink_query):
23766 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23767 (gst_type_find_handle_src_query), (find_element_get_length):
23768 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23769 * gst/gstelement.h:
23770 * gst/gstmessage.c:
23771 * gst/gstmessage.h:
23772 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23773 (gst_real_pad_get_caps_unlocked),
23774 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23775 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23776 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23777 (gst_real_pad_dispose), (gst_real_pad_finalize),
23778 (gst_pad_load_and_link), (gst_pad_save_thyself),
23779 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23780 (gst_pad_check_pull_range), (gst_pad_pull_range),
23781 (gst_pad_template_get_type), (gst_pad_template_class_init),
23782 (gst_pad_template_init), (gst_pad_template_dispose),
23783 (name_is_valid), (gst_static_pad_template_get),
23784 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23785 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23786 (gst_pad_get_element_private), (gst_pad_start_task),
23787 (gst_pad_pause_task), (gst_pad_stop_task),
23788 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23789 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23790 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23791 (gst_ghost_pad_new):
23792 * gst/gstpad.h:
23793 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23794 (gst_query_new_position), (gst_query_set_position),
23795 (gst_query_parse_position), (gst_query_new_convert),
23796 (gst_query_set_convert), (gst_query_parse_convert):
23797 * gst/gstquery.h:
23798 * gst/gstqueryutils.c:
23799 * gst/gstqueryutils.h:
23800 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23801 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23802 (gst_queue_handle_src_query):
23803 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23804 (gst_element_query_position), (gst_element_query_convert),
23805 (intersect_caps_func), (gst_pad_query_position),
23806 (gst_pad_query_convert):
23807 * gst/gstutils.h:
23808 * tools/gst-inspect.c: (print_pad_info):
23809 * tools/gst-xmlinspect.c: (print_element_info):
23810 Remove old query functions. Ported old code.
23811 Added position/convert helper functions to gstutils.
23812 Reordered gstpad.c code, grouping relevant things.
23813 Remove gst_message_new(), always need to speficy a specific
23814 message.
23817 2005-05-09 Andy Wingo <wingo@pobox.com>
23819 * gst/gstiterator.h: Add some includes.
23821 * gst/gstqueryutils.h: Include more headers.
23823 * gst/gstpad.h:
23824 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23825 some uses of gst_pad_query.
23827 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23828 NULL out parameters.
23829 (gst_query_new_position): New proc, allocates a new position
23830 query.
23832 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23833 gstqueryutils.c to the build.
23835 * gst/gststructure.c (gst_structure_set_valist): Implement with
23836 the generic G_VALUE_COLLECT.
23838 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23840 * gst/Makefile.am: (gst_headers):
23841 Added gstqueryutils.h to the list of headers to install, that was
23842 a 'nachty' move wingo :)
23844 2005-05-06 Andy Wingo <wingo@pobox.com>
23846 * gst/gstquery.h
23847 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23848 GstData, init a memchunk.
23849 (standard_definitions): Add a few query types, deprecate a few.
23850 (gst_query_get_type): New proc.
23851 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23852 implementation.
23853 (gst_query_new_application, gst_query_get_structure): New public
23854 procs.
23856 * docs/design/draft-query.txt: Removed LINKS from the query types,
23857 because all the rest can be dispatched to other pads -- seemed
23858 ugly to have a query that couldn't be dispatched. internal_links
23859 is fine as a pad method.
23861 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23862 in gstpad.c, but maintain binary compatibility for the moment.
23863 Will fix before 0.9 is out.
23865 * gst/gstqueryutils.c:
23866 * gst/gstqueryutils.h: New files, implement 3 methods for each
23867 query type: parse_query, parse_response, and set. Probably need an
23868 allocator as well.
23870 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23872 * gst/elements/gstfilesink.c (gst_filesink_query2):
23873 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23874 query_types, and formats methods.
23876 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23877 (gst_pad_set_query2_function): New functions.
23878 (gst_real_pad_init): Set query2_default as the default query2
23879 function. Basically just dispatches to internally linked pads.
23881 Needs review!
23883 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23884 without using the atomic operations. Only one thread can possibly
23885 be accessing the data at this point. Changed so as to avoid
23886 gst_atomic operations.
23888 2005-05-06 Wim Taymans <wim@fluendo.com>
23890 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23891 Also set caps if we use the fallback buffer alloc.
23893 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23895 * docs/gst/Makefile.am:
23896 * docs/gst/gstreamer-docs.sgml:
23897 * docs/gst/gstreamer-sections.txt:
23898 * docs/gst/tmpl/gstatomic.sgml:
23899 * docs/gst/tmpl/gstmemchunk.sgml:
23900 * testsuite/elements/struct_i386.h:
23901 * win32/GStreamer.vcproj:
23902 * win32/Makefile:
23903 Purge GstAtomic stuff from docs and win32 makefiles as well
23905 2005-05-06 Wim Taymans <wim@fluendo.com>
23907 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23908 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23909 * gst/gstpad.c: (gst_pad_peer_get_caps):
23910 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23911 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23912 (gst_queue_src_activate), (gst_queue_change_state):
23913 * gst/gstqueue.h:
23914 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23915 (intersect_caps_func):
23916 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23917 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23918 Some fixes for the peer_get_caps() change.
23920 2005-05-06 Wim Taymans <wim@fluendo.com>
23922 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23923 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23924 (gst_basesink_activate):
23925 Actually do something with error codes returned from the push
23926 functions.
23928 2005-05-06 Wim Taymans <wim@fluendo.com>
23930 * docs/design/part-element-sink.txt:
23931 * docs/design/part-element-source.txt:
23932 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23933 (gst_basesink_event), (gst_basesink_activate):
23934 * gst/base/gstbasesink.h:
23935 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23936 (gst_basesrc_activate):
23937 * gst/base/gstbasesrc.h:
23938 * gst/gstelement.c: (gst_element_pads_activate):
23939 Some more documentation.
23940 Fixed scheduling decision in _pads_activate().
23942 2005-05-05 Andy Wingo <wingo@pobox.com>
23944 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23945 the test suite.
23947 2005-05-05 Wim Taymans <wim@fluendo.com>
23949 * gst/base/Makefile.am:
23950 * gst/base/gstbasesink.h:
23951 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23952 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23953 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23954 (gst_collectpads_class_init), (gst_collectpads_init),
23955 (gst_collectpads_finalize), (gst_collectpads_new),
23956 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23957 (find_pad), (gst_collectpads_remove_pad),
23958 (gst_collectpads_is_active), (gst_collectpads_collect),
23959 (gst_collectpads_collect_range), (gst_collectpads_start),
23960 (gst_collectpads_stop), (gst_collectpads_peek),
23961 (gst_collectpads_pop), (gst_collectpads_available),
23962 (gst_collectpads_read), (gst_collectpads_flush),
23963 (gst_collectpads_chain):
23964 * gst/base/gstcollectpads.h:
23965 * gst/elements/Makefile.am:
23966 * gst/elements/gstelements.c:
23967 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23968 (gst_fakesink_get_times), (gst_fakesink_event),
23969 (gst_fakesink_preroll), (gst_fakesink_render):
23970 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23971 (gst_filesink_init), (gst_filesink_set_location),
23972 (gst_filesink_open_file), (gst_filesink_close_file),
23973 (gst_filesink_pad_query), (gst_filesink_event),
23974 (gst_filesink_render), (gst_filesink_change_state):
23975 * gst/elements/gstfilesink.h:
23976 Added object to help in making collect pad based elements.
23977 Ported filesink.
23978 Make event function in sink baseclass return gboolean.
23980 2005-05-05 Wim Taymans <wim@fluendo.com>
23982 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23983 (gst_bin_get_by_name):
23984 * gst/gstbuffer.h:
23985 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23986 (gst_clock_finalize):
23987 * gst/gstdata.c: (gst_data_replace):
23988 * gst/gstdata.h:
23989 * gst/gstelement.c: (gst_element_request_pad),
23990 (gst_element_pads_activate):
23991 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23992 (gst_object_unref):
23993 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23994 (gst_pad_set_checkgetrange_function),
23995 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23996 (gst_pad_check_pull_range), (gst_pad_pull_range),
23997 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23998 (gst_pad_pause_task), (gst_pad_stop_task):
23999 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24000 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24001 Fix name lookup in GstBin.
24002 Added _data_replace() function and _buffer_replace()
24003 Use finalize method to clean up clock.
24004 Fix refcounting on request pads.
24005 Fix pad schedule mode error.
24006 Some more object refcounting debug info,
24009 2005-05-04 Andy Wingo <wingo@pobox.com>
24011 * check/Makefile.am:
24012 * docs/gst/tmpl/gstatomic.sgml:
24013 * docs/gst/tmpl/gstplugin.sgml:
24014 * gst/base/gstbasesink.c: (gst_basesink_activate):
24015 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24016 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24017 (gst_basesrc_query), (gst_basesrc_set_property),
24018 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24019 (gst_basesrc_activate):
24020 * gst/base/gstbasesrc.h:
24021 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24022 (gst_base_transform_src_activate):
24023 * gst/elements/gstelements.c:
24024 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24025 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24026 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24027 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24028 (gst_type_find_element_checkgetrange),
24029 (gst_type_find_element_activate):
24030 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24031 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24032 (gst_caps_load_thyself):
24033 * gst/gstelement.c: (gst_element_pads_activate),
24034 (gst_element_save_thyself), (gst_element_restore_thyself):
24035 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24036 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24037 * gst/gstpad.h:
24038 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24039 (gst_xml_parse_file), (gst_xml_parse_memory),
24040 (gst_xml_get_element), (gst_xml_make_element):
24041 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24042 (_file_index_id_save_xml), (gst_file_index_commit):
24043 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24044 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24045 (load_paths):
24046 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24047 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24048 * tools/gst-complete.c: (main):
24049 * tools/gst-compprep.c: (main):
24050 * tools/gst-inspect.c: (print_element_properties_info):
24051 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24052 * tools/gst-xmlinspect.c: (print_element_properties):
24053 GCC 4 fixen.
24055 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24057 * gst/gstplugin.c: (gst_plugin_check_module),
24058 (gst_plugin_check_file), (gst_plugin_load_file):
24059 apply patch from #172526 to make register work on MacOSX
24061 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24063 * docs/gst/tmpl/gstconfig.sgml:
24064 * gst/gstconfig.h.in:
24065 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24066 * testsuite/debug/printf_extension.c: (main):
24067 Do not use GST_PTR_FORMAT on pointers to types with
24068 sizeof < sizeof(gpointer). Fixes test on 64-bit
24069 * testsuite/elements/property.h:
24070 use correct printf format
24072 2005-05-02 Wim Taymans <wim@fluendo.com>
24074 * docs/design/draft-push-pull.txt:
24075 * docs/design/draft-query.txt:
24076 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24077 (gst_basesrc_start):
24078 Added draft for new query API.
24079 Added draft for better selecting scheduling methods.
24080 Make basesrc ignore length if the subclass does not support
24081 it.
24083 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24085 * gst/Makefile.am:
24086 possible fixes for automake-1.5 - _LIBADD is reserved
24088 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24090 * docs/faq/Makefile.am:
24091 * docs/manual/Makefile.am:
24092 * docs/manuals.mak:
24093 * docs/pwg/Makefile.am:
24094 * gst/Makefile.am:
24095 possible fixes for automake-1.5
24097 2005-04-28 Wim Taymans <wim@fluendo.com>
24099 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24100 (gst_basesink_pad_getcaps), (gst_basesink_init),
24101 (gst_basesink_do_sync):
24102 * gst/gstclock.c: (gst_clock_entry_new):
24103 * gst/gstevent.c: (gst_event_discont_get_value):
24104 * gst/gstpipeline.c: (pipeline_bus_handler),
24105 (gst_pipeline_change_state):
24106 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24107 Better debugging of clocking info.
24108 Allow NULL values when getting discont values.
24110 2005-04-27 Wim Taymans <wim@fluendo.com>
24112 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24113 * check/gst/gstpad.c: (gst_pad_suite):
24114 Increase timeout for checks.
24116 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24118 * check/Makefile.am:
24119 fix the broken rule for cleanup. Apparently this rule is
24120 only needed on FC2, so maybe this warrants further autotool
24121 inspection.
24123 2005-04-26 Wim Taymans <wim@fluendo.com>
24125 * gst/gsttrashstack.h:
24126 Ooohh. a nasty one! After having a failed pop() from the stack,
24127 it's possible that the stack is empty. In that case, don't
24128 follow the NULL pointer.
24130 2005-04-25 Wim Taymans <wim@fluendo.com>
24132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24133 (gst_pad_set_checkgetrange_function),
24134 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24135 (gst_pad_check_pull_range), (gst_pad_pull_range),
24136 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24137 (gst_pad_pause_task), (gst_pad_stop_task):
24138 * gst/gstplugin.c: (gst_plugin_load):
24139 * gst/gstplugin.h:
24140 Remove gst_library_load as it does more harm than good with
24141 the new g_module flags.
24142 Revert bogus caps template check in pad linking, pad caps
24143 are important when linking not the template, which is more
24144 general than the current caps.
24146 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24148 * gst/autoplug/.cvsignore:
24149 * gst/autoplug/Makefile.am:
24150 * gst/autoplug/gstsearchfuncs.c:
24151 * gst/autoplug/gstsearchfuncs.h:
24152 * gst/autoplug/gstspider.c:
24153 * gst/autoplug/gstspider.h:
24154 * gst/autoplug/gstspideridentity.c:
24155 * gst/autoplug/gstspideridentity.h:
24156 * gst/autoplug/spidertest.c:
24157 Die, spider, die.
24159 2005-04-25 Wim Taymans <wim@fluendo.com>
24161 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24162 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24163 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24164 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24165 * gst/gstpad.h:
24166 Added stubs for unimplemented functions.
24168 2005-04-24 David Schleef <ds@schleef.org>
24170 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24171 please fix.
24173 2005-04-24 David Schleef <ds@schleef.org>
24175 Convert everything from GstAtomicInt to g_atomic_int_*, and
24176 remove gstatomic.
24177 * gst/Makefile.am:
24178 * gst/gstatomic.c:
24179 * gst/gstatomic.h:
24180 * gst/gstatomic_impl.h:
24181 * gst/gstbuffer.c:
24182 * gst/gstcaps.c:
24183 * gst/gstcaps.h:
24184 * gst/gstclock.c:
24185 * gst/gstclock.h:
24186 * gst/gstdata.c:
24187 * gst/gstdata.h:
24188 * gst/gstdata_private.h:
24189 * gst/gstevent.c:
24190 * gst/gstinfo.c:
24191 * gst/gstinfo.h:
24192 * gst/gstmessage.c:
24193 * gst/gstobject.c:
24194 * gst/gstobject.h:
24195 * gst/gststructure.c:
24196 * gst/gststructure.h:
24197 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24198 * gst/gstutils.h:
24200 2005-04-24 David Schleef <ds@schleef.org>
24202 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24203 make the regressions tests work. Remove some code that is no
24204 longer true.
24205 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24206 Disable warning for pads without templates.
24208 2005-04-24 David Schleef <ds@schleef.org>
24210 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24211 functions that handle filtered links.
24212 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24213 removed functions.
24214 * gst/gstutils.c: Fix/remove utility functions that handle
24215 filtered caps.
24216 * gst/gstutils.h:
24217 * gst/gstvalue.c: Add serialization/deserialization of caps
24218 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24219 requires fixing so that the filter caps notation creates
24220 a capsfilter element and sets the filter_caps property. I
24221 think everyone probably wants to keep the shorthand notation.
24222 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24223 * docs/gst/tmpl/gstpad.sgml:
24225 * gst/elements/gstelements.c: Register capsfilter element.
24226 * gst/Makefile.am: fix spacing
24227 * docs/random/ds/0.9-suggested-changes: random
24229 2005-04-23 David Schleef <ds@schleef.org>
24231 * gst/elements/Makefile.am:
24232 * gst/elements/gstcapsfilter.c: New element that acts like an
24233 identity, but filters caps. Will eventually replace filtered
24234 caps in pad linking.
24235 * gst/gstutils.c: (gst_element_create_all_pads): New function
24236 to create all the ALWAYS pads that are registered with an
24237 element class. This functionality should eventually be
24238 merged in with GstElement initialization.
24239 * gst/gstutils.h:
24240 * testsuite/trigger/README: part of trigger test code that should
24241 have been checked in a long time ago.
24243 2005-04-23 David Schleef <ds@schleef.org>
24245 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24246 needed with new versions of libtool (nobody will confirm this),
24247 and hard to carry around.
24248 * gst/autoplug/Makefile.am:
24249 * gst/base/Makefile.am:
24250 * gst/elements/Makefile.am:
24251 * gst/indexers/Makefile.am:
24252 * gst/schedulers/Makefile.am:
24253 * libs/gst/bytestream/Makefile.am:
24254 * libs/gst/control/Makefile.am:
24255 * libs/gst/dataprotocol/Makefile.am:
24256 * libs/gst/getbits/Makefile.am:
24258 2005-04-21 Wim Taymans <wim@fluendo.com>
24260 * docs/design/draft-push-pull.txt:
24261 * docs/design/part-MT-refcounting.txt:
24262 * docs/design/part-TODO.txt:
24263 * docs/design/part-caps.txt:
24264 * docs/design/part-events.txt:
24265 * docs/design/part-gstbus.txt:
24266 * docs/design/part-gstpipeline.txt:
24267 * docs/design/part-messages.txt:
24268 * docs/design/part-push-pull.txt:
24269 * docs/design/part-query.txt:
24270 Some more docs.
24272 2005-04-21 Wim Taymans <wim@fluendo.com>
24274 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24275 (gst_message_new), (gst_message_new_error),
24276 (gst_message_new_warning), (gst_message_new_tag),
24277 (gst_message_new_state_changed), (gst_message_new_application),
24278 (gst_message_get_structure):
24279 * gst/gstmessage.h:
24280 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24281 (gst_structure_copy_conditional):
24282 Use parent refcount in GstMessage to ensure GstStructure
24283 consistency.
24284 Cleaned up headers a bit.
24287 2005-04-20 Wim Taymans <wim@fluendo.com>
24289 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24290 (gst_basesink_pad_getcaps), (gst_basesink_init),
24291 (gst_basesink_chain_unlocked):
24292 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24293 (gst_type_find_helper):
24294 * gst/elements/gsttypefindelement.c:
24295 (gst_type_find_element_have_type), (gst_type_find_element_init),
24296 (stop_typefinding), (gst_type_find_element_handle_event),
24297 (find_suggest), (gst_type_find_element_chain),
24298 (gst_type_find_element_checkgetrange),
24299 (gst_type_find_element_getrange), (do_typefind),
24300 (gst_type_find_element_activate):
24301 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24302 (gst_buffer_default_free), (gst_buffer_default_copy),
24303 (gst_buffer_set_caps):
24304 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24305 (gst_caps_replace):
24306 * gst/gstmessage.c: (gst_message_new),
24307 (gst_message_new_state_changed):
24308 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24309 (gst_pad_set_checkgetrange_function),
24310 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24311 (gst_pad_set_caps), (gst_pad_check_pull_range),
24312 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24313 * gst/gstpad.h:
24314 * gst/gsttypefind.c: (gst_type_find_register):
24315 Make gst_caps_replace() work like other _replace() functions.
24316 Use _caps_replace() where possible.
24317 Make sure _message_new() initialises its field.
24318 Add gst_static_pad_template_get_caps()
24321 2005-04-18 Andy Wingo <wingo@pobox.com>
24323 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24324 on the peer, not the pad. I think that was a typo. Pass an extra
24325 arg to see if random access is possible. Activate the pads as
24326 PULL_RANGE if possible.
24328 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24330 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24331 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24332 to PROP_....
24334 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24336 * docs/faq/using.xml:
24337 Add note on gstreamer-properties (#154996).
24339 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24341 * docs/random/bbb/optional-properties:
24342 Some analysis on optional properties.
24344 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24346 * docs/gst/tmpl/gstelementfactory.sgml:
24347 * gst/gstelement.h:
24348 * gst/gstelementfactory.c: (gst_element_factory_init),
24349 (gst_element_factory_cleanup), (gst_element_register),
24350 (__gst_element_factory_add_static_pad_template),
24351 (gst_element_factory_get_static_pad_templates),
24352 (gst_element_factory_can_src_caps),
24353 (gst_element_factory_can_sink_caps):
24354 * gst/registries/Makefile.am:
24355 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24356 (gst_xml_registry_class_init), (gst_xml_registry_init),
24357 (gst_xml_registry_new), (gst_xml_registry_set_property),
24358 (gst_xml_registry_get_property), (get_time), (make_dir),
24359 (gst_xml_registry_get_perms_func),
24360 (plugin_times_older_than_recurse), (plugin_times_older_than),
24361 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24362 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24363 (add_to_char_array), (read_string), (read_uint), (read_enum),
24364 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24365 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24366 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24367 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24368 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24369 (gst_xml_registry_rebuild):
24370 * gst/registries/gstlibxmlregistry.h:
24371 * tools/gst-compprep.c: (main):
24372 * tools/gst-inspect.c: (print_pad_templates_info):
24373 * tools/gst-xmlinspect.c: (print_element_info):
24374 Use libxml2 for registry parsing, use staticpadtemplates in
24375 elementfactories. Makes gst_init() +/- 10x faster.
24377 2005-04-12 Wim Taymans <wim@fluendo.com>
24379 * gst/base/Makefile.am:
24380 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24381 (gst_basesink_pad_getcaps), (gst_basesink_init),
24382 (gst_basesink_event), (gst_basesink_change_state):
24383 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24384 (gst_basesrc_init), (gst_basesrc_query),
24385 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24386 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24387 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24388 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24389 (gst_basesrc_stop), (gst_basesrc_activate),
24390 (gst_basesrc_change_state):
24391 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24392 (helper_find_suggest), (gst_type_find_helper):
24393 * gst/base/gsttypefindhelper.h:
24394 * gst/elements/Makefile.am:
24395 * gst/elements/gstelements.c:
24396 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24397 (gst_fakesink_get_times), (gst_fakesink_event),
24398 (gst_fakesink_preroll), (gst_fakesink_render):
24399 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24400 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24401 (gst_fakesrc_get_property), (gst_fakesrc_create),
24402 (gst_fakesrc_start), (gst_fakesrc_stop):
24403 * gst/elements/gstfakesrc.h:
24404 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24405 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24406 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24407 (gst_filesrc_create_read), (gst_filesrc_create),
24408 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24409 (gst_filesrc_start):
24410 * gst/elements/gsttypefindelement.c:
24411 (gst_type_find_element_have_type), (gst_type_find_element_init),
24412 (start_typefinding), (stop_typefinding), (push_buffer_store),
24413 (gst_type_find_element_handle_event),
24414 (gst_type_find_element_chain),
24415 (gst_type_find_element_checkgetrange),
24416 (gst_type_find_element_getrange), (do_typefind),
24417 (gst_type_find_element_activate),
24418 (gst_type_find_element_change_state):
24419 * gst/elements/gsttypefindelement.h:
24420 * gst/gstpipeline.c: (pipeline_bus_handler):
24421 Added typefind helper.
24422 Small preroll fix in the base sink.
24423 Disable typefind code in basesrc.
24424 Crude port of typefindelement.
24425 Fakesrc cleanups.
24428 2005-04-11 Wim Taymans <wim@fluendo.com>
24430 * check/gst/gstbus.c: (gstbus_suite):
24431 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24432 * check/gstcheck.h:
24433 Fix up the timeout so that the test does not fail.
24435 2005-04-06 Wim Taymans <wim@fluendo.com>
24437 * gst/base/README:
24438 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24439 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24440 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24441 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24442 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24443 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24444 (gst_basesrc_stop), (gst_basesrc_activate),
24445 (gst_basesrc_change_state), (basesrc_find_peek),
24446 (basesrc_find_suggest), (gst_basesrc_type_find):
24447 * gst/base/gstbasesrc.h:
24448 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24449 (gst_filesrc_class_init), (gst_filesrc_init),
24450 (gst_filesrc_finalize), (gst_filesrc_set_location),
24451 (gst_filesrc_set_property), (gst_filesrc_get_property),
24452 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24453 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24454 (gst_filesrc_create_read), (gst_filesrc_create),
24455 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24456 * gst/elements/gstfilesrc.h:
24457 * gst/gstelement.c: (gst_element_get_state_func),
24458 (gst_element_lost_state), (gst_element_pads_activate):
24459 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24460 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24461 (gst_pad_pull_range):
24462 * gst/gstpad.h:
24463 More work on the generic source base class, implement seeking,
24464 query.
24465 Make filesrc extend the base source class.
24466 Added gst_pad_set_checkgetrange_function to GstPad.
24468 2005-04-06 Andy Wingo <wingo@pobox.com>
24470 * pkgconfig/gstreamer-base.pc.in:
24471 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24473 * pkgconfig/Makefile.am:
24474 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24476 2005-04-04 Wim Taymans <wim@fluendo.com>
24478 * gst/base/Makefile.am:
24479 * gst/base/README:
24480 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24481 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24482 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24483 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24484 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24485 (gst_basesrc_base_init), (gst_basesrc_class_init),
24486 (gst_basesrc_init), (gst_basesrc_get_formats),
24487 (gst_basesrc_get_query_types), (gst_basesrc_query),
24488 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24489 (gst_basesrc_set_property), (gst_basesrc_get_property),
24490 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24491 (gst_basesrc_loop), (gst_basesrc_activate),
24492 (gst_basesrc_change_state):
24493 * gst/base/gstbasesrc.h:
24494 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24495 (gst_fakesrc_class_init), (gst_fakesrc_init),
24496 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24497 (gst_fakesrc_get_property), (gst_fakesrc_create):
24498 * gst/elements/gstfakesrc.h:
24499 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24500 (gst_filesrc_open_file), (gst_filesrc_loop),
24501 (gst_filesrc_activate), (filesrc_find_peek),
24502 (gst_filesrc_type_find):
24503 Made base source class, make fakesrc extend it.
24504 Add comments to basesink class.
24505 Some filesrc cleanup.
24507 2005-03-31 David Schleef <ds@schleef.org>
24509 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24510 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24511 expected to link against libgstreamer.
24512 * gst/base/Makefile.am: link against libgstreamer
24513 * gst/elements/Makefile.am: same
24515 2005-03-31 Andy Wingo <wingo@pobox.com>
24517 * tests/instantiate/Makefile.am:
24518 * tests/instantiate/caps.c: Add test to test speed of caps copy
24519 and free.
24521 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24522 GMemChunk to be fair.
24524 * gst/gsttrashstack.h: Remove warning about using the fallback
24525 trash stack implementation, it's still faster than malloc.
24527 2005-03-30 Andy Wingo <wingo@pobox.com>
24529 * tests/complexity.c: Add a copyright.
24531 2005-03-31 Wim Taymans <wim@fluendo.com>
24533 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24534 (gst_base_transform_class_init), (gst_base_transform_init),
24535 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24536 (gst_base_transform_get_property),
24537 (gst_base_transform_sink_activate),
24538 (gst_base_transform_src_activate),
24539 (gst_base_transform_change_state):
24540 * gst/base/gstbasetransform.h:
24541 * gst/elements/gstidentity.c: (gst_identity_class_init),
24542 (gst_identity_event), (gst_identity_check_perfect),
24543 (gst_identity_transform), (gst_identity_start),
24544 (gst_identity_stop):
24545 Added start/stop methods to transform base class so subclasses
24546 don't need to deal with state changes even.
24548 2005-03-31 Wim Taymans <wim@fluendo.com>
24550 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24551 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24552 * gst/gstevent.h:
24553 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24554 (gst_pad_pull_range):
24555 Added rate to the discont event to prepare for variable speed
24556 and reverse playback.
24558 2005-03-29 David Schleef <ds@schleef.org>
24560 * configure.ac:
24561 * testsuite/trigger/Makefile.am:
24562 * testsuite/trigger/trigger.c: A little example program to show
24563 how trigger-based elements can work.
24565 2005-03-29 Wim Taymans <wim@fluendo.com>
24567 * gst/base/Makefile.am:
24568 * gst/base/README:
24569 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24570 (gst_basesink_base_init), (gst_basesink_class_init),
24571 (gst_basesink_pad_getcaps), (gst_basesink_init),
24572 (gst_basesink_activate), (gst_basesink_change_state):
24573 * gst/base/gstbasesink.h:
24574 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24575 (gst_base_transform_base_init), (gst_base_transform_finalize),
24576 (gst_base_transform_class_init), (gst_base_transform_init),
24577 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24578 (gst_base_transform_event), (gst_base_transform_getrange),
24579 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24580 (gst_base_transform_set_property),
24581 (gst_base_transform_get_property),
24582 (gst_base_transform_sink_activate),
24583 (gst_base_transform_src_activate),
24584 (gst_base_transform_change_state):
24585 * gst/base/gstbasetransform.h:
24586 * gst/elements/gstidentity.c: (gst_identity_finalize),
24587 (gst_identity_class_init), (gst_identity_init),
24588 (gst_identity_event), (gst_identity_check_perfect),
24589 (gst_identity_transform), (gst_identity_set_property),
24590 (gst_identity_get_property), (gst_identity_change_state):
24591 * gst/elements/gstidentity.h:
24592 * gst/gstelement.c: (gst_element_get_state_func),
24593 (gst_element_lost_state), (gst_element_pads_activate):
24594 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24595 (gst_pad_check_pull_range), (gst_pad_pull_range):
24596 * gst/gstpad.h:
24597 Simplify pad activation.
24598 Added function to check if pull_range can be performed.
24599 Error out when pulling inactive or flushing pads.
24600 Removed const from refcounted types as it does not make sense.
24601 Simplify pad templates in basesink
24602 Added base class for simple 1-to-1 transforms.
24603 Make identity subclass the base transform.
24605 2005-03-29 Andy Wingo <wingo@pobox.com>
24607 * docs/libs/gstreamer-libs-overrides.txt:
24608 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24609 really don't understand what's going on, but like whatever. I want
24610 green buildbot!
24612 * docs/gst/Makefile.am:
24613 * docs/libs/Makefile.am: Dist the overrides files.
24615 * check/Makefile.am (clean-local): Remove .libs directories.
24617 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24618 elements to EXTRA_DIST, so po/ files are happy.
24620 * po/POTFILES.in: Er, remove it here.
24622 * po/POTFILES: Remove gstspider.c.
24624 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24626 * docs/libs/gstreamer-libs-docs.sgml:
24627 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24628 bytestream.
24630 * tests/complexity.c (main): Set the length of the preroll queue
24631 on the sinks to prevent a lockup.
24633 * libs/gst/dataprotocol/Makefile.am:
24634 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24635 the same as the one in check/gst-libs/gdp.c.
24637 * po/, docs/gst/: Commit automatic changes to docs and po files.
24639 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24640 the versioned libgstbase.
24642 * check/Makefile.am: Depend on an unversioned gst-register, seems
24643 to make autoconf happier.
24645 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24647 2005-03-28 Wim Taymans <wim@fluendo.com>
24649 * configure.ac:
24650 * docs/design/part-gstelement.txt:
24651 * docs/design/part-negotiation.txt:
24652 * docs/design/part-preroll.txt:
24653 * docs/design/part-scheduling.txt:
24654 * docs/design/part-states.txt:
24655 * gst/Makefile.am:
24656 * gst/base/Makefile.am:
24657 * gst/base/README:
24658 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24659 (gst_basesink_base_init), (gst_basesink_class_init),
24660 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24661 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24662 (gst_basesink_set_pad_functions),
24663 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24664 (gst_basesink_set_property), (gst_basesink_get_property),
24665 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24666 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24667 (gst_basesink_preroll_queue_push),
24668 (gst_basesink_preroll_queue_empty),
24669 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24670 (gst_basesink_event), (gst_basesink_get_times),
24671 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24672 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24673 (gst_basesink_loop), (gst_basesink_activate),
24674 (gst_basesink_change_state):
24675 * gst/base/gstbasesink.h:
24676 * gst/elements/Makefile.am:
24677 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24678 (gst_fakesink_class_init), (gst_fakesink_init),
24679 (gst_fakesink_set_property), (gst_fakesink_get_property),
24680 (gst_fakesink_get_times), (gst_fakesink_event),
24681 (gst_fakesink_preroll), (gst_fakesink_render),
24682 (gst_fakesink_change_state):
24683 * gst/elements/gstfakesink.h:
24684 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24685 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24686 * gst/gstelement.c: (gst_element_add_pad),
24687 (gst_element_get_state_func), (gst_element_abort_state),
24688 (gst_element_commit_state), (gst_element_lost_state),
24689 (gst_element_set_state), (gst_element_pads_activate):
24690 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24691 * gst/gstpipeline.c: (gst_pipeline_send_event),
24692 (gst_pipeline_change_state):
24693 Added state change code.
24694 Added/updated docs.
24695 Added sink base class, make fakesink extend the base class.
24696 Small cleanups in GstPipeline.
24698 2005-03-26 David Schleef <ds@schleef.org>
24700 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24701 is broken and should be implemented in a different library.
24702 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24703 * gst/gst.h: remove gstcpu.h
24704 * gst/gstcpu.c: remove
24705 * gst/gstcpu.h: remove
24706 * gst/Makefile.am.future: Remove this file. It's ancient.
24708 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24710 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24711 (gst_bin_send_event):
24712 Add default event/set_manager handlers. The set_manager handler
24713 takes care that the manager is distributed over kids that were
24714 already in the bin before the manager was set. The event handler
24715 is a utility virtual function that sends the event over all sinks,
24716 so that gst_element_send_event (bin, event); has the expected
24717 behaviour.
24718 * gst/gstpad.c: (gst_pad_event_default):
24719 Re-install default event handling for discontinuities, so that
24720 seeking works without requiring hacks in applications or extra
24721 code in sinks.
24722 * gst/gstpipeline.c: (gst_pipeline_class_init),
24723 (gst_pipeline_send_event):
24724 Half hack, half utility: set a pipeline to PAUSED for seek events,
24725 since that is the only way we can guarantee a/v sync. Means that
24726 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24727 and it "just works".
24729 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24731 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24732 Lock/unlock mismatch.
24734 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24736 * docs/faq/gst-uninstalled:
24737 add gst-plugins-base
24738 * docs/gst/Makefile.am:
24739 don't error out until docs are fixed
24740 * docs/gst/gstreamer.types:
24741 remove thread
24743 2005-03-22 Wim Taymans <wim@fluendo.com>
24745 * check/Makefile.am:
24746 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24747 * gst/gststructure.c: (gst_structure_set_valist),
24748 (gst_structure_copy_conditional):
24749 Activated more tests.
24750 Added message test.
24751 Added G_TYPE_POINTER to GstStructure.
24754 2005-03-22 Wim Taymans <wim@fluendo.com>
24756 * docs/design/part-TODO.txt:
24757 * docs/design/part-events.txt:
24758 * docs/design/part-gstbin.txt:
24759 * docs/design/part-gstbus.txt:
24760 * docs/design/part-gstpipeline.txt:
24761 * docs/design/part-messages.txt:
24762 * gst/gstbus.c:
24763 * gst/gstmessage.c:
24764 Docs updates
24766 2005-03-21 Wim Taymans <wim@fluendo.com>
24768 * gst/gstbus.c: (gst_bus_post):
24769 Fix copy-and-paste error.
24771 2005-03-21 Wim Taymans <wim@fluendo.com>
24773 * check/Makefile.am:
24774 * gst/Makefile.am:
24775 * gst/elements/Makefile.am:
24776 * gst/elements/gstelements.c:
24777 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24778 (gst_fakesink_event), (gst_fakesink_chain):
24779 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24780 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24781 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24782 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24783 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24784 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24785 (gst_fakesrc_loop), (gst_fakesrc_activate),
24786 (gst_fakesrc_change_state):
24787 * gst/elements/gstfakesrc.h:
24788 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24789 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24790 (gst_filesrc_open_file), (gst_filesrc_loop),
24791 (gst_filesrc_activate), (gst_filesrc_change_state),
24792 (filesrc_find_peek), (filesrc_find_suggest),
24793 (gst_filesrc_type_find):
24794 * gst/elements/gstidentity.c: (gst_identity_finalize),
24795 (gst_identity_class_init), (gst_identity_init),
24796 (gst_identity_proxy_getcaps), (identity_queue_push),
24797 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24798 (gst_identity_getrange), (gst_identity_chain),
24799 (gst_identity_sink_loop), (gst_identity_src_loop),
24800 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24801 (gst_identity_set_property), (gst_identity_get_property),
24802 (gst_identity_change_state):
24803 * gst/elements/gstidentity.h:
24804 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24805 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24806 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24807 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24808 (gst_tee_sink_activate):
24809 * gst/elements/gsttee.h:
24810 * gst/gst.c: (gst_register_core_elements), (init_post):
24811 * gst/gst.h:
24812 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24813 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24814 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24815 (gst_bin_change_state):
24816 * gst/gstbin.h:
24817 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24818 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24819 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24820 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24821 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24822 (bus_watch_callback), (bus_watch_destroy),
24823 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24824 (poll_timeout), (gst_bus_poll):
24825 * gst/gstbus.h:
24826 * gst/gstcaps.h:
24827 * gst/gstdata.h:
24828 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24829 (gst_element_post_message), (gst_element_message_full),
24830 (gst_element_get_state_func), (gst_element_get_state),
24831 (gst_element_abort_state), (gst_element_commit_state),
24832 (gst_element_lost_state), (gst_element_set_state),
24833 (gst_element_pads_activate), (gst_element_change_state),
24834 (gst_element_dispose), (gst_element_set_manager_func),
24835 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24836 (gst_element_set_manager), (gst_element_get_manager),
24837 (gst_element_set_bus), (gst_element_get_bus),
24838 (gst_element_set_scheduler), (gst_element_get_scheduler):
24839 * gst/gstelement.h:
24840 * gst/gstevent.c: (gst_event_new_segment_seek),
24841 (gst_event_new_flush):
24842 * gst/gstevent.h:
24843 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24844 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24845 (gst_message_new_eos), (gst_message_new_error),
24846 (gst_message_new_warning), (gst_message_new_tag),
24847 (gst_message_new_state_changed), (gst_message_new_application),
24848 (gst_message_get_structure), (gst_message_parse_tag),
24849 (gst_message_parse_state_changed), (gst_message_parse_error),
24850 (gst_message_parse_warning):
24851 * gst/gstmessage.h:
24852 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24853 (gst_real_pad_set_property), (gst_pad_set_active),
24854 (gst_pad_is_active), (gst_pad_set_blocked_async),
24855 (gst_pad_set_blocked), (gst_pad_is_blocked),
24856 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24857 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24858 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24859 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24860 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24861 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24862 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24863 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24864 (gst_pad_set_caps), (gst_pad_configure_sink),
24865 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24866 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24867 (gst_real_pad_dispose), (gst_real_pad_finalize),
24868 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24869 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24870 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24871 * gst/gstpad.h:
24872 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24873 (pipeline_bus_handler), (gst_pipeline_change_state),
24874 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24875 * gst/gstpipeline.h:
24876 * gst/gstprobe.h:
24877 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24878 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24879 (gst_queue_link_src), (gst_queue_bufferalloc),
24880 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24881 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24882 (gst_queue_loop), (gst_queue_handle_src_event),
24883 (gst_queue_handle_src_query), (gst_queue_src_activate),
24884 (gst_queue_change_state):
24885 * gst/gstqueue.h:
24886 * gst/gstscheduler.c: (gst_scheduler_init),
24887 (gst_scheduler_dispose), (gst_scheduler_create_task),
24888 (gst_scheduler_factory_create):
24889 * gst/gstscheduler.h:
24890 * gst/gststructure.c: (gst_structure_get_type),
24891 (gst_structure_copy_conditional):
24892 * gst/gststructure.h:
24893 * gst/gsttaginterface.h:
24894 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24895 (gst_task_init), (gst_task_dispose), (gst_task_create),
24896 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24897 (gst_task_pause):
24898 * gst/gsttask.h:
24899 * gst/gstthread.c:
24900 * gst/gstthread.h:
24901 * gst/gsttypes.h:
24902 * gst/schedulers/Makefile.am:
24903 * gst/schedulers/cothreads_compat.h:
24904 * gst/schedulers/entryscheduler.c:
24905 * gst/schedulers/faircothreads.c:
24906 * gst/schedulers/faircothreads.h:
24907 * gst/schedulers/fairscheduler.c:
24908 * gst/schedulers/gstbasicscheduler.c:
24909 * gst/schedulers/gstoptimalscheduler.c:
24910 * gst/schedulers/gthread-cothreads.h:
24911 * gst/schedulers/threadscheduler.c:
24912 (gst_thread_scheduler_task_get_type),
24913 (gst_thread_scheduler_task_class_init),
24914 (gst_thread_scheduler_task_init),
24915 (gst_thread_scheduler_task_start),
24916 (gst_thread_scheduler_task_stop),
24917 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24918 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24919 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24920 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24921 (plugin_init):
24922 * libs/gst/Makefile.am:
24923 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24924 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24925 (gst_file_pad_parent_set):
24926 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24927 (gst_dp_event_from_packet):
24928 * tests/complexity.c: (main):
24929 * tests/mass_elements.c: (main):
24930 * testsuite/states/locked.c: (message_received), (main):
24931 * testsuite/states/parent.c: (main):
24932 * tools/gst-inspect.c: (print_element_flag_info),
24933 (print_implementation_info), (print_pad_info):
24934 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24935 (main):
24936 * tools/gst-md5sum.c: (event_loop), (main):
24937 * tools/gst-typefind.c: (main):
24938 * tools/gst-xmlinspect.c: (print_element_info):
24939 Next big merge.
24940 Added GstBus for mainloop integration.
24941 Added GstMessage for sending notifications on the bus.
24942 Added GstTask as an abstraction for pipeline entry points.
24943 Removed GstThread.
24944 Removed Schedulers.
24945 Simplified GstQueue for multithreaded core.
24946 Made _link threadsafe, removed old capsnego.
24947 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24948 Added pad blocking functions.
24949 Reworked scheduling functions in GstPad to prepare for
24950 scheduling updates soon.
24951 Moved events out of data stream.
24952 Simplified GstEvent types.
24953 Added return values to push/pull.
24954 Removed clocking from GstElement.
24955 Added prototypes for state change function for next merge.
24956 Removed iterate from bins and state change management.
24957 Fixed some elements, disabled others for now.
24958 Fixed -inspect and -launch.
24959 Added check for GstBus.
24961 2005-03-10 Wim Taymans <wim@fluendo.com>
24963 * docs/design/part-MT-refcounting.txt:
24964 * docs/design/part-clocks.txt:
24965 * docs/design/part-gstelement.txt:
24966 * docs/design/part-gstobject.txt:
24967 * docs/design/part-standards.txt:
24968 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24969 (gst_bin_remove_func), (gst_bin_remove):
24970 * gst/gstbin.h:
24971 * gst/gstbuffer.c:
24972 * gst/gstcaps.h:
24973 * testsuite/clock/clock1.c: (main):
24974 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24975 (main):
24976 * testsuite/dlopen/loadgst.c: (do_test):
24977 * testsuite/refcounting/bin.c: (add_remove_test1),
24978 (add_remove_test2), (main):
24979 * testsuite/refcounting/element.c: (main):
24980 * testsuite/refcounting/element_pad.c: (main):
24981 * testsuite/refcounting/pad.c: (main):
24982 * tools/gst-launch.c: (sigint_handler_sighandler):
24983 * tools/gst-typefind.c: (main):
24984 Doc updates.
24985 Added doc about clock.
24986 removed gst_bin_iterate_recurse_up(), marked methods
24987 for removal.
24988 Fix more testsuites.
24990 2005-03-09 Wim Taymans <wim@fluendo.com>
24992 * gst/gstpad.c: (gst_pad_get_direction),
24993 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24994 (gst_pad_collect_valist):
24995 * testsuite/bins/interface.c: (main):
24996 * testsuite/caps/audioscale.c: (test_caps):
24997 * testsuite/caps/caps.c: (test1), (test2), (test3):
24998 * testsuite/caps/deserialize.c: (main):
24999 * testsuite/caps/enumcaps.c: (main):
25000 * testsuite/caps/filtercaps.c: (main):
25001 * testsuite/caps/intersect2.c: (main):
25002 * testsuite/caps/random.c: (main):
25003 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25004 * testsuite/caps/sets.c: (check_caps):
25005 * testsuite/caps/simplify.c: (check_caps), (main):
25006 * testsuite/caps/subtract.c: (check_caps):
25007 Fix _pad_get_direction wrt ghostpads.
25008 Fix caps testsuite.
25010 2005-03-09 Wim Taymans <wim@fluendo.com>
25012 * check/Makefile.am:
25013 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25014 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25015 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25016 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25017 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25018 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25019 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25020 (bin_element_is_sink), (gst_bin_iterate_sinks),
25021 (gst_bin_iterate_all_by_interface):
25022 * gst/gstbin.h:
25023 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25024 (gst_element_change_state), (gst_element_dispose),
25025 (gst_element_finalize), (gst_element_set_loop_function):
25026 * gst/gstelement.h:
25027 * gst/gstiterator.c: (find_custom_fold_func):
25028 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25029 (gst_pad_collectv), (gst_pad_collect_valist),
25030 (gst_pad_template_new):
25031 * gst/gstpipeline.c: (gst_pipeline_class_init),
25032 (gst_pipeline_dispose), (gst_pipeline_set_property),
25033 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25034 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25035 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25036 * gst/gstutils.h:
25037 * gst/schedulers/entryscheduler.c:
25038 * gst/schedulers/gstbasicscheduler.c:
25039 (gst_basic_scheduler_cothreaded_chain),
25040 (gst_basic_scheduler_chain_add_element):
25041 * testsuite/bins/interface.c: (main):
25042 Added GstBin test.
25043 Added GstSystemClock test.
25044 Implemented clock distribution code in GstBin.
25045 Implemented iterate sinks method for future use.
25046 Rearranged gstelement.h
25047 Fix GstIterator comparison bug.
25048 Moved some code to GstPipeline, mostly clocking related.
25050 2005-03-09 Wim Taymans <wim@fluendo.com>
25052 * configure.ac:
25053 * gst/gst_private.h:
25054 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25055 (gst_bin_remove_func), (gst_bin_remove),
25056 (gst_bin_get_by_name_recurse_up):
25057 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25058 (gst_clock_id_compare_func), (gst_clock_id_wait),
25059 (gst_clock_id_wait_async), (gst_clock_init),
25060 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25061 * gst/gstelement.h:
25062 * gst/gstinfo.c: (_gst_debug_init):
25063 * gst/gstobject.h:
25064 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25065 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25066 * gst/gstpad.h:
25067 Bump version number, we're now 0.9.0
25068 Add future debugging category.
25069 Fix NULL _unref() in _get_by_name_recurse_up
25070 Rearrange gstpad.h.
25071 Update some docs.
25073 2005-03-08 Wim Taymans <wim@fluendo.com>
25075 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25076 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25077 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25078 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25079 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25080 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25081 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25082 * gst/elements/gstidentity.c: (gst_identity_class_init):
25083 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25084 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25085 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25086 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25087 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25088 (gst_tee_link):
25089 * gst/gstelement.c: (gst_element_class_init),
25090 (gst_element_base_class_init), (gst_element_init),
25091 (gst_element_get_random_pad), (gst_element_wait_state_change),
25092 (gst_element_change_state), (gst_element_dispose),
25093 (gst_element_finalize), (gst_element_set_loop_function):
25094 * gst/gstelement.h:
25095 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25096 * gst/gstthread.c: (gst_thread_class_init),
25097 (gst_thread_release_children_locks), (gst_thread_change_state):
25098 * gst/schedulers/gstbasicscheduler.c:
25099 (gst_basic_scheduler_loopfunc_wrapper),
25100 (gst_basic_scheduler_chain_wrapper),
25101 (gst_basic_scheduler_src_wrapper),
25102 (gst_basic_scheduler_remove_element):
25103 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25104 Remove threadsafe properties. Fix elements because GObject
25105 complains when installing a property before declaring a
25106 set/get_property handler.
25107 Rearrange gstelement.h file, use STATE macros for state locks.
25108 Free mutexes in the finalize method instead of dispose.
25110 2005-03-08 Wim Taymans <wim@fluendo.com>
25112 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25113 * gst/gstthread.c: (gst_thread_release_children_locks):
25114 Added parentage check.
25115 Fix build og GstThread again.
25117 2005-03-08 Wim Taymans <wim@fluendo.com>
25119 * docs/design/part-MT-refcounting.txt:
25120 * docs/design/part-conventions.txt:
25121 * docs/design/part-gstobject.txt:
25122 * docs/design/part-relations.txt:
25123 * docs/design/part-standards.txt:
25124 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25125 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25126 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25127 (gst_bin_iterate_all_by_interface):
25128 * gst/gstbuffer.h:
25129 * gst/gstclock.h:
25130 * gst/gstelement.c: (gst_element_class_init),
25131 (gst_element_change_state), (gst_element_set_loop_function):
25132 * gst/gstelement.h:
25133 * gst/gstiterator.c:
25134 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25135 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25136 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25137 (gst_object_set_parent), (gst_object_unparent),
25138 (gst_object_check_uniqueness):
25139 * gst/gstobject.h:
25140 Docs updates, clean up some headers.
25142 2005-03-07 Wim Taymans <wim@fluendo.com>
25144 * check/.cvsignore:
25145 * check/Makefile.am:
25146 * check/gst-libs/.cvsignore:
25147 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25148 * check/gst/.cvsignore:
25149 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25150 (START_TEST), (gstbus_suite), (main):
25151 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25152 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25153 (gst_data_suite), (main):
25154 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25155 (add_fold_func), (gstiterator_suite), (main):
25156 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25157 (thread_name_object), (thread_name_object_default),
25158 (gst_object_name_compare), (gst_object_suite), (main):
25159 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25160 (gst_pad_suite), (main):
25161 * check/gstcheck.c: (gst_check_log_message_func),
25162 (gst_check_log_critical_func), (gst_check_init):
25163 * check/gstcheck.h:
25164 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25165 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25166 Added checks.
25168 2005-03-07 Wim Taymans <wim@fluendo.com>
25170 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25171 (gst_list_iterator_next), (gst_list_iterator_resync),
25172 (gst_list_iterator_free), (gst_iterator_new_list),
25173 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25174 (gst_iterator_free), (gst_iterator_push), (filter_next),
25175 (filter_resync), (filter_uninit), (filter_free),
25176 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25177 (gst_iterator_foreach), (find_custom_fold_func),
25178 (gst_iterator_find_custom):
25179 * gst/gstiterator.h:
25180 Added missing files.
25182 2005-03-07 Wim Taymans <wim@fluendo.com>
25184 * Makefile.am:
25185 * configure.ac:
25186 * docs/design/part-MT-refcounting.txt:
25187 * docs/design/part-conventions.txt:
25188 * docs/design/part-gstobject.txt:
25189 * docs/design/part-relations.txt:
25190 * examples/mixer/mixer.c: (main):
25191 * examples/thread/thread.c: (eos), (main):
25192 * gst/Makefile.am:
25193 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25194 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25195 (gst_spider_plug_from_srcpad):
25196 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25197 (gst_spider_identity_change_state),
25198 (gst_spider_identity_sink_loop_type_finding):
25199 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25200 * gst/elements/gstidentity.c: (gst_identity_init):
25201 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25202 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25203 * gst/elements/gsttypefindelement.c: (free_entry):
25204 * gst/gst.c:
25205 * gst/gst.h:
25206 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25207 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25208 (gst_bin_set_index), (gst_bin_set_element_sched),
25209 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25210 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25211 (gst_bin_iterate_elements), (iterate_child_recurse),
25212 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25213 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25214 (compare_interface), (gst_bin_get_by_interface),
25215 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25216 * gst/gstbin.h:
25217 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25218 (gst_buffer_default_free), (gst_buffer_default_copy),
25219 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25220 (gst_buffer_create_sub):
25221 * gst/gstbuffer.h:
25222 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25223 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25224 (gst_caps_unref), (gst_static_caps_get),
25225 (gst_caps_remove_and_get_structure), (gst_caps_append),
25226 (gst_caps_append_structure), (gst_caps_remove_structure),
25227 (gst_caps_copy_nth), (gst_caps_set_simple),
25228 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25229 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25230 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25231 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25232 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25233 (gst_caps_structure_figure_out_union),
25234 (gst_caps_switch_structures), (gst_caps_do_simplify),
25235 (gst_caps_replace), (gst_caps_from_string),
25236 (gst_caps_copy_conditional):
25237 * gst/gstcaps.h:
25238 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25239 (_gst_clock_id_free), (gst_clock_id_unref),
25240 (gst_clock_id_compare_func), (gst_clock_id_wait),
25241 (gst_clock_id_wait_async), (gst_clock_class_init),
25242 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25243 (gst_clock_get_time), (gst_clock_set_time_adjust),
25244 (gst_clock_set_property), (gst_clock_get_property):
25245 * gst/gstclock.h:
25246 * gst/gstcompat.h:
25247 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25248 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25249 * gst/gstdata.h:
25250 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25251 (gst_element_requires_clock), (gst_element_provides_clock),
25252 (gst_element_set_clock), (gst_element_clock_wait),
25253 (gst_element_wait), (gst_element_set_time_delay),
25254 (gst_element_is_indexable), (gst_element_add_pad),
25255 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25256 (pad_compare_name), (gst_element_get_static_pad),
25257 (gst_element_request_pad), (gst_element_get_request_pad),
25258 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25259 (gst_element_class_get_pad_template_list),
25260 (gst_element_class_get_pad_template), (gst_element_error_func),
25261 (gst_element_get_random_pad), (gst_element_get_event_masks),
25262 (gst_element_send_event), (gst_element_seek),
25263 (gst_element_get_query_types), (gst_element_query),
25264 (gst_element_get_formats), (gst_element_convert),
25265 (gst_element_is_locked_state), (gst_element_set_locked_state),
25266 (gst_element_sync_state_with_parent), (gst_element_change_state),
25267 (gst_element_finalize), (gst_element_yield),
25268 (gst_element_interrupt), (gst_element_set_scheduler),
25269 (gst_element_get_scheduler), (gst_element_set_loop_function):
25270 * gst/gstelement.h:
25271 * gst/gstevent.h:
25272 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25273 (gst_format_get_by_nick), (gst_format_get_details),
25274 (gst_format_iterate_definitions):
25275 * gst/gstformat.h:
25276 * gst/gstindex.c: (gst_index_gtype_resolver):
25277 * gst/gstinfo.c:
25278 * gst/gstinfo.h:
25279 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25280 (gst_mem_chunk_free):
25281 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25282 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25283 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25284 (gst_object_dispatch_properties_changed),
25285 (gst_object_set_name_default), (gst_object_set_name),
25286 (gst_object_get_name), (gst_object_set_name_prefix),
25287 (gst_object_get_name_prefix), (gst_object_set_parent),
25288 (gst_object_get_parent), (gst_object_unparent),
25289 (gst_object_check_uniqueness), (gst_object_save_thyself),
25290 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25291 (gst_object_set_property), (gst_object_get_property),
25292 (gst_object_get_path_string):
25293 * gst/gstobject.h:
25294 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25295 (gst_real_pad_init), (gst_real_pad_get_property),
25296 (gst_pad_custom_new), (gst_pad_get_direction),
25297 (gst_pad_set_active), (gst_pad_is_active),
25298 (gst_pad_set_event_function), (gst_pad_is_linked),
25299 (gst_pad_link_free), (gst_pad_link_intersect),
25300 (gst_pad_link_fixate), (gst_pad_set_caps),
25301 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25302 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25303 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25304 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25305 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25306 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25307 (gst_pad_realize), (gst_pad_get_allowed_caps),
25308 (gst_real_pad_dispose), (gst_real_pad_finalize),
25309 (gst_pad_collectv), (gst_pad_collect_valist),
25310 (gst_pad_template_dispose), (gst_pad_template_new),
25311 (gst_pad_get_internal_links):
25312 * gst/gstpad.h:
25313 * gst/gstpipeline.c: (gst_pipeline_dispose),
25314 (gst_pipeline_change_state):
25315 * gst/gstpipeline.h:
25316 * gst/gstplugin.c:
25317 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25318 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25319 * gst/gstpluginfeature.h:
25320 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25321 * gst/gstquery.c: (_gst_query_type_initialize),
25322 (gst_query_type_register), (gst_query_type_get_by_nick),
25323 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25324 * gst/gstquery.h:
25325 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25326 * gst/gstscheduler.c: (gst_scheduler_add_element),
25327 (gst_scheduler_factory_create):
25328 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25329 (gst_structure_free), (gst_structure_set_name),
25330 (gst_structure_id_set_value), (gst_structure_set_value),
25331 (gst_structure_set_valist), (gst_structure_remove_field),
25332 (gst_structure_remove_fields),
25333 (gst_structure_remove_fields_valist),
25334 (gst_structure_remove_all_fields), (gst_structure_foreach),
25335 (gst_structure_map_in_place),
25336 (gst_caps_structure_fixate_field_nearest_int),
25337 (gst_caps_structure_fixate_field_nearest_double):
25338 * gst/gststructure.h:
25339 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25340 (gst_system_clock_init), (gst_system_clock_dispose),
25341 (gst_system_clock_async_thread),
25342 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25343 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25344 * gst/gstsystemclock.h:
25345 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25346 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25347 * gst/gsttaginterface.c:
25348 * gst/gstthread.c: (gst_thread_dispose),
25349 (gst_thread_release_children_locks), (gst_thread_change_state),
25350 (gst_thread_main_loop):
25351 * gst/gsttrashstack.h:
25352 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25353 * gst/gsttypes.h:
25354 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25355 (gst_element_request_pad), (gst_element_get_pad_from_template),
25356 (gst_element_request_compatible_pad),
25357 (gst_element_get_compatible_pad_filtered),
25358 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25359 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25360 (gst_element_link_many), (gst_element_link),
25361 (gst_element_link_pads), (gst_element_unlink_pads),
25362 (gst_element_unlink_many), (gst_element_unlink),
25363 (gst_pad_can_link_filtered), (gst_pad_can_link),
25364 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25365 (gst_object_default_error), (gst_bin_add_many),
25366 (gst_bin_remove_many), (gst_element_populate_std_props),
25367 (gst_element_class_install_std_props), (gst_buffer_merge),
25368 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25369 (link_fold_func), (gst_pad_proxy_setcaps):
25370 * gst/gstutils.h:
25371 * gst/gstvalue.c: (gst_value_deserialize_string):
25372 * gst/parse/grammar.y:
25373 * gst/schedulers/gstbasicscheduler.c:
25374 (gst_basic_scheduler_cothreaded_chain),
25375 (gst_basic_scheduler_chain_recursive_add),
25376 (gst_basic_scheduler_pad_link):
25377 * gst/schedulers/gstoptimalscheduler.c:
25378 (get_group_schedule_function),
25379 (gst_opt_scheduler_state_transition),
25380 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25381 * libs/gst/bytestream/bytestream.c:
25382 * libs/gst/dataprotocol/dataprotocol.c:
25383 (gst_dp_header_from_buffer):
25384 * po/nb.po:
25385 * po/ru.po:
25386 * tests/threadstate/threadstate2.c: (eos):
25387 * tools/gst-compprep.c: (main):
25388 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25389 (print_pad_info), (print_children_info):
25390 * tools/gst-launch.c: (idle_func), (main):
25391 * tools/gst-md5sum.c: (idle_func), (main):
25392 * tools/gst-xmlinspect.c: (print_element_info):
25393 First THREADED backport attempt, focusing on adding locks and
25394 making sure the API is threadsafe. Needs more work. More docs
25395 follow this week.
25397 2005-02-24 Andy Wingo <wingo@pobox.com>
25399 * tests/bench-complexity.scm:
25400 * tests/complexity.gnuplot: New files, good for running complexity
25401 benchmarks.
25403 * tests/Makefile.am:
25404 * tests/complexity.c: New test, sets up N elements, at each level
25405 teeing into M streams per element. Eeeenteresting.
25407 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25408 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25409 running bench-mass_elements.scm.
25411 * tests/bench-mass_elements.scm: New script, runs mass_elements
25412 for various numbers of identities, outputting the results to a
25413 file. Requires guile 1.6. Just for testing.
25415 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25417 * gst/schedulers/fairscheduler.c:
25418 compile with debug disabled
25420 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25422 * configure.ac:
25423 hunting season on 0.9 is now OPEN