1 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3 * tools/gst-inspect.c: (print_element_info):
4 Don't crash when inspecting an element.
6 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
8 * tests/check/gst/gststructure.c:
9 Add unit test for escaping of structure name when serialising
10 and deserialising to/from strings.
12 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
14 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
15 (gst_single_queue_new):
16 * plugins/elements/gstqueue.c: (gst_queue_init),
18 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
19 upstream is tricked into thinking it can suggest a format downstream
20 while downstream does not support that format. The real problem is that
21 core calls acceptcaps when pushing a buffer with new caps, for which we
22 do a little workaround by setting the caps on the srcpad ourselves
23 before pushing the buffer (until this is figured out). Fixes #486758.
25 2007-10-15 Stefan Kost <ensonic@users.sf.net>
29 Add some more comments and debug output. Quote structure name to fix
30 deserialisation of some strings.
32 2007-10-15 Stefan Kost <ensonic@users.sf.net>
35 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
36 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
38 2007-10-15 Stefan Kost <ensonic@users.sf.net>
40 * tools/gst-inspect.c:
41 Save approx. 400 1 byte allocs when printing. Use API to acces element
47 * tools/gst-xmlinspect.c:
48 Use API to acces element details.
50 2007-10-15 Stefan Kost <ensonic@users.sf.net>
53 Fix some spelling errors.
55 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
57 * gst/gstbin.c: (bin_handle_async_done):
58 Correctly set the next state if all of our async children commited their
59 state. This makes sure we can actually cancel the state change in
60 progress. Fixes a regression in Rhythmbox when seeking.
62 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
65 Don't shadow local variable.
68 Don't shadow global function name.
70 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
72 * gst/gstelementfactory.c:
73 * gst/gstpluginfeature.c:
74 * gst/gstpluginfeature.h:
75 * gst/gstregistrybinary.c:
76 * gst/gstregistryxml.c:
78 Use already-interned string for the private GstPluginFeature
81 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
83 * docs/libs/gstreamer-libs-sections.txt:
84 Add new API to docs; fixes the build.
86 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
88 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
90 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
91 (gst_base_sink_event):
92 * libs/gst/base/gstbasesink.h:
93 Add function to wait for EOS, subclasses can use this to correctly wait
94 for devices to drain before performing the EOS logic. Fixes #485343.
95 API: gst_base_sink_wait_eos()
97 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
100 Cast description string constants in GST_PLUGIN_DEFINE macros
101 to a (gchar*) to make C++ code using these macros compile
102 without warning with g++-4.2 (see #462737). Even if slightly
103 ugly, this seems preferable to putting the description strings
104 into the GLib quark table or making the structure member a
105 const gchar * and doing casts in core code that allocs and
106 frees these strings, or requiring a cast in the C++ code.
108 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
111 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
112 to print the entire class/function signature into the log
113 file for C++ code. This only affects C++ code, for C code
114 everything remains the same.
116 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
118 * gst/gstbin.c: (remove_from_queue):
119 Work around a problem with pipelines containing (semi)loops until a
120 proper, more complicated solution is ready. See #475455.
122 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
126 * gst/gstregistrybinary.c:
127 * gst/gstregistryxml.c:
128 Put more strings into the GLib quark table. No need to keep
129 a hundred-something copies of identical version strings,
130 license strings, package name strings and package origin
133 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
135 * docs/manual/advanced-dataaccess.xml:
136 Don't imply that it's okay to unconditionally change
137 buffer data or buffer metadata in a pad probe callback,
138 and a bunch of other comments. Fixes #430031.
140 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
142 * win32/common/gstenumtypes.c:
143 * win32/common/gstenumtypes.h:
144 * win32/common/gstversion.h:
145 Update generated files.
147 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
149 * docs/manual/advanced-autoplugging.xml:
150 Prefix section with broken code with a warning (see #342432).
152 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
154 * docs/manual/appendix-integration.xml:
155 * docs/manual/basics-init.xml:
156 Call g_thread_init() before g_option_context_new() to
157 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
159 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
161 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
162 (gst_base_sink_queue_object_unlocked),
163 (gst_base_sink_queue_object), (gst_base_sink_event),
164 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
165 When we received EOS and are waiting for when to post the EOS message,
166 our state is prerolled and we should not return ASYNC.
167 Reorganize some code paths to implement this behavior.
169 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
171 Add unit test to verify above EOS fix.
173 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
175 * plugins/elements/gsttypefindelement.c:
176 (gst_type_find_element_have_type), (gst_type_find_element_init),
177 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
178 Move detecting the input caps of the sinkpad to the setcaps function.
179 This allows us to update the output caps when we receive new input caps
180 instead of always using the first detected caps.
182 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
184 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
185 (gst_base_sink_get_position):
186 Don't try to preroll non-async elements after a flush.
187 Subtract latency form clock times when reporting position.
189 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
191 * gst/gstpad.c: (gst_pad_pause_task):
193 Small comment and documentation update.
195 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
197 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
198 (gst_base_src_set_live), (gst_base_src_is_live),
199 (gst_base_src_query_latency), (gst_base_src_perform_seek),
200 (gst_base_src_default_event), (gst_base_src_wait),
201 (gst_base_src_do_sync), (gst_base_src_get_range),
202 (gst_base_src_pad_get_range), (gst_base_src_loop),
203 (gst_base_src_unlock), (gst_base_src_unlock_stop),
204 (gst_base_src_set_flushing), (gst_base_src_set_playing),
205 (gst_base_src_activate_push), (gst_base_src_activate_pull),
206 (gst_base_src_change_state):
207 Rework the locking of basesrc in a similar fashion to basesink. We
208 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
209 us to handle live sources and semi live ones much better.
211 Fix unlocking when seeking, shutting down and pausing in live sources.
213 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
215 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
216 Fix compilation again.
218 2007-10-03 Stefan Kost <ensonic@users.sf.net>
221 Use meaningful categories for the logs to clean the default one.
223 2007-10-03 Stefan Kost <ensonic@users.sf.net>
225 * tests/check/pipelines/cleanup.c:
226 Print message name and not just number.
228 2007-10-03 Stefan Kost <ensonic@users.sf.net>
230 * docs/design/draft-tagreading.txt:
231 Add some more thoughts.
233 2007-10-03 Stefan Kost <ensonic@users.sf.net>
235 * tests/check/pipelines/simple-launch-lines.c:
236 Print message name and not just number.
238 2007-10-03 Stefan Kost <ensonic@users.sf.net>
240 * libs/gst/base/gsttypefindhelper.c:
241 Speedup typefinding. This is work in progress (see #459862).
243 2007-10-03 Stefan Kost <ensonic@users.sf.net>
246 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
247 Spotted by Josep Torra Valles <josep@fluendo.com>.
249 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
252 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
253 field has moved to GstObject.
255 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
257 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
258 (gst_base_src_get_range), (gst_base_src_change_state):
259 Call unlock for live sources so that they can't get stuck in _create and
260 produce a buffer before they are set back to PLAYING.
262 2007-10-02 Edward Hervey <bilboed@bilboed.com>
264 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
265 (gst_queue_locked_dequeue):
266 Comment the segment-related code... in the PROPER function.
267 See #482147 and my commit from yesterday.
269 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
271 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
272 Also initialize the counter that calculates the first timestamp on a
273 buffer correctly for non-live sources.
275 2007-10-01 Edward Hervey <bilboed@bilboed.com>
277 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
278 Disable code that's breaking the current-time-level reporting.
281 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
283 * docs/gst/gstreamer-sections.txt:
284 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
285 as they shouldn't show up. Fixes the docs build.
287 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
290 Add an explicit variable importation needed on VS6 (only for MSC_VER)
291 Define M_PI which is used in files which are including gstinfo.h.
292 VS6 includes doesn't define it.
293 * win32/common/libgstbase.def:
294 * win32/common/libgstcontroller.def:
295 * win32/common/libgstreamer.def:
296 Add new exported functions and variables.
297 * win32/vs6/libgstcontroller.dsp:
298 * win32/vs6/libgstreamer.dsp:
299 Update the list of files to build.
301 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
303 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
305 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
306 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
307 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
308 Improve debugging. Fixes #480858.
310 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
312 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
314 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
315 First patch of code cleanups, use the macros and right arguments in the
316 macros to signal and lock the queue. See #480858.
318 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
320 * gst/gstbus.c: (poll_func):
321 Improve debugging when dealing with _poll().
323 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
325 * gst/gstregistryxml.c:
326 Fix memory leak I introduced a few days ago.
328 2007-09-26 Michael Smith <msmith@fluendo.com>
330 * gst/gstbuffer.c: (gst_buffer_finalize):
331 Make it once again possible to free GstBuffers in the default
333 The poisoning scribbles on parts of the miniobject we need in
337 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
339 * docs/gst/gstreamer-sections.txt:
342 API: add GST_TAG_COMPOSER, fixes #459809.
344 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
348 Add the 3-clause BSD license and the MIT/X11 license to the license
351 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
353 * docs/faq/getting.xml:
354 Add Q+A about different GStreamer versions (#364056).
356 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
358 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
359 (gst_base_sink_event), (gst_base_sink_change_state):
360 Return correct gboolean from query function.
362 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
364 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
365 (gst_base_sink_event), (gst_base_sink_query),
366 (gst_base_sink_change_state):
367 Simplify latency query.
368 When not synchronizing, we can report latency without querying the peer
371 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
375 Fix small typos in the docs.
377 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
379 * docs/design/draft-latency.txt:
380 * docs/design/draft-push-pull.txt:
381 * docs/design/draft-tagreading.txt:
382 * docs/design/part-MT-refcounting.txt:
383 * docs/design/part-activation.txt:
384 * docs/design/part-block.txt:
385 * docs/design/part-element-source.txt:
386 * docs/design/part-events.txt:
387 * docs/design/part-gstbin.txt:
388 * docs/design/part-gstelement.txt:
389 * docs/design/part-gstobject.txt:
390 * docs/design/part-gstpipeline.txt:
391 * docs/design/part-messages.txt:
392 * docs/design/part-preroll.txt:
393 * docs/design/part-push-pull.txt:
394 * docs/design/part-qos.txt:
395 * docs/design/part-query.txt:
396 * docs/design/part-scheduling.txt:
397 * docs/design/part-seeking.txt:
398 * docs/design/part-segments.txt:
399 * docs/design/part-states.txt:
400 Documentation updates and typo fixes.
402 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
404 * plugins/elements/gstfakesink.c:
405 Add some debug text to error message to indicate that
406 we errored out on request.
408 * tools/gst-launch.c:
409 When the state change to PLAYING fails, check for an
410 error message on the bus and print it.
412 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
414 translated by: Jorge González González <aloriel@gmail.com>
418 Added Spanish translation.
420 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
422 * plugins/elements/gstqueue.c: (gst_queue_push_one):
423 Fix printf arguments.
425 2007-09-20 Stefan Kost <ensonic@users.sf.net>
427 * tests/check/generic/states.c:
428 Improved state change unit test.
430 2007-09-20 Stefan Kost <ensonic@users.sf.net>
433 Move priv to the right place.
435 * gst/gstsystemclock.c:
436 Add FIXME: and improve log.
438 * tests/check/Makefile.am:
439 * tests/examples/manual/Makefile.am:
440 Work with all types of registries.
442 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
444 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
445 Don't unref the event after pushing it. Fixes #478401.
447 2007-09-19 Stefan Kost <ensonic@users.sf.net>
450 * tests/examples/manual/.cvsignore:
451 Ignore registries in any format.
453 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
455 * gst/glib-compat-private.h:
456 Add compatibility macro for g_intern_string() for
457 GLib-2.8 (any reason we can't just bump the
458 requirement to at least 2.10?)
460 * gst/gstpadtemplate.h:
461 * gst/gstelementfactory.c:
462 * gst/gstregistryxml.c:
463 * gst/gstregistrybinary.c:
464 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
465 up the internal code accordingly. This shouldn't be a problem, since
466 there is no reason external code could ever assume the string in such
467 a structure is dynamically allocated unless it did that itself; the
468 use of g_strdup() is private to element factories. The new code also
469 saves some memory by putting pad template name strings into the GLib
470 quark table instead of allocating them dynamically.
471 Declaring this field constant fixes warnings with g++-4.2 when using
472 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
474 2007-09-19 Stefan Kost <ensonic@users.sf.net>
476 * gst/gstelementfactory.c:
477 Release static caps. Fixes #475723.
479 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
483 Make some internal API take const gchar * instead of just
484 gchar * to avoid compiler warnings with g++-4.2.2 when
485 passing string constants (partially fixes #478092).
487 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
489 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
490 A latency query fails when one of the sinks fail.
492 * gst/gstelement.c: (gst_element_set_base_time):
495 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
497 * gst/gstbin.c: (gst_bin_continue_func):
498 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
500 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
502 Fix minor compilation warnings shown with Forte.
504 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
506 * plugins/elements/gstqueue.c: (apply_buffer),
507 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
508 Measure queue level based on the diff between head and tail timestamps
509 even when pushing the first buffer.
511 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
513 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
514 (gst_base_sink_event), (gst_base_sink_change_state):
515 Sinks that don't preroll can always be queried for the latency.
516 Don't post ASYNC start when we are not async.
518 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
520 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
521 (gst_queue_handle_sink_event), (gst_queue_chain),
522 (gst_queue_push_one), (gst_queue_handle_src_query),
523 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
524 * plugins/elements/gstqueue.h:
525 When downstream returns UNEXPECTED from pushing a buffer, don't try to
526 push more buffers but allow pushing of EOS and NEWSEGMENT.
527 Add some more debug info here and there. Fixes #476514.
529 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
531 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
532 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
533 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
534 (gst_base_sink_set_flushing), (gst_base_sink_query),
535 (gst_base_sink_change_state):
536 Latency query is allowed after we are prerolled. Introduce a new flag
537 for this and stop abusing other variables.
539 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
541 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
542 Push OOB events downstream when we get them in send_event. This allows
543 the application to insert events in the pipeline.
544 Add some more comments.
546 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
548 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
549 (do_bin_latency), (gst_bin_change_state_func):
550 * gst/gstpipeline.c: (gst_pipeline_change_state):
551 Move latency query from GstPipeline to GstBin so that we can also
552 use it when async-handling is enabled on bins.
554 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
556 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
557 (gst_base_src_do_sync), (gst_base_src_change_state):
559 Clean up the timestamping and syncing code for pseudo live sources.
561 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
563 Patch by: Steve Fink <sphink gmail com>
565 * docs/manual/appendix-checklist.xml:
566 Mention less -R switch in the section about debug output (#474055).
568 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
570 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
571 Queue can latency to the pipeline up to the configured max size in time.
572 Report this fact in the latency query.
574 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
576 Patch by: Sebastien Moutte <sebastien at moutte dot net>
578 * libs/gst/controller/gstinterpolation.c:
579 * libs/gst/controller/gstlfocontrolsource.c:
580 Use gst_guint64_to_gdouble() when converting from a uint64 or
581 GstClockTime to double to fix the build on win32. Fixes #474371.
583 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
585 * gst/gstbuffer.c: (gst_buffer_finalize):
586 Implement poisoning for GstBuffer if --enable-poisoning is specified.
587 When finalizing a buffer the complete struct is filled with 0xff,
588 thus making a use of the buffer after the final unref impossible.
590 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
592 * tests/check/libs/controller.c: (GST_START_TEST):
593 Use fail_unless_equals_int(a, b) instead of
594 fail_unless_equals (a == b) to get better output on failures.
596 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
598 * tests/check/gst/gsturi.c:
599 Also check for the other file URI variant on win32.
601 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
603 * gst/gsturi.c: (gst_uri_get_location):
604 If there's no hostname, we want to return 'c:/foo/bar.txt'
605 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
607 * tests/check/gst/gsturi.c:
608 Unit test for the above and a few more things.
610 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
612 * docs/design/part-live-source.txt:
613 Add docs on how live sources should timestamp.
615 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
616 Add some more debug info.
617 For subclasses that are live and like to sync, add aditional startup
618 latency to sync time and timestamps so that we timstamp according to the
621 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
624 Also do a g_type_class_ref() for the subbuffer type in
627 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
629 * docs/gst/gstreamer-sections.txt:
630 * gst/gstpad.c: (gst_pad_peer_query):
632 Add function to perform a query on the peer of a pad.
633 API: gst_pad_peer_query()
635 2007-09-11 Stefan Kost <ensonic@users.sf.net>
637 * tests/check/gst/gstsystemclock.c:
638 Cleanup the test a little (use gst-logging and not g_message). Improve
639 test to check if a wait reached the target.
641 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
643 * docs/libs/gstreamer-libs-sections.txt:
644 Add new API to docs and fix the build.
646 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
648 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
649 (gst_base_src_init), (gst_base_src_set_do_timestamp),
650 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
651 (gst_base_src_get_property), (gst_base_src_do_sync):
652 * libs/gst/base/gstbasesrc.h:
653 Add property to make the basesrc timestamp buffers based on the current
655 API: GstBaseSrc::do-timestamp
656 API: gst_base_src_set_do_timestamp()
657 API: gst_base_src_get_do_timestamp()
659 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
661 * docs/random/release:
662 Really make sure translations are up-to-date before
665 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
667 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
668 Always destroy the timer, also in error cases.
670 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
672 * docs/manual/highlevel-xml.xml:
673 Fix XML example code. Fixes #472714.
675 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
677 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
678 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
679 (gst_base_sink_query):
680 Protect eos and have_preroll with the OBJECT lock so we don't need to
681 take the PREROLL lock when querying the latency. Fixes #473846.
683 2007-09-05 Stefan Kost <ensonic@users.sf.net>
686 Give some log-messages a category.
688 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
690 * gst/gststructure.c:
691 (gst_structure_fixate_field_nearest_fraction):
692 Fix fraction list fixation code. Take the fraction with the smallest
693 difference with the target instead of the first one in the list.
695 * tests/check/gst/gststructure.c: (GST_START_TEST),
696 (gst_structure_suite):
697 Added test to verify correct fraction list fixation behaviour.
699 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
701 * win32/common/libgstreamer.def:
702 Export gst_bus_add_signal_watch too.
704 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
706 * docs/libs/gstreamer-libs-sections.txt:
707 Add new methods to docs.
709 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
710 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
711 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
712 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
713 * libs/gst/base/gstbasesink.h:
714 Add ts-offset property to fine-tune the synchronisation.
715 API: GstBaseSink::ts-offset property
716 API: gst_base_sink_set_ts_offset()
717 API: gst_base_sink_get_ts_offset()
719 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
721 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
722 (gst_base_sink_init), (gst_base_sink_set_sync),
723 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
724 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
725 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
726 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
727 (gst_base_sink_get_property), (gst_base_sink_change_state):
728 * libs/gst/base/gstbasesink.h:
729 Add async property to instruct the sink never to inform the parent about
730 ASYNC state changes, update docs.
731 Check argument with g_return_* for the public functions.
732 API: GstBaseSink::async property
733 API: gst_base_sink_set_async_enabled()
734 API: gst_base_sink_is_async_enabled()
736 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
738 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
741 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
742 (gst_base_src_default_query), (gst_base_src_wait),
743 (gst_base_src_do_sync), (gst_base_src_change_state):
744 Rearrange some code so that we can add support for measuring the
747 2007-08-27 Stefan Kost <ensonic@users.sf.net>
749 * docs/random/ensonic/dynlink.txt:
750 More thoughs on this.
752 * plugins/elements/gstcapsfilter.c:
753 Add bugzilla ticket number to FIXME comment.
755 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
757 * docs/design/part-TODO.txt:
758 * docs/design/part-block.txt:
761 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
764 Revert patch which uses $(gst_headers) instead of $^ because it
767 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
769 * tests/check/gst/gstbin.c: (GST_START_TEST):
770 Fix leaks in the new unit test.
772 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
775 Don't use GST_INFO before the debug system is actually initialised
776 (shouldn't do any harm, but won't print anything either, so we can
777 just as well remove it).
780 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
781 compilers that don't support variadic macros (such as MSVC), should
782 check for debug_level <= __gst_debug_min as well, since that's the
783 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
784 inline helper functions. Should improve performance a bit, but also
785 makes sure uses of GST_INFO et.al are ignored if the debugging
786 system isn't initialised yet (instead of printing an assertion
789 2007-08-23 Stefan Kost <ensonic@users.sf.net>
791 patch by: David Nečas <yeti@physics.muni.cz>
794 Replace some non portable makefile constructs.
796 2007-08-21 Stefan Kost <ensonic@users.sf.net>
798 * common/gtk-doc-plugins.mak:
799 Grrrrr. Don't remove the types file on make clean.
801 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
803 * tools/gst-launch.1.in:
804 Add colorspace to example pipeline. Fixes #458274.
806 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
808 * docs/random/release:
809 The release manager should run 'make download-po' before making a
810 release to make sure translations are up-to-date.
816 Add some new translations.
818 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
820 * tools/gst-launch.c: (event_loop), (main):
821 Don´t try to do any state management when a live pipeline posts
823 Also make the buffering string translatable.
825 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
827 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
828 (bin_handle_async_start), (gst_bin_handle_message_func):
830 When adding elements, insert messages into the bus of the newly added
831 element and make sure the element is the source of the message. This
832 allows the parent bin to intercept the message and do the
833 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
834 messages to the app (which is not allowed).
837 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
838 Fix testsuite so that is does not work around messages that should not
839 have been posted in the first place.
841 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
843 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
844 (update_degree), (gst_bin_sort_iterator_next):
845 Fix annoying bug in the sorted iterator where a sink that is not really
846 a sink (when it has downstream links) screwed up the iterator.
848 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
849 Unit test to verify the fix.
851 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
854 Add some more docs for the messages.
856 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
857 (gst_base_sink_query):
858 Add some more debugging.
860 * tools/gst-launch.c: (event_loop):
861 When interrupting, don't try to set pipeline to PAUSED twice.
863 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
866 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
867 (bin_handle_async_start), (gst_bin_handle_message_func):
868 Move ASYNC_START message posting to where it belongs, similar to
870 Don't post ASYNC_START when we are in error.
871 Post ASYNC_START when we added an async element to a bin.
873 2007-08-14 Julien MOUTTE <julien@moutte.net>
875 * gst/gstindex.c: (gst_index_add_association): Fix index entry
876 generation from vargs. Fixes #466595.
878 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
880 * gst/gstbin.c: (gst_bin_element_set_state):
881 Always change the state of a NO_PREROLL element even if it has ASYNC
882 elements inside (in case of a bin).
884 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
885 Unit test for this case.
887 2007-08-13 Stefan Kost <ensonic@users.sf.net>
889 * libs/gst/check/gstbufferstraw.c:
890 * libs/gst/check/gstcheck.h:
891 * libs/gst/controller/gstcontroller.c:
892 * libs/gst/controller/gstcontrolsource.h:
893 * libs/gst/controller/gstlfocontrolsource.h:
894 * plugins/elements/gstcapsfilter.h:
895 * plugins/elements/gstfdsink.h:
896 * plugins/elements/gstfdsrc.h:
897 Add more missing docs.
899 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
901 * gst/gststructure.c:
902 Add Since tag to docs.
904 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
906 * docs/gst/gstreamer-sections.txt:
907 * gst/gststructure.c: (gst_structure_get_uint):
908 * gst/gststructure.h:
909 Add function to get uint from a structure.
910 API: gst_structure_get_uint()
912 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
914 * gst/gstcaps.c: (gst_caps_set_simple_valist),
915 (gst_caps_intersect):
916 Fix proper check for simple caps.
918 2007-08-10 Stefan Kost <ensonic@users.sf.net>
920 * docs/gst/Makefile.am:
921 * docs/libs/Makefile.am:
922 Remove cruft and do some cleanups.
924 * docs/gst/gstreamer-docs.sgml:
925 * docs/libs/gstreamer-libs-docs.sgml:
926 Prepare for comming gtkdoc features (rebase against online docs).
928 2007-08-10 Michael Smith <msmith@fluendo.com>
930 * docs/gst/gstreamer-sections.txt:
931 Add gst_registry_add_path to docs.
933 2007-08-10 Michael Smith <msmith@fluendo.com>
936 Add gst_registry_add_path, which was missing from this header.
938 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
940 * libs/gst/controller/gstlfocontrolsource.c:
943 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
945 * libs/gst/base/gstbasesink.c:
946 Don't send an async_start message during downwards state change if
947 target state is less than READY
949 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
951 translated by: Gabor Kelemen <kelemeng@gnome.hu>
955 Added Hungarian translation.
957 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
964 Updated translations.
966 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
968 * libs/gst/controller/Makefile.am:
969 Dist gstlfocontrolsourceprivate.h
971 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
973 * docs/libs/gstreamer-libs.types:
974 Don't register the enum type gst_lfo_waveform_get_type() in the
975 .types file - only GObject derived types belong.
977 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
979 Patch by: <arenevier at fdn dot fr>
982 Remove comma from last element in enum to avoid compile errors when
983 using -pendantic. Fixes #464366.
985 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
987 * docs/design/part-TODO.txt:
988 Add some more TODO items
990 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
993 * gst/gstcaps.c: (gst_caps_intersect):
994 Optimize trivial intersection case between identical caps pointers.
996 * gst/gstelement.c: (gst_element_continue_state),
997 (gst_element_set_state_func):
999 Fix spelling and grammar mistakes.
1001 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1005 Update POTFILES. Fixes #461599.
1007 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1010 Fix confusing typo in debug output.
1012 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1014 reviewed by: Stefan Kost <ensonic@users.sf.net>
1016 * libs/gst/controller/Makefile.am:
1017 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1018 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1019 (gst_lfo_control_source_new),
1020 (gst_lfo_control_source_set_waveform),
1021 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1022 (gst_lfo_control_source_finalize),
1023 (gst_lfo_control_source_dispose),
1024 (gst_lfo_control_source_set_property),
1025 (gst_lfo_control_source_get_property),
1026 (gst_lfo_control_source_class_init):
1027 * libs/gst/controller/gstlfocontrolsource.h:
1028 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1029 API: Add GstLFOControlSource, a control source that gives values
1030 for specific timestamps based on several periodic waveforms.
1033 * tests/check/libs/controller.c: (GST_START_TEST),
1034 (gst_controller_suite):
1035 * docs/libs/gstreamer-libs-docs.sgml:
1036 * docs/libs/gstreamer-libs-sections.txt:
1037 * docs/libs/gstreamer-libs.types:
1038 Add documentation and unit tests for GstLFOControlSource.
1040 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1045 === release 0.10.14 ===
1047 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1050 releasing 0.10.14, "Breathing Vacuum"
1052 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1054 * gst/gstelement.c: (gst_element_class_set_details_simple):
1056 Make strings passed to gst_element_class_set_details_simple()
1057 constant, as they should be (#462752).
1059 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1061 * gst/gstbin.c: (gst_bin_change_state_func),
1062 (bin_handle_async_done), (gst_bin_handle_message_func):
1063 Don't forget about the fact that some element went ASYNC even after a
1064 resync. This makes us post the ASYNC_DONE message correctly.
1067 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1069 * gst/gstregistry.c: (gst_registry_add_feature):
1070 When replacing an existing feature in the registry, make sure to
1071 continue holding a reference until we've replaced the name string
1072 within our feature hash table. Make sure to use g_hash_table_replace
1073 instead of g_hash_table_insert to ensure the new name string is used
1074 as a key instead of the old one that we're about to free.
1077 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1079 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1080 (gst_plugin_feature_set_name):
1081 Revert patch from #459466 until after the release and we can work
1082 out exactly what the problem is (if any).
1084 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1086 * docs/gst/gstreamer-sections.txt:
1089 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1091 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1093 * docs/libs/Makefile.am:
1094 Include our build-prefix libs and includes before the generic ones to
1095 avoid linking against the installed libs when we want the build-tree
1098 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1100 Patch by: Steve Fink <sphink gmail com>
1102 * docs/pwg/building-testapp.xml:
1103 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1104 if people try to build or install the example from the plugin
1105 template against a GStreamer from package using the configure
1108 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1110 Patch by: Steve Fink <sphink gmail com>
1112 * tools/gst-inspect.1.in:
1113 Document --print-all and --print-plugin-auto-install-info command
1114 line options in man page.
1116 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1118 * docs/gst/gstreamer-sections.txt:
1119 Add docs for new api function.
1121 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1123 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1124 * gst/gstelementfactory.h:
1125 API: gst_element_factory_has_interface()
1126 Added method to check if an element factory implements a named
1129 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1132 * docs/gst/gstreamer.types.in:
1133 Another conditional doc check.
1136 * gst/gstparamspecs.h:
1137 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1142 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1144 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1145 (gst_registry_binary_load_feature),
1146 (gst_registry_binary_load_plugin),
1147 (gst_registry_binary_read_cache):
1148 Print error just once and with additional info.
1150 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1152 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1153 (helper_find_suggest), (helper_find_get_length),
1154 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1155 (gst_type_find_helper_for_buffer):
1156 Cleanup the typefindhelper code and add private doc comments.
1158 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1160 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1161 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1162 Fix capsfilter for cases where the caps set on capsfilter will provide
1163 additional information.
1166 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1168 * gst/gsttypefindfactory.c:
1169 Fix docs that recommened wrong function to use.
1171 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1173 * tools/gst-inspect.c: (print_plugin_features):
1174 Also give media-type for typefinders in element output.
1176 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1178 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1179 (gst_registry_remove_features_for_plugin_unlocked),
1180 (gst_registry_add_feature), (gst_registry_remove_feature),
1181 (gst_registry_lookup_feature_locked):
1182 * gst/gstregistry.h:
1183 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1186 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1188 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1189 (gst_plugin_feature_set_name):
1190 Avoid double memory usage for pluginfeature names. Fixes #459466.
1192 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1195 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1196 driving the pipeline may need to explicitly check for NOT_LINKED as
1197 well, since IS_FATAL doesn't cover that.
1199 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1201 * docs/pwg/advanced-types.xml:
1202 Fix typo and duplicate entry in video formats list.
1204 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1206 * libs/gst/controller/gstinterpolation.c:
1207 Also round to the nearest int when using cubic interpolation.
1209 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1211 * libs/gst/controller/gstinterpolation.c:
1212 When linearly interpolating integer types, round to the nearest int
1213 by adding 0.5. Don't do it for float/double types.
1214 Fixes the failing controller test on my machine, which is somehow
1215 rounding differently than on the buildbots.
1217 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1219 * tools/gst-plot-timeline.py:
1220 Better log parsing (categories can have -). Adjust text vs. lines, so
1221 that they span the same y-range.
1223 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1225 * docs/random/ensonic/audiobaseclasses.txt:
1226 * docs/random/ensonic/dynlink.txt:
1227 * docs/random/ensonic/profiling.txt:
1230 * docs/random/moving-plugins:
1231 Add note to use g_assert type macros.
1233 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1236 * libs/gst/check/Makefile.am:
1237 Add libm check as we use in for plugins.
1239 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1241 * gst/gstbin.c: (gst_bin_continue_func):
1242 Check that the state_cookie hasn't changed since the continue_func
1243 was scheduled. Avoids problems where the state changes back to
1244 something it shouldn't be because it was changed in the meantime.
1246 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1248 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1249 (gst_registry_binary_save_string),
1250 (gst_registry_binary_save_pad_template),
1251 (gst_registry_binary_save_feature),
1252 (gst_registry_binary_save_plugin),
1253 (gst_registry_binary_load_feature),
1254 (gst_registry_binary_load_plugin),
1255 (gst_registry_binary_read_cache):
1256 Fix memory leak. Be less verbose in the log.
1258 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1260 * tests/check/elements/.cvsignore:
1261 Add file to cvsignore as commanded.
1263 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1265 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1266 (mq_dummypad_event), (run_output_order_test):
1267 Use a GStaticMutex to protect all cases where libcheck
1268 fail_if/fail_unless macros might be called from multiple threads
1269 simultaneously to avoid errors like:
1270 "check_pack.c:107: :-1081725400:Bad message type arg"
1272 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1274 * tests/check/pipelines/stress.c: (GST_START_TEST):
1275 Make sure we set the pipeline back to the NULL state before
1276 dropping our final reference.
1278 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1280 * tests/check/elements/tee.c: (GST_START_TEST):
1281 Make the tee stress-test a little less stressful so it doesn't just
1282 time out on slow-machines, and remove a small race when it's starting
1283 up by adding a get_state() call.
1285 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1288 Avoid reading registry twice on startup. Fixes #457322.
1290 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1292 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1293 * pkgconfig/gstreamer-check.pc.in:
1294 Substitute the CFLAGS for libcheck into our .pc file too so that
1295 dependent modules will pick it up properly if libcheck is installed
1296 into some other prefix.
1298 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1301 Revert the pkg-config check for libcheck, since it pulls in the
1302 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1303 a proper solution, either from the check project, or something else.
1305 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1308 Use pkg-config to locate check.
1310 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1317 Add deprecation guards.
1319 * libs/gst/base/gstcollectpads.h:
1320 Don't document object (this is implicitly private).
1322 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1324 * gst/gststructure.c: (gst_structure_parse_value):
1325 When deserialising foo=bar without a type cast, check if it's a
1326 boolean before falling back to a string type, otherwise things like
1327 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1328 because the filtercaps end up having a signed=(string)true field,
1329 which causes problems later when intersection caps.
1331 * tests/check/gst/gststructure.c: (GST_START_TEST):
1332 Add a unit test for this.
1334 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1336 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1338 * libs/gst/controller/Makefile.am:
1339 * libs/gst/controller/gstcontroller.c:
1340 (gst_controlled_property_add_interpolation_control_source),
1341 (gst_controlled_property_new), (gst_controlled_property_free),
1342 (gst_controller_find_controlled_property),
1343 (gst_controller_new_valist), (gst_controller_new_list),
1344 (gst_controller_new), (gst_controller_remove_properties_valist),
1345 (gst_controller_remove_properties_list),
1346 (gst_controller_remove_properties),
1347 (gst_controller_set_property_disabled),
1348 (gst_controller_set_disabled), (gst_controller_set_control_source),
1349 (gst_controller_get_control_source), (gst_controller_get),
1350 (gst_controller_sync_values), (gst_controller_get_value_array),
1351 (_gst_controller_dispose), (gst_controller_get_type),
1352 (gst_controlled_property_set_interpolation_mode),
1353 (gst_controller_set), (gst_controller_set_from_list),
1354 (gst_controller_unset), (gst_controller_unset_all),
1355 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1356 * libs/gst/controller/gstcontroller.h:
1357 * libs/gst/controller/gstcontrollerprivate.h:
1358 * libs/gst/controller/gstcontrolsource.c:
1359 (gst_control_source_class_init), (gst_control_source_init),
1360 (gst_control_source_get_value),
1361 (gst_control_source_get_value_array), (gst_control_source_bind):
1362 * libs/gst/controller/gstcontrolsource.h:
1363 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1364 (gst_object_get_control_source):
1365 * libs/gst/controller/gstinterpolation.c:
1366 (gst_interpolation_control_source_find_control_point_node),
1367 (gst_interpolation_control_source_get_first_value),
1368 (_interpolate_none_get), (interpolate_none_get),
1369 (interpolate_none_get_boolean_value_array),
1370 (interpolate_none_get_enum_value_array),
1371 (interpolate_none_get_string_value_array),
1372 (_interpolate_trigger_get), (interpolate_trigger_get),
1373 (interpolate_trigger_get_boolean_value_array),
1374 (interpolate_trigger_get_enum_value_array),
1375 (interpolate_trigger_get_string_value_array):
1376 * libs/gst/controller/gstinterpolationcontrolsource.c:
1377 (gst_control_point_free), (gst_interpolation_control_source_reset),
1378 (gst_interpolation_control_source_new),
1379 (gst_interpolation_control_source_set_interpolation_mode),
1380 (gst_interpolation_control_source_bind),
1381 (gst_control_point_compare), (gst_control_point_find),
1382 (gst_interpolation_control_source_set_internal),
1383 (gst_interpolation_control_source_set),
1384 (gst_interpolation_control_source_set_from_list),
1385 (gst_interpolation_control_source_unset),
1386 (gst_interpolation_control_source_unset_all),
1387 (gst_interpolation_control_source_get_all),
1388 (gst_interpolation_control_source_get_count),
1389 (gst_interpolation_control_source_init),
1390 (gst_interpolation_control_source_finalize),
1391 (gst_interpolation_control_source_dispose),
1392 (gst_interpolation_control_source_class_init):
1393 * libs/gst/controller/gstinterpolationcontrolsource.h:
1394 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1395 API: Refactor GstController into the core controller which can take
1396 a GstControlSource for providing actual values for timestamps.
1397 Implement a interpolation control source and use this for backward
1398 compatibility, deprecate a bunch of functions that are now handled
1399 by GstControlSource or GstInterpolationControlSource.
1400 Make it possible to disable the controller completely or only for
1401 specific properties. Fixes #450711.
1402 * docs/libs/gstreamer-libs-docs.sgml:
1403 * docs/libs/gstreamer-libs-sections.txt:
1404 * docs/libs/gstreamer-libs.types:
1405 Add new functions and classes to the docs.
1406 * tests/check/libs/controller.c: (GST_START_TEST),
1407 (gst_controller_suite):
1408 * tests/examples/controller/audio-example.c: (main):
1409 Port unit test and example to the new API and add some new
1412 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1414 Patch by: Mark Nauwelaerts <manauw at skynet be>
1416 * plugins/elements/gstmultiqueue.c:
1417 (gst_multi_queue_get_internal_links), (apply_buffer),
1418 (single_queue_overrun_cb), (gst_single_queue_new):
1419 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1420 the pipeline layout can be tracked correctly. Fixes #453732.
1422 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1424 * docs/gst/Makefile.am:
1425 * docs/libs/Makefile.am:
1426 * docs/plugins/Makefile.am:
1427 Simplify --extra-dir as gtkdoc scans recursively.
1429 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1431 * tools/gst-launch.c: (main):
1432 When we got an error, there is no point in waiting for preroll when
1435 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1437 * plugins/elements/gsttee.c: (gst_tee_base_init),
1438 (gst_tee_request_new_pad), (gst_tee_release_pad),
1439 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1440 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1442 Be a lot smarter when deciding what srcpad to use for proxying
1443 the buffer_alloc. Also handle pad added/removed when doing so.
1445 Keep track of what pads we already pushed on in case we have pads
1446 added/removed while pushing. Fixes #374639
1448 * tests/check/Makefile.am:
1449 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1451 Added unit test for pad resync.
1453 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1457 Updated translations.
1459 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1461 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1465 Added new Finnish translation.
1467 2007-06-28 Wim Taymans <wim@fluendo.com>
1469 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1470 (single_queue_overrun_cb):
1471 When figuring out when a queue is filled, use our internal time estimate
1472 based on segments, just like check_full does.
1474 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1476 * gst/gstminiobject.c: (gst_mini_object_get_type):
1477 Remove 3 do-nothing methods.
1479 2007-06-27 Wim Taymans <wim@fluendo.com>
1481 Patch by: Tim Angus <tim at ngus dot net>
1483 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1484 (gst_capsfilter_set_property):
1485 Take a reference instead of a copy when setting "caps".
1486 Fix documentation to clarify this behaviour. Fixes #449414.
1488 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1490 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1491 * gst/gstplugin.c: (gst_plugin_init):
1492 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1493 * gst/gstquery.c: (gst_query_get_type):
1494 * gst/gstregistry.c: (gst_registry_init):
1495 * gst/gsturi.c: (gst_uri_handler_base_init):
1496 Remove empty instance_init() functions to save relocs and lessen the
1497 noise. Remove some of the function prototypes that are doubled by
1500 2007-06-27 Wim Taymans <wim@fluendo.com>
1502 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1504 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1505 Add peer and direction in the XML serialisation of ghostpads.
1508 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1511 Preserve useful information, thanks Tim.
1513 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1515 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1516 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1517 (gst_single_queue_push_one), (gst_multi_queue_loop),
1518 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1519 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1520 (compute_high_id), (gst_single_queue_new):
1521 * plugins/elements/gstmultiqueue.h:
1522 Take the multiqueue lock when updating the fill level so we don't get
1525 After applying a buffer or event on the src pad segment, make sure to
1526 call gst_data_queue_limits_changed() to get the data queue to unblock
1527 and check the filled state again.
1529 Rework the not-linked pad handling so the logic is that not-linked
1530 pads can push as fast as they like, but only so they never get
1531 ahead of any linked pads.
1533 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1534 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1535 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1537 Add a test to check that not-linked pads always stay behind
1542 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1544 * docs/random/release:
1545 Some updates to the release procedure.
1547 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1549 * gst/gstelementfactory.c: (__gst_element_details_clear):
1550 Microoptimization that saves stunning 80 bytes.
1552 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1554 * docs/plugins/gstreamer-plugins.args:
1555 * docs/plugins/inspect/plugin-coreelements.xml:
1556 * docs/plugins/inspect/plugin-coreindexers.xml:
1557 Update docs with caps info.
1559 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1562 Updated Italian translation.
1564 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1568 Update Vietnamese translations.
1570 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1572 * libs/gst/base/gstbasesink.c:
1573 Remove unused signal enum.
1575 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1577 * docs/gst/gstreamer-sections.txt:
1579 * gst/gstutils.c: (gst_type_register_static_full):
1580 Beef up and include the docs for gst_type_register_static_full and
1581 gst_element_class_set_details_simple and add the API keyword
1584 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1586 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1587 (update_time_level), (gst_single_queue_push_one),
1588 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1589 (single_queue_overrun_cb), (single_queue_underrun_cb),
1590 (single_queue_check_full):
1591 Fix setting max-* properties after adding queues.
1592 Use IS_FILLED for checking visible items.
1593 Signal overrun if multiple queues overrun.
1594 Add extra debug output.
1595 Patch by: Wim Taymans <wim@fluendo.com>
1597 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1599 * gst/gstelement.c: (gst_element_class_set_details_simple):
1601 * gst/gstutils.c: (gst_type_register_static_full):
1603 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1604 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1605 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1606 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1607 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1608 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1609 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1610 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1611 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1612 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1613 (apply_buffer), (gst_queue_chain):
1614 * plugins/elements/gsttee.c: (gst_tee_base_init):
1615 * plugins/elements/gsttypefindelement.c:
1616 (gst_type_find_element_base_init),
1617 (gst_type_find_element_class_init):
1618 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1619 API: add gst_type_register_static_full
1620 API: add gst_element_class_set_details_simple
1622 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1624 * docs/pwg/advanced-types.xml:
1625 Fix typo in iana.org URI.
1627 2007-06-19 Andy Wingo <wingo@pobox.com>
1629 * tests/check/pipelines/simple-launch-lines.c
1630 (test_state_change_returns): Enable pull-mode tests now that
1631 basesink has been fixed.
1633 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1634 Changed from gst_base_sink_is_prerolled, reversing the sense of
1635 the return value. Returns FALSE also if the sink is in pull mode,
1636 in which case it needs no preroll.
1637 (gst_base_sink_query, gst_base_sink_change_state): Update for
1638 needs_preroll change.
1639 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1640 chaining up, in which we return SUCCESS directly if we activated
1641 in pull mode instead of ASYNC. Involves countering an async_start
1642 message sent before chaining up; not sure if this is correct, in
1643 an ideal world we only send async-start when activating in push
1646 * tests/check/pipelines/simple-launch-lines.c
1647 (test_state_change_returns): New test, partially disabled until
1650 2007-06-19 Wim Taymans <wim@fluendo.com>
1652 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1653 (gst_multi_queue_sink_event):
1656 2007-06-19 Wim Taymans <wim@fluendo.com>
1658 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1659 (gst_bin_change_state_func), (bin_push_state_continue),
1660 (bin_handle_async_start), (bin_handle_async_done),
1661 (gst_bin_handle_message_func):
1662 Move the common code for posting state-change messages into
1664 Broadcast the state signal after we posted the messages.
1665 Mark the bin as busy when it's doing a state-change.
1666 Make sure async-start/done messages don't interfere with the bin's
1667 state when it's busy.
1668 After the state change, let the bin check which elements completed the
1669 state change while it was busy so that it can update its state.
1671 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1673 * docs/random/release:
1674 Add a note about updating the doap file to the release checklist
1676 2007-06-18 Wim Taymans <wim@fluendo.com>
1678 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1679 (gst_single_queue_push_one), (gst_multi_queue_chain),
1680 (gst_multi_queue_sink_event):
1681 Make sure we don't reference the buffer/event after we have given away
1682 ownership in the queue.
1684 2007-06-18 Wim Taymans <wim@fluendo.com>
1686 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1687 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1688 Update queue state _after_ adding the item in the queue because else we
1689 could end up being full without the element added yet.
1691 2007-06-18 Wim Taymans <wim@fluendo.com>
1693 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1694 (gst_bin_remove_func), (gst_bin_get_state_func),
1695 (gst_bin_element_set_state), (gst_bin_continue_func),
1696 (bin_push_state_continue), (bin_handle_async_start),
1697 (bin_handle_async_done), (gst_bin_handle_message_func):
1699 Immediatly commit the toplevel bin state when receiving an async-done
1700 message. This enables us to avoid spawning a thread to commit the state
1701 in some common cases and it also avoids some races.
1702 Avoid spawning a state thread when adding/removing async elements to a
1703 toplevel bin. Instead we immediatly update the bin state.
1704 Get rid of iterating all the children when getting the state in the bin
1705 because it is now always up-to-date.
1706 Fix bug where locked elements would always return _SUCCESS even it they
1707 returned NO_PREROLL before being locked.
1708 Fix the order of the state_change, async-start/done messages that was
1709 sometimes incorrect.
1710 Mark the state_dirty field as deprecated, we don't need it anymore as we
1711 are always up-to-date.
1713 * gst/gstelement.c: (gst_element_get_state_func),
1714 (gst_element_continue_state):
1715 Small debug inprovements.
1716 Return the previous element state return when nothing is pending instead
1717 of blindly returning SUCCESS.
1719 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1721 Add a whole bunch of new testcases.
1723 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1727 Update translations.
1729 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1732 Fix typo in the docs.
1734 2007-06-15 Wim Taymans <wim@fluendo.com>
1736 * docs/libs/gstreamer-libs-sections.txt:
1737 Add docs for new methods.
1739 2007-06-15 Wim Taymans <wim@fluendo.com>
1741 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1742 (gst_multi_queue_item_new):
1743 Don't use GSlice because we don't depend on >= 2.10 yet.
1745 2007-06-15 Wim Taymans <wim@fluendo.com>
1747 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1748 (update_time_level), (apply_segment), (apply_buffer),
1749 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1750 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1751 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1752 (single_queue_underrun_cb), (single_queue_check_full):
1753 Remove debug printf.
1755 2007-06-15 Wim Taymans <wim@fluendo.com>
1757 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1758 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1759 (gst_data_queue_set_flushing), (gst_data_queue_push),
1760 (gst_data_queue_pop), (gst_data_queue_drop_head),
1761 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1762 * libs/gst/base/gstdataqueue.h:
1764 Added methods to get the current levels and to inform the queue that the
1765 'full' limits changed.
1767 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1768 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1769 (gst_single_queue_flush), (update_time_level), (apply_segment),
1770 (apply_buffer), (gst_single_queue_push_one),
1771 (gst_multi_queue_item_steal_object),
1772 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1773 (gst_multi_queue_loop), (gst_multi_queue_chain),
1774 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1775 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1776 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1777 (single_queue_underrun_cb), (single_queue_check_full),
1778 (gst_single_queue_new):
1779 Keep track of time in the queue by measuring the difference between
1780 running_time on input and output. This gives more accurate results and
1781 can compensate for segments correctly.
1782 Make a queue by default only 5 buffers deep. We will now increase the
1783 buffer size depending on the filledness of the other queues.
1784 Factor out commong flush code.
1785 Make sure we don't add additional refcounts to buffers when we can avoid
1787 Propagate GstFlowReturn differently.
1788 Use GSlice for intermediate GstMultiQueueItems.
1790 Resize queues on over and underruns based on filled level of other
1792 When checking if the queue is filled, prefer to measure in time if we
1793 can and fall back to bytes when no time is known.
1795 * plugins/elements/gstqueue.c:
1798 2007-06-15 Wim Taymans <wim@fluendo.com>
1800 * libs/gst/base/gstbasetransform.c:
1801 (gst_base_transform_sink_event):
1802 Work around the brokenness of the event vmethod in basetransform. Prefer
1803 to return TRUE when the subclass returned FALSE (meaning don't forward
1806 * libs/gst/base/gstbasetransform.h:
1809 2007-06-15 Wim Taymans <wim@fluendo.com>
1811 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1812 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1813 (gst_base_src_default_query), (gst_base_src_get_range),
1814 (gst_base_src_start):
1815 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1818 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1820 * docs/pwg/advanced-types.xml:
1821 Added more formats to caps table.
1823 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1825 * tools/gst-launch.c: (main):
1826 Remove crufy code. GOption does not need this workaround.
1828 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1830 * libs/gst/controller/gstcontroller.c:
1831 (gst_controlled_property_set_interpolation_mode):
1832 Fix wrong getter for enums in controller.
1834 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1836 * libs/gst/check/gstcheck.c: (gst_check_init):
1837 Intercept criticals and warnings in the Gst-Phonon log domain, so
1838 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1841 2007-06-14 Edward Hervey <edward@fluendo.com>
1843 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1844 Since this file doesn't include "gst.h" it will not go through the
1845 macros that disable GST_LOG if debugging was disabled.
1847 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1849 * libs/gst/check/Makefile.am:
1850 * libs/gst/check/gstcheck.h:
1851 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1852 * pkgconfig/gstreamer-check.pc.in:
1853 Ugly 'fix' for the controller unit test on the p5 bot: in
1854 fail_unless_equals_float() check whether the values are 'almost
1855 equal' by allowing a small absolute error, which should be good
1856 enough for our use cases (normal numbers and values close to 0).
1857 Proper fixage left to floating point arithmetic aficionados.
1859 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1861 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1862 (gst_base_sink_render_object), (gst_base_sink_get_position):
1863 Add two breaks thats where missing.
1865 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1867 * docs/libs/gstreamer-libs-sections.txt:
1868 * libs/gst/check/gstcheck.h:
1869 API: add fail_unless_equals_float() and assert_equals_float().
1870 Add documentation for some of the macros.
1872 * tests/check/libs/controller.c: (GST_START_TEST):
1873 Use newly-added asserts.
1875 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1877 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1878 Show the caps change in the log to help spotting the case of not
1879 exactly matching caps.
1881 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1883 * docs/pwg/building-boiler.xml:
1884 Fix typos, spotted by Thijs Vermeir (#447190).
1886 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1888 * docs/plugins/tmpl/.cvsignore:
1889 Ignore file to keep the buildbots happy
1891 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1893 * docs/plugins/Makefile.am:
1894 * docs/plugins/gstreamer-plugins-docs.sgml:
1895 * docs/plugins/gstreamer-plugins-sections.txt:
1896 Pull fdsink into the docs too.
1898 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1900 * libs/gst/controller/gstinterpolation.c:
1901 Actually use the new functions with min/max checks for the trigger and
1902 none interpolation modes for get() and get_value_array() instead of
1905 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1907 * libs/gst/controller/gstcontroller.c:
1908 (gst_controlled_property_free):
1909 Unset the minimum and maximum GValues when freeing the corresponding
1910 GstControllerProperty struct.
1912 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1914 * libs/gst/controller/gstcontroller.c:
1915 (gst_controlled_property_new):
1916 * libs/gst/controller/gstcontrollerprivate.h:
1917 * libs/gst/controller/gstinterpolation.c:
1918 (gst_controlled_property_find_control_point_node),
1919 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1920 (interpolate_none_get_string_value_array),
1921 (interpolate_trigger_get),
1922 (interpolate_trigger_get_enum_value_array),
1923 (interpolate_trigger_get_string_value_array):
1924 Protect against values larger or smaller than the minimum or maximum
1925 allowed value for the property when using values that can be compared.
1927 Optimize trigger interpolator a bit by taking the last requested value
1928 into account instead of always looping through the complete list.
1930 Fix coding style a bit, everywhere else we use "return foo" instead
1933 * tests/check/libs/controller.c: (GST_START_TEST),
1934 (gst_controller_suite):
1935 Add unit test for the protection against too large or too small
1938 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1940 * docs/random/slomo/controller.txt:
1941 Add some thoughts about the future of the controller.
1943 2007-06-08 Wim Taymans <wim@fluendo.com>
1945 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1946 Don't overflow in retimestamping code.
1948 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1950 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1951 Use gst_util_guint64_to_gdouble for conversions.
1952 * win32/common/libgstreamer.def:
1953 Add new exported functions.
1955 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1958 Small docs addition.
1960 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1963 Remove that test line again.
1965 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1968 Test commit mail sending.
1970 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1973 Fix typo and test commit mail sending.
1975 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1977 * tests/examples/controller/audio-example.c:
1978 Improve comment and test commit mail sending.
1980 2007-06-07 Wim Taymans <wim@fluendo.com>
1982 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1983 (gst_bin_remove_func), (gst_bin_element_set_state),
1984 (bin_handle_async_start), (bin_handle_async_done),
1985 (gst_bin_handle_message_func):
1986 Add helper function to find messages.
1987 Generate the async-done messages together with the state change
1989 Small cleanups in handling toplevel bins.
1991 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1993 * libs/gst/base/gstdataqueue.c:
1994 * libs/gst/base/gstdataqueue.h:
1995 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1996 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1997 (gst_multi_queue_sink_event):
1998 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1999 Fix multiqueue leaking buffers and events when downstream or the
2000 queue are flushing. Make refcounting assumptions explicit and
2001 document them (shouldn't break existing code that uses it other than
2002 maybe leak miniobjects, but that already happens anyway). Add unit
2003 test for the most common flushing case. Fixes #423700.
2005 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2007 * libs/gst/controller/gstcontroller.c:
2008 Clarify docs: The get_all, get_value_array(s) functions
2009 don't modify the GObject properties.
2011 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2013 * libs/gst/controller/gstcontroller.c:
2014 (gst_controlled_property_set_interpolation_mode),
2015 (gst_controlled_property_prepend_default),
2016 (gst_controlled_property_new), (gst_controller_set_unlocked),
2017 (gst_controller_set), (gst_controller_set_from_list),
2018 (gst_controller_unset), (gst_controller_unset_all):
2019 * libs/gst/controller/gstcontrollerprivate.h:
2020 * libs/gst/controller/gstinterpolation.c:
2021 Factor out the 'set' logic into gst_controller_set_unlocked for the
2022 gst_controller_set and gst_controller_set_from_list functions.
2024 To make life of the interpolators easier always add a control point
2025 at timestamp zero with the default value.
2027 In the linear interpolator make things more obvious by better variable
2030 Implement cubic interpolation mode (by using a natural cubic spline)
2031 and map the quadratic interpolation mode to this too (as quadratic
2032 doesn't make much sense, see discussion on the list).
2034 * tests/check/libs/controller.c: (GST_START_TEST),
2035 (gst_controller_suite):
2036 Add unit test for the cubic interpolation mode and check everywhere
2037 if the interpolation mode could be set as expected.
2039 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2041 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2042 Don't use GLib-2.10 functions, we still depend on
2043 GLib-how-old-is-it-again-2.8.
2045 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2047 * docs/gst/gstreamer-sections.txt:
2051 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2052 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2053 (_gst_param_fraction_values_cmp),
2054 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2055 * gst/gstparamspecs.h:
2057 * tests/check/Makefile.am:
2058 * tests/check/gst/.cvsignore:
2059 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2060 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2061 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2062 (GST_START_TEST), (gst_param_spec_suite):
2063 API: add GstParamSpecFraction, so elements can have fraction
2064 properties without lots of painful string parsing (#444648).
2066 2007-06-05 Wim Taymans <wim@fluendo.com>
2068 * gst/gstobject.c: (gst_object_class_init):
2069 Fix signal signature.
2072 Add small clarification in the api docs.
2074 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2075 States are protected with object lock.
2077 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2080 I should probably be listed as an author by now.
2082 * docs/random/release:
2083 Update the release doc
2085 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2088 Make docs for gst_value_compare() mention return enums that
2091 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2096 === release 0.10.13 ===
2098 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2101 releasing 0.10.13, "With or without you"
2103 2007-05-25 Wim Taymans <wim@fluendo.com>
2105 * gst/gstbin.c: (bin_handle_async_done):
2106 Make sure that the child bin stops after completing the async state
2107 change so that the parent can continue the state change to PLAYING.
2110 2007-05-25 Wim Taymans <wim@fluendo.com>
2112 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2113 (unref_data), (gst_collect_pads_remove_pad),
2114 (gst_collect_pads_check_pads):
2115 Use additional refcounting to avoid crashes when dynamically adding and
2116 removing pads. Fixes #420206.
2118 2007-05-24 Wim Taymans <wim@fluendo.com>
2120 * tools/gst-launch.c: (event_loop):
2121 When buffering goes from a two digit to a single digit number, make sure
2122 to remove the old second digit by writing a blank over it.
2124 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2126 * libs/gst/base/gstdataqueue.c:
2127 Eliminate tabs and trailing comma in enum list; fix some typos.
2129 2007-05-24 Wim Taymans <wim@fluendo.com>
2131 * tests/check/gst/gstbin.c: (GST_START_TEST):
2132 Allow refcount of 3 and 4 because some state thread might still be busy
2135 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2137 * plugins/elements/Makefile.am:
2138 * plugins/elements/gstmultiqueue.h:
2139 * plugins/elements/gstqueue.h:
2140 These are not installed headers, no need for padding.
2142 2007-05-24 Wim Taymans <wim@fluendo.com>
2144 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2145 (gst_bin_continue_func):
2146 Enable latency for next release.
2147 Restore STATE_LOCK around recalc_state that was left out during the
2148 rewrite and could result in racy behaviour when _get_state and
2149 recalc_state are run concurrently. See #440463.
2151 2007-05-23 Wim Taymans <wim@fluendo.com>
2153 * tests/check/gst/gstsystemclock.c: (store_callback),
2155 Improve test_async_order to also work when both timers are already
2156 expired when we get scheduled to check it.
2158 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2160 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2161 (gst_bin_set_property), (gst_bin_get_property),
2162 (gst_bin_remove_func), (gst_bin_handle_message_func):
2164 'private' is a c++ keyword, let's not use that in header files,
2165 otherwise c++ compilers will throw a tantrum.
2167 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2169 * plugins/elements/gstelements.c:
2170 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2171 (gst_file_sink_get_current_offset):
2172 * plugins/indexers/gstindexers.c: (plugin_init):
2173 Use #ifdef for HAVE_XYZ for consistency.
2175 * tests/check/Makefile.am:
2176 * tests/check/elements/.cvsignore:
2177 * tests/check/elements/filesink.c: (setup_filesink),
2178 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2179 Add some unit tests for filesink.
2181 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2183 Patch by: Mark Nauwelaerts <manauw at skynet be>
2185 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2186 (gst_file_sink_query), (gst_file_sink_do_seek),
2187 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2188 * plugins/elements/gstfilesink.h:
2189 Fix position reporting; rename data_written member to current_pos to
2190 reflect its real meaning (fixes #412648).
2192 2007-05-22 Edward Hervey <edward@fluendo.com>
2194 * docs/gst/gstreamer-sections.txt:
2195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2196 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2197 (gst_bin_remove_func), (gst_bin_handle_message_func):
2199 Add a property for bins that handle the state change of their childs.
2202 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2204 * libs/gst/controller/gstinterpolation.c:
2205 Use an array of the correct type when using _get_value_array with
2206 linear interpolation.
2208 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2210 * gst/gstelement.c (gst_element_requires_clock,
2211 gst_element_provides_clock, gst_element_request_pad,
2212 gst_element_class_set_details, gst_element_class_set_details_simple,
2213 gst_element_default_send_event, gst_element_abort_state,
2214 gst_element_continue_state, gst_element_set_state,
2215 gst_element_set_state_func, iterator_activate_fold_with_resync):
2216 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2217 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2218 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2219 gst_pad_get_range, gst_pad_pull_range):
2220 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2221 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2222 GstPadActivateModeFunction, GstPadChainFunction,
2223 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2224 GstPadFixateCapsFunction, GstPadTemplate):
2225 * gst/gstpipeline.c (gst_pipeline_change_state,
2226 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2227 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2228 gst_pipeline_get_delay):
2229 Whitespace and docs fixes.
2231 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2233 * libs/gst/controller/gstinterpolation.c:
2234 (interpolate_trigger_get_enum_value_array),
2235 (interpolate_trigger_get_string_value_array):
2236 Add support for retrieving value arrays when using the trigger
2239 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2241 * libs/gst/controller/gstcontroller.c:
2242 (gst_controller_get_value_array):
2243 * libs/gst/controller/gstcontroller.h:
2244 Clarify the docs of gst_controller_get_value_array(): The array where
2245 the values should be written to must be allocated as there seems to be
2246 no way to get the size of a random GType. This doesn't change any
2247 behaviour. Also fix some typos all over the place and remove an unused,
2248 commented function that is not necessary as g_object_set() could be
2250 * tests/check/libs/controller.c: (GST_START_TEST),
2251 (gst_controller_suite):
2252 Add unit test for gst_controller_get_value_array().
2254 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2256 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2258 Disable part of the gst_buffer_try_new_and_alloc test, because
2259 it can happily succeed on 64-bit systems where there's more address
2262 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2264 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2265 Add unit test for the improved caps checking from bug #421543.
2267 2007-05-21 Wim Taymans <wim@fluendo.com>
2269 * docs/design/part-synchronisation.txt:
2272 * gst/gstbin.c: (gst_bin_query):
2273 * plugins/elements/gstqueue.c: (apply_segment):
2279 2007-05-21 Wim Taymans <wim@fluendo.com>
2281 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2282 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2283 (gst_pad_configure_src):
2284 Added simple version of improved caps checking. It was previously
2285 assumed that a setcaps function would check the validity of the caps but
2286 people prefer us to check caps against the template automatically.
2289 2007-05-21 Wim Taymans <wim@fluendo.com>
2291 * libs/gst/base/gstbasetransform.h:
2292 Fix macro for locking/unlocking the transform lock.
2294 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2296 * docs/plugins/tmpl/.cvsignore:
2299 2007-05-18 Edward Hervey <edward@fluendo.com>
2301 * plugins/elements/gstqueue.c: (gst_queue_loop):
2302 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2303 for the subtle art of warning a potentially blocking thread that it
2304 should check the source pad return value, and relay the information
2307 2007-05-18 Edward Hervey <edward@fluendo.com>
2309 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2310 Release the queue lock !
2312 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2314 * docs/libs/gstreamer-libs-sections.txt:
2315 Add the two new controller functions to the appropiate places.
2317 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2319 reviewed by: Stefan Kost <ensonic@users.sf.net>
2321 * libs/gst/controller/gstcontroller.c:
2322 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2323 (_gst_controller_get_property), (_gst_controller_set_property),
2324 (_gst_controller_init), (_gst_controller_class_init):
2325 * libs/gst/controller/gstcontroller.h:
2326 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2327 (gst_object_get_control_rate), (gst_object_set_control_rate):
2328 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2329 Add API that provides sync suggestion timestamps for elements that
2330 call gst_object_sync_values() from which those elements can subdivide
2331 their processing loop to get the best results for the controlled
2332 properties. For now it just suggests last_sync + control_rate as
2333 new timestamp but this will be improved in the future.
2335 While doing that change the control-rate property to a GstClockTime
2336 from guint and change it's meaning from samples to nanoseconds as
2337 the GstController doesn't know anything about sampling rate. Strictly
2338 speaking this breaks ABI but as the control-rate property didn't do
2339 anything in the past and as such couldn't be used this should be no
2342 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2344 reviewed by: Stefan Kost <ensonic@users.sf.net>
2346 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2347 (gst_controller_unset_all):
2348 * libs/gst/controller/gstcontrollerprivate.h:
2349 * libs/gst/controller/gstinterpolation.c:
2350 (gst_controlled_property_find_control_point_node):
2351 Save last synced value from the list to continue searching from there
2352 in future syncs. This speeds everything up a bit.
2354 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2356 reviewed by: Stefan Kost <ensonic@users.sf.net>
2358 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2359 (gst_control_point_find), (gst_controlled_property_new),
2360 (gst_control_point_free), (gst_controlled_property_free),
2361 (gst_controller_set), (gst_controller_set_from_list),
2362 (gst_controller_unset), (gst_controller_unset_all),
2363 (gst_controller_sync_values):
2364 * libs/gst/controller/gstcontroller.h:
2365 * libs/gst/controller/gstcontrollerprivate.h:
2366 * libs/gst/controller/gstinterpolation.c:
2367 (gst_controlled_property_find_control_point_node),
2368 (interpolate_none_get), (interpolate_trigger_get):
2369 Add a new private GstControlPoint struct which "inherits" from
2370 GstTimedValue to allow different interpolators to store internal
2371 values next to each control point. From the outside everything is
2372 still a GstControlPoint so we don't loose binary compatibility.
2373 Also fixup all the GValue handling to not leak GValues or list nodes.
2374 * tests/check/libs/controller.c: (GST_START_TEST):
2375 Free the list nodes and GValues in the controller_misc test.
2377 2007-05-17 Edward Hervey <edward@fluendo.com>
2382 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2384 * gst/gstplugin.c: (gst_plugin_load_file):
2385 If we fail to load a plugin because of unresolved symbols or missing
2386 libraries and spew a warning to stderr, we may just as well mention
2387 which plugin it was that failed to load.
2389 2007-05-13 David Schleef <ds@schleef.org>
2391 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2392 handles the case when ENABLE_GTK_DOC is false, and installs
2393 the prebuilt documentation. So gtk-doc subdirs are
2394 unconditionally enabled. Fixes: #349099.
2396 2007-05-13 David Schleef <ds@schleef.org>
2398 * gst/gstutils.h: Reword some documentation.
2400 2007-05-12 David Schleef <ds@schleef.org>
2402 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2403 do anything with the passed "module" parameter, so remove it.
2404 Allows removal of additional vestigal code.
2406 2007-05-12 David Schleef <ds@schleef.org>
2409 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2410 Switch to using g_stat() because it's more portable.
2412 2007-05-12 David Schleef <ds@schleef.org>
2415 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2416 parsing for embedded systems.
2417 * gst/gstelementfactory.c:
2418 Allow gst_element_register() to be called with plugin==NULL.
2419 Did nobody notice that static elements were broken?
2421 2007-05-12 Wim Taymans <wim@fluendo.com>
2423 * tools/gst-launch.c: (event_loop):
2424 Give more interesting info when buffering starts and stops.
2425 Fix case where buffering starts but we fail to update the buffering flag
2426 because the target state is not PLAYING.
2428 2007-05-12 Wim Taymans <wim@fluendo.com>
2430 * plugins/elements/gstqueue.c: (gst_queue_init),
2431 (gst_queue_finalize), (update_time_level), (apply_segment),
2432 (apply_buffer), (gst_queue_locked_flush),
2433 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2434 (gst_queue_handle_sink_event), (gst_queue_chain),
2435 (gst_queue_push_one), (gst_queue_loop):
2436 * plugins/elements/gstqueue.h:
2437 Refactor an cleanup queue a bit.
2438 Do better time level calculations that also work when the srcpad is not
2440 Remove some unneeded debug lines.
2442 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2443 Added testcase for time level measurement.
2444 Try to make some stuff more racefree.
2446 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2448 * gst/gsturi.c: (gst_element_make_from_uri):
2449 Don't leak plugin feature.
2451 * tests/check/Makefile.am:
2452 * tests/check/gst/.cvsignore:
2453 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2454 Add brain-dead unit test.
2456 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2458 Patch by: Jeroen Wouters <woutersj at gmail com>
2460 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2461 Treat protocol strings in a case-insensitive way (#437563).
2463 2007-05-11 Michael Smith <msmith@fluendo.com>
2465 * gst/gstplugin.c: (gst_plugin_load_file):
2466 * gst/gstregistry.c: (gst_registry_scan_path_level):
2467 Don't print a g_warning for any failure to load a shared object.
2468 Instead, push this down into gstplugin.c, and warn _only_ if we
2469 failed to open the module (i.e. failure to link).
2470 Avoids warnings on normal, working, non-plugin .so files.
2472 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2474 * gst/gstplugin.c (gst_plugin_load_file):
2475 * gst/gstregistry.c (GST_CAT_DEFAULT,
2476 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2477 Print a g_warning if there was an error when loading a plugins during
2478 registry scan. The shuld help beginners starting with gst-plugin
2481 2007-05-10 Wim Taymans <wim@fluendo.com>
2483 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2484 (update_time_level), (gst_queue_locked_flush),
2485 (gst_queue_handle_sink_event), (gst_queue_chain),
2486 (gst_queue_push_one), (gst_queue_loop):
2487 * plugins/elements/gstqueue.h:
2488 Be smarter when calculating the current amount of data in the queue by
2489 measuring the difference between start and end timestamps (in running
2490 time) inside the queue. Fixes #432876.
2491 API: GstQueue::pushing to notify elements that we are pushing data again
2492 since the running signal is rather broken for this purpose.
2494 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2496 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2497 gst_queue_base_init, gst_queue_init):
2500 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2502 * win32/common/libgstreamer.def:
2503 Add new exported functions.
2504 * win32/vs6/grammar.dsp:
2505 Use grammar pre-generated files.
2507 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2509 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2512 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2514 * gst/gstutils.c: (gst_parse_bin_from_description):
2516 Maintain API and ABI when --disable-parse is used. Now that
2517 we have an appropriate error code, we can just return NULL and the
2518 appropriate error when gst_parse_launch() is used despite it having
2519 been disabled (#342564).
2521 * tests/check/Makefile.am:
2522 * tests/check/pipelines/.cvsignore:
2523 * tests/check/pipelines/parse-disabled.c:
2524 Make sure these functions exist and return NULL plus a GError when
2525 --disable-parse is used.
2527 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2529 * tests/benchmarks/complexity.c: (main):
2530 * tests/benchmarks/mass-elements.c: (main):
2531 Set a good example and don't leak messages.
2533 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2535 * docs/gst/Makefile.am:
2536 * docs/libs/Makefile.am:
2537 Correct fixxrefs options.
2539 * docs/plugins/Makefile.am:
2540 * docs/plugins/gstreamer-plugins-docs.sgml:
2541 * docs/plugins/gstreamer-plugins-sections.txt:
2542 * plugins/elements/Makefile.am:
2543 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2544 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2545 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2546 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2547 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2548 _GstCapsFilterClass, trans_class):
2549 * plugins/elements/gstelements.c (name, rank, type, _elements):
2550 * plugins/elements/gstidentity.c
2551 (gst_identity_check_imperfect_timestamp,
2552 gst_identity_check_imperfect_offset):
2553 Document capsfilter and add doc-blurb to identity.
2555 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2557 * libs/gst/controller/gstcontroller.c:
2558 (gst_controlled_property_set_interpolation_mode):
2559 * libs/gst/controller/gstinterpolation.c:
2560 Don't crash if someone tries to set an interpolation mode that
2561 is invalid or that isn't supported yet. Fixes #422295.
2563 * tests/check/libs/controller.c: (GST_START_TEST),
2564 (gst_controller_suite):
2565 Add a test case for the above.
2567 2007-05-03 Edward Hervey <edward@fluendo.com>
2569 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2570 Properly set the last_stop position on GstSegment. This will only happen
2571 if there is a buffer to push out.
2573 2007-05-03 Wim Taymans <wim@fluendo.com>
2575 * libs/gst/base/gstbasetransform.c:
2576 (gst_base_transform_buffer_alloc):
2577 always_in_place does not mean that the sink and source caps are the
2578 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2580 2007-05-03 Wim Taymans <wim@fluendo.com>
2582 * docs/libs/gstreamer-libs-sections.txt:
2583 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2584 (gst_base_src_default_query), (gst_base_src_get_range):
2585 * libs/gst/base/gstbasesrc.h:
2586 API: gst_base_src_query_latency(). Added method so that subclasses can
2587 easily get the latency values of the base source class.
2589 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2591 * tools/gst-inspect.c (print_implementation_info):
2594 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2596 * tools/Makefile.am:
2597 * tools/gst-launch.1.in:
2598 Don't create a customised man page based on the host architecture,
2599 describe the default registry path generically. That way the man
2600 page is the same for all architectures and packagers have one
2601 multilib issue less to deal with. Fixes #434926.
2603 2007-05-02 Wim Taymans <wim@fluendo.com>
2606 Fix documentation as spotted by rg on IRC.
2608 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2611 Improve docs for gst_element_{link,unlink}.
2613 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2615 * docs/design/part-events.txt:
2616 * docs/design/part-overview.txt:
2620 * libs/gst/base/gstbasesink.c:
2621 Typo fixes; minor docs addition.
2623 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2625 * docs/gst/gstreamer-sections.txt:
2626 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2627 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2629 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2630 or src that supports a given URI protocol exists.
2632 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2634 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2635 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2636 Set the location to NULL if "file://" is set as URI. Otherwise
2637 some random previous URI would still be set if "file://" is
2638 set on an already used filesink/filesrc.
2640 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2642 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2643 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2644 Special case the "file://" URI as as this is used by some
2645 applications to test with gst_element_make_from_uri if there's
2646 an element that supports the URI protocol.
2647 Also move the g_path_is_absolute() check for the location part
2648 of the URI to also check this for "file://localhost/bla" URIs.
2650 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2652 * docs/gst/gstreamer-sections.txt:
2653 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2655 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2657 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2659 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2661 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2662 (gst_registry_binary_load_pad_template),
2663 (gst_registry_binary_load_plugin),
2664 (gst_registry_binary_read_cache):
2665 * gst/gstregistrybinary.h:
2666 Implement no-mmap alternative for registry reading. Do code cleanups.
2667 Add more comments about avoiding strdups for all text data. Comments
2670 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2672 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2673 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2674 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2675 Comment structs and reformat to fix the build (that stuff should go
2676 into a priv. header).
2678 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2680 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2681 (gst_registry_binary_load_feature):
2682 * gst/gstregistrybinary.h:
2683 Refactor so that we can implement multiple features. Add support for
2684 TypeFindFactory features.
2686 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2688 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2691 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2693 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2695 * gst/gstbin.c: (gst_bin_element_set_state),
2696 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2697 (bin_handle_async_done), (gst_bin_handle_message_func):
2698 Fix build with --gst-disable-gst-debug
2700 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2702 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2703 Make sure streaming has finished before calling the ::stop() vfunc,
2704 since that vfunc might clear state which is being used in the
2705 streaming thread. This fixes a race that caused crashes in
2706 audioresample when shutting down a pipeline (#420106).
2708 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2710 * docs/gst/gstreamer-sections.txt:
2711 That was one byte missing.
2713 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2716 * docs/gst/gstreamer-sections.txt:
2718 * gst/gstconfig.h.in:
2719 * gst/gstobject.c: (gst_object_class_init),
2720 (gst_signal_object_class_init):
2722 2nd attempt to have a xml-less build as a joined effort of #413123
2725 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2727 * docs/design/draft-tagreading.txt:
2728 Added open issues/thoughts to draft.
2730 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2732 * gst/parse/grammar.tab.pre.c:
2733 * gst/parse/grammar.tab.pre.h:
2734 * gst/parse/lex._gst_parse_yy.pre.c:
2735 Update the prebuild parser sources.
2737 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2739 * gst/parse/Makefile.am:
2740 And now fix the building of the flex sources. Now everything should
2743 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2745 * gst/parse/Makefile.am:
2746 Now hopefully fix the build failures by setting proper rule
2747 dependencies and moving instead of copying.
2749 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2751 * tests/benchmarks/complexity.gnuplot:
2752 * tests/benchmarks/complexity.scm:
2753 * tests/benchmarks/mass-elements.gnuplot:
2754 * tests/benchmarks/mass-elements.scm:
2755 Total licensification.
2757 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2759 * gst/parse/Makefile.am:
2760 Fix the build by correcting the rule that gave wrong files to flex.
2762 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2764 * tests/benchmarks/complexity.c:
2765 * tests/benchmarks/mass-elements.c:
2766 Change licence to LGPL as granted by Benjamin and Andy.
2768 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2770 * gst/parse/Makefile.am:
2771 Add correct grammar.tab.h dependency if compiling without new enough
2772 flex. Fixes #431150.
2774 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2776 * gst/parse/Makefile.am:
2777 Fix typo and use outdated sources if the flex/bison sources are newer
2778 than the pregenerated ones but flex is too old. Print a warning in
2779 that case. This should fix the build on the build bot.
2781 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2783 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2784 * gst/parse/Makefile.am:
2785 * gst/parse/grammar.y:
2786 * gst/parse/parse.l:
2787 Make the parser reentrant and recursively callable. This requires flex
2788 >= 2.5.31, for older versions pregenerated sources are used as we
2789 can't bump the build dependency. Finally fixes #349180.
2791 * gst/gstparse.c: (gst_parse_launch):
2792 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2795 * docs/gst/Makefile.am:
2796 * docs/gst/Makefile.am:
2797 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2798 (__gst_parse_strfree), (__gst_parse_link_new),
2799 (__gst_parse_link_free), (__gst_parse_chain_new),
2800 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2801 (gst_parse_element_set), (gst_parse_free_link),
2802 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2803 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2804 (_gst_parse_launch):
2805 * gst/parse/grammar.tab.pre.h:
2806 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2807 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2808 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2809 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2810 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2811 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2812 (_gst_parse_yypop_buffer_state),
2813 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2814 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2815 (yy_fatal_error), (_gst_parse_yyget_extra),
2816 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2817 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2818 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2819 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2820 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2821 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2822 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2823 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2824 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2825 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2826 (_gst_parse_yyfree):
2827 If the installed flex version is too old use pre-generated parser
2828 sources. These pre-generated parser sources are always updated when
2829 the actual flex/bison sources change but require everybody who wants
2830 to change something in the parser to have flex >= 2.5.31 installed.
2832 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2834 * common/m4/gst-gettext.m4:
2835 * gst/gst-i18n-lib.h:
2836 Make --disable-nls to work
2838 2007-04-17 Wim Taymans <wim@fluendo.com>
2840 * gst/gstconfig.h.in:
2841 Revert previous change that broke the build.
2843 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2847 * gst/gstconfig.h.in:
2848 Drop libxml2 dependency when building with
2849 --enable-binary-registry --disable-loadsave
2851 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2853 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2854 (gst_registry_binary_read_cache):
2855 * gst/gstregistrybinary.h:
2856 Remove unnecessary <sys/mman.h> include which broke the win32 build
2857 with MingW; move includes from header file to .c file, even if the
2858 header file isn't installed; use g_strerror() where UTF-8 strings
2859 are expected, such as in GST_DEBUG messages.
2861 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2863 * docs/libs/gstreamer-libs-sections.txt:
2864 Remove bogus addition for API I didn't end up keeping.
2866 * libs/gst/base/gstbasesrc.h:
2867 Mention Since: 0.10.13 in the documentation.
2869 Add the API keyword to the previous ChangeLog entry.
2871 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2873 * docs/libs/gstreamer-libs-sections.txt:
2874 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2875 (gst_base_src_default_prepare_seek_segment),
2876 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2877 * libs/gst/base/gstbasesrc.h:
2878 Allow basesrc derived classes to execute seeks in other formats
2879 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2880 to prepare the GstSegment in any format that their perform_seek method
2881 will be able to understand. The default implementation provides the
2882 old behaviour of attempting to convert the seek offsets to the
2883 configured native format.
2885 API: basesrc::prepare_seek_segment vmethod.
2887 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2889 * gst/gstelement.c: (gst_element_get_state_func):
2890 Don't output the same debug statement twice.
2892 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2893 (gst_adapter_peek), (gst_adapter_take_buffer):
2894 Optimise the case where we have buffers at the head of the queue that
2895 can be joined quickly (because they're contiguous sub-buffers) by
2896 merging them together rather than copying data out into new memory.
2898 * gst/parse/grammar.y:
2899 * tests/check/pipelines/parse-launch.c:
2900 Fix a leak in an error path for parse_launch, and add a check
2901 for it to the testsuite.
2903 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2905 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2906 Don't deadlock when releasing a pad - gst_pad_set_active may try
2907 and take the multiqueue lock too.
2909 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2911 * gst/gsterror.c: (_gst_core_errors_init):
2913 API: add GST_CORE_ERROR_DISABLED (#392804).
2915 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2917 * docs/faq/gst-uninstalled:
2918 don't get empty paths on the PATH variables
2919 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2920 Don't format for the uncommon terminal width of 84 characters.
2922 2007-04-06 Wim Taymans <wim@fluendo.com>
2924 * gst/gstpipeline.c: (reset_stream_time),
2925 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2926 Only try to select a different pipeline clock when we went back to
2927 PAUSED and not when we merely got flushed.
2929 2007-04-05 Michael Smith <msmith@fluendo.com>
2931 * tools/gst-launch.1.in:
2932 fractions are better supported in gstreamer than ractions, so
2933 suggest using those.
2935 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2937 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2941 Added Danish translation.
2943 2007-04-05 Wim Taymans <wim@fluendo.com>
2945 * libs/gst/base/gstbasesink.c:
2946 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2947 Fix leak caused when refusing newsegment after EOS.
2949 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2950 (gst_fake_sink_init), (gst_fake_sink_set_property),
2951 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2952 (gst_fake_sink_render), (gst_fake_sink_change_state):
2953 * plugins/elements/gstfakesink.h:
2954 Add num-buffers property to make the element generate EOS after a
2955 configurable amount of buffers.
2956 API: fakesink::num-buffers property.
2958 * tests/check/elements/fakesink.c: (GST_START_TEST),
2960 Fix GstBus leak in test.
2961 Test for fakesink num-buffers.
2963 2007-04-05 Wim Taymans <wim@fluendo.com>
2965 * libs/gst/base/gstbasesink.c:
2966 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2967 (gst_base_sink_change_state):
2968 Don't accept anything after an EOS, return UNEXPECTED instead.
2970 * tests/check/elements/fakesink.c: (GST_START_TEST),
2972 Unit test for new EOS behaviour.
2974 2007-04-05 Wim Taymans <wim@fluendo.com>
2976 * gst/gstelement.c: (gst_element_get_request_pad):
2977 Make padtemplates also work when they don't contain %s or %d.
2979 2007-04-05 Wim Taymans <wim@fluendo.com>
2981 * docs/gst/gstreamer-sections.txt:
2982 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2983 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2985 Improve _adjust_unlocked() so that it overflows less.
2986 Add gst_clock_unadjust_unlocked to convert from external time to
2987 internal time based on calibration.
2988 Add some more debug.
2989 API: GstClock::gst_clock_unadjust_unlocked()
2991 2007-04-03 Wim Taymans <wim@fluendo.com>
2993 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2995 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2996 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2997 when releasing sink pad. Fixes #425400.
2999 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3001 * docs/random/ensonic/dynlink.txt:
3002 More work on proposal for new core api.
3004 * docs/libs/gstreamer-libs-sections.txt:
3005 * libs/gst/base/gstbasetransform.h:
3006 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3008 * libs/gst/controller/gstcontroller.c:
3009 (on_object_controlled_property_changed),
3010 (gst_controller_sync_values),
3011 (gst_controller_set_interpolation_mode):
3012 * libs/gst/controller/gstcontroller.h:
3013 Less verbose logging add docs for unimplemented parts and correctly
3014 return when using unavailable parts.
3016 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3018 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3019 Move all the debug to the CLOCK category, and associate it with
3022 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3024 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3025 Make take_buffer a bit quicker by removing redundant checks
3026 caused by calling gst_adapter_take.
3028 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3030 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3033 * tests/check/Makefile.am:
3034 * tests/check/elements/.cvsignore:
3035 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3036 (GST_START_TEST), (multiqueue_suite):
3037 Add some dead simple unit tests for the 'multiqueue' element
3038 (some bits don't work yet and are disabled for now).
3040 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3042 * gst/gstelement.c: (gst_element_get_request_pad),
3043 (gst_element_class_get_request_pad_template):
3044 Make gst_element_get_request_pad() create request pads only for
3045 request pad templates and not for, say, sometimes pad templates.
3047 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3049 * docs/design/draft-klass.txt:
3050 Add example that needs more thinking.
3052 * docs/design/draft-missing-plugins.txt:
3053 More thoughts about wrapper plugins.
3055 * docs/random/ensonic/embedded.txt:
3056 * docs/random/ensonic/profiling.txt:
3059 2007-03-25 Wim Taymans <wim@fluendo.com>
3061 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3062 (gst_base_src_loop):
3063 Only push the segment events in the PLAYING state for live sources.
3065 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3067 * gst/gstpipeline.c: (gst_pipeline_change_state):
3068 Modify the clock distribution path in PAUSED->PLAYING so that we
3069 never attempt to choose a new clock unless we're actually leaving
3070 the PAUSED state for the first time. This prevents choosing a
3071 different clock when the state_change gets called for a 2nd time due
3072 to some element doing an async state change.
3074 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3076 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3077 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3078 (gst_pad_chain_unchecked), (gst_pad_push):
3079 Revert last commit. This needs some more thoughts.
3081 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3083 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3084 (gst_pad_chain_unchecked), (gst_pad_push):
3085 Check in set_caps if the caps are compatible with the pad and remove
3086 two functions that are redundant now. Fixes #421543.
3088 2007-03-22 Wim Taymans <wim@fluendo.com>
3090 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3091 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3092 Unref some more to make valgrind happy.
3094 2007-03-22 Wim Taymans <wim@fluendo.com>
3096 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3097 (gst_system_clock_id_wait_jitter),
3098 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3099 Fix anoying regression that survived a few releases. When adding an
3100 async entry while blocking on a sync entry, the sync entry will unblock
3101 but still be busy, so it should continue to wait instead of returning
3103 Add some comments here and there.
3105 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3106 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3107 Add testcase for this.
3109 2007-03-22 Wim Taymans <wim@fluendo.com>
3111 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3112 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3113 WRONG_STATE and can silently pause the task. All other cases should
3116 2007-03-22 Wim Taymans <wim@fluendo.com>
3118 Patch by: Ville Syrjala <syrjala at sci dot fi>
3120 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3121 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3124 2007-03-21 Michael Smith <msmith@fluendo.com>
3126 * docs/pwg/advanced-types.xml:
3127 Fix some errors in the typefinding docs pointed out on irc.
3129 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3131 * libs/gst/base/gstbasesrc.c:
3132 Clarify FIXME comment in the face of having added unlock_stop()
3134 2007-03-21 Wim Taymans <wim@fluendo.com>
3136 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3137 Prepare for release where we warn against possible app breakage in the
3138 case of live pipelines along with an env var to enable/disable live
3139 preroll mode (GST_COMPAT=[no-]live-preroll).
3141 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3143 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3144 So we should use correct constants for checking for None offset.
3146 2007-03-20 Wim Taymans <wim@fluendo.com>
3148 * docs/design/part-block.txt:
3149 Mention the fact that the newly switched element should be set to at
3152 2007-03-20 Wim Taymans <wim@fluendo.com>
3155 Fix compilation with registry disabled as spotted by Saur.
3157 2007-03-20 Wim Taymans <wim@fluendo.com>
3159 Patch by: Olivier Crete <tester at tester dot ca>
3161 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3162 Look at the pending state too when syncing the element state to the
3163 parent. Fixes #420133.
3165 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3167 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3168 (gst_base_sink_change_state):
3169 * libs/gst/base/gstbasesink.h:
3170 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3171 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3172 (gst_base_src_deactivate):
3173 * libs/gst/base/gstbasesrc.h:
3174 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3175 for sub-classes to correctly clear any state they set trying to
3176 unlock, such as clearing out unlock commands from a command fd.
3177 API: basesrc::unlock_stop
3178 API: basesink::unlock_stop
3180 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3181 (gst_fd_sink_render), (gst_fd_sink_unlock),
3182 (gst_fd_sink_unlock_stop):
3183 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3184 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3185 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3187 Implement unlock_stop in fdsrc and fdsink.
3188 Implement seeking in fdsrc when a seekable fd is passed, as in
3189 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3191 2007-03-19 Wim Taymans <wim@fluendo.com>
3193 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3195 * gst/gstelement.c: (gst_element_class_init):
3196 Fix pad-added and pad-removed signal signatures so that the pad type is
3197 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3199 2007-03-19 Wim Taymans <wim@fluendo.com>
3201 * docs/gst/gstreamer-sections.txt:
3202 Add new element field and method.
3204 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3205 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3206 (gst_bin_recalc_state), (gst_bin_get_state_func),
3207 (gst_bin_element_set_state), (gst_bin_change_state_func),
3208 (gst_bin_continue_func), (bin_bus_handler),
3209 (bin_push_state_continue), (bin_handle_async_start),
3210 (bin_handle_async_done), (gst_bin_handle_message_func):
3211 Make async state changes a bit smarter by using new ASYNC_START and
3212 ASYNC_DONE messages. This reduces the number of times we run the state
3213 recalculation thread.
3214 Don't change state of element with a pending ASYNC_START message.
3215 Deprecate STATE_DIRTY messages.
3217 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3218 (gst_element_get_state_func), (gst_element_continue_state),
3219 (gst_element_lost_state), (gst_element_set_state_func),
3220 (gst_element_change_state):
3222 Keep the state that was last set by the app in a new element field.
3223 Don't allow state changes when handling an element event.
3224 Post ASYNC_START and ASYNC_DONE messages.
3225 Change lost_state so that we go to PAUSED and wait for the parent to set
3226 us to PLAYING again (so latency calculation can be performed)
3227 Export gst_element_change_state() method so that subclasses can use it.
3228 API: gst_element_change_state()
3229 API: GST_STATE_TARGET
3231 * gst/gstpipeline.c: (gst_pipeline_class_init),
3232 (reset_stream_time), (gst_pipeline_change_state),
3233 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3234 Using the new ASYNC_START message we can reset the base_time when
3235 needed. This can then be used to implement base_time redistribution in
3236 flushing seeks so that we can remove the explicit seek handling.
3237 Perform latency query and configuration when going to PLAYING.
3239 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3240 (gst_base_sink_query), (gst_base_sink_change_state):
3241 Post new ASYNC_START/ASYNC_DONE messages.
3243 * tests/check/generic/sinks.c: (GST_START_TEST):
3244 Fix test because the bin will not set the async element to PLAYING right
3247 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3248 Make the message check a little stronger.
3249 Handle ASYNC messages.
3251 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3252 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3253 Expect ASYNC_DONE messages.
3255 2007-03-19 Wim Taymans <wim@fluendo.com>
3257 * docs/gst/gstreamer-sections.txt:
3258 * gst/gstmessage.c: (gst_message_new_async_start),
3259 (gst_message_new_async_done), (gst_message_parse_info),
3260 (gst_message_parse_async_start):
3262 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3265 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3267 * tools/gst-inspect.c:
3268 (print_plugin_automatic_install_info_codecs):
3269 Now that we don't check for the 'Codec' keyword any longer in the
3270 klass, we shouldn't spew a warning if the klass isn't a decoder or
3271 encoder (since it might be a Source/Network, for example).
3273 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3275 * tools/gst-inspect.c:
3276 (print_plugin_automatic_install_info_codecs):
3277 Don't require decoder/demuxer/depayloader elements or
3278 encoder/muxer/paylader elements to have 'Codec' as part of their
3279 factory class string when introspecting a plugin's capabilities.
3280 draft-klass.txt mentions that it might be removed in future, and
3281 flump3dec doesn't have it as part of its class string, so chances
3282 are others might also not have it.
3284 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3306 Update translations from translation project
3308 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3310 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3311 (gst_child_proxy_set_property):
3312 Invert precondition check to be alike the ones in the mimiced gobject
3315 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3317 * docs/design/draft-tagreading.txt:
3318 * docs/random/ensonic/audiobaseclasses.txt:
3319 Do some Architect work.
3321 * gst/gstobject.c: (gst_object_set_name):
3325 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3327 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3329 * gst/gstsystemclock.c: (gst_system_clock_init),
3330 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3331 Defer starting the async system clock thread until the first async
3332 wait is scheduled. Fixes #414986.
3334 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3336 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3337 (gst_single_queue_free):
3338 Fix small leak (free GstSingleQueue structure too, not only contents).
3340 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3342 * gst/gstbin.c:(gst_bin_add):
3343 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3344 * win32/common/libgstbase.def:
3345 * win32/common/libgstreamer.def:
3346 Add new exported functions.
3348 2007-03-09 Wim Taymans <wim@fluendo.com>
3350 * docs/plugins/gstreamer-plugins-sections.txt:
3353 2007-03-09 Wim Taymans <wim@fluendo.com>
3355 * docs/gst/gstreamer-sections.txt:
3356 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3358 Add metadata copy functions. Fixes #393099.
3359 API: gst_buffer_copy_metadata()
3361 * gst/gstutils.c: (gst_buffer_stamp):
3362 * libs/gst/base/gstbasetransform.c:
3363 (gst_base_transform_prepare_output_buffer):
3364 Use new metadata copy functions.
3366 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3368 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3369 (gst_identity_init), (gst_identity_check_perfect),
3370 (gst_identity_check_imperfect_timestamp),
3371 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3372 (gst_identity_set_property), (gst_identity_get_property):
3373 * plugins/elements/gstidentity.h:
3374 Separate out check-imperfect-timestamp and check-imperfect-offset.
3375 Put back check-perfect as it was to keep compatibility.
3377 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3379 * gst/gstelement.c: (gst_element_dispose):
3380 There's no need to warn if VOID_PENDING is not NONE here, as
3381 long as the state is NULL it's ok, and that's checked immediately
3384 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3386 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3387 Fix check for perfect stream to ignore buffers with -1
3388 offsets/offset ends when checking data contiguity.
3390 2007-03-08 Wim Taymans <wim@fluendo.com>
3392 * tools/gst-launch.c: (event_loop):
3393 Print INFO messages.
3395 2007-03-08 Wim Taymans <wim@fluendo.com>
3397 * libs/gst/base/gstbasetransform.c:
3398 (gst_base_transform_sink_eventfunc),
3399 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3400 (gst_base_transform_activate):
3401 * libs/gst/base/gstbasetransform.h:
3402 Add support for dropping buffers with custom GstFlowReturn.
3403 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3404 buffers or dropped buffers.
3406 * docs/libs/gstreamer-libs-sections.txt:
3407 docs for new custom return code.
3409 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3410 Use drop support in base class to implement drop-probability.
3412 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3414 * gst/gst.c: (load_plugin_func):
3415 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3416 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3417 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3418 Remove newlines at end of debug log strings.
3420 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3422 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3423 Only post bus message at max, once per buffer received.
3425 2007-03-07 Wim Taymans <wim@fluendo.com>
3427 * docs/design/Makefile.am:
3428 * docs/design/part-synchronisation.txt:
3429 Add doc about synchronisation
3431 * docs/design/draft-latency.txt:
3432 * docs/design/part-TODO.txt:
3433 * docs/design/part-clocks.txt:
3434 * docs/design/part-events.txt:
3435 * docs/design/part-gstbus.txt:
3436 * docs/design/part-gstpipeline.txt:
3437 * docs/design/part-live-source.txt:
3438 * docs/design/part-messages.txt:
3439 * docs/design/part-overview.txt:
3440 * docs/design/part-streams.txt:
3441 * docs/design/part-trickmodes.txt:
3442 Documentation updates.
3444 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3447 Update the doap file.
3449 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3451 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3452 Rename non-perfect to imperfect for Mike and for the sanctity of the
3454 Also make sure bus message gets emitted for data-incontiguities.
3456 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3458 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3459 (gst_identity_start):
3460 * plugins/elements/gstidentity.h:
3461 Emit bus message if check-perfect is true and we encounter a
3462 non-perfect stream between 2 consecutive buffers.
3465 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3470 === release 0.10.12 ===
3472 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3475 releasing 0.10.12, "Inevitable Demise"
3477 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3480 Version 0.10.11.2 (0.10.12 pre-release)
3481 Bump libtool versioning.
3483 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3485 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3486 Log flow-names and not numbers.
3488 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3491 Convert to new AG_GST style.
3493 2007-02-28 Wim Taymans <wim@fluendo.com>
3495 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3496 Don't unref query twice.
3498 2007-02-28 Wim Taymans <wim@fluendo.com>
3500 * gst/gstvalue.c: (gst_value_transform_object_string),
3501 (_gst_value_initialize):
3502 Implement GstObject -> string transform so we print object names
3503 when serializing GValues containing GstObjects.
3505 2007-02-28 Wim Taymans <wim@fluendo.com>
3507 * docs/gst/gstreamer-sections.txt:
3508 Add new stuff to docs.
3510 2007-02-28 Wim Taymans <wim@fluendo.com>
3512 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3513 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3514 (gst_base_sink_change_state):
3515 Improve latency query code.
3516 Don't leak latency events.
3518 * tests/check/gst/gstbin.c: (GST_START_TEST):
3521 2007-02-28 Wim Taymans <wim@fluendo.com>
3523 * gst/gstelement.c: (gst_element_message_full),
3524 (gst_element_get_state_func):
3526 Improve docs a little. Added Since: for new macro.
3528 * gst/gstobject.c: (gst_object_sink):
3529 * gst/gstpipeline.c: (gst_pipeline_change_state),
3530 (gst_pipeline_set_new_stream_time):
3531 * gst/gstpipeline.h:
3532 Improve debugging and docs.
3534 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3537 2007-02-28 Wim Taymans <wim@fluendo.com>
3539 * gst/gstelement.c: (gst_element_message_full),
3540 (gst_element_set_locked_state), (gst_element_get_state_func),
3541 (gst_element_change_state):
3542 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3543 Documentation updates.
3544 Small code cleanups.
3546 * gst/gstmessage.c: (gst_message_new_info),
3547 (gst_message_parse_info):
3549 API: gst_message_new_info()
3550 API: gst_message_parse_info()
3551 Add INFO message create and parse code.
3553 2007-02-28 Wim Taymans <wim@fluendo.com>
3555 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3556 (bin_query_latency_done):
3557 Also report the live parameter of a latency query.
3559 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3561 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3562 Copy the current generic/states example from -base and adapt so
3563 we can use the exact same code everywhere.
3564 Check a STATES_IGNORE_ELEMENTS env var which can be used
3565 to ignore certain element factories for this test, which is
3566 what is being done in -base
3567 * tests/check/Makefile.am:
3568 Mention this environment variable.
3570 2007-02-27 Wim Taymans <wim@fluendo.com>
3572 * docs/gst/gstreamer-sections.txt:
3573 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3574 (gst_bus_timed_pop), (gst_bus_pop):
3576 API: gst_bus_timed_pop()
3577 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3578 message to arrive on the bus.
3580 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3582 Two unit tests for new _timed_pop() function.
3584 2007-02-23 Wim Taymans <wim@fluendo.com>
3586 * gst/gstpipeline.c: (gst_pipeline_change_state),
3587 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3588 Don't ref a NULL clock in _provide_clock_func().
3589 Don't allow an INVALID delay.
3590 Don't try to calculate base_time with an invalid start_time.
3591 Also distribute and notify a NULL clock when it was selected.
3593 * tools/gst-launch.c: (event_loop):
3594 Don't crash when a NULL clock was selected in the pipeline.
3596 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3598 * docs/design/Makefile.am:
3599 * docs/design/draft-missing-plugins.txt:
3600 * docs/random/draft-missing-plugins.txt:
3601 Some small updates: update plugin system identifier prefix
3602 ('gstreamer.net' to 'gstreamer'), mention our new install
3603 API in libgstbaseutils rather than libgimme-codec, add
3604 reference to the online docs.
3606 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3608 * win32/common/config.h:
3609 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3610 use moap cl ci to only check in what is mentioned in the ChangeLog.
3612 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3614 * docs/gst/gstreamer-sections.txt:
3616 Fix up documentation to link to the correct GstGError section.
3617 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3619 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3621 * tools/gst-launch.c: (event_loop):
3622 Make sure that we actually show the important message part of a
3624 No need to check if the gerror is not NULL to free; first of all
3625 g_free accepts NULL; and second the default error handler would
3626 segfault if gerror was NULL.
3628 2007-02-21 Wim Taymans <wim@fluendo.com>
3630 * docs/gst/gstreamer-sections.txt:
3631 Removed docs as well.
3633 2007-02-21 Wim Taymans <wim@fluendo.com>
3635 * gst/gstmessage.c: (gst_message_parse_duration):
3637 Remove new messages for release.
3639 2007-02-20 Wim Taymans <wim@fluendo.com>
3641 * docs/design/part-gstghostpad.txt:
3642 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3643 (gst_ghost_pad_new_full):
3644 Make the ghostpad a parent of the internal pad again for better backward
3645 compatibility. Don't write code that relies on this however.
3647 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3648 (gst_pad_link_check_hierarchy):
3649 Require that parents should be GstElements in the hierarchy check.
3651 2007-02-20 Wim Taymans <wim@fluendo.com>
3653 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3654 (gst_bin_change_state_func), (bin_query_min_max_init),
3655 (bin_query_latency_fold), (bin_query_latency_done),
3658 Implement latency query.
3660 2007-02-20 Wim Taymans <wim@fluendo.com>
3662 * docs/design/part-gstghostpad.txt:
3663 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3664 (gst_ghost_pad_internal_do_activate_push),
3665 (gst_ghost_pad_internal_do_activate_pull),
3666 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3667 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3668 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3669 Do not set the internal pad as a parent anymore so we can avoid
3670 hierarchy linking errors when the ghostpad has no parent yet. This also
3671 fixes failed activation because of unlinked internal pads, which in
3672 turn fixes the impossible case where you have to activate a pad before
3673 you can add it to a running element.
3676 * gst/gstpad.c: (pre_activate), (post_activate),
3677 (gst_pad_set_active), (gst_pad_activate_pull),
3678 (gst_pad_activate_push), (gst_pad_check_pull_range):
3679 Add some more debug info.
3680 Mark activation mode in pre_activate so that we don't try to activate in
3681 endless loops. Fixes #385084.
3683 2007-02-19 Wim Taymans <wim@fluendo.com>
3685 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3686 (gst_base_transform_check_get_range):
3687 Implement a checkgetrange function instead of relying on the default
3688 core behaviour that assumes we can operate in pull mode if we have a
3689 getrange function. First step at fixing #385084.
3691 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3693 * gst/gstchildproxy.h:
3694 * libs/gst/base/gstbasesink.h:
3695 * libs/gst/base/gstbasesrc.h:
3696 * libs/gst/base/gstbasetransform.h:
3697 More docs coverage and some ChangeLog surgery (add missing names)
3699 2007-02-15 Wim Taymans <wim@fluendo.com>
3701 * docs/design/part-TODO.txt:
3702 * docs/design/part-activation.txt:
3703 * docs/design/part-block.txt:
3704 * docs/design/part-buffering.txt:
3705 * docs/design/part-clocks.txt:
3706 * docs/design/part-element-source.txt:
3707 * docs/design/part-events.txt:
3708 * docs/design/part-gstbin.txt:
3709 * docs/design/part-gstbus.txt:
3710 * docs/design/part-gstpipeline.txt:
3711 * docs/design/part-live-source.txt:
3712 * docs/design/part-messages.txt:
3713 * docs/design/part-overview.txt:
3714 * docs/design/part-qos.txt:
3715 * docs/design/part-query.txt:
3716 * docs/design/part-states.txt:
3717 * docs/design/part-trickmodes.txt:
3718 Some doc updates. Start renaming from stream_time to running_time where
3719 it was used wrongly.
3721 2007-02-15 Wim Taymans <wim@fluendo.com>
3723 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3724 Answer LATENCY query.
3726 2007-02-15 Wim Taymans <wim@fluendo.com>
3728 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3732 2007-02-15 Wim Taymans <wim@fluendo.com>
3734 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3735 (gst_pad_dispatcher):
3736 Improve debugging of default pad dispatcher and query functions.
3738 2007-02-15 Wim Taymans <wim@fluendo.com>
3740 * docs/gst/gstreamer-sections.txt:
3741 Remove old unused method.
3743 2007-02-13 Wim Taymans <wim@fluendo.com>
3745 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3748 2007-02-13 Wim Taymans <wim@fluendo.com>
3750 * docs/design/part-seeking.txt:
3753 * gst/gstsegment.c: (gst_segment_set_seek):
3754 Revert old bogus change that should make seeking work again.
3756 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3758 * docs/random/ensonic/dynlink.txt:
3759 * docs/random/ensonic/interfaces.txt:
3760 * docs/random/ensonic/receipies.txt:
3761 Possible dynamic reconnection api, plus some type fixes the other two
3764 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3766 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3767 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3768 Also check for an absolute path following file:// in the filesrc
3769 element. Remove redundant check and call g_path_is_absolute() on the
3772 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3774 * docs/design/draft-klass.txt:
3775 Add existing category analysis.
3778 Fix doc example, framerate is a fraction.
3780 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3783 * docs/gst/Makefile.am:
3784 * docs/gst/gstreamer-sections.txt:
3785 * docs/libs/Makefile.am:
3786 Erm, forgot a bunch of --extra-dir.
3788 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3791 * docs/gst/Makefile.am:
3792 * docs/libs/Makefile.am:
3793 * docs/plugins/Makefile.am:
3794 Add crossreferences to glib/gobject docs.
3796 2007-02-12 Wim Taymans <wim@fluendo.com>
3798 * docs/design/draft-latency.txt:
3801 * docs/libs/gstreamer-libs-sections.txt:
3802 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3803 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3804 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3805 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3806 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3807 (gst_base_sink_get_position), (gst_base_sink_query),
3808 (gst_base_sink_change_state):
3809 * libs/gst/base/gstbasesink.h:
3810 API: gst_base_sink_query_latency() to let subclasses query the upstream
3812 API: gst_base_sink_get_latency() to let subclasses query the configured
3813 latency in the sink.
3814 Implement query and set latency.
3816 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3817 don't continue preroll when we are flushing. Fixes #405284.
3819 * tests/check/pipelines/stress.c: (change_state_timeout),
3820 (quit_timeout), (GST_START_TEST), (stress_suite):
3823 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3825 Patch by: René Stadler <mail at renestadler de>
3827 * docs/gst/gstreamer-sections.txt:
3828 * gst/gsttaglist.c: (_gst_tag_initialize):
3830 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3832 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3834 * docs/libs/Makefile.am:
3835 Fix path to core docs.
3837 * gst/gstbin.c: (gst_bin_get_by_interface),
3838 (gst_bin_iterate_all_by_interface):
3839 Refix docs by also renaming 'interface' to 'iface' in implementation.
3841 * docs/gst/gstreamer-sections.txt:
3843 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3844 * gst/gstchildproxy.h:
3845 * gst/gstelementfactory.c:
3846 * gst/gstpadtemplate.h:
3847 * libs/gst/controller/gstcontroller.c:
3848 (gst_controlled_property_new):
3851 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3853 * gst/gstbin.h:(gst_bin_get_by_interface),
3854 (gst_bin_iterate_all_by_interface):
3855 Replace interface parameter name by iface as interface is
3856 a reserved keyword in Visual Studio for C++ projects so it removes
3857 a build error for application developpers using VS.
3858 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3859 Fix a bug on Windows in uri format check. Now the prefix checked
3860 is file:// and next we check if the path after file:// is absolute.
3861 * win32/common/libgstbase.def:
3862 * win32/common/libgstdataprotocol.def:
3863 * win32/common/libgstgstreamer.def:
3864 Add new exported functions.
3866 2007-02-09 Andy Wingo <wingo@pobox.com>
3868 * tests/check/pipelines/simple-launch-lines.c
3869 (simple_launch_lines_suite, test_tee): Disable tee test until I
3870 have time to fix it :-(
3872 * tests/check/Makefile.am (noinst_HEADERS):
3873 * tests/check/libs/libsabi.c:
3874 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3875 * tests/check/gst/gstabi.c:
3876 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3878 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3879 tests for push and pull tee behavior.
3881 * plugins/elements/gsttee.h:
3882 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3883 mark as deprecated as well as unimplemented. It was a crack idea.
3884 Add support for tee operating in pull mode, off by default.
3886 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3887 normal-case logs down to LOG, raise errors to WARNING.
3888 (gst_registry_xml_read_cache): Don't log before calling a function
3891 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3892 exit (registry finalize).
3893 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3894 DEBUG log when we emit signals that people don't even have the
3895 chance to connect to.
3896 (gst_registry_scan_path_level): Less logging in the normal case.
3898 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3900 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3902 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3903 Correctly generate EOS for non-seekable files. We don't have a total
3904 length for them and would get an unexpected end of file if we only
3905 special-cased for regular files. (Fixes: #404569)
3907 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3909 * tests/check/elements/filesrc.c: (GST_START_TEST),
3911 Add unit test for the GstURIHandler interface in filesrc. This also
3912 tests the newly added file://localhost/foo/bar support.
3914 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3916 * gst/gstelementfactory.h:
3917 The klass string is not a hierarchy. Add reference to the design doc
3918 for more information and common types.
3920 2007-02-02 Wim Taymans <wim@fluendo.com>
3922 * gst/gstquery.c: (gst_query_new_latency):
3923 Remove old structure field.
3925 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3927 * tools/gst-launch.1.in:
3928 Give example for network streaming (#351998)
3930 2007-02-02 Wim Taymans <wim@fluendo.com>
3932 * docs/gst/gstreamer-sections.txt:
3933 Add docs for new methods.
3935 * gst/gstevent.c: (gst_event_new_latency),
3936 (gst_event_parse_latency):
3938 Add new LATENCY event to configure latency in a pipeline.
3939 API: gst_event_new_latency
3940 API: gst_event_parse_latency
3942 * gst/gstmessage.c: (gst_message_new_buffering),
3943 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3944 (gst_message_new_latency), (gst_message_parse_buffering),
3945 (gst_message_parse_lost_preroll):
3947 Added messages used in draft-latency.
3948 API: gst_message_new_lost_preroll
3949 API: gst_message_parse_lost_preroll
3950 API: gst_message_new_prerolled
3951 API: gst_message_new_latency
3953 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3954 (gst_query_parse_latency):
3956 Implemented new latency query as in design doc.
3957 API: gst_query_new_latency
3958 API: gst_query_set_latency
3959 API: gst_query_parse_latency
3961 2007-02-02 Wim Taymans <wim@fluendo.com>
3963 * docs/design/draft-latency.txt:
3964 Slight redesign to allow for dynamic latency adjustments.
3966 * docs/design/part-negotiation.txt:
3969 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3971 reviewed by: Wim Taymans <wim@fluendo.com>
3973 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3974 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3975 Allow file://localhost/foo/bar URLs and correctly fail for every other
3976 hostname that one sets. This was gnomevfssrc is linked for those if
3977 installed as it can handle it (#403172)
3979 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3981 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3983 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3984 (unref_data), (gst_collect_pads_add_pad_full):
3985 * libs/gst/base/gstcollectpads.h:
3986 Don't put the previously added destroy notify in the GstCollectData
3987 struct as all it's padding is already used and we don't want to break
3988 ABI. Instead put in the pad's GObject data for now. This should be
3989 cleaned up for 0.11 (#402393).
3991 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3993 reviewed by: Wim Taymans <wim@fluendo.com>
3995 * docs/libs/gstreamer-libs-sections.txt:
3996 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3997 (unref_data), (gst_collect_pads_add_pad),
3998 (gst_collect_pads_add_pad_full):
3999 * libs/gst/base/gstcollectpads.h:
4000 API: Add function to specify a destroy notification for custom
4001 GstCollectData when adding new pads in GstCollectPads (#402393).
4003 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4006 Update Swedish translation (#378255).
4008 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4010 * docs/design/draft-klass.txt:
4011 Fix the previous change, this is a list of categories and not a hierarchy.
4013 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4015 * docs/design/draft-klass.txt:
4016 Add info about how to get a list of used classes.
4018 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4020 * plugins/elements/gsttypefindelement.c:
4021 (gst_type_find_element_chain_do_typefinding),
4022 (gst_type_find_element_change_state):
4023 Don't leak found caps in chain function (no idea why that never
4024 showed up as a leak anywhere).
4026 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4029 Fix and expand GstPluginDesc API docs.
4031 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4034 * gst/gstelementfactory.c:
4035 * gst/gstpadtemplate.h:
4038 * libs/gst/controller/gstcontroller.c:
4039 (gst_controlled_property_new):
4040 * tests/examples/controller/audio-example.c:
4043 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4046 comment about refining the xml deps
4049 comments about moving away from jade for docs
4052 recommit the ifdefs to use the binary registry
4054 * gst/gstbin.c: (gst_bin_change_state_func):
4055 this break is obsolete
4057 * gst/gstelementfactory.h:
4058 better GST_ELEMENT_DETAILS docs, add comment about translation
4063 * gst/gstobject.c: (gst_signal_object_get_type):
4064 add G_UNLIKELY as usual
4066 * gst/gstpad.c: (gst_pad_event_default):
4067 add fall trhu comment
4069 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4070 (gst_registry_binary_initialize_magic),
4071 (gst_registry_binary_save_string),
4072 (gst_registry_binary_save_pad_template),
4073 (gst_registry_binary_save_feature),
4074 (gst_registry_binary_save_plugin),
4075 (gst_registry_binary_write_cache),
4076 (gst_registry_binary_check_magic),
4077 (gst_registry_binary_load_pad_template),
4078 (gst_registry_binary_load_feature),
4079 (gst_registry_binary_load_plugin),
4080 (gst_registry_binary_read_cache):
4081 comment typo and formatting
4083 * gst/gstutils.c: (gst_element_state_get_name),
4084 (gst_element_state_change_return_get_name):
4085 remove obsolete breaks
4087 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4088 add FIXME 0.11 and remove cpp comment
4090 2007-01-29 Edward Hervey <edward@fluendo.com>
4092 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4093 Fix print statement in an even more portable way.
4095 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4097 * docs/gst/gstreamer-sections.txt:
4099 API: add GST_ROUND_DOWN_* macros (#401781).
4101 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4103 * docs/gst/gstreamer.types.in:
4104 * gst/gstregistry.c: (gst_registry_class_init):
4105 Document registry signals and make gtk-doc pick them up (#401381).
4107 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4109 * docs/pwg/building-testapp.xml:
4110 Add some audioconverts and audioresample to the pipeline, and some
4111 more comments and error handling.
4113 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4115 * docs/manual/manual.xml:
4119 2007-01-26 Wim Taymans <wim@fluendo.com>
4121 * gst/gstcaps.c: (gst_static_caps_get):
4122 Init caps flags too.
4124 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4126 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4128 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4129 If not using mmap'ed files try to seek to the end instead of the
4130 start to determine whether we can seek at all. This fixes the case
4131 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4132 seeks for everything afterwards fail. Fixes #400656
4134 2007-01-25 Wim Taymans <wim@fluendo.com>
4136 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4137 Add some refcount debugging.
4138 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4139 in multiple streaming threads.
4141 2007-01-25 Wim Taymans <wim@fluendo.com>
4143 Patch by: David Schleef <ds at schleef dot org>
4145 * docs/libs/gstreamer-libs-sections.txt:
4146 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4147 * libs/gst/base/gstadapter.h:
4148 API: gst_adapter_copy() that can reduce the amount of memcpy when
4149 getting data from the adapter. Fixes #388201.
4151 2007-01-25 Edward Hervey <edward@fluendo.com>
4153 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4154 In print statements, "%x" is for guint. Fixes build on macosx.
4156 2007-01-24 Edward Hervey <edward@fluendo.com>
4158 * plugins/elements/gstmultiqueue.c:
4159 (gst_multi_queue_loop):
4161 (single_queue_overrun_cb), (single_queue_underrun_cb),
4162 (single_queue_check_full), (gst_single_queue_new):
4163 Implement single queue growth system.
4164 This uses the extra-size properties, and will grow single queues by
4165 that much if one goes full whereas there are others empty. This is
4166 called extra-mode in the code.
4167 When a single queue's levels go back below the initial max-size
4168 limits, it is no longer in extra-mode. This is to ensure we don't
4169 consume too much memory.
4172 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4174 * gst/gst.c: (gst_init_get_option_group):
4175 Make warning about late g_thread_init() calls a bit more explicit,
4176 so that it's more obvious to application developers what they need
4177 to do if a user files a bug against their application.
4179 2007-01-22 Edward Hervey <edward@fluendo.com>
4181 * plugins/elements/gstmultiqueue.c:
4182 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4183 Remove previous hack of unsetting the flushing flag for the source pad
4184 instead of activating it. Instead, fix the source pad activate function
4185 so that it no longer depends on having a parent set or not.
4187 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4189 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4191 * docs/manual/basics-bus.xml:
4192 Fix example code, gst_element_unref() doesn't exist any longer.
4194 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4196 Patch by: Mark Nauwelaerts <manauw at skynet be>
4199 Fix two docs typoes (#399094).
4201 2007-01-19 Edward Hervey <edward@fluendo.com>
4203 * docs/faq/gst-uninstalled:
4204 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4205 depending on libgstbaseutils can work in uninstalled environment.
4207 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4210 * gst/gsttagsetter.c:
4211 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4212 statement for new tag.
4214 2007-01-17 Edward Hervey <edward@fluendo.com>
4216 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4217 When dynamically creating single queues, activate sinkpad before adding
4219 We should be doing the same thing for the source pad, but we can't
4220 since it would call a method which needs the parent to be set in order
4221 to work propertly. Instead of activating the source pad, we just unset
4222 the flushing flag, which is the minimal requirement for adding a pad
4223 to an element in a state greater than READY.
4225 2007-01-17 Edward Hervey <edward@fluendo.com>
4227 * docs/faq/gst-uninstalled:
4228 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4231 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4233 * tests/check/gst/gstabi.c:
4234 * tests/check/gst/struct_hppa.h:
4235 * tests/check/libs/libsabi.c:
4236 * tests/check/libs/struct_hppa.h:
4237 Add ABI structs for HPPA (see #393796).
4239 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4241 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4242 Actually write ABI structs to the file specified in the GST_ABI
4243 environment variable, as the message we print claims we would.
4245 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4247 * tests/check/gst/gsttask.c:
4250 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4252 * gst/gsttaglist.c: (_gst_tag_initialize):
4253 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4254 previous two entries.
4256 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4258 * docs/gst/gstreamer-sections.txt:
4259 * gst/gsttaglist.c: (_gst_tag_initialize):
4261 Add tag support for beat-per-minute.
4263 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4265 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4266 (gst_registry_binary_initialize_magic),
4267 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4268 (gst_registry_binary_save_pad_template),
4269 (gst_registry_binary_save_feature),
4270 (gst_registry_binary_save_plugin),
4271 (gst_registry_binary_write_cache),
4272 (gst_registry_binary_check_magic),
4273 (gst_registry_binary_load_pad_template),
4274 (gst_registry_binary_load_feature),
4275 (gst_registry_binary_load_plugin),
4276 (gst_registry_binary_read_cache):
4277 * gst/gstregistrybinary.h:
4278 Use glib types, cleanup comments, impement interfaces and uri-types.
4280 2007-01-13 Andy Wingo <wingo@pobox.com>
4282 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4283 getrange() to return buffers with other caps, while we fix
4284 demuxers and typefind, or otherwise change part-negotiation.txt.
4286 2007-01-12 Andy Wingo <wingo@pobox.com>
4288 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4289 Factor start/stop into this private function instead of partially
4290 in activate functions and partially in the change_state function.
4291 Fixes setup before the element has changed from READY->PAUSED, as
4292 is the case in pull-mode pipelines.
4293 (gst_base_transform_sink_activate_push)
4294 (gst_base_transform_src_activate_pull): Refactor to use
4295 gst_base_transform_activate().
4296 (gst_base_transform_change_state): Removed, not needed any more.
4298 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4299 Truncate before fixating.
4301 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4302 Don't set_caps() if the result of fixating is ANY, as it's not
4303 supported, and not necessary in the case of a link with no
4304 template caps on either side. Fixes tests/check/libs/basesrc in
4305 some pull-mode tests.
4307 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4308 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4309 (gst_base_transform_src_activate_pull):
4310 Track the activation mode.
4311 (gst_base_transform_setcaps): In pull mode, when activating the
4312 src pad, after activating the sink pad, activate the sink pad's
4313 peer, as discussed in part-negotiation.txt.
4315 * libs/gst/base/gstbasesrc.h:
4316 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4317 vmethod, as in basesink.
4319 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4321 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4322 mode, first proxy the setcaps to the peer pad.
4323 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4325 (gst_base_sink_default_activate_pull): Rename from
4326 gst_base_sink_activate_pull.
4327 (gst_base_sink_negotiate_pull): New function, performs negotiation
4328 in pull mode before calling ::activate_pull().
4329 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4330 vmethod instead of the default implementation. I have no idea how
4331 this worked before. Negotiate before calling activate_pull.
4333 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4334 sink pads in pull mode. In addition to being correct, fixes
4335 filesrc ! decodebin ! identity ! fakesink.
4336 (gst_pad_get_range, gst_pad_pull_range): Don't call
4337 gst_pad_set_caps() if the caps changes; instead error out with
4338 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4340 2007-01-12 Andy Wingo <wingo@pobox.com>
4342 * docs/design/part-negotiation.txt: Update with more policy.
4344 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4346 * libs/gst/check/gstbufferstraw.h:
4347 * libs/gst/check/gstcheck.h:
4348 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4351 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4353 * tests/check/Makefile.am:
4354 * tests/check/gst/.cvsignore:
4355 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4356 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4357 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4358 (GST_START_TEST), (gst_tag_setter_suite):
4359 Add minimal unit test for beforementioned GstTagSetter bug.
4361 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4363 Patch by: René Stadler <mail at renestadler dot de>
4365 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4366 gst_tag_list_merge() returns a new list, so it's not the best idea
4367 to ingore its return value. Effectively meant that tags could only
4368 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4369 Also add function guard to require a non-NULL taglist as input (has
4370 always been so due to gst_tag_list_copy(), just making it explicit).
4372 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4374 * docs/random/draft-missing-plugins.txt:
4375 Some additions: mention new API that is supposed to be used at the
4376 various stages; short blob about new gst-inspect introspection
4377 option; mention potential future problem with plugins that have
4378 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4380 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4382 * tools/gst-inspect.c:
4383 (print_plugin_automatic_install_info_codecs),
4384 (print_plugin_automatic_install_info_protocols),
4385 (print_plugin_automatic_install_info), (main):
4386 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4387 introspect plugin files and get machine-parsable output that corresponds
4388 to the last bit of the missing-plugin installer string (small gotcha:
4389 doesn't take into account ranks).
4391 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4394 * docs/gst/gstreamer-sections.txt:
4396 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4397 (gst_registry_lookup_locked):
4398 * gst/gstregistry.h:
4399 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4400 (gst_registry_binary_initialize_magic),
4401 (gst_registry_binary_save_string),
4402 (gst_registry_binary_save_pad_template),
4403 (gst_registry_binary_save_feature),
4404 (gst_registry_binary_save_plugin),
4405 (gst_registry_binary_write_cache),
4406 (gst_registry_binary_check_magic),
4407 (gst_registry_binary_load_pad_template),
4408 (gst_registry_binary_load_feature),
4409 (gst_registry_binary_load_plugin),
4410 (gst_registry_binary_read_cache):
4411 * gst/gstregistrybinary.h:
4412 * gst/gstregistryxml.c: (load_feature),
4413 (gst_registry_xml_read_cache):
4414 commit binary registry (disabled by default, see #359653)
4416 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4418 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4419 Fix 'make check' too.
4421 2007-01-10 Andy Wingo <wingo@pobox.com>
4423 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4426 * docs/design/part-negotiation.txt: Update with, um, one way that
4427 pull-mode negotiation might work?
4430 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4431 that the pad must be a src pad; makes sense to call it the other
4432 way in pull mode, and the logic is symmetric anyway.
4434 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4436 * plugins/elements/gstfilesink.c:
4437 Include <stdio.h> for fseeko().
4439 2007-01-10 Wim Taymans <wim@fluendo.com>
4443 Reserve LATENCY event.
4445 2007-01-09 Wim Taymans <wim@fluendo.com>
4447 * docs/design/draft-latency.txt:
4450 2007-01-09 Wim Taymans <wim@fluendo.com>
4452 * docs/design/draft-latency.txt:
4456 * gst/gststructure.c:
4460 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4462 * tests/check/.cvsignore:
4463 Ignore test-registry.xml as well.
4465 2007-01-09 Wim Taymans <wim@fluendo.com>
4467 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4468 unref data at the end when we are done with the pad.
4470 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4472 * docs/gst/gstreamer-sections.txt:
4473 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4474 (init_post), (gst_deinit), (gst_update_registry):
4476 API: add gst_update_registry() (#391296).
4478 * tests/check/Makefile.am:
4479 * tests/check/gst/gstregistry.c:
4480 * tests/check/gst/.cvsignore:
4481 Simple unit test for the above.
4483 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4485 * gst/gstregistry.c: (gst_registry_scan_path_level):
4486 Plugin extension on HP-UX is .sl, add that to the list of approved
4487 plugin extensions (see #393796).
4489 * tests/check/gst/gstpad.c: (GST_START_TEST):
4490 ulong => gulong. Fixes compilation with HP-UX compiler.
4492 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4493 Fix compilation if valgrind headers are not available.
4495 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4497 * win32/common/libgstreamer.def:
4498 Add new exported function.
4499 * win32/vs6/libgstbase.dsp:
4500 Add gstdataqueue.c to the build.
4501 * win32/vs6/libgstcoreelements.dsp:
4502 Add gstmultiqueue.c to the build.
4504 2007-01-06 Andy Wingo <wingo@pobox.com>
4506 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4507 activate_pull(), providing for a way to specialize the process of
4508 spawning a thread to pull on the sink pad. There is a default
4511 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4512 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4513 (gst_base_sink_init): Renamed pad activation functions (inserting
4514 "_pad" in their names). Refactor to use the new activate_pull
4515 vmethod, as appropriate.
4516 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4517 default activate_pull function to start a task pulling from the
4518 sink pad, as before.
4520 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4521 on the pads if necessary, as in push()/chain(). Update docs.
4522 Shouldn't affect existing pull() usage as it is currently only
4523 being used on buffers without caps.
4525 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4527 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4529 Call g_thread_init() first thing in gst_init() / gst_check_init().
4530 When initialisation is done via gst_init_get_option_group() and
4531 GOption parsing, issue a warning if the GLib thread system has not
4532 been initialised yet by the time gst_init_get_option_group() is
4533 called, as it's quite likely other GLib functions such as
4534 g_option_context_new() have been called already then, and
4535 g_thread_init() must be called before any other GLib function. The
4536 application in question must be fixed in that case, since memory
4537 corruption might happen otherwise.
4538 We issue the warning because even if the GLib folks decide to work
4539 around the problem on their end in future, this is still an issue
4540 with all GLib versions >= 2.10.0, so we should warn until we depend
4541 on a GLib version we know to be safe.
4542 Update documentation as well.
4545 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4547 * tools/gst-inspect.c: (main):
4548 * tools/gst-launch.c: (main):
4549 * tools/gst-typefind.c: (main):
4550 * tools/gst-xmlinspect.c: (main):
4551 Call g_thread_init() really really early, before any other GLib
4552 function (see #342564 and recent discussion on gtk-devel-list).
4554 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4556 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4558 * gst/gst_private.h:
4559 * gst/gstconfig.h.in:
4561 On win32, all the __declspec stuff for symbol exporting is
4562 apparently only needed with MSVC, but doesn't work with MingW.
4563 Fixes compilation with MingW and #391909.
4565 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4567 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4568 Change some GST_ERROR_OBJECT that aren't really errors to
4569 GST_WARNING_OBJECT in order to reduce terminal spam.
4571 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4573 * tests/check/Makefile.am:
4574 disable test again, as there seem to be still race problems
4576 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4578 * tests/check/Makefile.am:
4579 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4580 (GST_START_TEST), (queue_suite):
4581 enable queue test again, add tests for the leaky behaviour
4583 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4586 * tests/examples/Makefile.am:
4587 Compile adapter test/example only if the required headers are
4588 available (fixes #391915).
4590 2007-01-01 David Schleef <ds@schleef.org>
4593 Restore the previous signal handler for SIGSEGV instead of
4594 setting to default, since we may have stolen it away from
4595 someone. (i.e., Mono)
4597 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4599 * docs/random/draft-missing-plugins.txt:
4600 Some small additions and clarifications.
4602 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4604 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4605 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4606 since that can lead to random memory corruptions and crashes
4607 (may or may not be related to #383244, #386711, and #386711).
4609 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4611 * tests/check/.cvsignore:
4612 * tests/check/Makefile.am:
4613 sync .cvsignome and CLEANFILES
4615 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4617 * tests/check/Makefile.am:
4620 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4622 * docs/design/part-states.txt:
4623 two tiny additional comments
4625 * gst/gststructure.c:
4628 * tests/check/Makefile.am:
4629 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4631 disable test for now, unless it gets fixed
4633 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4635 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4637 fix race in underrun test
4639 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4641 * tests/check/elements/.cvsignore:
4644 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4646 try to narrow test failure
4648 2006-12-21 David Schleef <ds@schleef.org>
4650 * plugins/elements/gstfakesrc.c:
4651 Use g_random_int_range(), since it produces better random
4652 numbers in a range than almost-correct floating point code.
4654 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4656 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4657 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4658 (gst_check_teardown_sink_pad):
4659 do not automatically (de)activate pads
4661 * tests/check/Makefile.am:
4662 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4663 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4664 add new, yet simple tests for queue
4666 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4667 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4668 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4670 * tests/check/elements/identity.c: (cleanup_identity):
4671 consistent pad (de)activation
4673 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4675 Patch by: Sebastian Dröge <slomo ubuntu com>
4677 * libs/gst/base/gstcollectpads.c:
4678 Fix two doc typos (#387866).
4680 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4682 * docs/manual/advanced-dparams.xml:
4683 Fix typo (g_object_control_properties() doesn't exist).
4685 2006-12-19 Edward Hervey <edward@fluendo.com>
4687 * gst/gstsegment.c: (gst_segment_set_seek):
4688 Fine tune the cases where the segment start/stop values are really
4690 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4691 Add tests for the return values of gst_segment_set_seek().
4693 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4698 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4700 Fix incorrect documentation and flesh it out a bit more.
4701 Set default values for the max properties on the GParamSpec as well,
4702 so it shows up correctly in gst-inspect.
4704 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4706 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4707 Correct docs of queue, add more detail and crosslink it more.
4709 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4711 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4712 Print additional debug info when the stream isn't perfectly
4713 timestamped; don't try to use invalid durations.
4715 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4717 * docs/design/Makefile.am:
4718 Dist new design docs.
4720 2006-12-16 Wim Taymans <wim@fluendo.com>
4722 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4724 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4725 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4726 (gst_collect_pads_stop), (gst_collect_pads_event),
4727 (gst_collect_pads_chain):
4728 * libs/gst/base/gstcollectpads.h:
4729 Add refcounting to the collectpads data so we can track when it's safe
4730 to free the data. Fixes #383382.
4732 2006-12-15 Wim Taymans <wim@fluendo.com>
4734 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4735 (gst_collect_pads_remove_pad):
4736 Automatically activate/deactivate pads when they are added to a
4737 started/stoped collectpads.
4739 2006-12-15 Wim Taymans <wim@fluendo.com>
4741 * gst/gstelement.c: (gst_element_add_pad):
4742 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4743 * gst/gstpad.c: (gst_pad_init):
4744 Set pads to FLUSHING when they are created. Check, warn and fix when a
4745 demuxer adds an inactive pad to itself when running. Fixes #339326.
4747 2006-12-15 Wim Taymans <wim@fluendo.com>
4749 * gst/gstelement.c: (gst_element_class_init),
4750 (gst_element_default_send_event), (gst_element_send_event),
4751 (gst_element_default_query), (gst_element_query):
4752 Expose default element send_event and query handling as vmethods that
4753 subclasses can chain up to.
4755 2006-12-15 Wim Taymans <wim@fluendo.com>
4757 * gst/gstelement.c: (gst_element_set_state_func):
4758 Small documentation fixes.
4760 2006-12-15 Wim Taymans <wim@fluendo.com>
4762 * docs/design/draft-latency.txt:
4763 Checked in draft for handling latency in pipelines.
4765 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4769 * gstreamer.spec.in:
4772 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4774 * gst/gst.c: (init_pre), (init_post):
4775 init_pre() and init_post() might be called via our GOptionGroup or
4776 from gst_init(), and we should skip both of them if we've already
4777 been initialised, otherwise we will init some things twice or add
4778 two default log functions.
4780 2006-12-13 Edward Hervey <edward@fluendo.com>
4782 * docs/manual/basics-bus.xml:
4783 No, gst_main_loop does not exist. Its g_main_loop.
4784 Discovered by somebody who abused the copy-paste technique of coding :)
4786 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4788 * gst/gstghostpad.c:
4789 Log ghostpad debug stuff to the GST_PADS category as well rather
4790 than just to the default category.
4792 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4795 * gst/gst.c: (init_pre):
4796 Add some basic system details such as OS and architecture
4797 to the debug output if possible, courtesy of uname().
4799 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4801 * docs/gst/running.xml:
4802 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4803 environment variables.
4805 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4807 * tests/check/gst/gstbin.c: (GST_START_TEST):
4808 It is acceptable to have a refcount of 2 or 3 at this point in the
4809 test, because the pipeline might be just posting its state_change
4810 message. The next line then waits for that message to appear using
4811 bus_poll, so that should be fine too.
4813 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4815 * gst/gst.c: (ensure_current_registry_forking):
4816 Ignore EINTR when reading from the child registry pipe.
4817 Explicitly ignore the return value from close, since it makes no
4820 * gst/gstminiobject.c: (gst_mini_object_ref),
4821 (gst_mini_object_unref):
4822 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4824 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4825 When removing cached plugins, remove their features too, so they're
4826 not visible after they've disappeared.
4828 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4829 In the unlikely case that we are linking pads with no parents, don't
4830 crash trying to get the non-existent parent bin.
4832 * gst/parse/grammar.y:
4833 Output debug in the PIPELINE category
4835 2005-03-08 Wim Taymans <wim@fluendo.com>
4837 Patch by: René Stadler <mail at renestadler dot de>
4839 * gst/gstclock.c: (gst_clock_new_periodic_id):
4840 Reject invalid clock times for interval of periodic ids.
4843 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4845 * gst/gstelementfactory.c: (gst_element_factory_create):
4846 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4847 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4848 * tools/gst-inspect.c: (print_element_info):
4849 Fix refcounting of gst_plugin_feature_load to match the docs.
4852 2006-12-07 Wim Taymans <wim@fluendo.com>
4854 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4855 (gst_base_sink_get_position):
4856 Improve debugging of events.
4858 2006-12-07 Wim Taymans <wim@fluendo.com>
4860 Patch by: René Stadler <mail at renestadler dot de>
4862 * gst/gstclock.c: (gst_clock_id_wait):
4863 Make period ids add the interval to the origial requested time instead
4864 of the possibly updated time which can be wrong when there are multiple
4865 waiters for the same id. Fixes #382592.
4867 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4868 (gst_system_clock_id_wait_jitter_unlocked),
4869 (gst_system_clock_id_wait_jitter):
4870 Fix restart in the async notify thread when an async entry is added to
4871 the front of the list. Fixes #381492.
4873 * tests/check/gst/gstsystemclock.c: (store_callback),
4874 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4875 Added test for multiple async waits.
4876 Added test for async wait order.
4878 2006-12-07 Wim Taymans <wim@fluendo.com>
4880 * gst/gstbin.c: (gst_bin_query):
4881 Add some more docs about the POSITION query.
4883 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4886 Bump version nano - back to CVS.
4888 === release 0.10.11 ===
4890 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4893 releasing 0.10.11, "Love never runs on time"
4895 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4897 * win32/common/libgstbase.def:
4898 * win32/common/libgstreamer.def:
4899 * win32/vs8/libgstbase.vcproj:
4900 * win32/vs8/libgstcoreelements.vcproj:
4901 * win32/vs8/libgstreamer.vcproj:
4902 Fix compilation on win32 under VS8
4903 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4904 Partially fixes #381175
4906 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4908 * gst/gstvalue.c: (gst_value_compare_fraction):
4909 If someone is foolish enough to compare 2 fractions with denominator =
4910 0, return UNORDERED rather than aborting.
4912 2006-11-28 Edward Hervey <edward@fluendo.com>
4914 * libs/gst/base/Makefile.am:
4915 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4916 (gst_data_queue_base_init), (gst_data_queue_class_init),
4917 (gst_data_queue_init), (gst_data_queue_new),
4918 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4919 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4920 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4921 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4922 (gst_data_queue_set_flushing), (gst_data_queue_push),
4923 (gst_data_queue_pop), (gst_data_queue_drop_head),
4924 (gst_data_queue_set_property), (gst_data_queue_get_property):
4925 * libs/gst/base/gstdataqueue.h:
4926 New GstDataQueue object for threadsafe queueing. Most useful for
4927 elements that need some queueing functionnality.
4928 * docs/libs/gstreamer-libs-docs.sgml:
4929 * docs/libs/gstreamer-libs-sections.txt:
4930 Insert documentation for GstDataQueue
4931 * plugins/elements/Makefile.am:
4932 * plugins/elements/gstelements.c:
4933 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4934 (gst_multi_queue_class_init), (gst_multi_queue_init),
4935 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4936 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4937 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4938 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4939 (gst_multi_queue_loop), (gst_multi_queue_chain),
4940 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4941 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4942 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4943 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4944 (wake_up_next_non_linked), (compute_next_non_linked),
4945 (single_queue_overrun_cb), (single_queue_underrun_cb),
4946 (single_queue_check_full), (gst_single_queue_new):
4947 * plugins/elements/gstmultiqueue.h:
4948 New multiqueue element, using GstDataQueue. Used for queuing multiple
4950 Closes #344639 and #347785
4952 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4954 * docs/pwg/advanced-types.xml:
4955 add more missing type details
4957 * tools/gst-run.c: (main):
4958 remove unused variable
4960 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4962 * docs/libs/Makefile.am:
4963 * docs/libs/gstreamer-libs.types:
4964 add types of base classes to enable gobject specific stuff in the docs
4966 * docs/random/ensonic/embedded.txt:
4967 more ideas about isolating platform specific things
4969 2006-11-20 Wim Taymans <wim@fluendo.com>
4971 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4973 * libs/gst/check/gstcheck.h:
4974 Fix compilation and running against 0.9.4. Fixes #377332.
4976 2006-11-20 Wim Taymans <wim@fluendo.com>
4978 * gst/gstsegment.c: (gst_segment_set_seek),
4979 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4980 (gst_segment_to_running_time):
4981 Fix boundary checking in to_running_time() and to_stream_time().
4984 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4985 stream and running time can now be calculated for the complete
4988 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4990 * gst/gstpad.c: (gst_pad_push_event):
4991 Can't access event structure after giving away ownership of
4994 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4996 * docs/random/ensonic/embedded.txt:
4997 * docs/random/ensonic/profiling.txt:
4998 * docs/random/ensonic/receipies.txt:
5001 2006-11-13 Wim Taymans <wim@fluendo.com>
5003 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5006 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5008 2006-11-13 Wim Taymans <wim@fluendo.com>
5010 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5012 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5013 Store new length in segment duration so we don't keep on calling the
5014 potentially expensize get_size() call. Fixes #370865.
5016 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5018 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5020 * win32/common/libgstreamer.def:
5021 Add two missing symbols (#366492).
5023 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5025 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5026 (gst_adapter_take_buffer):
5027 Fix format string to use all its arguments.
5028 Remove useless >= check on a guint
5030 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5032 * tests/examples/adapter/.cvsignore:
5033 Ignore build file as commanded by the build-bot
5035 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5037 * tests/examples/adapter/Makefile.am:
5038 * tests/examples/adapter/adapter_test.c: (run_test_take),
5039 (run_test_take_buffer), (run_tests), (main):
5041 Add new files from the previous commit
5043 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5047 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5048 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5049 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5050 * libs/gst/base/gstadapter.h:
5051 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5052 (GST_START_TEST), (gst_adapter_suite):
5053 * tests/examples/Makefile.am:
5054 Do some optimisation work in GstAdapter to avoid copies in more cases.
5055 It could still do slightly better by merging buffers when
5056 gst_buffer_is_span_fast is true, but is already faster.
5058 Also, avoid traversing a single-linked list to append each incoming
5059 buffer inside the adapter.
5061 Add simple test app that times the adapter behaviour in different
5062 situations, and extend the unit test to check that bytes enter and
5063 exit the adapter in their original order.
5065 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5067 * docs/random/draft-missing-plugins.txt:
5068 Update: use element message instead of adding a new message
5069 type to the core; don't provide GStreamer API to initiate the
5070 plugin download, just provide API to compose the strings needed
5071 and let an external libgimmestuff handle the rest.
5073 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5075 * tools/gst-inspect.c: (print_element_properties_info):
5076 Print a string instead of 'unknown type' for GValueArray properties
5078 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5080 * docs/random/draft-missing-plugins.txt:
5083 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5085 * tests/examples/typefind/typefind.c: (type_found), (main):
5086 Make typefind element example work again (#371894); add a
5089 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5091 * docs/random/draft-missing-plugins.txt:
5092 Commit initial draft about how to deal with missing plugins,
5093 needs work (API too).
5095 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5097 * docs/pwg/advanced-types.xml:
5098 documents the new caps elements (see #363118)
5100 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5102 * gst/gstplugin.c: (gst_plugin_load_file):
5103 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5104 (gst_file_src_map_region), (gst_file_src_start):
5105 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5106 (gst_file_index_commit):
5107 Use g_strerror() instead of strerror() - we want UTF-8.
5109 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5111 Patch by: Peter Kjellerstedt <pkj at axis com>
5113 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5114 Another printf fix (#371493).
5116 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5118 * tests/check/gst/gsttag.c:
5119 relicence (okay with author=company)
5121 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5123 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5124 (gst_pad_push_event):
5125 Enhance debug and improve docs
5130 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5132 * docs/random/ensonic/distributed.txt:
5133 * docs/random/ensonic/profiling.txt:
5136 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5138 * docs/gst/gstreamer-sections.txt:
5139 add new API and fix the build
5141 * gst/gstbin.c: (gst_bin_recalc_state):
5142 * gst/gstelement.c: (gst_element_message_full),
5143 (gst_element_get_state_func), (gst_element_set_state_func):
5144 use new API and improve logging
5146 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5148 API: add function to get StateChangereturn names to improve logs
5150 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5152 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5153 I'm considering shooting the next person to put strerror stuff
5154 in the translateable part of the message.
5156 2006-11-03 Wim Taymans <wim@fluendo.com>
5158 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5159 Get the type and printf conversion specifiers right.
5161 2006-11-03 Wim Taymans <wim@fluendo.com>
5163 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5165 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5166 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5167 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5168 Some small cleanups. Improve debugging.
5170 Signal all waiting threads with a broadcast instead of just one.
5173 2006-11-03 Wim Taymans <wim@fluendo.com>
5175 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5176 (gst_fd_src_create):
5178 Only update fd when it's different from the old.
5180 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5182 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5183 Printf fixes for PPC/OSX, take two (#369366).
5185 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5187 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5189 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5190 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5191 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5192 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5193 don't cast to long long for portability reasons, but use
5194 GLib's types instead.
5196 2006-10-30 Michael Smith <msmith@fluendo.com>
5198 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5199 Get the arguments to lseek() the right way around.
5202 2006-10-30 Wim Taymans <wim@fluendo.com>
5204 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5207 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5209 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5211 Patch by: Kjartan Maraas <kmaraas at gnome org>
5213 * docs/design/part-MT-refcounting.txt:
5214 * docs/random/wtay/capsnego2-docs:
5217 Typo fixes (#366212).
5219 2006-10-28 Wim Taymans <wim@fluendo.com>
5221 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5224 * win32/common/libgstbase.def:
5225 * win32/common/libgstreamer.def:
5226 * win32/vs8/libgstbase.vcproj:
5227 * win32/vs8/libgstcontroller.vcproj:
5228 Add needed entries in .def files.
5230 Rearrange def files in vs8 solutions. Fixes #366286.
5232 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5234 * win32/common/gstconfig.h:
5235 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5236 hand-made win32 gstconfig.h. Fixes #366321.
5238 2006-10-27 Wim Taymans <wim@fluendo.com>
5240 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5241 (gst_ghost_pad_new_full):
5242 Make acceptcaps return TRUE when we don't have a target, just like
5245 2006-10-27 Wim Taymans <wim@fluendo.com>
5247 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5248 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5250 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5252 * gst/gststructure.c: (gst_structure_id_set_value):
5253 If someone tries to set a non-UTF8 string field on a structure,
5254 don't just print a warning, but also ignore the request and do
5255 not change/add that field to the structure.
5257 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5260 2006-10-25 David Schleef <ds@schleef.org>
5263 g_hash_table_insert() needs a cast to a non-const pointer duh.
5265 2006-10-25 David Schleef <ds@schleef.org>
5269 Change name parameter of _gst_debug_register_funcptr to const
5270 to reflect the constness of its use in the function as well
5271 as to quiet a gcc warning.
5273 2006-10-25 Edward Hervey <edward@fluendo.com>
5275 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5276 Don't push the buffer if it's empty.
5279 2006-10-24 Wim Taymans <wim@fluendo.com>
5284 * libs/gst/base/gstbasetransform.c:
5285 (gst_base_transform_sink_eventfunc):
5286 Debug segment values *after* updating them as this is more
5289 2006-10-23 Wim Taymans <wim@fluendo.com>
5291 * docs/design/part-events.txt:
5294 * docs/design/part-block.txt:
5295 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5296 (gst_pad_push_event):
5297 Revert BLOCKING patch, it tries to be smart without really having a
5298 clear idea what or how. So, now we discard all FLUSHING events again on
5299 a blocking pad. Should fix gnonlin again.
5301 2006-10-23 Wim Taymans <wim@fluendo.com>
5303 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5305 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5306 (gst_base_src_start), (gst_base_src_activate_push):
5307 Make sure size is always initialized. Fixes #364388.
5309 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5311 * docs/random/ensonic/distributed.txt:
5312 add some ideas about doing distributed processing
5314 * docs/random/ensonic/profiling.txt:
5315 get_rusage look promising
5317 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5319 * docs/manual/basics-helloworld.xml:
5320 Add a cast in example to fix compile warning
5322 2006-10-18 Wim Taymans <wim@fluendo.com>
5324 * gst/gstsegment.c: (gst_segment_set_last_stop),
5325 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5326 Relax arg checking again, -1 is allowed.
5328 2006-10-18 Wim Taymans <wim@fluendo.com>
5330 * gst/gstsegment.c: (gst_segment_set_last_stop),
5331 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5332 _set_last_stop() must be with a value != -1
5333 A _TYPE_SET to -1 means seek to 0.
5334 Calc last_stop correctly for negative rates.
5335 Make sure we work with positive durations when updating a segment.
5337 2006-10-18 Wim Taymans <wim@fluendo.com>
5339 * docs/design/part-live-source.txt:
5343 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5346 Add an explicit cast to GstBuffer** to keep old code that added an
5347 explicit cast to GstMiniObject** for gst_mini_object_replace()
5348 compiling without warning.
5350 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5352 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5353 check for validity of dates
5355 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5357 * docs/gst/gstreamer-sections.txt:
5358 Forgot this one, makes gtk-doc shut up.
5360 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5362 Patch by: Peter Kjellerstedt <pkj at axis com>
5365 Don't define xmlNodePtr to gpointer if the core was built with
5366 --disable-loadsave and --disable-registry, this will break
5367 applications that want to use libxml2 but are buildling against a
5368 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5369 instead so we don't have to mess with the libxml2 namespace
5372 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5375 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5376 type-punned pointer warnings.
5378 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5381 Add casts to the correct return type to state <=> state transition
5384 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5386 * docs/design/part-live-source.txt:
5387 describe howto handle latency
5389 * docs/random/ensonic/profiling.txt:
5392 * tools/gst-plot-timeline.py:
5393 fix log parsing for solaris, remove unused function
5395 2006-10-16 Wim Taymans <wim@fluendo.com>
5397 * docs/design/part-trickmodes.txt:
5399 Update some docs regarding reverse playback.
5401 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5403 Patch by: Marcus Granado <mrc dot gran at gmail com>
5405 * win32/vs8/grammar.vcproj:
5406 Error out with a warning if glib-genmarshal.exe is not in path,
5407 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5409 2006-10-13 Wim Taymans <wim@fluendo.com>
5411 * gst/gstsegment.c: (gst_segment_set_seek):
5412 When seeking to stop -1, set last_stop (current position) to the
5413 duration of the segment.
5415 2006-10-13 Wim Taymans <wim@fluendo.com>
5418 Clarify _NO_PREROLL a bit more.
5423 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5424 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5425 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5426 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5427 due to wrong locking order. Fixes #361769.
5428 Remove some redundant/misplaced checks in pad_block.
5430 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5431 For negative rates, count backwards from the duration.
5433 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5435 * gst/gsterror.c: (_gst_library_errors_init):
5436 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5437 up with something better).
5439 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5441 * win32/vs6/libgstreamer.dsp:
5442 * win32/vs7/libgstreamer.vcproj:
5443 * win32/vs8/libgstreamer.vcproj:
5444 Don't reference glib-compat.c which is currently not used and not
5445 disted; add gstquark.c which was recently added. Fixes #361730.
5447 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5449 * win32/common/libgstbase.def:
5450 * win32/common/libgstcontroller.def:
5451 * win32/common/libgstreamer.def:
5452 Add gst_caps_merge() and a bunch of other recently-added functions.
5455 2006-10-11 Wim Taymans <wim@fluendo.com>
5457 * docs/plugins/gstreamer-plugins.args:
5458 * docs/plugins/inspect/plugin-coreelements.xml:
5459 * docs/plugins/inspect/plugin-coreindexers.xml:
5460 Update element args.
5462 * gst/gstsystemclock.c:
5463 Small comment update.
5465 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5466 (gst_tee_request_new_pad), (gst_tee_release_pad),
5467 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5468 (gst_tee_sink_activate_pull):
5469 * plugins/elements/gsttee.h:
5471 Add default property defines.
5472 Implement release pad function.
5473 Give properties better blubs etc.
5474 Activate pads before adding them to a running tee.
5475 Do simple buffer_alloc on the first requested pad.
5476 Post error when activation fails.
5478 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5480 * gst/gst.c: (ensure_current_registry_forking):
5481 Check return value of write() to make compiler happy.
5483 2006-10-11 Wim Taymans <wim@fluendo.com>
5485 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5487 * plugins/elements/gstqueue.c: (gst_queue_chain):
5488 Recheck queue filledness after signalling the overrun when we're about
5489 to leak downstream because we released the lock when emitting the signal
5490 and the queue could be empty again. Fixes #352345.
5492 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5494 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5495 Fix refcounting here too, just like we did for _new_valist() a few
5496 days ago (#357180) (thanks to René Stadler). Also remove all those
5497 'Since: 0.9' from the gtk-doc blobs.
5499 * tests/check/libs/controller.c: (controller_refcount_new_list),
5500 (gst_controller_suite):
5501 Unit test for the above.
5503 2006-10-10 Wim Taymans <wim@fluendo.com>
5505 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5507 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5508 (gst_pad_save_thyself):
5510 Write pad direction in XML output. Fixes #345496.
5512 2006-10-10 Wim Taymans <wim@fluendo.com>
5514 Patch by: René Stadler <mail at renestadler dot de>
5516 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5517 (gst_controller_new_list), (_gst_controller_dispose),
5518 (_gst_controller_finalize), (_gst_controller_class_init):
5519 Take ref to controlled object so that it cannot disappear.
5522 2006-10-10 Wim Taymans <wim@fluendo.com>
5524 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5525 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5526 (gst_check_teardown_sink_pad):
5527 Activate/deactivate pads in setup/teardown respectively.
5529 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5531 Patch by: Josep Torre Valles <josep@fluendo.com>
5534 Cast values when making gstenumtypes.h. This pacifies Forte
5535 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5538 2006-10-09 Wim Taymans <wim@fluendo.com>
5540 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5541 Rename some more @cur to @start to fix docs.
5543 * gst/gstsegment.c: (gst_segment_set_seek):
5545 time and start must always stay in sync as defined in design doc.
5547 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5548 Rename param to fix docs.
5550 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5551 Check that start and time are in sync.
5553 * tests/check/pipelines/parse-launch.c:
5554 (gst_parse_test_element_change_state):
5555 Activate pad before adding to the element.
5557 2006-10-09 Wim Taymans <wim@fluendo.com>
5559 * docs/design/part-qos.txt:
5564 Update seek event docs regarding negative rates.
5565 Rename @cur to @start.
5567 * gst/gstsegment.c: (gst_segment_set_seek):
5569 Update set_seek docs regarding negative rates.
5570 Correctly update last_stop to @stop when dealing with negative
5572 Rename @cur to @start.
5574 * tests/check/gst/gstpad.c: (GST_START_TEST):
5575 Activate pads before trying to use them.
5577 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5578 (gst_segment_suite):
5579 Add simple check for segments and negative rates.
5581 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5583 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5585 * docs/gst/gstreamer-sections.txt:
5586 API: add gst_tag_list_is_empty() (#360467).
5588 * tests/check/gst/gsttag.c: (GST_START_TEST):
5591 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5594 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5595 a value that doesn't fit on enumeration.
5597 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5599 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5600 Remove local debugging system and use Gstreamer's instead.
5602 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5604 Patch by: Josep Torre Valles <josep@fluendo.com>
5606 * common/m4/gst-error.m4:
5607 Disable warning of statement not reached on Forte.
5609 Fix warning on Forte (value doesn't fit on enumeration).
5610 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5611 Fix warning on Forte (value doesn't fit on enumeration).
5612 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5613 DEBUG macro says it takes minimum of 2 args and so Forte
5614 complains about the use with just 1 arg.
5615 * plugins/elements/gstfdsink.c:
5616 * plugins/elements/gstfdsrc.c:
5617 * plugins/elements/gstfilesink.c:
5618 * plugins/elements/gstfilesrc.c:
5619 Use correct return type for the uri handler implementations.
5621 All these fix warnings in Forte. Fixes bug #360860.
5623 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5626 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5627 format string, so don't use G_GNUC_PRINTF for those versions.
5629 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5631 * gst/gsttaglist.c: (gst_is_tag_list):
5633 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5635 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5636 Small test for the above.
5638 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5641 Less tabs, more spaces.
5643 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5646 Those two function declarations do actually belong there, revert
5647 commit from yesterday that turned them intro macros.
5649 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5651 Patch by: Josep Torre Valles <josep@fluendo.com>
5653 * gst/gst.c: (gst_init_get_option_group):
5654 Fix empty declaration and type mismatch.
5655 * gst/gstbin.c: (gst_bin_change_state_func):
5657 * gst/gstelement.c: (gst_element_continue_state),
5658 (gst_element_set_state_func), (gst_element_change_state),
5659 (gst_element_change_state_func):
5660 Fix type mismatches.
5661 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5662 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5663 Cast as appropriate.
5664 * gst/gstobject.c: (gst_class_signal_connect):
5665 Cast as appropriate. The function pointer parameter really
5666 has the wrong type but would break API if we change it.
5668 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5669 order of including string.h.
5670 * gst/gstutils.c: (gst_element_state_get_name):
5671 Remove unreachable line.
5672 * gst/gstxml.c: (gst_xml_parse_doc):
5674 All these caught by Forte.
5676 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5678 Patch by: Josep Torre Valles <josep@fluendo.com>
5680 * common/m4/gst-error.m4:
5682 We need to disable warnings on Forte for empty declarations
5683 due to gst-indent adding ;s to lines that just use macros
5684 where the macro actually doesn't need a ; at end to end
5687 2006-10-06 Wim Taymans <wim@fluendo.com>
5689 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5690 (gst_file_sink_close_file), (gst_file_sink_event),
5691 (gst_file_sink_render):
5692 Add some FIXME for the NEWSEGMENT handling.
5694 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5696 * gst/parse/grammar.y:
5697 Remove static function gst_parse_element_lock as all it does
5698 is return. Looks like cruft from 0.8.
5700 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5702 Patch by: Josep Torre Valles <josep@fluendo.com>
5704 * common/m4/gst-error.m4:
5706 * libs/gst/net/Makefile.am:
5707 Fix a compilation issue with Forte on Solaris. inet_aton is in
5710 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5712 * gst/gstpad.c: (pre_activate):
5713 * gst/gstregistry.c: (gst_registry_scan_path_level):
5714 * gst/gstregistryxml.c: (load_plugin):
5715 * libs/gst/controller/gstcontroller.c:
5716 (gst_controlled_property_set_interpolation_mode):
5717 * libs/gst/dataprotocol/dataprotocol.c:
5718 (gst_dp_packet_from_event_1_0):
5719 * libs/gst/net/gstnetclientclock.c:
5720 (gst_net_client_clock_observe_times):
5721 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5724 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5727 * docs/gst/gstreamer-sections.txt:
5728 * gst/gstconfig.h.in:
5731 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5732 whether we can use G_GNUC_PRINTF in other header files and at
5733 least check the printf format/arguments of debug messages and
5734 GST_ELEMENT_ERROR messages when the printf extension is not
5736 Replace more tabs with spaces in gstinfo.h and remove two spurious
5737 function declarations in GST_DISABLE_DEBUG part with macros.
5739 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5741 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5742 More docs for the sync-message signal (mention that it is not
5743 emitted by default); log message structures of messages posted on
5746 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5748 * gst/gst.c: (ensure_current_registry_forking):
5749 Use a pipe pair to receive status results from the forked child, and
5750 ignore the result from waitpid. Fixes #355499
5752 2006-10-02 Wim Taymans <wim@fluendo.com>
5754 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5755 (gst_ghost_pad_suite):
5758 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5761 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5763 2006-10-02 Edward Hervey <edward@fluendo.com>
5765 * docs/design/part-block.txt:
5766 Further explain the use of flushing on blocked pads.
5767 * docs/gst/gstreamer-sections.txt:
5768 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5769 (gst_pad_push_event):
5771 Added new GstPadFlag : GST_PAD_BLOCKING.
5772 Adds the notion of pads really blocking, which enables to properly
5773 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5775 API: gst_pad_is_blocking()
5776 API: GST_PAD_IS_BLOCKING() macro
5777 API: GST_PAD_BLOCKING GstPadFlag
5779 2006-10-02 Wim Taymans <wim@fluendo.com>
5781 Patch by: mrcgran <mrc.gran at gmail dot com>
5783 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5784 Filter the proxied caps against the padtemplate if we have one.
5786 * gst/gstquery.c: (gst_query_new_segment):
5787 Add include for gstinfo.h so that compilation with
5788 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5790 2006-10-02 Wim Taymans <wim@fluendo.com>
5792 Patch by: Alessandro Decina <alessandro at nnva org>
5794 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5795 (gst_file_sink_set_location), (gst_file_sink_open_file),
5796 (gst_file_sink_close_file), (gst_file_sink_event),
5797 (gst_file_sink_render):
5798 Set file to NULL when closing filesink so that we can set a new filename
5799 in READY. Fixes #358613.
5801 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5803 Patch by: Alessandro Decina <alessandro at nnva org>
5805 * gst/gstevent.c: (_gst_event_copy):
5806 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5807 with event structures by setting the parent refcount address of the
5808 copied structure to the address of the refcount member of the newly
5809 copied event rather than the address of the refcount member of the
5810 original event. Fixes #358737.
5812 * tests/check/gst/gstevent.c: (GST_START_TEST):
5813 Unit test for the above.
5815 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5817 * docs/design/Makefile.am:
5818 Dist some more files.
5820 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5822 * tests/check/libs/controller.c: (GST_START_TEST),
5823 (gst_controller_suite):
5824 Add test for the previous fix; add some more tests
5825 for correct refcounting behaviour; fix a few leaks
5826 in test cases; call gst_controller_init() at start
5829 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5831 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5832 (gst_controller_set_from_list):
5833 Don't g_return_val_if_fail() on timed values with invalid timestamps
5834 inside a critical section without unlocking the mutex. Spotted by
5835 René Stadler. (#357617)
5836 Also, fix up refcounting properly: when returning an existing
5837 controller, we should increase the reference only once and not
5838 once per property and when trying to control a property again
5839 we should also increase the refcount.
5841 2006-09-29 Wim Taymans <wim@fluendo.com>
5843 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5844 * libs/gst/net/gstnettimeprovider.c:
5845 (gst_net_time_provider_thread):
5846 Stop reading commands when EOF as well.
5848 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5849 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5850 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5851 Unify description of the dump property.
5853 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5855 * tests/examples/manual/.cvsignore:
5856 OK, so it's actually cvsignore that needs changing. Stop laughing.
5858 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5860 * tests/examples/manual/Makefile.am:
5861 Gah, declare vars *before* using them
5863 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5865 * gst/gst.c: (init_pre), (scan_and_update_registry),
5866 (ensure_current_registry_nonforking),
5867 (ensure_current_registry_forking), (ensure_current_registry),
5868 (init_post), (gst_debug_help), (gst_deinit):
5869 * gst/gst_private.h:
5870 * gst/gstregistry.c: (gst_registry_finalize),
5871 (gst_registry_remove_features_for_plugin_unlocked),
5872 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5873 (gst_registry_scan_path),
5874 (_priv_gst_registry_remove_cache_plugins),
5875 (_priv_gst_registry_cleanup):
5876 * gst/gstregistry.h:
5877 Re-commit the registry changes, along with an extra fix:
5878 When a cached plugin is encountered at a different file path,
5879 update the stored path in the registry cache so that the parent
5880 process knows where it actually is now when it re-reads the registry
5881 cache. Fixes the thing that broke distcheck with the previous commit.
5883 * tests/check/Makefile.am:
5884 Clean up files named 'core' too when running make clean.
5886 * tests/examples/manual/Makefile.am:
5887 Set up a registry path for running these tests, and clean it properly
5890 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5893 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5894 want gmodule-no-export-2.0.pc instead so that we don't drag in
5895 --export-dynamic on every project that links to GStreamer.
5897 Also, make our export regex only match the start of symbols, rather
5898 than any symbol that contains '_gst' somewhere.
5900 * libs/gst/check/Makefile.am:
5901 The libgstcheck we build does however need export-dynamic, as it
5902 produces some symbols that don't match our _gst... style regex.
5905 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5907 * gst/gst.c: (init_pre), (scan_and_update_registry),
5908 (ensure_current_registry_nonforking),
5909 (ensure_current_registry_forking), (ensure_current_registry),
5910 (init_post), (gst_debug_help), (gst_deinit):
5911 * gst/gst_private.h:
5912 * gst/gstregistry.c: (gst_registry_finalize),
5913 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5914 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5915 (_gst_registry_cleanup):
5916 * gst/gstregistry.h:
5917 Revert previous change until I figure out why it breaks distcheck.
5919 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5921 * gst/gst.c: (init_pre), (scan_and_update_registry),
5922 (ensure_current_registry_nonforking),
5923 (ensure_current_registry_forking), (ensure_current_registry),
5924 (init_post), (gst_debug_help), (gst_deinit):
5926 Make init_pre and init_post take the full complement of GOptionFunc
5927 args so they can return useful GErrors. Make the registry updating
5930 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5931 ensure that the registry we're about to write out doesn't contain
5932 stale information about old-deleted plugin files.
5934 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5935 that deletion of plugin files is considered a registry change.
5937 * gst/gst_private.h:
5938 * gst/gstregistry.c: (gst_registry_finalize),
5939 (gst_registry_remove_features_for_plugin_unlocked),
5940 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5941 (gst_registry_scan_path),
5942 (_priv_gst_registry_remove_cache_plugins),
5943 (_priv_gst_registry_cleanup):
5944 * gst/gstregistry.h:
5945 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5946 by adding _priv prefix, so that they won't appear in the global
5947 symbol table. They still do atm though because of #318031. Move the
5948 prototypes to gst_private.h
5950 When removing a plugin, remove all features for that plugin too.
5953 2006-09-27 Wim Taymans <wim@fluendo.com>
5955 * docs/random/moving-plugins:
5956 Make it clear that the "compiled-in descriptions" really mean
5957 the element details.
5959 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5960 (gst_base_sink_wait_preroll):
5963 * docs/libs/gstreamer-libs-sections.txt:
5964 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5965 (gst_base_src_get_range), (gst_base_src_activate_push):
5966 * libs/gst/base/gstbasesrc.h:
5967 Added function to block while waiting for PLAYING, this function
5968 is used by live sources that block on the clock.
5969 API: gst_base_src_wait_playing()
5971 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5973 Patch by: Peter Kjellerstedt <pkj at axis com>
5976 gst-element-check.m4 is generated and should therefore be
5977 copied from the build dir rather than the source dir (#357593).
5978 'make distcheck' hasn't noticed this because we were disting
5979 the file as well, so stop doing that.
5981 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5983 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5984 Add some tests for gst_caps_intersect().
5986 * tools/gst-launch.c: (event_loop):
5987 Print all buffering percentages we get, even the 100% one.
5989 2006-09-26 Wim Taymans <wim@fluendo.com>
5991 * tools/gst-inspect.c: (print_element_properties_info),
5992 (print_signal_info):
5993 Fix printing of flags to match the look of enums.
5995 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5997 * gst/gstelementfactory.c:
5998 Fix typo in docs blurb.
6000 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6002 * gst/gsturi.c: (search_by_entry):
6003 Don't assert/crash here if a uri handler doesn't return any
6004 supported protocols. The list of protocols could be generated
6005 dynamically at runtime or at plugin registration, and an error
6006 in the underlying library shouldn't be fatal (#353301).
6008 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6011 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6012 (spotted by Peter Kjellerstedt).
6014 2006-09-23 Wim Taymans <wim@fluendo.com>
6016 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6018 * libs/gst/base/gstbasesrc.c:
6019 (gst_base_src_default_check_get_range), (gst_base_src_start),
6020 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6021 (gst_base_src_change_state):
6022 Match _start/_stop calls in the activate functions. Remove redundant
6023 _stop call from the state change function. Fixes #356910.
6024 Turn failure DEBUG into ERROR.
6026 2006-09-22 Wim Taymans <wim@fluendo.com>
6028 * docs/design/part-buffering.txt:
6029 * gst/gstmessage.c: (gst_message_new_buffering),
6030 (gst_message_parse_buffering):
6031 Update docs about buffering.
6033 * docs/design/part-trickmodes.txt:
6036 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6038 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6039 (gst_controller_new_list):
6040 Ref instances when returning them again (fixes #357180)
6042 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6044 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6045 Don't forget to release proxy lock when there's an error.
6047 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6050 Add extra initialisers for Caps things, to fix some plugin warnings
6053 2006-09-18 Wim Taymans <wim@fluendo.com>
6055 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6056 Also set template on the internal pad so that a getcaps from the
6057 target pad returns the template caps.
6059 2006-09-18 Wim Taymans <wim@fluendo.com>
6061 * gst/gstelement.c: (gst_element_post_message),
6062 (gst_element_dispose):
6063 Use _DEBUG_OBJECT some more.
6065 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6068 * tools/gst-launch.c: (main):
6069 If the toplevel element is not a GstPipeline, it must be put in a
6070 pipeline so that a bus and clock is selected.
6072 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6074 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6075 JITTER, RATE, and LATENCY query should be handled by the
6076 default case and not by the CONVERT query code.
6078 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6080 * gst/gstformat.c: (gst_format_register):
6081 Fix locking order (must take lock before using n_values).
6083 * gst/gstvalue.c: (gst_value_serialize_enum),
6084 (gst_value_deserialize_enum_iter_cmp),
6085 (gst_value_deserialize_enum):
6086 Fix serialisation/deserialisation of custom registered GstFormats.
6088 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6089 Unit test for custom format serialisation/deserialisation.
6091 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6093 * docs/pwg/building-boiler.xml:
6094 * plugins/elements/gstcapsfilter.c:
6095 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6098 2006-09-16 Edward Hervey <edward@fluendo.com>
6100 * libs/gst/base/gstbasetransform.c:
6101 (gst_base_transform_buffer_alloc):
6102 Check if requested caps are the same as the sinks caps IF
6103 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6105 This fixes the renegotiation issues stated in #352827.
6107 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6110 * docs/manual/advanced-autoplugging.xml:
6111 * tests/examples/Makefile.am:
6112 * tests/examples/manual/.cvsignore:
6113 * tests/examples/manual/Makefile.am:
6114 * tests/examples/manual/extract.pl:
6115 Extract the manual examples again like we used to do.
6118 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6120 * win32/common/config.h:
6123 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6126 Documents how to receive errors.
6128 2006-09-15 Wim Taymans <wim@fluendo.com>
6130 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6131 (event_loop), (main):
6132 Added some comments here and there.
6133 Post an application message when an interrupt is caught instead of doing
6134 an uncontrolled state change.
6135 Clean up the event loop.
6136 Handle buffering messages, pause/resume the pipeline.
6137 Make shutdown because of an interrupt more reliable.
6139 2006-09-15 Wim Taymans <wim@fluendo.com>
6141 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6142 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6143 (gst_base_sink_preroll_object):
6144 Make sure that our internal state is correct when we commit our state
6145 asynchronously. This solves a race where a state change to PLAYING
6146 could cause the sink to remain blocked in preroll in some situations.
6148 2006-09-15 Wim Taymans <wim@fluendo.com>
6150 * tools/gst-inspect.c: (print_element_properties_info),
6151 (print_signal_info):
6152 List flags as hex so it's easier to deal with.
6154 2006-09-15 Wim Taymans <wim@fluendo.com>
6156 * docs/libs/gstreamer-libs-sections.txt:
6157 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6158 (gst_base_sink_do_sync):
6159 * libs/gst/base/gstbasesink.h:
6160 Expose logic to wait for preroll so that subclasses such as audiosink
6161 can also use this method.
6162 API: gst_base_sink_wait_preroll()
6164 2006-09-15 Wim Taymans <wim@fluendo.com>
6166 * gst/gstobject.c: (gst_object_set_parent):
6167 * gst/gstpipeline.c: (do_pipeline_seek):
6168 Small cleanups in docs and code.
6170 * gst/gstsegment.c: (gst_segment_clip):
6171 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6172 if stop == start and start is in the segment, no clipping should be
6173 done. Also add a test for this.
6175 2006-09-15 Wim Taymans <wim@fluendo.com>
6177 * docs/design/part-buffering.txt:
6178 * docs/gst/gstreamer-sections.txt:
6179 * gst/gstmessage.c: (gst_message_new_buffering),
6180 (gst_message_parse_buffering):
6182 Added methods to create and parse BUFFERING messages.
6183 Added preliminary docs about buffering.
6184 API: gst_message_new_buffering
6185 API: gst_message_parse_buffering
6187 2006-09-06 Wim Taymans <wim@fluendo.com>
6190 Update documentation.
6192 * gst/gstelement.c: (gst_element_class_init),
6193 (gst_element_release_request_pad), (gst_element_set_clock),
6194 (gst_element_get_index), (gst_element_add_pad),
6195 (gst_element_remove_pad), (gst_element_get_random_pad),
6196 (gst_element_send_event), (gst_element_get_query_types),
6197 (gst_element_query), (gst_element_post_message),
6198 (gst_element_message_full), (gst_element_continue_state),
6199 (gst_element_lost_state), (gst_element_save_thyself),
6200 (gst_element_restore_thyself):
6201 Documentation updates.
6202 Rename last bit of the new-pad -> pad-added signal rename.
6203 Fix the case where an element query would only work if the source
6205 Avoid some useless type checking in message handling.
6210 Documentation updates.
6212 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6214 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6215 add an INFO line for when we actually update the fd
6217 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6222 === release 0.10.10 ===
6224 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6227 releasing 0.10.10, "Pais"
6229 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6231 * docs/manual/advanced-position.xml:
6232 Fix typo in sample code.
6234 2006-09-05 Wim Taymans <wim@fluendo.com>
6236 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6237 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6238 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6239 * libs/gst/net/gstnetclientclock.h:
6240 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6241 * libs/gst/net/gstnettimepacket.h:
6242 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6243 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6244 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6245 * libs/gst/net/gstnettimeprovider.h:
6246 Make stuff compile on windows. Fixes #345295.
6248 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6250 * gst/gst.c: (ensure_current_registry_forking):
6251 Print better details when child was terminated by signal.
6253 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6255 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6256 Print a warning rather than g_assert() if a plugin feature
6257 is a URI handler but returns no protocols (#353976).
6259 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6261 * docs/random/moving-plugins:
6264 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6266 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6267 Fix locking order, handle NULL function values properly.
6272 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6273 Initialise variable before using it and fix debug statement to
6274 print the address of the function rather than the address of the
6275 variable on the stack holding the address of the function.
6277 2006-09-01 Wim Taymans <wim@fluendo.com>
6279 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6280 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6281 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6282 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6283 (gst_ghost_pad_parent_unset),
6284 (gst_ghost_pad_internal_do_activate_push),
6285 (gst_ghost_pad_internal_do_activate_pull),
6286 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6287 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6288 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6289 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6290 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6291 (gst_ghost_pad_new_no_target_from_template),
6292 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6294 Avoid needless typechecking in macros.
6295 Since the internal pad is always present and never changes, there is
6296 no need to locking or ref when retrieving it.
6297 Improve debugging a bit.
6298 Handle link errors when setting the target. Fixes #341029.
6300 2006-09-01 Wim Taymans <wim@fluendo.com>
6302 * docs/libs/gstreamer-libs-sections.txt:
6303 * docs/plugins/gstreamer-plugins-sections.txt:
6306 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6307 (gst_collect_pads_event):
6308 * libs/gst/base/gstcollectpads.h:
6309 Documentation updates.
6310 Free queued buffer when removing a pad.
6312 2006-08-31 Michael Smith <msmith@fluendo.com>
6314 * gst/gstutils.c: (gst_element_link_pads),
6315 (gst_element_link_pads_filtered):
6316 Ensure that we set a capsfilter to NULL if we failed to link it
6317 when doing filtered linking, to avoid criticals.
6319 No need to check for unreffing srcpad, which is explicly NULLed
6320 above (a trivial code cleanup).
6322 2006-08-31 Wim Taymans <wim@fluendo.com>
6324 * docs/design/part-gstghostpad.txt:
6325 Update ascii art in documentation.
6327 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6328 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6329 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6330 (gst_ghost_pad_internal_do_activate_push),
6331 (gst_ghost_pad_internal_do_activate_pull),
6332 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6333 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6334 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6335 (gst_ghost_pad_set_target):
6336 Small cleanups and leak fixes.
6337 Remove some checks now that the internal pad is never NULL.
6338 Fix the case where linking pads without a target would create nasty
6339 criticals. Fixes #341029.
6340 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6341 value of _set_target().
6343 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6344 (gst_ghost_pad_suite):
6345 Some more tests for creating and linking untargeted ghostpads.
6347 2006-08-31 Edward Hervey <edward@fluendo.com>
6349 * docs/gst/gstreamer-sections.txt:
6350 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6351 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6352 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6353 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6354 (gst_ghost_pad_new_from_template),
6355 (gst_ghost_pad_new_no_target_from_template):
6356 * gst/gstghostpad.h:
6357 Refactored *_new() functions.
6358 Templates are now used as a g_object_new() parameter.
6359 Use template in _do_getcaps() if we don't have a target.
6360 Small documentation cleanups.
6361 Added two new constructors:
6362 gst_ghost_pad_new_from_template()
6363 gst_ghost_pad_new_no_target_from_template()
6364 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6365 (gst_ghost_pad_suite):
6366 Added tests for new ghostpad instanciation functions.
6368 API additions: gst_ghost_pad_new_from_template,
6369 gst_ghost_pad_new_no_target_from_template
6371 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6373 * docs/random/ensonic/profiling.txt:
6374 Ideas about qos profiling.
6376 2006-08-29 Wim Taymans <wim@fluendo.com>
6378 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6382 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6385 Improve and detypofy docs.
6387 * tests/check/Makefile.am:
6388 * tests/check/gst/.cvsignore:
6389 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6390 Add a basic test suite for GstXML.
6392 2006-08-29 Wim Taymans <wim@fluendo.com>
6394 * gst/gstelement.c: (activate_pads), (clear_caps),
6395 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6396 Clear the pad caps when the element shut down all of the pads and
6397 is not streaming data that could modify the caps.
6400 2006-08-28 Michael Smith <msmith@fluendo.com>
6402 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6403 Revert previous change; I misunderstood single-segment mode.
6405 2006-08-28 Michael Smith <msmith@fluendo.com>
6407 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6408 Unset DISCONT on buffers when using single-segment mode.
6410 2006-08-28 Wim Taymans <wim@fluendo.com>
6412 * gst/gstcaps.c: (gst_caps_merge_structure):
6414 Fix docs and indentation again.
6416 * tests/check/gst/gstquery.c: (GST_START_TEST):
6417 Fix leak in tests and add some more tests.
6419 2006-08-28 Edward Hervey <edward@fluendo.com>
6421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6422 Inform GstSegment of the last stop position in order for the current
6423 segment to have a proper duration if it doesn't have a specific stop
6424 position from which a duration could be calculated.
6425 This bug was noticeable when a non-flushing, non-update new segment was
6426 followed by another segment (all buffers from the new segment were being
6429 2006-08-28 Wim Taymans <wim@fluendo.com>
6431 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6432 Small comment update.
6434 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6435 (gst_identity_transform_ip):
6436 Drop-probability is broken, mention this in the code with a
6437 FIXME and also in the property description.
6438 Make silent also be silent about the drop messages.
6440 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6442 * docs/manual/appendix-win32.xml:
6443 Remove mention of popt, we don't depend on that any
6444 longer (#353136). Add some comments pointing out that
6445 this section is slightly outdated.
6447 2006-08-28 Wim Taymans <wim@fluendo.com>
6449 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6451 * gst/gstquery.c: (gst_query_new_segment):
6452 * tests/check/gst/gstquery.c: (GST_START_TEST):
6453 Initialize variables when creating a new segment query.
6456 2006-08-28 Wim Taymans <wim@fluendo.com>
6458 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6460 * gst/gstelement.c: (gst_element_get_bus):
6461 * tests/check/gst/gstelement.c: (GST_START_TEST):
6462 Check for NULL before _reffing the bus. Fixes #353122.
6464 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6466 * docs/manual/basics-bus.xml:
6467 Docs update: fix wrong callback return value explanation; add
6468 some lines about the implicit relationship between main loop
6469 and main context; remove duplicate main loop variable declaration.
6471 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6473 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6474 Don't leak caps in unit test; add a few more simple
6477 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6479 * docs/gst/gstreamer-sections.txt:
6480 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6481 (gst_caps_structure_is_subset), (gst_caps_merge),
6482 (gst_caps_merge_structure):
6484 * libs/gst/base/gstbasetransform.c:
6485 (gst_base_transform_transform_caps):
6486 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6487 implement caps merging (fixes #352580)
6489 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6491 * tools/Makefile.am:
6492 * tools/gst-plot-timeline.py:
6493 add debug-log plotting developer tool (#340674)
6495 2006-08-23 Wim Taymans <wim@fluendo.com>
6497 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6498 (gst_pad_stop_task):
6499 Improve debugging for task functions.
6501 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6502 (gst_task_start), (gst_task_pause), (gst_task_join):
6503 Make sure that the task function started and finished after a
6505 Don't try to push the task function on the threadpool multiple
6507 Improve the g_warning message with some useful suggestions
6508 about how to fix the problem.
6510 2006-08-23 Wim Taymans <wim@fluendo.com>
6512 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6513 Handle RESYNC correctly in _proxy_getcaps.
6515 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6517 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6518 (gst_xml_parse_memory), (gst_xml_get_element):
6519 Chain up to parent class in dispose function and also
6520 unref the elements in the toplevel_elements GList.
6521 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6522 Always return a reference in gst_xml_get_element() rather
6523 than only sometimes.
6525 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6526 Don't leak GstXml object.
6528 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6530 * docs/gst/gstreamer-sections.txt:
6531 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6534 * libs/gst/base/gstbasetransform.c:
6535 (gst_base_transform_transform_caps):
6536 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6539 2006-08-21 Edward Hervey <edward@fluendo.com>
6541 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6542 Implement GObject::dispose virtual method in GstXML so we can free the
6545 2006-08-21 Wim Taymans <wim@fluendo.com>
6547 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6548 (gst_buffer_create_sub):
6549 Copy duration/offset_end/caps when creating a subbuffer of the
6551 Make the subbuffer read-only when we make the metadata writable for
6554 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6555 Added check for metadata copy when creating subbuffers.
6557 2006-08-21 Edward Hervey <edward@fluendo.com>
6559 * libs/gst/base/gstbasetransform.c:
6560 (gst_base_transform_buffer_alloc):
6561 Only call downstream buffer_alloc if transform element is passthrough
6562 or always_in_place. Closes #350449.
6564 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6567 ChangeLog surgery to add comments to previous changes
6569 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6574 * gst/gstpad.c: (gst_pad_set_active):
6575 Be more verbose in the log
6577 * libs/gst/base/gstbasetransform.c:
6578 (gst_base_transform_transform_caps):
6579 Simplify caps to get rid of duplicates, fixes #345444
6581 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6585 Use these optimizations only internally.
6587 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6589 * gst/gstvalue.c: (gst_value_compare_list),
6590 (gst_value_compare_fraction_range),
6591 (gst_value_intersect_fraction_fraction_range),
6592 (gst_value_intersect_fraction_range_fraction_range),
6593 (gst_value_subtract_fraction_fraction_range),
6594 (gst_value_subtract_fraction_range_fraction_range),
6595 (gst_value_get_compare_func), (gst_value_compare),
6596 (gst_value_compare_with_func):
6598 Saves the expensive lookup of the compare function in many cases
6601 2006-08-18 Edward Hervey <edward@fluendo.com>
6603 * tests/check/gst/gstinfo.c: (gst_info_suite):
6604 Disable test that require gstdebug if it wasn't built in core.
6606 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6608 * docs/random/ensonic/logging.txt:
6611 * gst/gstinfo.c: (gst_debug_log_default):
6612 reorder fields, save some columns, add optional color codes for log
6615 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6617 * docs/random/ensonic/logging.txt:
6618 add ideas about making the logs a bit more useful
6620 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6622 * docs/pwg/advanced-events.xml:
6623 * docs/pwg/titlepage.xml:
6624 Update for 0.10 API (#340627). Add myself
6627 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6629 * docs/libs/gstreamer-libs-docs.sgml:
6630 * docs/libs/gstreamer-libs-sections.txt:
6631 * libs/gst/check/gstbufferstraw.c:
6632 Make gstcheck stuff show up in docs (still needs to
6633 be documented properly though).
6635 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6637 * docs/gst/gstreamer-sections.txt:
6639 * gst/gst.c: (init_post):
6640 * gst/gst_private.h:
6641 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6643 * gst/gstquery.c: (gst_query_new_position),
6644 (gst_query_set_position), (gst_query_parse_position),
6645 (gst_query_new_duration), (gst_query_set_duration),
6646 (gst_query_parse_duration), (gst_query_new_convert),
6647 (gst_query_set_convert), (gst_query_parse_convert),
6648 (gst_query_new_segment), (gst_query_set_segment),
6649 (gst_query_parse_segment), (gst_query_new_seeking),
6650 (gst_query_set_seeking), (gst_query_parse_seeking):
6651 Add internal helpers for pre-registering quarks from static strings
6652 and using the quark values directly instead of looking them up when
6653 creating and parsing queries. Can be used for event construction too.
6656 2006-08-16 Wim Taymans <wim@fluendo.com>
6661 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6663 * gst/gstutils.c: (gst_util_set_value_from_string):
6664 Fix memleak (#351502).
6666 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6667 Add unit test for most of gst_util_set_value_from_string()
6668 (not that one would want to encourage use of this function).
6670 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6672 * libs/gst/check/gstcheck.h:
6673 Use const gchar * variables in fail_unless_equals_string
6674 macro to avoid compiler warnings (and don't use tabs for
6677 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6679 * tools/gst-launch.c: (print_tag):
6680 More space on the left for the tag names, to cater
6681 for the 'extended comment' tag (not touching the
6682 string for the first line since it's translated).
6684 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6686 * libs/gst/check/gstcheck.h:
6687 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6688 print something when they fail.
6690 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6692 * docs/gst/gstreamer-sections.txt:
6693 * gst/gsttaglist.c: (_gst_tag_initialize):
6695 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6696 Also change merge function for GST_TAG_COMMENT to
6699 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6701 * gst/gstinfo.c: (gst_debug_print_object):
6702 Make GST_PTR_FORMAT print messages as well.
6704 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6705 (GST_START_TEST), (gst_info_suite):
6708 2006-08-14 Edward Hervey <edward@fluendo.com>
6710 * gst/gstelementfactory.c: (gst_element_register):
6711 If the GstElementClass doesn't have a GstElementDetails with all fields
6712 filled up correctly (longname, description AND author), then error out
6713 nicely instead of crashing.
6715 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6717 * gst/gststructure.c:
6718 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6721 Expand on the difference between arrays and lists as we use them.
6723 2006-08-14 Wim Taymans <wim@fluendo.com>
6725 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6726 If the parent state change function failed, don't assume we can safely
6727 stop the source, this will be done when the pads are deactivated.
6729 2006-08-14 Wim Taymans <wim@fluendo.com>
6732 * gst/gsttask.c: (gst_task_join):
6735 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6736 (gst_pad_stop_task):
6737 When pad (de)activation failed for some reason, restore the old
6738 activation mode and set the pad to flushing instead of assuming the
6740 If the _task_join() failed, reinstall the task on the pad so that it can
6741 be stopped later and return an error.
6743 2006-08-11 Andy Wingo <wingo@pobox.com>
6746 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6747 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6748 is only for users of API that don't want to see deprecated
6749 functions in the headers; people that want to compile out
6750 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6751 CFLAGS. Fixes the build of multifdsink, or will soon..
6753 2006-08-11 Wim Taymans <wim@fluendo.com>
6755 * docs/gst/gstreamer-sections.txt:
6756 Add GstClockClass vmethod docs.
6759 Mark #endif with comment for associated #if
6761 * gst/gstclock.c: (gst_clock_id_wait):
6763 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6764 most clock implementations.
6766 Flesh out docs about resolution methods.
6767 API: GstClockClass::wait_jitter
6769 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6770 (gst_system_clock_async_thread),
6771 (gst_system_clock_id_wait_jitter_unlocked),
6772 (gst_system_clock_id_wait_jitter):
6773 Use base class wait_jitter variant for improved performance
6774 due to less clock polling.
6776 2006-08-11 Edward Hervey <edward@fluendo.com>
6778 * gst/gst.c: (gst_init_check), (init_post):
6779 Set gst as being initialized before scanning/updating the registry,
6780 since there might be my python plugin loader that calls gst_init() and
6781 we don't want to loop back in.
6784 2006-08-11 Wim Taymans <wim@fluendo.com>
6786 * docs/design/part-qos.txt:
6787 Bring docs in line with the code. Mostly the sign of the jitter was
6788 wrong in the docs. Fixes #349943.
6791 Fix the docs for the jitter.
6793 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6794 (gst_event_parse_tag), (gst_event_new_buffer_size),
6795 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6796 (gst_event_new_seek), (gst_event_parse_seek),
6797 (gst_event_new_navigation):
6798 Make sure the GstStructure has no parent when creating custom
6800 Add some more argument checking so that we avoid 0.0 rates.
6801 Flesh out the docs for the QoS event some more.
6803 2006-08-11 Wim Taymans <wim@fluendo.com>
6805 * docs/gst/gstreamer-sections.txt:
6806 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6807 (ensure_current_registry_forking), (ensure_current_registry),
6808 (parse_one_option), (parse_goption_arg), (gst_deinit),
6809 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6812 Added API and command line option to disable registry forking in
6813 addition to the environment variable.
6814 Constify some static arrays.
6815 Added some more debug.
6817 API: gst_registry_fork_is_enabled()
6818 API: gst_registry_fork_set_enabled()
6819 API: --gst-disable-registry-fork command line option
6822 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6824 * gst/gst.c: (gst_init):
6825 Fix typo in error message.
6827 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6829 * libs/gst/controller/gstcontroller.h:
6830 fix ABI size-correction
6832 * tests/check/libs/gdp.c: (gst_dp_suite):
6833 make tests that use deprecated API conditional
6835 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6837 * docs/libs/gstreamer-libs-sections.txt:
6838 * libs/gst/controller/gstcontroller.c:
6839 (_gst_controller_get_property), (_gst_controller_set_property),
6840 (_gst_controller_init), (_gst_controller_class_init):
6841 * libs/gst/controller/gstcontroller.h:
6842 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6843 (gst_object_set_control_rate):
6844 API: add gst_object_{s,g}et_control_rate(), add private data section,
6847 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6848 * libs/gst/dataprotocol/dataprotocol.h:
6849 add deprecation guards to make gtk-doc happy and allow disabling cruft
6851 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6853 * tests/check/Makefile.am:
6854 * tests/check/gst/.cvsignore:
6855 Let's enable the new unit test as well.
6857 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6860 * docs/gst/gstreamer-sections.txt:
6861 * gst/gstconfig.h.in:
6862 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6863 (_gst_info_printf_extension_ptr),
6864 (_gst_info_printf_extension_segment):
6865 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6866 register that lets us easily dump GstSegments into debug
6869 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6870 (info_segment_format_printf_extension), (gst_info_suite):
6871 Add simple unit test that logs a bunch of different segments (not
6872 valgrinded at the moment because of leaks in
6873 gst_debug_add_log_function).
6875 2006-08-09 Edward Hervey <edward@fluendo.com>
6877 * libs/gst/base/gstbasetransform.c:
6878 (gst_base_transform_buffer_alloc):
6879 Even if we can't figure out the proper format to request downstream,
6880 call buffer_alloc() downstream with the input parameters without setting
6881 the caps on the srcpad. This will force negotiation in the chain
6885 2006-08-08 Edward Hervey <edward@fluendo.com>
6887 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6888 Unlinking from a pad without a target is now a perfectly valid case
6889 which should NOT raise an assertion.
6890 This case would happen if a linked ghostpad its target set to NULL after
6891 it was previously linked.
6893 2006-08-08 Edward Hervey <edward@fluendo.com>
6895 * tests/check/libs/gdp.c:
6896 Also comment out the test (see below).
6898 2006-08-08 Edward Hervey <edward@fluendo.com>
6900 * tests/check/libs/gdp.c: (gst_dp_suite):
6901 Use the architecture information from config.h and not gcc macros
6902 in order to properly disable a test that fails on PPC64.
6904 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6906 * gst/gstelement.c: (gst_element_remove_pad):
6907 Don't crash printing the warning if the pad has no parent.
6909 2006-08-02 Wim Taymans <wim@fluendo.com>
6911 * libs/gst/dataprotocol/dataprotocol.c:
6912 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6913 (gst_dp_crc), (gst_dp_header_payload_length),
6914 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6915 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6916 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6917 (gst_dp_event_from_packet), (gst_dp_validate_header),
6918 (gst_dp_validate_payload):
6919 Make debug category static
6920 Constify the crc table.
6921 Do some more arg checking in public functions.
6922 Fix some docs and do some small cleanups.
6924 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6925 Add some more checks to see if GDP deals with bogus input.
6927 2006-07-31 Wim Taymans <wim@fluendo.com>
6929 * gst/gstvalue.c: (gst_value_compare_list):
6930 Fix GstValueList comparison code. Fixes #347293.
6932 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6933 Check to test GstValueList comparison.
6935 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6937 * gst/gstelementfactory.c: (gst_element_factory_create):
6938 Remove unnecessary ref/unref pair
6940 * gst/parse/grammar.y:
6941 Make sure to free the parse buffer on all code paths.
6942 Move a g_free up to the error handler where it's easier to see.
6944 * tests/check/gst/gstevent.c: (test_event):
6945 Extending timeout for downstream travelling events to 10 seconds to
6946 hopefully avoid intermittent failure on the buildbots.
6948 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6949 Don't manually set the state of the src element - it will happen as a
6950 natural consequence of the pipeline changing state, and that way it
6951 will do it in the right order too.
6953 2006-07-31 Wim Taymans <wim@fluendo.com>
6955 * libs/gst/base/gstbasetransform.c:
6956 (gst_base_transform_buffer_alloc):
6957 Use OBJECT_LOCK and refcounting to get the pad caps in the
6958 buffer_alloc function because the caps could change while we are
6959 busy with them. Fixes #349105
6961 2006-07-31 Wim Taymans <wim@fluendo.com>
6963 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6964 Protect _PAD_CAPS with OBJECT_LOCK.
6966 2006-07-31 Wim Taymans <wim@fluendo.com>
6968 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6969 (gst_pad_get_property), (gst_pad_activate_pull),
6970 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6971 (gst_pad_set_activate_function),
6972 (gst_pad_set_activatepull_function),
6973 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6974 (gst_pad_set_getrange_function),
6975 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6976 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6977 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6978 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6979 (gst_pad_set_acceptcaps_function),
6980 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6981 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6982 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6983 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6984 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6985 (gst_pad_configure_sink), (gst_pad_configure_src),
6986 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6987 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6988 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6989 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6990 (gst_pad_send_event):
6991 Use _DEBUG_OBJECT when it makes sense.
6992 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6993 Small cleanups and code reflows.
6994 Avoid caps refcounting in _accept_caps.
6995 Refactor alloc_buffer so that the code performed on the peer is in a
6996 separate function. Also if the pad does not implement a buffer alloc
6997 function, we should still check if the pad is flushing before falling
6998 back to the default allocator.
7000 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7002 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7003 Make all uses of identity and fakesink have silent=true to avoid
7004 serialising every passing data structure, which is breaking tests
7005 on FC4 for some unknown reason.
7007 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7009 * gst/parse/Makefile.am:
7010 * gst/parse/grammar.y:
7011 * gst/parse/parse.l:
7012 Reverted previous patch as it required to bump the flex dependency to
7013 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7015 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7017 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7019 * gst/parse/Makefile.am:
7020 * gst/parse/grammar.y:
7021 * gst/parse/parse.l:
7022 push & pop the state of the lexer for reentrant use case
7025 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7027 * libs/gst/base/gstbasesrc.h:
7028 Note in the docs that the ::newsegment vfunc is not actually used by
7031 2006-07-28 Wim Taymans <wim@fluendo.com>
7033 * libs/gst/base/gstcollectpads.c:
7034 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7035 (gst_collect_pads_clear), (gst_collect_pads_flush),
7036 (gst_collect_pads_event), (gst_collect_pads_chain):
7037 When flushing a pad, also clear the queued buffer so that we don't
7038 accidentally use it when we shouldn't.
7039 Fix leaks by inreffing incomming buffer.
7040 Flush out queued buffers in case of errors.
7043 2006-07-28 Wim Taymans <wim@fluendo.com>
7045 * docs/random/phonon-gst:
7046 Random notes about a Phonon backend.
7048 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7050 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7052 * tests/check/libs/gdp.c: (gst_dp_suite):
7053 Take a whack at fixing the ppc compile using a different define to
7054 disable the broken test.
7056 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7057 Remove excess g_print()
7059 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7061 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7062 Oops, meant to uncomment this line too to dampen the noise a bit.
7064 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7066 * gst/parse/grammar.y:
7067 * gst/parse/parse.l:
7068 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7069 (GST_START_TEST), (parse_suite):
7070 Fix some of the leaks exposed by extending the parse-launch testsuite,
7071 and move the 3 I can't figure out into a separate test that won't run
7072 the pipelines unless the appropriate line is uncommented.
7074 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7076 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7077 Requesting 0 bytes before the end of the file should result in
7078 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7081 2006-07-27 Wim Taymans <wim@fluendo.com>
7083 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7084 Fix useless assert, a uint is always positive.
7086 * gst/gststructure.c: (gst_structure_nth_field_name),
7087 (gst_structure_foreach), (gst_structure_map_in_place):
7088 Check input arguments for public functions to avoid obvious crashes.
7090 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7091 * plugins/elements/gstfakesink.h:
7092 Do less useless typechecking.
7094 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7096 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7097 Do not use mmap() by default since there are a number of error
7098 conditions that we would like to handle in a non-fatal way that
7099 will result in a SIGBUS if we use mmap(). Examples: external
7100 devices (USB harddrive, portable music player) being unplugged
7101 while in use; file on mounted CD/DVD that can't be read because
7102 the medium is partly damaged. Fixes #348455 and #348475.
7104 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7107 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7110 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7112 * gst/gstregistry.c:
7113 Move big documentation comment into class section header, so that it
7114 appears in the API docs.
7116 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7118 * docs/gst/gstreamer-sections.txt:
7119 Oops. Commit the docs additions too for new API.
7120 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7122 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7124 * gst/gststructure.c: (gst_structure_id_set),
7125 (gst_structure_id_set_valist):
7126 * gst/gststructure.h:
7127 Add API for setting values into structures without performing
7128 a quark lookup, if the appropriate quark is already known.
7130 API: gst_structure_id_set
7131 API: gst_structure_id_set_valist
7133 * gst/parse/grammar.y:
7134 * gst/parse/parse.l:
7135 Remove some dead code shown by the coverage information.
7136 Don't throw a critical g_warning when encountering a syntax error,
7137 just warn and let the normal error path handle it.
7139 * plugins/elements/gstelements.c:
7140 Bump the rank of filesink up to PRIMARY so that it is preferred over
7141 gnomevfssink for file:// sink uri's
7143 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7144 (GST_START_TEST), (run_delayed_test),
7145 (gst_parse_test_element_base_init),
7146 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7147 (gst_parse_test_element_change_state),
7148 (gst_register_parse_element), (parse_suite):
7149 Beef up the tests for parse syntax to check that more error cases
7150 fail as they are supposed to. Increases the test coverage a bit.
7152 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7154 * docs/manual/basics-elements.xml:
7155 Fix gst_element_link() example.
7158 Mention in API docs that one should usually gst_bin_add()
7159 elements to a bin or pipeline before doing the linking.
7161 2006-07-26 Wim Taymans <wim@fluendo.com>
7163 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7164 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7165 Avoid function call for known types by keeping the buffer and
7166 subbuffer GType global.
7168 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7169 Random silly optimisations in read() path.
7171 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7173 * tools/gst-launch.c: (main):
7174 If the top-level of the parse is a normal bin, it doesn't do the
7175 right logic to run as a top-level element, so place it inside a
7178 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7180 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7181 Remove superfluous g_object_notify() calls, GObject does
7182 that for us automatically.
7184 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7187 on Win32, use dllspec to export the debug category symbols
7189 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7191 * gst/gsttaglist.c: (_gst_tag_initialize):
7192 Allow more than one GST_TAG_IMAGE per taglist.
7194 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7196 * gst/gstminiobject.c:
7198 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7199 (gst_fd_src_create):
7200 log recurring events at LOG level
7201 add more debug for when the fd gets set
7203 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7205 * gst/gstparse.c: (gst_parse_launch):
7206 Also remove reentrance checks if flex is MT safe (#348179)
7207 Fix my empty ChangeLog entry below
7209 2006-07-21 Andy Wingo <wingo@pobox.com>
7211 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7213 * libs/gst/check/Makefile.am
7214 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7215 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7216 * libs/gst/check/gstbufferstraw.h:
7217 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7218 functions, thus proving I am still a GStreamer haxor. OK I wrote
7219 them a long time ago, but anyways.
7221 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7224 * gst/gstparse.c: (gst_parse_launch):
7225 Check for flex version and omit mutex if we have a MT save flex
7228 2006-07-21 Wim Taymans <wim@fluendo.com>
7230 * gst/gstparse.c: (gst_parse_launch):
7231 Protect recursive calls to _parse with a recursive mutex
7234 2006-07-21 Wim Taymans <wim@fluendo.com>
7236 * tests/check/gst/gstpad.c: (GST_START_TEST):
7239 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7241 * gst/gstparse.c: (gst_parse_launch):
7242 Do not hang on recursive usage of gst_parse_launch()
7244 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7247 Add some more docs, comments and FIXME 0.11s here and there
7248 and also fix some typos.
7250 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7253 Convert tabs to spaces for better readability.
7255 2006-07-20 Edward Hervey <edward@fluendo.com>
7257 * tests/check/libs/gdp.c: (gst_dp_suite):
7258 the test_buffer test fails at line 140 on ppc64 at the following
7260 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7261 GST_BUFFER_FLAG_IN_CAPS),
7262 "GST_BUFFER_IN_CAPS flag should have been copied !");
7263 See bug #348114 for more details.
7265 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7267 * docs/pwg/advanced-scheduling.xml:
7269 Fix typos (#348000).
7271 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7273 * docs/pwg/intro-basics.xml:
7274 Fix wrong links (#347927).
7276 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7278 * gst/gstregistry.h:
7279 * gst/gstregistryxml.c: (load_feature),
7280 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7281 * win32/common/config.h:
7282 make --disable-index work (#342564)
7284 2006-07-18 Wim Taymans <wim@fluendo.com>
7286 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7290 The attached patch adds two missing defines to gsttrace.h when tracing
7291 is disabled. It also corrects one existing define.
7294 2006-07-17 Wim Taymans <wim@fluendo.com>
7296 * docs/gst/gstreamer-sections.txt:
7297 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7299 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7300 Add two functions to check and change the SIGSEGV behaviour
7301 when loading plugins.
7302 Don't mess with the SIGSEGV handler when we were told not to.
7304 API: gst_segtrap_is_enabled
7305 API: gst_segtrap_set_enabled
7307 2006-07-14 Wim Taymans <wim@fluendo.com>
7309 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7310 * tests/check/elements/filesrc.c: (GST_START_TEST):
7311 Revert fix for regression in #347408 after release.
7313 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7315 Patch by: Antoine Tremblay <hexa00 at gmail com>
7317 * gst/gstutils.c: (gst_element_unlink):
7318 Free iterator when done (#347311).
7320 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7321 And add a test case for this.
7323 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7326 Bump nano back to CVS
7328 === release 0.10.9 ===
7330 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7333 releasing 0.10.9, "On the road again"
7335 2006-07-13 Wim Taymans <wim@fluendo.com>
7337 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7338 * tests/check/elements/filesrc.c: (GST_START_TEST):
7339 Revert pull-0 fix for release. Disable check. Fixes #347408.
7341 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7343 * libs/gst/dataprotocol/dataprotocol.c:
7344 (gst_dp_event_from_packet_1_0):
7345 Fixes #347337: failure to deserialize event packets with
7346 empty payload (only event type)
7348 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7351 do not install a .c file in the header directory
7353 2006-07-13 Edward Hervey <edward@fluendo.com>
7355 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7356 GhostPad no longer implicitely use the padtemplates of the targets.
7359 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7361 * gst/gstvalue.c: (gst_value_compare_list),
7362 (gst_value_compare_array), (_gst_value_initialize):
7363 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7364 Make GstValueArray comparison be order dependent as designed.
7365 Add checks for value lists and value array comparisons.
7368 2006-07-11 Edward Hervey <edward@fluendo.com>
7370 * gst/gstbin.c: (activate_pads),
7371 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7372 (gst_bin_change_state_func):
7373 (de)activate src pads before calling state_change on the childs.
7374 This is to avoid the case where a src ghostpad is blocked (holding the
7375 stream lock), which would block the deactivation of the ghostpad's
7377 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7378 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7379 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7380 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7381 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7382 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7383 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7384 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7385 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7386 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7387 (gst_ghost_pad_class_init),
7388 (gst_ghost_pad_internal_do_activate_push),
7389 (gst_ghost_pad_internal_do_activate_pull),
7390 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7391 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7392 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7393 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7394 GhostPads now create their internal GstProxyPad at creation (and not
7395 when they're linked, as it was being done previously).
7396 The internal and target pads are linked straight away.
7397 The data will also travel through the other pad in order to make
7398 pad blocking and probes non-hackish (the probe/block now really happens
7399 on the GhostPad and not on the target).
7400 * gst/gstpad.c: (gst_pad_set_blocked_async),
7401 (gst_pad_link_prepare), (gst_pad_push_event):
7402 Remove previous ghostpad cruft.
7403 * gst/gstutils.c: (gst_pad_add_data_probe),
7404 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7405 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7406 (gst_pad_remove_buffer_probe):
7407 Remove previous ghost pad cruft.
7408 Added more detailed debug statements.
7409 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7410 Fix the testsuite for refcounting changes.
7411 The comments about who has references were correct, but the refcount
7412 being checked wasn't the same (!?!).
7416 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7418 * docs/gst/gstreamer-sections.txt:
7419 * gst/gstconfig.h.in:
7420 More docs for configuration options, add docs to gtk-doc.
7422 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7425 * gst/gstconfig.h.in:
7426 * win32/common/config.h:
7427 Fix build when disabling tracing (fixes #344016). Also start to document
7428 the defines that disable the sub-systems.
7430 2006-07-10 Edward Hervey <edward@fluendo.com>
7432 * gst/gst.c: (ensure_current_registry_forking):
7433 let's make valgrind happy...
7435 2006-07-09 Wim Taymans <wim@fluendo.com>
7437 * gst/gstelement.c: (activate_pads),
7438 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7439 Better pad activation code: Reset the collect value too on resync.
7442 2006-07-09 Wim Taymans <wim@fluendo.com>
7444 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7445 (gst_pad_activate_push):
7446 Use some more macros where it makes sense.
7447 Allow pad mode switching instead of asserting. When a pad
7448 is activated in one mode and we activate it in another,
7449 deactivate it first before activating it in a different mode.
7452 2006-07-08 Andy Wingo <wingo@pobox.com>
7454 * tools/gst-launch.c (main): Handle err == NULL.
7456 * gst/gst.c (init_post, ensure_current_registry)
7457 (ensure_current_registry_forking)
7458 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7459 factoring out the registry scanning into separate functions. Don't
7460 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7461 Better environment var name/interface suggestions accepted.
7463 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7465 * gst/gstobject.c: (gst_object_set_name_default),
7466 (gst_object_set_name):
7467 Random micro-optimisation: don't use a hash table
7468 with strings as keys and the usual strdup/strcmp
7469 involved, but rather just use the GQuark of the
7470 type name as key, since it needs to be looked up
7471 anyway to get the type name string.
7473 * tests/check/gst/gstobject.c: (GST_START_TEST):
7476 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7478 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7479 (gst_bin_iterate_all_by_interface):
7480 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7481 GTypes are gulongs and thus the top 4 bytes might be cut
7482 off on some platforms when doing GPOINTER_TO_INT, leading
7483 to invalid GTypes and bad things happening (see RH bug #179654).
7484 Also add a check to make sure the type passed in is really
7487 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7492 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7496 * gst-element-check.m4:
7497 * gst-element-check.m4.in:
7498 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7499 instead of the unversioned gst-inspect (#324176, #168659).
7501 2006-07-06 Wim Taymans <wim@fluendo.com>
7504 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7507 2006-07-06 Wim Taymans <wim@fluendo.com>
7509 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7510 (gst_base_src_wait), (gst_base_src_update_length),
7511 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7512 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7513 (gst_base_src_loop), (gst_base_src_start),
7514 (gst_base_src_activate_pull):
7516 blocksize == 0 now means the default blocksize when working in push
7518 Remove some pointless asserts in _wait function.
7519 Fix offset/length calculations and EOS handling. We can now pull 0
7520 bytes as well, which is allowed.
7521 use _check_get_range() to decide if we can operate in _pull based
7523 Fix refcounting leak when check_get_range function was not
7525 API GstBaseSrc::blocksize range can be 0 too now (default)
7527 * tests/check/elements/filesrc.c: (GST_START_TEST),
7529 Added check to test _get_range() behaviour.
7531 2006-07-06 Wim Taymans <wim@fluendo.com>
7533 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7534 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7535 (gst_pad_pull_range):
7537 Lots of comments and docs added to the pad functions.
7538 Flesh out the expected behaviour of the get_range() functions.
7540 2006-07-06 Wim Taymans <wim@fluendo.com>
7545 * gst/gstiterator.h:
7549 Remove comma at end of enumerator list.
7551 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7553 * win32/common/libgstbase.def:
7554 * win32/common/libgstdataprotocol.def:
7555 * win32/common/libsgtreamer.def:
7556 Add new exported functions.
7558 2006-07-05 Wim Taymans <wim@fluendo.com>
7560 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7561 Add some more docs here and there.
7563 2006-07-05 Wim Taymans <wim@fluendo.com>
7565 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7566 (gst_base_sink_loop), (gst_base_sink_get_position):
7567 When operating in pull mode update the offset so that we
7570 2006-07-05 Wim Taymans <wim@fluendo.com>
7572 * gst/gstregistryxml.c: (read_string):
7573 Avoid strdup. (will happen in libxml, but hey!)
7578 2006-07-05 Wim Taymans <wim@fluendo.com>
7580 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7581 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7583 No point in checking if the size of the subbuffer > 0, the
7584 code handles it correclty as demonstrated by unit test.
7585 Also add a unit test for the zero sized _new_and_alloc and
7586 _copy. Fixes #346663.
7588 2006-07-05 Wim Taymans <wim@fluendo.com>
7590 * libs/gst/base/gstbasetransform.c:
7591 (gst_base_transform_prepare_output_buffer),
7592 (gst_base_transform_buffer_alloc),
7593 (gst_base_transform_handle_buffer):
7594 Make sure the buffer we pass to transform_ip has a refcount of
7595 1 and thus is writable. Fixes #343196
7597 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7599 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7600 (gst_file_src_init), (gst_file_src_set_property),
7601 (gst_file_src_get_property), (gst_file_src_map_region):
7602 * plugins/elements/gstfilesrc.h:
7603 Add "sequential" property, off by default, to use madvise and hint
7604 to the kernel that sequential access is desired.
7605 Touch all retrieved pages by default to ensure they are pulled
7606 into memory. (Closes #345720)
7608 2006-07-03 Wim Taymans <wim@fluendo.com>
7610 * docs/design/part-block.txt:
7611 * docs/design/part-dynamic.txt:
7614 2006-07-03 Wim Taymans <wim@fluendo.com>
7616 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7617 (gst_caps_unref), (gst_static_caps_get),
7618 (gst_caps_append_structure):
7619 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7620 Use GSlice when the glib we build against is >= 2.10
7622 2006-07-03 Wim Taymans <wim@fluendo.com>
7624 * gst/gstelement.c: (gst_element_pads_activate):
7625 Small cleanup in pad activation code.
7627 2006-07-03 Wim Taymans <wim@fluendo.com>
7629 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7631 * gst/gst-i18n-app.h:
7632 * gst/gst-i18n-lib.h:
7633 * tools/gst-inspect.c: (print_signal_info):
7634 The attached patch will make the inclusion of gettext.h unconditional in
7635 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7636 libintl.h in tools/gst-inspect.c.
7637 This allows use of --disable-nls again and fixes #344642.
7639 2006-07-03 Edward Hervey <edward@fluendo.com>
7641 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7642 Implement pad blocking on events according to part-block.txt.
7643 More comments on behaviour.
7644 * tests/check/gst/gstevent.c: (test_event):
7645 Send event to peer pad of blocked pad (else it will block).
7647 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7649 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7650 (gst_check_run_suite):
7651 if we get the wrong message, give us the types as string
7652 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7654 * tests/check/elements/filesrc.c: (GST_START_TEST):
7655 add a test for trying to open a non-existing file
7657 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7659 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7660 add a test for adding self
7662 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7664 * libs/gst/check/gstcheck.h:
7665 add some assert_ as alias for fail_unless_*
7666 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7667 increase test coverage
7669 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7672 include lcov.mak for lcov coverage generation
7673 * tools/Makefile.am:
7676 2006-07-02 Edward Hervey <edward@fluendo.com>
7678 * tests/check/elements/.cvsignore:
7681 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7684 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7685 * tests/check/Makefile.am:
7688 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7690 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7691 remove gst_caps_simplify; it was not declared and not used
7692 and deprecated in 0.8
7694 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7696 * docs/faq/gst-uninstalled:
7697 don't put empty paths on PYTHONPATH
7698 * docs/gst/gstreamer-sections.txt:
7699 remove some symbols that are not there
7701 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7703 * gst/gstcaps.c: (gst_caps_compare_structures):
7705 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7706 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7709 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7711 * libs/gst/dataprotocol/Makefile.am:
7712 build dataprotocol test by linking to the lib, instead of
7713 compiling the source, so we get coverage
7714 * tests/check/Makefile.am:
7715 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7716 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7717 add a test for filesrc
7719 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7721 * tests/check/gst/gststructure.c: (GST_START_TEST),
7722 (gst_structure_suite):
7723 Push coverage from 59.04% to 70.00%
7725 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7727 * tests/check/Makefile.am:
7728 gst-inspect every element; this makes sure that we also get
7729 coverage on element's get/set functions
7731 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7734 set CFLAGS and friends to -O0 if gcov is being used
7737 * libs/gst/base/Makefile.am:
7738 * libs/gst/check/Makefile.am:
7739 * libs/gst/controller/Makefile.am:
7740 * libs/gst/dataprotocol/Makefile.am:
7741 * libs/gst/net/Makefile.am:
7742 * plugins/elements/Makefile.am:
7743 * plugins/indexers/Makefile.am:
7744 add makefile rules to generate gcov data and clean up
7745 * tests/check/Makefile.am:
7746 add a coverage target that generates an html overview
7749 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7751 * tests/check/elements/fakesink.c:
7752 * tests/check/elements/fakesrc.c:
7753 * tests/check/elements/fdsrc.c:
7754 * tests/check/elements/identity.c:
7755 * tests/check/generic/sinks.c: (gst_sinks_suite):
7756 * tests/check/generic/states.c:
7757 * tests/check/gst/gst.c:
7758 * tests/check/gst/gstabi.c:
7759 * tests/check/gst/gstbin.c:
7760 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7761 * tests/check/gst/gstbus.c: (gst_bus_suite):
7762 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7763 * tests/check/gst/gstelement.c:
7764 * tests/check/gst/gstevent.c: (gst_event_suite):
7765 * tests/check/gst/gstghostpad.c:
7766 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7767 * tests/check/gst/gstmessage.c: (gst_message_suite):
7768 * tests/check/gst/gstminiobject.c:
7769 * tests/check/gst/gstobject.c:
7770 * tests/check/gst/gstpad.c:
7771 * tests/check/gst/gstpipeline.c:
7772 * tests/check/gst/gstplugin.c:
7773 * tests/check/gst/gstquery.c: (gst_query_suite):
7774 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7775 * tests/check/gst/gststructure.c:
7776 * tests/check/gst/gstsystemclock.c:
7777 * tests/check/gst/gsttag.c:
7778 * tests/check/gst/gsttask.c: (gst_task_suite):
7779 * tests/check/gst/gstutils.c:
7780 * tests/check/gst/gstvalue.c:
7781 * tests/check/libs/adapter.c:
7782 * tests/check/libs/basesrc.c:
7783 * tests/check/libs/collectpads.c:
7784 * tests/check/libs/controller.c:
7785 * tests/check/libs/gdp.c: (gst_dp_suite):
7786 * tests/check/libs/gstnetclientclock.c:
7787 * tests/check/libs/gstnettimeprovider.c:
7788 * tests/check/libs/libsabi.c: (libsabi_suite):
7789 * tests/check/libs/typefindhelper.c:
7790 * tests/check/pipelines/cleanup.c:
7791 * tests/check/pipelines/parse-launch.c:
7792 * tests/check/pipelines/simple-launch-lines.c:
7793 * tests/check/pipelines/stress.c: (stress_suite):
7796 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7798 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7799 * libs/gst/check/gstcheck.h:
7800 create a macro and function so that the simple unit test
7801 case can be just one macro to create main()
7803 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7805 * gst/gstbin.c: (gst_bin_restore_thyself):
7806 * gst/gstxml.c: (gst_xml_make_element):
7807 Fix deserialisation from XML. Set parent manually
7808 instead of using gst_bin_add(), since gst_bin_add()
7809 will unlink all pads of the element being added.
7812 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7814 Patch by: Peter Kjellerstedt <pkj at axis com>
7816 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7817 Fix missing g_strdup() and double free when using the
7818 --gst-plugin-load command line option (#346097).
7820 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7823 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7825 * libs/gst/net/gstnetclientclock.c:
7826 * libs/gst/net/gstnettimeprovider.c:
7827 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7829 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7831 * docs/manual/advanced-dataaccess.xml:
7832 Fix buffer probe example compilation in
7835 2006-06-22 Edward Hervey <edward@fluendo.com>
7837 * gst/gstelement.c: (gst_element_pads_activate):
7838 We need to deactivate src pads first and then sink pads.
7839 The reason is the src pads might be blocking while holding the streaming
7840 lock, so we need to deactivate them first so that deactivating the sink
7841 pads doesn't block (since it will require the streaming lock).
7843 2006-06-22 Wim Taymans <wim@fluendo.com>
7845 * libs/gst/base/gstbasetransform.c:
7846 (gst_base_transform_buffer_alloc):
7847 Forgot to remove two unneeded unrefs.
7848 Simplify a check _is_equal allready checks the obvious case.
7850 2006-06-22 Wim Taymans <wim@fluendo.com>
7852 * docs/design/part-block.txt:
7853 Some docs about what pad_block should do.
7855 2006-06-22 Wim Taymans <wim@fluendo.com>
7857 * gst/gstcaps.c: (gst_caps_replace):
7858 Fix crasher when passed NULL. Doc clarification.
7859 Optimize for the trivial case.
7861 * gst/gstpipeline.c: (gst_pipeline_change_state):
7864 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7865 Small documentation cleanup.
7867 * libs/gst/base/gstbasetransform.c:
7868 (gst_base_transform_buffer_alloc):
7869 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7870 is what we need and it avoids a whole lot of redundant
7871 refcount operations.
7873 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7875 Patch by: Philip Jägenstedt <philip at lysator liu se>
7877 * docs/manual/advanced-dataaccess.xml:
7878 Fix 'Embedding static elements' section to use
7879 GST_PLUGIN_DEFINE_STATIC (#345607).
7881 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7883 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7884 Attempt to 'fix' spuriously failing test case: it seems like the
7885 timeout of half a second is simply too small when the system is under
7886 load otherwise, and the timeout doesn't really seem to serve any
7887 particular purpose here. Give the pipeline a few seconds to preroll
7888 first, and then give it another half a second to go from PAUSED to
7889 PLAYING and marshal the message into the main thread.
7891 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7893 * tools/gst-feedback-m.m:
7894 Don't only use unversioned tools, try versioned tools as well
7897 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7899 * gst/gstbus.c: (gst_bus_class_init):
7900 Fix some typos, make docs more explicit.
7902 2006-06-20 Wim Taymans <wim@fluendo.com>
7904 * tests/check/gst/gstghostpad.c: (block_callback),
7905 (GST_START_TEST), (gst_ghost_pad_suite):
7906 Added some more ghostpad tests, mainly blocking
7909 2006-06-16 Wim Taymans <wim@fluendo.com>
7911 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7912 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7913 (gst_file_sink_event), (gst_file_sink_render):
7914 * plugins/elements/gstfilesink.h:
7915 Check if we can seek in the file instead of assuming
7916 we always can. Post an error when we are asked to seek in a
7917 non-seekable file (like a fifo). Fixes #343312.
7920 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7922 * tools/gst-launch.1.in:
7923 Un-garble (fourcc) bit in filtered caps section.
7925 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7927 * docs/manual/advanced-autoplugging.xml:
7928 * docs/manual/basics-helloworld.xml:
7929 * docs/manual/highlevel-components.xml:
7930 Don't leak bus reference in sample code.
7932 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7935 Add default for new --enable-plugin-docs switch.
7938 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7942 Use new ENABLE_PLUGIN_DOCS conditional.
7944 2006-06-14 Wim Taymans <wim@fluendo.com>
7946 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7947 Make it clear with a FIXME and a real define what the #if 0
7948 previously disabled.
7950 2006-06-14 Wim Taymans <wim@fluendo.com>
7952 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7953 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7954 * libs/gst/base/gstbasetransform.c:
7955 (gst_base_transform_sink_eventfunc):
7956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7957 Don't randomly and silently reset a segment when the format
7958 changes as this is a bug somewhere upstream. Fixes #330379.
7960 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7962 Patch by: Wouter Paesen <wouter at kangaroot net>
7964 * libs/gst/controller/gstcontroller.c:
7965 (gst_controlled_property_new):
7966 Fix controlling of float properties (#344849).
7968 * tests/check/libs/controller.c:
7969 (gst_test_mono_source_get_property),
7970 (gst_test_mono_source_set_property),
7971 (gst_test_mono_source_class_init), (GST_START_TEST):
7972 While we're at it, add some float stuff to unit test.
7974 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7977 * docs/images/gdp-header.svg:
7979 * docs/libs/Makefile.am:
7980 * docs/libs/gdp-header.png:
7981 * libs/gst/dataprotocol/dataprotocol.c:
7982 add it to the API docs
7983 * docs/manual/intro-motivation.xml:
7986 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7988 * gst/gst.c: (scan_and_update_registry), (init_post):
7989 If the fork()'ed child process can't write the updated registry cache
7990 file to disk for some reason, make it exit with a failure exit code,
7991 so that the parent can then re-scan the plugins itself and update the
7992 registry structures in memory and work with that (rather than failing
7993 when creating elements because seemingly no plugins are available).
7994 Refactor registry scanning code into separate function for this and
7995 also separate fork() and non-fork() code paths. Fixes #344748.
7997 2006-06-13 Wim Taymans <wim@fluendo.com>
7999 * docs/manual/advanced-dataaccess.xml:
8000 Fix wrong PluginDesc. Fixes #344755.
8002 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8004 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8005 Fix silly bug that prevented us from creating
8006 ~/.gstreamer-0.10 and writing the registry in one
8007 go (the first call to g_mkstemp() would overwrite the
8008 placeholder in the template string, so the second call
8009 to g_mkstemp() after creating the missing directory
8010 would then error out with 'invalid argument').
8012 2006-06-13 Edward Hervey <edward@fluendo.com>
8014 * gst/gst.c: (init_post):
8017 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8019 * gst/glib-compat-private.h:
8020 * gst/glib-compat.c:
8021 * gst/glib-compat.h:
8022 * gst/gstvalue.c: (gst_value_serialize_flags):
8023 remove GLib 2.6 compatibility code
8025 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8027 * gst/parse/Makefile.am:
8028 Fix build with 'make -j N' even more (#340016).
8030 2006-06-12 Wim Taymans <wim@fluendo.com>
8032 * docs/gst/gstreamer-sections.txt:
8035 2006-06-12 Wim Taymans <wim@fluendo.com>
8037 * gst/gstsegment.c: (gst_segment_set_duration),
8038 (gst_segment_set_last_stop), (gst_segment_set_seek),
8039 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8040 (gst_segment_to_running_time), (gst_segment_clip):
8041 Use G_UNLIKELY to help the compiler a bit.
8043 2006-06-12 Wim Taymans <wim@fluendo.com>
8045 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8047 * gst/gstevent.c: (gst_event_get_type):
8049 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8051 constify quark registration strings. Fixes #344115
8052 Avoid unneeded type checking is _pad_push() by internally
8053 calling gst_pad_chain_unchecked().
8055 2006-06-12 Wim Taymans <wim@fluendo.com>
8057 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8058 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8059 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8060 (gst_buffer_is_span_fast), (gst_buffer_span):
8061 Init _type for consistency.
8062 Use _FLAGS macro to avoid type check.
8063 Avoid unneeded type checks in subbufer code.
8065 2006-06-12 Wim Taymans <wim@fluendo.com>
8067 * gst/gst.c: (gst_debug_help):
8068 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8069 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8070 (gst_plugin_feature_list_free):
8071 * gst/gstregistry.c: (gst_registry_add_plugin),
8072 (gst_registry_add_feature), (gst_registry_plugin_filter),
8073 (gst_registry_feature_filter), (gst_registry_find_plugin),
8074 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8075 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8076 * gst/gstregistryxml.c: (load_feature),
8077 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8078 * gst/gstminiobject.c: (gst_mini_object_unref),
8079 (gst_mini_object_replace), (gst_value_mini_object_free),
8080 (gst_value_mini_object_copy):
8081 Use _CAST macros to avoid unneeded type checking.
8082 Added some more G_UNLIKELY.
8084 2006-06-12 Wim Taymans <wim@fluendo.com>
8087 Avoid unneeded type checking.
8088 API: GST_BUFFER_IS_DISCONT
8090 * gst/gstminiobject.h:
8091 Avoid type check in flag accessor.
8093 * gst/gstelementfactory.h:
8095 * gst/gstpluginfeature.h:
8097 API: GST_ELEMENT_FACTORY_CAST
8098 API: GST_PLUGIN_CAST
8099 API: GST_PLUGIN_FEATURE_CAST
8101 2006-06-12 Wim Taymans <wim@fluendo.com>
8103 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8105 Add G_UNLIKELY in type registration.
8106 Avoid type check in _ref/_unref since that is also
8109 2006-06-12 Wim Taymans <wim@fluendo.com>
8111 * gst/gsterror.c: (gst_g_error_get_type):
8112 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8113 (gst_static_pad_template_get_type):
8114 * gst/gsttaglist.c: (gst_tag_list_get_type):
8115 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8116 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8117 * gst/gsturi.c: (gst_uri_handler_get_type):
8118 * gst/gstvalue.c: (gst_date_get_type):
8119 * gst/gstxml.c: (gst_xml_get_type):
8120 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8121 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8122 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8123 Add G_UNLIKELY in type registration.
8125 2006-06-12 Wim Taymans <wim@fluendo.com>
8127 * tools/gst-inspect.c: (print_signal_info):
8128 Properly print enum values.
8130 2006-06-12 Wim Taymans <wim@fluendo.com>
8132 * gst/gstinfo.c: (gst_debug_set_active),
8133 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8135 Add some G_[UN]LIKELY.
8136 Maintain __gst_debug_min to avoid formatting the arguments of
8137 debug messages that will be dropped anyway to avoid a lot of
8138 overhead from the debugging system.
8140 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8144 add missing files containing translatable strings, tell intltool about
8147 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8149 * tests/check/libs/.cvsignore:
8150 add test-binary to ignore list
8152 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8154 * docs/libs/gstreamer-libs-docs.sgml:
8155 reorder (put dp into a chapter) and indent
8157 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8162 === release 0.10.8 ===
8164 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8167 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8169 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8171 * gst/gst.c: (init_post):
8172 move pid declaration to declaration block
8174 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8176 * gst/gst.c: (init_post):
8177 use _exit() instead of exit() in our forked child; this ensures
8178 that none of the registered exit handlers from whatever is using
8179 GStreamer get executed. This fixes gnome-mixer-applet failing
8180 to load, because ORBit would shut down.
8181 Spotted by: Edward Hervey <edward@fluendo.com>
8182 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8185 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8190 === release 0.10.7 ===
8192 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8195 releasing 0.10.7, "Soepeke, ik zie ou"
8197 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8220 * win32/common/config.h:
8223 2006-06-07 Wim Taymans <wim@fluendo.com>
8225 * gst/gstindex.c: (gst_index_gtype_resolver):
8226 * tools/gst-xmlinspect.c: (print_plugin_info):
8227 Fix leak spotted by coverity checker. Fixes #343827
8228 Fix another other leak found by paolo borelli.
8230 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8232 * libs/gst/dataprotocol/dataprotocol.c:
8233 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8234 (gst_dp_version_get_type), (gst_dp_init),
8235 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8236 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8237 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8238 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8239 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8240 (gst_dp_packetizer_free):
8241 * libs/gst/dataprotocol/dataprotocol.h:
8242 API: add a GstDPPacketizer object, and create/free functions
8243 API: add GstDPVersion enum
8244 Add 1.0 event function that uses the string serialization
8245 Serialize more useful buffer flags
8248 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8250 * tests/check/Makefile.am:
8251 * tests/check/gst/gstabi.c:
8252 * tests/check/gst/struct_ppc64.h:
8253 * tests/check/libs/libsabi.c:
8254 * tests/check/libs/struct_ppc64.h:
8255 add ppc64 structure sizes
8257 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8259 * tests/check/Makefile.am:
8260 * tests/check/gst/gstabi.c:
8261 * tests/check/gst/struct_x86_64.h:
8262 * tests/check/libs/libsabi.c:
8263 * tests/check/libs/struct_x86_64.h:
8264 generate and add structure size lists for x86_64
8266 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8268 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8269 * libs/gst/check/gstcheck.h:
8270 factor out the method from tests that checks size of structures,
8271 and add code to generate the header containing these sizes
8272 * tests/check/gst/gstabi.c: (GST_START_TEST):
8273 * tests/check/gst/struct_i386.h:
8274 * tests/check/libs/libsabi.c: (GST_START_TEST):
8275 * tests/check/libs/struct_i386.h:
8278 2006-06-06 Michael Smith <msmith@fluendo.com>
8281 Don't use c++-style comments, fixes #343929
8283 2006-06-05 Edward Hervey <edward@fluendo.com>
8286 plugin_paths is not used if we build without registry support.
8288 * gst/gstsegment.c: (gst_segment_copy):
8289 _copy() was always returning NULL...
8291 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8293 * libs/gst/dataprotocol/dataprotocol.c:
8294 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8295 (gst_dp_packet_from_event):
8298 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8300 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8301 make sure we unset caps
8303 2006-06-02 Michael Smith <msmith@fluendo.com>
8305 * libs/gst/check/gstcheck.c: (gst_check_init),
8306 (gst_check_chain_func):
8307 * libs/gst/check/gstcheck.h:
8308 Add a cond/mutex to the check support lib, signal this whenever we
8309 add to the buffers list. This will allow tests to not busy-wait on
8312 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8314 * libs/gst/dataprotocol/dataprotocol.c:
8315 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8316 (gst_dp_packet_from_event):
8317 factor out some common header init code
8319 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8321 * docs/libs/gstreamer-libs-sections.txt:
8322 * docs/libs/tmpl/gstdataprotocol.sgml:
8323 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8324 * libs/gst/dataprotocol/dataprotocol.h:
8325 API: make gst_dp_crc() public
8327 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8329 * plugins/indexers/gstindexers.c: (plugin_init):
8330 conditionally register fileindexer (fixes #343598)
8332 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8334 * gst/gsttagsetter.h:
8335 Can't cast ifaces to a class
8337 * libs/gst/net/gstnetclientclock.h:
8338 * libs/gst/net/gstnettimeprovider.h:
8339 * plugins/elements/gstfakesink.h:
8340 * plugins/elements/gstfakesrc.h:
8341 * plugins/elements/gstfdsink.h:
8342 * plugins/elements/gstfdsrc.h:
8343 * plugins/elements/gstfilesink.h:
8344 * plugins/elements/gstfilesrc.h:
8345 * plugins/elements/gstidentity.h:
8346 * plugins/elements/gstqueue.h:
8347 * plugins/elements/gsttee.h:
8348 * plugins/indexers/gstfileindex.c:
8349 * plugins/indexers/gstmemindex.c:
8350 * tests/old/examples/plugins/example.h:
8351 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8353 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8355 * libs/gst/dataprotocol/dataprotocol.c:
8356 (gst_dp_header_from_buffer):
8357 make sure we zero the whole ABI-compatible area
8359 2006-06-01 Wim Taymans <wim@fluendo.com>
8361 Patch by: Alessandro Decina <alessandro at nnva dot org>
8363 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8364 Make sure the EOS flag is cleared from pads after a flush
8365 or stop. Fixes #343538.
8367 * tests/check/libs/collectpads.c: (GST_START_TEST),
8368 (gst_collect_pads_suite):
8369 Added test for collectpads reusage after EOS.
8371 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8374 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8375 * win32/common/libgstbase.def:
8376 export gst_collect_pads_set_flushing
8377 * win32/common/libgstreamer.def:
8378 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8379 gst_value_fraction_multiply
8380 * win32/vs6/gst_inspect.dsp:
8381 add a link to intl.lib
8383 2006-05-30 Wim Taymans <wim@fluendo.com>
8385 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8386 (gst_collect_pads_chain):
8387 Handle the case where a pad is removed from the collection
8388 that could cause the other pads to become collectable.
8390 2006-05-30 Wim Taymans <wim@fluendo.com>
8393 Clarify the use of _release_request_pad() and
8394 _get_request_pad() a bit better.
8396 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8397 (gst_adapter_take_buffer):
8398 Fix some doc and comment typos.
8400 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8402 * docs/gst/gstreamer-sections.txt:
8403 * docs/libs/gstreamer-libs-sections.txt:
8404 add declared symbols
8406 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8408 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8409 Add debug that can be enabled using a #define at the top of the file,
8410 for dumping stats about how late/early we were when waking up from
8411 waiting on the clock.
8413 2006-05-30 Wim Taymans <wim@fluendo.com>
8415 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8416 When rebuilding the pad list, don't leak the previous list.
8418 2006-05-30 Wim Taymans <wim@fluendo.com>
8420 Patch by: Lutz Mueller <lutz at topfrose dot de>
8422 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8423 (gst_base_src_get_query_types), (gst_base_src_update_length):
8424 Publish supported query types.
8425 Update last_stop field in get_range mode so the position
8426 query works. Fixes #342321.
8428 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8430 * docs/gst/gstreamer-sections.txt:
8431 * gst/gsttaglist.c: (_gst_tag_initialize):
8433 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8435 2006-05-30 Wim Taymans <wim@fluendo.com>
8437 Patch by: Alessandro Decina <alessandro at nnva dot org>
8439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8440 Unlock mutex when removing an unknown pad.
8443 * tests/check/Makefile.am:
8444 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8445 (push_event), (setup), (teardown), (GST_START_TEST),
8446 (gst_collect_pads_suite), (main):
8447 Added collecpads check, disabled for now as check crashes for
8450 2006-05-29 Wim Taymans <wim@fluendo.com>
8452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8453 Don't leak pads lists.
8455 2006-05-29 Wim Taymans <wim@fluendo.com>
8457 * docs/libs/gstreamer-libs-sections.txt:
8458 * libs/gst/base/gstcollectpads.c:
8459 (gst_collect_pads_set_flushing_unlocked),
8460 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8461 (gst_collect_pads_stop):
8462 * libs/gst/base/gstcollectpads.h:
8463 API: gst_collect_pads_set_flushing()
8464 Added api to set the pads to flushing, useful for seeking
8465 code in elements using collectpads.
8466 Clear segment when receiving a flush.
8468 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8470 * gst/gst.c: (add_path_func), (init_post):
8471 Don't scan registry paths passed via --gst-plugin-path immediately
8472 (will crash, because absolutely nothing is set up and no types are
8473 registered etc.); do this later in init_post(). Fixes #343057.
8475 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8477 * gst/gst.c: (init_post):
8478 if we have fork, fork while reading/rebuilding the registry
8479 so the parent doesn't take the hit of having all plugins loaded
8480 in memory. Fixes #342777.
8482 Check if we have fork()
8483 * win32/common/config.h.in:
8486 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8488 * plugins/elements/gstelements.c:
8489 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8490 (gst_file_src_init), (gst_file_src_set_property),
8491 (gst_file_src_get_property), (gst_file_src_start):
8492 * plugins/elements/gstfilesrc.h:
8493 API: GstFileSrc::use-mmap
8495 Add a use-mmap property to enable easier testing of all code paths.
8496 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8497 in the absence of gnomevfssrc. (Closes #340501)
8499 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8501 * tools/gst-inspect.c:
8502 Add missing include, removes warning of ngettext not being defined on
8505 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8507 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8508 Handle NULL input and output pointers silently as a failed conversion,
8509 rather than g_warnings.
8511 2006-05-25 Wim Taymans <wim@fluendo.com>
8513 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8514 Initialize variable before using. Fixes #342820.
8516 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8518 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8519 Fix off-by-one bug that would only allow peeks of N-1 bytes
8520 from the start even if the buffer to typefind on contains
8521 in fact N bytes of data (makes vorbis typefinding from a
8522 vorbis identification header buffer work).
8524 * tests/check/Makefile.am:
8525 * tests/check/libs/.cvsignore:
8526 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8527 (gst_typefindhelper_suite), (main), (foobar_typefind),
8529 Add very basic unit test for gst_type_find_helper_for_buffer()
8530 that checks for the problem fixed above.
8532 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8534 * tools/gst-inspect.c: (print_interfaces),
8535 (print_element_properties_info), (print_element_list), (main):
8536 add more translatable strings
8538 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8540 Patch by: Julien Moutte <julien at moutte net>
8542 * docs/gst/gstreamer-sections.txt:
8543 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8545 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8546 (gst_fake_sink_preroll):
8547 * plugins/elements/gstfakesink.h:
8548 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8550 2006-05-23 Wim Taymans <wim@fluendo.com>
8552 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8554 Added _CUSTOM error and success GstFlowReturn that can be
8555 used be elements internally.
8556 Added macro to check for SUCCESS flowreturns.
8557 API: GST_FLOW_CUSTOM_SUCCESS
8558 API: GST_FLOW_CUSTOM_ERROR
8559 API: GST_FLOW_IS_SUCCESS
8561 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8562 Added check for GstFlowReturn sanity.
8564 2006-05-23 Wim Taymans <wim@fluendo.com>
8566 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8569 (gst_collect_pads_event):
8570 clear/reset segment info in FLUSH_STOP.
8573 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8575 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8576 (gst_collect_pads_check_collected):
8577 Flush queued buffer on _stop(), fixes playing again (#342454)
8579 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8581 * tests/check/gst/gststructure.c: (GST_START_TEST),
8582 (gst_structure_suite):
8583 add a test for a complete structure
8585 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8587 * docs/faq/developing.xml:
8589 * docs/faq/troubleshooting.xml:
8590 * docs/faq/using.xml:
8591 Some minor FAQ updates that won't change the fact that
8592 our FAQ is badly structured, full of information hardly
8593 anyone new to GStreamer needs to know and lacking lots
8594 of information people constantly ask for.
8596 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8598 * gst/gstpad.c: (gst_pad_set_caps):
8599 Short-circuit gst_pad_set_caps if setting the existing
8600 caps pointer again, and avoid printing debug and
8601 reffing/unreffing the caps.
8603 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8604 There's actually no need to set the caps before pushing -
8605 the acceptcaps method will handle it anyway.
8607 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8609 * docs/gst/gstreamer-sections.txt:
8610 * win32/common/libgstreamer.def:
8611 * gst/gstutils.c: (gst_element_seek_simple):
8613 API: add gst_element_seek_simple() (#342238).
8615 2006-05-18 Edward Hervey <edward@fluendo.com>
8617 * gst/gsttypefind.c: (gst_type_find_get_type):
8618 * gst/gsttypefind.h:
8619 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8620 registered for GstTypeFind pointers. This allows wrapping the structure
8621 in bindings (i.e. gst-python).
8623 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8625 * gst/gsttagsetter.c:
8626 Docs additions and fixes (see #339918).
8628 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8631 The caps intersection algorithm can produce multiple copies of the
8632 caps. Until that is fixed, we need to simplify the result to be
8633 sure whether the allowed caps are fixed or not.
8635 * plugins/elements/gstqueue.c: (gst_queue_init),
8636 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8637 (gst_queue_push_one):
8638 Proxied buffer alloc should not set the caps on the source pad.
8639 When pushing buffers, we always accept the caps change that triggers.
8640 This prevents negotiation errors caused by caps changing mid-stream
8641 and then being refused on our source pad (because upstream is now
8642 refusing those caps).
8644 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8646 * tests/examples/helloworld/helloworld.c: (main):
8647 Must plug audioconvert and audioresample between decoder
8650 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8652 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8653 (load_feature), (load_plugin):
8654 Allow empty strings for some of the plugin fields so we don't
8655 drop valid plugin entries that were written out correctly
8658 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8660 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8661 Use g_remove and g_rename instead of remove and rename that don't
8662 handle utf8 characters. rename was failing for users who had specific
8663 characters in their name then the registry was built at each
8665 * win32/vs6/gst_inspect.dsp:
8666 * win32/vs6/gst_launch.dsp:
8667 * win32/vs6/libgstbase.dsp:
8668 * win32/vs6/libgstcoreelements.dsp:
8669 * win32/vs6/libgstreamer.dsp:
8670 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8671 build of libgstreamer and clean unused libraries in projects link
8674 2006-05-17 Edward Hervey <edward@fluendo.com>
8676 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8677 The queue is not responsible for pushing an EOS when receiving a fatal
8678 flow error. It's up to the real element driving the pipeline to do that.
8680 2006-05-16 Edward Hervey <edward@fluendo.com>
8682 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8683 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8684 buffer returned a fatal error. It should just send an EOS and stop
8686 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8687 when pushing buffers on the queue and will be able to handle the event.
8689 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8691 * docs/manual/basics-bins.xml:
8692 * docs/manual/basics-init.xml:
8693 Fix typos and minor errors in sample code (#341856).
8695 2006-05-16 Wim Taymans <wim@fluendo.com>
8697 * docs/design/part-qos.txt:
8698 Fix indexes in formulas to make more sense.
8700 2006-05-15 Wim Taymans <wim@fluendo.com>
8702 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8703 Don't report POSITION based on clock time if sync is
8706 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8709 Add cast to make compiler happy - refcount variable was a gint
8710 in GstObject but is a guint in GObject and g_atomic_int_get()
8713 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8715 * gst/parse/Makefile.am:
8716 chain commands using &&, which also makes parallel make work
8718 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8720 * docs/gst/gstreamer-sections.txt:
8726 === release 0.10.6 ===
8728 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8731 releasing 0.10.6, "Take the cannoli"
8733 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8735 * tools/gst-launch.c: (print_tag):
8736 Fix use of uninitialized variable in the hypothetical
8737 case that some broken plugin creates a GST_TAG_IMAGE
8738 tag containing a NULL buffer (#341667).
8740 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8742 * tools/gst-launch.c: (print_tag):
8743 Print something more intelligible for image tags when
8744 using the -t switch (#341556).
8746 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8751 define GST_MAJORMINOR so we have it available in win32/common/config.h
8752 Possibly remove it from our Makefile.am files later
8753 * win32/common/config.h:
8754 * win32/common/config.h.in:
8755 added GST_MAJORMINOR
8756 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8757 * win32/common/gstversion.h:
8760 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8763 Update win32 files listing.
8764 * win32/common/gstversion.h:
8765 Add GST_MAJORMINOR definition.
8766 * win32/common/libgstreamer.def:
8767 Add new exported functions.
8769 2006-05-12 Michael Smith <msmith@fluendo.com>
8771 * gst/gstplugin.c: (gst_plugin_load_file):
8772 If an so file has no plugin entry point, unload the module.
8774 2006-05-11 Wim Taymans <wim@fluendo.com>
8776 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8777 (gst_queue_set_property):
8778 Don't forget to signal the _chain or _loop function
8779 when the queue size or thresholds change since that might
8780 cause them to make progres again.
8782 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8784 * gst/gstclock.c: (gst_clock_class_init):
8785 * gst/gstindex.c: (gst_index_class_init):
8786 * gst/gstobject.c: (gst_object_class_init):
8787 * gst/gstpad.c: (gst_pad_class_init):
8788 * gst/gstpipeline.c: (gst_pipeline_class_init):
8789 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8790 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8791 * libs/gst/base/gstbasetransform.c:
8792 (gst_base_transform_class_init):
8793 * libs/gst/net/gstnetclientclock.c:
8794 (gst_net_client_clock_class_init):
8795 * libs/gst/net/gstnettimeprovider.c:
8796 (gst_net_time_provider_class_init):
8797 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8798 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8799 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8800 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8801 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8802 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8803 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8804 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8805 * plugins/elements/gsttee.c: (gst_tee_class_init):
8806 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8807 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8808 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8810 2006-05-11 Wim Taymans <wim@fluendo.com>
8812 * gst/gstbuffer.c: (_gst_buffer_initialize):
8813 Register subbufer along with the buffer type so that
8814 it does not accidentally gets registered from N
8815 different streaming threads in a non threadsafe way.
8817 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8822 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8823 gst_event_ref() and gst_message_ref() functions again
8824 (ugly hack, please do fix if there's a better way besides
8825 overrides.txt, which doesn't seem to work).
8827 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8829 * libs/gst/check/gstcheck.h:
8830 add an assert for setting state to avoid lots of repetitive code
8833 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8835 * gst/gstvalue.c: (gst_value_serialize_flags):
8836 fix a leak if no flags are set
8837 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8840 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8842 * docs/manual/basics-pads.xml:
8843 Expand a bit on caps and filtered links and update
8844 examples that were still using the no longer existing
8845 gst_pad_link_filtered() (#338206).
8847 2006-05-10 Wim Taymans <wim@fluendo.com>
8849 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8850 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8851 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8852 (gst_collect_pads_stop):
8853 * libs/gst/base/gstcollectpads.h:
8854 No need to call _stop in _finalize.
8855 Iterate the main pad list in _finalize.
8856 Added some more debug.
8857 Free lists and data in the right order.
8858 Also free data whem doing _remove_pad when stopped for
8859 backward compatibility protect ::started with PAD_LOCK as
8862 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8864 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8865 (gst_structure_parse_value):
8867 rename a method so that it actually says what it does better
8869 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8871 * gst/gstevent.c: (_gst_event_initialize):
8872 * gst/gstformat.c: (_gst_format_initialize):
8873 make sure some essential types used by events are registered
8874 as part of gst_init()
8875 * gst/gstvalue.c: (gst_value_serialize_flags):
8876 if no flags are set, serialize them to a value that represents NONE
8877 so that deserializing them works
8878 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8879 add tests for serialization and deserialization of flags
8881 2006-05-10 Wim Taymans <wim@fluendo.com>
8883 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8884 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8885 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8886 (gst_collect_pads_event), (gst_collect_pads_chain):
8889 Catch and return errors from the collect function
8890 Refuse data on eos pads.
8892 2006-05-10 Edward Hervey <edward@fluendo.com>
8894 * gst/gstinterface.h:
8895 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8896 GInterface type checking.
8897 They were previously using non-defined macros.
8899 2006-05-09 Wim Taymans <wim@fluendo.com>
8901 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8902 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8903 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8904 (gst_collect_pads_start), (gst_collect_pads_stop),
8905 (gst_collect_pads_peek), (gst_collect_pads_pop),
8906 (gst_collect_pads_available), (gst_collect_pads_read),
8907 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8908 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8909 (gst_collect_pads_chain):
8910 * libs/gst/base/gstcollectpads.h:
8911 Clean up the mess that is collectpads, add comments and
8912 FIXMEs where needed.
8913 Maintain a separate pad list so we can add pads while
8914 collecting the other ones. For this we need a new separate
8916 Fix memory leak in finalize.
8917 Refactor some weird code to set/unset pad flushing flags, mark
8919 Don't crash in _available, _read, _flush when we're EOS.
8921 * tests/check/libs/.cvsignore:
8922 Ignore adapter check binary.
8924 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8926 * gst/gstindex.c: (gst_index_resolver_get_type):
8927 * plugins/elements/gstfakesink.c:
8928 (gst_fake_sink_state_error_get_type):
8929 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8930 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8931 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8932 Const-ify GEnumValue arrays.
8934 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8936 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8937 Add test case for flags + gst_buffer_make_metadata_writable().
8939 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8941 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8942 gst_buffer_make_metadata_writable() should maintain the
8943 buffer flags (those that make sense at least) (see #340859).
8945 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8947 * tools/gst-inspect.c:
8948 * tools/gst-launch.c:
8949 * tools/gst-typefind.c:
8950 * tools/gst-xmlinspect.c:
8952 Fix up includes: need to include stdlib.h in tools.h for exit().
8954 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8956 * gst/gsttaglist.c: (_gst_tag_initialize):
8958 API: add GST_TAG_IMAGE tag (#340721).
8960 2006-05-08 Wim Taymans <wim@fluendo.com>
8963 Added some docs for the segment query.
8965 2006-05-08 Wim Taymans <wim@fluendo.com>
8967 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8968 (gst_base_src_loop), (gst_base_src_change_state):
8969 Always push non-flushing serialized events in the streaming
8972 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8974 * gst/gsterror.c: (_gst_stream_errors_init):
8975 Add a missing error string.
8977 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8979 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8980 Add applied_rate to the debug
8982 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8983 Copy applied_rate into the outgoing NEWSEGMENT event
8985 2006-05-08 Wim Taymans <wim@fluendo.com>
8987 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8989 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8990 (gst_base_sink_change_state):
8991 call ::unlock before taking the PREROLL_LOCK so we can safely
8992 handle elements that lock in ::render.
8995 2006-05-08 Edward Hervey <edward@fluendo.com>
8997 * autogen.sh: (CONFIGURE_DEF_OPT):
8998 Darwin's libtoolize is in fact called glibtoolize.
8999 Adding glibtoolize to the list of accepted names for libtoolize.
9001 2006-05-08 Wim Taymans <wim@fluendo.com>
9003 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9004 Unify error handling, don't post an error message
9005 when a push() returns EOS but perform our normal EOS
9006 handling code. Fixes #340772.
9008 2006-05-08 Wim Taymans <wim@fluendo.com>
9010 * docs/design/part-overview.txt:
9011 Make upsteam/downstream concepts more clear.
9012 Give an example of serialized/non-serialized events.
9014 * docs/design/part-events.txt:
9015 * docs/design/part-streams.txt:
9016 Mention applied_rate.
9018 * docs/design/part-trickmodes.txt:
9019 Mention applied rate, flesh out some more use cases.
9021 * gst/gstevent.c: (gst_event_new_new_segment),
9022 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9023 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9024 (gst_event_parse_tag), (gst_event_new_buffer_size),
9025 (gst_event_parse_buffer_size), (gst_event_new_qos),
9026 (gst_event_parse_qos), (gst_event_parse_seek),
9027 (gst_event_new_navigation):
9029 Add applied_rate field to NEWSEGMENT event.
9030 API: gst_event_new_new_segment_full()
9031 API: gst_event_parse_new_segment_full()
9033 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9034 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9035 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9037 Add applied_rate to GstSegment structure.
9038 Make calculation of stream_time and running_time more correct
9039 wrt rate/applied_rate.
9041 API: GstSegment::applied_rate field
9042 API: gst_segment_set_newsegment_full();
9044 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9045 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9046 * libs/gst/base/gstbasetransform.c:
9047 (gst_base_transform_sink_eventfunc),
9048 (gst_base_transform_handle_buffer):
9049 Parse and use applied_rate in the GstSegment field.
9051 * tests/check/gst/gstevent.c: (GST_START_TEST):
9052 Add check for applied_rate field.
9054 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9055 (gstsegments_suite):
9056 Add more checks for various GstSegment operations.
9058 2006-05-08 Wim Taymans <wim@fluendo.com>
9060 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9061 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9062 (gst_base_sink_get_position), (gst_base_sink_change_state):
9063 Store the sync time of the buffer end position separatly in a
9064 new variable eos_rtime so we can properly sync the EOS event.
9066 Fix the docs for gst_base_sink_set_qos_enabled().
9067 Don't set segment start to invalid value when we receive a
9068 non TIME newsegment.
9069 get closer to handling position reporting for negative rates
9072 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9075 Docs about how to print caps for debug purposes.
9077 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9078 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9080 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9083 use full enum names and preprend a '%' in docs strings to make recent
9084 gtk-doc turn that into a link
9086 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9088 * docs/manual/basics-bins.xml:
9089 * docs/manual/basics-bus.xml:
9090 * docs/manual/basics-pads.xml:
9091 Some typo fixes, some additions, some clarifications.
9093 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9095 * tools/gst-inspect.c: (main):
9096 * tools/gst-launch.c: (main):
9097 * tools/gst-run.c: (main):
9098 * tools/gst-typefind.c: (main):
9099 * tools/gst-xmlinspect.c: (main):
9100 Use the string passed to g_option_context_new() for
9101 what it's intended for - the program name is already
9104 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9106 * tools/Makefile.am:
9107 * tools/gst-inspect.c: (main):
9108 * tools/gst-launch.c: (main):
9109 * tools/gst-xmlinspect.c: (main):
9111 Add back --version command line option (#340460).
9113 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9114 Add --version option and use GOption for argument parsing; refactor a
9115 bit; accept directories as arguments and recurse into them; lastly,
9116 print a decent error message when things go wrong.
9118 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9120 * docs/manual/basics-bins.xml:
9121 Don't mention GstThread (#340611)
9122 * docs/manual/basics-elements.xml:
9123 Update link to GObject tutorial (#340607)
9125 2006-05-05 Wim Taymans <wim@fluendo.com>
9128 * gst/gstminiobject.c:
9129 Add note about refcounting and miniobject/buffer writeability
9130 to docs. Fixes #340604
9132 * gst/gstelementfactory.h:
9133 Added some explanation about @klass.
9135 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9137 * docs/manual/intro-motivation.xml:
9138 * docs/manual/manual.xml:
9139 Avoid CORBA & Bonobo references (#340598)
9141 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9143 * docs/manual/basics-bus.xml:
9144 * docs/manual/basics-pads.xml:
9145 Fix up some inaccuracies and omissions (#340609)
9147 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9149 * gst/gstghostpad.c:
9150 Small typo in docs (#340625)
9152 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9154 * gst/parse/Makefile.am:
9155 Make 'make -j' proof (see #340698).
9157 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9160 Require GLib-2.8 here as well.
9162 2006-05-05 Wim Taymans <wim@fluendo.com>
9164 * gst/glib-compat.c:
9165 * gst/gst.c: (init_pre):
9166 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9167 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9168 (gst_object_dispatch_properties_changed):
9170 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9171 * gst/gststructure.c: (gst_structure_set_valist):
9172 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9173 Remove pre glib2.8 compatibility, fixes #340508
9175 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9178 Mention type of tags in doc blurbs.
9180 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9182 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9183 (gst_pad_configure_src), (gst_pad_push):
9184 Restore acceptcaps checking behaviour now that good plugins have
9187 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9189 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9200 * gst/parse/Makefile.am:
9201 * libs/gst/base/gstadapter.c:
9202 * libs/gst/base/gstbasesrc.c:
9203 * libs/gst/base/gstpushsrc.c:
9204 * libs/gst/base/gsttypefindhelper.c:
9205 * plugins/elements/gstfakesrc.c:
9206 * plugins/elements/gstidentity.c:
9207 Make sure gstprivate.h and/or config.h are
9208 always included first, otherwise some of our
9209 defines (like _FILE_OFFSET_BITS) might be
9210 redefined in the system headers. Fixes build
9211 on opensolaris (#340016).
9213 2006-05-04 Wim Taymans <wim@fluendo.com>
9215 * docs/libs/gstreamer-libs-sections.txt:
9216 API: addition: gst_adapter_take_buffer()
9218 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9219 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9220 (gst_adapter_available_fast):
9221 * libs/gst/base/gstadapter.h:
9222 Prepare for optimizing the hell out of this hugely inefficient
9224 Added gst_adapter_take_buffer() so we can at least start thinking
9225 about subbuffering and merging.
9226 Added some comments.
9228 * tests/check/Makefile.am:
9229 * tests/check/libs/adapter.c: (GST_START_TEST),
9230 (gst_adapter_suite), (main):
9231 Added GstAdapter check.
9233 2006-05-04 Wim Taymans <wim@fluendo.com>
9235 * docs/design/part-overview.txt:
9236 Fix some typos, add blurb about buffer flags.
9238 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9240 * docs/libs/gstreamer-libs-sections.txt:
9241 make sure GstBaseTransformClass shows up in the docs
9242 * libs/gst/base/gstbasetransform.c:
9243 * libs/gst/base/gstbasetransform.h:
9244 move docs so gtk-doc picks it up now
9246 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9248 * docs/libs/gstreamer-libs-sections.txt:
9249 add missing symbols to docs
9251 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9253 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9254 back out the newsegment handling change, see #340060 for ongoing
9257 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9259 * tools/gst-run.c: (get_candidates), (main):
9260 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9261 work); fix typo in error message. Fixes #340079.
9263 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9265 * common/Makefile.am:
9267 * docs/faq/Makefile.am:
9268 * docs/gst/Makefile.am:
9269 * docs/libs/Makefile.am:
9270 * docs/manual/Makefile.am:
9271 * docs/plugins/Makefile.am:
9272 * docs/pwg/Makefile.am:
9273 * docs/slides/Makefile.am:
9275 * common/upload.mak:
9276 move upload.mak to common
9278 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9280 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9281 add more asserts on refcounts
9282 do more cleanup at end of tests
9283 fix test leaks showing in FC5
9285 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9287 * plugins/elements/gsttypefindelement.c:
9288 (gst_type_find_element_handle_event):
9289 reverted wrong change and reflowed code to avoid others falling into
9292 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9294 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9295 fix changelog entry about last collectpads change,
9296 add notes about proper fix
9298 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9301 * gst/gstregistry.c: (gst_registry_scan_path_level),
9302 (gst_registry_scan_path):
9303 * gst/gstregistry.h:
9304 only write out registry if it has changed, fixes #338339
9306 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9309 * gst/gstpipeline.c:
9310 * plugins/elements/gstcapsfilter.c:
9311 * plugins/elements/gstfakesink.c:
9312 * plugins/elements/gstfakesrc.c:
9313 * plugins/elements/gstfdsink.c:
9314 * plugins/elements/gstfdsrc.c:
9315 * plugins/elements/gstfilesink.c:
9316 * plugins/elements/gstfilesrc.c:
9317 * plugins/elements/gstidentity.c:
9318 * plugins/elements/gstqueue.c:
9319 * plugins/elements/gsttee.c:
9320 * plugins/elements/gsttypefindelement.c:
9321 (gst_type_find_element_handle_event):
9322 make GstElementDetails const
9324 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9326 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9328 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9329 more detailed debug and formatting cleanup,
9330 forward newsegments to src-pad (so that e.g. adder not eats them)
9332 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9334 * gst/gstutils.c: (gst_element_link_pads):
9337 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9339 * libs/gst/controller/gstcontroller.c:
9340 (gst_controller_sync_values):
9342 * tests/check/libs/controller.c: (GST_START_TEST),
9343 (gst_controller_suite):
9344 a new test for live value handling
9346 2006-04-28 Wim Taymans <wim@fluendo.com>
9348 * gst/gstutils.c: (push_and_ref):
9349 Added some more docs.
9350 Fix refcount issue whith gst_element_found_tags() helper
9351 function. Fixes #338335
9353 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9354 Added testsuite for gst_element_found_tags().
9356 2006-04-28 Michael Smith <msmith@fluendo.com>
9358 * gst/gstvalue.c: (gst_value_serialize_flags):
9359 Avoid NULL dereference when trying to serialize flags containing
9362 2006-04-28 Michael Smith <msmith@fluendo.com>
9364 * plugins/elements/gsttypefindelement.c:
9365 (gst_type_find_element_handle_event):
9366 If we get EOS before any data is accumulated, don't use
9367 uninitialised local variables.
9369 2006-04-28 Michael Smith <msmith@fluendo.com>
9371 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9372 (gst_dp_event_from_packet):
9373 Fixes in reading/writing events over GDP (not currently used?) -
9374 dereferencing NULL events for unknown/invalid event types, memory
9375 leak, and change g_warning to GST_WARNING.
9377 2006-04-28 Wim Taymans <wim@fluendo.com>
9379 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9380 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9381 (gst_base_sink_get_position), (gst_base_sink_change_state):
9382 When frame dropping is enabled, we should not ignore frames
9384 Update some documentation.
9386 2006-04-28 Wim Taymans <wim@fluendo.com>
9388 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9389 (gst_base_src_send_event), (gst_base_src_change_state):
9390 Documentation updates.
9392 2006-04-28 Wim Taymans <wim@fluendo.com>
9394 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9395 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9396 handle EAGAIN, EINTR and short writes correctly. Also clean
9397 up some error cases, avoid a deadlock on bad file descriptors and
9398 use GST_DEBUG_OBJECT.
9401 2006-04-28 Wim Taymans <wim@fluendo.com>
9403 * gst/gstvalue.c: (gst_value_serialize_buffer),
9404 (gst_value_deserialize_buffer):
9405 Don't try to serialize a GValue with a NULL buffer.
9408 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9409 Added check for serialisation of NULL buffers.
9411 2006-04-28 Wim Taymans <wim@fluendo.com>
9413 * gst/gstminiobject.c: (gst_value_take_mini_object):
9414 Taking a NULL miniobject is valid, fix the case where
9415 we try to unref the NULL miniobject.
9417 2006-04-28 Wim Taymans <wim@fluendo.com>
9419 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9421 * gst/gstbin.c: (gst_bin_handle_message_func):
9423 Don't leak bin refcount when a state recalc is
9424 in progress and we delay another one #339808.
9426 2006-04-28 Wim Taymans <wim@fluendo.com>
9428 * docs/design/part-TODO.txt:
9429 Mention QoS as an ongoing work item.
9431 * docs/design/part-buffering.txt:
9432 New doc about buffering that needs to be fleshed out
9435 * docs/design/part-qos.txt:
9436 More QoS policy for decoders/demuxers/transforms
9438 * docs/design/part-trickmodes.txt:
9441 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9446 === release 0.10.5 ===
9448 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9451 releasing 0.10.5, "Fogo"
9453 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9455 patch by: Wim Taymans
9457 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9458 (gst_pad_configure_src), (gst_pad_push):
9459 * gst/gstpipeline.c: (gst_pipeline_init):
9460 Fix internal data flow errors. Fixes #338711.
9462 2006-04-12 Wim Taymans <wim@fluendo.com>
9464 * tests/check/gst/gstelement.c: (GST_START_TEST):
9465 Don't leak the factory.
9467 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9470 * win32/common/config.h:
9473 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9475 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9476 (gst_controller_unset_all):
9477 Free allocated GstTimedValues when freeing list nodes.
9478 Should fix leaks 'make check-valgrind' complains about.
9480 * win32/common/libgstcontroller.def:
9481 Add gst_controller_unset_all.
9483 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9485 * docs/libs/gstreamer-libs-sections.txt:
9486 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9487 (gst_controller_unset_all):
9488 * libs/gst/controller/gstcontroller.h:
9489 API: Added new method gst_controller_unset_all()
9490 fixed gst_controller_unset()
9491 * tests/check/libs/controller.c: (GST_START_TEST),
9492 (gst_controller_suite):
9493 Added two testcases for new and fixed method
9495 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9497 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9498 MSG_DONTWAIT is not defined on Cygwin, so work
9499 around that (fixes #317048).
9501 2006-04-11 Wim Taymans <wim@fluendo.com>
9503 * gst/gstelementfactory.c: (gst_element_register),
9504 (gst_element_factory_create), (gst_element_factory_make):
9507 Updated docs (Fixes #131079)
9509 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9512 * tests/check/gst/gstelement.c: (GST_START_TEST),
9513 (gst_element_suite):
9514 Added testcase for elementfactory class field.
9516 2006-04-10 Wim Taymans <wim@fluendo.com>
9519 Added some more docs.
9521 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9522 (gst_base_sink_reset_qos):
9523 Calculate more accurate rate values.
9525 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9527 * gst/gst_private.h:
9528 add a new #ifdef to use __declspec(dllimport) only for
9529 other modules and not for gstreamer core
9530 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9531 use gst_guint64_to_gdouble for conversion
9532 * win32/common/libgstreamer.def:
9533 add new exported functions
9534 * win32/vs6/gst_inspect.dsp:
9535 * win32/vs6/gst_launch.dsp:
9536 * win32/vs6/libgstbase.dsp:
9537 * win32/vs6/libgstcontroller.dsp:
9538 * win32/vs6/libgstcoreelements.dsp:
9539 * win32/vs6/libgstdataprotocol.dsp:
9540 * win32/vs6/libgstnet.dsp:
9541 update project files
9543 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9545 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9546 * gst/gstclock.c: (gst_clock_class_init):
9547 * gst/gstelement.c: (gst_element_class_init):
9548 * gst/gstindex.c: (gst_index_class_init):
9549 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9550 * gst/gstobject.c: (gst_object_class_init),
9551 (gst_signal_object_class_init):
9552 * gst/gstpad.c: (gst_pad_class_init):
9553 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9554 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9555 * gst/gstregistry.c: (gst_registry_class_init):
9556 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9557 * gst/gsttask.c: (gst_task_class_init):
9558 * gst/gstxml.c: (gst_xml_class_init):
9559 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9560 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9561 (gst_base_src_loop):
9562 * libs/gst/controller/gstcontroller.c:/
9563 (_gst_controller_class_init):
9564 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9565 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9566 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9567 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9568 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9569 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9571 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9573 * gst/gstpad.c: (gst_pad_link):
9574 Must set peer pads before calling the link function, otherwise
9575 a task started from a link function might get a flow-not-linked
9576 result when trying to push because the other thread where the
9577 linking happens hasn't had a chance to set the peers yet. This
9578 might happen for example when a queue gets linked to a downstream
9579 element, as queue starts a streaming task when its source pad
9580 gets linked. Happens in real life when playing back flac/musepack
9581 files in playbin (#332390).
9583 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9587 * libs/gst/base/gstadapter.h:
9588 * libs/gst/base/gstbasesink.h:
9589 * libs/gst/base/gstbasesrc.h:
9590 * libs/gst/base/gstbasetransform.h:
9591 * libs/gst/base/gstcollectpads.h:
9592 * libs/gst/base/gstpushsrc.h:
9593 Fix broken GObject macros
9595 2006-04-07 Wim Taymans <wim@fluendo.com>
9597 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9598 Initialize start and stop times, thanks valgrind.
9600 2006-04-07 Wim Taymans <wim@fluendo.com>
9602 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9603 Be a bit nicer to badly behaving upstream elements that expect
9604 us to deal with non TIME segments and timestamps (such as fakesrc
9607 2006-04-07 Wim Taymans <wim@fluendo.com>
9610 Small documentation clarification about the signal watch.
9612 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9613 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9614 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9615 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9616 (gst_base_sink_get_position_last),
9617 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9618 Convert and store timestamps in stream time and running time, the
9619 raw timestamps are not useful, also document this better.
9620 Use different window sizes for good and bad QoS observations so
9621 we react to badness a little quicker.
9622 Keep track of the amount of rendered and dropped buffers.
9623 Send QoS timestamps in running time.
9625 * libs/gst/base/gstbasetransform.c:
9626 (gst_base_transform_sink_eventfunc),
9627 (gst_base_transform_handle_buffer):
9628 Compare QoS timestamps against running time.
9630 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9635 2006-04-06 Michael Smith <msmith@fluendo.com>
9637 * gst/gstpad.c: (gst_pad_set_property):
9638 Use g_value_get_object() instead of g_value_dup_gst_object(),
9639 to avoid double-reffing the pad template (which we then sink,
9640 so this worked previously if (and only if) the pad template
9643 * gst/gstpadtemplate.c: (gst_pad_template_init),
9644 (gst_pad_template_pad_created):
9645 Never return floating references to pad templates, create
9646 them as initially-sunken.
9648 Document an extra function (and make this stop sinking our
9649 pad template, since that is now guaranteed to do nothing,
9650 since we created it sunken).
9652 * gst/gstghostpad.c:
9655 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9657 * gst/gstinfo.c: (__gst_in_valgrind):
9660 * plugins/elements/gsttypefindelement.c:
9661 (gst_type_find_element_chain):
9662 Don't leak buffer caps.
9664 2006-04-06 Michael Smith <msmith@fluendo.com>
9666 * gst/parse/grammar.y:
9667 Fix a leak in parse-launch for any source-or-sink named element
9670 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9671 Unref the pipeline if it exists after we've failed parsing.
9673 2006-04-05 Michael Smith <msmith@fluendo.com>
9675 * gst/gstpipeline.c: (gst_pipeline_init):
9676 When we create a pipeline bus, initially create it in flushing mode.
9677 Fixes leaks in at least one test, and makes a new pipeline work the
9678 same as one that has gone to READY and then back to NULL.
9683 2006-04-05 Michael Smith <msmith@fluendo.com>
9685 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9686 Unref a pad we reffed.
9687 * tests/check/gst/gstutils.c: (GST_START_TEST):
9690 2006-04-05 Michael Smith <msmith@fluendo.com>
9692 * gst/gstquery.c: (gst_query_set_formats),
9693 (gst_query_set_formatsv):
9694 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9696 2006-04-05 Michael Smith <msmith@fluendo.com>
9698 * tests/check/generic/sinks.c: (GST_START_TEST):
9699 Fix a variety of memleaks in sinks check, which are only sometimes
9700 shown by running the tests under valgrind (weird?).
9702 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9704 * docs/version.entities.in:
9705 Fix the substituted entity name after thomas' changes on the
9708 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9710 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9713 2006-04-05 Andy Wingo <wingo@pobox.com>
9715 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9717 * libs/gst/base/gstbasetransform.c
9718 (gst_base_transform_sink_eventfunc): When resetting our segment on
9719 FLUSH_STOP, also update the flag saying we haven't seen a
9722 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9724 Patch by: Paolo Borelli <pborelli at katamail dot com>
9726 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9727 (gst_plugin_check_license):
9728 minor clean-ups: G_DEFINE_TYPE already takes care of the
9729 parent_class stuff, no need to do it twice. Mark array of
9730 license strings as constant. (#337103)
9732 2006-04-04 Michael Smith <msmith@fluendo.com>
9734 * tools/gst-inspect.c: (print_element_list):
9735 Free the right plugin list; fixes a memory leak.
9737 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9739 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9741 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9742 Don't error out on empty buffers (#336945).
9744 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9746 * docs/libs/gstreamer-libs-sections.txt:
9748 * libs/gst/base/gstbasesink.c:
9749 * libs/gst/base/gstbasesink.h:
9750 * libs/gst/base/gstbasesrc.c:
9751 * libs/gst/base/gstbasesrc.h:
9752 Documentation updates. Make BaseSink and BaseSrc docs contain the
9753 class structure so that people can actually see the prototypes for
9754 virtual functions they're supposed to be overriding.
9756 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9758 * plugins/elements/gsttypefindelement.c:
9759 (gst_type_find_element_chain):
9760 More debug info; when skipping typefinding, send cached
9761 events in all cases.
9763 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9766 use new AS_VERSION and AS_NANO macros
9767 * gst/gst-i18n-lib.h:
9770 * gst/gstversion.h.in:
9771 * win32/common/config.h:
9772 * win32/common/config.h.in:
9775 2006-03-31 Michael Smith <msmith@fluendo.com>
9777 * plugins/elements/gsttypefindelement.c:
9778 (gst_type_find_element_chain):
9779 Do not typefind content if the buffers already have caps.
9780 Neccesary for icydemux (#333657), and the right thing to do anyway.
9782 2006-03-30 Wim Taymans <wim@fluendo.com>
9784 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9785 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9786 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9787 (gst_base_sink_record_qos_observation),
9788 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9789 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9790 (gst_base_sink_change_state):
9791 More QoS measurements as described in the design doc.
9792 Get rid of ringbuffer with observations, running average is
9793 more simple and equally good.
9794 Calculates valid proportion now.
9795 Added beginning of flood measurement.
9797 2006-03-29 Wim Taymans <wim@fluendo.com>
9799 * docs/design/part-qos.txt:
9801 Small documentation updates and additions.
9803 2006-03-29 Wim Taymans <wim@fluendo.com>
9805 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9806 (gst_base_src_send_event), (gst_base_src_loop),
9807 (gst_base_src_change_state):
9808 Perform the EOS logic when we reach the segment stop position.
9809 Fix compilation on gcc4.1
9811 2006-03-29 Wim Taymans <wim@fluendo.com>
9813 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9815 * plugins/elements/gstqueue.c: (gst_queue_init),
9816 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9817 (gst_queue_set_property):
9818 * plugins/elements/gstqueue.h:
9819 In queue, when EOS is received, if minimum threshold > max_size -
9820 current_level, there is chance that queue blocks forever in conditional
9821 item del wait. This is because the queue is not emptied completely due
9822 to minimum threshold. Here is another approach. Instead of setting
9823 cur_levels to max in EOS, just zero all minimum threshold levels. This
9824 should make sure that queue gives out all data. When going to READY
9825 (stop) state, just reset the original minimum threshold levels.
9828 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9830 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9831 (gst_type_find_element_handle_event),
9832 (gst_type_find_element_send_cached_events),
9833 (gst_type_find_element_change_state):
9834 * plugins/elements/gsttypefindelement.h:
9835 When typefinding is done in push mode, we should cache
9836 events we receive during typefinding instead of just
9837 dropping them (e.g. newsegment, custom events from
9838 dvdreadsrc etc.) and then send them out once we've
9839 determined the type of the stream (and decodebin
9840 has had a chance to plug in a decoder/demuxer).
9842 2006-03-27 Wim Taymans <wim@fluendo.com>
9844 * docs/design/part-qos.txt:
9847 2006-03-27 Wim Taymans <wim@fluendo.com>
9849 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9851 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9852 (gst_base_src_send_event), (gst_base_src_change_state):
9853 Handle element seek correctly when we are streaming.
9856 2006-03-24 Michael Smith <msmith@fluendo.com>
9858 * docs/faq/gst-uninstalled:
9859 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9860 allow you to correctly run intalled applications built against old
9861 core, using plugins that require updated core (e.g. running
9862 installed totem against a full uninstalled gstreamer stack)
9864 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9866 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9869 2006-03-24 Wim Taymans <wim@fluendo.com>
9871 * docs/gst/gstreamer-sections.txt:
9872 Rearrange the order of the methods so that related methods
9873 are grouped together in sections.
9875 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9878 Little clarification in the docs
9880 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9884 * plugins/elements/gstidentity.c:
9885 * plugins/elements/gstqueue.c:
9886 * plugins/elements/gsttee.c:
9887 * plugins/elements/gsttypefindelement.c:
9888 GST_ELEMENT_DETAILS formatting
9890 2006-03-24 Wim Taymans <wim@fluendo.com>
9892 * libs/gst/base/gstbasesink.h:
9893 Only add fields, not insert or we break ABI.
9895 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9897 * win32/common/libgstbase.def:
9898 * win32/common/libgstreamer.def:
9899 Update, add recently added functions.
9901 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9903 * docs/gst/gstreamer-sections.txt:
9904 * gst/gstutils.c: (gst_pad_query_peer_position),
9905 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9907 API: add some new utility functions:
9908 - gst_pad_query_peer_position()
9909 - gst_pad_query_peer_duration()
9910 - gst_pad_query_peer_convert()
9912 2006-03-23 Wim Taymans <wim@fluendo.com>
9914 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9915 (gst_base_sink_init), (gst_base_sink_finalize),
9916 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9917 (gst_base_sink_set_property), (gst_base_sink_get_property),
9918 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9919 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9920 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9921 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9922 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9923 (gst_base_sink_preroll_object), (gst_base_sink_event),
9924 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9925 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9926 (gst_base_sink_query), (gst_base_sink_change_state):
9927 Decouple max-lateness and the fact that QoS messages are generated
9928 with a new property (qos).
9929 added API: GstBaseSink::async_play()
9930 Add vmethod so subclasses can be notified of ASYNC playing
9932 Collect timestamp start and stop to report better current
9933 position in EOS/PLAYING/PAUSED/READY/NULL.
9934 Refactor QoS/frame dropping and other measurements.
9935 API: GstBaseSrc::qos
9938 * libs/gst/base/gstbasesink.h:
9939 Added Private struct.
9940 API: gst_base_sink_set_qos_enabled()
9941 API: gst_base_sink_is_qos_enabled()
9943 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9945 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9946 If compiling against GLib-2.8 or newer, try to read the
9947 registry file using GMappedFile first before falling back
9948 to fopen() + fread() (#332151).
9950 2006-03-22 Wim Taymans <wim@fluendo.com>
9952 * gst/gstinfo.c: (gst_debug_set_active),
9953 (gst_debug_category_set_threshold):
9954 Disable debugging unless explicitly activated.
9957 2006-03-22 Wim Taymans <wim@fluendo.com>
9959 * gst/gstelement.c: (gst_element_set_locked_state),
9960 (gst_element_dispose):
9961 Cleanup the error case.
9963 * gst/gstobject.c: (gst_object_dispose):
9964 print a critical when some object was disposed with
9965 a parent, also revive the object since it might
9968 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9970 * tools/gst-launch.1.in:
9973 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9976 * tests/check/Makefile.am:
9977 disable some tests when we don't have a registry
9978 * tests/check/gst/gstutils.c: (gst_utils_suite):
9979 don't build the part that needs parsing
9981 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9984 * tests/examples/Makefile.am:
9985 fix --disable-parse build
9987 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9989 * tools/gst-feedback.1.in:
9990 Fix typo: s/feeback/feedback/ (#133494).
9992 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9994 * tools/Makefile.am:
9995 * tools/gst-launch.1.in:
9996 Add FILES section and correct entry about GST_REGISTRY_PATH
9997 environment variable (#133495; #133494).
9999 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10001 * tools/Makefile.am:
10002 * tools/gst-md5sum.1.in:
10003 * tools/gst-md5sum.c:
10004 Remove gst-md5sum and man page (the md5sink element
10005 required was removed ages ago)
10007 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10009 * gst/gststructure.c: (gst_structure_id_set_value):
10010 Make sure that string fields in structures/taglists
10011 contain valid UTF-8 - we don't want to pass rubbish to
10012 applications because of a buggy plugin (cp. #334167).
10014 2006-03-21 Edward Hervey <edward@fluendo.com>
10016 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10017 (gst_bin_handle_message_func):
10018 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10019 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10020 (gst_element_set_bus_func):
10021 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10022 * gst/gstminiobject.c: (gst_value_set_mini_object),
10023 (gst_value_take_mini_object):
10024 * gst/gstpad.c: (gst_pad_set_pad_template):
10025 * gst/gstpipeline.c: (gst_pipeline_dispose),
10026 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10027 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10028 (gst_collect_pads_chain):
10029 * libs/gst/net/gstnettimeprovider.c:
10030 (gst_net_time_provider_set_property):
10031 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10032 It's in fact all issues with gst_*object_replace().
10034 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10036 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10038 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10039 * pkgconfig/gstreamer-check.pc.in:
10040 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10042 2006-03-21 Edward Hervey <edward@fluendo.com>
10046 * gst/gstmessage.h:
10047 gst_[buffer|event|message]_ref() macros are replaced by a static
10048 inline functions because gcc-4.1 will about if the return value
10050 * tests/check/gst/gstevent.c: (event_probe):
10051 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10053 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10056 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10057 the type' case. (Closes: #335195 for now). In the future, when we
10058 depend on GLib 2.10, we could also intern the type name using
10059 g_intern_static_string()
10061 2006-03-20 Wim Taymans <wim@fluendo.com>
10063 * gst/gstbin.c: (gst_bin_handle_message_func),
10064 (bin_query_max_init), (bin_query_position_fold),
10065 (bin_query_position_done), (gst_bin_query):
10066 Position query should also take max of all streams.
10068 2006-03-20 Wim Taymans <wim@fluendo.com>
10070 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10071 (gst_fake_src_finalize):
10072 Fix leaks in fakesrc.
10074 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10075 Fix leaks in the testcase.
10077 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10079 * gst/gst_private.h:
10080 add win32 specific import decoration(__declspec(dllimport))
10081 for all extern GstDebugCategory * variables
10082 * win32/common/libgstbase.def:
10083 * win32/common/libgstcontroller.def:
10084 * win32/common/libgstreamer.def:
10085 Add some exports, remove empty lines
10086 * win32/common/libgstdataprotocol.def:
10087 * win32/common/libgstdataprotocol.dsp:
10088 * win32/common/libgstnet.def:
10089 * win32/common/libgstnet.dsp:
10090 new project files and exportation files added
10092 2006-03-19 Wim Taymans <wim@fluendo.com>
10094 * tests/check/libs/basesrc.c: (eos_event_counter):
10095 Use proper return value for probe.
10097 2006-03-17 Wim Taymans <wim@fluendo.com>
10099 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10101 Don't leak buffers, caps and pads on negotiation errors.
10103 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10105 * docs/faq/cvs.xml:
10106 * docs/faq/dependencies.xml:
10107 * docs/faq/developing.xml:
10108 * docs/faq/faq.xml:
10109 * docs/faq/general.xml:
10110 * docs/faq/getting.xml:
10111 * docs/faq/legal.xml:
10112 * docs/faq/troubleshooting.xml:
10113 * docs/faq/using.xml:
10114 Faq review and update.
10116 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10118 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10120 Don't pound the cpu to pieces by checking get_caps when accept_caps
10121 is called with the same caps as the pad already has.
10122 Use GST_DEBUG_OBJECT when outputting caps change information.
10124 2006-03-15 Wim Taymans <wim@fluendo.com>
10126 * gst/gstclock.c: (gst_clock_class_init):
10129 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10134 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10135 (gst_pad_accept_caps), (gst_pad_configure_sink),
10136 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10137 Make the default acceptcaps behaviour be to check the requested
10138 caps against the gst_pad_get_caps output.
10140 Ensure that gst_pad_accept_caps is used to check caps when a pad
10141 doesn't have a setcaps function, so that pads automatically refuse
10142 caps that they don't allow in their pad template. (Fixes #332986)
10144 When a buffer with attached caps is pushed, ensure that the source
10145 pad receives those caps even if the element didn't call
10146 gst_pad_set_caps first.
10148 2006-03-15 Wim Taymans <wim@fluendo.com>
10150 * libs/gst/base/gstadapter.c:
10153 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10155 * win32/common/libgstbase.def:
10156 * win32/common/libgstcontroller.def:
10157 * win32/common/libgstreamer.def:
10158 Add a whole bunch of missing functions (#334434).
10160 2006-03-14 Wim Taymans <wim@fluendo.com>
10162 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10163 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10164 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10165 Better debug info when we receive a segment event.
10166 Reorganize a bit so we can pass the get_times() results around.
10167 Use the segment format when calculating the running time.
10168 Don't do QoS is sync is disabled or we have no clock or the
10169 element does not want us to sync to the clock.
10170 Don't drop buffers if QoS is disabled for now.
10172 2006-03-14 Wim Taymans <wim@fluendo.com>
10174 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10175 Marked the stats property as unimplemented so people don't get
10177 Add debug message when regression goes wrong.
10178 Added some more docs.
10180 2006-03-14 Wim Taymans <wim@fluendo.com>
10182 * gst/gstsegment.c: (gst_segment_to_stream_time):
10183 Return correct return type in case of errors.
10185 2006-03-14 Wim Taymans <wim@fluendo.com>
10187 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10188 Don't segfault on invalid formats.
10190 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10192 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10193 Can't use gst_segment_to_running_time() when the segment
10194 is not in GST_TIME_FORMAT (like with filesink, for example).
10195 Stops flac encoding pipelines from spewing critical warnings
10198 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10200 * gst/gstpipeline.c: (gst_pipeline_class_init):
10201 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10203 * plugins/elements/gsttypefindelement.c:
10204 (gst_type_find_element_handle_event):
10205 Don't try to typefind empty streams.
10207 2006-03-14 Wim Taymans <wim@fluendo.com>
10209 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10210 (gst_base_sink_do_qos):
10211 Separate QoS calculation.
10212 Only drop buffers when lateness is bigger than the
10213 duration of the buffer.
10215 2006-03-13 Wim Taymans <wim@fluendo.com>
10217 * gst/gstpipeline.c: (gst_pipeline_set_property),
10218 (gst_pipeline_get_property), (do_pipeline_seek),
10219 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10220 (gst_pipeline_get_delay):
10221 Don't deadlock when reading properties.
10223 2006-03-13 Wim Taymans <wim@fluendo.com>
10225 * libs/gst/base/gstbasetransform.c:
10226 (gst_base_transform_class_init), (gst_base_transform_init),
10227 (gst_base_transform_sink_event),
10228 (gst_base_transform_sink_eventfunc),
10229 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10230 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10231 (gst_base_transform_set_property),
10232 (gst_base_transform_get_property),
10233 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10234 (gst_base_transform_set_qos_enabled),
10235 (gst_base_transform_is_qos_enabled):
10236 * libs/gst/base/gstbasetransform.h:
10237 Make basetransform virtual method for src events too.
10238 Handle QOS in basetransform.
10239 API: gst_base_transform_update_qos()
10240 API: gst_base_transform_set_qos_enabled()
10241 API: gst_base_transform_is_qos_enabled()
10243 2006-03-13 Wim Taymans <wim@fluendo.com>
10245 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10246 (gst_base_sink_do_sync):
10248 Use QOS debug category.
10250 2006-03-13 Wim Taymans <wim@fluendo.com>
10252 * plugins/elements/gstqueue.c:
10253 Very small doc update.
10255 2006-03-13 Wim Taymans <wim@fluendo.com>
10257 * gst/gst_private.h:
10258 * gst/gstinfo.c: (_gst_debug_init):
10259 Added QOS debug category
10261 2006-03-13 Wim Taymans <wim@fluendo.com>
10263 * docs/gst/gstreamer-sections.txt:
10264 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10266 * gst/gstbus.c: (gst_bus_class_init):
10269 * gst/gstelement.c: (gst_element_set_locked_state):
10270 * gst/gstsegment.c:
10271 Documentation updates.
10273 * gst/gstpipeline.c: (gst_pipeline_get_type),
10274 (gst_pipeline_class_init), (gst_pipeline_init),
10275 (gst_pipeline_dispose), (gst_pipeline_set_property),
10276 (gst_pipeline_get_property), (do_pipeline_seek),
10277 (gst_pipeline_send_event), (gst_pipeline_change_state),
10278 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10279 (gst_pipeline_get_delay):
10280 * gst/gstpipeline.h:
10281 Added methods for setting the delay.
10282 API: gst_pipeline_set_delay()
10283 API: gst_pipeline_get_delay()
10284 Add pipeline debug category
10287 Don't reset stream time when seek failed.
10289 2006-03-13 Wim Taymans <wim@fluendo.com>
10291 * docs/design/draft-klass.txt:
10292 * docs/design/part-clocks.txt:
10293 * docs/design/part-events.txt:
10294 * docs/design/part-gstbin.txt:
10295 * docs/design/part-gstpipeline.txt:
10296 * docs/design/part-messages.txt:
10297 * docs/design/part-negotiation.txt:
10298 * docs/design/part-overview.txt:
10299 * docs/design/part-preroll.txt:
10300 * docs/design/part-seeking.txt:
10301 * docs/design/part-states.txt:
10302 * docs/design/part-streams.txt:
10303 Documentation updates.
10305 2006-03-12 Julien MOUTTE <julien@moutte.net>
10307 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10308 us to leak strings...
10310 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10312 * libs/gst/net/gstnettimeprovider.c:
10314 * win32/common/config.h:
10317 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10319 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10322 Don't check for libgnomeui (leftover from old examples
10323 that aren't built or disted any longer) (#334303).
10325 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10327 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10328 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10329 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10330 there's no space left on the device.
10332 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10335 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10336 to cast the input to GstClockTime before comparing with
10337 another GstClockTime value.
10339 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10344 === release 0.10.4 ===
10346 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10349 releasing 0.10.4, "Light"
10351 2006-03-10 Michael Smith <msmith@fluendo.com>
10353 * libs/gst/dataprotocol/dataprotocol.c:
10354 Fix docs for dataprocotol to not get the return types completely
10355 wrong for a few functions.
10357 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10359 * docs/gst/gstreamer-sections.txt:
10360 * gst/gstpipeline.c: (gst_pipeline_class_init),
10361 (gst_pipeline_init), (gst_pipeline_set_property),
10362 (gst_pipeline_get_property), (gst_pipeline_change_state),
10363 (gst_pipeline_set_auto_flush_bus),
10364 (gst_pipeline_get_auto_flush_bus):
10365 * gst/gstpipeline.h:
10366 Add new API: gst_pipeline_set_auto_flush_bus() and
10367 gst_pipeline_get_auto_flush_bus() to disable automatic
10368 flushing of the pipeline's GstBus when going from READY
10369 to NULL state (#332045).
10371 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10373 * docs/gst/gstreamer-sections.txt:
10374 * gst/gsturi.c: (gst_uri_has_protocol):
10376 Add new API: gst_uri_has_protocol() (#333779).
10378 2006-03-09 Wim Taymans <wim@fluendo.com>
10380 * gst/gstclock.c: (gst_clock_entry_new),
10381 (gst_clock_id_compare_func), (gst_clock_id_wait),
10382 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10383 (gst_clock_init), (gst_clock_get_internal_time),
10384 (gst_clock_set_master), (do_linear_regression),
10385 (gst_clock_add_observation), (gst_clock_set_property):
10389 Fix a possible segfault when the window-size is made smaller.
10390 Calculate jitter before performing the clock wait. Ideally
10391 the clock implementation should calculate jitter but we need
10392 API breakage for that.
10394 * gst/gstsystemclock.c: (gst_system_clock_init):
10397 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10398 Remove leftover else
10400 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10401 (gst_systemclock_suite):
10402 Added check to test GST_CLOCK_DIFF.
10404 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10406 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10407 (gst_type_find_helper_get_range):
10408 If we are provided with the size, we should implement
10409 GstTypeFind::get_length, so that typefind functions who
10410 want to can actually peek at the middle of a file.
10412 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10414 * docs/manual/advanced-dataaccess.xml:
10415 Add some very very basic error checking.
10417 * docs/pwg/appendix-checklist.xml:
10418 Some updates to the list of things to check when writing an element.
10420 2006-03-08 Wim Taymans <wim@fluendo.com>
10422 * docs/design/part-element-transform.txt:
10423 Added some docs about the design of tranform elements.
10425 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10426 (gst_base_src_loop), (gst_base_src_change_state):
10427 Mark buffers with the DISCONT flag.
10429 2006-03-08 Michael Smith <msmith@fluendo.com>
10431 * gst/gstregistry.h:
10432 * gst/gstregistryxml.c: (gst_registry_save),
10433 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10434 (gst_registry_xml_save_pad_template),
10435 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10436 (gst_registry_xml_write_cache):
10437 Rewrite registry-saving to avoid race conditions and check for
10440 2006-03-08 Wim Taymans <wim@fluendo.com>
10442 * libs/gst/base/gstbasetransform.c:
10443 (gst_base_transform_transform_caps),
10444 (gst_base_transform_transform_size),
10445 (gst_base_transform_prepare_output_buffer),
10446 (gst_base_transform_get_unit_size),
10447 (gst_base_transform_buffer_alloc),
10448 (gst_base_transform_handle_buffer),
10449 (gst_base_transform_change_state):
10450 Cleanups, separate normal flow from errors, add sensible
10452 Don't try to renegotiate when allocating an output buffer.
10453 Also copy DISCONT buffer flag when copying a buffer.
10454 Reset the transform after we finish streaming, not during.
10456 2006-03-08 Wim Taymans <wim@fluendo.com>
10458 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10459 Use last buffer timestamp in qos message.
10461 2006-03-07 Wim Taymans <wim@fluendo.com>
10463 Patch by: Christophe Fergeau
10465 * docs/pwg/advanced-tagging.xml:
10466 * docs/pwg/building-pads.xml:
10469 2006-03-07 Wim Taymans <wim@fluendo.com>
10471 * docs/libs/gstreamer-libs-sections.txt:
10472 Added basesink new methods.
10476 Docs updates. Flesh out the QoS docs.
10478 * libs/gst/base/gstadapter.c:
10479 Small doc clarification about ownership and flushing.
10481 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10482 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10483 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10484 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10485 * libs/gst/base/gstbasesink.h:
10487 Added new methods to allow subclass to control max-lateness
10489 Generate very basic QoS events based on last sync observation.
10490 Updated docs, fix typo, added some QoS blurb.
10492 * libs/gst/base/gstbasesrc.c:
10493 Remove obsolete _get_state() calls from docs.
10495 2006-03-07 Wim Taymans <wim@fluendo.com>
10497 * docs/libs/gstreamer-libs-sections.txt:
10498 * libs/gst/base/gstbasetransform.h:
10499 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10500 Fix docs for GstBaseSrc.
10502 2006-03-07 Wim Taymans <wim@fluendo.com>
10504 * docs/gst/gstreamer-sections.txt:
10507 * libs/gst/base/gstbasetransform.h:
10508 Small documentation fixes.
10510 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10513 Document thread-unsafety of gst_value_register_foo_func()
10514 when used at the same time as gst_value_foo() (#322628).
10516 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10518 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10519 (gst_push_src_check_get_range):
10520 Push sources don't support pull mode by default.
10522 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10524 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10525 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10526 (gst_base_src_default_check_get_range):
10527 * libs/gst/base/gstbasesrc.h:
10528 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10529 provide default implementation, and rename
10530 gst_base_src_check_get_range() to
10531 gst_base_src_pad_check_get_range() for clarity.
10533 2006-03-06 Wim Taymans <wim@fluendo.com>
10535 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10536 Make property overridable.
10538 2006-03-06 Wim Taymans <wim@fluendo.com>
10540 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10541 (gst_base_sink_init), (gst_base_sink_set_property),
10542 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10543 * libs/gst/base/gstbasesink.h:
10544 API addition: Make max-lateness a property.
10546 2006-03-06 Wim Taymans <wim@fluendo.com>
10548 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10549 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10550 Don't ever draw a frame that is >10ms late.
10552 2006-03-06 Michael Smith <msmith@fluendo.com>
10554 * gst/gstmessage.c: (_gst_message_copy):
10555 When copying a message, set the parent_refcount of the enclosed
10556 structure to point at the copy, not the original message.
10558 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10560 Patch by: Christophe Fergeau
10563 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10564 usable in c++ code (#333417)
10566 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10569 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10571 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10573 * libs/gst/base/gstbasetransform.c:
10574 (gst_base_transform_transform_caps):
10575 Make sure caps are writable before passing them to
10578 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10581 Fix some minor docs errors.
10583 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10585 Patch by: Ross Burton <ross at burtonini dot com>
10587 * gst/gsterror.c: (_gst_resource_errors_init):
10589 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10591 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10594 Add a check and output a g_warning when GStreamer is built
10595 against GLib 2.6 but running against 2.8 or higher, and vice
10596 versa. (Closes: #323542)
10598 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10600 * gst/parse/parse.l:
10601 Commit patch for parse_launch syntax from #331255. Removes
10602 support for quoted strings and mimetypes when writing filtered
10603 caps. See the bug report for more details - I'm pretty sure this
10604 obscure feature is not in use by _anyone_ anywhere.
10606 With this simple change, the size of the gstreamer.so here
10607 drops from 2193KB to 1565KB.
10609 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10611 * plugins/elements/gsttypefindelement.h:
10612 * plugins/elements/gsttypefindelement.c:
10613 (gst_type_find_element_src_event), (start_typefinding),
10614 (stop_typefinding), (gst_type_find_element_handle_event),
10615 (gst_type_find_element_chain),
10616 (gst_type_find_element_chain_do_typefinding):
10617 Use gst_type_find_helper_for_buffer() for chain-based
10620 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10622 * plugins/elements/gsttypefindelement.c:
10623 (gst_type_find_element_class_init),
10624 (gst_type_find_element_set_property),
10625 (gst_type_find_element_get_property):
10626 Deprecate "maximum" property (not only was it only taken into
10627 account for typefinding in push-mode anyway, it also was never
10628 actually possible to set it in the first place because the
10629 property was registered with the numeric property ID for the
10630 "minimum" property). Register "maximum" property correctly,
10631 for the sake of future copy'n'pasters. Remove some cruft
10632 from property get/set functions.
10634 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10636 * plugins/elements/gsttypefindelement.c:
10637 (gst_type_find_element_activate):
10638 Use gst_type_find_helper_get_range() here, so we
10639 can honour the "minimum" property and also emit
10640 the signal with the correct probability of the found caps.
10642 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10644 * docs/libs/gstreamer-libs-sections.txt:
10645 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10646 (helper_find_suggest), (gst_type_find_helper_get_range),
10647 (gst_type_find_helper):
10648 * libs/gst/base/gsttypefindhelper.h:
10649 New API: gst_type_find_helper_get_range() (#333042).
10651 2006-03-02 Michael Smith <msmith@fluendo.com>
10653 * gst/gstregistryxml.c: (load_feature):
10654 Asserting on a failure to read part of the registry is Not Cool.
10655 Just log a warning and return NULL (which is already handled)
10657 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10659 * win32/common/libgstbase.def:
10660 added export of gst_type_find_helper_for_buffer
10661 * win32/common/libgstbase.def:
10662 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10663 gst_ghost_pad_get_target
10665 2006-02-28 Wim Taymans <wim@fluendo.com>
10667 * docs/design/draft-klass.txt:
10669 Added Connector to mark elements that are only used to
10670 allow pipeline connections.
10671 Moved Debug to extra feature since most of them are
10672 functionally something else.
10674 2006-02-28 Wim Taymans <wim@fluendo.com>
10676 * docs/design/draft-klass.txt:
10677 Some updates and clarifications.
10679 2006-02-28 Wim Taymans <wim@fluendo.com>
10681 * docs/design/draft-klass.txt:
10682 Proposal for klass field values.
10684 * docs/design/part-streams.txt:
10685 Start of a doc describing stream anatomy.
10687 2006-02-28 Wim Taymans <wim@fluendo.com>
10689 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10690 Help the compiler a bit with type registration.
10691 Use existing forward cod path instead of duplicating it when
10692 handling a message.
10694 * gst/gstbus.c: (gst_bus_get_type):
10695 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10696 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10697 * gst/gstclock.c: (gst_clock_get_type):
10698 * gst/gstelement.c: (gst_element_get_type),
10699 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10700 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10701 * gst/gstminiobject.c: (gst_mini_object_get_type):
10702 * gst/gstpad.c: (gst_pad_get_type):
10703 * gst/gstsegment.c: (gst_segment_get_type):
10704 * gst/gststructure.c: (gst_structure_get_type):
10705 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10706 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10708 Help compiler with type registration.
10710 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10713 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10715 * plugins/elements/gsttypefindelement.c:
10716 (gst_type_find_element_handle_event):
10717 When we get an EOS event and have not found a type yet
10718 (most likely because we had not yet accumulated
10719 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10720 type given the data we have so far. Fixes typefinding
10721 for very short streams again, most notably quicktime
10722 redirections as used on Apple's trailer site (#331701).
10724 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10726 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10727 (gst_type_find_helper):
10728 Try typefinding factories with the highest rank first.
10730 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10732 * docs/libs/gstreamer-libs-docs.sgml:
10733 * docs/libs/gstreamer-libs-sections.txt:
10734 * libs/gst/base/gsttypefindhelper.c:
10735 Add section for typefind helper and add documentation
10736 for the old and the new function.
10738 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10740 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10741 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10742 (gst_type_find_helper_for_buffer):
10743 * libs/gst/base/gsttypefindhelper.h:
10744 New API: gst_type_find_helper_for_buffer() (#332723).
10746 2006-02-27 Michael Smith <msmith@fluendo.com>
10748 Patch by: Loïc Minier
10751 * docs/Makefile.am:
10752 * docs/slides/Makefile.am:
10753 prevent CVS directories getting disted.
10755 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10757 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10758 Use the REFCOUNTING category for caps refcounting.
10760 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10762 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10763 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10765 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10767 * plugins/elements/gsttypefindelement.c:
10768 (gst_type_find_element_activate):
10769 Use gst_pad_check_pull_range() before _activate_pull()
10770 to avoid unnecessary open/close (see #331690).
10772 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10775 Docs enhancement: make it crystal clear what the
10776 gst_pad_add_*_probe() callbacks should look like.
10778 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10780 * libs/gst/base/gstbasesrc.c:
10781 Document how applications can stop recording from
10782 live sources (see #330996).
10784 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10786 * tests/check/Makefile.am:
10787 * tests/check/libs/basesrc.c: (eos_event_counter),
10788 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10789 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10790 (gst_basesrc_suite), (main):
10791 ... and add some tests for the base source EOS stuff.
10793 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10795 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10796 Test case originally showed the problem fixed below,
10797 but was then amended. Add checks back at the place
10798 where they used to be.
10800 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10802 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10803 (gst_base_src_init), (gst_base_src_loop),
10804 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10805 (gst_base_src_change_state):
10806 * libs/gst/base/gstbasesrc.h:
10807 Don't unconditionally send EOS when going from PAUSED to
10808 READY state, esp. make sure we don't send two EOS events
10809 in some cases (e.g. one when reaching EOS and one when
10810 going from PAUSED to READY). Also, we don't want to send
10811 EOS events when operating in pull mode. However, we do
10812 want to send an EOS event when shutting down a live
10813 source explicitly, for example (fixes #330996).
10815 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10817 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10818 Update src->read_position after a seek when not using mmap.
10819 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10821 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10827 Make things work with --disable-parse as they do with
10828 --disable-load-save - the symbols involved disappear, but the
10829 header is still installed and GST_DISABLE_PARSE is included via
10832 2006-02-20 Julien MOUTTE <julien@moutte.net>
10834 * libs/gst/base/gstbasetransform.c:
10835 (gst_base_transform_change_state): Fix a stupid bug. I was
10836 sure I compiled that.
10838 2006-02-20 Julien MOUTTE <julien@moutte.net>
10840 * gst/gstpad.c: (gst_pad_set_blocked_async):
10841 * gst/gstutils.c: (gst_pad_add_data_probe),
10842 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10843 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10844 (gst_pad_remove_buffer_probe): Make those function act on the
10845 ghostpad target when it's a ghostpad. (Closes #331727)
10847 2006-02-20 Julien MOUTTE <julien@moutte.net>
10849 * libs/gst/base/gstbasetransform.c:
10850 (gst_base_transform_change_state): Make basetransform reusable.
10853 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10855 * docs/random/release:
10856 Move the current documentation of how to do a release to the top
10859 * gst/gstbin.c: (gst_bin_class_init),
10860 (gst_bin_handle_message_func):
10861 Allow multiple state-recalculation threads. (Closes #328873)
10863 2006-02-19 Julien MOUTTE <julien@moutte.net>
10865 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10866 * gst/gstpad.c: (gst_pad_set_event_function),
10867 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10868 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10869 2 strings. You can't use the STR_NULL macro on that.
10871 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10873 * gst/gstpad.c: (gst_pad_set_event_function),
10874 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10875 (gst_pad_set_getcaps_function)
10876 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10877 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10878 So now, we can use --gst-debug-level=5 on Windows
10879 * win32/common/libgstcontroller.def:
10880 Added export of gst_controller_init
10881 * win32/vs6/libgstcontroller.dsp:
10882 Fixed Release post build configuration
10884 2006-02-17 Wim Taymans <wim@fluendo.com>
10886 * tests/check/gst/gstquery.c: (GST_START_TEST):
10887 Added another check.
10889 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10891 * plugins/elements/gsttypefindelement.c: (find_peek):
10892 We can do peeks at non-zero offsets, as long as they
10893 fall within the buffer we have.
10895 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10897 * tests/check/Makefile.am:
10898 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10899 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10900 (parse_suite), (main):
10901 Add testsuite for parse launch syntax
10903 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10905 * plugins/elements/gsttypefindelement.c:
10906 (gst_type_find_element_chain):
10907 When typefinding is unsuccessful in the chain function, don't
10908 error out immediately. Only error out with NO_CAPS_FOUND if
10909 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10910 otherwise simply wait for more data so we can try typefinding
10911 again with more data later. Also, don't attempt to typefind
10912 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10913 this should improve typefinding from network sources where the
10914 size of the first buffer can be somewhat random.
10916 2006-02-14 Wim Taymans <wim@fluendo.com>
10918 * docs/gst/gstreamer-sections.txt:
10919 * gst/gstpadtemplate.c:
10920 * gst/gstpadtemplate.h:
10921 Fix padtemplate docs, fixes #328805.
10923 2006-02-14 Wim Taymans <wim@fluendo.com>
10925 * tools/gst-launch.c: (main):
10926 NO_PREROLL is not an ERROR so don't send confusing messages
10929 2006-02-14 Wim Taymans <wim@fluendo.com>
10931 Patch by: Torsten Schoenfeld
10933 * gst/gstregistry.c: (gst_registry_get_default),
10934 (_gst_registry_cleanup):
10935 Protect default registry with lock and ref/sink it.
10938 2006-02-14 Wim Taymans <wim@fluendo.com>
10941 * gst/gstquery.c: (gst_query_list_add_format),
10942 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10943 (gst_query_parse_formats_nth):
10944 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10947 2006-02-14 Wim Taymans <wim@fluendo.com>
10949 * docs/gst/gstreamer-sections.txt:
10950 Reworked query docs.
10952 * gst/gstquery.c: (gst_query_new_formats),
10953 (gst_query_list_add_format), (gst_query_set_formats),
10954 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10955 (gst_query_parse_formats_nth):
10957 Flesh out formats query, added some new methods.
10958 Fix part of #324398.
10960 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10961 Added query creation tests.
10963 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10965 * gst/gstpad.c: (fixate_value):
10966 Add a default fixation for fraction lists.
10968 2006-02-13 Wim Taymans <wim@fluendo.com>
10970 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10971 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10974 Detect and warn for obvious deadlocks. fixes #320340
10975 Fix error case where lock was not released.
10977 * tests/check/Makefile.am:
10978 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10979 (task_func), (gst_element_suite), (main):
10982 2006-02-13 Wim Taymans <wim@fluendo.com>
10984 * docs/gst/gstreamer-sections.txt:
10986 Add new functions to docs.
10988 2006-02-13 Wim Taymans <wim@fluendo.com>
10990 * docs/design/part-TODO.txt:
10991 Updated TODO list, basesrc supports seeking to non-bytes
10994 * docs/design/part-element-sink.txt:
10997 * gst/gstbin.c: (bin_replace_message),
10998 (gst_bin_handle_message_func):
10999 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11000 * gst/gstevent.c: (gst_event_finalize):
11001 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11002 (gst_pad_send_event):
11003 Use shiny new _TYPE_NAME macros.
11005 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11006 Move debug statement up.
11008 * gst/gstelement.c: (gst_element_set_locked_state):
11009 Add some debugging.
11011 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11013 * docs/gst/gstreamer-sections.txt:
11014 * gst/gstmessage.h:
11016 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11017 macros (#330906). Also, document the already existing
11018 GST_QUERY_TYPE macro.
11020 2006-02-13 Wim Taymans <wim@fluendo.com>
11022 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11023 (event_probe), (GST_START_TEST):
11024 Only events up to the pipeline EOS are counted, there are
11025 some more when going to NULL currently which we don't care
11028 2006-02-13 Wim Taymans <wim@fluendo.com>
11030 * gst/gstpad.c: (gst_pad_send_event):
11031 Correctly check flushing and emit probes. fixes #330125
11033 2006-02-10 Andy Wingo <wingo@pobox.com>
11035 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11037 (gst_bus_init): Cache the location of the private data in the
11038 instance structure.
11039 (gst_bus_enable_sync_message_emission)
11040 (gst_bus_disable_sync_message_emission): Implement new public
11042 (gst_bus_post): Emit the sync-message signal if the user asked for
11045 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11046 location of the bus-private structure.
11047 (gst_bus_enable_sync_message_emission)
11048 (gst_bus_disable_sync_message_emission): API addition
11050 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11052 Patch by: Vincent Torri
11054 * docs/pwg/building-boiler.xml:
11055 PWG patch from #326800
11057 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11060 * docs/Makefile.am:
11061 * docs/design/Makefile.am:
11064 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11069 === release 0.10.3 ===
11071 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11074 releasing 0.10.3, "Like a virgin"
11076 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11079 2nd prerelease of 0.10.3
11080 Bump libtool versioning.
11082 2006-02-07 Andy Wingo <wingo@pobox.com>
11084 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11085 update last_stop if we're in TIME format and the timestamp is
11088 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11089 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11090 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11091 If we get a new newsegment with a different format, adapt
11094 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11095 of 0. Not a problem, really.
11097 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11100 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11105 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11108 project files updated to the default vs7 configuration
11109 * win32/common/libgstbase.def:
11110 * win32/common/libgstreamer.def:
11112 removed empty lines,
11113 sorted all exported symbols alphabetically
11114 * win32/common/dirent.c:
11115 * win32/common/dirent.h:
11116 * win32/common/gchar.h:
11117 use windows line end.
11119 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11121 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11122 Send EOS event when stopping.
11124 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11127 Tell folks what to do if the plugin-foobar.xml file
11128 hasn't been generated for a newly-added plugin.
11130 2006-02-05 Julien MOUTTE <julien@moutte.net>
11132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11133 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11134 (gst_collect_pads_start), (gst_collect_pads_stop),
11135 (gst_collect_pads_event): Collectpads now holds a reference
11136 to the GstPad that was added. Indeed we don't want to look
11137 at pads that might just go away with no warning...
11139 2006-02-05 Julien MOUTTE <julien@moutte.net>
11141 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11142 (gst_collect_pads_start), (gst_collect_pads_stop),
11143 (gst_collect_pads_event), (gst_collect_pads_chain):
11144 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11145 Mark Nauwelaerts's patch on bug #328491.
11147 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11149 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11151 Add some simple tests for gst_parse_bin_from_description() and
11152 gst_bin_find_unconnected_pad() (#329069).
11154 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11156 * tools/gst-launch.c: (event_loop), (main):
11157 Catch errors during preroll (#320084).
11159 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11161 * plugins/elements/gsttypefindelement.c:
11162 (gst_type_find_element_activate):
11163 Post TYPE_NOT_FOUND error message when typefinding
11164 is unsuccessful in the activate function as well.
11166 2006-02-02 Wim Taymans <wim@fluendo.com>
11168 * docs/design/part-element-sink.txt:
11171 2006-02-02 Wim Taymans <wim@fluendo.com>
11173 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11174 (gst_base_sink_render_object),
11175 (gst_base_sink_queue_object_unlocked):
11176 Only keep track of prerollable items when we are
11178 Before rendering after preroll, always check if we
11180 Added some more debugging.
11182 2006-02-02 Wim Taymans <wim@fluendo.com>
11184 * gst/gstelement.c: (gst_element_continue_state),
11185 (gst_element_set_state_func), (gst_element_change_state):
11186 Fixed #326576, been running this for quite some time with
11187 no regressions at all.
11189 2006-02-02 Wim Taymans <wim@fluendo.com>
11192 Added more suppressions
11194 2006-02-02 Wim Taymans <wim@fluendo.com>
11196 * docs/design/part-element-sink.txt:
11199 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11200 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11201 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11202 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11203 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11204 (gst_base_sink_preroll_object),
11205 (gst_base_sink_queue_object_unlocked),
11206 (gst_base_sink_queue_object), (gst_base_sink_event),
11207 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11208 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11209 (gst_base_sink_get_position), (gst_base_sink_change_state):
11210 * libs/gst/base/gstbasesink.h:
11211 Totally refactored matching the design doc.
11212 Use two segments, one to clip incomming buffers and another to
11214 Handle queueing correctly, bypass the queue when playing.
11215 Make EOS cancelable.
11216 Handle errors correctly when operating in pull based mode.
11218 * tests/check/elements/fakesink.c: (GST_START_TEST),
11220 Added new check for sinks.
11222 2006-02-02 Wim Taymans <wim@fluendo.com>
11224 * gst/gstsegment.c: (gst_segment_clip):
11225 No reason to refuse to clip when start == -1
11227 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11230 * docs/manual/intro-basics.xml:
11231 * docs/manual/intro-preface.xml:
11232 * docs/manual/manual.xml:
11233 * docs/pwg/advanced-dparams.xml:
11234 * docs/pwg/intro-basics.xml:
11235 * docs/pwg/intro-preface.xml:
11236 * docs/pwg/pwg.xml:
11237 describe dparams (controller) for plugins
11238 unify docs a little more
11240 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11242 * docs/gst/gstreamer-sections.txt:
11243 * gst/gstutils.c: (element_find_unconnected_pad),
11244 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11246 Add new API: gst_parse_bin_from_description() and
11247 gst_bin_find_unconnected_pad() (#329069).
11249 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11251 * docs/manual/README:
11252 uncover a nasty detail of the docs build
11254 2006-01-31 Wim Taymans <wim@fluendo.com>
11256 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11257 Don't cache duration messages if we're not going to use or
11260 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11262 * docs/manual/advanced-dparams.xml:
11263 * docs/pwg/advanced-dparams.xml:
11267 * libs/gst/controller/lib.c: (gst_controller_init):
11270 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11272 * gst/gstelement.c: (gst_element_message_full):
11273 also show file/line/func if no additional debug was given
11275 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11277 * win32/vs7/grammar.vcproj:
11278 activate copy of autogenerated files for Release mode
11280 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11282 * win32/common/libgstreamer.def:
11283 export gst_value_compare
11285 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11287 * plugins/elements/Makefile.am:
11288 * plugins/elements/gstelements.c:
11289 * plugins/elements/gstfdsink.c: (_do_init),
11290 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11291 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11292 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11293 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11294 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11295 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11296 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11297 * plugins/elements/gstfdsink.h:
11298 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11300 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11302 * docs/manual/advanced-dparams.xml:
11303 describe controller
11304 * docs/manual/advanced-position.xml:
11305 * docs/manual/basics-init.xml:
11306 * docs/manual/manual.xml:
11307 * docs/manual/titlepage.xml:
11308 * docs/pwg/pwg.xml:
11309 * docs/pwg/titlepage.xml:
11310 cleanup xml (more to come)
11311 * libs/gst/controller/gstcontroller.c:
11314 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11316 * win32/vs6/grammar.dsp:
11317 add autogen of gstmarshal.c,h for Release mode
11319 2006-01-30 Wim Taymans <wim@fluendo.com>
11321 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11322 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11323 (gst_base_sink_handle_object), (gst_base_sink_event),
11324 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11325 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11326 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11327 (gst_base_sink_deactivate), (gst_base_sink_activate),
11328 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11329 (gst_base_sink_query), (gst_base_sink_change_state):
11330 Basesink cleanups, remove some old code.
11331 Handle the case where a subclass can preroll in the render
11332 method (mostly audiosinks).
11333 Handle more events.
11334 Remove some locks around variables that are now protected
11335 with the PREROLL_LOCK (clock_id, flushing, ..).
11336 Optimize position query some more, do correct locking.
11337 Remove old code to push queue in state change, this is not
11338 needed anymore since preroll blocks on all prerollable items
11340 Almost implemented as described in design doc.
11342 2006-01-30 Wim Taymans <wim@fluendo.com>
11344 * tests/check/gst/gstbin.c: (GST_START_TEST):
11345 Wait for refcount to settle down before checking.
11347 2006-01-30 Wim Taymans <wim@fluendo.com>
11349 * docs/design/part-element-sink.txt:
11350 Pseudo code overview of desired sink behaviour regarding
11353 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11354 * win32/vs6/grammar.dsp:
11355 fix some bugs in Release mode for autogenerated files
11357 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11358 * win32/common/libgstbase.def:
11359 * win32/common/libgstreamer.def:
11360 export some new symbols: gst_base_src_set_format,
11361 gst_iterator_next, gst_structure_set_valist
11363 2006-01-29 Julien MOUTTE <julien@moutte.net>
11365 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11366 Set pad functions unconditionally. Fixes #329105.
11368 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11370 add vs8 project files created by Sergey Scobich
11372 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11374 * gst/gstutils.c: (gst_element_unlink_pads):
11375 Don't leak pad references.
11377 * tests/check/elements/fakesink.c: (GST_START_TEST):
11378 * tests/check/generic/sinks.c: (GST_START_TEST):
11379 * tests/check/generic/states.c: (GST_START_TEST):
11380 * tests/check/gst/gstbin.c: (GST_START_TEST):
11381 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11382 * tests/check/gst/gstelement.c: (GST_START_TEST):
11383 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11384 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11385 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11386 Fix a bunch of leaks. Make generic/sinks.c
11387 use a bit less cpu by slowing the buffer rate
11388 between fakesrc and fakesink.
11390 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11392 * gst/gstelement.c: (gst_element_send_event):
11395 * gst/gstiterator.c:
11396 * gst/gstiterator.h:
11397 * gst/gstpad.c: (gst_pad_send_event):
11398 * gst/gststructure.c:
11402 * libs/gst/base/gstadapter.c:
11403 doc fixes, to link to function, just write gst_cool_function(), don't
11406 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11408 * plugins/elements/gsttee.c: (gst_tee_do_push),
11409 (gst_tee_handle_buffer):
11410 Always prefer an actual return value from a src
11411 pad in place of NOT_LINKED. This means we return
11412 WRONG_STATE when all src pads are WRONG_STATE
11413 instead of NOT_LINKED.
11415 Lock when replacing the last message to prevent
11416 racing with the get_property method.
11420 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11422 * tests/check/Makefile.am:
11423 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11425 Add a very simple check that should have caught the memleak I fixed
11426 last night (if not for the slice allocator hiding it)
11428 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11430 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11431 (gst_bin_remove_func), (gst_bin_handle_message_func),
11432 (bin_query_duration_fold), (bin_query_generic_fold):
11433 Clean up references to the clock provider when disposed or when
11434 handling a clock-lost message from it.
11436 Unref sinks when performing a query via gst_iterator_fold, as the
11437 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11439 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11440 (gst_clock_set_master):
11441 Drop our reference to the master clock, if any, when we are disposed.
11443 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11444 Chain up in dispose.
11446 2006-01-26 Wim Taymans <wim@fluendo.com>
11448 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11449 Add some debugging.
11451 2006-01-26 Julien MOUTTE <julien@moutte.net>
11453 * plugins/elements/gsttee.c: (gst_tee_do_push),
11454 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11455 handles pad being NOT_LINKED or in WRONG_STATE.
11457 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11462 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11465 remove obsolete entry
11467 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11469 * docs/gst/gstreamer-sections.txt:
11470 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11471 (gst_bin_iterate_sources), (gst_bin_send_event):
11473 * gst/gstelement.c: (gst_element_send_event):
11475 * gst/gstpad.c: (gst_pad_send_event):
11476 added code for downstream events, reviewed docs in gstevent.c
11478 2006-01-25 Julien MOUTTE <julien@moutte.net>
11480 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11481 We only query position using the clock in the playing state.
11482 Query peer in the other cases.
11483 * win32/common/config.h: Updates.
11485 2006-01-24 Wim Taymans <wim@fluendo.com>
11487 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11488 A clock entry that is scheduled for the exact time of the
11489 clock is still in time.
11491 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11492 (gst_base_sink_do_sync):
11493 Add some more debug info.
11495 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11498 Add new vs7 project files and solution.
11500 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11503 all files removed as they were out-dated.
11505 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11507 * docs/random/release:
11509 * gst/gstbin.c: (gst_bin_init):
11510 * gst/gstbus.c: (gst_bus_new):
11512 * gst/gstpipeline.c: (gst_pipeline_init):
11513 use gst_bus_new(), improve logging, fix docs
11514 * win32/common/config.h:
11515 update for cvs build
11517 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11520 up required version of automake to 1.7
11522 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11524 * win32/common/libgstreamer.def:
11525 export gst_buffer_is_metadata_writable
11527 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11529 * docs/gst/gstreamer-sections.txt:
11531 Add gst_event_replace() (#327001)
11533 2006-01-20 Wim Taymans <wim@fluendo.com>
11535 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11536 Make it actually compile too..
11538 2006-01-20 Wim Taymans <wim@fluendo.com>
11541 Clarify behaviour of _is_equal() when passing NULL parameters.
11543 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11544 (gst_pad_set_caps):
11545 Cleanups. Don't unref NULL caps.
11546 When setting the same caps, protect caps of the pad with
11548 Use full functionality of _is_equal() when comparing caps.
11550 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11552 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11553 Don't loop infinitely if there are no buffers to present. Partially
11554 fixes #327197, but collectpads is just broken for reusing elements
11555 to do multiple encodes atm.
11557 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11559 * tools/gst-inspect.c: (print_element_features):
11560 * tools/gst-xmlinspect.c: (main):
11561 URL_HANDLER is not a plugin feature we can search for in
11564 2006-01-19 Edward Hervey <edward@fluendo.com>
11566 * gst/gstelement.c: (gst_element_pads_activate):
11567 When activating, do src pads first, then sink pads.
11568 When de-activating, do sink pads first, then src pads.
11570 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11572 * docs/gst/gstreamer-sections.txt:
11573 Add gst_index_add_associationv to the docs
11575 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11580 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11581 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11582 Do some refactoring. Doesn't actually change functionality,
11583 but makes landing the DRAIN event easier later.
11585 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11587 * docs/pwg/advanced-scheduling.xml:
11588 Update from 0.9.x to 0.10 API and make example a bit
11591 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11593 * docs/gst/gstreamer-sections.txt:
11594 Add gst_buffer_(is|make)_metadata_writable methods.
11596 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11598 * docs/design/part-sparsestreams.txt:
11599 Update sparse streams doc, hopefully for greater clarity
11601 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11603 * docs/design/part-events.txt:
11604 Remove mention of FILLER events.
11607 * docs/design/part-sparsestreams.txt:
11608 Write some things about using NEWSEGMENT to keep sparse streams
11611 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11613 * gst/gstbin.c: (gst_bin_dispose):
11614 Guard gst_object_unref call against a NULL object (dispose
11615 can theoretically be called multiple times).
11617 2006-01-18 Wim Taymans <wim@fluendo.com>
11619 * gst/gstbin.c: (gst_bin_element_set_state):
11620 * gst/gstclock.c: (gst_clock_id_wait):
11621 Added some more debug info.
11623 * libs/gst/base/gstadapter.c:
11626 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11627 (gst_base_sink_do_sync), (gst_base_sink_chain):
11628 Added some comments.
11630 2006-01-18 Wim Taymans <wim@fluendo.com>
11632 * tests/check/Makefile.am:
11633 * tests/check/elements/fakesink.c: (chain_async_buffer),
11634 (chain_async), (chain_async_return), (GST_START_TEST),
11635 (fakesink_suite), (main):
11636 Added fakesink test that checks prerolling and clipping
11639 * tests/check/gst/gstutils.c: (GST_START_TEST):
11640 Make check run faster so that buildbots don't timeout.
11642 2006-01-18 Wim Taymans <wim@fluendo.com>
11644 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11645 (gst_base_sink_do_sync):
11647 When the sink finishes blocking on the preroll buffer, it can
11648 immediatly render it instead of rendering when the next buffer
11651 2006-01-18 Wim Taymans <wim@fluendo.com>
11653 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11654 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11655 (gst_base_sink_chain):
11657 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11658 Don't store _last_stop if the buffer is dropped.
11660 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11662 * plugins/elements/gsttypefindelement.c:
11663 (gst_type_find_element_class_init):
11664 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11665 object method handler that sets the caps on the pad and we want
11666 that to happen before we emit the signal (fixes e.g. feeding a
11667 plain text file to decodebin).
11669 2006-01-18 Christian Schaller <Christian@fluendo.com>
11671 * gst/gstplugin.c: Add MPL and Proprietary as license options
11673 2006-01-18 Andy Wingo <wingo@pobox.com>
11675 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11676 symbol was exported before, it appears this was just an oversight.
11678 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11680 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11681 prototype to gint. OK since this prototype was not in the header.
11683 2006-01-17 Andy Wingo <wingo@pobox.com>
11685 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11686 registry while we remove plugins.
11688 * tools/gst-inspect.c (print_element_info): Don't unref the
11689 factory arg, that should be the responsibility of whatever code
11690 received the ref. Fixes a double-free when called from
11691 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11692 (main): Unref the factory if we have one.
11693 (print_element_list): No change -- relies on the
11694 plugin_feature_list_free to free the list of features.
11696 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11698 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11699 (gst_buffer_make_metadata_writable):
11701 * libs/gst/base/gstbasetransform.c:
11702 (gst_base_transform_prepare_output_buf):
11703 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11704 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11705 Replace gst_buffer_(make|is)_metadata_writable patch now
11706 that the release is out.
11708 2006-01-17 Andy Wingo <wingo@pobox.com>
11710 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11711 in the present tense without reference to versions.
11713 * gst/gstregistry.c (gst_registry_add_plugin)
11714 (gst_registry_remove_plugin, gst_registry_remove_feature)
11715 (gst_registry_find_feature, gst_registry_get_feature_list)
11716 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11717 (gst_registry_lookup, gst_registry_scan_path)
11718 (_gst_registry_remove_cache_plugins)
11719 (gst_registry_get_feature_list_by_plugin): Add argument
11722 === release 0.10.2 ===
11724 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11727 releasing 0.10.2, "If man is five"
11729 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11733 * libs/gst/base/gstbasetransform.c:
11734 (gst_base_transform_prepare_output_buf):
11735 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11736 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11737 Back out patch until after the release.
11739 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11741 * gst/gstminiobject.c:
11742 Spelling fix in docs.
11743 * ChangeLog - remove conflict indicator
11745 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11747 Reviewed By: Andy Wingo
11749 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11750 (gst_buffer_make_metadata_writable):
11752 Add gst_buffer_(is|make)_metadata_writable as analogues of
11753 gst_buffer_(is|make)_writable.
11755 * libs/gst/base/gstbasetransform.c:
11756 (gst_base_transform_prepare_output_buf):
11757 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11758 Use name gst_buffer_(is|make)_metadata_writable functions.
11760 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11761 Test gst_buffer_(is|make)_metadata_writable
11765 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11767 * docs/manual/Makefile.am:
11768 don't do parallel make
11771 * win32/common/config.h.in:
11772 add generations for HOST_CPU and GST_MAJORMINOR
11773 * win32/common/config.h:
11774 commit generated result
11776 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11778 * docs/manual/appendix-integration.xml:
11779 Update GNOME integration section to use gst_init_get_option_group()
11780 instead of the old popt stuff (#322911). Also, GNOME applications
11781 should now use gconf*sink and gconf*src instead of the old gconf
11784 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11787 * docs/gst/gstreamer-docs.sgml:
11788 * docs/gst/gstreamer-sections.txt:
11789 * docs/libs/gstreamer-libs-sections.txt:
11790 add new API entries to the docs
11791 * libs/gst/controller/Makefile.am:
11792 * libs/gst/controller/gstcontroller.c:
11793 * libs/gst/controller/gstcontroller.h:
11794 * libs/gst/controller/gstcontrollerprivate.h:
11795 * libs/gst/controller/gsthelper.c:
11796 * libs/gst/controller/gstinterpolation.c:
11797 move private structs to private header
11799 gstreamer-0.7 -> gstreamer-0.10
11800 * tests/check/libs/struct_i386.h:
11801 remove private structs
11803 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11805 * plugins/indexers/Makefile.am:
11806 Fixes as part of #317048
11808 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11810 * plugins/indexers/Makefile.am:
11811 fix #316086 - compilation when mmap is missing
11813 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11815 * libs/gst/base/gstbasesink.c:
11816 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11817 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11818 * win32/common/config.h:
11819 added some defines GST_MAJORMINOR and HOST_CPU
11820 * win32/common/libgstbase.def:
11821 * win32/common/libgstreamer.def:
11822 added some exported functions.
11824 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11826 * libs/gst/controller/gstcontroller.c:
11827 (gst_controlled_property_set_interpolation_mode),
11828 (gst_controlled_property_new):
11829 * libs/gst/controller/gstcontroller.h:
11830 * libs/gst/controller/gstinterpolation.c:
11831 (interpolate_none_get_string_value_array):
11832 make G_TYPE_STRING controlable
11834 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11837 * tools/gst-feedback.1.in:
11838 * tools/gst-inspect.1.in:
11839 * tools/gst-launch.1.in:
11840 * tools/gst-md5sum.1.in:
11841 * tools/gst-typefind.1.in:
11842 * tools/gst-xmlinspect.1.in:
11843 * tools/gst-xmllaunch.1.in:
11844 cleanup man-pages, remove reference to gst-register, document env-vars
11846 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11848 * gst/gstbuffer.c: (gst_buffer_span):
11849 gst_buffer_span should copy the timestamp of the first buffer
11850 if they were both originally overlapping subbuffers of the
11851 same parent, using the same logic as the 'slow copy' case.
11853 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11856 Need to awaken ALL the pads when we pop a buffer, otherwise
11857 collectpads only works when there is 2 input streams.
11859 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11861 * docs/random/ensonic/media-device-daemon.txt:
11864 fix doc example, add clarification
11865 * tools/gst-launch.1.in:
11866 add initial info about GST_PLUGIN_PATH, needs more work
11868 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11870 * docs/manual/basics-bins.xml:
11871 * docs/manual/basics-elements.xml:
11872 * docs/manual/intro-basics.xml:
11873 Some more minor docs additions and updates.
11875 2006-01-11 Wim Taymans <wim@fluendo.com>
11877 * docs/manual/basics-bins.xml:
11878 * docs/manual/basics-elements.xml:
11879 Some small fixes as pointed out by Ser-ver on IRC.
11881 2006-01-10 Edward Hervey <edward@fluendo.com>
11883 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11884 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11885 the single-segment mode.
11887 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11889 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11891 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11892 (gst_base_src_perform_seek), (gst_base_src_send_event),
11893 (gst_base_src_set_property), (gst_base_src_get_property),
11894 (gst_base_src_loop), (gst_base_src_start),
11895 (gst_base_src_activate_push):
11896 * libs/gst/base/gstbasesrc.h:
11897 Name (private) union; makes Sun's Forte compiler happy (#324900).
11899 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11902 gst-register is gone.
11904 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11906 * gst/gstvalue.c: (_gst_value_initialize):
11907 make the G_TYPE_DATE instantiation work if debug is disabled
11909 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11911 * gst/gstmessage.c: (gst_message_parse_tag),
11912 (gst_message_parse_error), (gst_message_parse_warning):
11913 Don't crash when return location for error/warning debug
11914 string is NULL; add fact that return locations can be
11915 NULL to docs where appropriate.
11917 2006-01-05 Wim Taymans <wim@fluendo.com>
11919 * gst/gstplugin.c: (gst_plugin_load_file):
11920 Replace strdup by g_strdup.
11922 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11924 * docs/pwg/advanced-types.xml:
11927 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11929 submitted by: Abel Cheung
11933 Added Chinese (traditional) translation
11935 2006-01-04 Wim Taymans <wim@fluendo.com>
11937 * docs/manual/basics-pads.xml:
11938 * docs/plugins/Makefile.am:
11939 * docs/plugins/gstreamer-plugins-docs.sgml:
11940 * docs/plugins/gstreamer-plugins-sections.txt:
11941 * docs/pwg/advanced-clock.xml:
11942 * docs/pwg/advanced-scheduling.xml:
11943 * docs/pwg/advanced-types.xml:
11944 * plugins/elements/gstfdsink.c:
11945 * plugins/elements/gstfdsrc.c:
11946 * plugins/elements/gstfdsrc.h:
11947 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11948 * plugins/elements/gstidentity.h:
11949 * plugins/elements/gstqueue.h:
11950 * plugins/elements/gsttee.c:
11951 * plugins/elements/gsttee.h:
11952 * plugins/elements/gsttypefindelement.c:
11953 (gst_type_find_element_class_init):
11954 * plugins/elements/gsttypefindelement.h:
11955 Small updates to various docs.
11956 Added core plugins to docs.
11958 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11961 add a suppression for liboil's uninitialized variable
11963 2006-01-02 James Livingston <jrl at ids dot org dot au>
11965 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11968 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11969 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11970 compiler switch is being used (#325429).
11972 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11974 * gst/gstbin.c: (gst_bin_query):
11975 Disable duration query caching in bins until it gets
11976 fixed (see #324807).
11978 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11980 * tools/gst-inspect.c: (print_element_properties_info):
11981 Handle properties of POINTER and BOXED type.
11983 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11985 * gst/gst.c: (init_post):
11986 Init tags stuff and some other things before loading
11987 any static plugins (there may be other static plugins
11988 than just the GStreamer ones, and they may want to
11989 register their own tags or formats or whatever, and
11990 preferably without segfaulting).
11992 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11993 Print at least a warning in the debug logs if we drop a
11994 query just because we don't know how to adjust the value
11995 in the particular format.
11997 2005-12-24 David Schleef <ds@schleef.org>
11999 * tools/gstreamer-completion:
12000 Replacement for gst-complete written in sh and sed. Only
12001 completes names of features, but that's 90% of what I want
12002 it for. Properties are not available in registry.xml. (Maybe
12005 === release 0.10.1 ===
12007 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12010 releasing 0.10.1, "Nollaig chridheil"
12012 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12014 * docs/faq/cvs.xml:
12015 Add missing quote, should be make ERROR_CFLAGS="".
12017 2005-12-20 Wim Taymans <wim@fluendo.com>
12019 * docs/design/part-trickmodes.txt:
12020 More documentation on trickmodes.
12022 2005-12-20 Edward Hervey <edward@fluendo.com>
12024 * gst/gstcaps.c: (gst_static_caps_get_type):
12026 API addition: GST_TYPE_STATIC_CAPS
12027 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12028 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12029 * gst/gstpadtemplate.h:
12030 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12031 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12034 2005-12-18 Wim Taymans <wim@fluendo.com>
12036 * libs/gst/base/gstadapter.c:
12037 * libs/gst/base/gstadapter.h:
12038 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12039 (gst_base_sink_get_position):
12040 * libs/gst/base/gstbasesink.h:
12041 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12042 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12043 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12044 (gst_base_src_send_event), (gst_base_src_update_length),
12045 (gst_base_src_get_range), (gst_base_src_loop),
12046 (gst_base_src_start):
12047 * libs/gst/base/gstbasesrc.h:
12048 * libs/gst/base/gstbasetransform.h:
12049 * libs/gst/base/gstcollectpads.h:
12050 * libs/gst/base/gstpushsrc.c:
12051 * libs/gst/base/gstpushsrc.h:
12052 * libs/gst/dataprotocol/dataprotocol.c:
12053 * libs/gst/dataprotocol/dataprotocol.h:
12054 * libs/gst/net/gstnetclientclock.h:
12055 * libs/gst/net/gstnettimeprovider.h:
12056 Documentation updates.
12058 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12060 * docs/manual/basics-helloworld.xml:
12061 Remove superfluous closing bracket in helloworld example.
12063 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12065 * tools/gst-launch.1.in:
12066 Update gst-launch man page; add a section with useful
12067 environment variables. Fixes #323882.
12069 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12072 * gst/gst_private.h:
12073 change some char* into char[]
12075 2005-12-16 Wim Taymans <wim@fluendo.com>
12077 * gst/gstregistryxml.c: (load_feature):
12079 Don't use g_object_unref on GstObjects so that we avoid
12080 leaks on unsafe glibs.
12082 2005-12-16 Wim Taymans <wim@fluendo.com>
12084 * gst/gstbin.c: (gst_bin_recalc_state):
12087 2005-12-16 Wim Taymans <wim@fluendo.com>
12089 * common/check.mak:
12090 Added make forever target for check.
12092 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12094 * gst/gst.c: (init_post):
12095 make the registry cache file HOST_CPU-dependent
12097 2005-12-16 Andy Wingo <wingo@pobox.com>
12099 * plugins/elements/gstbufferstore.c
12100 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12103 * tests/check/gst/gstobject.c
12104 (test_fake_object_name_threaded_unique): Pay attention to
12105 g_list_sort return value.
12107 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12109 * tools/gst-feedback-m.m:
12110 Update for 0.9/0.10 (fixes #323870).
12112 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12114 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12115 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12117 * tests/check/gst/gstminiobject.c: (my_foo_init),
12118 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12119 (test_value_collection), (gst_mini_object_suite):
12120 Add test to ensure refcounts end up as expected when passing
12121 GstMiniObjects through g_object_get() and g_object_set().
12123 2005-12-14 Julien MOUTTE <julien@moutte.net>
12125 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12126 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12127 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12128 of collectpads. This version removes a lot of races without
12129 touching API/ABI. Yay !
12131 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12133 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12134 Don't allow activation of a srcpad in pull_range if it has no
12136 Change some debug statements to be a little clearer
12138 * plugins/elements/gsttypefindelement.c:
12139 (gst_type_find_handle_src_query):
12140 Check that we have a peer before executing queries thereupon.
12142 * tests/examples/metadata/read-metadata.c: (message_loop):
12143 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12144 immediately return us any available message with 0 timeout.
12146 2005-12-12 Michael Smith <msmith@fluendo.com>
12148 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12149 Don't unref factories after calling them.
12150 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12151 * plugins/elements/gsttypefindelement.c:
12152 (gst_type_find_element_chain):
12153 Free lists of factories after using them. Fixing typefinding memory
12156 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12158 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12159 (gst_plugin_feature_load):
12160 more meaningful debug output
12162 * tests/Makefile.am:
12163 * tests/old/examples/Makefile.am:
12164 make make distcheck happy again
12166 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12168 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12169 Catch the special case where we are operating chain-based,
12170 but the downstream peer pad has no chain function. Emit a
12171 custom error message in this case instead of letting the
12172 core generate one implying that this is some sort of core
12173 bug. It's not, it just means that whatever got plugged
12174 into the pipeline downstream when we announced the type
12175 can only operate pull-based, while our source can only
12176 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12177 Error string has not been marked for translation yet, as
12178 it probably needs some more work first.
12180 (gst_type_find_element_get_best_possibility):
12181 Add helper function to find the best of all available
12182 found possibilities that qualify given the min. threshold.
12184 (gst_type_find_element_handle_event):
12185 Fix the case where we get an EOS while still in TYPEFIND
12186 mode (we want to chose the best of all possible types,
12187 not just the first type that happens to be in our unsorted
12188 list of possible types).
12190 (gst_type_find_element_chain):
12191 Make sure we return GST_FLOW_ERROR when we errored out
12192 in stop_typefinding(); also, don't just find the best of
12193 all found type entries and then use the last examined
12194 type entry, but actually use the best entry.
12196 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12198 * tests/examples/typefind/typefind.c: (type_found):
12199 * tests/examples/xml/runxml.c: (xml_loaded):
12200 More gcc4 fixes and a mem leak fix.
12202 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12204 * tests/examples/xml/createxml.c: (object_saved):
12207 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12209 * tests/Makefile.am:
12210 enable the examples even more
12212 2005-12-12 Andy Wingo <wingo@pobox.com>
12214 * libs/gst/net/gstnettimeprovider.c
12215 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12216 (gst_net_time_provider_set_property)
12217 (gst_net_time_provider_get_property):
12218 API addition: Export "active" as a GObject property.
12219 (gst_net_time_provider_thread): Only respond to time queries if
12220 the time provider is active.
12222 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12223 NetTimeProvider, preserving binary compat.
12225 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12227 * tests/examples/controller/audio-example.c: (main):
12228 * tests/examples/launch/Makefile.am:
12229 convert comments again
12231 2005-12-12 Wim Taymans <wim@fluendo.com>
12233 * libs/gst/base/gstpushsrc.c:
12236 2005-12-12 Wim Taymans <wim@fluendo.com>
12238 * docs/libs/gstreamer-libs-sections.txt:
12239 Added new symbol to docs.
12241 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12242 (gst_base_src_init), (gst_base_src_set_format),
12243 (gst_base_src_default_query), (gst_base_src_query),
12244 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12245 (gst_base_src_perform_seek), (gst_base_src_send_event),
12246 (gst_base_src_default_event), (gst_base_src_event_handler),
12247 (gst_base_src_set_property), (gst_base_src_get_property),
12248 (gst_base_src_wait), (gst_base_src_do_sync),
12249 (gst_base_src_update_length), (gst_base_src_get_range),
12250 (gst_base_src_check_get_range), (gst_base_src_loop),
12251 (gst_base_src_default_negotiate), (gst_base_src_start),
12252 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12253 (gst_base_src_change_state):
12254 * libs/gst/base/gstbasesrc.h:
12255 Implement seeking to other formats than _BYTES.
12256 Implement more seeking methods correctly.
12258 Added query vmethod.
12259 Added do_seek vmethod to make life easier for subclasses
12261 API addition: gst_base_src_set_format()
12263 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12265 * tests/examples/Makefile.am:
12268 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12271 * docs/random/ensonic/media-device-daemon.txt:
12272 * tests/examples/controller/.cvsignore:
12273 * tests/examples/controller/Makefile.am:
12274 * tests/examples/controller/audio-example.c: (main):
12275 * tests/examples/helloworld/.cvsignore:
12276 * tests/examples/helloworld/Makefile.am:
12277 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12278 * tests/examples/launch/.cvsignore:
12279 * tests/examples/launch/Makefile.am:
12280 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12281 * tests/examples/metadata/.cvsignore:
12282 * tests/examples/metadata/Makefile.am:
12283 * tests/examples/metadata/read-metadata.c: (message_loop),
12284 (make_pipeline), (print_tag), (main):
12285 * tests/examples/queue/.cvsignore:
12286 * tests/examples/queue/Makefile.am:
12287 * tests/examples/queue/queue.c: (event_loop), (main):
12288 * tests/examples/typefind/.cvsignore:
12289 * tests/examples/typefind/Makefile.am:
12290 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12292 * tests/examples/xml/.cvsignore:
12293 * tests/examples/xml/Makefile.am:
12294 * tests/examples/xml/createxml.c: (object_saved), (main):
12295 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12296 * tests/old/examples/Makefile.am:
12297 * tests/old/examples/TODO:
12298 * tests/old/examples/controller/.cvsignore:
12299 * tests/old/examples/controller/Makefile.am:
12300 * tests/old/examples/controller/audio-example.c:
12301 * tests/old/examples/helloworld/.cvsignore:
12302 * tests/old/examples/helloworld/Makefile.am:
12303 * tests/old/examples/helloworld/helloworld.c:
12304 * tests/old/examples/launch/.cvsignore:
12305 * tests/old/examples/launch/Makefile.am:
12306 * tests/old/examples/launch/mp3parselaunch.c:
12307 * tests/old/examples/launch/mp3play:
12308 * tests/old/examples/manual/Makefile.am:
12309 * tests/old/examples/metadata/Makefile.am:
12310 * tests/old/examples/metadata/read-metadata.c:
12311 * tests/old/examples/queue/.cvsignore:
12312 * tests/old/examples/queue/Makefile.am:
12313 * tests/old/examples/queue/queue.c:
12314 * tests/old/examples/typefind/.cvsignore:
12315 * tests/old/examples/typefind/Makefile.am:
12316 * tests/old/examples/typefind/typefind.c:
12317 * tests/old/examples/xml/.cvsignore:
12318 * tests/old/examples/xml/Makefile.am:
12319 * tests/old/examples/xml/createxml.c:
12320 * tests/old/examples/xml/runxml.c:
12321 applied some simple fixing to some examples
12322 re-enabled the working examples
12324 2005-12-12 Wim Taymans <wim@fluendo.com>
12326 * gst/gstsegment.c: (gst_segment_init),
12327 (gst_segment_set_last_stop), (gst_segment_set_seek),
12328 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12329 (gst_segment_to_running_time):
12330 Added more documentation.
12331 Make sure the last_pos value is updated properly.
12332 Make sure to_stream_time and to_running_time don't
12333 operate on wrong values.
12335 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12338 2005-12-12 Michael Smith <msmith@fluendo.com>
12340 * plugins/elements/gsttypefindelement.c: (free_entry),
12341 (gst_type_find_element_chain):
12342 Now that we're not leaking factories, make sure we keep references
12343 to them while we need them.
12345 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12347 * tests/check/gst/struct_i386.h:
12348 ifdef out the XML structs
12350 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12352 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12353 floor is not needed, F is always positive; this obviates the
12354 need for adding -lm when building without libxml
12356 2005-12-12 Wim Taymans <wim@fluendo.com>
12358 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12359 Take current playback rate into account when reporting
12362 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12364 * docs/manual/mime-world.fig:
12365 Let's try this again, this time with a file that is
12366 actually in XFig format.
12368 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12370 * docs/manual/mime-world.fig:
12371 Add audioconvert element to diagram so that it
12372 matches the text and the code (fixes #319526).
12374 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12376 * docs/pwg/building-chainfn.xml:
12377 * docs/pwg/building-pads.xml:
12378 * docs/pwg/building-state.xml:
12379 * docs/pwg/other-source.xml:
12380 Update state change stuff for 0.10 (fixes #322969).
12382 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12384 * docs/manual/advanced-dataaccess.xml:
12385 * docs/manual/appendix-checklist.xml:
12386 * docs/manual/appendix-programs.xml:
12387 * docs/manual/basics-pads.xml:
12388 * docs/manual/highlevel-components.xml:
12389 * docs/manual/manual.xml:
12390 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12391 add converters in front of pipelines; remove curly
12392 brackets for threads stuff, they no longer exist; use
12393 GST_TYPE_FRACTION for framerates; update some pieces of
12394 code to 0.10, but there's plenty more to do.
12396 * docs/manual/appendix-porting.xml:
12397 Expand on asynchroneous state changes; s/0.9/0.10/;
12398 mention disappearance of gst_init_get_popt_table()
12401 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12403 * docs/faq/using.xml:
12404 Spider no longer exists, and neither does gst-launch-ext.
12405 Update examples to use decodebin and playbin and put
12406 converters in front of sinks (fixes #323726).
12408 2005-12-09 Michael Smith <msmith@fluendo.com>
12410 * plugins/elements/gsttypefindelement.c: (find_peek),
12411 (gst_type_find_element_chain):
12412 Fix leaking element factories in typefinding.
12413 Fix problem where we forgot about a probable type on non-seekable
12414 files, and thus later mis-typefound it.
12416 2005-12-09 Michael Smith <msmith@fluendo.com>
12418 * common/m4/gst-makecontext.m4:
12419 * common/m4/gst-mcsc.m4:
12421 * win32/common/config.h:
12422 * win32/common/config.h.in:
12423 Remove makecontext stuff; not used in 0.10 and causes problems on
12424 HPUX according to bug #322441
12426 2005-12-07 Wim Taymans <wim@fluendo.com>
12428 * tests/check/Makefile.am:
12429 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12431 * tests/check/libs/struct_i386.h:
12432 Added ABI check for libs
12434 2005-12-07 Wim Taymans <wim@fluendo.com>
12436 * tests/check/Makefile.am:
12437 And add the struct_i386.h to dist.
12439 2005-12-07 Wim Taymans <wim@fluendo.com>
12441 * tests/check/Makefile.am:
12442 * tests/check/gst/.cvsignore:
12443 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12445 * tests/check/gst/struct_i386.h:
12446 Added check for ABI compatibility.
12448 2005-12-07 Wim Taymans <wim@fluendo.com>
12450 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12451 (gst_fake_src_get_times), (gst_fake_src_create):
12452 Fix broken sync option, fixes #323259
12454 2005-12-07 Wim Taymans <wim@fluendo.com>
12459 * gst/gstcaps.c: (gst_caps_is_equal):
12460 Don't assert on NULL <--> X. Fixes #323260
12462 * gst/gstminiobject.c: (gst_mini_object_replace):
12463 If we're doing atomic operations, we might just as well use
12464 the proper way to get an atomic pointer.
12466 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12467 Clean up debugging.
12469 2005-12-07 Michael Smith <msmith@fluendo.com>
12471 * gst/parse/grammar.y:
12472 Remove handling of { } for threads.
12474 2005-12-06 David Schleef <ds@schleef.org>
12476 * libs/gst/base/gstbasetransform.c: speling fix.
12478 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12480 * docs/libs/tmpl/gstdataprotocol.sgml:
12481 * docs/random/omega/testing/gstobject.c:
12484 * gst/gstelement.c:
12485 * gst/gstelementfactory.c:
12488 * gst/gstghostpad.c:
12490 * gst/gstpadtemplate.c:
12491 * gst/gstregistryxml.c:
12492 * gst/gsttaglist.c:
12493 * gst/gsttagsetter.c:
12494 * gst/gsttypefind.c:
12496 * libs/gst/base/gstbasesrc.c:
12497 * libs/gst/net/gstnetclientclock.c:
12498 * libs/gst/net/gstnettimeprovider.c:
12499 * plugins/elements/gstfakesrc.c:
12500 * plugins/elements/gstfdsrc.c:
12501 * plugins/elements/gstfilesrc.c:
12502 * plugins/elements/gstidentity.c:
12503 * plugins/elements/gstqueue.c:
12504 * plugins/elements/gsttypefindelement.c:
12505 * plugins/indexers/gstfileindex.c:
12506 * plugins/indexers/gstmemindex.c:
12507 * tests/check/gst/gsttag.c:
12508 * tests/old/examples/cutter/cutter.c:
12509 * tests/old/examples/mixer/mixer.c:
12510 * tests/old/examples/xml/runxml.c: (main):
12511 * tests/old/testsuite/caps/normalisation.c:
12512 * tests/old/testsuite/debug/global.c:
12513 * tests/old/testsuite/parse/parse1.c:
12514 * tools/gst-xmlinspect.c:
12515 * win32/common/dirent.c:
12518 === release 0.10.0 ===
12520 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12523 releasing 0.10.0, "Maroilles"
12525 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12527 submitted by: Funda Wang <fundawang@linux.net.cn>
12531 added Chinese (Traditional) translation
12533 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12535 * docs/gst/gstreamer-sections.txt:
12536 * docs/libs/tmpl/gstdataprotocol.sgml:
12537 * docs/random/thomasvs/TODO:
12542 2005-12-05 Andy Wingo <wingo@pobox.com>
12544 patch by: Wim Taymans <wim@fluendo.com>
12546 * libs/gst/base/gstbasetransform.c
12547 (gst_base_transform_prepare_output_buf)
12548 (gst_base_transform_buffer_alloc):
12549 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12550 alloc_buffer_and_set_caps.
12552 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12553 set_caps on the source pad.
12554 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12555 alloc_buffer used to do. Fixes #322874.
12557 * docs/gst/gstreamer-sections.txt:
12558 * docs/design/part-negotiation.txt:
12559 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12562 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12564 patch by: Sebastien Moutte
12567 * win32/common/config.h.in:
12568 * win32/vs6/libgstcontroller.dsp:
12571 2005-12-05 Wim Taymans <wim@fluendo.com>
12573 * gst/gstcaps.c: (gst_caps_is_equal):
12574 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12575 (gst_fake_src_create):
12576 Back out previous code changes, leave doc updates, file bugs
12579 2005-12-05 Wim Taymans <wim@fluendo.com>
12581 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12582 (gst_fake_src_get_times), (gst_fake_src_create):
12583 * plugins/elements/gstfakesrc.h:
12584 Fix broken sync code.
12586 2005-12-05 Wim Taymans <wim@fluendo.com>
12588 * gst/gstcaps.c: (gst_caps_is_equal):
12589 Comparing NULL against !NULL yields different caps, not a
12592 2005-12-05 Wim Taymans <wim@fluendo.com>
12594 * gst/gstpipeline.c:
12595 Fix small typo in docs.
12597 2005-12-05 Andy Wingo <wingo@pobox.com>
12599 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12601 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12602 registries/plugins with a MAJORMINOR one.
12603 (plugin_desc): Rename library from gstcoreleements to
12604 staticelements. Fixes #323222.
12606 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12608 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12609 Change debug category to 'collectpads' from 'collect_pads'
12612 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12614 patch by: Sebastien Moutte
12616 * libs/gst/controller/gstinterpolation.c:
12617 use convert function for uint64/double
12618 * win32/vs6/libgstcontroller.dsp:
12621 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12623 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12624 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12626 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12627 add tests that seem to show that the guint64/gdouble conversions
12630 2005-12-02 Wim Taymans <wim@fluendo.com>
12632 * gst/gstregistry.c: (gst_registry_add_path):
12633 * gst/gstregistry.h:
12634 * gst/gstregistryxml.c:
12637 2005-12-02 Wim Taymans <wim@fluendo.com>
12639 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12640 (gst_util_uint64_scale_int):
12643 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12644 Add debug log line.
12646 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12649 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12652 * win32/common/config.h:
12653 * win32/vs6/gstreamer.dsw:
12654 * win32/vs6/libgstcoreelements.dsp:
12655 * win32/vs6/libgstelements.dsp:
12656 renamed core elements plugin
12658 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12660 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12662 do piece-wise major/minor comparison so 0.9 < 0.10
12663 also allow .exe extensions for tools
12665 2005-12-02 Michael Smith <msmith@fluendo.com>
12668 Escape a % to make gtkdoc happier; bug 322958.
12670 === release 0.9.7 ===
12672 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12675 releasing 0.9.7, "My Dog Has No Nose"
12677 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12679 * common/gst-xmlinspect.py:
12681 * docs/libs/tmpl/gstdataprotocol.sgml:
12682 * docs/random/release:
12701 * win32/common/config.h:
12702 * win32/common/config.h.in:
12703 * win32/vs6/gst_inspect.dsp:
12704 * win32/vs6/gst_launch.dsp:
12705 * win32/vs6/libgstbase.dsp:
12706 * win32/vs6/libgstelements.dsp:
12707 * win32/vs6/libgstreamer.dsp:
12708 * win32/vs7/GStreamer.vcproj:
12709 * win32/vs7/gst-inspect.vcproj:
12710 * win32/vs7/gst-launch.vcproj:
12711 * win32/vs7/libgstbase.vcproj:
12712 bump GST_MAJORMINOR to 0.10
12713 reset libtool version
12715 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12719 Added Bulgarian translation by (Alexander Shopov)
12721 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12723 * tests/check/gst/gstplugin.c:
12726 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12728 * common/gst-xmlinspect.py:
12729 * common/gtk-doc-plugins.mak:
12731 * docs/Makefile.am:
12732 * docs/gst/Makefile.am:
12733 * docs/gst/gstreamer-docs.sgml:
12734 * docs/gst/gstreamer-sections.txt:
12735 * docs/gst/gstreamer.types:
12736 * docs/gst/gstreamer.types.in:
12737 * docs/plugins/Makefile.am:
12738 * docs/plugins/gstreamer-plugins-docs.sgml:
12739 * docs/plugins/gstreamer-plugins-sections.txt:
12740 * docs/plugins/gstreamer-plugins.types:
12741 * docs/plugins/inspect.stamp:
12742 * docs/plugins/inspect/plugin-coreelements.xml:
12743 * docs/plugins/inspect/plugin-coreindexers.xml:
12744 * docs/plugins/scanobj-build.stamp:
12745 * gstreamer.spec.in:
12746 * plugins/elements/Makefile.am:
12747 * plugins/elements/gstelements.c:
12748 * plugins/elements/gstfakesink.c:
12749 * plugins/elements/gstfakesrc.c:
12750 * plugins/elements/gstfilesink.c:
12751 * plugins/elements/gstfilesrc.c:
12752 * plugins/elements/gstqueue.c:
12753 * plugins/indexers/Makefile.am:
12754 * plugins/indexers/gstindexers.c:
12755 document core plugins in a separate document just like all the
12757 rename these plugins to something starting with core
12759 2005-12-01 Andy Wingo <wingo@pobox.com>
12761 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12762 padding here before, but it missed the commit.
12764 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12766 * libs/gst/controller/gstinterpolation.c:
12767 whitespace prices have crashed, we should feel free to use some now
12768 use gst_guint64_to_gdouble
12770 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12772 * libs/gst/controller/gstcontroller.c:
12773 * libs/gst/controller/gsthelper.c:
12774 * libs/gst/controller/gstinterpolation.c:
12775 * libs/gst/controller/lib.c:
12776 wrap config.h include
12778 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12780 * docs/gst/gstreamer-sections.txt:
12783 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12785 * plugins/elements/gstelements.c:
12786 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12787 (gst_fd_sink__class_init), (gst_fd_sink__init),
12788 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12789 (gst_fd_sink__get_property):
12790 * plugins/elements/gstfdsink.h:
12791 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12792 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12793 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12794 (gst_fd_src_unlock), (gst_fd_src_set_property),
12795 (gst_fd_src_get_property), (gst_fd_src_create),
12796 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12797 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12798 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12799 (gst_fd_src_uri_handler_init):
12800 * plugins/elements/gstfdsrc.h:
12801 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12804 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12806 * docs/gst/Makefile.am:
12807 * docs/gst/gstreamer.types.in:
12811 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12817 * gst/gstregistry.h:
12818 * tests/benchmarks/complexity.c:
12819 * tests/benchmarks/mass-elements.c:
12820 * tests/check/Makefile.am:
12821 * tools/Makefile.am:
12822 * tools/gst-inspect.c:
12823 * tools/gst-xmlinspect.c:
12824 various fixes to make
12825 --disable-nls --disable-registry --disable-loadsave
12826 --disable-parse --disable-gst-debug
12827 work and get the core .so down to 360444 bytes after stripping
12829 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12834 * docs/random/thomasvs/TODO:
12835 * tests/Makefile.am:
12839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12841 * win32/GStreamer.vcproj:
12844 * win32/Makefile.inspect:
12845 * win32/Makefile.launch:
12846 * win32/Makefile.register:
12847 * win32/README.txt:
12848 * win32/gst-inspect.vcproj:
12849 * win32/gst-launch.vcproj:
12850 * win32/gst-register.vcproj:
12851 * win32/gstelements.vcproj:
12852 * win32/gstgetbits.def:
12853 * win32/gstgetbits.vcproj:
12854 * win32/gstreamer-dbg.def:
12855 * win32/gstreamer.def:
12856 * win32/libgstbase.def:
12857 * win32/libgstbase.vcproj:
12858 * win32/link_oldruntime.c:
12862 * win32/msvc71.sln:
12863 move even more stuff, win32/ is nice and clean now
12865 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12867 * libs/gst/control/.cvsignore:
12872 * win32/gstbytestream.def:
12873 * win32/gstbytestream.vcproj:
12874 * win32/gstconfig.h:
12875 * win32/gstenumtypes.c:
12876 * win32/gstenumtypes.h:
12877 * win32/gstoptimalscheduler.vcproj:
12878 * win32/gstversion.h:
12880 * win32/testsuite/bins.vcproj:
12881 * win32/testsuite/bytestream.vcproj:
12882 * win32/testsuite/caps.vcproj:
12883 * win32/testsuite/cleanup.vcproj:
12884 * win32/testsuite/clock.vcproj:
12885 * win32/testsuite/debug.vcproj:
12886 * win32/testsuite/dlopen.vcproj:
12887 * win32/testsuite/dynparams.vcproj:
12888 * win32/testsuite/elements.vcproj:
12889 * win32/testsuite/ghostpads.vcproj:
12890 * win32/testsuite/indexers.vcproj:
12891 * win32/testsuite/negotiation.vcproj:
12892 * win32/testsuite/parse.vcproj:
12893 * win32/testsuite/plugin.vcproj:
12894 * win32/testsuite/refcounting.vcproj:
12895 * win32/testsuite/schedulers.vcproj:
12896 * win32/testsuite/states.vcproj:
12897 * win32/testsuite/tags.vcproj:
12898 * win32/testsuite/threads.vcproj:
12899 remove old win32 stuff that isn't maintained and should be
12902 2005-11-30 Andy Wingo <wingo@pobox.com>
12904 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12905 loading the gst.interfaces python module bork.
12907 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12908 available since GLib 2.2. Fixes #318031.
12910 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12913 * check/.cvsignore:
12914 * check/Makefile.am:
12915 * check/elements/.cvsignore:
12916 * check/elements/fakesrc.c:
12917 * check/elements/fdsrc.c:
12918 * check/elements/identity.c:
12919 * check/generic/.cvsignore:
12920 * check/generic/states.c:
12921 * check/gst-libs/.cvsignore:
12922 * check/gst-libs/controller.c:
12923 * check/gst-libs/gdp.c:
12924 * check/gst/.cvsignore:
12925 * check/gst/capslist.h:
12927 * check/gst/gstbin.c:
12928 * check/gst/gstbuffer.c:
12929 * check/gst/gstbus.c:
12930 * check/gst/gstcaps.c:
12931 * check/gst/gstelement.c:
12932 * check/gst/gstevent.c:
12933 * check/gst/gstghostpad.c:
12934 * check/gst/gstiterator.c:
12935 * check/gst/gstmessage.c:
12936 * check/gst/gstminiobject.c:
12937 * check/gst/gstobject.c:
12938 * check/gst/gstpad.c:
12939 * check/gst/gstpipeline.c:
12940 * check/gst/gstplugin.c:
12941 * check/gst/gstsegment.c:
12942 * check/gst/gststructure.c:
12943 * check/gst/gstsystemclock.c:
12944 * check/gst/gsttag.c:
12945 * check/gst/gstutils.c:
12946 * check/gst/gstvalue.c:
12947 * check/net/.cvsignore:
12948 * check/net/gstnetclientclock.c:
12949 * check/net/gstnettimeprovider.c:
12950 * check/pipelines/.cvsignore:
12951 * check/pipelines/cleanup.c:
12952 * check/pipelines/simple_launch_lines.c:
12953 * check/pipelines/stress.c:
12954 * check/states/.cvsignore:
12955 * check/states/sinks.c:
12957 * examples/Makefile.am:
12958 * examples/appreader/.cvsignore:
12959 * examples/appreader/Makefile.am:
12960 * examples/appreader/appreader.c:
12961 * examples/controller/.cvsignore:
12962 * examples/controller/Makefile.am:
12963 * examples/controller/audio-example.c:
12964 * examples/cutter/.cvsignore:
12965 * examples/cutter/Makefile.am:
12966 * examples/cutter/cutter.c:
12967 * examples/cutter/cutter.h:
12968 * examples/events/Makefile.am:
12969 * examples/events/seek.c:
12970 * examples/helloworld/.cvsignore:
12971 * examples/helloworld/Makefile.am:
12972 * examples/helloworld/helloworld.c:
12973 * examples/helloworld2/.cvsignore:
12974 * examples/helloworld2/Makefile.am:
12975 * examples/helloworld2/helloworld2.c:
12976 * examples/launch/.cvsignore:
12977 * examples/launch/Makefile.am:
12978 * examples/launch/mp3parselaunch.c:
12979 * examples/launch/mp3play:
12980 * examples/manual/.cvsignore:
12981 * examples/manual/Makefile.am:
12982 * examples/manual/extract.pl:
12983 * examples/metadata/Makefile.am:
12984 * examples/metadata/read-metadata.c:
12985 * examples/mixer/.cvsignore:
12986 * examples/mixer/Makefile.am:
12987 * examples/mixer/mixer.c:
12988 * examples/mixer/mixer.h:
12989 * examples/pingpong/.cvsignore:
12990 * examples/pingpong/Makefile.am:
12991 * examples/pingpong/pingpong.c:
12992 * examples/plugins/.cvsignore:
12993 * examples/plugins/Makefile.am:
12994 * examples/plugins/example.c:
12995 * examples/plugins/example.h:
12996 * examples/pwg/.cvsignore:
12997 * examples/pwg/Makefile.am:
12998 * examples/pwg/extract.pl:
12999 * examples/queue/.cvsignore:
13000 * examples/queue/Makefile.am:
13001 * examples/queue/queue.c:
13002 * examples/queue2/.cvsignore:
13003 * examples/queue2/Makefile.am:
13004 * examples/queue2/queue2.c:
13005 * examples/queue3/.cvsignore:
13006 * examples/queue3/Makefile.am:
13007 * examples/queue3/queue3.c:
13008 * examples/queue4/.cvsignore:
13009 * examples/queue4/Makefile.am:
13010 * examples/queue4/queue4.c:
13011 * examples/retag/.cvsignore:
13012 * examples/retag/Makefile.am:
13013 * examples/retag/retag.c:
13014 * examples/retag/transcode.c:
13015 * examples/thread/.cvsignore:
13016 * examples/thread/Makefile.am:
13017 * examples/thread/thread.c:
13018 * examples/typefind/.cvsignore:
13019 * examples/typefind/Makefile.am:
13020 * examples/typefind/typefind.c:
13021 * examples/xml/.cvsignore:
13022 * examples/xml/Makefile.am:
13023 * examples/xml/createxml.c:
13024 * examples/xml/runxml.c:
13025 * tests/Makefile.am:
13026 * tests/check/Makefile.am:
13027 * testsuite/.cvsignore:
13028 * testsuite/Makefile.am:
13030 * testsuite/caps/.cvsignore:
13031 * testsuite/caps/Makefile.am:
13032 * testsuite/caps/app_fixate.c:
13033 * testsuite/caps/audioscale.c:
13034 * testsuite/caps/caps.c:
13035 * testsuite/caps/caps.h:
13036 * testsuite/caps/caps_strings:
13037 * testsuite/caps/compatibility.c:
13038 * testsuite/caps/deserialize.c:
13039 * testsuite/caps/enumcaps.c:
13040 * testsuite/caps/eratosthenes.c:
13041 * testsuite/caps/filtercaps.c:
13042 * testsuite/caps/fixed.c:
13043 * testsuite/caps/fraction-convert.c:
13044 * testsuite/caps/fraction-multiply-and-zero.c:
13045 * testsuite/caps/intersect2.c:
13046 * testsuite/caps/intersection.c:
13047 * testsuite/caps/normalisation.c:
13048 * testsuite/caps/random.c:
13049 * testsuite/caps/renegotiate.c:
13050 * testsuite/caps/sets.c:
13051 * testsuite/caps/simplify.c:
13052 * testsuite/caps/string-conversions.c:
13053 * testsuite/caps/structure.c:
13054 * testsuite/caps/subtract.c:
13055 * testsuite/caps/union.c:
13056 * testsuite/debug/.cvsignore:
13057 * testsuite/debug/Makefile.am:
13058 * testsuite/debug/category.c:
13059 * testsuite/debug/commandline.c:
13060 * testsuite/debug/global.c:
13061 * testsuite/debug/output.c:
13062 * testsuite/debug/printf_extension.c:
13063 * testsuite/dlopen/.cvsignore:
13064 * testsuite/dlopen/Makefile.am:
13065 * testsuite/dlopen/dlopen_gst.c:
13066 * testsuite/dlopen/loadgst.c:
13067 * testsuite/elements/.cvsignore:
13068 * testsuite/elements/Makefile.am:
13069 * testsuite/elements/gst-inspect-check.in:
13070 * testsuite/elements/struct_i386.h:
13071 * testsuite/elements/struct_size.c:
13072 * testsuite/indexers/.cvsignore:
13073 * testsuite/indexers/Makefile.am:
13074 * testsuite/indexers/cache1.c:
13075 * testsuite/indexers/indexdump.c:
13076 * testsuite/parse/.cvsignore:
13077 * testsuite/parse/Makefile.am:
13078 * testsuite/parse/parse1.c:
13079 * testsuite/parse/parse2.c:
13080 * testsuite/plugin/.cvsignore:
13081 * testsuite/plugin/Makefile.am:
13082 * testsuite/plugin/README:
13083 * testsuite/plugin/dynamic.c:
13084 * testsuite/plugin/linked.c:
13085 * testsuite/plugin/loading.c:
13086 * testsuite/plugin/registry.c:
13087 * testsuite/plugin/static.c:
13088 * testsuite/plugin/static2.c:
13089 * testsuite/plugin/testplugin.c:
13090 * testsuite/plugin/testplugin2.c:
13091 * testsuite/plugin/testplugin2_s.c:
13092 * testsuite/plugin/testplugin_s.c:
13093 * testsuite/refcounting/.cvsignore:
13094 * testsuite/refcounting/Makefile.am:
13095 * testsuite/refcounting/bin.c:
13096 * testsuite/refcounting/element.c:
13097 * testsuite/refcounting/element_pad.c:
13098 * testsuite/refcounting/mainloop.c:
13099 * testsuite/refcounting/mem.c:
13100 * testsuite/refcounting/mem.h:
13101 * testsuite/refcounting/object.c:
13102 * testsuite/refcounting/pad.c:
13103 * testsuite/refcounting/sched.c:
13104 * testsuite/refcounting/thread.c:
13105 * testsuite/states/.cvsignore:
13106 * testsuite/states/Makefile.am:
13107 * testsuite/states/bin.c:
13108 * testsuite/states/locked.c:
13109 * testsuite/states/parent.c:
13110 * testsuite/threads/.cvsignore:
13111 * testsuite/threads/159566.c:
13112 * testsuite/threads/159852.c:
13113 * testsuite/threads/Makefile.am:
13114 * testsuite/threads/queue.c:
13115 * testsuite/threads/signals.c:
13116 * testsuite/threads/staticrec.c:
13117 * testsuite/threads/thread.c:
13118 * testsuite/threads/threadb.c:
13119 * testsuite/threads/threadc.c:
13120 * testsuite/threads/threadd.c:
13121 * testsuite/threads/threade.c:
13122 * testsuite/threads/threadf.c:
13123 * testsuite/threads/threadg.c:
13124 * testsuite/threads/threadh.c:
13125 * testsuite/threads/threadi.c:
13126 move all of these under tests
13128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13131 * tests/Makefile.am:
13134 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13136 * docs/gst/gstreamer-sections.txt:
13137 * tests/sched/.cvsignore:
13138 * tests/sched/Makefile.am:
13139 * tests/sched/cases/(fs-fs).xml:
13140 * tests/sched/cases/(fs-i-fs).xml:
13141 * tests/sched/cases/(fs-i-i-fs).xml:
13142 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13143 * tests/sched/dynamic-pipeline.c:
13144 * tests/sched/interrupt1.c:
13145 * tests/sched/interrupt2.c:
13146 * tests/sched/interrupt3.c:
13147 * tests/sched/runtestcases:
13148 * tests/sched/runxml.c:
13149 * tests/sched/sched-stress.c:
13150 * tests/sched/sort.c:
13151 * tests/sched/testcases:
13152 * tests/sched/testcases1.tc:
13153 * tests/seeking/.cvsignore:
13154 * tests/seeking/Makefile.am:
13155 * tests/seeking/seeking1.c:
13156 * tests/threadstate/.cvsignore:
13157 * tests/threadstate/Makefile.am:
13158 * tests/threadstate/test1.c:
13159 * tests/threadstate/test2.c:
13160 * tests/threadstate/threadstate1.c:
13161 * tests/threadstate/threadstate2.c:
13162 * tests/threadstate/threadstate3.c:
13163 * tests/threadstate/threadstate4.c:
13164 * tests/threadstate/threadstate5.c:
13165 remove obsolete tests
13167 * tests/bench-complexity.scm:
13168 * tests/bench-mass_elements.scm:
13169 * tests/complexity.c:
13170 * tests/complexity.gnuplot:
13171 * tests/instantiate/.cvsignore:
13172 * tests/instantiate/Makefile.am:
13173 * tests/instantiate/caps.c:
13174 * tests/mass_elements.c:
13175 * tests/network-clock-utils.scm:
13176 * tests/network-clock.scm:
13178 First pass at cleaning up tests/ dir before moving the rest
13179 Combined with CVS surgery
13181 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13184 queue has moved, update
13186 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13188 * docs/gst/gstreamer-sections.txt:
13189 remove double entries from the docs
13190 * gst/gst_private.h:
13191 * gst/gstinfo.c: (_gst_debug_init):
13192 remove the THREAD debug category
13196 * docs/gst/gstreamer.types:
13197 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13198 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13199 completely move queue and fix up debugging categories
13201 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13203 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13204 make initialization portable, using LL is not
13206 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13208 * win32/common/gstconfig.h:
13211 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13213 * win32/common/libgstreamer.def:
13214 rename symbols; sort base section
13216 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13218 * gst/gstclock.c: (do_linear_regression):
13219 remove crack non-portable handrolled DEBUG macro
13221 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13223 * docs/random/release:
13225 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13226 (gst_object_flags_get_type), (register_gst_bin_flags),
13227 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13228 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13229 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13230 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13231 (gst_caps_flags_get_type), (register_gst_clock_return),
13232 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13233 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13234 (gst_clock_flags_get_type), (register_gst_state),
13235 (gst_state_get_type), (register_gst_state_change_return),
13236 (gst_state_change_return_get_type), (register_gst_state_change),
13237 (gst_state_change_get_type), (register_gst_element_flags),
13238 (gst_element_flags_get_type), (register_gst_core_error),
13239 (gst_core_error_get_type), (register_gst_library_error),
13240 (gst_library_error_get_type), (register_gst_resource_error),
13241 (gst_resource_error_get_type), (register_gst_stream_error),
13242 (gst_stream_error_get_type), (register_gst_event_type_flags),
13243 (gst_event_type_flags_get_type), (register_gst_event_type),
13244 (gst_event_type_get_type), (register_gst_seek_type),
13245 (gst_seek_type_get_type), (register_gst_seek_flags),
13246 (gst_seek_flags_get_type), (register_gst_format),
13247 (gst_format_get_type), (register_gst_index_certainty),
13248 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13249 (gst_index_entry_type_get_type),
13250 (register_gst_index_lookup_method),
13251 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13252 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13253 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13254 (gst_index_flags_get_type), (register_gst_debug_level),
13255 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13256 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13257 (gst_iterator_result_get_type), (register_gst_iterator_item),
13258 (gst_iterator_item_get_type), (register_gst_message_type),
13259 (gst_message_type_get_type), (register_gst_mini_object_flags),
13260 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13261 (gst_pad_link_return_get_type), (register_gst_flow_return),
13262 (gst_flow_return_get_type), (register_gst_activate_mode),
13263 (gst_activate_mode_get_type), (register_gst_pad_direction),
13264 (gst_pad_direction_get_type), (register_gst_pad_flags),
13265 (gst_pad_flags_get_type), (register_gst_pad_presence),
13266 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13267 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13268 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13269 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13270 (gst_plugin_flags_get_type), (register_gst_rank),
13271 (gst_rank_get_type), (register_gst_query_type),
13272 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13273 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13274 (gst_tag_flag_get_type), (register_gst_task_state),
13275 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13276 (gst_alloc_trace_flags_get_type),
13277 (register_gst_type_find_probability),
13278 (gst_type_find_probability_get_type), (register_gst_uri_type),
13279 (gst_uri_type_get_type), (register_gst_parse_error),
13280 (gst_parse_error_get_type):
13281 * win32/common/gstenumtypes.h:
13282 * win32/common/gstversion.h:
13283 update visual studio generated files
13285 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13287 * win32/vs6/libgstbase.dsp:
13288 * win32/vs6/libgstelements.dsp:
13289 update project files for new locations
13291 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13296 reinstate and update
13301 * docs/random/LICENSE:
13304 2005-11-30 Edward Hervey <edward@fluendo.com>
13306 * gst/gsttypefind.c: (gst_type_find_register):
13307 * gst/gsttypefind.h:
13308 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13309 (gst_type_find_factory_dispose):
13310 * gst/gsttypefindfactory.h:
13311 Fix memory leak in GstTypeFindFactory.
13313 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13316 * plugins/elements/Makefile.am:
13317 * plugins/elements/gstelements.c:
13318 * plugins/elements/gstqueue.c:
13319 move queue from core to the elements plugin
13321 2005-11-29 Andy Wingo <wingo@pobox.com>
13323 * libs/gst/base/gstbasetransform.h:
13324 * libs/gst/base/gstbasesrc.h:
13325 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13327 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13328 of pointers by which to pad very extensible base classes (like the
13329 ones in libs/gst/base).
13331 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13333 * docs/gst/gstreamer-docs.sgml:
13334 * docs/gst/gstreamer-sections.txt:
13335 * docs/libs/gstreamer-libs-docs.sgml:
13336 * docs/libs/gstreamer-libs-sections.txt:
13337 moving documentation from core to lib
13339 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13341 * check/Makefile.am:
13343 * docs/gst/Makefile.am:
13345 * gst/base/.cvsignore:
13346 * gst/base/Makefile.am:
13348 * gst/base/gstadapter.c:
13349 * gst/base/gstadapter.h:
13350 * gst/base/gstbasesink.c:
13351 * gst/base/gstbasesink.h:
13352 * gst/base/gstbasesrc.c:
13353 * gst/base/gstbasesrc.h:
13354 * gst/base/gstbasetransform.c:
13355 * gst/base/gstbasetransform.h:
13356 * gst/base/gstcollectpads.c:
13357 * gst/base/gstcollectpads.h:
13358 * gst/base/gstpushsrc.c:
13359 * gst/base/gstpushsrc.h:
13360 * gst/base/gsttypefindhelper.c:
13361 * gst/base/gsttypefindhelper.h:
13362 * gst/check/Makefile.am:
13363 * gst/check/gstcheck.c:
13364 * gst/check/gstcheck.h:
13365 * gst/net/Makefile.am:
13366 * gst/net/gstnet.h:
13367 * gst/net/gstnetclientclock.c:
13368 * gst/net/gstnetclientclock.h:
13369 * gst/net/gstnettimepacket.c:
13370 * gst/net/gstnettimepacket.h:
13371 * gst/net/gstnettimeprovider.c:
13372 * gst/net/gstnettimeprovider.h:
13373 * libs/gst/Makefile.am:
13374 * libs/gst/base/Makefile.am:
13375 * libs/gst/base/gstbasetransform.c:
13376 * libs/gst/check/Makefile.am:
13377 * plugins/elements/Makefile.am:
13379 CVS surgery + support to move base, check, and net out of gst
13382 2005-11-29 Andy Wingo <wingo@pobox.com>
13384 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13386 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13389 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13391 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13393 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13395 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13396 padding; reduces object size by about 30%. We don't expect
13397 anything else to go into gstobject.
13399 * gst/gstminiobject.h (struct _GstMiniObject)
13400 (struct _GstMiniObjectClass): Only one pointer of padding; the
13401 payload is only a pointer and two ints anyway. For the class there
13402 are only two methods as well.
13404 * gst/gstelement.h (struct _GstElementClass): Removed
13405 the state_changed signal callback, it is not used.
13407 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13409 * docs/gst/gstreamer.types:
13410 fix includes, though they are a little dinky
13412 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13414 * check/Makefile.am:
13415 look in the right place for elements, a lot more chance of
13418 remove indexers and elements subdirs
13419 * plugins/Makefile.am:
13420 make indexers conditional
13422 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13426 * plugins/elements/Makefile.am:
13427 * plugins/elements/gstcapsfilter.c:
13428 * plugins/elements/gstfilesink.c:
13429 * plugins/elements/gstfilesrc.c:
13430 * plugins/elements/gstidentity.c:
13431 * plugins/indexers/Makefile.am:
13432 do CVS surgery and related build fixery to move elements
13433 and indexers in a new gstreamer/plugins directory, out of the
13436 2005-11-29 Andy Wingo <wingo@pobox.com>
13438 * check/Makefile.am:
13439 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13440 * pkgconfig/gstreamer-net.pc.in:
13441 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13444 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13446 * tools/Makefile.am:
13447 * tools/gst-complete.1.in:
13448 * tools/gst-complete.c:
13449 * tools/gst-compprep.1.in:
13450 * tools/gst-compprep.c:
13451 removing -compprep and -complete
13453 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13455 * gst/gstevent.c: (gst_event_new_new_segment),
13456 (gst_event_parse_new_segment):
13458 fix #320529 - clean up new_segment API and structure.
13459 Let's hope everyone was using the methods, and not the structure.
13461 2005-11-29 Edward Hervey <edward@fluendo.com>
13463 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13464 (gst_base_sink_event), (gst_base_sink_do_sync),
13465 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13466 Properly handle non GST_FORMAT_TIME segment
13467 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13468 Properly handle non GST_FORMAT_TIME segment
13469 * gst/gstsegment.c:
13470 This function is valid if the accumulator is 0 and the format
13471 is different from the requested format.
13473 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13475 * docs/gst/gstreamer-sections.txt:
13476 Add gst_query_new_seeking and gst_query_parse_seeking to the
13479 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13481 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13482 Treat a pad alloc with new caps the same as if we were not
13483 negotiated, in order to allow a changing upstream output
13484 to produce a new format of data.
13486 2005-11-29 Edward Hervey <edward@fluendo.com>
13488 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13489 (gst_base_transform_event), (gst_base_transform_eventfunc):
13490 The event virtual method is now properly implemented, with a default
13492 Sub classes should call the parent_class event method. They should
13493 return FALSE if they had a problem handling the given event, or don't
13494 want GstBaseTransform to send that even downstream
13495 * gst/elements/gstidentity.c: (gst_identity_class_init),
13496 (gst_identity_init), (gst_identity_event),
13497 (gst_identity_transform_ip), (gst_identity_set_property),
13498 (gst_identity_get_property):
13499 * gst/elements/gstidentity.h:
13500 Added the single-segment boolean property.
13501 If set to TRUE, it will output a single segment of data, starting from
13502 0, will eat up all incoming newsegment, and modify the timestamp of the
13503 buffers accordingly
13505 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13507 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13508 Don't ref NULL target pad (#322751). Improve docs.
13510 2005-11-29 Michael Smith <msmith@fluendo.com>
13512 * gst/gstregistryxml.c: (load_plugin):
13513 Don't crash if we failed to load a feature from a plugin.
13515 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13517 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13519 use more check API and less GLib API
13521 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13524 don't run checks if we don't have check
13525 * common/check.mak:
13526 remove the registry when running make torture
13527 * docs/gst/gstreamer-sections.txt:
13528 remove second multiply
13529 * gst/gstqueue.c: (gst_queue_loop):
13530 fix a compile warning when disabling debug
13532 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13535 Hey! Let's print the pad name if the pointer != NULL instead
13536 of when it == NULL :-)
13538 2005-11-28 Wim Taymans <wim@fluendo.com>
13540 * check/gst/gstutils.c: (GST_START_TEST):
13541 Updated check, add some scaling accuracy checking code.
13543 * gst/gstutils.c: (gst_util_div128_64),
13544 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13545 (gst_util_uint64_scale_int):
13546 Fix 6 times faster division code. Optimize for common
13547 1/1 and less common X/1 cases.
13549 2005-11-28 Wim Taymans <wim@fluendo.com>
13551 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13554 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13555 (do_linear_regression), (gst_clock_add_observation):
13557 Release lock when the clock cannot be slaved.
13558 Catch the case where the regression returned an invalid denominator.
13560 * gst/gstutils.c: (gst_util_div128_64_iterate),
13561 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13562 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13563 Add protentially more performant non-iterative 128/64 divide function
13564 that unfortunatly does not work yet.
13565 Shortcut the trivial 0/X = 0 case.
13566 Remove the warnings on overflow.
13568 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13570 * gst/gstplugin.c: (gst_plugin_register_func):
13571 everything causing a plugin not to load should be at least a WARNING
13573 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13575 * docs/random/ensonic/dparams.txt:
13576 some TODOs for the next dev cycle
13577 * libs/gst/controller/gstcontroller.c:
13578 (gst_controlled_property_set_interpolation_mode),
13579 (gst_controlled_property_new):
13580 * libs/gst/controller/gstcontroller.h:
13581 use base type to assign acccessor functions
13583 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13585 * check/Makefile.am:
13586 Oops, that should have been top_srcdir
13588 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13590 * check/Makefile.am:
13591 * check/elements/fdsrc.c: (GST_START_TEST):
13592 Use a cmdline define to specify the location of a file to use for
13593 testing, to avoid breaking distcheck.
13595 2005-11-28 Andy Wingo <wingo@pobox.com>
13597 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13599 2005-11-28 Edward Hervey <edward@fluendo.com>
13601 * tools/gst-launch.c: (main):
13602 Clarify the output strings, makes it easier to translate.
13605 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13608 don't try and build net if we don't even have <sys/socket.h>
13610 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13612 * check/Makefile.am:
13613 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13614 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13615 Add tests for fdsrc seekability
13617 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13618 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13619 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13620 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13621 * gst/elements/gstfdsrc.h:
13622 fdsrc should not be a 'live' source.
13623 Implement seeking on seekable fd's.
13625 * gst/gstquery.c: (gst_query_new_seeking),
13626 (gst_query_parse_seeking):
13628 Implement SEEKING query functions:
13629 *_new_seeking and *_parse_seeking
13631 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13633 * gst/gstelement.c: (gst_element_dispose):
13636 * gst/gstiterator.c:
13637 * gst/gststructure.c:
13640 * libs/gst/controller/gstcontroller.c:
13641 (gst_controlled_property_set_interpolation_mode):
13642 * libs/gst/controller/gstcontroller.h:
13643 * libs/gst/controller/gstinterpolation.c:
13644 (interpolate_none_get_enum_value_array):
13645 support controlling enums
13647 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13650 Improve documentation for gst_value_union().
13653 Change return value for union, intersect and subtract functions
13654 from gint to gboolean.
13656 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13658 * gst/gstvalue.c: (gst_value_serialize_any_list),
13659 (gst_value_transform_any_list_string),
13660 (gst_value_deserialize_list), (gst_value_deserialize_array),
13661 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13662 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13663 (gst_value_set_fraction_range_full),
13664 (gst_value_deserialize_fraction_range),
13665 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13666 (gst_value_deserialize_boolean),
13667 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13668 (gst_value_serialize_float), (gst_value_deserialize_float),
13669 (gst_string_wrap), (gst_value_deserialize_string),
13670 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13671 (gst_value_union_int_range_int_range),
13672 (gst_value_intersect_int_range_int_range),
13673 (gst_value_intersect_double_range_double_range),
13674 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13675 (gst_value_subtract_int_range_int_range),
13676 (gst_value_subtract_double_double_range),
13677 (gst_value_subtract_double_range_double_range),
13678 (gst_value_deserialize_fraction):
13680 Use gint, gdouble and gchar in our API instead of int, double and
13681 char (and make usage in gstvalue.c more consistent).
13683 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13685 * check/Makefile.am:
13686 * libs/gst/controller/Makefile.am:
13687 * libs/gst/dataprotocol/Makefile.am:
13688 fix up Makefile.am and remove GST_ENABLE_NEW
13690 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13694 * gst/base/Makefile.am:
13695 * gst/check/Makefile.am:
13696 * gst/elements/Makefile.am:
13697 * gst/net/Makefile.am:
13698 update LDFLAGS use some more
13700 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13702 * common/m4/gst-doc.m4:
13705 2005-11-26 Edward Hervey <edward@fluendo.com>
13707 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13708 This shouldn't issue a g_warning since it returns NULL if it
13709 couldn't find the plugin, and all functions using this behave
13710 properly on a NULL return. Switching to a GST_WARNING.
13712 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13714 * gst/gstbin.c: (gst_bin_handle_message_func):
13715 Don't leak clock messages.
13717 2005-11-25 Wim Taymans <wim@fluendo.com>
13719 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13720 (gst_util_uint64_scale_int):
13721 Optimisations, remove unneeded vars.
13723 2005-11-25 Wim Taymans <wim@fluendo.com>
13725 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13726 Added more checks for the high precision uint64 cases.
13728 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13729 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13730 Implement high precision (guint64 * guint64) / guint64.
13732 2005-11-24 Wim Taymans <wim@fluendo.com>
13734 * gst/base/gstbasesrc.c: (gst_base_src_query):
13735 Fix wrong percentage query.
13737 * gst/gstutils.c: (gst_util_uint64_scale),
13738 (gst_util_uint64_scale_int):
13739 Add some more common cases that can be handled
13740 efficiently to _scale.
13742 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13744 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13745 (gst_mini_object_suite):
13746 don't use check calls from threads; check probably isn't
13747 threadsafe and using a lock to make it threadsafe would
13748 defeat the purpose of this check
13749 * gst/check/gstcheck.c:
13750 * gst/check/gstcheck.h:
13751 use GST_DEBUG some more
13753 2005-11-24 Wim Taymans <wim@fluendo.com>
13755 * gst/gstutils.c: (gst_util_uint64_scale),
13756 (gst_util_uint64_scale_int):
13757 Chain trivial case to _scale_int.
13759 2005-11-24 Wim Taymans <wim@fluendo.com>
13761 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13762 Added test for scaling.
13767 * gst/gstutils.c: (gst_util_uint64_scale_int):
13768 Implemented high precision scaling code.
13770 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13773 do not crash on pad==NULL
13775 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13777 Patch by: Stefan Kost
13779 * common/gtk-doc.mak:
13780 * docs/gst/Makefile.am:
13781 * docs/libs/Makefile.am:
13782 Fix distcheck issues for the libraries docs build
13785 2005-11-24 Michael Smith <msmith@fluendo.com>
13787 * docs/manual/basics-helloworld.xml:
13788 Fix bug #315027: memory leak in example code in docs.
13790 2005-11-24 Michael Smith <msmith@fluendo.com>
13792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13793 Unlock the PREROLL_LOCK in a failure case.
13795 2005-11-24 Wim Taymans <wim@fluendo.com>
13797 * docs/gst/gstreamer-sections.txt:
13798 * gst/base/gstadapter.h:
13799 * gst/base/gstbasesink.h:
13800 * gst/base/gstbasesrc.h:
13801 * gst/base/gstbasetransform.h:
13802 * gst/base/gstpushsrc.h:
13803 * gst/elements/gstfakesink.h:
13804 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13805 * gst/elements/gstfakesrc.h:
13806 * gst/elements/gstfilesink.h:
13807 * gst/elements/gstfilesrc.h:
13810 * gst/gstbuffer.c: (_gst_buffer_copy):
13813 * gst/gstchildproxy.c:
13815 * gst/gstelement.c:
13816 * gst/gstelementfactory.c:
13817 * gst/gstelementfactory.h:
13819 * gst/gstghostpad.h:
13821 * gst/gstinterface.h:
13822 * gst/gstminiobject.c:
13823 * gst/gstminiobject.h:
13826 * gst/gstpadtemplate.h:
13827 * gst/gstpipeline.h:
13828 * gst/gstpluginfeature.h:
13831 * gst/gsttaglist.c:
13832 * gst/gsttaglist.h:
13833 * gst/gsttagsetter.c:
13834 * gst/gsttagsetter.h:
13837 * gst/gsttypefind.h:
13840 * gst/net/gstnetclientclock.c:
13841 * gst/net/gstnetclientclock.h:
13842 * gst/net/gstnettimepacket.c:
13843 * gst/net/gstnettimeprovider.c:
13844 * gst/net/gstnettimeprovider.h:
13847 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13849 * configure.ac: back to HEAD
13851 === release 0.9.6 ===
13853 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13856 releasing 0.9.6, "Always On Time"
13858 2005-11-23 Wim Taymans <wim@fluendo.com>
13860 * docs/gst/gstreamer-sections.txt:
13861 * gst/glib-compat.c:
13862 * gst/gsttagsetter.c:
13864 * gst/net/gstnetclientclock.c:
13865 * gst/net/gstnettimepacket.h:
13868 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13870 * docs/faq/using.xml:
13871 * docs/libs/tmpl/gstcontrol.sgml:
13872 * docs/manual/advanced-dparams.xml:
13873 * docs/manual/appendix-checklist.xml:
13874 * docs/manual/basics-elements.xml:
13875 * docs/pwg/other-source.xml:
13876 * docs/random/moving-plugins:
13878 * tools/gst-launch.1.in:
13879 remove mentions of sinesrc
13881 2005-11-23 Michael Smith <msmith@fluendo.com>
13883 * docs/gst/gstreamer-sections.txt:
13884 Update for new API and API changes.
13886 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13888 Documentation typo fix.
13889 * gst/net/gstnettimepacket.c:
13890 Documentation fixes for arguments.
13892 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13894 * gst/gststructure.c: (gst_structure_get_fraction),
13895 (gst_structure_parse_value),
13896 (gst_structure_fixate_field_nearest_fraction):
13897 * gst/gststructure.h:
13898 * gst/gstutils.c: (gst_util_uint64_scale_int):
13900 * scripts/update-funcnames:
13902 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13903 Make gst_structure_fixate_field_nearest_fraction take a numerator
13904 and denominator argument instead of a GValue
13905 add gst_structure_get_fraction helper function.
13907 2005-11-23 Wim Taymans <wim@fluendo.com>
13909 * docs/design/part-TODO.txt:
13912 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13913 * gst/net/gstnetclientclock.h:
13914 Use parent fields for timeout and window_size.
13916 2005-11-23 Andy Wingo <wingo@pobox.com>
13918 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13919 rate_num/rate_denom change.
13921 * gst/net/gstnetclientclock.c
13922 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13923 OBJECT_LOCK. Don't call add_observation with the lock.
13925 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13927 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13929 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13930 deal with rate as a fraction whose numerator and denominator are
13931 GstClockTime values.
13932 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13933 master; the other fields are protected by the SLAVE_LOCK.
13934 (do_linear_regression): Note that this must be called with the
13936 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13937 OBJECT_LOCK. Call set_calibration instead of touching the
13938 variables directly.
13939 (gst_clock_set_property, gst_clock_get_property): Protect
13940 master/slave parameters with the SLAVE_LOCK.
13942 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13943 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13944 note that all of the instance variables that add_observation and
13945 the set_master functions use are protected by that lock and not
13947 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13949 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13950 the caller to take the object lock.
13952 2005-11-23 Wim Taymans <wim@fluendo.com>
13954 * gst/gsterror.c: (_gst_core_errors_init):
13956 Add error for clock stuff.
13958 * gst/gstpipeline.c: (gst_pipeline_change_state),
13959 (gst_pipeline_set_clock):
13960 Post clock error when clock cannot be used in a pipeline.
13962 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13964 * docs/gst/gstreamer-sections.txt:
13965 make two symbols from gstinfo private for the docs
13966 * gst/base/gstcollectpads.h:
13968 fix doc typos, update docs
13970 2005-11-22 Wim Taymans <wim@fluendo.com>
13972 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13973 (gst_base_sink_wait), (gst_base_sink_do_sync),
13974 (gst_base_sink_handle_event):
13975 * gst/base/gstbasesink.h:
13976 No need to store the clock, the parent element class already
13979 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13980 Updates for clock_set returning a gboolean
13982 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13983 (gst_clock_id_wait_async), (gst_clock_class_init),
13984 (gst_clock_init), (gst_clock_finalize),
13985 (gst_clock_get_internal_time), (gst_clock_get_time),
13986 (gst_clock_slave_callback), (gst_clock_set_master),
13987 (gst_clock_get_master), (do_linear_regression),
13988 (gst_clock_add_observation), (gst_clock_set_property),
13989 (gst_clock_get_property):
13991 Implement master/slave. When setting a clock as a slave, a
13992 periodic timeout is scheduled to sample master and slave times.
13993 Then the slave clock is recalibrated to match offset and rate
13994 of the master clock.
13995 Update logging a bit.
13996 Add flag so that a clock can state that is cannot be slaved to
13999 * gst/gstelement.c: (gst_element_set_clock):
14000 * gst/gstelement.h:
14001 The set clock returns a gboolean for when an element cannot
14002 deal with the selected clock in the pipeline.
14004 * gst/gstpipeline.c: (gst_pipeline_change_state),
14005 (gst_pipeline_set_clock):
14006 * gst/gstpipeline.h:
14007 Handle the case where the selected clock cannot be set on
14010 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14011 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14012 (gst_net_client_clock_set_property),
14013 (gst_net_client_clock_get_property),
14014 (gst_net_client_clock_observe_times):
14015 * gst/net/gstnetclientclock.h:
14016 Use regression code in GstClock parent, remove duplicated
14019 2005-11-22 Michael Smith <msmith@fluendo.com>
14021 * gst/gstutils.c: (gst_util_clock_time_scale):
14023 * docs/gst/gstreamer-sections.txt:
14024 Rename method to have extra underscore.
14026 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14028 * gst/elements/Makefile.am:
14029 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14030 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14031 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14032 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14033 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14034 * gst/elements/gstfakesrc.h:
14035 * gst/gstqueue.c: (queue_leaky_get_type):
14036 correctly fix GEnumValues so that nick is the short lowercase
14038 * tools/gst-inspect.c: (print_element_properties_info):
14039 also show the nick, since it's useful to use from parse_launch
14043 2005-11-22 Michael Smith <msmith@fluendo.com>
14045 * gst/gstutils.c: (gst_util_clocktime_scale):
14047 * docs/gst/gstreamer-sections.txt:
14048 Add util method for scaling a clocktime by a fraction. Useful
14049 implementation is left as an exercise for the reader.
14051 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14053 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14054 If needed, allocate storage in the destination value during
14057 2005-11-22 Edward Hervey <edward@fluendo.com>
14059 * docs/gst/gstreamer-sections.txt:
14062 * gst/gsturitype.c:
14063 * gst/gsturitype.h:
14064 * gst/gstutils.c: (gst_util_set_object_arg):
14065 * tools/gst-compprep.c: (main):
14066 * tools/gst-inspect.c: (print_element_properties_info):
14067 Removed GstURI, closes bug #321061
14069 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14071 * check/gst/gststructure.c: (GST_START_TEST):
14072 * gst/gststructure.c: (gst_structure_parse_value):
14073 Oops, broke automatic string type parsing.
14074 Add a test to catch it in future.
14076 2005-11-22 Andy Wingo <wingo@pobox.com>
14078 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14079 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14080 Actually rename the function implementations. Grr.
14082 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14084 * check/gst/capslist.h:
14086 * check/gst/gststructure.c: (GST_START_TEST),
14087 (gst_structure_suite):
14088 Test automatic value type detection in gst_structure_from_string.
14089 * gst/gststructure.c: (gst_structure_parse_value):
14090 Add fraction as a type we try and guess automatically in
14091 caps/structure strings.
14093 2005-11-22 Andy Wingo <wingo@pobox.com>
14095 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14097 * gst/gsttagsetter.h:
14098 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14099 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14100 (gst_tag_setter_add_tag_valist)
14101 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14102 _add_values, _add_valist, and _add_valist_values. Since this is an
14103 interface the function suffixes should be more explicit so
14104 language binding don't end up with element.add_valist ->
14105 gst_tag_setter_add_valist, for example. Fixes #322069.
14107 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14109 * check/gst/gstcaps.c: (GST_START_TEST):
14110 Extend caps string tests to check that a caps to string
14111 conversion is reversible and produces the same caps.
14113 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14114 Output "fraction" as the generic type fraction range, so caps
14115 serialisation and deserialisation works.
14116 * check/gst/capslist.h:
14117 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14118 Support 'MIN' and 'MAX' for deserialising fractions.
14120 2005-11-22 Andy Wingo <wingo@pobox.com>
14122 * gst/gstevent.h (gst_event_new_new_segment)
14123 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14124 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14125 Renamed from *_newsegment, *_buffersize, *_notarget.
14127 * scripts/update-funcnames: New script, performs the changes
14130 2005-11-22 Wim Taymans <wim@fluendo.com>
14132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14133 Make sure the GstFlowReturn is returned.
14135 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14136 (gst_bus_add_signal_watch):
14138 add gst_bus_add_signal_watch_full.
14140 * gst/gstplugin.c: (gst_plugin_load_file):
14141 Small style cleanup.
14143 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14145 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14146 Block the fakesrc srcpad when we send an event, to avoid
14147 contention on the stream_lock causing random test failures.
14149 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14151 * check/gst/gstvalue.c: (GST_START_TEST):
14152 * gst/gstvalue.c: (gst_value_fraction_subtract):
14155 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14158 include "gstchildproxy.h"
14159 * gst/gstchildproxy.h:
14160 * libs/gst/controller/gstcontroller.h:
14161 use G_GNUC_NULL_TERMINATED
14163 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14165 * check/gst/capslist.h:
14166 * check/gst/gstcaps.c: (GST_START_TEST):
14167 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14168 * gst/gststructure.c: (gst_structure_parse_range),
14169 (gst_structure_fixate_field_nearest_fraction):
14170 * gst/gststructure.h:
14171 * gst/gstvalue.c: (gst_value_init_fraction_range),
14172 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14173 (gst_value_collect_fraction_range),
14174 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14175 (gst_value_set_fraction_range_full),
14176 (gst_value_get_fraction_range_min),
14177 (gst_value_get_fraction_range_max),
14178 (gst_value_serialize_fraction_range),
14179 (gst_value_transform_fraction_range_string),
14180 (gst_value_compare_fraction_range),
14181 (gst_value_deserialize_fraction_range),
14182 (gst_value_intersect_fraction_fraction_range),
14183 (gst_value_intersect_fraction_range_fraction_range),
14184 (gst_value_subtract_fraction_fraction_range),
14185 (gst_value_subtract_fraction_range_fraction),
14186 (gst_value_subtract_fraction_range_fraction_range),
14187 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14188 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14189 (gst_value_transform_string_fraction), (_gst_value_initialize):
14191 Implement fraction ranges and extend GstFraction to support
14192 arithmetic subtraction, as well as deserialization from integer
14193 strings such as "100"
14194 Add a testsuite as for int and double range set operations
14196 2005-11-21 Andy Wingo <wingo@pobox.com>
14198 * gst/gsttaglist.h:
14200 * gst/gststructure.h: Add glib-compat.h.
14202 2005-11-21 Wim Taymans <wim@fluendo.com>
14204 * gst/gstbin.c: (gst_bin_change_state_func):
14207 2005-11-21 Wim Taymans <wim@fluendo.com>
14209 * gst/gstsegment.h:
14210 And add a nice define too.
14212 2005-11-21 Wim Taymans <wim@fluendo.com>
14214 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14215 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14216 (gst_segment_set_duration), (gst_segment_set_last_stop),
14217 (gst_segment_set_seek), (gst_segment_set_newsegment),
14218 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14219 (gst_segment_clip):
14220 * gst/gstsegment.h:
14221 Make binding friendly.
14223 2005-11-21 Andy Wingo <wingo@pobox.com>
14225 * gst/gsttagsetter.h:
14226 * gst/gsttaglist.h:
14227 * gst/gststructure.h:
14229 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14232 * gst/gsterror.c (_gst_core_errors_init):
14233 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14236 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14237 (noinst_HEADERS): noinst the -private.
14239 2005-11-21 Michael Smith <msmith@fluendo.com>
14242 * gst/gstregistry.h:
14243 Remove unimplemented declarations for which we can see no sensible
14246 2005-11-21 Andy Wingo <wingo@pobox.com>
14248 * gst/gst.h: Include glib-compat.h.
14250 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14252 * gst/glib-compat.c: Include the public and the private header.
14254 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14258 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14260 * check/gst/gstevent.c (create_custom_events): Check that
14261 FLUSH_STOP is serialized.
14263 * check/elements/identity.c (event_func):
14264 * check/elements/fakesrc.c (event_func): No stream lock, the core
14267 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14268 stream lock taking, yay.
14270 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14271 ensure that core takes the stream lock.
14273 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14276 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14277 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14278 it already. For the flush start we do take it though so we get the
14279 right preroll state change messages.
14281 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14282 the stream lock here, the core does it for us.
14284 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14285 GST_STREAM_GET_LOCK.
14286 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14287 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14288 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14289 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14290 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14291 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14293 * gst/gstpad.c: Update for stream lock name change.
14295 * gst/base/gstbasesink.c: Update for preroll lock name change.
14297 2005-11-21 Wim Taymans <wim@fluendo.com>
14299 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14300 (gst_clock_get_master):
14302 * gst/gstsystemclock.c: (gst_system_clock_init):
14303 Convert Clock flags to object flags.
14304 Added methods to manage master/slave clocks.
14306 2005-11-21 Wim Taymans <wim@fluendo.com>
14308 * check/gst/gstsegment.c: (GST_START_TEST):
14309 * docs/design/part-TODO.txt:
14310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14311 (gst_base_sink_event), (gst_base_sink_do_sync),
14312 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14313 (gst_base_sink_query), (gst_base_sink_change_state):
14314 * gst/base/gstbasesink.h:
14315 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14316 (gst_base_src_default_newsegment),
14317 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14318 (gst_base_src_get_range), (gst_base_src_loop),
14319 (gst_base_src_change_state):
14320 * gst/base/gstbasesrc.h:
14321 * gst/base/gstbasetransform.c:
14322 (gst_base_transform_prepare_output_buf),
14323 (gst_base_transform_event), (gst_base_transform_change_state):
14324 * gst/base/gstbasetransform.h:
14325 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14326 (gst_collect_pads_event):
14327 * gst/base/gstcollectpads.h:
14328 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14329 (gst_fake_src_create):
14330 * gst/elements/gstfakesrc.h:
14331 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14332 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14333 (gst_segment_set_last_stop), (gst_segment_set_seek),
14334 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14335 (gst_segment_to_running_time), (gst_segment_clip):
14336 * gst/gstsegment.h:
14337 More segment updates, replace code in plugins with segment
14340 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14342 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14343 Don't ignore sscanf results
14345 2005-11-21 Andy Wingo <wingo@pobox.com>
14347 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14350 * *.c: Ran scripts/update-macros. Oh yes.
14352 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14353 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14356 * scripts/update-macros: New script. Run it on your files to
14357 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14360 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14362 * docs/gst/Makefile.am:
14363 * docs/gst/gstreamer-docs.sgml:
14364 * docs/gst/gstreamer-sections.txt:
14365 * docs/gst/gstreamer.types:
14367 more docs fixes, add new api to the docs
14369 2005-11-21 Andy Wingo <wingo@pobox.com>
14371 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14372 state_broadcast call.
14374 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14376 2005-11-21 Julien MOUTTE <julien@moutte.net>
14378 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14379 function calls for arrays.
14381 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14383 * docs/random/ensonic/media-device-daemon.txt:
14384 wild idea, can this be done?
14385 * docs/gst/gstreamer-sections.txt:
14390 * gst/gstpluginfeature.c:
14394 doc fixes and additions
14396 2005-11-21 Andy Wingo <wingo@pobox.com>
14398 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14399 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14400 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14401 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14402 private to the basesrc implementation.
14404 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14405 behalf of event function if necessary. It should no longer be
14406 necessary to take the stream lock in pad's event functions. Fixes
14409 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14410 * docs/gst/gstreamer-sections.txt:
14411 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14412 (gst_structure_fixate_field_nearest_double),
14413 (gst_structure_fixate_field_boolean):
14414 * gst/gststructure.h:
14415 * win32/common/libgstreamer.def:
14416 * win32/gstreamer.def:
14418 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14421 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14423 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14424 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14425 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14426 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14427 (gst_fdsrc_uri_handler_init):
14428 * gst/elements/gstfdsrc.h:
14429 Port fd:// URI handler from 0.8 to fdsrc
14431 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14433 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14434 (gst_value_serialize_fourcc):
14436 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14437 consistent with our other format defines (#320324).
14439 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14441 * gst/gstvalue.c: (gst_value_is_fixed):
14442 Revert previous commit. Value lists are by definition
14443 not fixed, as they are a list of possible values.
14445 2005-11-21 Andy Wingo <wingo@pobox.com>
14447 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14448 during the stable series if we need it. Fixes #319178.
14450 * gst/gstevent.c (gst_event_new_filler): Removed.
14452 * check/gst/gstevent.c: Update comment about filler events.
14454 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14456 * gst/gstvalue.c: (gst_value_is_fixed):
14457 Should handle both value arrays and value lists.
14459 2005-11-21 Andy Wingo <wingo@pobox.com>
14461 patch by: Alessandro Dessina <alessandro nnva org>
14463 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14464 functions to access arrays. Fixes #321962.
14466 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14468 * docs/gst/gstreamer.types:
14469 gst_collectpads_get_type => gst_collect_pads_get_type.
14471 * gst/base/gstbasetransform.c:
14472 Remove unused SIGNAL_HANDOFF enum.
14474 2005-11-21 Andy Wingo <wingo@pobox.com>
14476 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14477 the event type (upstream, downstream, serialized). Renamed
14478 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14479 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14480 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14482 * gst/gstevent.c: Update for new CUSTOM event names.
14484 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14487 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14490 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14492 * docs/gst/gstreamer-sections.txt:
14493 * win32/common/libgstbase.def:
14494 * win32/libgstbase.def:
14495 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14496 (gst_collect_pads_class_init), (gst_collect_pads_init),
14497 (gst_collect_pads_finalize), (gst_collect_pads_new),
14498 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14499 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14500 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14501 (gst_collect_pads_start), (gst_collect_pads_stop),
14502 (gst_collect_pads_peek), (gst_collect_pads_pop),
14503 (gst_collect_pads_available), (gst_collect_pads_read),
14504 (gst_collect_pads_flush), (gst_collect_pads_event),
14505 (gst_collect_pads_chain):
14506 * gst/base/gstcollectpads.h:
14507 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14508 unimplemented functions as unimplemented. Add padding to
14509 GstCollectData. (#320766, #320423)
14511 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14513 * gst/gstmessage.c:
14514 Improve docs for DURATION message (usage of duration parameter)
14517 2005-11-20 Wim Taymans <wim@fluendo.com>
14519 * check/Makefile.am:
14520 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14524 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14525 (gst_segment_set_seek), (gst_segment_set_newsegment),
14526 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14527 (gst_segment_clip):
14528 * gst/gstsegment.h:
14529 Added segment helper structure and methods. Not fully implemented
14531 Added segment check.
14533 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14535 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14536 Add a deserialisation test for fractions
14537 * examples/metadata/read-metadata.c: (message_loop),
14538 (make_pipeline), (main):
14539 Fix up metadata reading sample.
14540 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14542 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14543 Don't try and fixate empty caps
14544 * gst/gst_private.h:
14545 Wrap in G_BEGIN_DECLS/G_END_DECLS
14546 * gst/gstvalue.c: (gst_value_collect_fraction),
14547 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14548 (gst_value_transform_string_fraction),
14549 (gst_value_compare_fraction):
14550 Add some extra guards to ensure that we don't end up
14551 with an invalid denominator of 0 in a gstfraction and
14552 that fractions always get reduced.
14554 2005-11-20 Wim Taymans <wim@fluendo.com>
14556 * docs/gst/gstreamer-sections.txt:
14558 * gst/gstelement.c:
14567 2005-11-20 Wim Taymans <wim@fluendo.com>
14569 * docs/design/part-TODO.txt:
14571 Make a proper enum of the flag.
14573 2005-11-19 Wim Taymans <wim@fluendo.com>
14575 * docs/design/part-TODO.txt:
14576 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14577 (gst_format_to_quark), (gst_format_register):
14579 * gst/gstquery.c: (_gst_query_initialize),
14580 (gst_query_type_get_name), (gst_query_type_to_quark),
14581 (gst_query_type_register):
14583 Add type to quark and type to string conversions.
14585 2005-11-19 Andy Wingo <wingo@pobox.com>
14587 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14590 2005-11-19 Wim Taymans <wim@fluendo.com>
14592 * docs/design/part-TODO.txt:
14593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14594 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14595 (gst_bin_handle_message_func):
14597 Make message handling overridable.
14599 2005-11-19 Andy Wingo <wingo@pobox.com>
14601 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14604 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14606 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14607 is a GstClockTime. Fixes #321710.
14609 * gst/gstclock.h (GstClock): Remove offset property. Add
14610 internal_calibration and external_calibration. Fix padding. Pad
14611 also by GstClockTime so we don't run into problems.
14613 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14614 (gst_clock_get_rate_offset): Remove.
14615 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14618 * gst/gstutils.c (g_static_rec_cond_wait)
14619 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14621 * gst/gstbin.c: Remove terrible continue_state prototype.
14623 * gst/gstelement.h (gst_element_continue_state): Make public.
14625 * gst/gstelement.h:
14626 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14627 by continue_state. Fixes #319389.
14629 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14630 Really fixes #168438. However I don't see anywhere where the
14631 filter function is called... stupid GStreamer...
14633 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14634 don't have a dispose function, so it won't get called when the
14635 object is unreffed, but oh well!
14637 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14638 allows a destroy function to be set so user_data can be freed.
14640 (gst_index_set_filter): Call gst_index_set_filter_full.
14642 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14644 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14645 string should produce an error, given the lack of a way to
14646 represent NULL strings. Fixes #165650.
14649 * gst/gstvalue.c (gst_value_array_append_value)
14650 (gst_value_array_prepend_value, gst_value_array_get_size)
14651 (gst_value_array_get_value): New API, copied from
14652 gst_value_list_*, only operates on arrays.
14653 (gst_value_list_append_value, gst_value_list_prepend_value)
14654 (gst_value_list_concat, gst_value_list_get_size)
14655 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14657 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14658 init_list, because it works on both.
14659 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14660 (gst_value_copy_list_or_array): Renamed from copy_list.
14661 (gst_value_free_list_or_array): Renamed from free_list.
14662 (gst_value_collect_list_or_array): Renamed from collect_list.
14663 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14664 (gst_value_list_or_array_peek_pointer): Renamed from
14666 (_gst_value_array_value_table, _gst_value_list_value_table):
14667 Update value table functions.
14668 (gst_value_compare_list_or_array): Renamed from compare_list.
14670 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14673 * gst/gsttaglist.c:
14674 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14675 GstTagList*. Fixes #143472.
14677 * gst/gststructure.h: Clarify what the foreach/map functions can
14678 or can't do to their arguments.
14680 2005-11-18 Wim Taymans <wim@fluendo.com>
14682 * gst/gstclock.c: (gst_clock_set_calibration),
14683 (gst_clock_get_calibration):
14685 Calibration can be set with internal time equal to current
14688 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14694 2005-11-18 Andy Wingo <wingo@pobox.com>
14697 * pkgconfig/gstreamer-net.pc.in:
14698 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14699 * pkgconfig/Makefile.am: Add net pkgconfig files.
14701 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14704 * gst/gstghostpad.c:
14710 2005-11-18 Andy Wingo <wingo@pobox.com>
14712 * gst/net/gstnetclientclock.c: Turn off debugging.
14714 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14715 times connverge somewhat. Can't make a real test.
14717 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14718 integer arithmetic. Return the minimum of the domain, which can be
14719 set as "internal" for gst_clock_set_calibration.
14720 (gst_net_client_clock_observe_times): Call _set_calibration.
14721 (gst_net_client_clock_new): Call _set_calibration instead of
14724 * check/net/gstnetclientclock.c (test_functioning): Use the right
14728 * gst/gstclock.c (gst_clock_get_calibration)
14729 (gst_clock_set_calibration): New functions, obsolete the ones I
14730 added yesterday. Doh. Precision issues mean we have to extrapolate
14731 from a point in the more recent past than 1970.
14732 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14734 (gst_clock_adjust_unlocked): Use the right calibration data.
14736 2005-11-18 Edward Hervey <edward@fluendo.com>
14738 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14739 Also reset the ->current_* values in READY->PAUSED
14741 2005-11-18 Andy Wingo <wingo@pobox.com>
14743 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14744 Whoops, check the right fd. Also add some debugging.
14745 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14746 (do_linear_regression): Add a crapload of debugging. Subtract off
14747 the minimum values from the input series to discard unneeded bits.
14748 Use only int arithmetic. There is still double arithmetic when
14749 calculating the intercept that needs fixing. Return boolean to
14750 indicate success; FALSE would mean the domain or range is too
14751 great. Still needs fixes.
14753 2005-11-18 Wim Taymans <wim@fluendo.com>
14755 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14756 For the current position in stream time, we need to subtract
14759 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14760 Release lock before calling the callback function of async
14763 2005-11-18 Andy Wingo <wingo@pobox.com>
14765 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14766 Port goes all the way to MAXUINT16.
14768 * gst/net/gstnettimeprovider.c: Make the port range the same as
14769 for the kernel: 0 assigns, otherwise ports are less than
14772 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14775 * check/net/gstnetclientclock.c (test_functioning): Add the start
14778 2005-11-18 Wim Taymans <wim@fluendo.com>
14780 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14781 (gst_bin_remove_func), (bin_bus_handler):
14783 Removing a clock provider from a bin, triggers a clock lost message
14784 so that a new clock will be selected.
14785 Adding a clock to a bin triggers a clock provider message.
14786 Make sure we reselect a clock when we received a clock lost message.
14787 Keep a reference to the element that provided the clock.
14789 2005-11-18 Andy Wingo <wingo@pobox.com>
14791 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14792 the clock initially so it produces values around the base time.
14793 (gst_net_client_clock_class_init): Typo fix.
14794 (gst_net_client_clock_thread): Add note on when the socket gets
14797 2005-11-17 Wim Taymans <wim@fluendo.com>
14799 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14800 Free remote and local time arrays.
14802 2005-11-17 Wim Taymans <wim@fluendo.com>
14804 * gst/net/gstnetclientclock.c: (do_linear_regression),
14805 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14806 Fix compilation, uninitialized vars and a forgotten continue.
14808 2005-11-17 Andy Wingo <wingo@pobox.com>
14810 * check/Makefile.am (check_PROGRAMS):
14811 * check/net/gstnetclientclock.c: Add a most minimal test for the
14812 net client clock. More to come later.
14814 * gst/net/gstnet.h:
14815 * gst/net/Makefile.am: Add netclientclock.
14817 * gst/net/gstnetclientclock.h:
14818 * gst/net/gstnetclientclock.c: New files, implement an untested
14819 GstClock that takes its time from a network time provider.
14820 Implements the algorithm in network-clock.scm.
14822 * tests/network-clock.scm (*window-size*): Rename from
14824 * tests/network-clock.scm (network-time):
14825 * tests/network-clock-utils.scm (q-push): Update callers.
14827 2005-11-17 Wim Taymans <wim@fluendo.com>
14829 * gst/gstbin.c: (gst_bin_provide_clock_func),
14830 (gst_bin_sort_iterator_new):
14831 And unref the child too..
14833 2005-11-17 Wim Taymans <wim@fluendo.com>
14835 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14836 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14837 Refactor the sort iterator so it can be used while holding the
14839 Make clock selection select a clock closest to the source.
14841 2005-11-17 Michael Smith <msmith@fluendo.com>
14843 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14844 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14846 Anonymous structs are a gcc (and some other compilers) extension, so
14847 don't use them. Since this is only for ABI-compatibility, and our
14848 API/ABI freeze is over in a few days, this whole thing will only
14849 last a few days, so don't bother trying to think up a meaningful
14850 name for the struct.
14852 2005-11-17 Andy Wingo <wingo@pobox.com>
14854 * gst/gstclock.h (GstClock): Add rate and offset properties,
14855 preserving ABI stability. Add rate/offset accessors. Will file bug
14856 for the freeze break.
14858 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14859 and offset, trying to keep precision and avoiding
14860 underflow/overflow.
14861 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14862 functions. Make gst_clock_set_time_adjust obsolete.
14863 (gst_clock_set_time_adjust): Note that this function is obsolete.
14864 Will file bug soon.
14866 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14867 greppable by using GST_PADDING-1+1.
14869 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14871 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14873 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14874 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14876 * gst/gstpadtemplate.h:
14877 * gst/gstpluginfeature.h:
14878 Don't use c++ style comments in headers (#321638).
14880 2005-11-16 Andy Wingo <wingo@pobox.com>
14882 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14885 * check/net/gstnettimeprovider.c: Check to see that the time
14886 provider actually provides times. Works, yo!
14888 2005-11-16 Wim Taymans <wim@fluendo.com>
14890 * check/Makefile.am:
14893 * check/elements/fakesrc.c: (GST_START_TEST):
14894 Set element to NULL before disposing it.
14896 2005-11-16 Andy Wingo <wingo@pobox.com>
14898 * gst/net/Makefile.am:
14899 * gst/net/gstnet.h:
14900 * gst/net/gstnettimeprovider.c:
14901 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14902 provider, include it from gstnet.h, and add it to the build.
14904 * gst/net/gstnettimepacket.h:
14905 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14906 sending and receiving.
14908 2005-11-16 Wim Taymans <wim@fluendo.com>
14910 * check/Makefile.am:
14911 Enable valgrind check.
14913 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14914 (gst_fake_src_alloc_buffer):
14917 2005-11-16 Wim Taymans <wim@fluendo.com>
14919 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14920 Call parent finalize too.
14922 2005-11-16 Wim Taymans <wim@fluendo.com>
14924 * check/Makefile.am:
14925 Enable valgrind check that should work fine now.
14927 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14928 * gst/gstqueue.c: (gst_queue_init):
14929 Fix memleaks in pad allocation.
14931 2005-11-16 Andy Wingo <wingo@pobox.com>
14933 * gst/net/Makefile.am:
14934 * gst/net/gstnet.h: New part of core to hold network elements and
14935 objects. Put in core because it exposes API that applications want
14936 to use. The library is named libgstnet-tempname right now because
14937 of the existing libgstnet in gst-plugins-base. Solution is
14938 probably to rename the one in plugins-base; will file a bug for
14941 * gst/net/gstnettimeprovider.c:
14942 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14943 get_time call over the network.
14946 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14948 * check/Makefile.am:
14949 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14950 get additions shortly.
14952 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14954 * gst/gstpad.c: (gst_pad_new_from_static_template):
14956 add gst_pad_new_from_static_template functions
14957 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14958 (gst_check_setup_sink_pad):
14959 * gst/elements/gsttee.c: (gst_tee_init):
14962 2005-11-16 Wim Taymans <wim@fluendo.com>
14964 * gst/gstpad.c: (gst_pad_pause_task):
14965 Removed warning, it's not really an error either.
14967 2005-11-16 Wim Taymans <wim@fluendo.com>
14969 * gst/base/gstbasetransform.c:
14970 (gst_base_transform_prepare_output_buf),
14971 (gst_base_transform_event):
14972 Check if the caps are NULL, this can happen if the element
14973 is shutting down and the pad caps are set to NULL.
14975 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14977 * gst/elements/gsttee.c: (gst_tee_init):
14978 fix pad template leak in tee
14980 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14982 * gst/glib-compat.c: (g_value_dup_gst_object):
14983 * gst/glib-compat.h:
14984 * gst/gstpad.c: (gst_pad_set_property):
14985 use gst_object_ref when setting the pad template; this will
14986 trigger the pad template leaks on GLib 2.6 and the slaves
14988 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14990 * gst/glib-compat.c: (gst_flags_get_first_value):
14991 * gst/glib-compat.h:
14992 * gst/gstregistryxml.c:
14993 remove functions copied from GLib 2.6
14995 2005-11-16 Michael Smith <msmith@fluendo.com>
14998 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14999 do, but only breaks with newer valgrind versions. We're not a
15000 valgrind tool, we have no link-time dependencies on libcoregrind.
15002 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15004 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15006 * gst/gstmessage.h:
15009 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15011 * gst/base/gstbasesrc.c: (gst_base_src_init):
15012 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15013 * gst/gstqueue.c: (gst_queue_init):
15014 * gst/gstregistryxml.c: (load_feature):
15015 Revert all these unrefs, they don't even pass make check !
15017 2005-11-15 Johan Dahlin <johan@gnome.org>
15019 * gst/base/gstbasesrc.c: (gst_base_src_init):
15020 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15021 * gst/gstqueue.c: (gst_queue_init):
15022 Free pad templates, fixes a couple of leaks.
15024 2005-11-15 Daniel Fischer <dan at f3c dot com>
15026 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15028 * gst/gstpad.c: (gst_pad_get_property):
15029 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15030 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15033 2005-11-15 Wim Taymans <wim@fluendo.com>
15038 2005-11-15 Andy Wingo <wingo@pobox.com>
15040 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15042 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15043 using GST_CLOCK_TIME_NONE to disable base time management.
15044 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15045 time if it was NONE before.
15046 (gst_pipeline_change_state): Only munge the base time if
15047 stream_time != GST_CLOCK_TIME_NONE.
15049 * check/gst/gstpipeline.c (test_base_time): Punt around the
15050 problem of the probe not being called, because that's not the
15051 issue I'm looking at. Add a check that setting stream_time to NONE
15052 disables base time management.
15054 2005-11-15 Wim Taymans <wim@fluendo.com>
15056 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15057 segment_stop == -1 at startup.
15059 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15060 (gst_base_transform_change_state):
15061 Init segment values at start.
15063 2005-11-15 Wim Taymans <wim@fluendo.com>
15065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15066 0 segment values are 0 in any format.
15068 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15069 * gst/base/gstbasetransform.h:
15070 Parse newsegment correctly in basetransform
15072 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15073 Sync to clock using updated segment values.
15075 2005-11-15 Andy Wingo <wingo@pobox.com>
15077 * check/gst/gstpipeline.c (test_base_time): Add check that the
15078 base time and stream time are reset correctly.
15080 2005-11-15 Wim Taymans <wim@fluendo.com>
15082 * docs/design/part-TODO.txt:
15083 Some more TODO items.
15085 2005-11-15 Andy Wingo <wingo@pobox.com>
15087 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15088 error if the user selected "no clock" as the clocking method.
15090 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15091 timestamps with live capture.
15093 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15094 is 0 but we are a live source, timestamp the buffers using the
15097 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15099 * docs/gst/gstreamer-sections.txt:
15101 * gst/gstghostpad.c:
15106 2005-11-14 Wim Taymans <wim@fluendo.com>
15109 add suppressions from Wim's Debian machine
15111 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15114 add suppressions from Andy's AMD64 Ubuntu machine
15116 2005-11-14 Andy Wingo <wingo@pobox.com>
15118 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15119 STATE_LOCK not necessary. Fixes #311489.
15121 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15124 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15125 this function is not implemented.
15127 2005-11-14 Julien MOUTTE <julien@moutte.net>
15129 * gst/base/gstbasetransform.c:
15130 (gst_base_transform_prepare_output_buf):
15131 Ref the source pad caps while we need them.
15134 2005-11-11 Wim Taymans <wim@fluendo.com>
15136 * docs/gst/gstreamer-sections.txt:
15137 Added some docs for GstCollectData.
15139 * gst/base/gstadapter.c:
15140 Some small code example fix.
15142 * gst/base/gstcollectpads.c:
15143 * gst/base/gstcollectpads.h:
15144 Document some more.
15146 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15148 * configure.ac: back to HEAD
15150 === release 0.9.5 ===
15152 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15155 releasing 0.9.5, "Bike Lunch Day"
15157 2005-11-11 Wim Taymans <wim@fluendo.com>
15159 * gst/gstbuffer.c: (_gst_buffer_copy):
15162 * gst/gstcaps.c: (gst_caps_is_equal):
15164 Make _is_equal fast in the trivial cases.
15166 * gst/gstminiobject.c:
15167 * gst/gstminiobject.h:
15168 More docs. Spifify .h file.
15173 2005-11-11 Wim Taymans <wim@fluendo.com>
15175 * gst/base/gstbasetransform.c:
15176 (gst_base_transform_prepare_output_buf),
15177 (gst_base_transform_handle_buffer):
15179 If we're processing a buffer and need to allocate an output
15180 buffer, we cannot accept a format change. If we did get a
15181 format change, we have to alloc a buffer ourselves of the
15184 2005-11-11 Wim Taymans <wim@fluendo.com>
15186 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15187 While checking the flag for reentrancy in the gstcaps function
15188 is nice to detect recursive invocations, it also makes it
15189 impossible to call getcaps from multiple threads, which must be
15190 possible. So, checking for recursive calls has to go.
15192 2005-11-11 Michael Smith <msmith@fluendo.com>
15194 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15195 Don't sync on buffers that fall partially outside our current
15196 segment. Prevents an assertion failure/abort playing some files.
15198 2005-11-10 Andy Wingo <wingo@pobox.com>
15200 * check/gst/gstbin.c (test_message_state_changed_children): Style
15203 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15204 gst_bus_poll with the signal watch. Ensures that poll and a signal
15205 watch see the same messages.
15207 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15208 a poll and a watch at the same time get the same messages.
15210 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15212 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15213 * gst/gstcaps.c: (gst_caps_intersect):
15214 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15215 and it's not needed.
15217 2005-11-10 Wim Taymans <wim@fluendo.com>
15219 * docs/design/part-TODO.txt:
15222 2005-11-10 Wim Taymans <wim@fluendo.com>
15224 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15225 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15226 (gst_base_src_do_sync), (gst_base_src_get_range):
15227 Implement clock sync in base class.
15229 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15231 patch by: Tim-Philipp Müller <tim at centricular dot net>
15233 * gst/gststructure.c: (gst_structure_parse_field),
15234 (gst_structure_from_string):
15235 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15236 so that gst_parse_launch() can deal with spaces in filtered link
15237 caps (fixes #164479)
15238 * check/gst/capslist.h:
15239 * check/gst/gststructure.c: (GST_START_TEST):
15240 add unit tests for this change
15242 2005-11-10 Wim Taymans <wim@fluendo.com>
15244 * docs/gst/gstreamer-sections.txt:
15245 * gst/gstelement.c:
15246 * gst/gstelement.h:
15247 Fix docs, move some STATE macros to private.
15249 2005-11-10 Wim Taymans <wim@fluendo.com>
15251 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15252 Added check for bug #317341
15256 Some more spiffifying.
15258 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15259 Call peer linkfunction if we are a source pad. Totally fixes
15263 Update docs, source pads should call the peer linkfunction
15264 so they can atomically perform the pad link.
15266 2005-11-09 Wim Taymans <wim@fluendo.com>
15270 Uber-spiffy-spiffify some more.
15272 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15274 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15275 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15276 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15277 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15278 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15279 * gst/gstpad.c: (gst_pad_init):
15280 Use GST_DEBUG_FUNCPTR() more extensively.
15282 2005-11-09 Wim Taymans <wim@fluendo.com>
15284 * gst/gstobject.c: (gst_object_class_init):
15286 Documentation fixes.
15288 2005-11-09 Edward Hervey <edward@fluendo.com>
15290 * gst/gsttypefindfactory.c:
15293 2005-11-09 Edward Hervey <edward@fluendo.com>
15295 * gst/base/gsttypefindhelper.c:
15296 * gst/gsttypefind.c:
15297 * gst/gsttypefind.h:
15300 2005-11-09 Wim Taymans <wim@fluendo.com>
15302 * gst/gstiterator.c:
15309 2005-11-09 Wim Taymans <wim@fluendo.com>
15315 2005-11-09 Wim Taymans <wim@fluendo.com>
15317 * docs/gst/gstreamer-sections.txt:
15318 Moved the message async delivery private lock and cond
15319 to the private section.
15321 * gst/gstmessage.c:
15322 * gst/gstmessage.h:
15325 2005-11-09 Edward Hervey <edward@fluendo.com>
15327 * docs/gst/gstreamer-sections.txt:
15330 Document GstURIHandler
15332 2005-11-09 Wim Taymans <wim@fluendo.com>
15334 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15335 (gst_iterator_find_custom):
15336 * gst/gstiterator.h:
15339 2005-11-09 Wim Taymans <wim@fluendo.com>
15342 Document another field.
15344 * gst/gststructure.c:
15345 * gst/gststructure.h:
15348 2005-11-09 Wim Taymans <wim@fluendo.com>
15351 Documented structs.
15353 2005-11-09 Wim Taymans <wim@fluendo.com>
15355 * docs/gst/gstreamer-sections.txt:
15356 Added some new macros.
15363 2005-11-09 Wim Taymans <wim@fluendo.com>
15365 * docs/design/part-TODO.txt:
15366 Some more items for the TODO
15372 2005-11-09 Andy Wingo <wingo@pobox.com>
15374 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15375 to work on something else now tho...
15377 * gst/base/gstadapter.c: More adapter docs.
15379 * gst/elements/gstfilesink.c (gst_file_sink_start)
15380 (gst_file_sink_stop): New functions, replace the state change
15382 (gst_file_sink_class_init): Hook up the start and stop functions.
15383 (gst_file_sink_base_init): Don't set the state change handler any
15384 more. It was a bit ugly too, being set from here...
15385 (gst_file_sink_get_property, gst_file_sink_set_property):
15387 (gst_file_sink_set_location): More robust check that doesn't call
15388 GST_STATE. Ugggggg.
15390 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15392 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15393 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15395 2005-11-08 Wim Taymans <wim@fluendo.com>
15397 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15398 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15399 (gst_base_sink_chain), (gst_base_sink_change_state):
15400 * gst/base/gstbasesink.h:
15401 * gst/base/gstbasesrc.h:
15402 * gst/gstelement.h:
15404 Avoid excessive typechecking in macros.
15406 * gst/gstminiobject.c: (gst_mini_object_get_type),
15407 (gst_mini_object_init), (gst_mini_object_new),
15408 (gst_mini_object_free):
15409 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15410 (gst_object_finalize):
15411 Remove cruft code, optimize alloc_trace.
15413 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15415 * docs/faq/gst-uninstalled:
15416 fix up PS1 for systems that try to reset it
15418 2005-11-07 Wim Taymans <wim@fluendo.com>
15420 * gst/base/gstbasesrc.c: (gst_base_src_init),
15421 (gst_base_src_get_range):
15422 Set the segment_end to -1 initially. Fixed typefind.
15424 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15426 * gst/base/gstadapter.c:
15427 Debug category should be 'adapter', not 'GstAdapter'.
15429 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15430 (gst_collectpads_class_init), (gst_collectpads_init),
15431 (gst_collectpads_peek), (gst_collectpads_pop),
15432 (gst_collectpads_event), (gst_collectpads_chain):
15433 Add debug category and some debugging output. Use boilerplate
15434 macros. Remove some extraneous words from docs.
15436 2005-11-05 Andy Wingo <wingo@pobox.com>
15438 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15441 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15443 * docs/gst/gstreamer-sections.txt:
15446 * gst/gstminiobject.h:
15451 2005-11-04 Wim Taymans <wim@fluendo.com>
15453 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15454 Small update to stop at the configured segment_end
15457 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15459 * gst/gstregistry.c:
15460 * gst/gstregistry.h:
15463 2005-11-04 Edward Hervey <edward@fluendo.com>
15465 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15466 Check if we are doing a segment seek and have arrived at the
15467 end of that segment.
15469 2005-11-04 Wim Taymans <wim@fluendo.com>
15471 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15472 Don't leak a mutex unlock in case of an error.
15477 2005-11-04 Wim Taymans <wim@fluendo.com>
15479 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15481 Get the context to wake up only once.
15483 2005-11-03 Wim Taymans <wim@fluendo.com>
15485 * check/states/sinks.c: (GST_START_TEST):
15486 Uncomment fixed check.
15488 * docs/design/part-TODO.txt:
15491 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15492 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15493 (gst_base_sink_get_position):
15494 If we are going to PLAYING, post the right pending state
15495 when we post the intermediate paused message.
15497 * gst/gstelement.c: (gst_element_continue_state),
15498 (gst_element_set_state_func), (gst_element_change_state):
15499 Don't post state changes that were between the same state
15500 and were not ASYNC.
15502 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15504 * docs/gst/gstreamer-sections.txt:
15507 * gst/gstminiobject.h:
15510 more docs and doc style fixes
15512 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15514 * docs/gst/gstreamer-sections.txt:
15515 * gst/gstelement.c:
15516 * gst/gstminiobject.c:
15519 2005-11-03 Andy Wingo <wingo@pobox.com>
15521 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15522 state-changed messages actually have the right order and the right
15525 2005-11-03 Wim Taymans <wim@fluendo.com>
15527 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15528 Added some more checks. Specifically the case where NO_PREROLL
15529 elements are in the pipeline.
15531 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15532 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15533 (gst_base_sink_get_position):
15534 Post READY->PAUSED state change messages too.
15535 Fix bug where VOID was posted as pending state...
15537 * gst/gstbin.c: (gst_bin_recalc_state):
15538 use _element_continue_state() to continue the state change.
15540 * gst/gstelement.c: (gst_element_continue_state),
15541 (gst_element_commit_state), (gst_element_set_state_func),
15542 (gst_element_change_state), (gst_element_change_state_func):
15543 Lots of state change cleanups, assign the STATE_RETURN in
15544 a new continue_state() function that also propagates the
15545 last return value from a state change to the app.
15546 Update some debug statements with proper category.
15548 2005-11-03 Wim Taymans <wim@fluendo.com>
15550 * docs/design/part-events.txt:
15551 * docs/design/part-gstpipeline.txt:
15552 * docs/design/part-messages.txt:
15553 * docs/design/part-overview.txt:
15554 * docs/design/part-seeking.txt:
15555 * docs/design/part-states.txt:
15556 * docs/design/part-trickmodes.txt:
15557 * docs/manual/advanced-position.xml:
15558 Small docs updates.
15561 People think !! is ugly, this looks better.
15563 * gst/gstpad.c: (gst_pad_set_blocked_async):
15564 Remove !! since it's fixed elsewhere now.
15566 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15568 * gst/gstminiobject.h:
15570 Add !! to _FLAG_IS_SET macros to make the result boolean.
15572 2005-11-03 Edward Hervey <edward@fluendo.com>
15574 * gst/gstpad.c: (gst_pad_set_blocked_async):
15575 comparing a flag and a gboolean rarely returns coherent results...
15576 Added two characters (!!) to make that work correctly.
15578 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15580 * gst/gstbus.c: (gst_bus_class_init):
15583 * gst/gstqueue.c: (gst_queue_loop):
15584 Don't assume a miniobject that isn't a buffer is an
15585 event (it could be that there is a refcounting
15586 problem somewhere and the pointer is stale and
15587 refers to an already destroyed miniobject).
15589 2005-11-03 Julien MOUTTE <julien@moutte.net>
15591 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15593 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15595 * docs/manual/advanced-position.xml:
15596 Update seek example and explanations to current 0.9 API.
15598 * gst/elements/gsttypefindelement.c:
15599 (gst_type_find_element_activate):
15600 Remove FIXME comment now that the found caps
15603 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15605 * gst/gstregistryxml.c: (load_feature):
15606 Add another GST_STR_NULL instance
15608 2005-11-02 Edward Hervey <edward@fluendo.com>
15610 * gst/gstpad.c: (handle_pad_block):
15611 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15613 2005-11-02 Wim Taymans <wim@fluendo.com>
15618 * gst/gstelement.c: (gst_element_commit_state):
15619 Remove unused value.
15621 * gst/gstiterator.c:
15622 Mention that the returned element is reffed in the docs.
15624 2005-11-02 Wim Taymans <wim@fluendo.com>
15626 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15627 (gst_pad_push), (gst_pad_push_event):
15628 Unlock blocked pads when they are flushed.
15630 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15633 * docs/gst/gstreamer-sections.txt:
15636 * gst/gstregistry.c: (gst_registry_scan_path_level):
15637 fix for a nasty little missed situation where an installed plug-in
15638 which was in the cache did not get overridden by an uninstalled one
15639 which was earlier in the plugin path because the newly created plugin
15640 for the uninstalled one (not in the registry) didn't get its
15641 ->registered set to TRUE
15643 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15645 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15646 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15647 (gst_collectpads_is_active), (gst_collectpads_collect),
15648 (gst_collectpads_collect_range), (gst_collectpads_start),
15649 (gst_collectpads_stop), (gst_collectpads_peek),
15650 (gst_collectpads_pop), (gst_collectpads_available),
15651 (gst_collectpads_read), (gst_collectpads_flush):
15652 Guard public API with assertions.
15655 Fix docs for gst_pad_set_link_function().
15657 2005-11-02 Johan Dahlin <johan@gnome.org>
15659 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15660 Unref found_caps after we used it.
15662 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15664 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15665 Don't try to ref NULL.
15667 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15669 * win32/common/config.h.in:
15670 provide a GST_FUNCTION that just gives a string for now
15672 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15674 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15675 (gst_object_flags_get_type), (register_gst_bin_flags),
15676 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15677 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15678 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15679 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15680 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15681 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15682 (gst_clock_flags_get_type), (register_gst_state),
15683 (gst_state_get_type), (register_gst_state_change_return),
15684 (gst_state_change_return_get_type), (register_gst_state_change),
15685 (gst_state_change_get_type), (register_gst_element_flags),
15686 (gst_element_flags_get_type), (register_gst_core_error),
15687 (gst_core_error_get_type), (register_gst_library_error),
15688 (gst_library_error_get_type), (register_gst_resource_error),
15689 (gst_resource_error_get_type), (register_gst_stream_error),
15690 (gst_stream_error_get_type), (register_gst_event_type),
15691 (gst_event_type_get_type), (register_gst_seek_type),
15692 (gst_seek_type_get_type), (register_gst_seek_flags),
15693 (gst_seek_flags_get_type), (register_gst_format),
15694 (gst_format_get_type), (register_gst_index_certainty),
15695 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15696 (gst_index_entry_type_get_type),
15697 (register_gst_index_lookup_method),
15698 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15699 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15700 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15701 (gst_index_flags_get_type), (register_gst_debug_level),
15702 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15703 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15704 (gst_iterator_result_get_type), (register_gst_iterator_item),
15705 (gst_iterator_item_get_type), (register_gst_message_type),
15706 (gst_message_type_get_type), (register_gst_mini_object_flags),
15707 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15708 (gst_pad_link_return_get_type), (register_gst_flow_return),
15709 (gst_flow_return_get_type), (register_gst_activate_mode),
15710 (gst_activate_mode_get_type), (register_gst_pad_direction),
15711 (gst_pad_direction_get_type), (register_gst_pad_flags),
15712 (gst_pad_flags_get_type), (register_gst_pad_presence),
15713 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15714 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15715 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15716 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15717 (gst_plugin_flags_get_type), (register_gst_rank),
15718 (gst_rank_get_type), (register_gst_query_type),
15719 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15720 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15721 (gst_tag_flag_get_type), (register_gst_task_state),
15722 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15723 (gst_alloc_trace_flags_get_type),
15724 (register_gst_type_find_probability),
15725 (gst_type_find_probability_get_type), (register_gst_uri_type),
15726 (gst_uri_type_get_type), (register_gst_parse_error),
15727 (gst_parse_error_get_type):
15728 * win32/common/gstversion.h:
15729 update win32 copies
15731 2005-11-01 Luca Ognibene <luogni@tin.it>
15734 fix docs. popt is dead, long live GOption.
15736 2005-10-31 Wim Taymans <wim@fluendo.com>
15741 2005-10-31 Andy Wingo <wingo@pobox.com>
15745 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15747 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15748 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15749 the possibility of deadlocks here if code calling notify() or
15750 set() has a lock that can be taken in another notify handler (ABBA
15751 with class lock and e.g. python GIL state lock).
15753 2005-10-28 Julien MOUTTE <julien@moutte.net>
15755 * gst/gstbus.c: Doc updates.
15757 2005-10-28 Wim Taymans <wim@fluendo.com>
15759 * docs/design/part-TODO.txt:
15760 * gst/gstiterator.c:
15761 * gst/gstsystemclock.c:
15762 * gst/gstsystemclock.h:
15765 2005-10-28 Edward Hervey <edward@fluendo.com>
15767 * docs/gst/gstreamer-docs.sgml:
15768 * docs/gst/gstreamer-sections.txt:
15769 the GstURIType documentation page is private, it only defines GstURIType
15770 which should be defined in the GstURIHandler page
15772 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15774 * gst/gstbin.c: (gst_bin_class_init):
15777 Documentation updates.
15779 2005-10-28 Wim Taymans <wim@fluendo.com>
15781 * docs/gst/gstreamer-sections.txt:
15784 Documented the clocks.
15786 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15788 * docs/gst/gstreamer-sections.txt:
15789 move some macros to private sections
15790 * gst/gstminiobject.c:
15791 * gst/gstminiobject.h:
15792 add descriptions provided by ds and some more
15794 mark macro as to be removed
15796 2005-10-28 Wim Taymans <wim@fluendo.com>
15798 * docs/design/part-TODO.txt:
15799 Add an item to TODO.
15801 * gst/gstiterator.c: (gst_iterator_fold),
15802 (gst_iterator_find_custom):
15803 * gst/gstiterator.h:
15806 2005-10-28 Wim Taymans <wim@fluendo.com>
15808 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15809 (gst_base_transform_init):
15812 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15813 An EOS event marks the queue as completely filled.
15815 2005-10-27 Wim Taymans <wim@fluendo.com>
15817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15818 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15819 Some more debugging.
15821 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15822 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15823 (gst_base_transform_event), (gst_base_transform_getrange),
15824 (gst_base_transform_chain):
15825 * gst/base/gstbasetransform.h:
15827 Protect transform and concurrent buffer alloc with a new lock.
15828 Try not to break ABI/API.
15830 2005-10-27 Wim Taymans <wim@fluendo.com>
15832 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15833 (gst_base_src_init), (gst_base_src_query),
15834 (gst_base_src_default_newsegment),
15835 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15836 (gst_base_src_send_event), (gst_base_src_event_handler),
15837 (gst_base_src_pad_get_range), (gst_base_src_loop),
15838 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15839 (gst_base_src_start), (gst_base_src_deactivate),
15840 (gst_base_src_activate_push), (gst_base_src_change_state):
15841 Move some stuff around and cleanup things.
15843 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15845 * gst/base/gstbasesrc.c: (gst_base_src_query):
15846 Add missing break statements.
15848 2005-10-27 Wim Taymans <wim@fluendo.com>
15850 * check/gst/gstbin.c: (GST_START_TEST):
15851 An extra refcount is taken in basesrc.
15853 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15854 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15855 (gst_base_src_loop):
15856 Small cleanups, check for flushing after being unlocked from the
15857 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15858 Don't send out EOS when going to READY.
15860 2005-10-27 Wim Taymans <wim@fluendo.com>
15862 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15863 (gst_base_sink_get_position):
15866 * gst/gstbin.c: (message_check), (bin_replace_message),
15867 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15868 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15869 (bin_query_duration_init), (bin_query_duration_fold),
15870 (bin_query_duration_done), (bin_query_generic_fold),
15872 * tools/gst-launch.c: (main):
15875 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15877 * examples/controller/audio-example.c: (main):
15878 * examples/queue/queue.c: (event_loop):
15879 * gst/base/gstbasetransform.h:
15880 * gst/gstelement.c: (gst_element_send_event):
15882 * gst/gstpad.c: (gst_pad_send_event):
15885 changing log priority in error situations
15887 2005-10-25 Wim Taymans <wim@fluendo.com>
15889 * gst/gstbin.c: (message_check), (bin_replace_message),
15890 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15891 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15892 (bin_query_duration_init), (bin_query_duration_fold),
15893 (bin_query_duration_done), (bin_query_generic_fold),
15895 Some doc and debug updates.
15896 Cache previously requested query DURATION for speed. invalidate
15897 cached duration if element posts a DURATION message.
15899 2005-10-25 Wim Taymans <wim@fluendo.com>
15901 * docs/design/part-TODO.txt:
15904 * gst/gstbin.c: (message_check), (bin_replace_message),
15905 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15906 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15907 (bin_query_duration_init), (bin_query_duration_fold),
15908 (bin_query_duration_done), (bin_query_generic_fold),
15910 Handle SEGMENT_START/DONE messages correctly.
15911 More evolved query algorithm that handles duration queries
15914 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15915 (gst_element_get_state_func), (gst_element_abort_state),
15916 (gst_element_commit_state), (gst_element_lost_state):
15917 Some more debugging.
15919 * gst/gstmessage.h:
15922 2005-10-25 Wim Taymans <wim@fluendo.com>
15924 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15925 Don't use invalid stream_time.
15927 * gst/gstevent.c: (gst_event_new_newsegment):
15928 stream_time in newsegment cannot be undefined.
15930 2005-10-24 Wim Taymans <wim@fluendo.com>
15935 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15937 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15939 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15941 * docs/libs/tmpl/gstdparam.sgml:
15942 * docs/libs/tmpl/gstdplinint.sgml:
15943 * docs/libs/tmpl/gstdpman.sgml:
15944 * docs/libs/tmpl/gstdpsmooth.sgml:
15945 * docs/libs/tmpl/gstunitconvert.sgml:
15948 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15953 === release 0.9.4 ===
15955 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15958 releasing 0.9.4, "Tyrannosaurus Rex"
15960 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15962 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15963 (gst_file_sink_get_current_offset):
15964 Use fseeko() and ftello() if available. When falling back on
15965 lseek() to get the current offset, fflush() first to make sure
15966 everything is up-to-date and we get the right offset.
15968 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15971 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15972 * gst/gsterror.c: (_gst_stream_errors_init):
15974 * gst/gstqueue.c: (gst_queue_loop):
15976 remove prematurely added error category and clean up the instances
15978 2005-10-21 Wim Taymans <wim@fluendo.com>
15980 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15981 (gst_base_sink_get_position), (gst_base_sink_query),
15982 (gst_base_sink_change_state):
15983 Simply set the right flag when going to playing, that's all
15984 we need to do instead of calling a function inside the object
15985 lock (that could take the lock as well and deadlock)
15987 2005-10-21 Wim Taymans <wim@fluendo.com>
15989 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15990 (gst_base_src_loop):
15991 Don't warn, the peer element knows what to do best when
15992 the seek failed, it might try something else.
15994 2005-10-21 Wim Taymans <wim@fluendo.com>
15996 * gst/base/gstbasesrc.c: (gst_base_src_init),
15997 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16000 2005-10-21 Wim Taymans <wim@fluendo.com>
16002 * docs/design/part-segments.txt:
16005 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16006 Correctly set caps, even on the subbufer.
16008 2005-10-21 Wim Taymans <wim@fluendo.com>
16010 * docs/gst/gstreamer-docs.sgml:
16011 * docs/gst/gstreamer-sections.txt:
16012 * gst/gstelement.h:
16015 * gst/gstmessage.h:
16018 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16022 And 2% more doc coverage.
16024 2005-10-21 Andy Wingo <wingo@pobox.com>
16026 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16027 position reporting.
16029 2005-10-20 Wim Taymans <wim@fluendo.com>
16031 * gst/gsterror.c: (gst_error_get_message):
16034 * gst/gststructure.c:
16039 2005-10-20 Wim Taymans <wim@fluendo.com>
16044 Another 1% more coverage.
16046 2005-10-20 Wim Taymans <wim@fluendo.com>
16048 * docs/gst/gstreamer-sections.txt:
16049 * gst/gstelement.c: (gst_element_get_state_func),
16050 (gst_element_abort_state), (gst_element_commit_state),
16051 (gst_element_lost_state):
16053 * gst/gstquery.c: (gst_query_set_position),
16054 (gst_query_parse_position), (gst_query_set_duration),
16055 (gst_query_parse_duration), (gst_query_new_convert):
16057 Yay! 1% more docs coverage.
16059 2005-10-20 Wim Taymans <wim@fluendo.com>
16062 * gst/gstquery.c: (gst_query_set_position),
16063 (gst_query_parse_position), (gst_query_set_duration),
16064 (gst_query_parse_duration), (gst_query_new_convert):
16066 * gst/gstutils.c: (gst_element_query_convert):
16068 Docs and consistency fixes.
16070 2005-10-20 Wim Taymans <wim@fluendo.com>
16076 2005-10-20 Wim Taymans <wim@fluendo.com>
16078 * gst/gstbin.c: (message_check), (bin_replace_message),
16079 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16080 (update_degree), (gst_bin_sort_iterator_next),
16081 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16082 Reworked the message handling a bit, cache the messages instead of
16083 only the senders. alows us to do more in the future.
16085 2005-10-20 Wim Taymans <wim@fluendo.com>
16087 * docs/design/part-TODO.txt:
16090 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16091 (gst_base_sink_query):
16092 Don't use clock time to report position when in EOS.
16094 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16096 * tools/gst-inspect.c: (print_interfaces),
16097 (print_element_properties_info), (print_element_info):
16098 Fix interface output with gst-inspect -a; don't print
16099 newlines after double/float properties.
16101 2005-10-20 Wim Taymans <wim@fluendo.com>
16103 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16104 (gst_base_sink_query):
16105 Speed up current position calculation.
16107 * gst/base/gstbasesrc.c: (gst_base_src_query),
16108 (gst_base_src_default_newsegment):
16109 Correctly set stream position in newsegment.
16111 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16112 (update_degree), (gst_bin_sort_iterator_next),
16113 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16114 * gst/gstmessage.c: (gst_message_new_custom):
16115 Clean up debugging info
16117 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16118 (gst_queue_loop), (gst_queue_handle_src_query):
16121 2005-10-19 Wim Taymans <wim@fluendo.com>
16123 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16124 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16125 Fix query handling again.
16127 2005-10-19 Wim Taymans <wim@fluendo.com>
16129 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16130 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16131 * gst/base/gstbasesrc.c: (gst_base_src_query):
16132 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16133 * gst/elements/gsttypefindelement.c:
16134 (gst_type_find_handle_src_query), (find_element_get_length),
16135 (gst_type_find_element_activate):
16138 * gst/gstquery.c: (gst_query_new_position),
16139 (gst_query_set_position), (gst_query_parse_position),
16140 (gst_query_new_duration), (gst_query_set_duration),
16141 (gst_query_parse_duration), (gst_query_set_segment),
16142 (gst_query_parse_segment):
16144 Bundling query position/duration is not a good idea since duration
16145 does not change much and we don't want to recalculate it for every
16146 position query, so they are separated again..
16147 Base value in segment query is not needed.
16149 * gst/gstqueue.c: (gst_queue_handle_src_query):
16150 * gst/gstutils.c: (gst_element_query_position),
16151 (gst_element_query_duration), (gst_pad_query_position),
16152 (gst_pad_query_duration):
16154 Updates for query API change.
16155 Added some docs here and there.
16157 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16159 * check/gst/gstbin.c: (GST_START_TEST):
16160 * check/gst/gstghostpad.c: (GST_START_TEST):
16161 * check/pipelines/cleanup.c: (GST_START_TEST):
16162 wait on thread to die so we can check refcount correctly
16164 2005-10-18 Wim Taymans <wim@fluendo.com>
16166 * check/pipelines/stress.c: (GST_START_TEST):
16167 Make check a little more time consuming.
16169 2005-10-18 Wim Taymans <wim@fluendo.com>
16171 * check/Makefile.am:
16172 * check/pipelines/stress.c: (GST_START_TEST),
16173 (simple_launch_lines_suite), (main):
16174 Small state change torture test.
16176 * docs/design/part-states.txt:
16177 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16178 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16179 (gst_base_sink_change_state):
16180 Never take state lock from streaming thread, clean up ugly
16181 hacks. Unfortunatly core does not yet support nice ways to
16182 async commit state.
16184 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16186 Start state recalc if a STATE_DIRTY message is posted, but only
16187 on the toplevel bin.
16189 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16190 (gst_element_get_state_func), (gst_element_abort_state),
16191 (gst_element_commit_state), (gst_element_lost_state),
16192 (gst_element_set_state_func), (gst_element_change_state):
16193 * gst/gstelement.h:
16194 State variables are now protected with the LOCK, the state
16195 lock is only used to serialize _set_state().
16197 2005-10-18 Wim Taymans <wim@fluendo.com>
16199 * check/gst/gstbin.c: (GST_START_TEST):
16200 * check/gst/gstmessage.c: (GST_START_TEST):
16201 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16202 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16204 * gst/gstelement.c: (gst_element_abort_state),
16205 (gst_element_commit_state), (gst_element_lost_state):
16206 * gst/gstmessage.c: (gst_message_new_state_changed),
16207 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16208 (gst_message_new_segment_done), (gst_message_new_duration),
16209 (gst_message_parse_state_changed),
16210 (gst_message_parse_segment_start),
16211 (gst_message_parse_segment_done), (gst_message_parse_duration):
16212 * gst/gstmessage.h:
16213 * tools/gst-launch.c: (event_loop):
16214 Seriously, this is better than a previous commit as we only need
16215 to notify the fact that an element changed state in a streaming
16216 thread, marking the state of the parents dirty, hence the
16217 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16220 2005-10-18 Wim Taymans <wim@fluendo.com>
16222 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16223 (gst_bin_recalc_func):
16224 * gst/gstelement.c: (gst_element_set_clock),
16225 (gst_element_abort_state), (gst_element_lost_state):
16226 Cleanups, prepare for state change fixes.
16228 2005-10-18 Wim Taymans <wim@fluendo.com>
16231 * gst/gstelement.c: (gst_element_class_init),
16232 (gst_element_set_state), (gst_element_set_state_func):
16233 * gst/gstelement.h:
16234 Pending ABI changes.
16235 GThreadPool in GstBinClass to monitor async state changes.
16236 state_cookie in GstElement to detect concurrent gst/set state.
16237 set_state is now virtual too in case a very complicated element
16238 has to be constructed.
16240 2005-10-18 Wim Taymans <wim@fluendo.com>
16242 * check/gst/gstbin.c: (GST_START_TEST):
16243 * check/gst/gstmessage.c: (GST_START_TEST):
16244 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16245 * gst/gstbin.c: (bin_bus_handler):
16246 * gst/gstelement.c: (gst_element_commit_state),
16247 (gst_element_lost_state):
16248 * gst/gstmessage.c: (gst_message_new_state_changed),
16249 (gst_message_new_segment_start), (gst_message_new_segment_done),
16250 (gst_message_new_duration), (gst_message_parse_state_changed),
16251 (gst_message_parse_segment_start),
16252 (gst_message_parse_segment_done), (gst_message_parse_duration):
16253 * gst/gstmessage.h:
16254 * tools/gst-launch.c: (event_loop):
16255 Make messages future proof.
16256 state-change gets a flag if it was a message comming from the
16258 segment-start/stop can also be specified in other formats.
16259 A message to notify an app that a pipeline changed playback
16261 Also fix a GstMessage leak in -launch
16263 2005-10-18 Andy Wingo <wingo@pobox.com>
16265 * gst/gstelement.c (gst_element_dispose): More helpful message.
16267 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16269 reviewed by: <delete if not using a buddy>
16271 * common/gtk-doc.mak:
16273 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16275 * gst/gstregistry.c: (gst_registry_scan_path_level):
16276 unref a plug-in we get that was already initialized
16278 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16280 * docs/gst/gstreamer-sections.txt:
16281 * docs/libs/gstreamer-libs-sections.txt:
16282 * gst/gstelement.h:
16283 add new api entries
16284 hide internal macro
16286 2005-10-17 Andy Wingo <wingo@pobox.com>
16288 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16291 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16293 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16295 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16296 (gst_element_get_state_func): Better debug message.
16297 (gst_element_commit_state): s/INFO/DEBUG/.
16298 (gst_element_lost_state, gst_element_change_state):
16300 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16301 (gst_message_new_custom): s/INFO/LOG/.
16303 2005-10-17 Michael Smith <msmith@fluendo.com>
16305 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16306 Check if end time is valid using end time, not start time.
16308 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16310 * check/gst-libs/controller.c: (GST_START_TEST),
16311 (gst_controller_suite):
16312 * libs/gst/controller/gstcontroller.c:
16313 (gst_controlled_property_set_interpolation_mode):
16314 * libs/gst/controller/gstcontroller.h:
16315 * libs/gst/controller/gstinterpolation.c:
16316 * testsuite/controller/.cvsignore:
16317 * testsuite/controller/Makefile.am:
16318 * testsuite/controller/interpolator.c:
16319 merge controller testsuites
16321 remove mem-chunk from docs
16323 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16325 * gst/gstmemchunk.c:
16326 * gst/gstmemchunk.h:
16327 * gst/gsttrashstack.c:
16328 * gst/gsttrashstack.h:
16329 out. get out. you're fired. to the Attic !
16331 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16333 * gst/gstcaps.c: (gst_caps_intersect):
16334 fix signedness issues in a (hopefully) correct way
16335 * gst/gstelement.c: (gst_element_pads_activate):
16337 * gst/gstobject.c: (gst_object_set_parent):
16340 2005-10-17 Julien MOUTTE <julien@moutte.net>
16342 * gst/gstvalue.h: Fix prototypes.
16344 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16346 * docs/gst/gstreamer-sections.txt:
16347 * gst/gst.c: (gst_version_string):
16349 * gst/gstversion.h.in:
16350 * win32/common/libgstreamer.def:
16351 add gst_version_string ()
16353 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16357 * gst/gst.c: (init_post):
16358 * win32/common/config.h.in:
16360 * gst/gstcaps.c: (gst_caps_intersect):
16361 use gint64, the range could be bigger than a guint
16363 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16366 document potential problem in 2038
16368 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16370 * gst/gstcaps.c: (gst_caps_intersect):
16371 Fix guint j diving under 0
16373 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16376 * win32/common/config.h:
16377 * win32/common/config.h.in:
16378 check for process.h, declares getpid() on Windows
16380 include process.h if we have it
16381 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16382 * gst/gstmemchunk.h:
16383 fix signedness issues
16384 * win32/common/libgstreamer.def:
16387 2005-10-16 Julien MOUTTE <julien@moutte.net>
16389 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16390 fix. Because of unsigned ints, caps intersection was going nuts and
16391 trying to access structures with G_MAXUINT index. That fixes
16392 videotestsrc ! ffmpegcolorspace ! fakesink
16393 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16396 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16399 use the gettext macro
16400 * gst/elements/gstelements.c:
16402 * gst/indexers/gstindexers.c:
16403 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16404 * win32/common/config.h:
16406 * win32/common/config.h.in:
16407 add the template to generate config.h
16408 * win32/common/gstenumtypes.c:
16409 * win32/common/gstversion.h:
16412 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16414 * gst/gst.c: (gst_version):
16415 * gst/gstversion.h.in:
16418 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16421 Oops, add missing closing bracket.
16423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16426 use common m4's for argument checking
16428 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16430 * docs/gst/gstreamer-sections.txt:
16432 Add GST_EVENT_TYPE_NAME() macro.
16434 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16437 * gst/gstpluginfeature.c:
16439 privatize more symbols
16441 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16444 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16445 everything that uses GStreamer API should have the includes
16447 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16449 * docs/gst/gstreamer-sections.txt:
16450 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16452 give each value a _get_type, removes the DATA exports
16454 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16458 remove _gst_registry_auto_load, not used anymore
16459 * gst/gstbin.c: (gst_bin_get_type):
16461 * gst/gstelement.c: (gst_element_get_type):
16462 * gst/gstelement.h:
16463 * gst/gstobject.c: (gst_object_get_type):
16465 * gst/gstpad.c: (gst_pad_get_type):
16467 make _get_type functions similar, fixes data export from library
16469 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16472 correctly make conditionals
16473 * gst/elements/Makefile.am:
16474 * gst/elements/gstelements.c:
16475 fix typo causing fdsrc not to build
16477 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16479 * testsuite/Makefile.am:
16480 * testsuite/bytestream/.cvsignore:
16481 * testsuite/bytestream/Makefile.am:
16482 * testsuite/bytestream/filepadsink.c:
16483 * testsuite/bytestream/gstbstest.c:
16484 * testsuite/bytestream/test1.c:
16485 * testsuite/bytestream/testfile1:
16486 * testsuite/caps/normalisation.c:
16487 * testsuite/caps/random.c: (main):
16488 * testsuite/cleanup/.cvsignore:
16489 * testsuite/cleanup/Makefile.am:
16490 * testsuite/cleanup/cleanup1.c:
16491 * testsuite/cleanup/cleanup2.c:
16492 * testsuite/cleanup/cleanup3.c:
16493 * testsuite/cleanup/cleanup4.c:
16494 * testsuite/cleanup/cleanup5.c:
16495 * testsuite/controller/interpolator.c:
16496 * testsuite/debug/printf_extension.c: (main):
16497 * testsuite/elements/tee.c:
16498 * testsuite/negotiation/.cvsignore:
16499 * testsuite/negotiation/Makefile.am:
16500 * testsuite/negotiation/pad_link.c:
16501 * testsuite/pad/Makefile.am:
16502 * testsuite/pad/chainnopull.c:
16503 * testsuite/pad/getnopush.c:
16504 * testsuite/pad/link.c:
16505 * testsuite/refcounting/sched.c: (create_pipeline):
16506 * testsuite/registry/Makefile.am:
16507 * testsuite/registry/gst-print-formats.c:
16508 * testsuite/schedulers/.cvsignore:
16509 * testsuite/schedulers/142183-2.c:
16510 * testsuite/schedulers/142183.c:
16511 * testsuite/schedulers/143777-2.c:
16512 * testsuite/schedulers/143777.c:
16513 * testsuite/schedulers/147713.c:
16514 * testsuite/schedulers/147819.c:
16515 * testsuite/schedulers/147894-2.c:
16516 * testsuite/schedulers/147894.c:
16517 * testsuite/schedulers/Makefile.am:
16518 * testsuite/schedulers/group_link.c:
16519 * testsuite/schedulers/queue_link.c:
16520 * testsuite/schedulers/relink.c:
16521 * testsuite/schedulers/unlink.c:
16522 * testsuite/schedulers/unref.c:
16523 * testsuite/schedulers/useless_iteration.c:
16524 * testsuite/states/bin.c:
16525 clean out/remove some stuff from the testsuite directories
16527 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16530 check for some headers
16531 * gst/elements/Makefile.am:
16532 * gst/elements/gstelements.c:
16533 don't compile fdsrc without sys/socket.h
16534 * gst/indexers/Makefile.am:
16535 * gst/indexers/gstindexers.c: (plugin_init):
16536 don't compile fileindex without mmap
16538 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16545 * check/Makefile.am:
16546 * docs/gst/Makefile.am:
16547 * examples/helloworld/Makefile.am:
16549 * gst/base/Makefile.am:
16550 * gst/check/Makefile.am:
16551 * gst/elements/Makefile.am:
16552 * gst/indexers/Makefile.am:
16553 * gst/parse/Makefile.am:
16554 * libs/gst/controller/Makefile.am:
16555 * libs/gst/dataprotocol/Makefile.am:
16556 * examples/helloworld/helloworld.c: (event_loop):
16557 compile fixes, though it's not being compiled currently
16559 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16561 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16562 Add some simple tests for the new taglist date API.
16564 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16566 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16567 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16568 Beautify 'last-message' output: print 'none' for buffer timestamps
16569 and durations if none is set; improve alignment with next messages.
16571 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16573 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16574 * gst/gstpluginfeature.h:
16575 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16576 * gst/gstregistry.h:
16577 * docs/gst/gstreamer-sections.txt:
16578 Add new API to check plugin feature version requirements.
16580 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16581 Some basic tests for the above.
16583 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16585 * gst/gststructure.c: (gst_structure_to_string):
16586 guard against NULL printf - happens when for example
16587 a message structure with GstClock gets serialized
16589 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16591 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16592 Fix presumable copy'n'pasto.
16594 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16596 * gst/elements/gstfakesrc.h:
16597 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16598 * gst/elements/gsttypefindelement.c:
16599 fix some signedness
16600 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16601 I wonder if this could actually write +2GB files before
16603 2005-10-13 Andy Wingo <wingo@pobox.com>
16605 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16606 Fix Timmeke Waymans bug.
16607 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16608 string of the proper length to gst_caps_from_string. There's a
16609 potential for, before this fix, that this could cause someone
16610 connecting over the network to cause a segfault if the payload is
16611 not NUL-terminated.
16613 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16615 * docs/design/draft-push-pull.txt:
16616 * docs/design/part-overview.txt:
16617 * docs/random/TODO-pre-0.9:
16618 * docs/random/old/ChangeLog.gstreamer:
16619 * gst/base/gstpushsrc.c:
16623 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16625 * gst/glib-compat.c: (gst_flags_get_first_value):
16626 * gst/glib-compat.h:
16627 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16628 (gst_value_compare_double), (gst_value_serialize_flags):
16629 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16632 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16635 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16637 * tools/gst-launch.c: (event_loop):
16638 print out clock nicely
16640 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16642 * docs/gst/gstreamer-sections.txt:
16643 * gst/gsttaglist.h:
16644 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16645 (gst_tag_list_get_date_index):
16646 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16647 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16649 2005-10-13 Julien MOUTTE <julien@moutte.net>
16651 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16652 (gst_collectpads_chain):
16653 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16656 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16658 * docs/gst/gstreamer-sections.txt:
16661 * tools/gst-inspect.c: (main):
16662 * tools/gst-launch.c: (main):
16663 * tools/gst-run.c: (main):
16664 * tools/gst-xmlinspect.c: (main):
16665 fix GOption context leaks
16668 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16672 * win32/common/config.h:
16674 * win32/vs6/grammar.dsp:
16675 * win32/vs6/libgstelements.dsp:
16676 * win32/vs6/libgstreamer.dsp:
16679 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16682 * gst/base/gstbasesrc.c: (gst_base_src_query):
16683 fix more guint64<->gdouble conversions
16685 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16688 add win32-update target
16689 * win32/common/gstconfig.h:
16690 * win32/common/gstenumtypes.c:
16691 * win32/common/gstenumtypes.h:
16692 * win32/common/gstversion.h:
16693 add files that visual studio can't generate
16695 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16698 add a win32-update target
16701 2005-10-12 Wim Taymans <wim@fluendo.com>
16703 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16704 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16705 * gst/gstelement.c: (gst_element_commit_state),
16706 (gst_element_set_state):
16707 Protect flags with proper lock.
16708 unref provided cached clock in dispose.
16710 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16713 * gst/gstminiobject.h:
16715 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16716 removed unused flags from miniobject
16719 2005-10-12 Wim Taymans <wim@fluendo.com>
16721 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16722 (gst_file_sink_event), (gst_file_sink_render):
16723 Flush before seeking.
16725 2005-10-12 Andy Wingo <wingo@pobox.com>
16727 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16728 always been the case.
16730 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16732 * check/gst/gstbin.c: (GST_START_TEST):
16733 * docs/gst/gstreamer-sections.txt:
16734 * gst/base/gstbasesink.c: (gst_base_sink_init):
16735 * gst/base/gstbasesrc.c: (gst_base_src_init),
16736 (gst_base_src_get_range), (gst_base_src_check_get_range),
16737 (gst_base_src_start), (gst_base_src_stop):
16738 * gst/base/gstbasesrc.h:
16739 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16740 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16741 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16745 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16747 * gst/gstelement.c: (gst_element_is_locked_state),
16748 (gst_element_set_locked_state), (gst_element_commit_state),
16749 (gst_element_set_state):
16750 * gst/gstelement.h:
16751 * gst/gstindex.c: (gst_index_init):
16753 * gst/gstminiobject.h:
16754 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16755 (gst_object_set_parent):
16757 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16758 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16760 * gst/gstpadtemplate.h:
16761 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16762 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16763 * gst/gstpipeline.h:
16764 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16765 (gst_file_index_commit):
16766 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16767 * testsuite/pad/link.c: (gst_test_src_init),
16768 (gst_test_filter_init), (gst_test_sink_init):
16769 * testsuite/states/locked.c: (main):
16770 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16771 moved bitshift from macro to enum definition
16773 2005-10-12 Wim Taymans <wim@fluendo.com>
16775 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16776 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16777 (gst_file_sink_render):
16778 Some more debugging info.
16780 2005-10-12 Wim Taymans <wim@fluendo.com>
16782 * docs/design/part-states.txt:
16783 * tools/gst-launch.c: (main):
16785 Revert non-intentional change.
16787 2005-10-12 Wim Taymans <wim@fluendo.com>
16789 * check/gst/gstbin.c: (GST_START_TEST):
16790 * check/gst/gstelement.c: (GST_START_TEST):
16791 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16792 * check/gst/gstghostpad.c: (GST_START_TEST):
16793 * check/gst/gstpipeline.c: (GST_START_TEST):
16794 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16795 * check/states/sinks.c: (GST_START_TEST):
16796 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16797 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16798 (gst_bin_remove_func), (gst_bin_get_state_func),
16799 (gst_bin_recalc_state), (gst_bin_change_state_func),
16801 * gst/gstelement.c: (gst_element_get_state_func),
16802 (gst_element_get_state), (gst_element_abort_state),
16803 (gst_element_commit_state), (gst_element_set_state),
16804 (gst_element_change_state), (gst_element_change_state_func):
16805 * gst/gstelement.h:
16806 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16807 (gst_pipeline_provide_clock_func):
16808 * gst/gstutils.c: (gst_element_link_pads_filtered):
16809 * tools/gst-launch.c: (main):
16810 * tools/gst-typefind.c: (main):
16811 Use GstClockTime in _get_state() instead of GTimeVal.
16812 Remove old code in gstutils.c
16814 2005-10-12 Andy Wingo <wingo@pobox.com>
16816 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16819 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16820 there is no task. Shouldn't affect any code, as nothing in our
16821 plugins checks this return value.
16822 (gst_pad_stop_task): Also take the stream lock if the pad has no
16823 task. Docs updated.
16825 2005-10-12 Wim Taymans <wim@fluendo.com>
16827 * gst/gstpad.c: (pre_activate), (post_activate),
16828 (gst_pad_activate_pull), (gst_pad_activate_push):
16829 Cleanup activation code. Reset old state if
16832 2005-10-12 Wim Taymans <wim@fluendo.com>
16834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16835 (gst_base_sink_change_state):
16836 No need to prerol after receiving EOS.
16838 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16839 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16840 * gst/elements/gstidentity.c: (gst_identity_event):
16841 Print events more verbosely.
16843 2005-10-12 Wim Taymans <wim@fluendo.com>
16845 * check/Makefile.am:
16846 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16847 * check/states/sinks2.c:
16848 Moved sinks2 testcode in sinks check.
16850 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16851 (gst_bin_remove_func), (gst_bin_recalc_state),
16852 (gst_bin_change_state_func), (bin_bus_handler):
16853 Fix potential race condition when _get_state() iterated over an
16854 ASYNC element right before it posted a state completion.
16857 Do proper cast here.
16859 * gst/gstevent.c: (gst_event_new_newsegment),
16860 (gst_event_parse_newsegment):
16861 A playback rate of 0.0 is not allowed.
16863 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16865 * win32/common/config.h:
16866 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16867 (_trewinddir), (_ttelldir), (_tseekdir):
16868 * win32/common/dirent.h:
16869 * win32/common/gtchar.h:
16870 * win32/common/libgstbase.def:
16871 * win32/common/libgstreamer.def:
16872 * win32/vs6/grammar.dsp:
16873 * win32/vs6/gst_inspect.dsp:
16874 * win32/vs6/gst_launch.dsp:
16875 * win32/vs6/gstreamer.dsw:
16876 * win32/vs6/libgstbase.dsp:
16877 * win32/vs6/libgstelements.dsp:
16878 * win32/vs6/libgstreamer.dsp:
16879 Visual Studio 6 project files, and a new common directory.
16882 2005-10-11 Wim Taymans <wim@fluendo.com>
16884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16885 (gst_base_sink_do_sync), (gst_base_sink_query),
16886 (gst_base_sink_change_state):
16887 * gst/base/gstbasesink.h:
16888 Correctly parse newsegment info.
16890 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16892 * gst/gst.c: (init_post):
16893 split plugin paths correctly
16895 2005-10-11 Wim Taymans <wim@fluendo.com>
16897 * check/gst/gstevent.c: (GST_START_TEST):
16898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16899 (gst_base_sink_change_state):
16900 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16901 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16902 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16903 * gst/gstevent.c: (gst_event_new_newsegment),
16904 (gst_event_parse_newsegment):
16906 Added extra flag to newsegment for future API freeze.
16907 Updated check and base elements.
16909 2005-10-11 Julien MOUTTE <julien@moutte.net>
16911 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16912 (gst_collectpads_add_pad), (gst_collectpads_pop),
16913 (gst_collectpads_event), (gst_collectpads_chain):
16914 * gst/base/gstcollectpads.h: Handle EOS correctly.
16916 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16918 * tools/gst-launch.c: (main):
16919 more null protecting
16921 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16923 * gst/gst-i18n-lib.h:
16924 check for ENABLE_NLS, not GETTEXT_PACKAGE
16925 * gst/gstregistry.c: (gst_registry_add_plugin),
16926 (gst_registry_scan_path_level),
16927 (_gst_registry_remove_cache_plugins):
16928 protect possibly NULL strings
16929 * gst/parse/types.h:
16930 config.h already included before
16931 * tools/gst-inspect.c: (main):
16932 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16933 check for ENABLE_NLS, not GETTEXT_PACKAGE
16934 * tools/gst-launch.c: (main):
16935 check for ENABLE_NLS, not GETTEXT_PACKAGE
16937 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16940 if we don't have glib, fail before testing 2.8
16941 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16942 fix a leak, should fix plugins-base testsuite
16944 2005-10-11 Andy Wingo <wingo@pobox.com>
16946 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16947 take the mode we're going to as an arg. Go head and set the mode
16948 and flushing flags now, so that if the activate function starts a
16949 thread all the flags will be in the right state.
16950 (post_activate): Renamed also. Just handle making sure streaming
16951 finishes for the deactivation case, and setting the deactivated
16953 (gst_pad_set_active): Complain loudly if deactivation fails.
16954 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16955 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16956 remove the terrible hack.
16958 2005-10-11 Wim Taymans <wim@fluendo.com>
16960 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16961 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16962 (gst_bin_recalc_state), (gst_bin_change_state_func),
16963 (gst_bin_dispose), (bin_bus_handler):
16965 Prepare to make current EOS message queue more generic.
16968 * gst/gstevent.c: (gst_event_new_newsegment),
16969 (gst_event_parse_newsegment):
16971 Rename base to stream_time.
16973 * gst/gstmessage.h:
16976 2005-10-11 Wim Taymans <wim@fluendo.com>
16978 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16979 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16980 (gst_bin_change_state_func), (bin_bus_handler):
16982 Work on proper clock selection.
16984 2005-10-11 Edward Hervey <edward@fluendo.com>
16986 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16987 * libs/gst/controller/gstcontroller.h:
16988 Added GList* version of _remove_properties() in order to be able to wrap
16991 2005-10-11 Wim Taymans <wim@fluendo.com>
16993 * docs/design/part-states.txt:
16996 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16997 (gst_bin_change_state_func), (bin_bus_handler):
16998 Doc updates. Don't distribute the same clock over and over again.
17004 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17005 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17006 (gst_pad_send_event):
17008 Make probe emission threadsafe again.
17009 Register quarks and move _get_name() from utils.
17012 * gst/gstpipeline.c: (gst_pipeline_class_init),
17013 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17014 Only redistribute the clock of it changed.
17016 * gst/gstsystemclock.h:
17021 Moved the _flow_get_name() to GstPad.
17023 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17025 * check/gst-libs/gdp.c: (GST_START_TEST):
17026 * check/gst/gstcaps.c: (GST_START_TEST):
17027 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17028 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17029 (gst_dp_packet_from_caps):
17030 fix more valgrind warnings before turning up the heat
17032 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17034 * gst/parse/grammar.y:
17035 some cleanup before the hacking
17037 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17039 * gst/base/gstbasesrc.c: (gst_base_src_query):
17041 * gst/gstutils.c: (gst_guint64_to_gdouble),
17042 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17044 externalize, basesrc uses it
17045 obviously the implementation needs testing
17047 2005-10-10 Wim Taymans <wim@fluendo.com>
17049 * tests/sched/Makefile.am:
17050 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17051 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17053 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17055 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17056 apparently converting from guint64 to double is not implemented
17059 2005-10-10 Wim Taymans <wim@fluendo.com>
17061 * check/Makefile.am:
17062 * check/generic/states.c: (GST_START_TEST):
17063 * check/gst/gstbin.c: (GST_START_TEST):
17064 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17065 * check/states/sinks.c: (GST_START_TEST):
17066 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17068 Check fixes, use API as stated in design docs, remove hacks.
17070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17071 (gst_base_sink_change_state):
17072 Catch stopping our task while we're shutting down.
17074 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17075 (gst_bin_remove_func), (gst_bin_get_state_func),
17076 (gst_bin_recalc_state), (gst_bin_change_state_func),
17079 * gst/gstelement.c: (gst_element_init),
17080 (gst_element_get_state_func), (gst_element_abort_state),
17081 (gst_element_commit_state), (gst_element_lost_state),
17082 (gst_element_set_state), (gst_element_change_state),
17083 (gst_element_change_state_func):
17084 * gst/gstelement.h:
17085 New state change algorithm (see #318116)
17087 * gst/gstpipeline.c: (gst_pipeline_class_init),
17088 (gst_pipeline_init), (gst_pipeline_set_property),
17089 (gst_pipeline_get_property), (do_pipeline_seek),
17090 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17091 * gst/gstpipeline.h:
17092 Remove crude state change hacks.
17095 Remove crude hacks.
17097 * tools/gst-launch.c: (main):
17098 Fixes for state change. Needs some more work to fully use the
17101 2005-10-10 Andy Wingo <wingo@pobox.com>
17103 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17105 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17106 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17109 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17111 * gst/gstiterator.c: (gst_iterator_new):
17112 Fix my previous commit: GTypes passed to gst_iterator_new()
17113 can be fundamental types.
17115 2005-10-10 Wim Taymans <wim@fluendo.com>
17117 * gst/gstelement.c: (gst_element_iterate_pad_list),
17118 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17119 (gst_element_iterate_sink_pads):
17120 Use src/sink pads lists for the respective iterators instead
17123 2005-10-10 Andy Wingo <wingo@pobox.com>
17125 Merged in popt removal + GOption addition patch from Ronald, bug
17128 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17129 GstElement macros around, remove popt-related symbols, add goption
17132 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17134 * docs/gst/Makefile.am:
17135 * docs/libs/Makefile.am: No POPT_CFLAGS.
17137 * examples/manual/Makefile.am:
17138 * docs/manual/basics-init.xml: Doc updates with an example.
17140 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17141 (gst_init), (parse_one_option), (parse_goption_arg):
17142 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17143 bit of hand merging and debugging to get the GOption stuff working
17146 * tests/Makefile.am:
17147 * tools/Makefile.am:
17148 * tools/gst-inspect.c: (main):
17149 * tools/gst-launch.c: (main):
17150 * tools/gst-run.c: (main):
17151 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17153 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17155 * gst/gstiterator.c: (gst_iterator_new):
17156 Add assertions to make sure passed GType is likely to really
17157 be a GType (as the compiler won't catch it if the size and
17158 GType arguments get mixed up, see #318447).
17160 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17162 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17164 * gst/gstbin.c: (gst_bin_iterate_sorted):
17165 Pass GType and size arguments to gst_iterator_new() in the right
17166 order (maybe we should make _new() take the GType as first argument
17167 just like _new_list()?) (#318447).
17170 2005-10-10 Wim Taymans <wim@fluendo.com>
17172 * gst/gstelement.c: (gst_element_finalize):
17173 And free the GStaticRecMutex too
17175 2005-10-10 Andy Wingo <wingo@pobox.com>
17177 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17178 Allocate and free the mutex properly.
17180 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17182 (GstElement): The state_lock is now recursive. Rebuild your
17183 plugins, suckers. Old macros adapted.
17185 * docs/gst/gstreamer-sections.txt: Doc updates.
17188 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17189 (g_static_rec_cond_wait): Ported from state changes patch, while
17190 we wait on bug #317802 to be solved in a well-distributed GLib.
17192 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17193 gst_element_change_state, variable name changes.
17194 (gst_element_change_state): Split out of gst_element_set_state in
17195 preparation for the state change merge. Doesn't pay attention to
17196 the 'transition' argument.
17197 (gst_element_set_state): Updates, hopefully purely cosmetic.
17198 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17199 state change patch.
17200 (gst_element_get_state_func): Renamed from get_state, cosmetic
17203 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17205 * gst/elements/gstelements.c:
17206 * win32/GStreamer.vcproj:
17208 * win32/dirent.c: (_tseekdir):
17209 * win32/gst-inspect.vcproj:
17210 * win32/gst-launch.vcproj:
17211 * win32/gstconfig.h:
17212 * win32/gstelements.vcproj:
17213 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17214 * win32/gstreamer.def:
17215 * win32/msvc71.sln:
17216 updates for the win32 build (patch from Sebastien Moutte)
17218 2005-10-10 Andy Wingo <wingo@pobox.com>
17220 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17221 gst_bin_get_state, cleaned up (but no logic changes).
17222 (bin_element_is_sink): Comment updates.
17223 (sink_iterator_filter): Remove needless cast.
17224 (gst_bin_iterate_sinks): Doc update.
17225 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17226 cleaned up (but no logic changes).
17228 * check/states/sinks.c (test_src_sink): Cleanups from the state
17230 (test_livesrc_sink): Sync on the state.
17232 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17233 the state change patch.
17235 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17238 * check/gst/gstbin.c: Merge in some style fixes and additional
17239 checks from Wim's state change patch.
17241 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17243 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17244 (gst_type_find_helper):
17245 Check whether we have the requested data already in our list of
17246 cached buffers before pulling a new buffer; also make the buffer
17247 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17249 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17254 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17255 don't use long long, it's not portable. Replacing with
17256 gint64 seems to work; let's hope no skeletons fall out of the closet.
17258 2005-10-10 Andy Wingo <wingo@pobox.com>
17260 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17262 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17264 * docs/gst/gstreamer-sections.txt:
17269 * gst/gstmessage.c: (gst_message_parse_state_changed):
17272 more docs, fix compilation
17274 2005-10-09 Philippe Khalaf <burger@speedy.org>
17275 * gst/gstmessage.c:
17276 Fixed a few forgotten variables on previous commit
17278 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17280 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17281 Fix evil typefind crasher: getrange() might return a short
17282 buffer at the end of a file, but gst_type_find_peek() must
17283 either return the full data as requested or NULL, but
17284 never a short buffer.
17286 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17288 * gst/gstmessage.c: (gst_message_new_state_changed),
17289 (gst_message_parse_state_changed):
17290 * gst/gstmessage.h:
17291 don't use "new", it's a C++ keyword
17293 2005-10-08 Wim Taymans <wim@fluendo.com>
17295 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17296 * gst/gstelement.c: (gst_element_post_message):
17297 * gst/gstpipeline.c: (gst_pipeline_change_state):
17298 Small docs and debug updates.
17300 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17302 * docs/gst/gstreamer-sections.txt:
17303 * gst/gstelementfactory.c:
17305 * gst/gsttaglist.c:
17308 2005-10-08 Wim Taymans <wim@fluendo.com>
17310 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17311 (gst_bin_dispose), (bin_bus_handler):
17312 Fix typos, add comments.
17313 Clear EOS list when going to PAUSED from any direction and do it
17314 in a threadsafe way.
17315 Get base time in a threadsafe way too.
17316 Fix confusing debug in the change_state function.
17317 Various other small cleanups.
17319 * gst/gstelement.c: (gst_element_post_message):
17320 Fix very verbose bus posting code.
17322 * gst/gstpipeline.c: (gst_pipeline_class_init),
17323 (gst_pipeline_set_property), (gst_pipeline_get_property),
17324 (gst_pipeline_change_state):
17325 Small ARG_ -> PROP_ cleanup
17327 2005-10-08 Wim Taymans <wim@fluendo.com>
17329 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17330 Do a less CPU demanding EOS check because we can.
17332 2005-10-08 Wim Taymans <wim@fluendo.com>
17334 * libs/gst/dataprotocol/dataprotocol.c:
17335 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17336 (gst_dp_packet_from_event):
17337 * libs/gst/dataprotocol/dataprotocol.h:
17338 * libs/gst/dataprotocol/dp-private.h:
17339 It's about time we bump the version number.
17340 Since event types don't fit in the guint8 anymore describing
17341 the payload type, make payload type 16 bits wide.
17343 2005-10-08 Wim Taymans <wim@fluendo.com>
17345 * docs/design/part-TODO.txt:
17346 * docs/design/part-clocks.txt:
17347 * docs/design/part-events.txt:
17348 * docs/design/part-gstbin.txt:
17349 * docs/design/part-gstelement.txt:
17350 * docs/design/part-gstpipeline.txt:
17351 * docs/design/part-live-source.txt:
17352 * docs/design/part-messages.txt:
17353 * docs/design/part-overview.txt:
17354 * docs/design/part-states.txt:
17357 2005-10-08 Wim Taymans <wim@fluendo.com>
17361 Fix event quark registration.
17362 Add some space between events so we can insert them in the
17365 2005-10-08 Wim Taymans <wim@fluendo.com>
17367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17368 (gst_base_sink_handle_buffer):
17369 Better log message.
17372 * gst/gstelement.h:
17375 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17376 (gst_queue_set_property), (gst_queue_get_property):
17378 Remove old unused properties.
17380 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17381 * docs/gst/gstreamer-sections.txt:
17382 * gst/gstmessage.c:
17383 * gst/gstmessage.h:
17384 * gst/gstminiobject.c:
17385 * gst/gstminiobject.h:
17389 lots of new docs and doc fixes
17391 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17393 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17395 * gst/gstregistry.c: (gst_registry_lookup_locked),
17396 (gst_registry_scan_path_level):
17397 * gst/gstregistryxml.c: (load_plugin):
17398 Only ever load one plugin for a given plugin basename.
17399 This ensures correct overriding of GST_PLUGIN_PATH over
17400 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17401 system installed plugins.
17403 2005-10-08 Wim Taymans <wim@fluendo.com>
17405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17406 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17407 Prepare for doing QOS.
17409 2005-10-08 Wim Taymans <wim@fluendo.com>
17411 * check/gst/gstbin.c: (GST_START_TEST):
17412 * check/pipelines/cleanup.c: (GST_START_TEST):
17413 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17414 Allow new clock message too.
17416 2005-10-08 Wim Taymans <wim@fluendo.com>
17418 * gst/gstmessage.c: (gst_message_new_error),
17419 (gst_message_new_warning), (gst_message_new_tag),
17420 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17421 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17422 (gst_message_new_segment_start), (gst_message_new_segment_done),
17423 (gst_message_parse_state_changed),
17424 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17425 (gst_message_parse_new_clock):
17426 * gst/gstmessage.h:
17427 Also carry the clock in question.
17429 2005-10-08 Wim Taymans <wim@fluendo.com>
17431 * gst/gstmessage.c: (gst_message_new_custom),
17432 (gst_message_new_eos), (gst_message_new_error),
17433 (gst_message_new_warning), (gst_message_new_tag),
17434 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17435 (gst_message_new_new_clock), (gst_message_new_segment_start),
17436 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17437 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17438 * gst/gstmessage.h:
17440 Added clock related messages.
17442 * gst/gstpipeline.c: (gst_pipeline_change_state):
17443 Post message when the clock changed.
17445 * tools/gst-launch.c: (event_loop):
17448 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17450 * tools/gst-inspect.c: (print_element_properties_info):
17451 Can't pass NULL strings to g_print() on windows.
17453 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17455 * docs/Makefile.am:
17456 * docs/gst/Makefile.am:
17457 * docs/gst/gstreamer-docs.sgml:
17458 * docs/gst/running.xml:
17459 * docs/version.entities.in:
17460 add a chapter on running GStreamer.
17461 document GST_DEBUG and GST_PLUGIN* env vars
17463 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17468 remove PLUGINS_BUILDDIR stuff
17469 * gst/gst.c: (init_post):
17470 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17472 remove, it was condescending and not needed
17474 2005-10-08 Wim Taymans <wim@fluendo.com>
17476 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17477 (gst_base_sink_handle_object), (gst_base_sink_event),
17478 (gst_base_sink_wait), (gst_base_sink_handle_event),
17479 (gst_base_sink_change_state):
17480 * gst/base/gstbasesink.h:
17481 Repost EOS message while going to PLAYING if still EOS.
17482 Make sure that when receiving a FLUSH_START we don't attempt
17483 to sync on the clock anymore.
17485 2005-10-08 Wim Taymans <wim@fluendo.com>
17487 * tools/gst-launch.c: (event_loop):
17488 Better message printout.
17490 2005-10-08 Wim Taymans <wim@fluendo.com>
17492 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17493 (gst_bin_child_proxy_get_children_count):
17494 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17495 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17496 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17497 (gst_child_proxy_set_valist):
17498 * gst/parse/grammar.y:
17499 Make ChildProxy threadsafe and fix mem leaks.
17501 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17503 * gst/gst.c: (init_post):
17504 debug the GST_PLUGIN_ env vars
17506 2005-10-08 Wim Taymans <wim@fluendo.com>
17508 * check/gst/gstbin.c: (GST_START_TEST):
17509 * check/gst/gstmessage.c: (GST_START_TEST):
17510 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17511 * gst/gstelement.c: (gst_element_commit_state),
17512 (gst_element_lost_state):
17513 * gst/gstmessage.c: (gst_message_new_state_changed),
17514 (gst_message_parse_state_changed):
17515 * gst/gstmessage.h:
17516 * tools/gst-launch.c: (event_loop):
17517 Added extra field to STATE_CHANGE message with the pending
17518 state, which will be different from the new state soon.
17520 2005-10-08 Wim Taymans <wim@fluendo.com>
17522 * gst/gstbus.c: (gst_bus_pop):
17524 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17525 Small cleanups and doc updates.
17527 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17529 * gst/gst.c: (init_pre):
17530 * gst/gstbin.c: (gst_bin_add_func):
17531 log distributing clocks and base time
17532 * gst/gstregistry.c: (gst_registry_add_plugin),
17533 (gst_registry_scan_path_level), (gst_registry_scan_path):
17534 clean up the debugging output a little
17535 * gst/gstutils.c: (gst_element_state_get_name):
17536 warn about a memleak (I've actually seen this be used, though
17537 it was probably a bug)
17539 2005-10-07 Wim Taymans <wim@fluendo.com>
17541 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17542 (gst_base_src_init), (gst_base_src_default_newsegment),
17543 (gst_base_src_newsegment), (gst_base_src_do_seek),
17544 (gst_base_src_loop), (gst_base_src_start):
17545 * gst/base/gstbasesrc.h:
17546 Make the newsegment event customizable by subclasses.
17548 2005-10-07 Wim Taymans <wim@fluendo.com>
17550 * gst/gstevent.c: (gst_event_new_buffersize),
17551 (gst_event_parse_buffersize):
17553 New event for future idea.
17555 2005-10-07 Andy Wingo <wingo@pobox.com>
17557 * gst/gstelement.c (gst_element_post_message): Doc update.
17559 * docs/gst/gstreamer-sections.txt: Update.
17561 * gst/gstmessage.c (gst_message_new_application): Made into a
17562 function like honest API calls.
17563 (gst_message_new_element): New message type.
17565 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17567 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17568 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17571 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17572 NO_PREROLL from gst_element_change_state to fall through.
17574 2005-10-07 Wim Taymans <wim@fluendo.com>
17576 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17577 (gst_ghost_pad_do_activate_push):
17578 Activating a ghostpad with no internal pad in push mode
17581 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17584 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17585 Fixes compilation on Windows.
17587 2005-10-07 Michael Smith <msmith@fluendo.com>
17589 * tools/gst-inspect.c:
17590 Print out feature and plugin count at the end when printing out
17593 2005-10-04 Michael Smith <msmith@fluendo.com>
17595 * gst/gsterror.c: (_gst_stream_errors_init):
17596 Add another error string used in a few existing plugins.
17599 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17600 * tools/gst-inspect.c: (print_element_info):
17601 When a feature disappears from a plugin (and the feature exists in
17602 the cached registry file), things went horribly wrong. This isn't a
17603 complete fix, we should actually be removing the 'missing' features
17604 from the features list when we load the actual plugin. That's not
17607 2005-10-04 Johan Dahlin <johan@gnome.org>
17609 * check/gst/gstiterator.c: (GST_START_TEST):
17610 * gst/gstbin.c: (gst_bin_iterate_elements),
17611 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17612 * gst/gstelement.c: (gst_element_iterate_pads):
17613 * gst/gstformat.c: (gst_format_iterate_definitions):
17614 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17615 (gst_iterator_new_list), (gst_iterator_filter):
17616 * gst/gstiterator.h:
17617 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17618 Add a GType to GstIterator, update callsites and tests.
17620 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17622 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17623 give events a chance to be handled by event probes when the pad
17626 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17628 * gst/gstevent.c: (gst_event_type_get_name),
17629 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17631 add string representations for event types
17633 2005-10-06 Wim Taymans <wim@fluendo.com>
17635 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17636 Don't use NULL pointers.
17638 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17640 * gst/gst_private.h:
17642 * gst/gstelement.c:
17644 * gst/gstpluginfeature.c:
17645 widen the debug category in output to fit the biggest one we have
17646 add a bus category and use it
17647 play with the colors
17648 fix up some categories
17650 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17652 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17653 add push activation of sink ghost pads.
17654 Andye, please verify
17656 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17658 * gst/gstutils.c: (gst_element_link_pads):
17659 fix a bug in the case where neither element has a pad
17660 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17661 add a test for that case
17663 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17665 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17666 emit have-data before checking for peers. This allows
17667 for probe handlers to connect elements. This helps autopluggers.
17668 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17670 add six checks, linked/unlinked with no/true/false probe
17672 2005-10-04 Wim Taymans <wim@fluendo.com>
17674 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17675 (gst_fake_sink_event), (gst_fake_sink_preroll),
17676 (gst_fake_sink_render), (gst_fake_sink_change_state):
17677 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17678 (gst_fake_src_get_property), (gst_fake_src_create),
17679 (gst_fake_src_stop):
17680 * gst/elements/gstidentity.c: (gst_identity_stop):
17681 Protect last_message with lock.
17683 2005-10-04 Edward Hervey <edward@fluendo.com>
17686 Added precision in the comments for GST_FORMAT_DEFAULT
17688 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17690 * tools/gst-launch.c: (main):
17691 Don't try to run erroneous pipelines.
17693 2005-10-04 Julien MOUTTE <julien@moutte.net>
17695 * gst/gstbus.c: We don't need this header.
17697 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17700 back to development
17702 === release 0.9.3 ===
17704 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17708 Releasing 0.9.3, "Unregistered"
17710 2005-10-03 Andy Wingo <wingo@pobox.com>
17712 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17713 whereby calling a pad's activatepush() function can start a thread
17714 that starts to push or pull before the pad gets the FLUSHING flag
17715 unset. Hack around it by holding the stream lock until the flag is
17716 set. Need to replace this with a proper solution. Together with
17717 the ghost pad fixes, this fixes mp3 playing/tagreading.
17719 * docs/design/part-gstghostpad.txt: Add a note about activation of
17720 proxy pads outside of ghost pads.
17722 * gst/gstghostpad.c: Implement the ghost pad activation design.
17724 2005-10-02 Andy Wingo <wingo@pobox.com>
17726 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17727 It is volatile, after all.
17729 * docs/design/part-gstghostpad.txt: Flesh out activation with
17732 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17735 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17738 Fix (unused) AM_CONDITIONAL tests.
17740 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17742 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17744 * gst/gstutils.c: (gst_pad_query_convert):
17745 Add assertion that makes sure src_val is >=0, just like
17746 gst_query_new_convert() has. (#315895)
17748 2005-09-30 Edward Hervey <edward@fluendo.com>
17750 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17751 Let's not iterate pads we're not interested in, it avoids getting
17752 sky-high refcounts on sinkpad.
17754 2005-09-30 Wim Taymans <wim@fluendo.com>
17756 * gst/gstelement.c: (gst_element_set_state),
17757 (gst_element_change_state):
17758 Small tweak, element in ASYNC remains ASYNC.
17760 2005-09-30 Wim Taymans <wim@fluendo.com>
17762 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17763 Only error is an error.
17765 * gst/gstbin.c: (gst_bin_change_state):
17768 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17769 Also call pad_block in pad alloc.
17771 * gst/gstutils.c: (gst_flow_get_name):
17774 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17776 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17777 (gst_base_src_get_range):
17778 Fix documentation typos. Add some more debug info.
17780 2005-09-29 David Schleef <ds@schleef.org>
17782 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17783 more end-user friendly.
17784 * tools/gst-inspect.c: (main): Check if command-line argument is
17785 a file and attempt to load that file as a plugin.
17787 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17789 * check/gst/gstbin.c:
17790 * check/states/sinks.c:
17791 fix tests for the new warning
17792 * check/gst/gstpipeline.c:
17793 add a test for pipeline and bus interaction
17794 * gst/gstelement.c:
17795 elements should be NULL if they get disposed; add a warning if not
17797 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17800 for 2.6 refcounting, make debug log more correct by printing
17801 the actual refcounts at the time of swap (Wim)
17803 2005-09-29 Andy Wingo <wingo@pobox.com>
17805 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17806 removes signal watches previously added via
17807 gst_bus_add_signal_watch.
17808 (gst_bus_add_signal_watch): Don't return the source id, just store
17809 it on the bus if there wasn't an id already.
17811 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17812 add_signal_watch and remove_signal_watch.
17814 2005-09-29 Edward Hervey <edward@fluendo.com>
17816 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17817 Better if we actually iterate the list :)
17819 2005-09-29 Wim Taymans <wim@fluendo.com>
17821 * check/gst/gstbin.c: (GST_START_TEST):
17822 Change for new bus API.
17824 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17825 (send_messages), (GST_START_TEST), (gstbus_suite):
17826 Change for new bus signal API.
17828 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17829 (gst_bus_source_prepare), (gst_bus_source_check),
17830 (gst_bus_create_watch), (gst_bus_add_watch_full),
17831 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17832 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17834 Remove support for multiple GSources operating on different
17835 message types as it is too complex and unneeded when using
17837 Added support for receiving signals from the bus.
17839 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17841 * docs/libs/tmpl/gstdataprotocol.sgml:
17842 * docs/manual/advanced-dataaccess.xml:
17843 * gst/elements/gstcapsfilter.c:
17845 rename filter-caps to caps property
17847 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17849 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17850 More robust fraction string parsing.
17852 * docs/pwg/appendix-porting.xml:
17853 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17855 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17857 * gst/gstcaps.c: (gst_caps_do_simplify):
17858 Thou shalt not free a structure and then continue using it
17859 in the next loop iteration.
17861 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17863 Add test case for caps simplification.
17865 2005-09-29 Wim Taymans <wim@fluendo.com>
17867 * check/gst/gstbin.c: (GST_START_TEST):
17870 2005-09-29 Wim Taymans <wim@fluendo.com>
17872 * check/gst/gstbin.c: (GST_START_TEST):
17875 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17876 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17877 (find_element), (gst_bin_sort_iterator_next),
17878 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17879 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17880 (gst_bin_change_state), (gst_bin_dispose):
17881 A bin does not have a bus, it gets the bus from the parent.
17883 * gst/gstelement.c: (gst_element_requires_clock),
17884 (gst_element_provides_clock), (gst_element_is_indexable),
17885 (gst_element_is_locked_state), (gst_element_change_state),
17886 (gst_element_set_bus_func):
17889 * gst/gstpipeline.c: (gst_pipeline_class_init),
17890 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17891 The pipeline provides a bus.
17893 2005-09-28 Johan Dahlin <johan@gnome.org>
17895 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17896 gst_structure_get_enum instead of gst_structure_get_int
17898 * gst/gststructure.c (gst_structure_get_enum): Impl.
17900 * gst/gststructure.h (gst_structure_get_enum): Add
17902 * docs/gst/gstreamer-sections.txt: Ditto
17904 * gst/gstmessage.c (gst_message_new_state_changed): Use
17905 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17906 which does introspection.
17907 Reviewed by Christian Schaller
17909 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17911 * gst/gstinfo.c: (gst_debug_log_default):
17912 don't do dummy g_strdup()s
17913 * libs/gst/controller/gstcontroller.c:
17914 (on_object_controlled_property_changed),
17915 (gst_controlled_property_new), (gst_controller_new_valist),
17916 (gst_controller_new_list),
17917 (gst_controller_remove_properties_valist), (gst_controller_set),
17918 (gst_controller_get), (gst_controller_sync_values),
17919 (gst_controller_get_value_array), (_gst_controller_class_init),
17920 (gst_controller_get_type):
17921 * libs/gst/controller/gstcontroller.h:
17922 * libs/gst/controller/gstinterpolation.c:
17923 (gst_controlled_property_find_timed_value_node):
17924 convert // to /**/ comments
17926 2005-09-28 Wim Taymans <wim@fluendo.com>
17928 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17929 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17930 (gst_bus_sync_signal_handler):
17932 Added async-message and sync-message signals to the bus.
17933 Added helper BusFunc to emit signals for all posted messages.
17935 * gst/gstmessage.c: (gst_message_type_get_name),
17936 (gst_message_type_to_quark), (gst_message_get_type):
17937 * gst/gstmessage.h:
17938 Register quarks for message names.
17940 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17942 * docs/libs/gstreamer-libs-sections.txt:
17943 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17944 (gst_controller_new_list):
17945 * libs/gst/controller/gstcontroller.h:
17946 added another constructor for language bindings
17948 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17950 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17954 * gst/gstinfo.c: (_gst_debug_init):
17955 slightly more readable color for refcount debugging
17957 2005-09-28 Wim Taymans <wim@fluendo.com>
17959 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17960 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17961 (find_element), (gst_bin_sort_iterator_next),
17962 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17963 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17964 (gst_bin_change_state), (gst_bin_dispose):
17965 Small doc fixes. get_clock -> provide_clock.
17967 * gst/gstelement.c: (gst_element_class_init),
17968 (gst_element_provides_clock), (gst_element_provide_clock),
17969 (gst_element_get_clock), (gst_element_commit_state),
17970 (gst_element_lost_state):
17971 * gst/gstelement.h:
17972 Make get/set_clock() symetric. Add provide_clock vmethod since
17973 that is actually what this function does.
17975 * gst/gstpipeline.c: (gst_pipeline_class_init),
17976 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17977 (gst_pipeline_get_clock):
17978 get_clock -> provide_clock.
17980 2005-09-28 Andy Wingo <wingo@pobox.com>
17982 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17983 lieu of real docs...
17985 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17987 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17989 * gst/elements/gstcapsfilter.c:
17990 * gst/elements/gstfakesink.c:
17991 * gst/elements/gstfakesrc.c:
17992 * gst/elements/gstfdsink.c:
17993 * gst/elements/gstfdsrc.c:
17994 * gst/elements/gstfilesink.c:
17995 * gst/elements/gstfilesrc.c:
17996 * gst/elements/gstidentity.c:
17997 * gst/elements/gsttee.c:
17998 * gst/elements/gsttypefindelement.c:
17999 Make element details static.
18001 2005-09-28 Wim Taymans <wim@fluendo.com>
18003 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18004 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18005 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18006 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18007 (gst_bin_change_state), (gst_bin_dispose):
18008 Some documentation updates.
18009 Clean up dispose handlers.
18011 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18012 * gst/gstpad.c: (gst_pad_dispose):
18013 Clean up dispose handler.
18015 * gst/gstpipeline.c: (gst_pipeline_change_state):
18016 Removed spurious UNLOCK.
18018 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18020 * docs/gst/gstreamer-sections.txt:
18021 * gst/base/gstbasesrc.h:
18022 * gst/gstelement.h:
18026 * gst/gstpipeline.c:
18027 * gst/gstpipeline.h:
18030 added two new functions to the docs
18031 documents all undocumented GstXXXFlags
18032 completed some incomplete docs
18034 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18036 * gst/gstbin.c: (gst_bin_dispose):
18037 * gst/gstelement.c: (gst_element_dispose):
18038 remove now useless and leaky resurrection code in dispose
18039 * gst/base/gstbasesrc.c: (gst_base_src_init):
18040 * gst/gstelementfactory.c: (gst_element_factory_create):
18041 * gst/gstobject.c: (gst_object_set_parent):
18044 2005-09-27 Wim Taymans <wim@fluendo.com>
18046 * docs/design/part-TODO.txt:
18049 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18050 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18051 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18052 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18053 (gst_bin_change_state):
18054 * gst/gstelement.h:
18055 Remove element variable, we keep element info in the iterator now.
18057 2005-09-27 Andy Wingo <wingo@pobox.com>
18059 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18062 2005-09-27 Wim Taymans <wim@fluendo.com>
18064 * check/gst/gstbin.c: (GST_START_TEST):
18065 Enable check that works now.
18067 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18068 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18069 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18070 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18071 (gst_bin_change_state):
18073 Redid the state change algorithm using a topological sort algo.
18074 Handles all cases correctly.
18075 Exposed iterator for state change order.
18077 * gst/gstelement.h:
18078 Temp storage for state changes. Need to get rid of this soon.
18080 2005-09-27 Wim Taymans <wim@fluendo.com>
18082 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18083 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18084 (link_fold_func), (gst_pad_proxy_setcaps):
18085 Leak fixes, the fold functions need to unref the passed object and
18086 _get_parent_*() returns ref to parent.
18088 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18090 * check/gst/gstbuffer.c: (test_make_writable):
18091 Plug leak in test case and fix 'make check-valgrind'
18093 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18095 * gst/gstbuffer.c: (gst_subbuffer_init):
18096 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18097 works correctly in all circumstances (we could have just copied
18098 the parent buffer's readonly flag, but conceptually it seems
18099 cleaner to mark all subbuffers as read-only). (based on patch
18100 by Alessandro Decina, #314710).
18102 * check/gst/gstbuffer.c: (create_read_only_buffer),
18103 (test_make_writable), (test_subbuffer_make_writable),
18105 Add some tests for gst_buffer_make_writable().
18107 2005-09-27 Wim Taymans <wim@fluendo.com>
18109 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18110 use gst_object_has_ancestor().
18112 * gst/gstobject.c: (gst_object_has_ancestor):
18114 gst_object_has_ancestor() copied from gstbin.c as it is a
18117 * tests/instantiate/create.c: (create_all_elements):
18118 * tests/lat.c: (handoff_src), (handoff_sink):
18119 * tests/sched/runxml.c: (main):
18120 * tests/seeking/seeking1.c: (main):
18121 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18123 Fix compilation of some tests.
18125 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18128 Remove comment. GST_TYPE_G_ERROR is here to stay,
18129 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18130 (#316961, #300610).
18132 2005-09-26 Wim Taymans <wim@fluendo.com>
18134 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18135 Added check that shows error in state change order.
18137 2005-09-26 Wim Taymans <wim@fluendo.com>
18139 * gst/gstbin.c: (gst_bin_change_state):
18140 Make state change function use 3 queues again, we were
18141 adding elements in the wrong order.
18143 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18146 * gst/gstpad.c: (gst_pad_dispose):
18147 Added some debug info first.
18149 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18151 * docs/design/draft-push-pull.txt:
18152 * docs/design/part-events.txt:
18153 * docs/design/part-overview.txt:
18154 * docs/design/part-scheduling.txt:
18155 Replace all _pull_region() with _pull_range()
18157 2005-09-26 Andy Wingo <wingo@pobox.com>
18159 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18161 * check/gst-libs/controller.c: Update for controller api change.
18164 * tests/Makefile.am:
18165 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18166 over by GLib bug 118439.
18168 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18169 routines to a function.
18171 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18173 * libs/gst/controller/gsthelper.c:
18174 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18175 (gst_object_sync_values): Renamed from sink_values. Ugh.
18177 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18179 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18180 Renamed from controller_key, as it is exported.
18182 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18184 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18189 * gst/gstpadtemplate.h:
18192 * gst/gstqueryutils.c:
18193 * gst/gstqueryutils.h:
18194 remove queryutils headers after moving the two used functions
18195 to gstquery. also fixes build problem for gstsiddec
18197 2005-09-26 Michael Smith <msmith@fluendo.com>
18199 * tools/gst-launch.1.in:
18200 Correct documentation in manpage of debug syntax
18202 2005-09-26 Wim Taymans <wim@fluendo.com>
18204 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18205 (gst_base_src_is_seekable), (gst_base_src_change_state):
18206 Some more debugging info.
18208 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18210 * docs/gst/gstreamer-sections.txt:
18211 * gst/base/gstbasetransform.h:
18215 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18217 * docs/gst/.cvsignore:
18218 * docs/gst/tmpl/.cvsignore:
18219 * docs/gst/tmpl/gstpipeline.sgml:
18220 * docs/gst/tmpl/gstplugin.sgml:
18221 * gst/gstpipeline.c:
18224 inlined the last two docs files
18225 removed the tmpl directory from cvs (no more conflicts here!)
18227 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18229 * docs/gst/gstreamer-sections.txt:
18230 * docs/gst/tmpl/.cvsignore:
18231 * docs/gst/tmpl/gstpad.sgml:
18232 * docs/gst/tmpl/gstpadtemplate.sgml:
18234 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18235 (gst_pad_finalize), (gst_pad_set_pad_template):
18237 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18238 (gst_pad_template_class_init), (gst_pad_template_init),
18239 (gst_pad_template_dispose), (name_is_valid),
18240 (gst_static_pad_template_get), (gst_pad_template_new),
18241 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18242 (gst_pad_template_pad_created):
18243 * gst/gstpadtemplate.h:
18244 inlined two more docs
18245 factored gstpadtemplate out of gstpad
18247 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18249 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18250 (test_children_state_change_order_semi_sink):
18251 Fix test case: we can't rely on a fixed state change order when
18252 going from READY => PAUSED because the sink might commit its
18253 new state first when the first buffer created by the source
18254 reaches the sink before the source has finished its change state.
18255 (Test case still fails at times, see #316856, comment 5 onwards)
18257 2005-09-24 Wim Taymans <wim@fluendo.com>
18259 * docs/design/part-events.txt:
18260 * docs/design/part-gstbus.txt:
18261 * docs/design/part-gstpipeline.txt:
18262 * docs/design/part-messages.txt:
18263 * docs/design/part-overview.txt:
18264 * docs/design/part-segments.txt:
18268 * gst/gstelement.c:
18271 * gst/gstiterator.c:
18272 Various documentation updates.
18274 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18277 Well, that's embarassing. Luckily we weren't using
18278 GST_CLOCK_DIFF anywhere.
18280 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18282 * common/gtk-doc.mak:
18283 don't fail on building XML, FC4 slave shows a bunch of doc
18284 missing bits that I don't get
18286 * gst/gstpipeline.c:
18287 * gst/gststructure.c:
18290 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18292 * docs/design/part-gstbin.txt:
18293 * docs/design/part-gstbus.txt:
18295 Add blurb about how the bus goes into flushing mode and
18296 drops all messages when its bin goes from READY into NULL
18299 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18301 * docs/gst/gstreamer-sections.txt:
18302 * gst/gststructure.c: (gst_structure_get_clock_time):
18303 * gst/gststructure.h:
18304 add a method to get a GstClockTime out of a structure
18306 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18308 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18309 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18310 Added test to check state change order in bins (can still be made
18311 to fail here under heavy disk load; bails out with 'Push on pad
18312 fakesink:sink0, but it was not activated in push mode').
18314 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18315 Fix state change order when there is only a semi sink (#316856)
18317 * gst/gstbus.c: (gst_bus_class_init):
18318 Use _class_peek_parent(), not _class_ref(); fix docs to say
18319 'default main context' instead of 'mainloop' where that is
18322 * gst/gstelement.c: (gst_element_commit_state),
18323 (gst_element_set_state):
18324 Fix typos in debug messages
18326 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18329 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18330 * gst/gstpluginfeature.c:
18332 various doc updates
18333 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18334 change an assert into an error until it gets fixed properly
18336 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18338 * docs/gst/gstreamer-sections.txt:
18339 * docs/gst/tmpl/.cvsignore:
18340 * docs/gst/tmpl/gstelement.sgml:
18341 * docs/gst/tmpl/gstinfo.sgml:
18342 * docs/gst/tmpl/gstobject.sgml:
18343 * gst/gstelement.c:
18344 * gst/gstelement.h:
18347 * gst/gstobject.c: (gst_object_class_init):
18349 inlined 3 more biiiig doc files and added some missing docs on the fly
18351 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18353 * check/gst/.cvsignore:
18354 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18355 * gst/gstregistryxml.c: (load_plugin),
18356 (gst_registry_xml_save_plugin):
18357 put back source in registry. add checks for find_plugin.
18358 * testsuite/states/bin.c: (assert_state), (empty_bin),
18359 (test_adding_one_element), (main):
18360 * testsuite/states/locked.c: (main):
18361 some compile/run fixes
18363 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18365 * check/gst/gstvalue.c: (GST_START_TEST):
18366 fix leaks in the test itself
18368 2005-09-22 Wim Taymans <wim@fluendo.com>
18370 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18371 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18372 (gst_base_sink_query):
18373 Prepare for more accurate position reporting and query
18376 * gst/gstelement.c: (gst_element_send_event),
18377 (gst_element_set_state):
18380 2005-09-22 Wim Taymans <wim@fluendo.com>
18382 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18383 (gst_query_parse_segment):
18385 More documentation.
18386 Add segment query for future use.
18388 2005-09-22 Wim Taymans <wim@fluendo.com>
18390 * gst/gstbin.c: (gst_bin_add_func):
18391 Some more debug info.
18393 * gst/gstelement.c: (gst_element_send_event):
18394 Simplify send_event
18396 * gst/gstelement.h:
18397 Don't know how flags got broken.
18402 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18404 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18405 Add simplistic test suite for GST_TYPE_DATE serialisation and
18408 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18410 * docs/gst/gstreamer-sections.txt:
18411 * gst/gststructure.c: (gst_structure_set_valist),
18412 (gst_structure_get_date):
18413 * gst/gststructure.h:
18414 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18415 (gst_date_copy), (gst_value_compare_date),
18416 (gst_value_serialize_date), (gst_value_deserialize_date),
18417 (gst_value_transform_date_string),
18418 (gst_value_transform_string_date), (_gst_value_initialize):
18420 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18421 bunch of utility functions along with a hack that checks that
18422 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18423 is required. Part of the grand scheme in #170777.
18425 2005-09-22 Andy Wingo <wingo@pobox.com>
18427 * gst/gstconfig.h.in: Psych out gtk-doc.
18429 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18431 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18433 * tools/gst-inspect.c (print_element_list): Plug some
18434 inconsequential leaks.
18436 * gst/gstregistry.c (gst_registry_get_default): Doc.
18438 * check/gst/gstplugin.c:
18439 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18440 * gst/gstelementfactory.c (gst_element_factory_create):
18441 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18444 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18445 (gst_plugin_feature_load): Doc, don't eat refs.
18447 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18448 (gst_plugin_list_free): Doc.
18449 (gst_plugin_load_file): Doc updates.
18451 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18452 accessors returning refcounted objects, return a ref.
18454 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18455 accessor for caps. IDEMPOTENCE. Oh yes.
18457 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18459 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18461 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18462 (_gst_debug_register_funcptr):
18463 Add mutex to serialise access to the hash table with
18464 the function pointer => function name string mapping;
18465 make that hash table static scope (#316809).
18467 * gst/registries/.cvsignore:
18468 Remove left-over file.
18470 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18472 * docs/pwg/appendix-porting.xml:
18473 And something about newsegment events and caps-on-buffers to
18474 the porting guide (feel free to improve).
18476 2005-09-21 Andy Wingo <wingo@pobox.com>
18478 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18479 data and event probes on the same pad.
18480 (test_buffer_probe_once): Test that removing probes from within
18481 the probe functions works.
18483 2005-09-21 Andy Wingo <wingo@pobox.com>
18485 * check/gst/gstutils.c: New file.
18486 (test_buffer_probe_n_times): A simple buffer probe test. More to
18489 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18490 have-data::buffer, not have-data.
18491 (gst_pad_add_event_probe): Likewise for have-data::event.
18492 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18493 peer' isn't quite right yet though.
18494 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18495 (gst_pad_remove_data_probe): Change to take the guint handler_id
18496 as their arg, not the function+data, which is more glib-like.
18498 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18499 the signal emission to indicate if the data is a buffer or an
18501 (gst_pad_get_type): Initialize buffer and event quarks.
18502 (gst_pad_class_init): have-data is now a detailed signal, yes it
18505 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18507 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18508 * gst/gstutils.c: (gst_util_set_value_from_string),
18509 (gst_util_set_object_arg):
18510 Don't put functional code in g_return_if_fail() or
18511 g_return_val_if_fail() statements, otherwise things will
18512 break when G_DISABLE_CHECKS is defined during compilation.
18514 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18516 * docs/gst/tmpl/.cvsignore:
18517 * docs/gst/tmpl/gstvalue.sgml:
18520 inlied another one and added some obvious docs
18522 2005-09-21 Wim Taymans <wim@fluendo.com>
18524 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18525 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18526 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18527 (gst_fdsrc_get_property), (gst_fdsrc_create):
18528 * gst/elements/gstfdsrc.h:
18529 Properly implement fdsrc. Removed signal and timeout,
18530 better implemented somewhere else.
18532 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18534 * docs/gst/tmpl/.cvsignore:
18535 * docs/gst/tmpl/gstimplementsinterface.sgml:
18536 * gst/gstinterface.c:
18539 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18541 * docs/gst/gstreamer-sections.txt:
18542 * docs/gst/tmpl/.cvsignore:
18543 * docs/gst/tmpl/gstenumtypes.sgml:
18544 remove obsolete doc file
18546 2005-09-21 David Schleef <ds@schleef.org>
18548 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18549 little beer, fix a little leak.
18551 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18553 * docs/gst/gstreamer-docs.sgml:
18554 * docs/gst/gstreamer-sections.txt:
18555 * docs/gst/tmpl/.cvsignore:
18559 * gst/gstelement.h:
18560 * gst/gstindex.c: (gst_index_class_init):
18562 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18563 (gst_index_factory_class_init), (gst_index_factory_init),
18564 (gst_index_factory_finalize), (gst_index_factory_new),
18565 (gst_index_factory_destroy), (gst_index_factory_find),
18566 (gst_index_factory_create), (gst_index_factory_make):
18567 * gst/gstindexfactory.h:
18568 * gst/gstpluginfeature.c:
18569 * gst/gstpluginfeature.h:
18570 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18571 more docs inlined, splitted gstindex.{c,h}
18573 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18575 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18578 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18580 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18581 Set sync to FALSE by default.
18583 2005-09-20 Wim Taymans <wim@fluendo.com>
18585 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18586 (gst_base_sink_init):
18587 Make sync property settable from subclass.
18589 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18590 (gst_fake_sink_change_state):
18591 Set sync to FALSE by default.
18593 2005-09-20 Wim Taymans <wim@fluendo.com>
18595 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18596 * tools/gst-launch.c: (main):
18597 The timeout handler should have lower priority than the source
18598 so we don't timeout before popping a message with 0 timeout.
18599 Dump error messages after failed state change.
18601 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18603 * tools/gst-inspect.c: (print_element_properties_info):
18606 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18608 * check/gst/gstevent.c:
18609 * gst/elements/gstfakesink.c:
18610 * gst/elements/gstfakesink.h:
18611 remove the sync property from fakesink.
18612 has the side effect of setting sync TRUE
18613 for fakesink, which is a change. Anyone who knows how
18614 to fix this nicely in a GObject-y way, feel free.
18616 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18618 * docs/gst/gstreamer-docs.sgml:
18619 remove probe refsection
18621 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18623 * check/Makefile.am:
18624 disable valgrinding the controller test again
18625 * docs/gst/gstreamer-sections.txt:
18626 update for api-changes
18628 2005-09-20 Wim Taymans <wim@fluendo.com>
18630 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18631 (gst_base_sink_set_property), (gst_base_sink_get_property),
18632 (gst_base_sink_do_sync):
18633 * gst/base/gstbasesink.h:
18634 Added sync property to basesink to disable clock sync.
18636 2005-09-20 Andy Wingo <wingo@pobox.com>
18638 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18639 eating the caller's refcount.
18641 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18642 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18645 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18646 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18647 of GLib 2.8 public, so we can know which refcount to check in
18650 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18651 (gst_object_init): Only set the gst refcount if we're going ahead
18652 with the refcount hack.
18654 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18656 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18657 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18658 more leaks plumbed, added more debug-logging
18662 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18664 * gst/gstmessage.c:
18665 remove include of gstmemchunk.h
18667 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18669 * gst/gstclock.c: (_gst_clock_id_free):
18670 Commit from the Political Party For More Atomic CVS Commits,
18671 so that people don't waste too much of their day fishing
18672 out obvious leaks out of massive commits.
18673 Oh, and fix a pretty damn obvious leak in the memchunk
18676 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18678 * check/Makefile.am:
18679 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18680 plug mem-leak, re-add to valgrindable tests
18682 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18685 unbreak the build for those who have chronic arthritis
18686 and typing "make check" is just too taxing on the hands
18688 2005-09-20 Andy Wingo <wingo@pobox.com>
18690 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18691 really want it out, you should fix plugins at the same time.
18693 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18696 * docs/gst/gstreamer-sections.txt:
18698 added missing symbols to api docs
18699 disable ref-count hack if we have glib >= 2.8
18701 2005-09-19 David Schleef <ds@schleef.org>
18703 * docs/gst/Makefile.am: Ignore a few more internal headers
18704 * docs/gst/gstreamer-docs.sgml: Remove old sections
18705 * docs/gst/gstreamer-sections.txt: Remove old sections
18706 * docs/gst/tmpl/gstobject.sgml: update
18707 * docs/gst/tmpl/gstplugin.sgml: update
18708 * docs/gst/tmpl/gstpluginfeature.sgml: update
18709 * docs/random/ds/0.9-suggested-changes: update.
18710 * gst/Makefile.am: remove memchunk and trashstack, since they're
18712 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18713 * gst/gst.h: don't include some headers
18714 * gst/gstchildproxy.c: add gstmarshal.h
18715 * gst/gstclock.c: Don't use memchunks
18716 * gst/gstminiobject.c: Add some docs
18717 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18718 * gst/gstobject.h: same
18719 * gst/gstplugin.c: include gstmacros.h
18720 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18721 * gst/gstquery.c: don't use memchunks
18722 * gst/gstregistry.c: rename gst_registry_deinit()
18723 * gst/gstregistry.h: same
18725 2005-09-19 David Schleef <ds@schleef.org>
18727 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18728 * docs/libs/gstreamer-libs-sections.txt:
18729 * docs/libs/tmpl/gstgetbits.sgml:
18730 * docs/libs/tmpl/gstputbits.sgml:
18732 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18734 * win32/gstenumtypes.c:
18735 * win32/gstenumtypes.h:
18738 2005-09-19 Wim Taymans <wim@fluendo.com>
18740 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18741 Automatically PAUSE and RESUME a pipeline when a flushing seek
18744 2005-09-19 Andy Wingo <wingo@pobox.com>
18746 * gst/gstregistry.h: Spacing fixen.
18748 2005-09-19 Wim Taymans <wim@fluendo.com>
18750 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18751 Handle state change failure more correctly.
18753 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18755 * check/Makefile.am:
18756 * check/pipelines/cleanup.c: (run_pipeline):
18757 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18759 enable cleanup again after fixing the leak
18761 some more info on docs
18763 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18765 * check/Makefile.am:
18766 re-enable tests now that leaks are plugged
18768 * check/gst/gstbin.c:
18769 * check/gst/gstpipeline.c:
18770 add some more tests while fixing leaks
18771 * common/check.mak:
18772 make sure binaries are uptodate when valgrinding/gdbing
18774 * gst/gstelementfactory.c:
18775 remove a ref too many, and add a FIXME for when we get
18776 round to disposing of classes
18778 fix the refcounting when loading a plugin from a file and
18779 the code pretends that the pointer is the same even though
18780 of course it can change
18781 * gst/gstpluginfeature.c:
18782 unref plugins marked cached (a bit confusing as a name)
18783 as the docs state should be done
18784 various doc additions to explain refcounting
18785 * gst/gstregistry.c:
18786 * gst/gstregistryxml.c:
18789 2005-09-19 Wim Taymans <wim@fluendo.com>
18791 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18792 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18793 (send_messages), (GST_START_TEST), (gstbus_suite):
18794 * check/gst/gstpipeline.c: (GST_START_TEST):
18795 * check/pipelines/cleanup.c: (run_pipeline):
18796 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18798 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18799 (gst_bus_source_check), (gst_bus_source_dispatch),
18800 (gst_bus_create_watch), (gst_bus_add_watch_full),
18801 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18803 * tools/gst-launch.c: (event_loop):
18804 * tools/gst-md5sum.c: (event_loop):
18805 GstBusHandler -> GstBusFunc, return value has the same meaning as
18806 any other GSource (FALSE == remove source).
18807 _add_watch() and _add_watch_full() now take a MessageType mask to
18808 only handle specific types of messages.
18809 _poll() returns the GstMessage instead of the message type to avoid
18811 _have_pending() takes a MessageType mask now too.
18812 Added testsuite for multiple bus watches.
18813 Fix testsuites and applications for new bus API.
18815 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18817 * check/Makefile.am:
18818 mark a bunch of the tests as to fix until we fix them
18820 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18822 * common/check.mak:
18823 use GST_PLUGIN settings for valgrind tests as well, so we're
18824 valgrinding the correct thing
18825 * gst/gst.c: (init_post):
18828 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18830 * gst/gst.c: (init_post), (gst_deinit):
18831 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18832 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18833 * gst/gstindex.c: (gst_index_factory_class_init),
18834 (gst_index_factory_finalize):
18835 * gst/gstobject.c: (gst_object_dispose):
18836 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18837 (gst_plugin_load_file), (gst_plugin_desc_free):
18838 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18839 (gst_plugin_feature_finalize):
18840 * gst/gstregistry.c: (gst_registry_class_init),
18841 (gst_registry_init), (gst_registry_finalize),
18842 (gst_registry_get_default), (gst_registry_deinit):
18843 * gst/gstregistry.h:
18844 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18845 various cleanups and memleak plugging. make valgrind is happy now.
18847 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18849 * common/check.mak:
18850 add a check-valgrind target
18852 2005-09-18 David Schleef <ds@schleef.org>
18854 * tools/gst-inspect.c: Revert the GOption code.
18856 2005-09-17 David Schleef <ds@schleef.org>
18858 * check/Makefile.am: Fix environment variables.
18859 * check/gst/gstplugin.c: Fix for API changes.
18860 * tools/gst-inspect.c: Fix for API changes.
18861 * tools/gst-xmlinspect.c: Fix for API changes.
18862 * gst/gstelementfactory.c:
18865 * gst/gstpluginfeature.c:
18866 * gst/gstpluginfeature.h:
18867 * gst/gstregistry.c:
18868 * gst/gstregistry.h:
18869 * gst/gstregistryxml.c:
18870 * gst/gsttypefind.c:
18871 * gst/gsttypefindfactory.c:
18872 * gst/indexers/gstfileindex.c:
18873 * gst/indexers/gstmemindex.c:
18874 * gst/schedulers/Makefile.am:
18875 Change registry to keep track of both plugins and features,
18876 removing the feature tracking from plugins themselves.
18878 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18880 * check/Makefile.am:
18881 * tools/gst-register.1.in:
18882 remove gst-register
18884 2005-09-15 David Schleef <ds@schleef.org>
18886 * check/gst/gstplugin.c:
18887 * gst/gstelementfactory.c:
18889 * gst/gstpluginfeature.c:
18890 * gst/gstregistry.c:
18891 Getting tired of debugging. Disabled all the unreffing of
18892 plugins and features, which fixes the segfaults, but of
18893 course leaks like crazy. At least playbin works.
18895 2005-09-15 David Schleef <ds@schleef.org>
18897 * check/gst/gstplugin.c: (register_check_elements),
18898 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18900 * gst/elements/gsttypefindelement.c: Fix refcounting.
18901 * gst/gsttypefind.c:
18902 * gst/gsttypefindfactory.c:
18903 * gst/gsttypefindfactory.h:
18905 2005-09-15 David Schleef <ds@schleef.org>
18907 * gst/gstindex.c: get refcounting correct.
18908 * gst/gstregistry.c: Handle the case where a feature/plugin is
18911 2005-09-15 David Schleef <ds@schleef.org>
18913 * check/Makefile.am:
18914 * check/gst/gstplugin.c: Add test
18915 * gst/gstplugin.c: Fix problems noticed by testsuite
18917 * gst/gstregistry.c:
18918 * gst/gstregistry.h:
18920 2005-09-15 David Schleef <ds@schleef.org>
18922 * gst/gstplugin.c: Implement semi-decent recounting and locking
18923 in plugins and plugin features.
18925 * gst/gstpluginfeature.c:
18926 * gst/gstpluginfeature.h:
18927 * gst/gstregistry.c:
18929 2005-09-15 Michael Smith <msmith@fluendo.com>
18931 * gst/gstregistry.c: (gst_registry_get_feature_list):
18932 Implement this. Makes oggdemux work; decodebin still broken.
18934 2005-09-14 David Schleef <ds@schleef.org>
18936 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18938 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18939 * gst/check/Makefile.am:
18940 * libs/gst/controller/Makefile.am:
18941 * libs/gst/dataprotocol/Makefile.am:
18943 2005-09-14 David Schleef <ds@schleef.org>
18945 * configure.ac: Remove getbits library. Nothing uses it, and
18946 it should be in something like liboil if someone did want
18948 * libs/gst/Makefile.am:
18949 * libs/gst/getbits/Makefile.am:
18950 * libs/gst/getbits/gbtest.c:
18951 * libs/gst/getbits/getbits.c:
18952 * libs/gst/getbits/getbits.h:
18953 * libs/gst/getbits/gstgetbits_generic.c:
18954 * libs/gst/getbits/gstgetbits_i386.s:
18955 * libs/gst/getbits/gstgetbits_inl.h:
18957 2005-09-14 David Schleef <ds@schleef.org>
18959 * gst/Makefile.am: Dist glib-compat.h
18961 2005-09-14 David Schleef <ds@schleef.org>
18963 * configure.ac: Remove gst/registries, since it's no longer used.
18964 * gst/registries/Makefile.am:
18965 * gst/registries/gstlibxmlregistry.c:
18966 * gst/registries/gstlibxmlregistry.h:
18967 * gst/registries/gstxmlregistry.c:
18968 * gst/registries/gstxmlregistry.h:
18969 * gst/registries/registrytest.c:
18971 2005-09-14 David Schleef <ds@schleef.org>
18973 * gst/glib-compat.h:
18974 * gst/gstregistryxml.c:
18975 Convergence is near. Seriously.
18977 2005-09-14 David Schleef <ds@schleef.org>
18979 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18980 * gst/glib-compat.h:
18981 Attempt #4 to appease the buildbots.
18983 2005-09-14 David Schleef <ds@schleef.org>
18985 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18988 2005-09-14 David Schleef <ds@schleef.org>
18990 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18993 2005-09-14 David Schleef <ds@schleef.org>
18995 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18998 2005-09-14 David Schleef <ds@schleef.org>
19000 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19001 * gst/glib-compat.h: Add some functions that are in newer versions
19002 of glib than we care to require.
19003 * gst/gstregistryxml.c: Use them.
19005 2005-09-14 David Schleef <ds@schleef.org>
19007 * po/POTFILES.in: remove gst-register.c
19009 2005-09-14 David Schleef <ds@schleef.org>
19011 * docs/gst/gstreamer-docs.sgml:
19012 * docs/gst/gstreamer-sections.txt:
19013 * docs/gst/gstreamer.types:
19014 * docs/gst/tmpl/gstelement.sgml:
19015 * docs/gst/tmpl/gstplugin.sgml:
19016 * docs/gst/tmpl/gstpluginfeature.sgml:
19017 Documentation updates for registry changes.
19019 2005-09-14 David Schleef <ds@schleef.org>
19021 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19022 because we don't require glib-2.8.
19024 2005-09-14 David Schleef <ds@schleef.org>
19026 * gst/gstregistryxml.c: Added. Essentially moved out of the
19027 registries directory.
19029 2005-09-14 David Schleef <ds@schleef.org>
19031 * check/Makefile.am:
19032 * check/generic/states.c:
19036 * gst/gst_private.h:
19037 * gst/gstelementfactory.c:
19042 * gst/gstpluginfeature.c:
19043 * gst/gstpluginfeature.h:
19044 * gst/gstregistry.c:
19045 * gst/gstregistry.h:
19046 * gst/gstregistrypool.c: remove
19047 * gst/gstregistrypool.h: remove
19048 * gst/gsttypefind.c:
19049 * gst/gsttypefindfactory.c:
19051 * tools/Makefile.am:
19052 * tools/gst-compprep.c:
19053 * tools/gst-inspect.c:
19054 * tools/gst-register.c: remove
19055 * tools/gst-xmlinspect.c:
19056 Registry rewrite. Changes registry from being a file created
19057 by a tool into a simple cache file created automatically by
19058 libgstreamer. Removed gst-register (because it's no longer
19059 needed). Remove registry pools, because we only have one
19060 registry implementation (XML). Fix up other subsystems as
19063 2005-09-13 Michael Smith <msmith@fluendo.com>
19065 * gst/gstconfig.h.in:
19066 Don't Use windows linking attributes for MinGW. Fixes #316157
19068 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19070 * gst/gstutils.c: (set_state_async_thread_func),
19071 (gst_element_set_state_async):
19072 Apparently people think it's better if this function doesn't
19073 try to set the state to whatever state was asked for on the first
19074 call to this function for any object. Seriously.
19076 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19078 * check/gst/gstpipeline.c: (GST_START_TEST):
19079 * docs/gst/gstreamer-sections.txt:
19080 * gst/gstutils.c: (set_state_async_thread_func),
19081 (gst_element_set_state_async):
19083 add a "gst_element_set_state_async" method that
19084 sets the state and starts a thread to make sure the state
19085 change completes as best as it can
19087 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19089 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19090 codify design+behaviour in testsuite after discussion
19092 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19094 * docs/gst/tmpl/gstelement.sgml:
19095 * docs/manual/appendix-quotes.xml:
19097 * gst/gstelement.c: (gst_element_set_state):
19100 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19102 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19103 (gst_base_transform_prepare_output_buf),
19104 (gst_base_transform_handle_buffer):
19105 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19106 (gst_capsfilter_prepare_buf):
19107 Remove the requirement for sub-classes to call the parent
19108 implementation of prepare_output_buffer with a wrapper function.
19110 * gst/gsttaglist.h:
19111 * gst/gsttagsetter.h:
19112 Fix #define wrapper
19114 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19116 * docs/gst/gstreamer-sections.txt:
19119 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19121 * docs/gst/gstreamer-sections.txt:
19122 * docs/gst/tmpl/gstelement.sgml:
19123 * docs/gst/tmpl/gstplugin.sgml:
19124 * gst/gstminiobject.c:
19126 docs now stop throwing warnings
19128 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19130 * docs/gst/gstreamer-sections.txt:
19131 * docs/gst/gstreamer.types:
19132 * docs/gst/tmpl/gstpad.sgml:
19133 * docs/gst/tmpl/gsttypes.sgml:
19134 * gst/base/gstadapter.h:
19135 * gst/base/gstbasesink.h:
19136 * gst/base/gstbasesrc.h:
19142 * gst/gstelement.h:
19144 * gst/gstmessage.h:
19146 * gst/gststructure.c:
19147 * gst/registries/gstlibxmlregistry.h:
19148 various documentation fixes
19150 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19152 * docs/gst/gstreamer-sections.txt:
19153 * docs/gst/tmpl/gstvalue.sgml:
19154 rearrange gstvalue section
19155 * gst/gstutils.c: (gst_element_state_get_name):
19157 * gst/gstvalue.c: (_gst_value_initialize):
19161 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19163 * check/gst-libs/controller.c:
19164 Header include fix.
19165 * gst/base/gstbasetransform.c:
19166 (gst_base_transform_default_prepare_buf),
19167 (gst_base_transform_handle_buffer):
19168 * gst/base/gstbasetransform.h:
19169 Some more basetransform changes and fixes to enable sub-classes
19170 that modify buffer metadata only.
19171 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19172 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19173 (gst_capsfilter_prepare_buf):
19174 If the output pad has fixed allowed caps and input buffers
19175 don't have any, set the fixed caps on outgoing buffers.
19177 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19178 * check/elements/identity.c: (GST_START_TEST):
19179 Make the error a little clearer when the test fails because
19180 identity made a copy of the buffer.
19181 * docs/gst/gstreamer-sections.txt:
19182 New symbols in gstbasetransform.h
19183 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19184 (gst_base_transform_init), (gst_base_transform_transform_size),
19185 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19186 (gst_base_transform_default_prepare_buf),
19187 (gst_base_transform_get_unit_size),
19188 (gst_base_transform_buffer_alloc),
19189 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19190 (gst_base_transform_change_state),
19191 (gst_base_transform_set_passthrough),
19192 (gst_base_transform_set_in_place),
19193 (gst_base_transform_is_in_place):
19194 * gst/base/gstbasetransform.h:
19195 Change BaseTransform to separate in_place operate from same_caps
19196 output. in_place implies that the element can perform the transform
19197 on incoming buffers in-place, even if the caps on the output are
19199 Sub-class elements can now implement special buffer allocation
19200 methods for outgoing buffers if they wish to.
19201 Big documentation addition.
19202 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19203 * gst/elements/gstelements.c:
19204 Changes for basetransform modifications.
19205 * gst/elements/Makefile.am:
19206 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19207 Compile fix. Extra debug output.
19209 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19211 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19213 add tests for valid pad naming
19214 * gst/check/gstcheck.c: (gst_check_log_message_func),
19215 (gst_check_log_critical_func):
19217 remove printing of code, it is fragile when the code contains
19218 % and the line number is enough info
19219 * gst/check/gstcheck.h:
19220 * gst/gstpad.c: (gst_pad_template_new):
19223 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19226 say what CHECK flags we use
19227 * docs/libs/gstreamer-libs.types:
19228 * libs/gst/controller/Makefile.am:
19229 * libs/gst/controller/gst-controller.c:
19230 * libs/gst/controller/gst-controller.h:
19231 * libs/gst/controller/gst-helper.c:
19232 * libs/gst/controller/gst-interpolation.c:
19233 * libs/gst/controller/gstcontroller.c:
19234 * libs/gst/controller/gsthelper.c:
19235 * libs/gst/controller/gstinterpolation.c:
19236 * tools/gst-inspect.c: (print_plugin_info):
19237 we don't use dashes in header names
19239 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19241 * check/Makefile.am:
19242 * check/gst/.cvsignore:
19243 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19244 (gst_pipeline_suite), (main):
19245 adding a test for pipelines and state changes
19246 * gst/gstutils.c: (get_state_func):
19248 * gstreamer.spec.in:
19251 2005-09-08 Michael Smith <msmith@fluendo.com>
19253 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19254 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19255 (gst_file_src_is_seekable), (gst_file_src_get_size),
19256 (gst_file_src_start):
19257 * gst/elements/gstfilesrc.h:
19258 Various fixes for unseekable, unmmapable, and non-normal files, so
19259 that fallback to read() rather than mmap() works.
19260 * gst/gstevent.c: (gst_event_new_newsegment):
19261 Allow newsegment events with segment_start == segment_end, as will
19262 correctly happen if you use filesrc on a zero-size file, for
19265 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19267 * gst/gstplugin.c: (gst_plugin_load_file):
19268 Call g_module_close when we don't load the module
19270 * gst/registries/gstlibxmlregistry.c:
19271 (gst_xml_registry_get_property):
19272 Port leak fix from 0.8
19274 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19276 * docs/gst/gstreamer-docs.sgml:
19277 * docs/gst/tmpl/.cvsignore:
19278 * docs/gst/tmpl/gsttrace.sgml:
19279 * docs/gst/tmpl/gsttrashstack.sgml:
19282 * gst/gstelement.h:
19284 * gst/gstmessage.c:
19285 * gst/gstmessage.h:
19288 * gst/gsttaginterface.c:
19289 * gst/gsttaginterface.h:
19290 * gst/gsttaglist.c:
19291 * gst/gsttaglist.h:
19292 * gst/gsttagsetter.c:
19293 * gst/gsttagsetter.h:
19296 * gst/gsttrashstack.c:
19297 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19298 inlined docs for gsttrace, gsttrashstack
19300 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19303 * gst/elements/gstbufferstore.h:
19304 * gst/elements/gsttypefindelement.c:
19305 * gst/elements/gsttypefindelement.h:
19307 * gst/gsttypefind.c:
19308 * gst/gsttypefind.h:
19309 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19310 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19311 (gst_type_find_factory_dispose),
19312 (gst_type_find_factory_unload_thyself),
19313 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19314 (gst_type_find_factory_get_caps),
19315 (gst_type_find_factory_get_extensions),
19316 (gst_type_find_factory_call_function):
19317 * gst/gsttypefindfactory.h:
19318 * gst/registries/gstlibxmlregistry.c:
19319 * gst/registries/gstxmlregistry.c:
19320 splitted gsttypefind into gsttypefind, gsttypefindfactory
19322 2005-09-07 Andy Wingo <wingo@pobox.com>
19324 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19325 condition whereby the pad's task function is entered before the
19326 pad_mode variable was set.
19328 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19330 * gst/gstpad.c: (gst_pad_alloc_buffer):
19331 Catch misbehaving pad_alloc functions that don't
19332 set up caps and do it for them.
19334 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19336 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19337 test for pipe!=NULL
19338 * docs/gst/tmpl/.cvsignore:
19339 * docs/gst/tmpl/gstmemchunk.sgml:
19340 * docs/gst/tmpl/gstparse.sgml:
19341 * docs/gst/tmpl/gsttaglist.sgml:
19342 * docs/gst/tmpl/gsttagsetter.sgml:
19343 * docs/gst/tmpl/gsttypefind.sgml:
19344 * docs/gst/tmpl/gsttypefindfactory.sgml:
19345 * gst/gstmemchunk.c:
19348 * gst/gsttaginterface.c:
19349 * gst/gsttypefind.c:
19350 * gst/gsttypefind.h:
19353 === release 0.9.2 ===
19355 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19360 releasing 0.9.2, "South"
19362 2005-09-05 Andy Wingo <wingo@pobox.com>
19364 * gst/registries/gstxmlregistry.h:
19365 * gst/registries/gstxmlregistry.c: Um... resurrect...
19367 * gst/registries/gstxmlregistry.h:
19368 * gst/registries/gstxmlregistry.c: and update to newer API.
19369 Incidentally they should be a bit faster now that they don't have
19372 2005-09-05 Andy Wingo <wingo@pobox.com>
19374 * gst/registries/gstxmlregistry.h:
19375 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19376 replaced by the libxml registry a while back
19378 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19380 * docs/gst/tmpl/gstplugin.sgml:
19381 * gst/elements/gstelements.c:
19383 * gst/gstplugin.c: (gst_plugin_register_func),
19384 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19385 (gst_plugin_get_source):
19387 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19388 (gst_xml_registry_save_plugin):
19389 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19390 (gst_xml_registry_save_plugin):
19391 * tools/gst-inspect.c: (print_plugin_info):
19392 add a "source" plugin description field, to represent the source
19393 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19394 will set it to PACKAGE, which is automake's idea of the name of
19395 the source project.
19397 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19402 * docs/Makefile.am:
19403 * docs/faq/Makefile.am:
19404 * docs/gst/tmpl/gstelement.sgml:
19405 * docs/gst/tmpl/gsttypes.sgml:
19406 * docs/htmlinstall.mak:
19407 * docs/manual/Makefile.am:
19408 * docs/pwg/Makefile.am:
19409 reorganize doc build a little
19410 split out docbook and gtk-doc stuff
19411 have two separate --enable's and enable them through autogen
19412 but disable by default in configure (to be similar to other
19414 * gstreamer.spec.in:
19415 clean up docs install
19433 translation updates
19435 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19437 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19440 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19441 (gst_fake_sink_change_state):
19442 Make state change function thread-safe.
19444 * gst/gstpad.c: (gst_pad_alloc_buffer):
19445 Set offset on generic buffer allocated by fallback.
19447 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19449 * docs/gst/gstreamer-sections.txt:
19450 * docs/gst/tmpl/gstelement.sgml:
19452 * libs/gst/controller/gst-controller.c:
19453 (gst_controlled_property_set_interpolation_mode),
19454 (gst_controlled_property_new),
19455 (gst_controller_find_controlled_property):
19456 run the wingo-magic script against the docs
19458 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19460 * docs/gst/gstreamer-docs.sgml:
19461 * docs/gst/gstreamer-sections.txt:
19462 * docs/gst/tmpl/.cvsignore:
19463 * docs/gst/tmpl/gstelementdetails.sgml:
19464 * docs/gst/tmpl/gstelementfactory.sgml:
19467 * gst/gstelementfactory.c:
19468 * gst/gstelementfactory.h:
19469 merged elementdetails docs into elementfactory docs
19472 2005-09-02 Andy Wingo <wingo@pobox.com>
19474 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19475 consider this enum an enum and not a flags.
19477 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19479 * docs/gst/gstreamer-docs.sgml:
19480 * docs/gst/tmpl/.cvsignore:
19481 * docs/gst/tmpl/gstghostpad.sgml:
19482 * docs/gst/tmpl/gstiterator.sgml:
19483 * docs/gst/tmpl/gstmacros.sgml:
19484 * docs/gst/tmpl/gstrealpad.sgml:
19485 * docs/gst/tmpl/gstregistry.sgml:
19486 * docs/gst/tmpl/gstregistrypool.sgml:
19487 * docs/gst/tmpl/gststructure.sgml:
19488 * docs/gst/tmpl/gstsystemclock.sgml:
19489 * docs/gst/tmpl/gsttrace.sgml:
19490 * gst/gstghostpad.c:
19492 * gst/gstmemchunk.c:
19493 * gst/gstmemchunk.h:
19495 * gst/gstregistry.c:
19496 * gst/gstregistrypool.c:
19497 * gst/gststructure.c:
19498 * gst/gstsystemclock.c:
19501 2005-09-02 Andy Wingo <wingo@pobox.com>
19503 * gst/gstelement.h (GstState): Renamed from GstElementState,
19504 changed to be a normal enum instead of flags.
19505 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19506 munged to be GST_STATE_CHANGE_*.
19507 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19508 work with the new state representation.
19509 (GstStateChange): New enumeration of possible state transitions.
19510 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19511 (GstElementClass::change_state): Pass the GstStateChange along as
19512 an argument. Helps language bindings, so they don't have to use
19513 tricky lock-needing macros like GST_STATE_CHANGE ().
19515 * scripts/update-states (file): New script. Run it on a file to
19516 update it for state naming and API changes. Updates files in
19519 * All files updated for the new API.
19521 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19523 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19524 * gst/gstutils.c: (gst_util_set_value_from_string),
19525 (gst_util_set_object_arg):
19526 fix a bunch of unchecked return values
19527 * tools/gst-complete.c: (main):
19528 * gstreamer.spec.in:
19531 2005-09-01 Wim Taymans <wim@fluendo.com>
19533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19534 (gst_base_sink_event), (gst_base_sink_do_sync),
19535 (gst_base_sink_handle_event):
19536 * gst/base/gstbasesink.h:
19537 Handle newsegments more correctly.
19542 * gst/gstevent.c: (gst_event_new_newsegment):
19543 A newsegment cannot have a start_time of -1
19545 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19547 * win32/gstenumtypes.c:
19548 * win32/gstenumtypes.h:
19551 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19553 * libs/gst/controller/gst-controller.c:
19554 (gst_controlled_property_set_interpolation_mode),
19555 (gst_controlled_property_new):
19556 fixed boolean again
19558 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19560 * docs/faq/gst-uninstalled:
19565 * gst/gstutils.c: (gst_element_link_filtered):
19567 add gst_element_link_filtered
19569 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19571 * docs/gst/gstreamer-docs.sgml:
19572 * docs/gst/gstreamer-sections.txt:
19573 * docs/gst/tmpl/.cvsignore:
19574 * docs/gst/tmpl/gsterror.sgml:
19575 * docs/gst/tmpl/gstfilter.sgml:
19576 * docs/gst/tmpl/gsturihandler.sgml:
19577 * docs/gst/tmpl/gsturitype.sgml:
19578 * docs/gst/tmpl/gstutils.sgml:
19579 * docs/gst/tmpl/gstxml.sgml:
19584 * gst/gsturitype.c:
19587 inlined more docs, fixed double id-ref
19589 2005-08-31 Wim Taymans <wim@fluendo.com>
19591 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19592 (gst_base_transform_handle_buffer):
19593 Passthrough elements don't need the caps as they don't care.
19595 2005-08-31 Wim Taymans <wim@fluendo.com>
19597 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19598 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19599 Don't leak refcounts on buffers.
19601 2005-08-31 Wim Taymans <wim@fluendo.com>
19603 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19604 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19605 (gst_base_transform_chain), (gst_base_transform_change_state):
19606 * gst/base/gstbasetransform.h:
19607 Handle the case where we are not negotiated more gracefully.
19609 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19611 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19612 (gst_file_src_map_region):
19613 Set READONLY flag on mmap'ed buffers, otherwise
19614 gst_buffer_make_writable() won't work properly (#314708).
19616 2005-08-31 Wim Taymans <wim@fluendo.com>
19618 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19619 passthrough elements can even do inplace on non writable
19620 buffers (as they don't touch them).
19622 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19624 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19625 (gst_test_mono_source_set_property),
19626 (gst_test_mono_source_class_init), (GST_START_TEST),
19627 (gst_controller_suite):
19628 more tests (hehe I have the most)
19630 describe popping messages whenusing mulltiple sources
19631 * libs/gst/controller/gst-controller.c:
19632 (gst_controlled_property_set_interpolation_mode),
19633 (gst_controlled_property_new):
19634 * libs/gst/controller/gst-controller.h:
19635 * libs/gst/controller/gst-interpolation.c:
19636 implement boolean properties
19638 2005-08-31 Wim Taymans <wim@fluendo.com>
19640 * gst/gstminiobject.c: (gst_mini_object_ref):
19641 Cannot assert that the refcount has to be positive
19642 since a disposed object can be resurrected.
19644 2005-08-31 Wim Taymans <wim@fluendo.com>
19646 * gst/gstpad.c: (gst_pad_init):
19647 Revert change, need to first fix badly behaving
19650 2005-08-30 Wim Taymans <wim@fluendo.com>
19652 * check/elements/fakesrc.c: (setup_fakesrc):
19653 * check/elements/identity.c: (setup_identity):
19654 Activate pads before using them.
19656 2005-08-30 Wim Taymans <wim@fluendo.com>
19658 * gst/base/gstadapter.c: (gst_adapter_flush):
19659 Flushing out 0 bytes is ok for this function.
19661 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19662 no newsegment gives a warning and sets the start/stop to
19665 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19666 (gst_base_transform_set_passthrough):
19669 * gst/gstminiobject.c: (gst_mini_object_ref):
19670 Check refcount here too.
19672 * gst/gstpad.c: (gst_pad_init):
19673 Pads are initially flushing and refusing data.
19675 * gst/gstutils.c: (gst_element_link_pads_filtered):
19676 When adding a capsfilter element make sure it has the
19677 same state as the parent bin.
19679 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19681 * docs/gst/tmpl/.cvsignore:
19682 * docs/gst/tmpl/gstformat.sgml:
19683 * docs/gst/tmpl/gstversion.sgml:
19687 * gst/gstversion.h.in:
19688 more docs and two more inlined
19690 2005-08-30 Wim Taymans <wim@fluendo.com>
19692 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19693 Don't sync to clock.
19695 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19697 * docs/gst/gstreamer-sections.txt:
19698 ultral33t func10ns deserve to appear in the docs actually
19699 * docs/gst/tmpl/.cvsignore:
19700 * docs/gst/tmpl/gstcompat.sgml:
19701 * docs/gst/tmpl/gstconfig.sgml:
19702 * gst/check/gstcheck.c:
19704 * gst/gstconfig.h.in:
19707 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19709 * docs/gst/tmpl/.cvsignore:
19710 * docs/gst/tmpl/gstquery.sgml:
19711 * docs/gst/tmpl/gstutils.sgml:
19714 inlined and extended docs
19716 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19718 * check/gst-libs/controller.c: (GST_START_TEST),
19719 (gst_controller_suite):
19721 * docs/gst/tmpl/gstutils.sgml:
19722 * docs/libs/gstreamer-libs-sections.txt:
19723 * docs/libs/tmpl/gstdataprotocol.sgml:
19725 * examples/controller/audio-example.c: (main):
19726 controller example works now
19729 * tools/gst-inspect.c: (print_element_properties_info):
19730 show param spec flags
19732 2005-08-29 Andy Wingo <wingo@pobox.com>
19734 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19736 2005-08-28 Andy Wingo <wingo@pobox.com>
19738 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19739 as having two arguments instead of just one. Allows superclasses
19740 to access information on subclasses -- see the terrible for() loop
19741 in gtype.c:g_type_create_instance for the reason why. All callers
19744 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19746 * docs/design/part-messages.txt:
19748 * docs/gst/tmpl/.cvsignore:
19749 * docs/gst/tmpl/gstcaps.sgml:
19750 * docs/gst/tmpl/gstclock.sgml:
19756 * gst/gstmessage.c:
19757 added descriptions for bus and message
19758 inline caps and clock docs
19760 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19762 * gst/gstmessage.c:
19763 * gst/gstmessage.h:
19766 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19768 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19771 2005-08-26 Andy Wingo <wingo@pobox.com>
19773 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19774 element_set_state's return val.
19775 (test_2_elements): Add test that's been disabled for months.
19777 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19778 can-activate-pull properties.
19780 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19781 can-activate-pull properties. Implement is_seekable so fakesrc can
19782 operate in pull mode.
19784 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19786 (gst_base_sink_activate, gst_base_sink_activate_pull)
19787 (gst_base_sink_activate_push): Make activation mode choosing work.
19789 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19790 is right. Make pull mode work. Post an eos before pausing in pull
19792 (gst_base_sink_change_state): Pay attention to the core's
19793 change_state() return val.
19795 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19796 has-getrange properties. Cleanups.
19798 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19799 has_getrange and replace with can_activate_pull and
19802 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19803 locking comments. Remove has_loop, has_chain and replace with
19804 can_activate_pull and can_activate_push.
19806 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19809 * examples/Makefile.am:
19810 * examples/metadata/Makefile.am:
19811 * examples/metadata/read-metadata.c: (message_loop),
19812 (have_pad_handler), (make_pipeline), (print_tag), (main):
19813 Add metadata reading example that loops over a list of filenames,
19814 dumping any tags found.
19816 * gst/gstbus.c: (gst_bus_dispose):
19817 * gst/gstelement.c: (gst_element_dispose):
19818 Release a few potentially-held references in dispose.
19820 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19822 * docs/gst/tmpl/gstminiobject.sgml:
19823 do *not* add tmpl/*.sgml files to CVS!
19825 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19827 * libs/gst/bytestream/.cvsignore:
19828 * libs/gst/bytestream/Makefile.am:
19829 * libs/gst/bytestream/adapter.c:
19830 * libs/gst/bytestream/adapter.h:
19831 * libs/gst/bytestream/bytestream.c:
19832 * libs/gst/bytestream/bytestream.h:
19833 * libs/gst/bytestream/filepad.c:
19834 * libs/gst/bytestream/filepad.h:
19835 removing obsolete files
19837 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19839 * docs/gst/gstreamer-docs.sgml:
19840 * docs/libs/gstreamer-libs-docs.sgml:
19841 disabed additional index entries again, as this makes docs-gen just
19842 slow and they aren't useful yet
19843 * docs/libs/gstreamer-libs-sections.txt:
19844 little -section.txt cleanup for libs
19846 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19848 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19849 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19850 fix up some debugging
19851 (gst_base_transform_get_unit_size),
19852 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19853 (gst_base_transform_handle_buffer):
19854 * gst/base/gstbasetransform.h:
19855 handle and store timed NEWSEGMENT events so that subclasses that
19856 calculate time by counting samples have a segment_start time they
19857 need to add to their timestamps - see audioresample
19859 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19862 removed ';' from the end of macro defs
19863 * docs/gst/gstreamer-docs.sgml:
19864 * docs/gst/gstreamer-sections.txt:
19865 * docs/gst/tmpl/.cvsignore:
19867 * gst/gstelement.c: (gst_element_class_init),
19868 (gst_element_set_state), (activate_pads),
19869 (gst_element_save_thyself):
19870 * gst/gstevent.c: (gst_event_new_newsegment):
19872 * gst/gstiterator.c:
19873 * gst/gstiterator.h:
19876 * gst/gstutils.c: (gst_pad_query_convert):
19878 fixed parameter name mismatches between source, header and docs
19879 added some more docs, resolved the last batch of unused elements in
19880 docs (now someone needs to doc them)
19882 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19884 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19885 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19886 don't walk through the plugins backwards. Where is all this
19887 reversed logic coming from ?
19889 2005-08-25 Wim Taymans <wim@fluendo.com>
19891 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19892 (gst_base_transform_transform_size),
19893 (gst_base_transform_configure_caps),
19894 (gst_base_transform_get_unit_size),
19895 (gst_base_transform_buffer_alloc),
19896 (gst_base_transform_change_state):
19897 * gst/base/gstbasetransform.h:
19898 Cache caps unit_size.
19899 Make sure we cannot negotiate up and downstream at the
19902 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19904 * gst/gst.c: (init_pre), (init_post):
19905 register the installed plugin path after the env var
19906 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19907 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19908 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19909 directories, so the tests can prefer uninstalled over installed
19911 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19913 * gst/base/gstbasetransform.h:
19918 2005-08-25 Wim Taymans <wim@fluendo.com>
19920 * gst/gstbin.c: (bin_bus_handler):
19921 Be a bit more conservative about the posted message.
19923 * gst/gstbus.c: (gst_bus_post):
19924 Some cleanups, warn wrong return values.
19926 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19928 * check/gst/gstbin.c: (GST_START_TEST):
19929 * gst/gstbin.c: (bin_bus_handler):
19930 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19931 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19932 (gst_message_new_warning), (gst_message_new_tag),
19933 (gst_message_new_state_changed), (gst_message_new_segment_start),
19934 (gst_message_new_segment_done), (gst_message_new_custom):
19935 * gst/gstmessage.h:
19936 * tools/gst-launch.c: (event_loop):
19937 * tools/gst-md5sum.c: (event_loop):
19938 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19940 2005-08-25 Wim Taymans <wim@fluendo.com>
19942 * check/generic/states.c: (GST_START_TEST):
19943 Cleanup can be done at the end.
19945 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19946 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19947 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19948 Oh boy.. Thanks for finding this, Thomas.
19950 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19952 * docs/gst/gstreamer.types:
19953 added missing types
19955 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19957 * docs/gst/gstreamer-docs.sgml:
19958 * docs/gst/gstreamer-sections.txt:
19959 * docs/gst/tmpl/.cvsignore:
19961 * gst/gstiterator.c:
19963 * gst/registries/gstxmlregistry.h:
19964 added missing classes and symbols (123 more to go)
19965 removed removed symbols from section file
19966 fixed many doc-comments
19968 2005-08-24 Wim Taymans <wim@fluendo.com>
19970 * check/generic/states.c: (GST_START_TEST):
19971 Make sure all tasks are stopped.
19973 * check/gst/gstbin.c: (GST_START_TEST):
19974 Unref after usage for proper valgrinding.
19976 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19977 Really wait for the task to stop before destroying the
19980 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19981 (gst_queue_src_activate_push):
19982 Small cleanups. Don't stop the task when we did not start
19985 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19986 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19987 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19990 Protect the stream lock with the object lock.
19991 Disallow setting the stream lock when running.
19992 Add cleanup_all to wait for the threadpool to finish.
19993 Remove code to autoallocate a mutex if none was provided.
19994 Add _join() to wait for a task to stop.
19995 Protect the thread pool with a global lock.
19997 2005-08-24 Wim Taymans <wim@fluendo.com>
19999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20000 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20001 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20002 * gst/base/gstbasesink.h:
20003 Handle newsegment events correctly.
20004 Drop buffers out of the segment range.
20006 2005-08-22 Andy Wingo <wingo@pobox.com>
20008 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20009 macro, implements an interface and gstimplementsinterface for a
20012 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20014 * check/Makefile.am:
20015 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20016 add a test that does a bunch of state changes on elements
20017 needs some fixing for valgrind
20018 * check/states/sinks.c: (gst_object_suite):
20021 add prototype for gst_caps_is_equal_fixed
20023 * gst/gstregistrypool.c:
20026 2005-08-24 Andy Wingo <wingo@pobox.com>
20028 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20029 convert a negative value. Doesn't make much sense. Mostly this is
20030 here to force callers to ensure -1 maps to -1.
20032 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20034 * docs/pwg/advanced-types.xml:
20035 Well done to Michael for catching my deliberate introduction
20036 of this spelling mistake.
20037 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20038 * gst/gstelement.h:
20039 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20040 unlink pads before removing the element from the bin.
20042 2005-08-24 Andy Wingo <wingo@pobox.com>
20044 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20045 the same thing as GST_DEBUG=*:4.
20046 (parse_debug_level, parse_debug_category): New helper parsers.
20048 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20050 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20051 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20052 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20053 (gst_base_transform_buffer_alloc),
20054 (gst_base_transform_handle_buffer):
20055 use gboolean return values and pointers to size so we can use the
20056 full GST_BUFFER_SIZE range (guint) for buffer sizes
20057 use GstPadDirection for transform_caps
20058 * gst/base/gstbasetransform.h:
20059 rename get_size to get_unit_size since that's what it is
20060 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20061 use GstPadDirection for transform_caps
20062 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20064 cleanup and debugging
20066 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20068 * gst/gstelement.c: (gst_element_class_init),
20069 (gst_element_set_state), (activate_pads),
20070 (gst_element_save_thyself):
20071 * tools/gst-compprep.c: (main):
20072 * tools/gst-inspect.c: (print_element_properties_info):
20073 * tools/gst-xmlinspect.c: (print_element_properties):
20074 Fixed long standing mem-leak
20076 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20078 * check/gst/gstbin.c: (GST_START_TEST):
20079 * gst/gstbin.c: (bin_bus_handler):
20080 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20081 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20082 (gst_message_new_warning), (gst_message_new_tag),
20083 (gst_message_new_state_changed), (gst_message_new_segment_start),
20084 (gst_message_new_segment_done), (gst_message_new_custom):
20085 * gst/gstmessage.h:
20086 * tools/gst-launch.c: (event_loop):
20087 * tools/gst-md5sum.c: (event_loop):
20088 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20089 that applications can sensibly post custom messages with references
20090 to their own objects.
20092 2005-08-24 Andy Wingo <wingo@pobox.com>
20094 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20097 2005-08-24 Wim Taymans <wim@fluendo.com>
20099 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20100 (gst_base_transform_transform_caps),
20101 (gst_base_transform_transform_size),
20102 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20103 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20104 (gst_base_transform_handle_buffer):
20105 * gst/base/gstbasetransform.h:
20106 Many fixes and new features added by Thomas. Can now also do
20107 transforms with variable sizes and a custom fixate_caps function.
20109 2005-08-24 Wim Taymans <wim@fluendo.com>
20111 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20115 Cast to ClockTime before formatting to time.
20120 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20122 * check/gst-libs/controller.c: (GST_START_TEST),
20123 (gst_controller_suite):
20124 * docs/gst/tmpl/gstcaps.sgml:
20125 * docs/gst/tmpl/gstghostpad.sgml:
20126 * docs/gst/tmpl/gstquery.sgml:
20127 * docs/gst/tmpl/gstutils.sgml:
20128 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20129 (gst_object_sink_values), (gst_object_get_value_arrays),
20130 (gst_object_get_value_array):
20131 gracefully handle helper method calls to objects that are not beeing
20132 controlled, added test case for that
20134 2005-08-23 Wim Taymans <wim@fluendo.com>
20136 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20137 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20138 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20139 (gst_event_parse_qos), (gst_event_new_seek),
20140 (gst_event_parse_seek):
20142 Some more debugging output and doc cleanups.
20144 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20145 Fix possible deadlock.
20147 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20149 * docs/gst/gstreamer-docs.sgml:
20150 * docs/gst/gstreamer-sections.txt:
20151 * docs/gst/gstreamer.types:
20152 * docs/gst/tmpl/.cvsignore:
20155 * gst/gstelement.c:
20157 added 100 symbols from gstreamer-unused.txt to the right sections
20158 fixed more broken comments
20159 added GstBus to docs
20161 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20163 * docs/gst/gstreamer-sections.txt:
20164 * docs/gst/tmpl/.cvsignore:
20165 * docs/gst/tmpl/gstbin.sgml:
20166 * docs/gst/tmpl/gstbuffer.sgml:
20167 * gst/base/gstbasesrc.c:
20168 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20171 * tools/gst-launch.1.in:
20172 inlined more doc comments, added missing comments and fixed comments
20175 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20177 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20181 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20183 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20184 * gst/gststructure.h:
20185 add a fixate function for booleans; add a FIXME that these func
20186 names should probably be gst_structure_fixate_*
20188 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20190 * docs/gst/gstreamer-docs.sgml:
20191 * docs/gst/gstreamer-sections.txt:
20193 * gst/gstbin.c: (gst_bin_get_type),
20194 (gst_bin_child_proxy_get_child_by_index),
20195 (gst_bin_child_proxy_get_children_count),
20196 (gst_bin_child_proxy_init):
20197 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20198 (gst_child_proxy_get_child_by_index),
20199 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20200 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20201 (gst_child_proxy_get), (gst_child_proxy_set_property),
20202 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20203 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20204 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20205 * gst/gstchildproxy.h:
20206 * gst/parse/grammar.y:
20207 * tools/gst-inspect.c: (print_interfaces),
20208 (print_element_properties_info), (print_element_info):
20209 ported gstchildproxy over from 0.8
20210 ported gst-inspect fixes and enhancements over from 0.8
20212 2005-08-22 Wim Taymans <wim@fluendo.com>
20214 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20215 (gst_base_transform_handle_buffer):
20216 Also call the transform function if we have ANY caps.
20218 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20221 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20223 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20224 Don't pretend to handle seek events if the source is not seekable
20226 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20229 Remove extra parameter to debug output
20231 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20232 (gst_base_src_do_seek), (gst_base_src_activate_push):
20233 Fix seek event handling.
20235 * gst/gstpipeline.c: (gst_pipeline_change_state):
20236 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20237 (gst_queue_src_activate_push):
20238 Don't start the src pad task on FLUSH_STOP if the pad
20242 2005-08-22 Wim Taymans <wim@fluendo.com>
20244 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20245 Added check for gst_static_caps_get() refcounting.
20247 2005-08-22 Wim Taymans <wim@fluendo.com>
20249 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20250 Make _static_caps_get() refcounting sane.
20252 * gst/gstelement.c: (gst_element_set_state):
20253 Add g_return_val_if_fail() to protect against segfaults.
20255 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20257 * docs/gst/tmpl/gstevent.sgml:
20260 inlined remaining docs, added missing doc comments
20262 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20264 * check/gst/gstbin.c: (GST_START_TEST):
20265 since we don't know when preroll is done, use refcount range
20267 * gst/check/gstcheck.h:
20268 add macro for checking refcount range
20270 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20272 * check/Makefile.am:
20273 clean up environment for when registry gets built versus
20274 when actual tests are run; valgrind seems to not report
20275 leaks if GST_PLUGIN_PATH is set to some specific values
20276 * check/gst/gstbin.c: (GST_START_TEST):
20277 add more refcounting checks; maybe this exposes a
20279 * common/check.mak:
20280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20281 * gst/check/gstcheck.h:
20282 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20283 (gst_bin_change_state):
20284 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20285 add/fix debugging/whitespace
20287 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20289 * check/gst/gstevent.c: (event_probe), (test_event),
20291 Er, don't call gst_bin_watch_for_state_change you idiot.
20293 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20295 * check/Makefile.am:
20296 Use CHECK_CFLAGS and CHECK_LIBS
20297 * check/gst/gstevent.c: (event_probe), (test_event),
20300 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20301 (gst_base_src_start), (gst_base_src_stop),
20302 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20303 (gst_base_src_change_state):
20304 Sprinkle gst_base_src_stop liberally around error paths to fix
20305 problems reusing a source after failed state changes.
20306 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20307 (helper_find_suggest), (gst_type_find_helper):
20308 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20310 * docs/gst/tmpl/gstevent.sgml:
20311 Migrate part of the docs from the SGML file. Wait for ensonic to
20312 tell me how I did it wrong ;)
20313 * tools/gst-typefind.c: (main):
20314 Extra robustness to state changes between files.
20316 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20318 * check/Makefile.am:
20319 don't valgrind the controller test - it's leaking - Stefan, HELP
20320 * gst/check/gstcheck.c: (gst_check_message_error),
20321 (gst_check_chain_func), (gst_check_setup_element),
20322 (gst_check_teardown_element), (gst_check_setup_src_pad),
20323 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20324 (gst_check_teardown_sink_pad):
20325 * gst/check/gstcheck.h:
20326 add a bunch of methods to set up elements, and src and sink pads
20327 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20328 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20331 * gst/gstmessage.c:
20333 whitespace/doc fixes
20335 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20337 * gst/gstelement.h:
20338 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20339 be handled by the application and not always printed as well
20341 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20343 * check/Makefile.am:
20345 * gst/check/gstcheck.c: (gst_check_message_error):
20346 * gst/check/gstcheck.h:
20347 add a fail_unless_equals_int
20348 add fail_unless for error messages
20350 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20352 * check/Makefile.am:
20354 * common/Makefile.am:
20355 * common/check.mak:
20357 factor out some of the common stuff so we can use it
20359 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20361 * check/Makefile.am:
20362 * check/gst/gstiterator.c: (GST_START_TEST):
20363 * check/gst/gstsystemclock.c: (GST_START_TEST),
20364 (gst_systemclock_suite):
20365 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20367 valgrind more tests
20369 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20371 * check/elements/.cvsignore:
20372 * check/elements/gstfakesrc.c:
20373 rename to name of element
20374 * check/elements/identity.c: (chain_func), (event_func),
20375 (setup_identity), (cleanup_identity), (GST_START_TEST),
20376 (identity_suite), (main):
20377 add a test for identity
20378 * check/Makefile.am:
20379 * pkgconfig/Makefile.am:
20380 * pkgconfig/gstreamer-check.pc.in:
20381 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20385 move the check stuff to a library that gets installed
20386 * check/gst-libs/controller.c: (GST_START_TEST):
20387 * check/gst-libs/gdp.c:
20388 * check/gst/gst.c: (GST_START_TEST):
20389 * check/gst/gstbin.c:
20390 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20391 * check/gst/gstbus.c:
20392 * check/gst/gstcaps.c: (GST_START_TEST):
20393 * check/gst/gstelement.c:
20394 * check/gst/gstghostpad.c:
20395 * check/gst/gstiterator.c:
20396 * check/gst/gstmessage.c:
20397 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20398 * check/gst/gstobject.c:
20399 * check/gst/gstpad.c: (GST_START_TEST):
20400 * check/gst/gststructure.c: (GST_START_TEST):
20401 * check/gst/gstsystemclock.c: (GST_START_TEST),
20402 (gst_systemclock_suite):
20403 * check/gst/gsttag.c: (gst_tag_suite):
20404 * check/gst/gstvalue.c:
20405 * check/pipelines/cleanup.c:
20406 * check/pipelines/simple_launch_lines.c:
20407 * check/states/sinks.c:
20408 change include statement
20410 * docs/gst/gstreamer-sections.txt:
20411 * docs/gst/tmpl/gstpad.sgml:
20412 document more pad stuff
20413 * gst/gstminiobject.c: (gst_mini_object_ref),
20414 (gst_mini_object_unref):
20417 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20419 * docs/gst/tmpl/gst.sgml:
20421 eliminate another tmpl file, fix spelling in the long-description
20423 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20425 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20426 (test_event), (timediff), (gstevents_suite):
20427 Should fix build on 64-bit arch's
20429 2005-08-18 Andy Wingo <wingo@pobox.com>
20431 Make sure that when a pipeline goes to PLAYING, that data has
20432 actually hit the sink.
20434 * check/states/sinks.c (test_sink): A sink that doesn't get any
20435 data shouldn't return SUCCESS for going to either PLAYING or
20436 PAUSED. Test also the return values on the way back down.
20438 * gst/gstelement.c (gst_element_set_state): When changing the
20439 state of an element currently changing state asynchronously, go to
20440 lost-state after commiting the pending state. Makes future calls
20441 to get_state continue to return ASYNC.
20443 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20444 ASYNC when going to PLAYING if we still don't have preroll, as can
20445 happen with live sources.
20447 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20449 * docs/pwg/advanced-types.xml:
20450 Hack long paragraph into 2 chunks as a workaround for buggy
20451 jadetex version in sid and breezy that loops infinitely and
20454 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20456 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20457 (test_event), (timediff), (gstevents_suite):
20458 Provide more error margin in clock measurements to allow for
20459 g_get_current_time inaccuracies.
20461 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20463 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20464 (test_event), (timediff), (gstevents_suite):
20465 Fix error message output so I might be able to tell why the
20466 test works here but fails on the build farm.
20468 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20470 * check/Makefile.am:
20471 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20472 (test_event), (timediff), (gstevents_suite), (main):
20475 * docs/design/part-seeking.txt:
20476 Spelling correction
20478 * docs/gst/tmpl/gstevent.sgml:
20479 * docs/gst/tmpl/gstfakesrc.sgml:
20482 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20483 Treat a buffer-without-newsegment the same as a receiving
20484 a newsegment not in time format, and disable syncing to the clock
20487 * gst/gstbus.c: (gst_bus_set_sync_handler):
20488 Assert if anyone tries to replace the existing sync_handler for bus,
20489 as only the owner should be setting it.
20492 Have a fixed set of custom event enums with events identified by
20493 their structure name (as in 0.8), rather than a free-for-all
20494 allowing collisions between enum values from different plugins.
20496 * gst/gstpad.c: (gst_pad_class_init):
20499 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20500 Handle out-of-band downstream events from the sending thread.
20502 2005-08-17 Andy Wingo <wingo@pobox.com>
20504 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20505 play-timeout==0 to mean no timeout at all. In that case, don't
20506 bother with a get_state or a warning, just return directly, even
20509 * gst/base/gstbasetransform.c: Debug changes.
20512 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20513 ensure bins post state change messages. A bit of a hack but I can't
20514 think of a way to avoid it.
20516 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20518 2005-08-16 Andy Wingo <wingo@pobox.com>
20520 * gst/base/gstadapter.h:
20521 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20522 peek() but you own the data. Not terribly efficient atm.
20524 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20526 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20527 (gst_element_found_tags):
20529 Add two utility functions for tag handling.
20531 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20533 * docs/manual/advanced-dataaccess.xml:
20534 * docs/manual/basics-helloworld.xml:
20535 Fix docs to use _bin_add() before _link(), which fixes the examples
20536 with recent core versions (reported by Madhan Raj M
20537 <raj_madan@rediffmail.com>, #313199).
20539 2005-08-16 Wim Taymans <wim@fluendo.com>
20541 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20542 Added subtract checks.
20544 * docs/design/part-events.txt:
20545 Some more docs about newsegment
20547 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20550 * gst/gstcaps.c: (gst_caps_to_string):
20551 Add comments, cleanups.
20553 * gst/gstelement.c: (gst_element_save_thyself):
20556 * gst/gstvalue.c: (gst_value_collect_int_range),
20557 (gst_string_unwrap), (gst_value_union_int_int_range),
20558 (gst_value_union_int_range_int_range),
20559 (gst_value_intersect_int_int_range),
20560 (gst_value_intersect_int_range_int_range),
20561 (gst_value_intersect_double_double_range),
20562 (gst_value_intersect_double_range_double_range),
20563 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20564 (gst_value_subtract_int_range_int),
20565 (gst_value_subtract_double_range_double),
20566 (gst_value_subtract_double_range_double_range),
20567 (gst_value_subtract_from_list), (gst_value_subtract_list),
20568 (gst_value_can_compare), (gst_value_compare_fraction):
20569 Cleanups, add comments, remove unneeded asserts.
20571 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20573 * tools/gst-launch.c: (event_loop):
20574 don't convert NULL structures to strings
20576 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20578 * docs/gst/gstreamer-sections.txt:
20579 made some defines private
20580 * docs/gst/tmpl/gstconfig.sgml:
20581 * docs/gst/tmpl/gstqueue.sgml:
20582 * docs/gst/tmpl/gsttaglist.sgml:
20583 * docs/gst/tmpl/gsttypes.sgml:
20584 * docs/gst/tmpl/gstutils.sgml:
20585 * docs/pwg/appendix-porting.xml:
20586 * gst/base/gstbasesink.h:
20587 * gst/base/gstbasesrc.c:
20588 * gst/base/gstbasesrc.h:
20589 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20590 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20591 * gst/gstelement.c: (gst_element_class_init):
20592 * gst/gstpad.c: (gst_pad_class_init):
20593 * gst/gstqueue.c: (gst_queue_class_init):
20594 * gst/gstxml.c: (gst_xml_class_init):
20595 documented all undocumented signal inline
20596 * libs/gst/controller/gst-controller.h:
20599 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20601 * docs/pwg/appendix-porting.xml:
20602 Document _set_link_function -> _set_setcaps_function.
20604 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20606 * check/Makefile.am:
20607 add a .check target for running the check
20608 * check/gst-libs/controller.c: (GST_START_TEST):
20610 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20611 complete checks for gstbuffer; would be nice if I could get the
20612 gcov stuff to work so I can see if I actually completed gstbuffer.c
20613 * check/gstcheck.h:
20614 add ASSERT_BUFFER_REFCOUNT
20616 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20618 * docs/gst/gstreamer-sections.txt:
20619 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20621 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20622 spew out a warning if a tag that is already registered
20623 is re-registered, unless it is re-registered with a
20624 different type (#308438).
20626 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20628 * docs/pwg/appendix-porting.xml:
20629 * docs/pwg/building-state.xml:
20630 Add some paragraphs about state changes in 0.9 to the PWG
20631 and the porting guide, in particular about the new meaning
20632 of GST_STATE_PAUSED and how to write state change functions
20633 with concurrent access by multiple threads in mind.
20635 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20637 * docs/gst/gstreamer-docs.sgml:
20638 * docs/libs/gstreamer-libs-docs.sgml:
20639 added deprecation and since indexes
20640 * libs/gst/controller/gst-controller.c:
20641 * libs/gst/controller/gst-helper.c:
20645 2005-08-11 Wim Taymans <wim@fluendo.com>
20647 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20648 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20649 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20650 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20651 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20652 (gst_ghost_pad_set_target):
20653 Actually implement (re)setting the target on a ghostpad
20654 as described in the docs.
20656 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20658 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20659 Check whether GST_DEBUG_NO_COLOR environment variable is
20660 set and disable coloured debug output if that is the case.
20662 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20664 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20665 (gst_type_find_helper):
20666 The memory returned by gst_type_find_peek() needs to
20667 stay valid until the end of a typefind function, and
20668 typefind functions may keep results from different
20669 offsets around, so we can't just unref the buffer from
20670 the previous _peek(), but have to save all buffers
20671 returned by _peek() until typefinding is done and only
20674 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20676 * docs/gst/gstreamer-sections.txt:
20678 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20680 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20682 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20683 Fix a pretty good memleak.
20685 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20687 * gst/gstiterator.h:
20688 Fix wrong include and 'make distcheck'.
20690 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20692 * gst/gstbin.c: (bin_bus_handler):
20693 Use gst_element_post_message() instead.
20695 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20697 * gst/base/gstadapter.h:
20698 * gst/base/gstbasesink.h:
20699 * gst/base/gstbasesrc.h:
20700 * gst/base/gstbasetransform.h:
20701 * gst/base/gstcollectpads.h:
20702 * gst/base/gstpushsrc.h:
20703 * gst/gstiterator.h:
20704 Add padding to our base elements' class and instance structs and
20705 to GstIterator (you will need to rebuild all plugins and apps!)
20707 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20709 * gst/gstbin.c: (bin_bus_handler):
20710 Make default message forwarding from child->bus to bin->bus
20711 threadsafe and make it not emit warnings if the parent has no bus.
20713 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20715 * gst/gstelement.c: (activate_pads):
20716 On paused->ready, set pad->caps to NULL, as is the documented
20717 behaviour in this state change. Fixes playback of series of
20718 media files when visualization is enabled in Totem.
20720 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20722 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20723 Allow NULL as filter-caps (which means "any").
20725 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20727 * docs/libs/gstreamer-libs-sections.txt:
20728 * libs/gst/controller/gst-controller.c:
20729 * libs/gst/controller/gst-controller.h:
20730 * libs/gst/controller/gst-helper.c:
20731 adding more entries to the docs and fix small doc-bugs
20733 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20735 * docs/gst/gstreamer-docs.sgml:
20736 * docs/gst/gstreamer-sections.txt:
20737 * docs/gst/gstreamer.types:
20738 * docs/gst/tmpl/gstbasesink.sgml:
20739 * docs/gst/tmpl/gstbasesrc.sgml:
20740 * docs/gst/tmpl/gstbasetransform.sgml:
20741 * docs/gst/tmpl/gstfakesrc.sgml:
20742 * gst/base/gstcollectpads.c:
20743 * gst/base/gstcollectpads.h:
20744 * libs/gst/controller/gst-controller.c:
20745 * libs/gst/controller/gst-controller.h:
20746 * libs/gst/controller/gst-helper.c:
20747 * libs/gst/controller/gst-interpolation.c:
20748 * libs/gst/controller/lib.c:
20749 added long/short desc for controller docs
20750 added collectpads base class docs
20751 added correct includes to base-class docs
20753 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20755 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20756 (gst_test_mono_source_set_property),
20757 (gst_test_mono_source_class_init), (GST_START_TEST),
20758 (gst_controller_suite):
20759 * docs/gst/gstreamer-docs.sgml:
20760 * docs/gst/gstreamer-sections.txt:
20761 * docs/gst/gstreamer.types:
20762 * docs/libs/gstreamer-libs-docs.sgml:
20763 * docs/libs/gstreamer-libs-sections.txt:
20764 * gst/base/gstadapter.c:
20765 * libs/gst/controller/gst-controller.c:
20766 (gst_controlled_property_new), (gst_controlled_property_free),
20767 (gst_controller_new_valist),
20768 (gst_controller_remove_properties_valist),
20769 (gst_controller_sink_values), (_gst_controller_finalize):
20770 * libs/gst/controller/gst-controller.h:
20771 * libs/gst/controller/gst-helper.c:
20772 (gst_object_control_properties), (gst_object_uncontrol_properties),
20773 (gst_object_get_controller), (gst_object_set_controller),
20774 (gst_object_sink_values), (gst_object_get_value_arrays),
20775 (gst_object_get_value_array):
20776 more tests (and fixes) for the controller
20777 more docs for the controller
20778 integrated companies docs for the adapter
20780 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20782 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20783 (GST_START_TEST), (fakesrc_suite):
20784 add tests for sizetype
20786 2005-08-04 Andy Wingo <wingo@pobox.com>
20788 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20789 fixes buffer_alloc proxying among other things.
20791 * gst/base/gstbasetransform.c:
20792 * gst/base/gstbasetransform.h:
20793 Revert patch to gstbasetransform from 7-28 removing
20796 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20797 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20798 Semantics changed, should return not the size of the output buffer
20799 but the byte size of a buffer with a given caps.
20801 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20803 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20804 out) are not the pad caps until setcaps finishes.
20805 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20806 not-in-place case as well. Deal with changing from in-place to
20807 not-in-place within calling pad_alloc_buffer. Still a bit
20808 concerned about the overhead here...
20810 2005-08-03 Andy Wingo <wingo@pobox.com>
20812 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20813 fixating is an error.
20815 2005-08-04 Edward Hervey <edward@fluendo.com>
20817 * gst/base/gstadapter.h:
20818 Added gst_adapter_get_type() to the header
20820 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20822 * check/Makefile.am:
20823 * check/gst-libs/controller.c:
20824 * libs/gst/controller/gst-controller.c:
20825 (gst_controller_new_valist):
20826 added check test suite for the controller
20827 * gst/base/gstpushsrc.c:
20830 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20832 * docs/gst/Makefile.am:
20833 * docs/gst/gstreamer-docs.sgml:
20834 * docs/gst/gstreamer-sections.txt:
20835 * docs/gst/gstreamer.types:
20836 * docs/gst/tmpl/gstfakesrc.sgml:
20838 * gst/base/gstbasesink.c:
20839 * gst/base/gstbasesink.h:
20840 * gst/base/gstbasesrc.c:
20841 * gst/base/gstbasesrc.h:
20842 * gst/base/gstbasetransform.c:
20843 * gst/base/gstpushsrc.c:
20844 * gst/base/gstpushsrc.h:
20845 add short/long description docs to base classes
20846 add pushsrc to the docs
20847 remove consolidated doc fragments
20849 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20852 * docs/libs/Makefile.am:
20853 * docs/libs/gstreamer-libs-docs.sgml:
20854 * docs/libs/gstreamer-libs-sections.txt:
20855 * docs/libs/gstreamer-libs.types:
20856 * examples/Makefile.am:
20857 * examples/controller/.cvsignore:
20858 * examples/controller/Makefile.am:
20859 * examples/controller/audio-example.c: (main):
20860 * libs/gst/Makefile.am:
20861 * libs/gst/controller/.cvsignore:
20862 * libs/gst/controller/Makefile.am:
20863 * libs/gst/controller/gst-controller.c:
20864 (on_object_controlled_property_changed), (gst_timed_value_compare),
20865 (gst_timed_value_find),
20866 (gst_controlled_property_set_interpolation_mode),
20867 (gst_controlled_property_new), (gst_controlled_property_free),
20868 (gst_controller_find_controlled_property),
20869 (gst_controller_new_valist), (gst_controller_new),
20870 (gst_controller_remove_properties_valist),
20871 (gst_controller_remove_properties), (gst_controller_set),
20872 (gst_controller_set_from_list), (gst_controller_unset),
20873 (gst_controller_get), (gst_controller_get_all),
20874 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20875 (gst_controller_get_value_array),
20876 (gst_controller_set_interpolation_mode),
20877 (_gst_controller_finalize), (_gst_controller_init),
20878 (_gst_controller_class_init), (gst_controller_get_type):
20879 * libs/gst/controller/gst-controller.h:
20880 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20881 (g_object_uncontrol_properties), (g_object_get_controller),
20882 (g_object_set_controller), (g_object_sink_values),
20883 (g_object_get_value_arrays), (g_object_get_value_array):
20884 * libs/gst/controller/gst-interpolation.c:
20885 (gst_controlled_property_find_timed_value_node),
20886 (interpolate_none_get), (interpolate_trigger_get),
20887 (interpolate_trigger_get_value_array):
20888 * libs/gst/controller/lib.c: (gst_controller_init):
20889 * pkgconfig/Makefile.am:
20890 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20891 * pkgconfig/gstreamer-control.pc.in:
20892 * testsuite/Makefile.am:
20893 * testsuite/controller/.cvsignore:
20894 * testsuite/controller/Makefile.am:
20895 * testsuite/controller/interpolator.c: (main):
20896 added controller code
20897 removed dparam pc files
20899 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20900 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20901 (gst_collectpads_stop):
20902 Broadcast the condition when shutting down, to make sure we wake all
20903 threads up. Shut down pads on finalize, for safety.
20905 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20906 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20907 (gst_base_transform_handle_buffer),
20908 (gst_base_transform_change_state):
20909 Handle PAUSED->READY->PAUSED transition after negotiation
20911 * gst/gstmessage.c: (gst_message_init):
20912 Extra piece of debug for new messages.
20914 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20917 * docs/gst/tmpl/gstbasesrc.sgml:
20918 * docs/gst/tmpl/gstelement.sgml:
20919 * docs/gst/tmpl/gstevent.sgml:
20920 * docs/gst/tmpl/gstfakesrc.sgml:
20921 * docs/gst/tmpl/gstformat.sgml:
20922 * docs/gst/tmpl/gstghostpad.sgml:
20923 * docs/gst/tmpl/gstpad.sgml:
20924 * docs/gst/tmpl/gstquery.sgml:
20925 * docs/gst/tmpl/gststructure.sgml:
20926 * docs/gst/tmpl/gsttaglist.sgml:
20927 * docs/gst/tmpl/gstvalue.sgml:
20928 * docs/libs/gstreamer-libs-docs.sgml:
20929 * docs/libs/gstreamer-libs-sections.txt:
20930 * docs/libs/gstreamer-libs.types:
20931 * libs/gst/Makefile.am:
20932 * libs/gst/control/.cvsignore:
20933 * libs/gst/control/Makefile.am:
20934 * libs/gst/control/control.c:
20935 * libs/gst/control/control.h:
20936 * libs/gst/control/dparam.c:
20937 * libs/gst/control/dparam.h:
20938 * libs/gst/control/dparam_smooth.c:
20939 * libs/gst/control/dparam_smooth.h:
20940 * libs/gst/control/dparamcommon.h:
20941 * libs/gst/control/dparammanager.c:
20942 * libs/gst/control/dparammanager.h:
20943 * libs/gst/control/dplinearinterp.c:
20944 * libs/gst/control/dplinearinterp.h:
20945 * libs/gst/control/unitconvert.c:
20946 * libs/gst/control/unitconvert.h:
20947 * testsuite/Makefile.am:
20948 * testsuite/dynparams/.cvsignore:
20949 * testsuite/dynparams/Makefile.am:
20950 * testsuite/dynparams/dparamstest.c:
20951 * tools/Makefile.am:
20952 * tools/gst-inspect.c: (print_element_info), (main):
20953 * tools/gst-xmlinspect.c: (print_element_info), (main):
20954 deactivate and remove dparams (libgstcontrol)
20956 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20958 * gst/elements/gsttypefindelement.c:
20959 (gst_type_find_element_have_type), (gst_type_find_element_init),
20960 (stop_typefinding), (gst_type_find_element_handle_event),
20961 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20962 * gst/elements/gsttypefindelement.h:
20963 Set caps on all outgoing buffers, not just the first one.
20965 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20967 * gst/elements/gsttypefindelement.c:
20968 (gst_type_find_element_have_type),
20969 (gst_type_find_element_check_set_buffer_caps),
20970 (gst_type_find_element_init), (stop_typefinding),
20971 (gst_type_find_element_handle_event),
20972 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20973 * gst/elements/gsttypefindelement.h:
20974 Set caps on first outgoing buffer when we've found the type.
20976 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20978 * docs/gst/gstreamer-docs.sgml:
20979 * docs/gst/gstreamer-sections.txt:
20980 * docs/gst/tmpl/gstscheduler.sgml:
20981 * docs/gst/tmpl/gstschedulerfactory.sgml:
20982 Remove some old cruft from docs.
20984 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20987 Fix inline docs for GstPadLinkReturn.
20989 * gst/gststructure.c: (gst_structure_has_name):
20990 * gst/gststructure.h:
20991 * docs/gst/gstreamer-sections.txt:
20992 New API: gst_structure_has_name().
20994 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20997 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20998 and _LARGEFILE_SOURCE in config.h as required. Do not
20999 export those flags in our .pc files any longer (#142209).
21001 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21003 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21004 (gst_file_sink_do_seek), (gst_file_sink_event),
21005 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21006 Redo seek/tell calls with large file support in mind; add some
21007 debugging messages; add log message that tells us when large
21008 file support is unavailable or not enabled for some reason.
21010 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21011 Add log message that tells us when large file support
21012 is unavailable or not enabled for some reason.
21014 2005-07-29 Wim Taymans <wim@fluendo.com>
21016 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21017 Added test for removing an element with ghostpad from a bin.
21018 Fixed test as current implementation does the right thing.
21020 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21021 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21022 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21023 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21024 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21025 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21026 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21027 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21028 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21029 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21030 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21031 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21032 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21033 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21034 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21035 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21036 * gst/gstghostpad.h:
21037 Clean up ghostpads, remove properties for internal stuff.
21040 Prepare for switching targets, not all use cases work yet.
21042 2005-07-29 Wim Taymans <wim@fluendo.com>
21044 * docs/design/part-gstghostpad.txt:
21047 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21048 (gst_bin_remove_func):
21049 Unlinking pads while holding the bin LOCK is not a good
21052 * gst/gstpad.c: (gst_pad_class_init),
21053 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21054 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21055 No prob setting template after creating the pad.
21057 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21059 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21060 (gst_bus_peek), (gst_bus_source_dispatch),
21061 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21062 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21063 gst_bus_poll may be called from other threads. Handle
21064 this nicely by not making poll_data disappear off the
21065 stack once gst_bus_poll returns.
21066 gst_bus_peek now increments the refcount on the returned
21069 2005-07-29 Wim Taymans <wim@fluendo.com>
21071 * docs/design/part-gstghostpad.txt:
21072 Overview of current GhostPad datastructures and use
21073 cases for changing the target.
21075 2005-07-28 Wim Taymans <wim@fluendo.com>
21077 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21078 Added checks for hierarchy consistency whan adding linked
21081 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21082 Added check to test element scheduling without bin/pipeline.
21084 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21085 First add elements to bin, then link.
21087 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21088 (gst_bin_remove_func):
21089 Unlink pads from elements added/removed from bin to maintain
21090 hierarchy consistency.
21092 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21094 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21095 (gst_base_transform_handle_buffer):
21096 * gst/base/gstbasetransform.h:
21097 Remove broken delay_configure (fixes renegotiation of software
21098 scaling pipelines); remove some leftover printf()s.
21100 2005-07-28 Wim Taymans <wim@fluendo.com>
21102 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21103 Added some more tests for wrong hierarchy
21105 * docs/design/part-overview.txt:
21108 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21111 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21112 (gst_element_dispose):
21113 Some more cleanups.
21115 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21116 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21117 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21118 (gst_pad_set_caps), (gst_pad_send_event):
21119 Check for correct hierarchy when linking pads. Moving to
21120 strict requirement for ghostpads when linking elements in
21124 Clean ups. Added WRONG_HIERARCHY return value.
21126 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21128 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21129 Better debug if no transform is possible.
21131 2005-07-27 Wim Taymans <wim@fluendo.com>
21133 * docs/random/wtay/network-transp:
21134 Some old doc I had.
21136 2005-07-27 Wim Taymans <wim@fluendo.com>
21138 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21139 (gst_dp_event_from_packet):
21140 Fix serialization of seek events.
21142 2005-07-27 Wim Taymans <wim@fluendo.com>
21144 * check/gst-libs/gdp.c: (GST_START_TEST):
21145 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21146 Fix compilation and fix event serialization.
21148 2005-07-27 Wim Taymans <wim@fluendo.com>
21151 * docs/design/part-TODO.txt:
21152 * docs/design/part-events.txt:
21155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21156 (gst_base_sink_event), (gst_base_sink_do_sync),
21157 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21158 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21159 (gst_base_src_do_seek), (gst_base_src_event_handler),
21160 (gst_base_src_loop):
21161 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21162 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21163 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21164 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21165 (gst_base_transform_set_passthrough),
21166 (gst_base_transform_is_passthrough):
21167 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21168 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21174 * gst/gstelement.c: (gst_element_seek):
21175 * gst/gstelement.h:
21176 Update gst_element_seek.
21178 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21179 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21180 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21181 (gst_event_new_eos), (gst_event_new_newsegment),
21182 (gst_event_parse_newsegment), (gst_event_new_tag),
21183 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21184 (gst_event_parse_qos), (gst_event_new_seek),
21185 (gst_event_parse_seek), (gst_event_new_navigation):
21187 Make GstEvent use GstStructure. Add parsing code, make sure the
21188 API is sufficiently generic.
21189 Mark possible directions of events and serialization.
21191 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21192 (_gst_message_copy), (gst_message_new_segment_start),
21193 (gst_message_new_segment_done), (gst_message_new_custom),
21194 (gst_message_parse_segment_start),
21195 (gst_message_parse_segment_done):
21198 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21199 (gst_pad_set_caps), (gst_pad_send_event):
21200 Update for new events.
21201 Catch events sent in wrong directions.
21203 * gst/gstqueue.c: (gst_queue_link_src),
21204 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21205 (gst_queue_handle_src_query):
21210 Remove event code from this file.
21212 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21213 (gst_dp_event_from_packet):
21216 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21218 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21219 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21220 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21221 Make debugging actually useful.
21223 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21225 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21226 (gst_pad_fixate_caps):
21227 Implement default fixation once again, so that gst_pad_fixate()
21228 actually does anything at all. This probably needs to be some
21229 sort of a last resort, and use profile-based fixation first, but
21230 since that doesn't exist yet, this is the best we have. Fixes
21231 visualization in Totem.
21233 2005-07-22 Wim Taymans <wim@fluendo.com>
21235 * docs/design/part-events.txt:
21238 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21239 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21240 (gst_base_sink_activate_pull):
21241 Some more comments.
21243 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21244 (gst_fake_src_create):
21245 Fix handoff marshall.
21247 * gst/elements/gstidentity.c: (gst_identity_class_init),
21248 (gst_identity_transform_ip):
21249 We're a real inplace element.
21251 * gst/gstbus.c: (gst_bus_post):
21252 Added some comments.
21254 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21255 * tests/muxing/case1.c: (main):
21256 * tests/sched/dynamic-pipeline.c: (main):
21257 * tests/sched/interrupt1.c: (main):
21258 * tests/sched/interrupt2.c: (main):
21259 * tests/sched/interrupt3.c: (main):
21260 * tests/sched/runxml.c: (main):
21261 * tests/sched/sched-stress.c: (main):
21262 * tests/seeking/seeking1.c: (event_received), (main):
21263 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21265 * tests/threadstate/threadstate3.c: (main):
21266 * tests/threadstate/threadstate4.c: (main):
21267 * tests/threadstate/threadstate5.c: (main):
21270 2005-07-21 Wim Taymans <wim@fluendo.com>
21272 * docs/design/part-seeking.txt:
21273 Some small additions.
21275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21276 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21277 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21278 * gst/base/gstbasesink.h:
21279 discont values are gint64, handle the math correctly.
21281 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21282 Make the basesrc report error if the source pad is not linked.
21284 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21285 (gst_queue_loop), (gst_queue_handle_src_query),
21286 (gst_queue_src_activate_push):
21287 Make queue collect data even if the srcpad is not linked.
21288 Start pushing out data as soon as it is linked.
21290 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21292 Added gst_flow_get_name() to ease error reporting.
21294 2005-07-20 Wim Taymans <wim@fluendo.com>
21296 * gst/gstmessage.c: (gst_message_new_segment_start),
21297 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21298 (gst_message_parse_segment_done):
21299 * gst/gstmessage.h:
21300 Added a bunch of messages for advanced seeking.
21302 * gst/parse/grammar.y:
21303 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21304 (gst_dpman_state_changed):
21305 Fix some new-pad -> pad-added signals
21307 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21309 * docs/manual/appendix-porting.xml:
21310 * docs/pwg/appendix-porting.xml:
21311 Document new-pad/state-change signal renames and the FixedList
21314 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21316 * docs/manual/advanced-autoplugging.xml:
21317 * docs/manual/basics-helloworld.xml:
21318 * docs/manual/basics-pads.xml:
21319 * docs/random/ds/0.9-suggested-changes:
21320 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21321 * gst/gstelement.h:
21325 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21326 (gst_structure_parse_array), (gst_structure_parse_value):
21327 * gst/gstvalue.c: (gst_type_is_fixed),
21328 (gst_value_list_prepend_value), (gst_value_list_append_value),
21329 (gst_value_list_get_size), (gst_value_list_get_value),
21330 (gst_value_transform_array_string), (gst_value_serialize_array),
21331 (gst_value_deserialize_array), (gst_value_intersect_array),
21332 (gst_value_is_fixed), (_gst_value_initialize):
21334 GstElement::new-pad -> pad-added, GstElement::state-change ->
21335 state-changed, GstValueFixedList -> GstValueArray, add format and
21336 flags as their own arguments in gst_element_seek() (should improve
21337 "bindeability"), remove function generators since they don't work
21338 under a whole bunch of compilers (they were deprecated already
21341 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21343 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21344 (_gst_debug_register_funcptr):
21346 Fix illegal cast on some platforms (#309253).
21348 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21350 * gst/gstmessage.c: (gst_message_new_custom):
21351 * gst/gstmessage.h:
21352 Add _new_custom, make _new_application a macro to _new_custom.
21354 2005-07-20 Wim Taymans <wim@fluendo.com>
21356 * gst/base/gstbasesrc.c: (gst_base_src_init),
21357 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21358 * gst/base/gstbasesrc.h:
21359 Add a gboolean to decide when to push out a discont.
21361 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21362 (gst_queue_loop), (gst_queue_handle_src_query),
21363 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21364 (gst_queue_set_property), (gst_queue_get_property):
21367 * tests/threadstate/threadstate1.c: (main):
21368 Make a thread test compile and run... very silly..
21371 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21373 * docs/manual/appendix-porting.xml:
21374 Mention removal of libgstgconf-0.9.la and existence of gconf
21377 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21379 * docs/pwg/advanced-clock.xml:
21380 * docs/pwg/appendix-porting.xml:
21381 * docs/pwg/intro-preface.xml:
21382 * docs/pwg/other-base.xml:
21383 * docs/pwg/other-manager.xml:
21384 * docs/pwg/other-nton.xml:
21385 * docs/pwg/other-ntoone.xml:
21386 * docs/pwg/other-oneton.xml:
21387 * docs/pwg/pwg.xml:
21388 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21389 demuxer), remove n-to-n (was never written), fix some code examples
21390 and links and update the porting section to include all this.
21392 2005-07-19 Wim Taymans <wim@fluendo.com>
21394 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21395 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21396 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21397 (gst_queue_src_activate_push), (gst_queue_change_state),
21398 (gst_queue_get_property):
21400 Propagate GstFlowReturn more intelligently upstream and output
21401 an ERROR/EOS when streaming stopped due to fatal error.
21403 2005-07-19 Wim Taymans <wim@fluendo.com>
21405 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21406 Don't block forever for the state change to complete, the
21407 pipeline already did with a sensible timeout.
21409 2005-07-19 Wim Taymans <wim@fluendo.com>
21411 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21412 Make sure we never call the create function is we
21415 2005-07-19 Andy Wingo <wingo@pobox.com>
21417 * gst/parse/parse.l: Attempt to solve bug #172815.
21419 2005-07-19 Wim Taymans <wim@fluendo.com>
21421 * docs/design/part-clocks.txt:
21422 * docs/design/part-events.txt:
21423 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21424 Small docs updates.
21425 Only update the seeking values when we are not
21428 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21430 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21431 Oops, ignore the result of gst_pad_push_event here.
21433 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21435 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21436 (gst_base_src_activate_push):
21437 Send discont event from the loop function, as pads
21438 aren't activated yet in the activate_push handler.
21440 * gst/gstbin.c: (bin_bus_handler):
21441 Don't leak element name.
21443 2005-07-18 Andy Wingo <wingo@pobox.com>
21445 * configure.ac: Use AS_LIBTOOL_TAGS.
21447 2005-07-18 Wim Taymans <wim@fluendo.com>
21449 * docs/gst/gstreamer.types:
21450 Remove deleted types.
21452 2005-07-18 Wim Taymans <wim@fluendo.com>
21454 * check/elements/gstfakesrc.c: (GST_START_TEST):
21457 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21458 (init_popt_callback):
21460 * gst/gst_private.h:
21461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21462 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21465 * gst/gstconfig.h.in:
21466 * gst/gstelement.c: (gst_element_class_init),
21467 (gst_element_set_base_time), (gst_element_get_base_time),
21468 (iterator_fold_with_resync), (gst_element_change_state),
21469 (gst_element_dispose), (gst_element_get_bus):
21470 * gst/gstelement.h:
21471 * gst/gstelementfactory.h:
21472 * gst/gsterror.c: (_gst_core_errors_init):
21475 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21477 * gst/gstinfo.c: (_gst_debug_init):
21478 * gst/gstmessage.c: (_gst_message_copy):
21479 * gst/gstmessage.h:
21480 * gst/gstminiobject.h:
21483 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21484 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21487 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21488 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21489 (gst_pipeline_get_last_stream_time):
21490 * gst/gstpipeline.h:
21491 * gst/gstpluginfeature.h:
21493 * gst/gstscheduler.c:
21494 * gst/gstscheduler.h:
21495 * gst/gststructure.h:
21496 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21497 (gst_task_finalize), (gst_task_func), (gst_task_create),
21498 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21499 (gst_task_stop), (gst_task_pause):
21501 * gst/gsttypefind.h:
21503 * gst/registries/gstlibxmlregistry.c: (load_feature),
21504 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21505 * gst/registries/gstxmlregistry.c:
21506 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21507 * gst/schedulers/threadscheduler.c:
21508 * libs/gst/control/dparammanager.h:
21509 * tools/gst-inspect.c: (print_element_list),
21510 (print_plugin_features), (print_element_features):
21511 * tools/gst-xmlinspect.c: (print_element_list),
21512 (print_plugin_info), (main):
21513 Removed plugable schedulers.
21514 Removed Scheduler/Manager from elements.
21515 Removed gsttypes.h, rearranged includes.
21516 Removed dependency pad<->element, element<>pipeline, and
21517 various others, fix includes.
21518 implement gst_pad_get_parent() with gst_object_get_parent()
21519 Make GstTask sefcontained.
21520 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21522 Fix endless loop in iterator_fold_with_resync.
21525 2005-07-18 Wim Taymans <wim@fluendo.com>
21531 2005-07-18 Wim Taymans <wim@fluendo.com>
21534 No more cothreads.h
21536 2005-07-18 Wim Taymans <wim@fluendo.com>
21540 Let's remove these.
21542 2005-07-18 Wim Taymans <wim@fluendo.com>
21544 * docs/design/part-dynamic.txt:
21545 * docs/design/part-events.txt:
21546 * docs/design/part-seeking.txt:
21547 Some more docs in the works.
21549 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21550 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21551 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21552 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21553 (gst_base_transform_handle_buffer),
21554 (gst_base_transform_sink_activate_push),
21555 (gst_base_transform_src_activate_pull),
21556 (gst_base_transform_set_passthrough),
21557 (gst_base_transform_is_passthrough):
21560 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21563 * gst/gstevent.c: (gst_event_finalize):
21566 * gst/gstutils.c: (gst_element_unlink),
21567 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21568 (gst_pad_proxy_setcaps):
21570 Add _get_parent_element() to get a pads parent as an element.
21572 2005-07-18 Wim Taymans <wim@fluendo.com>
21574 * check/gst/gstbin.c: (GST_START_TEST):
21577 2005-07-18 Wim Taymans <wim@fluendo.com>
21579 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21580 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21581 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21582 (gst_base_sink_event), (gst_base_sink_do_sync),
21583 (gst_base_sink_chain), (gst_base_sink_loop),
21584 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21585 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21587 Fix logic for returning ASYNC when not prerolled.
21589 2005-07-18 Wim Taymans <wim@fluendo.com>
21591 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21592 Fix nasty refcount bug.
21594 2005-07-16 Philippe Khalaf <burger@speedy.org>
21596 * gst/elements/gstfdsrc.c:
21597 * gst/elements/gstfdsrc.h:
21598 * gst/elements/gstelements.c:
21599 * gst/elements/Makefile.am:
21600 Ported fdsrc to 0.9.
21602 2005-07-16 Wim Taymans <wim@fluendo.com>
21604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21605 (gst_base_sink_do_sync):
21608 2005-07-16 Wim Taymans <wim@fluendo.com>
21610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21611 (gst_base_sink_event), (gst_base_sink_get_times),
21612 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21613 * gst/base/gstbasesink.h:
21614 Store and use discont values when syncing buffers as described
21617 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21618 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21619 (gst_base_src_activate_push):
21620 Push discont event when starting.
21622 * gst/elements/gstidentity.c: (gst_identity_transform):
21625 * gst/gstbin.c: (gst_bin_change_state):
21626 Small cleanups in base_time distribution.
21628 * gst/gstelement.c: (gst_element_set_base_time),
21629 (gst_element_get_base_time), (gst_element_change_state):
21630 * gst/gstelement.h:
21631 Added methods for the base_time of the element.
21634 * gst/gstpipeline.c: (gst_pipeline_send_event),
21635 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21636 (gst_pipeline_get_last_stream_time):
21637 * gst/gstpipeline.h:
21639 Handle seeking as described in design doc, remove stream_time
21641 Cleanups clock and stream_time selection code. Added accessors
21642 for the stream_time.
21645 2005-07-16 Andy Wingo <wingo@pobox.com>
21647 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21650 2005-07-16 Wim Taymans <wim@fluendo.com>
21652 * check/gst/gstbin.c: (GST_START_TEST):
21653 Make elements silent as the deep_notify refs the
21654 parent, which might make the test fail.
21656 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21657 Don't hold the lock for too long.
21659 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21661 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21662 Don't unref the caps we passed to gst_caps_make_writable() after
21663 passing them. gst_caps_make_writable() will do that for us.
21665 2005-07-15 Andy Wingo <wingo@pobox.com>
21667 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21670 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21671 own marshalling function for the handoff signal. Properly type the
21672 buffer as a buffer. Fixes some warnings. Should do a more general
21674 (gst_identity_class_init): Plug into the right marshaller.
21676 2005-07-15 Wim Taymans <wim@fluendo.com>
21678 * docs/design/part-TODO.txt:
21679 * docs/design/part-clocks.txt:
21680 * docs/design/part-element-sink.txt:
21681 * docs/design/part-events.txt:
21682 * docs/design/part-gstpipeline.txt:
21683 Updated docs, mostly DISCONT related.
21685 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21687 * docs/pwg/building-pads.xml:
21688 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21690 2005-07-15 Andy Wingo <wingo@pobox.com>
21692 * tools/gst-typefind.c: Update, add copyright block.
21694 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21695 Normalize and truncate caps before fixation.
21698 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21699 discards all but the first structure from its argument.
21701 2005-07-15 Wim Taymans <wim@fluendo.com>
21703 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21704 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21705 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21706 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21707 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21708 (gst_base_transform_chain), (gst_base_transform_change_state),
21709 (gst_base_transform_set_passthrough),
21710 (gst_base_transform_is_passthrough):
21711 * gst/base/gstbasetransform.h:
21712 Make passthrough work using the bufferpools.
21713 Changed API a bit, subclasses have to write into a buffer
21714 provided by the base class.
21715 More debug info in nego functions.
21717 * gst/elements/gstidentity.c: (gst_identity_init),
21718 (gst_identity_transform):
21719 Port to new base class.
21721 2005-07-15 Wim Taymans <wim@fluendo.com>
21723 * gst/gstmessage.c: (gst_message_new_state_changed):
21724 * tools/gst-launch.c: (event_loop), (main):
21725 Totally dump messages in -launch with the -m option.
21726 Fix message name for State messages,
21728 2005-07-14 Wim Taymans <wim@fluendo.com>
21730 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21731 Post error messages on errors.
21733 2005-07-14 Wim Taymans <wim@fluendo.com>
21735 * gst/gstcaps.c: (gst_caps_do_simplify):
21739 Define error for stream stopped.
21741 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21742 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21743 Do proper return values.
21745 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21746 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21747 (gst_pad_get_range):
21748 Better return values.
21751 Reorganise return values, add macro to check for fatal errors.
21753 * gst/gstqueue.c: (gst_queue_chain):
21754 Return proper GstFlowReturn values,
21756 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21758 * docs/gst/gstreamer-sections.txt:
21759 * docs/gst/gstreamer.types:
21760 * docs/gst/tmpl/gst.sgml:
21761 * docs/gst/tmpl/gstbasesink.sgml:
21762 * docs/gst/tmpl/gstbasesrc.sgml:
21763 * docs/gst/tmpl/gstbasetransform.sgml:
21764 * docs/gst/tmpl/gstbin.sgml:
21765 * docs/gst/tmpl/gstbuffer.sgml:
21766 * docs/gst/tmpl/gstcaps.sgml:
21767 * docs/gst/tmpl/gstclock.sgml:
21768 * docs/gst/tmpl/gstcompat.sgml:
21769 * docs/gst/tmpl/gstconfig.sgml:
21770 * docs/gst/tmpl/gstelement.sgml:
21771 * docs/gst/tmpl/gstelementdetails.sgml:
21772 * docs/gst/tmpl/gstelementfactory.sgml:
21773 * docs/gst/tmpl/gstenumtypes.sgml:
21774 * docs/gst/tmpl/gsterror.sgml:
21775 * docs/gst/tmpl/gstevent.sgml:
21776 * docs/gst/tmpl/gstfakesink.sgml:
21777 * docs/gst/tmpl/gstfakesrc.sgml:
21778 * docs/gst/tmpl/gstfilesink.sgml:
21779 * docs/gst/tmpl/gstfilesrc.sgml:
21780 * docs/gst/tmpl/gstfilter.sgml:
21781 * docs/gst/tmpl/gstformat.sgml:
21782 * docs/gst/tmpl/gstghostpad.sgml:
21783 * docs/gst/tmpl/gstimplementsinterface.sgml:
21784 * docs/gst/tmpl/gstindex.sgml:
21785 * docs/gst/tmpl/gstindexfactory.sgml:
21786 * docs/gst/tmpl/gstinfo.sgml:
21787 * docs/gst/tmpl/gstiterator.sgml:
21788 * docs/gst/tmpl/gstmacros.sgml:
21789 * docs/gst/tmpl/gstmemchunk.sgml:
21790 * docs/gst/tmpl/gstminiobject.sgml:
21791 * docs/gst/tmpl/gstobject.sgml:
21792 * docs/gst/tmpl/gstpad.sgml:
21793 * docs/gst/tmpl/gstpadtemplate.sgml:
21794 * docs/gst/tmpl/gstparse.sgml:
21795 * docs/gst/tmpl/gstpipeline.sgml:
21796 * docs/gst/tmpl/gstplugin.sgml:
21797 * docs/gst/tmpl/gstpluginfeature.sgml:
21798 * docs/gst/tmpl/gstquery.sgml:
21799 * docs/gst/tmpl/gstqueue.sgml:
21800 * docs/gst/tmpl/gstregistry.sgml:
21801 * docs/gst/tmpl/gstregistrypool.sgml:
21802 * docs/gst/tmpl/gstscheduler.sgml:
21803 * docs/gst/tmpl/gstschedulerfactory.sgml:
21804 * docs/gst/tmpl/gststructure.sgml:
21805 * docs/gst/tmpl/gstsystemclock.sgml:
21806 * docs/gst/tmpl/gsttaglist.sgml:
21807 * docs/gst/tmpl/gsttagsetter.sgml:
21808 * docs/gst/tmpl/gsttrace.sgml:
21809 * docs/gst/tmpl/gsttrashstack.sgml:
21810 * docs/gst/tmpl/gsttypefind.sgml:
21811 * docs/gst/tmpl/gsttypefindfactory.sgml:
21812 * docs/gst/tmpl/gsttypes.sgml:
21813 * docs/gst/tmpl/gsturihandler.sgml:
21814 * docs/gst/tmpl/gsturitype.sgml:
21815 * docs/gst/tmpl/gstutils.sgml:
21816 * docs/gst/tmpl/gstvalue.sgml:
21817 * docs/gst/tmpl/gstversion.sgml:
21818 * docs/gst/tmpl/gstxml.sgml:
21819 * docs/libs/tmpl/gstcontrol.sgml:
21820 * docs/libs/tmpl/gstdataprotocol.sgml:
21821 * docs/libs/tmpl/gstdparam.sgml:
21822 * docs/libs/tmpl/gstdplinint.sgml:
21823 * docs/libs/tmpl/gstdpman.sgml:
21824 * docs/libs/tmpl/gstdpsmooth.sgml:
21825 * docs/libs/tmpl/gstgetbits.sgml:
21826 * docs/libs/tmpl/gstunitconvert.sgml:
21827 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21828 (gst_push_src_base_init), (gst_push_src_class_init),
21829 (gst_push_src_init), (gst_push_src_create):
21830 * gst/base/gstpushsrc.h:
21831 * gst/elements/gstelements.c:
21832 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21833 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21834 (gst_fake_sink_init), (gst_fake_sink_set_property),
21835 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21836 (gst_fake_sink_event), (gst_fake_sink_preroll),
21837 (gst_fake_sink_render), (gst_fake_sink_change_state):
21838 * gst/elements/gstfakesink.h:
21839 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21840 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21841 (gst_fake_src_base_init), (gst_fake_src_class_init),
21842 (gst_fake_src_init), (gst_fake_src_event_handler),
21843 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21844 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21845 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21846 (gst_fake_src_create_buffer), (gst_fake_src_create),
21847 (gst_fake_src_start), (gst_fake_src_stop):
21848 * gst/elements/gstfakesrc.h:
21849 * gst/elements/gstfilesink.c: (_do_init),
21850 (gst_file_sink_base_init), (gst_file_sink_class_init),
21851 (gst_file_sink_init), (gst_file_sink_dispose),
21852 (gst_file_sink_set_location), (gst_file_sink_set_property),
21853 (gst_file_sink_get_property), (gst_file_sink_open_file),
21854 (gst_file_sink_close_file), (gst_file_sink_query),
21855 (gst_file_sink_event), (gst_file_sink_render),
21856 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21857 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21858 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21859 * gst/elements/gstfilesink.h:
21860 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21861 (gst_file_src_class_init), (gst_file_src_init),
21862 (gst_file_src_finalize), (gst_file_src_set_location),
21863 (gst_file_src_set_property), (gst_file_src_get_property),
21864 (gst_file_src_map_region), (gst_file_src_map_small_region),
21865 (gst_file_src_create_mmap), (gst_file_src_create_read),
21866 (gst_file_src_create), (gst_file_src_is_seekable),
21867 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21868 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21869 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21870 (gst_file_src_uri_handler_init):
21871 * gst/elements/gstfilesrc.h:
21872 more autistic cleanliness in functions/names/defines
21874 2005-07-13 Andy Wingo <wingo@pobox.com>
21876 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21877 source couldn't negotiate.
21879 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21883 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21884 function. I am channeling Hades. Put your boots on suckers!!!
21886 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21888 * testsuite/caps/Makefile.am:
21889 * testsuite/caps/value_compare.c:
21890 * testsuite/caps/value_intersect.c:
21891 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21892 move two testsuite apps over to the check dir
21894 2005-07-12 Wim Taymans <wim@fluendo.com>
21896 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21897 Added more debug info in the negotiate process.
21899 * gst/gstmessage.h:
21900 Prepare for segment playback.
21902 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21908 * tools/gst-launch.c: (main):
21909 NULL pipeline on errors.
21911 2005-07-12 Andy Wingo <wingo@pobox.com>
21913 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21914 not it comes from a malloc region. Make sure our copy gets freed.
21916 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21918 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21919 * check/gst/gstmessage.c: (GST_START_TEST):
21920 * check/gst/gststructure.c: (GST_START_TEST),
21921 (gst_structure_suite), (main):
21923 * gst/gstelement.c: (gst_element_message_full):
21924 clean up GError and debug string now that they get copied
21925 * gst/gstmessage.c: (gst_message_new_error),
21926 (gst_message_new_warning), (gst_message_parse_error),
21927 (gst_message_parse_warning):
21928 use GST_TYPE_G_ERROR for structure_new, and take copies of
21929 arguments, so that we don't mess up refcounting
21931 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21933 * check/Makefile.am:
21934 add per-test valgrind targets
21935 * check/gst-libs/gdp.c: (GST_START_TEST),
21936 (gst_data_protocol_suite), (main):
21939 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21941 * check/Makefile.am:
21942 instate more valgrindable tests
21943 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21944 (GST_START_TEST), (fakesrc_suite):
21945 * check/gst/gstpad.c: (GST_START_TEST):
21946 * check/gst/gststructure.c: (GST_START_TEST):
21948 * docs/gst/tmpl/gstminiobject.sgml:
21949 * gst/gstpad.c: (gst_pad_finalize):
21950 fix the static mutex leak
21952 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21954 * check/Makefile.am:
21955 add two more tests for valgrinding
21956 * check/gst/gstvalue.c: (GST_START_TEST):
21957 test refcount of deserialized buffer, found a leak
21958 * docs/gst/gstreamer-docs.sgml:
21959 * docs/gst/gstreamer-sections.txt:
21960 * docs/gst/gstreamer.types:
21961 * docs/gst/tmpl/gstminiobject.sgml:
21962 add miniobject to docs
21963 * gst/gstminiobject.c:
21965 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21966 (gst_string_unwrap):
21967 fix a hard-to-find invalid write for one of the tests
21968 fix a leak for deserialized buffers
21970 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21972 * docs/pwg/advanced-events.xml:
21973 * docs/pwg/advanced-request.xml:
21974 * docs/pwg/advanced-scheduling.xml:
21975 * docs/pwg/appendix-porting.xml:
21976 * docs/pwg/building-boiler.xml:
21977 * docs/pwg/intro-preface.xml:
21978 * docs/pwg/other-ntoone.xml:
21979 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21980 of example code and explanation for pad activation, loop() and
21981 getrange() functions and a bit more. Remove old comments pointing
21983 * examples/pwg/Makefile.am:
21984 Add loop/getrange examples.
21986 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21989 check for valgrind binary + some fixes
21991 valgrind suppressions for the tests
21992 * check/Makefile.am:
21993 add a valgrind: target that valgrinds the unit tests
21994 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21995 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21996 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21997 * check/gst/gstghostpad.c:
21999 * check/gst/gstdata.c:
22001 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22002 (thread_unref), (gst_mini_object_suite), (main):
22004 * gst/gst.c: (gst_deinit):
22006 add a method to clean up.
22007 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22008 (gst_system_clock_obtain):
22009 allow for disposing the system clock.
22010 * tools/gst-launch.c: (main):
22013 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22015 * docs/gst/tmpl/gstbasesrc.sgml:
22016 * docs/gst/tmpl/gstfakesrc.sgml:
22017 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22018 (gst_base_src_init), (gst_base_src_set_property),
22019 (gst_base_src_get_property), (gst_base_src_get_range),
22020 (gst_base_src_start):
22021 * gst/base/gstbasesrc.h:
22022 add num-buffers property
22023 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22024 (gst_fakesrc_init), (gst_fakesrc_set_property),
22025 (gst_fakesrc_get_property), (gst_fakesrc_create),
22026 (gst_fakesrc_start):
22027 remove num-buffers property
22029 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22031 * docs/gst/gstreamer-sections.txt:
22032 * docs/gst/tmpl/gstbasesink.sgml:
22033 * docs/gst/tmpl/gstbasesrc.sgml:
22034 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22035 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22036 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22037 (gst_base_sink_set_property), (gst_base_sink_get_property),
22038 (gst_base_sink_handle_object), (gst_base_sink_event),
22039 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22040 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22041 (gst_base_sink_loop), (gst_base_sink_deactivate),
22042 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22043 (gst_base_sink_change_state):
22044 * gst/base/gstbasesink.h:
22045 * gst/base/gstbasesrc.h:
22046 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22047 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22048 (gst_filesink_init):
22049 more macro splitting
22051 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22053 * gst/gstelement.c: (gst_element_get_bus):
22055 * tools/gst-launch.c: (check_intr), (event_loop):
22058 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22060 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22063 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22065 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22066 (gst_base_src_finalize):
22067 add finalize method and clean up properly
22068 * gst/gstpipeline.c: (gst_pipeline_dispose):
22071 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22073 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22075 add more things to check
22076 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22077 * gst/gstelement.c:
22080 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22082 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22083 (GST_START_TEST), (fakesrc_suite):
22084 * check/gst-libs/gdp.c: (GST_START_TEST):
22085 * check/gst/gst.c: (GST_START_TEST):
22086 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22087 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22088 * check/gst/gstbus.c: (GST_START_TEST):
22089 * check/gst/gstcaps.c: (GST_START_TEST):
22090 * check/gst/gstdata.c: (GST_START_TEST):
22091 * check/gst/gstelement.c: (GST_START_TEST):
22092 * check/gst/gstghostpad.c: (GST_START_TEST):
22093 * check/gst/gstiterator.c: (GST_START_TEST):
22094 * check/gst/gstmessage.c: (GST_START_TEST):
22095 * check/gst/gstobject.c: (GST_START_TEST):
22096 * check/gst/gstpad.c: (GST_START_TEST):
22097 * check/gst/gststructure.c: (GST_START_TEST):
22098 * check/gst/gstsystemclock.c: (GST_START_TEST),
22099 (gst_systemclock_suite):
22100 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22101 * check/gst/gstvalue.c: (GST_START_TEST):
22102 * check/pipelines/cleanup.c: (GST_START_TEST):
22103 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22104 * check/states/sinks.c: (GST_START_TEST):
22105 * check/gstcheck.c: (gst_check_init):
22106 * check/gstcheck.h:
22107 add debugging category
22108 use GST_START_TEST now, so we add a debug line
22110 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22112 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22113 add test for state change message on a bin
22114 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22116 * gst/gstbin.c: (gst_bin_init):
22117 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22118 * gst/gstelement.c: (gst_element_post_message),
22119 (gst_element_set_state):
22120 * gst/gstelementfactory.c: (gst_element_factory_create):
22121 * gst/gstmessage.c: (gst_message_new):
22122 * gst/gstscheduler.c:
22123 various debugging additions and cleanups
22125 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22127 * check/Makefile.am:
22128 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22130 adding tests for elements
22131 * gst/gstelement.c: (gst_element_dispose):
22133 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22135 * gst/registries/gstlibxmlregistry.c: (load_feature):
22136 plug more leaks. A simple gst_init() now is leakfree, yay.
22138 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22140 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22141 (gst_xml_registry_load):
22142 plug another memleak
22144 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22147 use GST_SET_ERROR_CFLAGS
22148 * docs/faq/cvs.xml:
22149 change to ERROR_CFLAGS
22151 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22154 make GST_ERROR_CFLAGS overridable and re-enable Werror
22155 * docs/faq/cvs.xml:
22156 add a note about error CFLAGS
22157 * docs/gst/tmpl/gstfakesrc.sgml:
22158 * gst/elements/gstfakesrc.c:
22159 comment out some unused code
22160 * gst/gst.c: (split_and_iterate):
22161 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22165 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22167 * common/Makefile.am:
22168 * common/gtk-doc.mak:
22169 * docs/gst/Makefile.am:
22170 factor out gtk-doc.mak
22172 2005-07-07 Wim Taymans <wim@fluendo.com>
22174 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22175 (gst_thread_scheduler_dispose):
22176 Unlock the STREAM_LOCK completely.
22178 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22180 * check/Makefile.am:
22181 * check/elements/.cvsignore:
22182 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22183 (START_TEST), (fakesrc_suite), (main):
22184 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22185 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22186 (gst_fakesrc_create), (gst_fakesrc_start):
22187 * gst/elements/gstfakesrc.h:
22188 adding a first element test
22190 2005-07-07 Andy Wingo <wingo@pobox.com>
22192 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22195 2005-07-07 Wim Taymans <wim@fluendo.com>
22201 2005-07-07 Wim Taymans <wim@fluendo.com>
22203 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22204 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22205 Allow subclasses to implement their own negotiation.
22207 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22209 * docs/design/part-gstbin.txt:
22210 * docs/design/part-gstpipeline.txt:
22211 Update design notes to reflect the movement of
22212 responsibility for bus handling from GstPipeline to
22215 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22218 Remove unnecessary queue2/3/4 examples.
22220 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22222 * examples/Makefile.am:
22223 * examples/helloworld/helloworld.c: (event_loop), (main):
22224 * examples/queue/queue.c: (event_loop), (main):
22225 * examples/queue2/queue2.c: (main):
22226 Update a couple of the examples to work again.
22228 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22229 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22230 Spelling corrections and extra debug.
22232 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22233 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22234 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22236 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22237 (gst_pipeline_change_state):
22238 * gst/gstpipeline.h:
22239 Move the bus handler for children to the GstBin, and create a
22240 separate bus for receiving messages from children to the one the
22241 bus sends 'upwards' on.
22243 2005-07-06 Wim Taymans <wim@fluendo.com>
22246 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22247 (gst_base_sink_handle_object), (gst_base_sink_loop),
22248 (gst_base_sink_change_state):
22249 * gst/base/gstbasesink.h:
22250 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22251 (gst_base_src_init), (gst_base_src_setcaps),
22252 (gst_base_src_getcaps), (gst_base_src_loop),
22253 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22254 (gst_base_src_start), (gst_base_src_change_state):
22255 * gst/base/gstbasesrc.h:
22256 Make basesrc negotiate.
22257 Handle the case where preroll fails in basesink.
22260 2005-07-06 Wim Taymans <wim@fluendo.com>
22262 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22263 Implement the fixate function.
22264 Clean up acceptcaps.
22266 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22268 * docs/pwg/building-filterfactory.xml:
22269 * docs/pwg/pwg.xml:
22270 Remove never-written filter-factory chapter; I'll add the various
22271 base classes to part 4 ("other element types") later on.
22273 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22275 * docs/pwg/advanced-negotiation.xml:
22276 * docs/pwg/building-boiler.xml:
22277 * docs/pwg/building-pads.xml:
22278 * docs/pwg/pwg.xml:
22279 * examples/pwg/Makefile.am:
22280 Add a chapter on caps negotiation, simplify the original code
22281 samples a bit w.r.t. caps negotiation, add link to the advanced
22282 section. Add a bunch of examples showing different use cases of
22283 different types of caps negotiation. Upstream renegotiation isn't
22284 fully documented yet since nobody knows how that works.
22286 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22288 * check/gst/gstpad.c:
22289 * check/gstcheck.c:
22290 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22291 if pad has no parent, return NULL as list of internal links
22293 2005-07-05 Andy Wingo <wingo@pobox.com>
22295 * gst/elements/gstfilesrc.c:
22296 * gst/elements/gstfakesrc.c:
22297 * gst/base/gstpushsrc.c:
22298 * gst/base/gstbasesrc.h:
22299 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22301 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22304 better report generation target (lcov needs a patch)
22306 2005-07-05 Andy Wingo <wingo@pobox.com>
22308 * gst/elements, testsuite: Null if we got it...
22310 2005-07-05 Wim Taymans <wim@fluendo.com>
22313 * libs/gst/dataprotocol/Makefile.am:
22314 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22315 * libs/gst/dataprotocol/dataprotocol.h:
22316 * pkgconfig/Makefile.am:
22317 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22318 * pkgconfig/gstreamer-dataprotocol.pc.in:
22319 Ported dataprotol to 0.9.
22320 Added pkgconfig files.
22322 2005-07-05 Andy Wingo <wingo@pobox.com>
22324 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22325 Default to returning TRUE for the case when tranform_caps returns
22326 a fixed caps, like for identity or volume.
22328 * check/gst/gstbus.c (pound_bus_with_messages):
22329 * check/gst/gstmessage.c (START_TEST):
22330 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22331 message API change.
22333 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22334 logic weaks here: always run transform_caps, trying passthrough
22335 operation only if the original caps intersects with the transform.
22337 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22338 source and sink caps.
22340 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22341 Intersect the peer caps with the pad template before going into
22343 (gst_base_transform_transform_caps): More debugging.
22345 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22348 2005-07-04 Edward Hervey <edward@fluendo.com>
22352 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22355 2005-07-04 Andy Wingo <wingo@pobox.com>
22357 * check/gst/gstpad.c: Only set explicit caps on pads.
22359 2005-07-01 Andy Wingo <wingo@pobox.com>
22361 * tests/network-clock.scm: Commentary update.
22363 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22364 Didn't really make sense, not implementable with basetransform,
22366 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22367 attempt at implementing the sync property, needs an unlock method.
22369 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22370 New func, by default returns the same caps (the identity
22372 (gst_base_transform_getcaps): Uses transform_caps to return
22373 something sensible.
22374 (gst_base_transform_setcaps): Complicated logic to get caps on
22375 both pads, even if they are different, and to call set_caps once
22376 for every time both pads get their caps set.
22377 (gst_base_transform_handle_buffer): Give the ref to the transform
22378 function. Allows in-place modification of the buffer.
22380 * gst/base/gstbasetransform.h (transform_caps): New class method.
22381 Given caps on one side, what can I do on the other.
22382 (set_caps): Take two caps, one for each side of the element.
22385 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22386 caps in place. This is safe because we can check the mutability of
22387 the caps, and a good idea because fixate functions are just called
22388 as a matter of last resort. (Not actually implemented.)
22389 (gst_pad_set_caps): If the caps we're setting is actually the same
22390 as the existing pad caps, just update the pointer without calling
22391 setcaps. Assert that caps is either NULL or fixed, as per the
22394 * gst/gstghostpad.c: Update for fixate changes.
22396 2005-07-02 Andy Wingo <wingo@pobox.com>
22399 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22400 two refcounts makes it immutable, which is enough. Doc more.
22402 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22404 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22405 Put the mini_object into GValue as a mini_object,
22406 not a gpointer, since that's how we declared
22409 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22411 * examples/pwg/Makefile.am:
22412 Fix buildbot again.
22414 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22416 * docs/pwg/building-testapp.xml:
22418 * examples/pwg/Makefile.am:
22421 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22424 * examples/Makefile.am:
22425 * examples/pwg/Makefile.am:
22426 * examples/pwg/extract.pl:
22427 Enable building the PWG examples.
22428 * docs/pwg/advanced-interfaces.xml:
22429 Add URI interface stub.
22430 * docs/pwg/advanced-types.xml:
22431 * docs/pwg/other-autoplugger.xml:
22432 * docs/pwg/appendix-porting.xml:
22433 * docs/pwg/pwg.xml:
22434 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22435 * docs/pwg/building-boiler.xml:
22436 * docs/pwg/building-chainfn.xml:
22437 * docs/pwg/building-pads.xml:
22438 * docs/pwg/building-props.xml:
22439 * docs/pwg/building-state.xml:
22440 * docs/pwg/building-testapp.xml:
22441 Update the building-*.xml parts for 0.9 changes. All examples
22442 code blocks compile in examples/pwg/*.
22444 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22446 * docs/manual/advanced-autoplugging.xml:
22447 * docs/manual/appendix-checklist.xml:
22448 * docs/manual/appendix-integration.xml:
22449 * docs/manual/highlevel-components.xml:
22450 Fix playbin/decodebin examples, update docs a bit, mention bus
22451 instead of signals in various places, mention kmplayer and
22452 kaffeine since they have a working GStreamer backend in the KDE
22455 2005-06-30 Wim Taymans <wim@fluendo.com>
22458 * docs/design/draft-ghostpads.txt:
22459 * docs/design/draft-push-pull.txt:
22460 * docs/design/draft-query.txt:
22461 * docs/design/part-TODO.txt:
22462 * docs/design/part-query.txt:
22463 Added CHANGES-0.9 doc, updated status of other docs.
22468 2005-06-30 Wim Taymans <wim@fluendo.com>
22470 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22471 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22472 (gst_base_sink_change_state):
22473 * gst/base/gstbasesink.h:
22474 Some tweaks, only EOS and a buffer complete a preroll.
22476 2005-06-30 Andy Wingo <wingo@pobox.com>
22478 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22479 activate_push down to the internal pad as well.
22481 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22483 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22485 * gst/gsttaginterface.c:
22486 Some documentation fixes (#307394 and #307397).
22488 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22490 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22492 * gst/gstvalue.c: (gst_value_intersect_list):
22493 Fix memleak (#309125).
22495 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22497 * docs/manual/advanced-dataaccess.xml:
22498 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22499 * docs/manual/basics-pads.xml:
22500 Add reference for filtered caps to above chapter.
22502 2005-06-30 Wim Taymans <wim@fluendo.com>
22504 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22505 (gst_bin_change_state):
22507 Lame attempt at making the state change function a bit
22510 2005-06-30 Wim Taymans <wim@fluendo.com>
22512 * docs/design/part-clocks.txt:
22513 * docs/design/part-element-sink.txt:
22514 * docs/design/part-events.txt:
22515 * docs/design/part-preroll.txt:
22516 * docs/design/part-states.txt:
22517 Some more tweeks and additions to the docs.
22519 2005-06-30 Wim Taymans <wim@fluendo.com>
22521 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22522 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22523 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22524 (gst_pad_check_pull_range), (gst_pad_get_range),
22525 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22527 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22528 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22529 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22530 (gst_pad_remove_buffer_probe):
22531 Removed atomic operations, use existing LOCK.
22532 Move exception handling out of main code path.
22534 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22536 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22537 (silly_return_true_function), (gst_pad_class_init),
22538 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22539 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22540 (gst_pad_send_event):
22541 Fix accumulator, add default value by using _emitv() instead
22542 of _emit() for signal emission.
22544 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22546 * docs/manual/advanced-dataaccess.xml:
22547 * examples/manual/Makefile.am:
22549 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22552 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22554 * gst/elements/gstfilesink.c: (gst_filesink_render):
22555 Simplify code so that we don't have to handle short
22556 writes and return GST_FLOW_ERROR if an error occured.
22558 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22560 * docs/gst/gstreamer-docs.sgml:
22561 Remove probes more.
22563 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22565 * docs/gst/gstreamer-sections.txt:
22566 * docs/gst/tmpl/gstpad.sgml:
22567 * docs/gst/tmpl/gstprobe.sgml:
22569 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22570 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22571 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22572 (gst_pad_push_event), (gst_pad_send_event):
22574 * gst/gstutils.c: (gst_pad_add_data_probe),
22575 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22576 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22577 (gst_pad_remove_buffer_probe):
22579 Remove old probes, add new g-signal-based probes and some utility
22582 2005-06-29 Edward Hervey <edward@fluendo.com>
22584 * gst/gstelementfactory.c:
22587 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22588 the definition to the header file.
22590 2005-06-29 Andy Wingo <wingo@pobox.com>
22592 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22593 plugins from the source directory.
22595 2005-06-29 Wim Taymans <wim@fluendo.com>
22597 * docs/gst/tmpl/gstbuffer.sgml:
22598 * docs/gst/tmpl/gstclock.sgml:
22599 Some fixings for blantently wrong text.
22601 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22603 * check/Makefile.am:
22604 * gst/gst.c: (add_path_func), (init_pre):
22605 * gst/gstregistry.c: (gst_registry_add_path):
22606 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22607 only scan the GST_PLUGIN_PATH locations, and not add
22610 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22612 * docs/gst/gstreamer-sections.txt:
22613 * docs/gst/tmpl/gstbasesrc.sgml:
22614 * gst/gstelement.c:
22615 * gst/gstelement.h:
22620 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22622 * docs/manual/advanced-autoplugging.xml:
22623 Fix autoplugging example.
22625 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22627 * docs/manual/advanced-autoplugging.xml:
22628 * docs/manual/mime-world.fig:
22629 Try to get autoplugging working, fix type detection. Fix text
22630 in hello-world image.
22632 2005-06-29 Wim Taymans <wim@fluendo.com>
22634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22635 (gst_base_sink_change_state):
22639 map SIGNAL and BROADCAST to the right function.
22642 Remove redundant braces.
22644 * gst/gstpad.c: (gst_pad_set_caps):
22645 Don't call setcaps function when reseting caps to NULL.
22647 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22648 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22649 (gst_system_clock_id_unschedule):
22650 Use BROADCAST as this is what we do.
22652 2005-06-29 Wim Taymans <wim@fluendo.com>
22654 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22655 We are actually prerolling before commiting the state
22658 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22660 * docs/manual/advanced-clocks.xml:
22661 * docs/manual/advanced-interfaces.xml:
22662 * docs/manual/advanced-metadata.xml:
22663 * docs/manual/advanced-position.xml:
22664 * docs/manual/advanced-schedulers.xml:
22665 * docs/manual/advanced-threads.xml:
22666 * docs/manual/appendix-porting.xml:
22667 * docs/manual/basics-bins.xml:
22668 * docs/manual/basics-bus.xml:
22669 * docs/manual/basics-elements.xml:
22670 * docs/manual/basics-helloworld.xml:
22671 * docs/manual/basics-pads.xml:
22672 * docs/manual/highlevel-components.xml:
22673 * docs/manual/manual.xml:
22674 * docs/manual/thread.fig:
22675 Update (until threads/scheduling) Application Development Manual;
22676 remove GstThread, add GstBus, add simple porting checklist, add
22677 documentation for tag writing, clocks, make all examples until this
22678 part compile and run.
22679 * examples/manual/Makefile.am:
22680 Update from changes to Application Development Manual; add bus
22681 example, remove thread example.
22683 2005-06-28 Wim Taymans <wim@fluendo.com>
22685 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22686 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22687 (gst_bus_source_dispatch):
22688 Add debugging messages.
22689 Make internal methods static.
22690 Handle the case where the bus is flushed in the handler.
22692 * gst/gstelement.c: (gst_element_get_bus):
22693 Fix refcount in _get_bus();
22695 * gst/gstpipeline.c: (gst_pipeline_change_state),
22696 (gst_pipeline_get_clock_func):
22697 Clock refcounting fixes.
22698 Handle the case where preroll timed out more gracefully.
22700 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22701 Clean up the internal thread in dispose. This is needed
22702 for subclasses that actually get disposed.
22704 * gst/schedulers/threadscheduler.c:
22705 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22706 (gst_thread_scheduler_dispose):
22707 Free thread pool in dispose.
22709 2005-06-28 Andy Wingo <wingo@pobox.com>
22711 * tests/network-clock-utils.scm (debug, print-event): New utils.
22713 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22714 (*packet-loss*): Unified loss probability.
22715 (network-time): Report out-of-band events.
22717 * tests/plot-data: Add support for out-of-band events. Hack it
22718 into this script instead of passing it down the pipe; should fix
22721 2005-06-28 Wim Taymans <wim@fluendo.com>
22723 * docs/gst/gstreamer.types:
22724 * docs/gst/tmpl/gstbasesrc.sgml:
22725 * docs/gst/tmpl/gstpad.sgml:
22728 2005-06-28 Wim Taymans <wim@fluendo.com>
22730 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22731 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22732 (gst_proxy_pad_do_fixatecaps):
22733 Correctly proxy the check_pull_range function.
22735 2005-06-28 Andy Wingo <wingo@pobox.com>
22737 * tests/network-clock.scm: Removed need for slib.
22739 2005-06-28 Wim Taymans <wim@fluendo.com>
22741 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22742 (gst_basesink_preroll_queue_flush):
22743 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22744 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22745 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22746 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22747 (gst_proxy_pad_set_property):
22750 * gst/gstqueue.c: (gst_queue_init):
22751 The deprecated pad loop function is removed now.
22753 2005-06-28 Andy Wingo <wingo@pobox.com>
22755 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22756 New parameters, simulate network packet loss.
22758 * tests/network-clock-utils.scm: Initialize the RNG.
22760 2005-06-28 Wim Taymans <wim@fluendo.com>
22762 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22763 (gst_basesink_event), (gst_basesink_deactivate):
22764 Flushing the preroll queue always needs to unlock the waiters.
22766 2005-06-28 Edward Hervey <edward@fluendo.com>
22768 * gst/gstpipeline.c: (gst_pipeline_send_event):
22769 Wheen a seek was successful on a pipeline, set the stream_time to the
22770 seek offset in order to have a synchronized stream_time.
22772 2005-06-28 Wim Taymans <wim@fluendo.com>
22774 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22775 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22776 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22777 (gst_proxy_pad_do_fixatecaps):
22778 Call wrapper function instead of just calling the function
22779 pointers. This takes care of any locking and whatmore.
22781 2005-06-28 Wim Taymans <wim@fluendo.com>
22783 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22784 (gst_pad_pull_range):
22786 CONNECTED -> LINKED.
22788 2005-06-28 Andy Wingo <wingo@pobox.com>
22790 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22791 source-munging commit!!!
22793 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22794 (gst_object_sink): Take gpointer arguments, not GstObject --
22795 avoids casts. Like GLib.
22797 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22800 2005-06-27 Andy Wingo <wingo@pobox.com>
22802 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22805 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22806 returns a sorted copy of the trace list.
22807 (gst_alloc_trace_print_live): New API, only prints traces with
22808 live objects. Sort the list.
22809 (gst_alloc_trace_print_all): Sort the list.
22810 (gst_alloc_trace_print): Align columns.
22812 * gst/elements/gstttypefindelement.c:
22813 * gst/elements/gsttee.c:
22814 * gst/base/gstbasesrc.c:
22815 * gst/base/gstbasesink.c:
22816 * gst/base/gstbasetransform.c:
22817 * gst/gstqueue.c: Adapt for pad activation changes.
22819 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22821 (gst_pipeline_dispose): Drop ref on sched.
22823 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22824 (gst_pad_activate_default): Push mode by default.
22825 (pre_activate_switch, post_activate_switch): New stubs, things to
22826 do before and after switching activation modes on pads.
22827 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22828 the pad's activate function to choose which mode to activate.
22829 Shortcut on deactivation and call the right function directly.
22830 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22832 (gst_pad_activate_push): New API, same for push mode.
22833 (gst_pad_set_activate_function)
22834 (gst_pad_set_activatepull_function)
22835 (gst_pad_set_activatepush_function): Setters for new API.
22837 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22838 Trace all miniobjects.
22839 (gst_mini_object_make_writable): Unref the arg if we copy, like
22840 gst_caps_make_writable.
22842 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22844 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22845 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22846 Adapt for new pad API.
22848 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22850 * gst/gstelement.h:
22851 * gst/gstelement.c (gst_element_iterate_src_pads)
22852 (gst_element_iterate_sink_pads): New API functions.
22854 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22855 should fold into gstiterator.c in some form.
22856 (gst_element_pads_activate): Simplified via use of fold and
22857 delegation of decisions to gstpad->activate.
22859 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22862 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22863 class once in init, like gstmessage. Didn't run into this issue
22864 but it seems correct. Don't initialize a trace, gstminiobject does
22867 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22868 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22870 (assert_live_count): New util function, uses alloc traces to check
22873 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22874 To be modified when unlink drops the internal pad.
22876 2005-06-27 Wim Taymans <wim@fluendo.com>
22878 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22879 (gst_bin_change_state):
22880 Cleanup the get_state() function a little, make sure it
22881 iterates the same set of elements.
22882 Added stub iterate_state_order().
22884 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22886 * docs/gst/gstreamer-docs.sgml:
22887 * docs/gst/gstreamer-sections.txt:
22888 * docs/gst/gstreamer.types:
22889 * docs/gst/tmpl/gstbasesink.sgml:
22890 * docs/gst/tmpl/gstbasesrc.sgml:
22891 * docs/gst/tmpl/gstbasetransform.sgml:
22892 * docs/gst/tmpl/gstelement.sgml:
22893 * docs/gst/tmpl/gstiterator.sgml:
22894 * gst/base/gstbasesrc.c:
22895 * gst/base/gstbasesrc.h:
22896 * gst/base/gstbasetransform.h:
22897 * gst/gstelement.c:
22898 * gst/gstiterator.h:
22899 adding basetransform and iterator docs
22901 2005-06-27 Andy Wingo <wingo@pobox.com>
22903 * docs/design/part-activation.txt: Notes on how activation should
22904 work -- not quite implemented yet.
22906 2005-06-25 Wim Taymans <wim@fluendo.com>
22908 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22909 At least get the chain function correct, needs more
22912 2005-06-25 Wim Taymans <wim@fluendo.com>
22914 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22915 (gst_basesink_handle_object), (gst_basesink_event),
22916 (gst_basesink_do_sync), (gst_basesink_handle_event),
22917 (gst_basesink_change_state):
22919 Right, two problems here: ghostpads don't take locks and
22920 glib _rec_mutex_lock_full() with depth==0 still locks.
22921 Catch illegal locking and g_warn them.
22923 2005-06-25 Wim Taymans <wim@fluendo.com>
22925 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22926 Have to check for completion now...
22928 2005-06-25 Wim Taymans <wim@fluendo.com>
22930 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22931 (gst_basesink_handle_object), (gst_basesink_event),
22932 (gst_basesink_do_sync), (gst_basesink_handle_event),
22933 (gst_basesink_change_state):
22935 Unlock STREAM_LOCK whatever the recursion was.
22937 2005-06-25 Wim Taymans <wim@fluendo.com>
22939 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22940 (gst_basesink_preroll_queue_empty),
22941 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22942 (gst_basesink_event), (gst_basesink_do_sync),
22943 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22944 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22945 (gst_basesink_change_state):
22946 Reworked the base sink, handle event and buffer serialisation
22947 correctly and removed possible deadlock.
22948 Handle EOS correctly.
22950 2005-06-25 Wim Taymans <wim@fluendo.com>
22952 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22953 (gst_pipeline_change_state):
22954 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22955 Allow elements to post EOS in the state change function.
22956 Fix up -launch, make it exit the poll loop when the
22957 pipeline actually changed state.
22958 Fix up warning parsing in -launch.
22960 2005-06-25 Wim Taymans <wim@fluendo.com>
22962 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22963 (gst_tee_sink_activate):
22964 Core takes STREAM_LOCK for us now.
22966 2005-06-25 Wim Taymans <wim@fluendo.com>
22968 * gst/gstelement.c: (gst_element_get_state_func),
22969 (gst_element_set_state):
22970 * gst/gstelement.h:
22971 * gst/gstmessage.c: (gst_message_parse_error),
22972 (gst_message_parse_warning):
22973 Keep track of current target state while performing a state
22974 change so that subclasses can do something interesting.
22975 Fix parsing of warning/error messages when GError is NULL.
22977 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22979 * docs/gst/Makefile.am:
22980 * docs/gst/gstreamer-docs.sgml:
22981 * docs/gst/gstreamer-sections.txt:
22982 * docs/gst/gstreamer.types:
22983 * docs/gst/tmpl/gstbasesink.sgml:
22984 * docs/gst/tmpl/gstbasesrc.sgml:
22985 * docs/gst/tmpl/gstbin.sgml:
22986 * docs/gst/tmpl/gstcompat.sgml:
22987 * docs/gst/tmpl/gstfakesink.sgml:
22988 * docs/gst/tmpl/gstfakesrc.sgml:
22989 * docs/gst/tmpl/gstfilesink.sgml:
22990 * docs/gst/tmpl/gstfilesrc.sgml:
22991 * docs/gst/tmpl/gstindex.sgml:
22992 * docs/manual/appendix-quotes.xml:
22993 * gst/base/gstbasesrc.h:
22994 * gst/elements/gstfakesrc.h:
22995 * gst/gstmessage.h:
22996 start pulling in base classes and elements in our docs
22998 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23000 * docs/gst/Makefile.am:
23001 * docs/libs/Makefile.am:
23002 fixed make distcheck with gtk-doc 1.3
23004 2005-06-23 Wim Taymans <wim@fluendo.com>
23006 * gst/gstelement.c: (gst_element_get_state_func),
23007 (gst_element_set_state), (gst_element_change_state):
23008 When the state did not change, also report NO_PREROLL
23011 2005-06-23 Wim Taymans <wim@fluendo.com>
23013 * gst/gstpad.c: (gst_pad_event_default):
23014 * gst/gstqueue.c: (gst_queue_loop):
23015 No unsafe task pausing please.
23017 2005-06-23 Wim Taymans <wim@fluendo.com>
23019 * gst/schedulers/threadscheduler.c:
23020 (gst_thread_scheduler_task_start),
23021 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23022 Ref the task before pushing it on the threadpool. This
23023 makes sure that we have a ref when the threadfunction is
23026 2005-06-23 Andy Wingo <wingo@pobox.com>
23028 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23029 offset is greater than the file's size.
23031 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23032 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23033 * gst/gstobject.c (gst_object_class_init): Make the class lock
23034 recursive. Wim won't let me drop deep_notify. Decodebin works
23035 again, whoopdy doo.
23037 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23038 internal pad, and hacks accordingly. Doesn't do it on the target
23039 pad because we change its caps. Probably catches all cases of
23041 (gst_ghost_pad_set_property): Connect to notify::caps as
23044 * tests/network-clock.scm (plot-simulation): Pipe data to the
23045 elite python skript.
23047 * tests/network-clock-utils.scm (define-parameter): New macro,
23048 defines a parameter that can be set via the command line.
23049 (set-parameter!, parse-parameter-arguments): Command line args
23052 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23055 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23057 * gst/elements/gsttypefindelement.c:
23058 (gst_type_find_element_handle_event):
23059 Don't restart typefinding on a discont.
23060 * gst/gstelement.c: (gst_element_set_state):
23061 Debug spelling fix.
23062 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23063 Allow changing mode of an active pad.
23064 Debug output fixes.
23065 * gst/registries/gstlibxmlregistry.c: (load_feature):
23066 Don't cast a static pad template to a normal pad template.
23068 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23070 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23071 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23072 remove gst_strtoll completely, since it didn't actually do
23073 anything more than what g_ascii_strtoull already does.
23074 check for range errors when deserializing
23075 do a cast for the unsigned cases; but further fixing needs
23076 a decision on what the interpretation of "(int)" and
23077 deserialization should be for values that fall outside the
23078 type's boundaries (ie, refuse, or interpret as casting)
23080 2005-06-23 Wim Taymans <wim@fluendo.com>
23082 * check/Makefile.am:
23083 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23084 * docs/design/part-live-source.txt:
23085 * docs/design/part-states.txt:
23086 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23087 (gst_basesrc_set_live), (gst_basesrc_is_live),
23088 (gst_basesrc_get_range), (gst_basesrc_activate),
23089 (gst_basesrc_change_state):
23090 * gst/base/gstbasesrc.h:
23091 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23092 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23093 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23094 * gst/gstelement.c: (gst_element_get_state_func),
23095 (gst_element_set_state):
23096 * gst/gstelement.h:
23098 * tools/gst-launch.c: (event_loop), (main):
23099 Added support for live sources and other elements that
23101 Updated design docs, added live-source design doc.
23102 Implemented live source functionality in basesrc
23103 Fix error condition in _bin_get_state()
23104 Implement live source handling in -launch.
23105 Added check for live sources.
23106 Fixed case in GstBin where elements were changed state
23110 2005-06-23 Andy Wingo <wingo@pobox.com>
23112 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23113 borken refcounting.
23115 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23116 gst_caps_replace takes care of this for us.
23118 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23119 gst_pad_set_caps on the target, not just its setcaps() function.
23121 * tests/network-clock.scm:
23122 * tests/network-clock-utils.scm: A network clock simulator.
23123 Something of an algorithmic testbed before doing something in C.
23125 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23127 * check/Makefile.am:
23128 * check/gst/capslist.h:
23129 copy over from 0.8, and add two with bitmasks specified with
23131 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23132 add test to parse everything from capslist.h
23133 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23135 add test for structure deserialization
23136 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23137 add tests for deserialization of strings to int types
23138 * gst/gststructure.c: (gst_structure_nth_field_name):
23139 * gst/gststructure.h:
23140 add a way to get the name of a field referenced by index
23141 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23142 instead of checking if the resulting long long lies between
23143 min and max, we check if the long long would fit into
23144 a number of bytes for the final type.
23145 This fixes cases where a string represents 2^32 - 1, which
23146 when cast to int would be the (valid) -1, but is bigger than
23149 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23151 * gst/parse/grammar.y:
23152 add a log line for type deserialization
23154 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23156 * check/gst/gstvalue.c: (START_TEST):
23157 * gst/gstvalue.c: (gst_value_deserialize):
23158 return long long, not int, so gint64 deserialization actually
23159 works. Is there any flag that makes the compiler check this ?
23162 2005-06-22 Wim Taymans <wim@fluendo.com>
23165 Added convenience macros for setting buffers in GValue.
23167 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23169 * check/gst/.cvsignore:
23170 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23171 add a test deserializing int64, and comment part out because
23174 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23176 * check/Makefile.am:
23177 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23178 * testsuite/Makefile.am:
23179 * testsuite/caps/Makefile.am:
23180 * testsuite/caps/value_serialize.c:
23181 * testsuite/test_gst_init.c:
23182 move a value_serialize test over
23184 2005-06-20 Wim Taymans <wim@fluendo.com>
23189 * gst/gstvalue.c: (gst_value_compare_buffer),
23190 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23191 (gst_value_compare_flags), (gst_value_serialize_flags),
23192 (gst_value_deserialize_flags), (_gst_value_initialize):
23193 Fix serialisation of buffers, they are not boxed types anymore
23195 2005-06-20 Wim Taymans <wim@fluendo.com>
23197 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23198 Testcase to show error in buffer-on-caps serialisation.
23200 2005-06-20 Andy Wingo <wingo@pobox.com>
23202 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23203 will be adding to later.
23205 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23206 if its socks fill with rocks.
23207 (gst_system_clock_obtain): Set the name on object construction.
23208 Avoid double-checked locking.
23210 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23212 * gst/gsturi.c: (gst_element_make_from_uri):
23213 Fix potential endless loop.
23215 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23217 * check/Makefile.am:
23219 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23221 move over from testsuite dir and clean up
23224 * testsuite/Makefile.am:
23225 * testsuite/tags/.cvsignore:
23226 * testsuite/tags/Makefile.am:
23227 * testsuite/tags/merge.c:
23228 remove testsuite/tags
23230 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23232 * docs/gst/gstreamer-sections.txt:
23233 * docs/gst/tmpl/gstenumtypes.sgml:
23234 * win32/gstenumtypes.c:
23235 clean up documentation build a little
23237 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23239 * check/gstcheck.h:
23240 add macros for checking refcounts on objects and caps
23241 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23242 add some more unit tests
23243 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23244 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23245 fix leaked refcounts (I hope :)) so unittest works
23249 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23251 * configure.ac: back to HEAD
23253 === release 0.9.1 ===
23255 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23261 2005-06-17 Andy Wingo <wingo@pobox.com>
23263 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23264 assert; it's always possible that the pad gets deactivated in
23265 between the checks in gstpad.c and the implementation. Rely on
23266 finish_preroll() to return a FLUSHING or similar instead of on the
23269 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23270 clock and post an EOS message if we come out of finish_preroll in
23273 2005-06-16 David Schleef <ds@schleef.org>
23275 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23276 (gst_capsfilter_set_property): Allow NULL as possible value
23277 for filter_caps property, indicating GST_CAPS_ANY.
23279 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23281 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23283 * gst/schedulers/Makefile.am:
23285 * gstreamer.spec.in:
23288 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23290 * gstreamer.spec.in:
23293 2005-06-08 Andy Wingo <wingo@pobox.com>
23295 * gst/gstutils.c: RPAD fixes all around.
23296 (gst_element_link_pads): Refcounting fixes.
23298 * tools/gst-inspect.c:
23299 * tools/gst-xmlinspect.c:
23301 * gst/base/gsttypefindhelper.c:
23302 * gst/base/gstbasesink.c:
23303 * gst/gstqueue.c: RPAD fixes.
23305 * gst/gstghostpad.h:
23306 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23307 pads. The tricky thing is they provide both source and sink
23308 interfaces, since they proxy the internal pad for the external
23309 pad, and vice versa. Implement with lower-level ProxyPad objects,
23310 with the interior proxy pad as a child of the exterior ghost pad.
23311 Should write a doc on this.
23313 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23314 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23317 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23318 pads are real pads. No ghost pads in this file. Not documenting
23319 the myriad s/RPAD/PAD/ and REALIZE fixes.
23320 (gst_pad_class_init): Add properties for "direction" and
23321 "template". Both are construct-only, so they can't change during
23322 the life of the pad. Fixes properly deriving from GstPad.
23323 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23324 derived objects, just set properties when creating the objects via
23326 (gst_pad_get_parent): Implement as a function, return NULL if the
23327 parent is not an element.
23328 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23329 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23331 * gst/gstobject.c (gst_object_class_init): Make name a construct
23332 property. Don't set it in the object init.
23334 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23335 with UNKNOWN direction.
23336 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23337 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23338 (gst_element_remove_pad): Remove ghost-pad special cases.
23339 (gst_element_pads_activate): Remove rpad cruft.
23341 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23342 catch the pad's-parent-not-an-element case.
23344 * gst/gst.h: Include gstghostpad.h.
23346 * gst/gst.c (init_post): No more real, ghost pads.
23348 * gst/Makefile.am: Add gstghostpad.[ch].
23350 * check/Makefile.am:
23351 * check/gst/gstbin.c:
23352 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23353 into a bin creates ghost pads, and that the refcounts are right.
23354 Partly moved from gstbin.c.
23356 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23358 * check/gst-libs/.cvsignore:
23359 * check/gst/.cvsignore:
23360 * check/pipelines/.cvsignore:
23362 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23363 (START_TEST), (cleanup_suite), (main):
23364 add some tests related to cleanup after running pipelines
23366 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23368 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23369 add a testsuite for GstBuffer
23371 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23373 * gst/gstminiobject.h:
23374 add defines for accessing the refcount
23376 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23378 * Makefile.am: added support for html unit test coverage reports
23380 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23382 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23383 Free existing caps if the capsfilter changes. Add a FIXME about
23384 setting those caps on the pads.
23386 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23387 Before adding a ghost pad to a parent bin, check that there isn't
23388 already one for the element on the bin. Prevents infinite recursion
23389 when using decodebin in parse pipelines. Andy says he'll rewrite the
23390 way this works anyway, so ignore the hack.
23392 2005-06-02 Andy Wingo <wingo@pobox.com>
23394 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23395 file size, pass it on to the type find helper.
23397 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23398 segment_start and segment_end properly according to the seek
23399 method. Segment_end is still a bit flaky because offset can be
23400 negative for CUR and END cases, but it takes -1 as an "unset"
23403 2005-06-02 Wim Taymans <wim@fluendo.com>
23405 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23406 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23407 (gst_basesink_activate):
23408 * gst/base/gstbasesink.h:
23409 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23410 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23411 (gst_pad_query), (gst_pad_start_task):
23413 * gst/gstqueue.c: (gst_queue_bufferalloc),
23414 (gst_queue_handle_sink_event), (gst_queue_chain):
23415 Bufferalloc: return GstFlowReturn to more accuratly report
23416 why allocation failed.
23418 2005-06-02 Wim Taymans <wim@fluendo.com>
23420 * gst/gstpipeline.c: (gst_pipeline_send_event):
23421 Take snapshot of state without blocking.
23423 2005-06-02 Wim Taymans <wim@fluendo.com>
23425 * docs/design/part-TODO.txt:
23426 * docs/design/part-caps.txt:
23427 * docs/design/part-clocks.txt:
23428 * docs/design/part-negotiation.txt:
23429 * docs/design/part-preroll.txt:
23432 2005-05-30 Wim Taymans <wim@fluendo.com>
23434 * gst/elements/gstidentity.c: (gst_identity_event),
23435 (gst_identity_transform), (gst_identity_get_property):
23436 Protect last_message property as it is accessed from
23439 2005-05-30 Wim Taymans <wim@fluendo.com>
23441 * gst/gstelement.c: (gst_element_init),
23442 (gst_element_pads_activate), (gst_element_change_state):
23443 Slicker pad activation code.
23445 2005-05-30 Wim Taymans <wim@fluendo.com>
23448 * gst/gstelement.h:
23449 * gst/gstelementfactory.h:
23451 Move elementfactory methods to separate .h file.
23453 2005-05-30 Wim Taymans <wim@fluendo.com>
23455 * docs/design/part-overview.txt:
23456 * gst/gstsystemclock.h:
23457 Small typo fixes, doc updates.
23459 2005-05-30 Wim Taymans <wim@fluendo.com>
23461 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23462 (init_popt_callback):
23463 Remove cpu-opt flag.
23465 2005-05-30 Wim Taymans <wim@fluendo.com>
23467 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23468 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23470 Avoid typechecking in places where not needed.
23471 Added accessor for malloc_data.
23473 2005-05-30 Wim Taymans <wim@fluendo.com>
23475 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23476 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23477 (gst_pad_configure_sink), (gst_pad_configure_src),
23478 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23479 (gst_pad_start_task):
23480 Propagate errors from _set_caps() in configure_src/sink
23481 functions instead of returning TRUE.
23482 FLUSH events can travel up and downstream
23485 2005-05-30 Wim Taymans <wim@fluendo.com>
23487 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23488 (gst_basesink_activate):
23489 Handle EOS in preroll.
23491 2005-05-30 Wim Taymans <wim@fluendo.com>
23493 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23494 (gst_queue_loop), (gst_queue_handle_src_event):
23495 Remove old pieces of code
23496 Flushing the queue in an upstream event is a very bad idea.
23498 2005-05-26 Andy Wingo <wingo@pobox.com>
23500 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23501 gst_value_set_mini_object so as to add a ref on the object (which
23502 will be removed when the value is unset).
23504 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23505 arg type in ::handoff.
23507 * gst/gstelement.c (gst_element_change_state): Also deactivate
23508 pads in READY->NULL, just in case the element didn't make it to
23509 PAUSED. Wingo tested, Wim approved.
23511 2005-05-26 Wim Taymans <wim@fluendo.com>
23513 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23514 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23515 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23516 A flushing pad cannot be used to alloc_buffer from.
23518 2005-05-26 Wim Taymans <wim@fluendo.com>
23520 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23521 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23522 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23523 (gst_bus_create_watch), (gst_bus_add_watch_full):
23525 Implement a real GSource and use g_main_context_wakeup() to
23526 signal new messages instead of the socketpair.
23528 2005-05-25 Wim Taymans <wim@fluendo.com>
23530 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23531 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23532 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23533 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23534 (gst_pad_send_event), (gst_pad_start_task):
23535 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23536 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23537 (gst_queue_sink_activate), (gst_queue_src_activate),
23538 (gst_queue_change_state):
23540 Fix state changes for non sinks. We now change sinks, then elements
23541 with unconnected srcpads, then the rest.
23542 More efficient queue unlocking in flush and state changes.
23543 Set the pad activate mode even if it does not have an activate
23546 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23548 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23549 Don't go in pull mode for non-seekable sources.
23550 * gst/elements/gsttypefindelement.h:
23551 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23552 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23553 (free_entry), (stop_typefinding),
23554 (gst_type_find_element_handle_event), (find_peek),
23555 (gst_type_find_element_chain), (do_pull_typefind),
23556 (gst_type_find_element_change_state):
23557 Allow typefinding (w/o seeking) in push-mode, simplified version
23558 of what was in 0.8.
23559 * gst/gstutils.c: (gst_buffer_join):
23561 gst_buffer_join() from 0.8.
23563 2005-05-25 Wim Taymans <wim@fluendo.com>
23565 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23566 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23567 (gst_pad_send_event), (gst_pad_start_task):
23568 Disable attempt at mode switching until it is figured out.
23570 2005-05-25 Wim Taymans <wim@fluendo.com>
23572 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23573 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23574 (gst_basesink_finish_preroll), (gst_basesink_chain),
23575 (gst_basesink_loop), (gst_basesink_activate),
23576 (gst_basesink_change_state):
23577 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23578 (gst_basesrc_get_range), (gst_basesrc_loop),
23579 (gst_basesrc_activate):
23580 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23581 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23582 (gst_real_pad_init), (gst_real_pad_set_property),
23583 (gst_real_pad_get_property), (gst_pad_set_active),
23584 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23585 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23586 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23587 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23588 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23589 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23590 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23591 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23592 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23593 (gst_pad_stop_task):
23595 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23596 (gst_queue_loop), (gst_queue_src_activate):
23597 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23598 (gst_task_get_state):
23600 * gst/schedulers/threadscheduler.c:
23601 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23602 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23604 Remove ACTIVE pad flag, use FLUSHING everywhere
23605 Added _pad_chain(), _pad_get_range() to call chain/getrange
23607 Add locks around IS_FLUSHING when reading.
23608 Take STREAM lock in chain(), get_range() functions so plugins
23609 don't need to take it anymore.
23613 2005-05-25 Wim Taymans <wim@fluendo.com>
23615 * tools/gst-launch.c: (event_loop):
23616 Unref message after using its contents instead of
23619 2005-05-24 Wim Taymans <wim@fluendo.com>
23621 * docs/design/draft-ghostpads.txt:
23622 * docs/design/draft-push-pull.txt:
23623 * docs/design/draft-query.txt:
23624 * docs/design/part-overview.txt:
23625 Docs updates, added general overview doc.
23627 2005-05-21 David Schleef <ds@schleef.org>
23629 * docs/gst/tmpl/old/GstBin.sgml:
23630 * docs/gst/tmpl/old/GstBuffer.sgml:
23631 * docs/gst/tmpl/old/GstCaps.sgml:
23632 * docs/gst/tmpl/old/GstClock.sgml:
23633 * docs/gst/tmpl/old/GstCompat.sgml:
23634 * docs/gst/tmpl/old/GstData.sgml:
23635 * docs/gst/tmpl/old/GstElement.sgml:
23636 * docs/gst/tmpl/old/GstEvent.sgml:
23637 * docs/gst/tmpl/old/GstIndex.sgml:
23638 * docs/gst/tmpl/old/GstStructure.sgml:
23639 * docs/gst/tmpl/old/GstTag.sgml:
23640 * docs/gst/tmpl/old/cothreads.sgml:
23641 * docs/gst/tmpl/old/cothreads_compat.sgml:
23642 * docs/gst/tmpl/old/gettext.sgml:
23643 * docs/gst/tmpl/old/gobject2gtk.sgml:
23644 * docs/gst/tmpl/old/grammar.tab.sgml:
23645 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23646 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23647 * docs/gst/tmpl/old/gst_private.sgml:
23648 * docs/gst/tmpl/old/gstaggregator.sgml:
23649 * docs/gst/tmpl/old/gstarch.sgml:
23650 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23651 * docs/gst/tmpl/old/gstbufferstore.sgml:
23652 * docs/gst/tmpl/old/gstdata_private.sgml:
23653 * docs/gst/tmpl/old/gstdisksink.sgml:
23654 * docs/gst/tmpl/old/gstdisksrc.sgml:
23655 * docs/gst/tmpl/old/gstelementfactory.sgml:
23656 * docs/gst/tmpl/old/gstextratypes.sgml:
23657 * docs/gst/tmpl/old/gstfakesink.sgml:
23658 * docs/gst/tmpl/old/gstfakesrc.sgml:
23659 * docs/gst/tmpl/old/gstfdsink.sgml:
23660 * docs/gst/tmpl/old/gstfdsrc.sgml:
23661 * docs/gst/tmpl/old/gstfilesink.sgml:
23662 * docs/gst/tmpl/old/gstfilesrc.sgml:
23663 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23664 * docs/gst/tmpl/old/gstidentity.sgml:
23665 * docs/gst/tmpl/old/gstindexfactory.sgml:
23666 * docs/gst/tmpl/old/gstmarshal.sgml:
23667 * docs/gst/tmpl/old/gstmd5sink.sgml:
23668 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23669 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23670 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23671 * docs/gst/tmpl/old/gstpipefilter.sgml:
23672 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23673 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23674 * docs/gst/tmpl/old/gstshaper.sgml:
23675 * docs/gst/tmpl/old/gstspider.sgml:
23676 * docs/gst/tmpl/old/gstspideridentity.sgml:
23677 * docs/gst/tmpl/old/gststatistics.sgml:
23678 * docs/gst/tmpl/old/gsttee.sgml:
23679 * docs/gst/tmpl/old/gsttimecache.sgml:
23680 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23681 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23682 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23683 * docs/gst/tmpl/old/types.sgml:
23684 I didn't intend to add these or check them in.
23686 2005-05-19 David Schleef <ds@schleef.org>
23688 * configure.ac: Use -no-common everywhere. In a sane world, it
23689 would be the default in libtool, because without it, you can't
23690 build DLLs on Windows.
23691 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23692 * docs/gst/gstreamer-sections.txt:
23693 * docs/gst/tmpl/gstcpu.sgml:
23694 * docs/gst/tmpl/gstdata.sgml:
23695 * docs/gst/tmpl/gstthread.sgml:
23697 2005-05-19 David Schleef <ds@schleef.org>
23699 * gst/gstminiobject.c: (gst_value_set_mini_object),
23700 (gst_value_take_mini_object), (gst_value_get_mini_object):
23701 * gst/gstminiobject.h: Add GValue set/get functions.
23703 2005-05-19 Wim Taymans <wim@fluendo.com>
23705 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23706 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23707 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23709 * gst/gstbus.c: (gst_bus_post):
23710 * gst/gstelement.c: (gst_element_get_random_pad):
23711 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23712 Make subbufer unref the parent in finalize.
23713 some more debugging info.
23716 2005-05-19 Wim Taymans <wim@fluendo.com>
23718 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23719 (gst_basesink_init), (gst_basesink_finalize),
23720 (gst_basesink_activate), (gst_basesink_change_state):
23721 Don't free preroll queue too early.
23723 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23727 Hi, I'm outdated. Please shoot me.
23729 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23731 * gst/gstpipeline.c: (gst_pipeline_send_event):
23732 Do not access variables after they have been deleted.
23734 2005-05-19 Wim Taymans <wim@fluendo.com>
23736 * tools/gst-inspect.c: (print_plugin_features):
23737 A plugin feature does unfortunatly not use the
23740 2005-05-18 Wim Taymans <wim@fluendo.com>
23742 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23743 Port _span() functions to new subbuffers.
23745 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23747 * gst/gstbin.c: (gst_bin_add_func):
23748 Fix clock settery in bins when adding kids after the clock has
23751 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23753 * gst/elements/gstidentity.c: (gst_identity_class_init):
23754 Workaround until signals support GstMiniObject.
23756 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23759 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23761 2005-05-18 Wim Taymans <wim@fluendo.com>
23763 * gst/base/Makefile.am:
23764 * gst/base/gstadapter.c: (gst_adapter_base_init),
23765 (gst_adapter_class_init), (gst_adapter_init),
23766 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23767 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23768 (gst_adapter_flush), (gst_adapter_available),
23769 (gst_adapter_available_fast):
23770 * gst/base/gstadapter.h:
23771 Ported and added adapter to the base classes.
23773 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23776 * gst/gstmessage.c:
23777 Make sure the class is reffed/unreffed once before threads can be
23778 used. Fixes #304551.
23780 2005-05-17 Wim Taymans <wim@fluendo.com>
23782 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23783 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23784 * gst/gstminiobject.c: (gst_mini_object_get_type),
23785 (gst_mini_object_free):
23786 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23787 (gst_pad_push), (gst_pad_push_event):
23788 * gst/gstqueue.c: (gst_queue_change_state):
23789 Don't queue buffers in basesink when we are flushing.
23790 Unref buffer when flushing in basesink.
23791 Flush queue when going to READY
23792 Unref buffer when _push() returns an error.
23793 Don't free MiniObject instance when refcount is incremented
23794 in _finalize() so that we can recover objects.
23796 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23798 * docs/manual/advanced-schedulers.xml:
23799 * docs/manual/appendix-checklist.xml:
23800 * docs/pwg/advanced-clock.xml:
23801 * docs/pwg/advanced-interfaces.xml:
23802 * docs/pwg/advanced-request.xml:
23803 * docs/pwg/advanced-types.xml:
23804 * docs/pwg/intro-preface.xml:
23805 * examples/plugins/example.c: (gst_example_get_type),
23806 (gst_example_class_init), (gst_example_chain),
23807 (gst_example_set_property), (gst_example_get_property),
23808 (gst_example_change_state), (plugin_init):
23809 * examples/plugins/example.h:
23812 2005-05-17 Wim Taymans <wim@fluendo.com>
23814 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23815 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23816 * gst/gstqueue.c: (gst_queue_change_state):
23817 Clear queue when going to READY.
23818 Remove IN_SETCAPS flag too.
23820 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23822 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23823 Remove implicit cast from gboolean to GstElementStateReturn;
23824 make sure we still return failure in paused => ready case if
23825 the parent class fails to change state and our own stop
23828 2005-05-17 Wim Taymans <wim@fluendo.com>
23830 * tools/gst-launch.c: (event_loop):
23831 Message was unreffed too soon.
23833 2005-05-16 Andy Wingo <wingo@pobox.com>
23835 * gst/gstbin.c (sink_iterator_filter): Err... um...
23837 * check/gst/gstbin.c (test_ghost_pads): New test for the
23838 ghosting-if-elements-not-in-same-bin behavior.
23840 2005-05-16 David Schleef <ds@schleef.org>
23842 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23843 accessing refcount directly.
23845 2005-05-15 David Schleef <ds@schleef.org>
23847 * check/Makefile.am: remove GstData checks
23848 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23849 * gst/Makefile.am: add miniobject, remove data
23850 * gst/gst.h: add miniobject, remove data
23851 * gst/gstdata.c: remove
23852 * gst/gstdata.h: remove
23853 * gst/gstdata_private.h: remove
23854 * gst/gsttypes.h: remove GstEvent and GstMessage
23855 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23856 * gst/gstmarshal.list: change BOXED -> OBJECT
23858 Implement GstMiniObject.
23859 * gst/gstminiobject.c:
23860 * gst/gstminiobject.h:
23862 Modify to be subclasses of GstMiniObject.
23863 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23864 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23865 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23866 (gst_subbuffer_get_type), (gst_subbuffer_init),
23867 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23870 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23871 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23872 (_gst_event_copy), (gst_event_new):
23874 * gst/gstmessage.c: (_gst_message_initialize),
23875 (gst_message_get_type), (gst_message_class_init),
23876 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23877 (gst_message_new), (gst_message_new_error),
23878 (gst_message_new_warning), (gst_message_new_tag),
23879 (gst_message_new_state_changed), (gst_message_new_application):
23880 * gst/gstmessage.h:
23881 * gst/gstprobe.c: (gst_probe_perform),
23882 (gst_probe_dispatcher_dispatch):
23884 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23885 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23886 (_gst_query_copy), (gst_query_new):
23888 Update elements for GstData -> GstMiniObject changes
23890 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23891 (gst_queue_chain), (gst_queue_loop):
23892 * gst/elements/gstbufferstore.c:
23893 (gst_buffer_store_add_buffer_func),
23894 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23895 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23896 (gst_fakesink_render):
23897 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23898 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23899 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23900 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23901 (gst_filesrc_create_read):
23902 * gst/elements/gstidentity.c: (gst_identity_class_init):
23903 * gst/elements/gsttypefindelement.c:
23904 (gst_type_find_element_src_event), (free_entry_buffers),
23905 (gst_type_find_element_handle_event):
23906 * libs/gst/dataprotocol/dataprotocol.c:
23907 (gst_dp_header_from_buffer):
23908 * libs/gst/dataprotocol/dataprotocol.h:
23909 * libs/gst/dataprotocol/dp-private.h:
23911 2005-05-15 David Schleef <ds@schleef.org>
23913 * gst/elements/gstelements.c: Don't include headers that were
23916 2005-05-15 David Schleef <ds@schleef.org>
23918 * gst/elements/Makefile.am: Remove some elements that don't
23919 need to be in the core (or even exist at all).
23920 * gst/elements/gstaggregator.c:
23921 * gst/elements/gstaggregator.h:
23922 * gst/elements/gstmd5sink.c:
23923 * gst/elements/gstmd5sink.h:
23924 * gst/elements/gstmultifilesrc.c:
23925 * gst/elements/gstmultifilesrc.h:
23926 * gst/elements/gstpipefilter.c:
23927 * gst/elements/gstpipefilter.h:
23928 * gst/elements/gstshaper.c:
23929 * gst/elements/gstshaper.h:
23930 * gst/elements/gststatistics.c:
23931 * gst/elements/gststatistics.h:
23932 * po/POTFILES.in: Remove above files.
23934 2005-05-14 Andy Wingo <wingo@pobox.com>
23936 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23937 so as to get the refs right.
23938 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23939 unreffing objects that don't pass the filter.
23941 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23942 gst_element_set_bus.
23943 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23944 normal cases, this will destroy the bus.
23946 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23949 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23952 2005-05-13 Andy Wingo <wingo@pobox.com>
23954 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23955 gst_pad_link, call pad_link_maybe_ghosting,
23956 (pad_link_maybe_ghosting): Links pads, making sure that the
23957 elements being linked are in the same bin.
23958 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23959 Helpers for pad_link_maybe_ghosting.
23961 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23964 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23966 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23968 * docs/design/part-element-source.txt:
23971 2005-05-12 Wim Taymans <wim@fluendo.com>
23973 * gst/base/gstbasesink.c: (gst_basesink_init),
23974 (gst_basesink_activate):
23975 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23976 (gst_basesrc_is_seekable):
23977 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23978 (bin_element_is_sink), (gst_bin_change_state):
23979 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23980 * gst/gstelement.h:
23981 Identify sinks by their flag to avoid overly complicated
23983 Do state changes even for elements not reachable from the
23985 BaseSink is a sink now :)
23986 Some more debugging info in the basesrc.
23989 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23991 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23992 Implement _query on a bin, similar to _send_event.
23994 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23996 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23997 Discont event offset format should be GST_FORMAT_BYTES,
23998 not GST_FORMAT_TIME.
24000 2005-05-12 Wim Taymans <wim@fluendo.com>
24002 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24003 Same fix as Ronald's but without the signal.
24005 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24007 * gst/gstutils.c: (gst_element_query_position):
24008 No, an element is not a pad.
24010 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24012 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24013 (gst_bin_get_state):
24014 If a child is removed from a bin while we remove the child from
24015 the bin and while we're retrieving its state, signal this to the
24016 get_state function so we abort the wait (instead of waiting for
24017 a timeout) and can immediately re-iterate over all other elements.
24019 2005-05-12 Wim Taymans <wim@fluendo.com>
24021 * gst/base/Makefile.am:
24022 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24023 (gst_basesrc_start):
24024 * gst/base/gstbasesrc.h:
24025 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24026 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24027 (gst_pushsrc_init), (gst_pushsrc_create):
24028 * gst/base/gstpushsrc.h:
24029 Added is_seekable to BaseSrc
24030 Added simple PushSrc.
24032 2005-05-11 Wim Taymans <wim@fluendo.com>
24034 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24035 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24036 (gst_element_link_pads), (gst_element_query_position),
24037 (gst_element_query_convert), (intersect_caps_func),
24038 (gst_pad_query_position), (gst_pad_query_convert):
24039 Fix refcounting in utils function.
24040 No point in trying to activate a pad when it's added, it could
24041 be added from the state change function and then we deadlock, the
24042 element has to decide what to do.
24044 2005-05-10 Andy Wingo <wingo@pobox.com>
24046 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24047 *all* the arguments.
24049 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24050 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24051 lock (according to the docs -- if this is wrong change the docs).
24053 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24054 flush messages in the NULL state.
24056 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24057 message immediately and return.
24058 (gst_bus_set_flushing): New function. If a bus is flushing, it
24059 flushes out any queued messages and immediately unrefs new
24060 messages. This is so when an element goes to NULL, all of the
24061 unhandled messages coming from it can be freed, and their
24062 references to the element dropped. In other words: message source
24063 ref considered harmful :P
24065 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24066 we're finished with it.
24068 * gst/gstmessage.c (gst_message_new_state_changed):
24070 2005-05-10 Wim Taymans <wim@fluendo.com>
24072 * gst/gstvalue.c: (gst_value_compare_flags),
24073 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24074 (_gst_value_initialize):
24075 Added flags serialize/deserialize/compare code.
24077 2005-05-09 Andy Wingo <wingo@pobox.com>
24079 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24080 Intersect the peer's caps with our caps.
24082 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24084 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24085 * gst/elements/gsttypefindelement.c: (find_peek):
24086 Handle negative offsets better. Fixes decodebin.
24088 2005-05-09 Wim Taymans <wim@fluendo.com>
24090 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24091 (gst_base_transform_event):
24092 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24093 Implement accept_caps.
24094 Fix silly lock/unlock mismatch in base class.
24096 2005-05-09 Wim Taymans <wim@fluendo.com>
24098 * docs/design/draft-push-pull.txt:
24099 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24100 * gst/elements/gstfilesink.c: (gst_filesink_init),
24101 (gst_filesink_query):
24102 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24103 (gst_type_find_handle_src_query), (find_element_get_length):
24104 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24105 * gst/gstelement.h:
24106 * gst/gstmessage.c:
24107 * gst/gstmessage.h:
24108 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24109 (gst_real_pad_get_caps_unlocked),
24110 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24111 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24112 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24113 (gst_real_pad_dispose), (gst_real_pad_finalize),
24114 (gst_pad_load_and_link), (gst_pad_save_thyself),
24115 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24116 (gst_pad_check_pull_range), (gst_pad_pull_range),
24117 (gst_pad_template_get_type), (gst_pad_template_class_init),
24118 (gst_pad_template_init), (gst_pad_template_dispose),
24119 (name_is_valid), (gst_static_pad_template_get),
24120 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24121 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24122 (gst_pad_get_element_private), (gst_pad_start_task),
24123 (gst_pad_pause_task), (gst_pad_stop_task),
24124 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24125 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24126 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24127 (gst_ghost_pad_new):
24129 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24130 (gst_query_new_position), (gst_query_set_position),
24131 (gst_query_parse_position), (gst_query_new_convert),
24132 (gst_query_set_convert), (gst_query_parse_convert):
24134 * gst/gstqueryutils.c:
24135 * gst/gstqueryutils.h:
24136 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24137 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24138 (gst_queue_handle_src_query):
24139 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24140 (gst_element_query_position), (gst_element_query_convert),
24141 (intersect_caps_func), (gst_pad_query_position),
24142 (gst_pad_query_convert):
24144 * tools/gst-inspect.c: (print_pad_info):
24145 * tools/gst-xmlinspect.c: (print_element_info):
24146 Remove old query functions. Ported old code.
24147 Added position/convert helper functions to gstutils.
24148 Reordered gstpad.c code, grouping relevant things.
24149 Remove gst_message_new(), always need to speficy a specific
24153 2005-05-09 Andy Wingo <wingo@pobox.com>
24155 * gst/gstiterator.h: Add some includes.
24157 * gst/gstqueryutils.h: Include more headers.
24160 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24161 some uses of gst_pad_query.
24163 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24164 NULL out parameters.
24165 (gst_query_new_position): New proc, allocates a new position
24168 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24169 gstqueryutils.c to the build.
24171 * gst/gststructure.c (gst_structure_set_valist): Implement with
24172 the generic G_VALUE_COLLECT.
24174 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24176 * gst/Makefile.am: (gst_headers):
24177 Added gstqueryutils.h to the list of headers to install, that was
24178 a 'nachty' move wingo :)
24180 2005-05-06 Andy Wingo <wingo@pobox.com>
24183 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24184 GstData, init a memchunk.
24185 (standard_definitions): Add a few query types, deprecate a few.
24186 (gst_query_get_type): New proc.
24187 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24189 (gst_query_new_application, gst_query_get_structure): New public
24192 * docs/design/draft-query.txt: Removed LINKS from the query types,
24193 because all the rest can be dispatched to other pads -- seemed
24194 ugly to have a query that couldn't be dispatched. internal_links
24195 is fine as a pad method.
24197 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24198 in gstpad.c, but maintain binary compatibility for the moment.
24199 Will fix before 0.9 is out.
24201 * gst/gstqueryutils.c:
24202 * gst/gstqueryutils.h: New files, implement 3 methods for each
24203 query type: parse_query, parse_response, and set. Probably need an
24206 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24208 * gst/elements/gstfilesink.c (gst_filesink_query2):
24209 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24210 query_types, and formats methods.
24212 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24213 (gst_pad_set_query2_function): New functions.
24214 (gst_real_pad_init): Set query2_default as the default query2
24215 function. Basically just dispatches to internally linked pads.
24219 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24220 without using the atomic operations. Only one thread can possibly
24221 be accessing the data at this point. Changed so as to avoid
24222 gst_atomic operations.
24224 2005-05-06 Wim Taymans <wim@fluendo.com>
24226 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24227 Also set caps if we use the fallback buffer alloc.
24229 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24231 * docs/gst/Makefile.am:
24232 * docs/gst/gstreamer-docs.sgml:
24233 * docs/gst/gstreamer-sections.txt:
24234 * docs/gst/tmpl/gstatomic.sgml:
24235 * docs/gst/tmpl/gstmemchunk.sgml:
24236 * testsuite/elements/struct_i386.h:
24237 * win32/GStreamer.vcproj:
24239 Purge GstAtomic stuff from docs and win32 makefiles as well
24241 2005-05-06 Wim Taymans <wim@fluendo.com>
24243 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24245 * gst/gstpad.c: (gst_pad_peer_get_caps):
24246 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24247 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24248 (gst_queue_src_activate), (gst_queue_change_state):
24250 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24251 (intersect_caps_func):
24252 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24253 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24254 Some fixes for the peer_get_caps() change.
24256 2005-05-06 Wim Taymans <wim@fluendo.com>
24258 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24259 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24260 (gst_basesink_activate):
24261 Actually do something with error codes returned from the push
24264 2005-05-06 Wim Taymans <wim@fluendo.com>
24266 * docs/design/part-element-sink.txt:
24267 * docs/design/part-element-source.txt:
24268 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24269 (gst_basesink_event), (gst_basesink_activate):
24270 * gst/base/gstbasesink.h:
24271 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24272 (gst_basesrc_activate):
24273 * gst/base/gstbasesrc.h:
24274 * gst/gstelement.c: (gst_element_pads_activate):
24275 Some more documentation.
24276 Fixed scheduling decision in _pads_activate().
24278 2005-05-05 Andy Wingo <wingo@pobox.com>
24280 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24283 2005-05-05 Wim Taymans <wim@fluendo.com>
24285 * gst/base/Makefile.am:
24286 * gst/base/gstbasesink.h:
24287 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24288 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24289 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24290 (gst_collectpads_class_init), (gst_collectpads_init),
24291 (gst_collectpads_finalize), (gst_collectpads_new),
24292 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24293 (find_pad), (gst_collectpads_remove_pad),
24294 (gst_collectpads_is_active), (gst_collectpads_collect),
24295 (gst_collectpads_collect_range), (gst_collectpads_start),
24296 (gst_collectpads_stop), (gst_collectpads_peek),
24297 (gst_collectpads_pop), (gst_collectpads_available),
24298 (gst_collectpads_read), (gst_collectpads_flush),
24299 (gst_collectpads_chain):
24300 * gst/base/gstcollectpads.h:
24301 * gst/elements/Makefile.am:
24302 * gst/elements/gstelements.c:
24303 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24304 (gst_fakesink_get_times), (gst_fakesink_event),
24305 (gst_fakesink_preroll), (gst_fakesink_render):
24306 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24307 (gst_filesink_init), (gst_filesink_set_location),
24308 (gst_filesink_open_file), (gst_filesink_close_file),
24309 (gst_filesink_pad_query), (gst_filesink_event),
24310 (gst_filesink_render), (gst_filesink_change_state):
24311 * gst/elements/gstfilesink.h:
24312 Added object to help in making collect pad based elements.
24314 Make event function in sink baseclass return gboolean.
24316 2005-05-05 Wim Taymans <wim@fluendo.com>
24318 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24319 (gst_bin_get_by_name):
24321 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24322 (gst_clock_finalize):
24323 * gst/gstdata.c: (gst_data_replace):
24325 * gst/gstelement.c: (gst_element_request_pad),
24326 (gst_element_pads_activate):
24327 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24328 (gst_object_unref):
24329 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24330 (gst_pad_set_checkgetrange_function),
24331 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24332 (gst_pad_check_pull_range), (gst_pad_pull_range),
24333 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24334 (gst_pad_pause_task), (gst_pad_stop_task):
24335 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24336 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24337 Fix name lookup in GstBin.
24338 Added _data_replace() function and _buffer_replace()
24339 Use finalize method to clean up clock.
24340 Fix refcounting on request pads.
24341 Fix pad schedule mode error.
24342 Some more object refcounting debug info,
24345 2005-05-04 Andy Wingo <wingo@pobox.com>
24347 * check/Makefile.am:
24348 * docs/gst/tmpl/gstatomic.sgml:
24349 * docs/gst/tmpl/gstplugin.sgml:
24350 * gst/base/gstbasesink.c: (gst_basesink_activate):
24351 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24352 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24353 (gst_basesrc_query), (gst_basesrc_set_property),
24354 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24355 (gst_basesrc_activate):
24356 * gst/base/gstbasesrc.h:
24357 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24358 (gst_base_transform_src_activate):
24359 * gst/elements/gstelements.c:
24360 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24361 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24362 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24363 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24364 (gst_type_find_element_checkgetrange),
24365 (gst_type_find_element_activate):
24366 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24367 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24368 (gst_caps_load_thyself):
24369 * gst/gstelement.c: (gst_element_pads_activate),
24370 (gst_element_save_thyself), (gst_element_restore_thyself):
24371 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24372 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24374 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24375 (gst_xml_parse_file), (gst_xml_parse_memory),
24376 (gst_xml_get_element), (gst_xml_make_element):
24377 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24378 (_file_index_id_save_xml), (gst_file_index_commit):
24379 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24380 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24382 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24383 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24384 * tools/gst-complete.c: (main):
24385 * tools/gst-compprep.c: (main):
24386 * tools/gst-inspect.c: (print_element_properties_info):
24387 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24388 * tools/gst-xmlinspect.c: (print_element_properties):
24391 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24393 * gst/gstplugin.c: (gst_plugin_check_module),
24394 (gst_plugin_check_file), (gst_plugin_load_file):
24395 apply patch from #172526 to make register work on MacOSX
24397 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24399 * docs/gst/tmpl/gstconfig.sgml:
24400 * gst/gstconfig.h.in:
24401 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24402 * testsuite/debug/printf_extension.c: (main):
24403 Do not use GST_PTR_FORMAT on pointers to types with
24404 sizeof < sizeof(gpointer). Fixes test on 64-bit
24405 * testsuite/elements/property.h:
24406 use correct printf format
24408 2005-05-02 Wim Taymans <wim@fluendo.com>
24410 * docs/design/draft-push-pull.txt:
24411 * docs/design/draft-query.txt:
24412 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24413 (gst_basesrc_start):
24414 Added draft for new query API.
24415 Added draft for better selecting scheduling methods.
24416 Make basesrc ignore length if the subclass does not support
24419 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24422 possible fixes for automake-1.5 - _LIBADD is reserved
24424 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24426 * docs/faq/Makefile.am:
24427 * docs/manual/Makefile.am:
24428 * docs/manuals.mak:
24429 * docs/pwg/Makefile.am:
24431 possible fixes for automake-1.5
24433 2005-04-28 Wim Taymans <wim@fluendo.com>
24435 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24436 (gst_basesink_pad_getcaps), (gst_basesink_init),
24437 (gst_basesink_do_sync):
24438 * gst/gstclock.c: (gst_clock_entry_new):
24439 * gst/gstevent.c: (gst_event_discont_get_value):
24440 * gst/gstpipeline.c: (pipeline_bus_handler),
24441 (gst_pipeline_change_state):
24442 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24443 Better debugging of clocking info.
24444 Allow NULL values when getting discont values.
24446 2005-04-27 Wim Taymans <wim@fluendo.com>
24448 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24449 * check/gst/gstpad.c: (gst_pad_suite):
24450 Increase timeout for checks.
24452 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24454 * check/Makefile.am:
24455 fix the broken rule for cleanup. Apparently this rule is
24456 only needed on FC2, so maybe this warrants further autotool
24459 2005-04-26 Wim Taymans <wim@fluendo.com>
24461 * gst/gsttrashstack.h:
24462 Ooohh. a nasty one! After having a failed pop() from the stack,
24463 it's possible that the stack is empty. In that case, don't
24464 follow the NULL pointer.
24466 2005-04-25 Wim Taymans <wim@fluendo.com>
24468 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24469 (gst_pad_set_checkgetrange_function),
24470 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24471 (gst_pad_check_pull_range), (gst_pad_pull_range),
24472 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24473 (gst_pad_pause_task), (gst_pad_stop_task):
24474 * gst/gstplugin.c: (gst_plugin_load):
24476 Remove gst_library_load as it does more harm than good with
24477 the new g_module flags.
24478 Revert bogus caps template check in pad linking, pad caps
24479 are important when linking not the template, which is more
24480 general than the current caps.
24482 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24484 * gst/autoplug/.cvsignore:
24485 * gst/autoplug/Makefile.am:
24486 * gst/autoplug/gstsearchfuncs.c:
24487 * gst/autoplug/gstsearchfuncs.h:
24488 * gst/autoplug/gstspider.c:
24489 * gst/autoplug/gstspider.h:
24490 * gst/autoplug/gstspideridentity.c:
24491 * gst/autoplug/gstspideridentity.h:
24492 * gst/autoplug/spidertest.c:
24495 2005-04-25 Wim Taymans <wim@fluendo.com>
24497 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24498 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24499 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24500 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24502 Added stubs for unimplemented functions.
24504 2005-04-24 David Schleef <ds@schleef.org>
24506 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24509 2005-04-24 David Schleef <ds@schleef.org>
24511 Convert everything from GstAtomicInt to g_atomic_int_*, and
24516 * gst/gstatomic_impl.h:
24524 * gst/gstdata_private.h:
24528 * gst/gstmessage.c:
24531 * gst/gststructure.c:
24532 * gst/gststructure.h:
24533 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24536 2005-04-24 David Schleef <ds@schleef.org>
24538 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24539 make the regressions tests work. Remove some code that is no
24541 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24542 Disable warning for pads without templates.
24544 2005-04-24 David Schleef <ds@schleef.org>
24546 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24547 functions that handle filtered links.
24548 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24550 * gst/gstutils.c: Fix/remove utility functions that handle
24553 * gst/gstvalue.c: Add serialization/deserialization of caps
24554 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24555 requires fixing so that the filter caps notation creates
24556 a capsfilter element and sets the filter_caps property. I
24557 think everyone probably wants to keep the shorthand notation.
24558 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24559 * docs/gst/tmpl/gstpad.sgml:
24561 * gst/elements/gstelements.c: Register capsfilter element.
24562 * gst/Makefile.am: fix spacing
24563 * docs/random/ds/0.9-suggested-changes: random
24565 2005-04-23 David Schleef <ds@schleef.org>
24567 * gst/elements/Makefile.am:
24568 * gst/elements/gstcapsfilter.c: New element that acts like an
24569 identity, but filters caps. Will eventually replace filtered
24570 caps in pad linking.
24571 * gst/gstutils.c: (gst_element_create_all_pads): New function
24572 to create all the ALWAYS pads that are registered with an
24573 element class. This functionality should eventually be
24574 merged in with GstElement initialization.
24576 * testsuite/trigger/README: part of trigger test code that should
24577 have been checked in a long time ago.
24579 2005-04-23 David Schleef <ds@schleef.org>
24581 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24582 needed with new versions of libtool (nobody will confirm this),
24583 and hard to carry around.
24584 * gst/autoplug/Makefile.am:
24585 * gst/base/Makefile.am:
24586 * gst/elements/Makefile.am:
24587 * gst/indexers/Makefile.am:
24588 * gst/schedulers/Makefile.am:
24589 * libs/gst/bytestream/Makefile.am:
24590 * libs/gst/control/Makefile.am:
24591 * libs/gst/dataprotocol/Makefile.am:
24592 * libs/gst/getbits/Makefile.am:
24594 2005-04-21 Wim Taymans <wim@fluendo.com>
24596 * docs/design/draft-push-pull.txt:
24597 * docs/design/part-MT-refcounting.txt:
24598 * docs/design/part-TODO.txt:
24599 * docs/design/part-caps.txt:
24600 * docs/design/part-events.txt:
24601 * docs/design/part-gstbus.txt:
24602 * docs/design/part-gstpipeline.txt:
24603 * docs/design/part-messages.txt:
24604 * docs/design/part-push-pull.txt:
24605 * docs/design/part-query.txt:
24608 2005-04-21 Wim Taymans <wim@fluendo.com>
24610 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24611 (gst_message_new), (gst_message_new_error),
24612 (gst_message_new_warning), (gst_message_new_tag),
24613 (gst_message_new_state_changed), (gst_message_new_application),
24614 (gst_message_get_structure):
24615 * gst/gstmessage.h:
24616 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24617 (gst_structure_copy_conditional):
24618 Use parent refcount in GstMessage to ensure GstStructure
24620 Cleaned up headers a bit.
24623 2005-04-20 Wim Taymans <wim@fluendo.com>
24625 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24626 (gst_basesink_pad_getcaps), (gst_basesink_init),
24627 (gst_basesink_chain_unlocked):
24628 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24629 (gst_type_find_helper):
24630 * gst/elements/gsttypefindelement.c:
24631 (gst_type_find_element_have_type), (gst_type_find_element_init),
24632 (stop_typefinding), (gst_type_find_element_handle_event),
24633 (find_suggest), (gst_type_find_element_chain),
24634 (gst_type_find_element_checkgetrange),
24635 (gst_type_find_element_getrange), (do_typefind),
24636 (gst_type_find_element_activate):
24637 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24638 (gst_buffer_default_free), (gst_buffer_default_copy),
24639 (gst_buffer_set_caps):
24640 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24641 (gst_caps_replace):
24642 * gst/gstmessage.c: (gst_message_new),
24643 (gst_message_new_state_changed):
24644 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24645 (gst_pad_set_checkgetrange_function),
24646 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24647 (gst_pad_set_caps), (gst_pad_check_pull_range),
24648 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24650 * gst/gsttypefind.c: (gst_type_find_register):
24651 Make gst_caps_replace() work like other _replace() functions.
24652 Use _caps_replace() where possible.
24653 Make sure _message_new() initialises its field.
24654 Add gst_static_pad_template_get_caps()
24657 2005-04-18 Andy Wingo <wingo@pobox.com>
24659 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24660 on the peer, not the pad. I think that was a typo. Pass an extra
24661 arg to see if random access is possible. Activate the pads as
24662 PULL_RANGE if possible.
24664 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24666 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24667 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24670 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24672 * docs/faq/using.xml:
24673 Add note on gstreamer-properties (#154996).
24675 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24677 * docs/random/bbb/optional-properties:
24678 Some analysis on optional properties.
24680 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24682 * docs/gst/tmpl/gstelementfactory.sgml:
24683 * gst/gstelement.h:
24684 * gst/gstelementfactory.c: (gst_element_factory_init),
24685 (gst_element_factory_cleanup), (gst_element_register),
24686 (__gst_element_factory_add_static_pad_template),
24687 (gst_element_factory_get_static_pad_templates),
24688 (gst_element_factory_can_src_caps),
24689 (gst_element_factory_can_sink_caps):
24690 * gst/registries/Makefile.am:
24691 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24692 (gst_xml_registry_class_init), (gst_xml_registry_init),
24693 (gst_xml_registry_new), (gst_xml_registry_set_property),
24694 (gst_xml_registry_get_property), (get_time), (make_dir),
24695 (gst_xml_registry_get_perms_func),
24696 (plugin_times_older_than_recurse), (plugin_times_older_than),
24697 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24698 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24699 (add_to_char_array), (read_string), (read_uint), (read_enum),
24700 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24701 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24702 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24703 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24704 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24705 (gst_xml_registry_rebuild):
24706 * gst/registries/gstlibxmlregistry.h:
24707 * tools/gst-compprep.c: (main):
24708 * tools/gst-inspect.c: (print_pad_templates_info):
24709 * tools/gst-xmlinspect.c: (print_element_info):
24710 Use libxml2 for registry parsing, use staticpadtemplates in
24711 elementfactories. Makes gst_init() +/- 10x faster.
24713 2005-04-12 Wim Taymans <wim@fluendo.com>
24715 * gst/base/Makefile.am:
24716 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24717 (gst_basesink_pad_getcaps), (gst_basesink_init),
24718 (gst_basesink_event), (gst_basesink_change_state):
24719 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24720 (gst_basesrc_init), (gst_basesrc_query),
24721 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24722 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24723 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24724 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24725 (gst_basesrc_stop), (gst_basesrc_activate),
24726 (gst_basesrc_change_state):
24727 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24728 (helper_find_suggest), (gst_type_find_helper):
24729 * gst/base/gsttypefindhelper.h:
24730 * gst/elements/Makefile.am:
24731 * gst/elements/gstelements.c:
24732 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24733 (gst_fakesink_get_times), (gst_fakesink_event),
24734 (gst_fakesink_preroll), (gst_fakesink_render):
24735 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24736 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24737 (gst_fakesrc_get_property), (gst_fakesrc_create),
24738 (gst_fakesrc_start), (gst_fakesrc_stop):
24739 * gst/elements/gstfakesrc.h:
24740 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24741 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24742 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24743 (gst_filesrc_create_read), (gst_filesrc_create),
24744 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24745 (gst_filesrc_start):
24746 * gst/elements/gsttypefindelement.c:
24747 (gst_type_find_element_have_type), (gst_type_find_element_init),
24748 (start_typefinding), (stop_typefinding), (push_buffer_store),
24749 (gst_type_find_element_handle_event),
24750 (gst_type_find_element_chain),
24751 (gst_type_find_element_checkgetrange),
24752 (gst_type_find_element_getrange), (do_typefind),
24753 (gst_type_find_element_activate),
24754 (gst_type_find_element_change_state):
24755 * gst/elements/gsttypefindelement.h:
24756 * gst/gstpipeline.c: (pipeline_bus_handler):
24757 Added typefind helper.
24758 Small preroll fix in the base sink.
24759 Disable typefind code in basesrc.
24760 Crude port of typefindelement.
24764 2005-04-11 Wim Taymans <wim@fluendo.com>
24766 * check/gst/gstbus.c: (gstbus_suite):
24767 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24768 * check/gstcheck.h:
24769 Fix up the timeout so that the test does not fail.
24771 2005-04-06 Wim Taymans <wim@fluendo.com>
24774 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24775 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24776 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24777 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24778 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24779 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24780 (gst_basesrc_stop), (gst_basesrc_activate),
24781 (gst_basesrc_change_state), (basesrc_find_peek),
24782 (basesrc_find_suggest), (gst_basesrc_type_find):
24783 * gst/base/gstbasesrc.h:
24784 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24785 (gst_filesrc_class_init), (gst_filesrc_init),
24786 (gst_filesrc_finalize), (gst_filesrc_set_location),
24787 (gst_filesrc_set_property), (gst_filesrc_get_property),
24788 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24789 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24790 (gst_filesrc_create_read), (gst_filesrc_create),
24791 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24792 * gst/elements/gstfilesrc.h:
24793 * gst/gstelement.c: (gst_element_get_state_func),
24794 (gst_element_lost_state), (gst_element_pads_activate):
24795 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24796 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24797 (gst_pad_pull_range):
24799 More work on the generic source base class, implement seeking,
24801 Make filesrc extend the base source class.
24802 Added gst_pad_set_checkgetrange_function to GstPad.
24804 2005-04-06 Andy Wingo <wingo@pobox.com>
24806 * pkgconfig/gstreamer-base.pc.in:
24807 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24809 * pkgconfig/Makefile.am:
24810 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24812 2005-04-04 Wim Taymans <wim@fluendo.com>
24814 * gst/base/Makefile.am:
24816 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24817 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24818 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24819 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24820 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24821 (gst_basesrc_base_init), (gst_basesrc_class_init),
24822 (gst_basesrc_init), (gst_basesrc_get_formats),
24823 (gst_basesrc_get_query_types), (gst_basesrc_query),
24824 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24825 (gst_basesrc_set_property), (gst_basesrc_get_property),
24826 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24827 (gst_basesrc_loop), (gst_basesrc_activate),
24828 (gst_basesrc_change_state):
24829 * gst/base/gstbasesrc.h:
24830 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24831 (gst_fakesrc_class_init), (gst_fakesrc_init),
24832 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24833 (gst_fakesrc_get_property), (gst_fakesrc_create):
24834 * gst/elements/gstfakesrc.h:
24835 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24836 (gst_filesrc_open_file), (gst_filesrc_loop),
24837 (gst_filesrc_activate), (filesrc_find_peek),
24838 (gst_filesrc_type_find):
24839 Made base source class, make fakesrc extend it.
24840 Add comments to basesink class.
24841 Some filesrc cleanup.
24843 2005-03-31 David Schleef <ds@schleef.org>
24845 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24846 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24847 expected to link against libgstreamer.
24848 * gst/base/Makefile.am: link against libgstreamer
24849 * gst/elements/Makefile.am: same
24851 2005-03-31 Andy Wingo <wingo@pobox.com>
24853 * tests/instantiate/Makefile.am:
24854 * tests/instantiate/caps.c: Add test to test speed of caps copy
24857 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24858 GMemChunk to be fair.
24860 * gst/gsttrashstack.h: Remove warning about using the fallback
24861 trash stack implementation, it's still faster than malloc.
24863 2005-03-30 Andy Wingo <wingo@pobox.com>
24865 * tests/complexity.c: Add a copyright.
24867 2005-03-31 Wim Taymans <wim@fluendo.com>
24869 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24870 (gst_base_transform_class_init), (gst_base_transform_init),
24871 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24872 (gst_base_transform_get_property),
24873 (gst_base_transform_sink_activate),
24874 (gst_base_transform_src_activate),
24875 (gst_base_transform_change_state):
24876 * gst/base/gstbasetransform.h:
24877 * gst/elements/gstidentity.c: (gst_identity_class_init),
24878 (gst_identity_event), (gst_identity_check_perfect),
24879 (gst_identity_transform), (gst_identity_start),
24880 (gst_identity_stop):
24881 Added start/stop methods to transform base class so subclasses
24882 don't need to deal with state changes even.
24884 2005-03-31 Wim Taymans <wim@fluendo.com>
24886 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24887 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24889 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24890 (gst_pad_pull_range):
24891 Added rate to the discont event to prepare for variable speed
24892 and reverse playback.
24894 2005-03-29 David Schleef <ds@schleef.org>
24897 * testsuite/trigger/Makefile.am:
24898 * testsuite/trigger/trigger.c: A little example program to show
24899 how trigger-based elements can work.
24901 2005-03-29 Wim Taymans <wim@fluendo.com>
24903 * gst/base/Makefile.am:
24905 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24906 (gst_basesink_base_init), (gst_basesink_class_init),
24907 (gst_basesink_pad_getcaps), (gst_basesink_init),
24908 (gst_basesink_activate), (gst_basesink_change_state):
24909 * gst/base/gstbasesink.h:
24910 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24911 (gst_base_transform_base_init), (gst_base_transform_finalize),
24912 (gst_base_transform_class_init), (gst_base_transform_init),
24913 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24914 (gst_base_transform_event), (gst_base_transform_getrange),
24915 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24916 (gst_base_transform_set_property),
24917 (gst_base_transform_get_property),
24918 (gst_base_transform_sink_activate),
24919 (gst_base_transform_src_activate),
24920 (gst_base_transform_change_state):
24921 * gst/base/gstbasetransform.h:
24922 * gst/elements/gstidentity.c: (gst_identity_finalize),
24923 (gst_identity_class_init), (gst_identity_init),
24924 (gst_identity_event), (gst_identity_check_perfect),
24925 (gst_identity_transform), (gst_identity_set_property),
24926 (gst_identity_get_property), (gst_identity_change_state):
24927 * gst/elements/gstidentity.h:
24928 * gst/gstelement.c: (gst_element_get_state_func),
24929 (gst_element_lost_state), (gst_element_pads_activate):
24930 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24931 (gst_pad_check_pull_range), (gst_pad_pull_range):
24933 Simplify pad activation.
24934 Added function to check if pull_range can be performed.
24935 Error out when pulling inactive or flushing pads.
24936 Removed const from refcounted types as it does not make sense.
24937 Simplify pad templates in basesink
24938 Added base class for simple 1-to-1 transforms.
24939 Make identity subclass the base transform.
24941 2005-03-29 Andy Wingo <wingo@pobox.com>
24943 * docs/libs/gstreamer-libs-overrides.txt:
24944 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24945 really don't understand what's going on, but like whatever. I want
24948 * docs/gst/Makefile.am:
24949 * docs/libs/Makefile.am: Dist the overrides files.
24951 * check/Makefile.am (clean-local): Remove .libs directories.
24953 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24954 elements to EXTRA_DIST, so po/ files are happy.
24956 * po/POTFILES.in: Er, remove it here.
24958 * po/POTFILES: Remove gstspider.c.
24960 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24962 * docs/libs/gstreamer-libs-docs.sgml:
24963 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24966 * tests/complexity.c (main): Set the length of the preroll queue
24967 on the sinks to prevent a lockup.
24969 * libs/gst/dataprotocol/Makefile.am:
24970 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24971 the same as the one in check/gst-libs/gdp.c.
24973 * po/, docs/gst/: Commit automatic changes to docs and po files.
24975 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24976 the versioned libgstbase.
24978 * check/Makefile.am: Depend on an unversioned gst-register, seems
24979 to make autoconf happier.
24981 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24983 2005-03-28 Wim Taymans <wim@fluendo.com>
24986 * docs/design/part-gstelement.txt:
24987 * docs/design/part-negotiation.txt:
24988 * docs/design/part-preroll.txt:
24989 * docs/design/part-scheduling.txt:
24990 * docs/design/part-states.txt:
24992 * gst/base/Makefile.am:
24994 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24995 (gst_basesink_base_init), (gst_basesink_class_init),
24996 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24997 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24998 (gst_basesink_set_pad_functions),
24999 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25000 (gst_basesink_set_property), (gst_basesink_get_property),
25001 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25002 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25003 (gst_basesink_preroll_queue_push),
25004 (gst_basesink_preroll_queue_empty),
25005 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25006 (gst_basesink_event), (gst_basesink_get_times),
25007 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25008 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25009 (gst_basesink_loop), (gst_basesink_activate),
25010 (gst_basesink_change_state):
25011 * gst/base/gstbasesink.h:
25012 * gst/elements/Makefile.am:
25013 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25014 (gst_fakesink_class_init), (gst_fakesink_init),
25015 (gst_fakesink_set_property), (gst_fakesink_get_property),
25016 (gst_fakesink_get_times), (gst_fakesink_event),
25017 (gst_fakesink_preroll), (gst_fakesink_render),
25018 (gst_fakesink_change_state):
25019 * gst/elements/gstfakesink.h:
25020 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25021 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25022 * gst/gstelement.c: (gst_element_add_pad),
25023 (gst_element_get_state_func), (gst_element_abort_state),
25024 (gst_element_commit_state), (gst_element_lost_state),
25025 (gst_element_set_state), (gst_element_pads_activate):
25026 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25027 * gst/gstpipeline.c: (gst_pipeline_send_event),
25028 (gst_pipeline_change_state):
25029 Added state change code.
25030 Added/updated docs.
25031 Added sink base class, make fakesink extend the base class.
25032 Small cleanups in GstPipeline.
25034 2005-03-26 David Schleef <ds@schleef.org>
25036 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25037 is broken and should be implemented in a different library.
25038 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25039 * gst/gst.h: remove gstcpu.h
25040 * gst/gstcpu.c: remove
25041 * gst/gstcpu.h: remove
25042 * gst/Makefile.am.future: Remove this file. It's ancient.
25044 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25046 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25047 (gst_bin_send_event):
25048 Add default event/set_manager handlers. The set_manager handler
25049 takes care that the manager is distributed over kids that were
25050 already in the bin before the manager was set. The event handler
25051 is a utility virtual function that sends the event over all sinks,
25052 so that gst_element_send_event (bin, event); has the expected
25054 * gst/gstpad.c: (gst_pad_event_default):
25055 Re-install default event handling for discontinuities, so that
25056 seeking works without requiring hacks in applications or extra
25058 * gst/gstpipeline.c: (gst_pipeline_class_init),
25059 (gst_pipeline_send_event):
25060 Half hack, half utility: set a pipeline to PAUSED for seek events,
25061 since that is the only way we can guarantee a/v sync. Means that
25062 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25063 and it "just works".
25065 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25067 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25068 Lock/unlock mismatch.
25070 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25072 * docs/faq/gst-uninstalled:
25073 add gst-plugins-base
25074 * docs/gst/Makefile.am:
25075 don't error out until docs are fixed
25076 * docs/gst/gstreamer.types:
25079 2005-03-22 Wim Taymans <wim@fluendo.com>
25081 * check/Makefile.am:
25082 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25083 * gst/gststructure.c: (gst_structure_set_valist),
25084 (gst_structure_copy_conditional):
25085 Activated more tests.
25086 Added message test.
25087 Added G_TYPE_POINTER to GstStructure.
25090 2005-03-22 Wim Taymans <wim@fluendo.com>
25092 * docs/design/part-TODO.txt:
25093 * docs/design/part-events.txt:
25094 * docs/design/part-gstbin.txt:
25095 * docs/design/part-gstbus.txt:
25096 * docs/design/part-gstpipeline.txt:
25097 * docs/design/part-messages.txt:
25099 * gst/gstmessage.c:
25102 2005-03-21 Wim Taymans <wim@fluendo.com>
25104 * gst/gstbus.c: (gst_bus_post):
25105 Fix copy-and-paste error.
25107 2005-03-21 Wim Taymans <wim@fluendo.com>
25109 * check/Makefile.am:
25111 * gst/elements/Makefile.am:
25112 * gst/elements/gstelements.c:
25113 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25114 (gst_fakesink_event), (gst_fakesink_chain):
25115 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25116 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25117 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25118 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25119 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25120 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25121 (gst_fakesrc_loop), (gst_fakesrc_activate),
25122 (gst_fakesrc_change_state):
25123 * gst/elements/gstfakesrc.h:
25124 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25125 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25126 (gst_filesrc_open_file), (gst_filesrc_loop),
25127 (gst_filesrc_activate), (gst_filesrc_change_state),
25128 (filesrc_find_peek), (filesrc_find_suggest),
25129 (gst_filesrc_type_find):
25130 * gst/elements/gstidentity.c: (gst_identity_finalize),
25131 (gst_identity_class_init), (gst_identity_init),
25132 (gst_identity_proxy_getcaps), (identity_queue_push),
25133 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25134 (gst_identity_getrange), (gst_identity_chain),
25135 (gst_identity_sink_loop), (gst_identity_src_loop),
25136 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25137 (gst_identity_set_property), (gst_identity_get_property),
25138 (gst_identity_change_state):
25139 * gst/elements/gstidentity.h:
25140 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25141 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25142 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25143 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25144 (gst_tee_sink_activate):
25145 * gst/elements/gsttee.h:
25146 * gst/gst.c: (gst_register_core_elements), (init_post):
25148 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25149 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25150 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25151 (gst_bin_change_state):
25153 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25154 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25155 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25156 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25157 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25158 (bus_watch_callback), (bus_watch_destroy),
25159 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25160 (poll_timeout), (gst_bus_poll):
25164 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25165 (gst_element_post_message), (gst_element_message_full),
25166 (gst_element_get_state_func), (gst_element_get_state),
25167 (gst_element_abort_state), (gst_element_commit_state),
25168 (gst_element_lost_state), (gst_element_set_state),
25169 (gst_element_pads_activate), (gst_element_change_state),
25170 (gst_element_dispose), (gst_element_set_manager_func),
25171 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25172 (gst_element_set_manager), (gst_element_get_manager),
25173 (gst_element_set_bus), (gst_element_get_bus),
25174 (gst_element_set_scheduler), (gst_element_get_scheduler):
25175 * gst/gstelement.h:
25176 * gst/gstevent.c: (gst_event_new_segment_seek),
25177 (gst_event_new_flush):
25179 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25180 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25181 (gst_message_new_eos), (gst_message_new_error),
25182 (gst_message_new_warning), (gst_message_new_tag),
25183 (gst_message_new_state_changed), (gst_message_new_application),
25184 (gst_message_get_structure), (gst_message_parse_tag),
25185 (gst_message_parse_state_changed), (gst_message_parse_error),
25186 (gst_message_parse_warning):
25187 * gst/gstmessage.h:
25188 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25189 (gst_real_pad_set_property), (gst_pad_set_active),
25190 (gst_pad_is_active), (gst_pad_set_blocked_async),
25191 (gst_pad_set_blocked), (gst_pad_is_blocked),
25192 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25193 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25194 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25195 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25196 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25197 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25198 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25199 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25200 (gst_pad_set_caps), (gst_pad_configure_sink),
25201 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25202 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25203 (gst_real_pad_dispose), (gst_real_pad_finalize),
25204 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25205 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25206 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25208 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25209 (pipeline_bus_handler), (gst_pipeline_change_state),
25210 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25211 * gst/gstpipeline.h:
25213 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25214 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25215 (gst_queue_link_src), (gst_queue_bufferalloc),
25216 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25217 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25218 (gst_queue_loop), (gst_queue_handle_src_event),
25219 (gst_queue_handle_src_query), (gst_queue_src_activate),
25220 (gst_queue_change_state):
25222 * gst/gstscheduler.c: (gst_scheduler_init),
25223 (gst_scheduler_dispose), (gst_scheduler_create_task),
25224 (gst_scheduler_factory_create):
25225 * gst/gstscheduler.h:
25226 * gst/gststructure.c: (gst_structure_get_type),
25227 (gst_structure_copy_conditional):
25228 * gst/gststructure.h:
25229 * gst/gsttaginterface.h:
25230 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25231 (gst_task_init), (gst_task_dispose), (gst_task_create),
25232 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25238 * gst/schedulers/Makefile.am:
25239 * gst/schedulers/cothreads_compat.h:
25240 * gst/schedulers/entryscheduler.c:
25241 * gst/schedulers/faircothreads.c:
25242 * gst/schedulers/faircothreads.h:
25243 * gst/schedulers/fairscheduler.c:
25244 * gst/schedulers/gstbasicscheduler.c:
25245 * gst/schedulers/gstoptimalscheduler.c:
25246 * gst/schedulers/gthread-cothreads.h:
25247 * gst/schedulers/threadscheduler.c:
25248 (gst_thread_scheduler_task_get_type),
25249 (gst_thread_scheduler_task_class_init),
25250 (gst_thread_scheduler_task_init),
25251 (gst_thread_scheduler_task_start),
25252 (gst_thread_scheduler_task_stop),
25253 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25254 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25255 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25256 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25258 * libs/gst/Makefile.am:
25259 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25260 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25261 (gst_file_pad_parent_set):
25262 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25263 (gst_dp_event_from_packet):
25264 * tests/complexity.c: (main):
25265 * tests/mass_elements.c: (main):
25266 * testsuite/states/locked.c: (message_received), (main):
25267 * testsuite/states/parent.c: (main):
25268 * tools/gst-inspect.c: (print_element_flag_info),
25269 (print_implementation_info), (print_pad_info):
25270 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25272 * tools/gst-md5sum.c: (event_loop), (main):
25273 * tools/gst-typefind.c: (main):
25274 * tools/gst-xmlinspect.c: (print_element_info):
25276 Added GstBus for mainloop integration.
25277 Added GstMessage for sending notifications on the bus.
25278 Added GstTask as an abstraction for pipeline entry points.
25280 Removed Schedulers.
25281 Simplified GstQueue for multithreaded core.
25282 Made _link threadsafe, removed old capsnego.
25283 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25284 Added pad blocking functions.
25285 Reworked scheduling functions in GstPad to prepare for
25286 scheduling updates soon.
25287 Moved events out of data stream.
25288 Simplified GstEvent types.
25289 Added return values to push/pull.
25290 Removed clocking from GstElement.
25291 Added prototypes for state change function for next merge.
25292 Removed iterate from bins and state change management.
25293 Fixed some elements, disabled others for now.
25294 Fixed -inspect and -launch.
25295 Added check for GstBus.
25297 2005-03-10 Wim Taymans <wim@fluendo.com>
25299 * docs/design/part-MT-refcounting.txt:
25300 * docs/design/part-clocks.txt:
25301 * docs/design/part-gstelement.txt:
25302 * docs/design/part-gstobject.txt:
25303 * docs/design/part-standards.txt:
25304 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25305 (gst_bin_remove_func), (gst_bin_remove):
25309 * testsuite/clock/clock1.c: (main):
25310 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25312 * testsuite/dlopen/loadgst.c: (do_test):
25313 * testsuite/refcounting/bin.c: (add_remove_test1),
25314 (add_remove_test2), (main):
25315 * testsuite/refcounting/element.c: (main):
25316 * testsuite/refcounting/element_pad.c: (main):
25317 * testsuite/refcounting/pad.c: (main):
25318 * tools/gst-launch.c: (sigint_handler_sighandler):
25319 * tools/gst-typefind.c: (main):
25321 Added doc about clock.
25322 removed gst_bin_iterate_recurse_up(), marked methods
25324 Fix more testsuites.
25326 2005-03-09 Wim Taymans <wim@fluendo.com>
25328 * gst/gstpad.c: (gst_pad_get_direction),
25329 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25330 (gst_pad_collect_valist):
25331 * testsuite/bins/interface.c: (main):
25332 * testsuite/caps/audioscale.c: (test_caps):
25333 * testsuite/caps/caps.c: (test1), (test2), (test3):
25334 * testsuite/caps/deserialize.c: (main):
25335 * testsuite/caps/enumcaps.c: (main):
25336 * testsuite/caps/filtercaps.c: (main):
25337 * testsuite/caps/intersect2.c: (main):
25338 * testsuite/caps/random.c: (main):
25339 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25340 * testsuite/caps/sets.c: (check_caps):
25341 * testsuite/caps/simplify.c: (check_caps), (main):
25342 * testsuite/caps/subtract.c: (check_caps):
25343 Fix _pad_get_direction wrt ghostpads.
25344 Fix caps testsuite.
25346 2005-03-09 Wim Taymans <wim@fluendo.com>
25348 * check/Makefile.am:
25349 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25350 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25351 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25353 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25354 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25355 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25356 (bin_element_is_sink), (gst_bin_iterate_sinks),
25357 (gst_bin_iterate_all_by_interface):
25359 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25360 (gst_element_change_state), (gst_element_dispose),
25361 (gst_element_finalize), (gst_element_set_loop_function):
25362 * gst/gstelement.h:
25363 * gst/gstiterator.c: (find_custom_fold_func):
25364 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25365 (gst_pad_collectv), (gst_pad_collect_valist),
25366 (gst_pad_template_new):
25367 * gst/gstpipeline.c: (gst_pipeline_class_init),
25368 (gst_pipeline_dispose), (gst_pipeline_set_property),
25369 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25370 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25371 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25373 * gst/schedulers/entryscheduler.c:
25374 * gst/schedulers/gstbasicscheduler.c:
25375 (gst_basic_scheduler_cothreaded_chain),
25376 (gst_basic_scheduler_chain_add_element):
25377 * testsuite/bins/interface.c: (main):
25379 Added GstSystemClock test.
25380 Implemented clock distribution code in GstBin.
25381 Implemented iterate sinks method for future use.
25382 Rearranged gstelement.h
25383 Fix GstIterator comparison bug.
25384 Moved some code to GstPipeline, mostly clocking related.
25386 2005-03-09 Wim Taymans <wim@fluendo.com>
25389 * gst/gst_private.h:
25390 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25391 (gst_bin_remove_func), (gst_bin_remove),
25392 (gst_bin_get_by_name_recurse_up):
25393 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25394 (gst_clock_id_compare_func), (gst_clock_id_wait),
25395 (gst_clock_id_wait_async), (gst_clock_init),
25396 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25397 * gst/gstelement.h:
25398 * gst/gstinfo.c: (_gst_debug_init):
25400 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25401 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25403 Bump version number, we're now 0.9.0
25404 Add future debugging category.
25405 Fix NULL _unref() in _get_by_name_recurse_up
25406 Rearrange gstpad.h.
25409 2005-03-08 Wim Taymans <wim@fluendo.com>
25411 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25412 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25413 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25414 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25415 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25416 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25417 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25418 * gst/elements/gstidentity.c: (gst_identity_class_init):
25419 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25420 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25421 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25422 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25423 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25425 * gst/gstelement.c: (gst_element_class_init),
25426 (gst_element_base_class_init), (gst_element_init),
25427 (gst_element_get_random_pad), (gst_element_wait_state_change),
25428 (gst_element_change_state), (gst_element_dispose),
25429 (gst_element_finalize), (gst_element_set_loop_function):
25430 * gst/gstelement.h:
25431 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25432 * gst/gstthread.c: (gst_thread_class_init),
25433 (gst_thread_release_children_locks), (gst_thread_change_state):
25434 * gst/schedulers/gstbasicscheduler.c:
25435 (gst_basic_scheduler_loopfunc_wrapper),
25436 (gst_basic_scheduler_chain_wrapper),
25437 (gst_basic_scheduler_src_wrapper),
25438 (gst_basic_scheduler_remove_element):
25439 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25440 Remove threadsafe properties. Fix elements because GObject
25441 complains when installing a property before declaring a
25442 set/get_property handler.
25443 Rearrange gstelement.h file, use STATE macros for state locks.
25444 Free mutexes in the finalize method instead of dispose.
25446 2005-03-08 Wim Taymans <wim@fluendo.com>
25448 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25449 * gst/gstthread.c: (gst_thread_release_children_locks):
25450 Added parentage check.
25451 Fix build og GstThread again.
25453 2005-03-08 Wim Taymans <wim@fluendo.com>
25455 * docs/design/part-MT-refcounting.txt:
25456 * docs/design/part-conventions.txt:
25457 * docs/design/part-gstobject.txt:
25458 * docs/design/part-relations.txt:
25459 * docs/design/part-standards.txt:
25460 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25461 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25462 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25463 (gst_bin_iterate_all_by_interface):
25466 * gst/gstelement.c: (gst_element_class_init),
25467 (gst_element_change_state), (gst_element_set_loop_function):
25468 * gst/gstelement.h:
25469 * gst/gstiterator.c:
25470 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25471 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25472 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25473 (gst_object_set_parent), (gst_object_unparent),
25474 (gst_object_check_uniqueness):
25476 Docs updates, clean up some headers.
25478 2005-03-07 Wim Taymans <wim@fluendo.com>
25480 * check/.cvsignore:
25481 * check/Makefile.am:
25482 * check/gst-libs/.cvsignore:
25483 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25484 * check/gst/.cvsignore:
25485 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25486 (START_TEST), (gstbus_suite), (main):
25487 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25488 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25489 (gst_data_suite), (main):
25490 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25491 (add_fold_func), (gstiterator_suite), (main):
25492 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25493 (thread_name_object), (thread_name_object_default),
25494 (gst_object_name_compare), (gst_object_suite), (main):
25495 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25496 (gst_pad_suite), (main):
25497 * check/gstcheck.c: (gst_check_log_message_func),
25498 (gst_check_log_critical_func), (gst_check_init):
25499 * check/gstcheck.h:
25500 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25501 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25504 2005-03-07 Wim Taymans <wim@fluendo.com>
25506 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25507 (gst_list_iterator_next), (gst_list_iterator_resync),
25508 (gst_list_iterator_free), (gst_iterator_new_list),
25509 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25510 (gst_iterator_free), (gst_iterator_push), (filter_next),
25511 (filter_resync), (filter_uninit), (filter_free),
25512 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25513 (gst_iterator_foreach), (find_custom_fold_func),
25514 (gst_iterator_find_custom):
25515 * gst/gstiterator.h:
25516 Added missing files.
25518 2005-03-07 Wim Taymans <wim@fluendo.com>
25522 * docs/design/part-MT-refcounting.txt:
25523 * docs/design/part-conventions.txt:
25524 * docs/design/part-gstobject.txt:
25525 * docs/design/part-relations.txt:
25526 * examples/mixer/mixer.c: (main):
25527 * examples/thread/thread.c: (eos), (main):
25529 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25530 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25531 (gst_spider_plug_from_srcpad):
25532 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25533 (gst_spider_identity_change_state),
25534 (gst_spider_identity_sink_loop_type_finding):
25535 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25536 * gst/elements/gstidentity.c: (gst_identity_init):
25537 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25538 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25539 * gst/elements/gsttypefindelement.c: (free_entry):
25542 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25543 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25544 (gst_bin_set_index), (gst_bin_set_element_sched),
25545 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25546 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25547 (gst_bin_iterate_elements), (iterate_child_recurse),
25548 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25549 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25550 (compare_interface), (gst_bin_get_by_interface),
25551 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25553 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25554 (gst_buffer_default_free), (gst_buffer_default_copy),
25555 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25556 (gst_buffer_create_sub):
25558 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25559 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25560 (gst_caps_unref), (gst_static_caps_get),
25561 (gst_caps_remove_and_get_structure), (gst_caps_append),
25562 (gst_caps_append_structure), (gst_caps_remove_structure),
25563 (gst_caps_copy_nth), (gst_caps_set_simple),
25564 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25565 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25566 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25567 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25568 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25569 (gst_caps_structure_figure_out_union),
25570 (gst_caps_switch_structures), (gst_caps_do_simplify),
25571 (gst_caps_replace), (gst_caps_from_string),
25572 (gst_caps_copy_conditional):
25574 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25575 (_gst_clock_id_free), (gst_clock_id_unref),
25576 (gst_clock_id_compare_func), (gst_clock_id_wait),
25577 (gst_clock_id_wait_async), (gst_clock_class_init),
25578 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25579 (gst_clock_get_time), (gst_clock_set_time_adjust),
25580 (gst_clock_set_property), (gst_clock_get_property):
25583 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25584 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25586 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25587 (gst_element_requires_clock), (gst_element_provides_clock),
25588 (gst_element_set_clock), (gst_element_clock_wait),
25589 (gst_element_wait), (gst_element_set_time_delay),
25590 (gst_element_is_indexable), (gst_element_add_pad),
25591 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25592 (pad_compare_name), (gst_element_get_static_pad),
25593 (gst_element_request_pad), (gst_element_get_request_pad),
25594 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25595 (gst_element_class_get_pad_template_list),
25596 (gst_element_class_get_pad_template), (gst_element_error_func),
25597 (gst_element_get_random_pad), (gst_element_get_event_masks),
25598 (gst_element_send_event), (gst_element_seek),
25599 (gst_element_get_query_types), (gst_element_query),
25600 (gst_element_get_formats), (gst_element_convert),
25601 (gst_element_is_locked_state), (gst_element_set_locked_state),
25602 (gst_element_sync_state_with_parent), (gst_element_change_state),
25603 (gst_element_finalize), (gst_element_yield),
25604 (gst_element_interrupt), (gst_element_set_scheduler),
25605 (gst_element_get_scheduler), (gst_element_set_loop_function):
25606 * gst/gstelement.h:
25608 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25609 (gst_format_get_by_nick), (gst_format_get_details),
25610 (gst_format_iterate_definitions):
25612 * gst/gstindex.c: (gst_index_gtype_resolver):
25615 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25616 (gst_mem_chunk_free):
25617 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25618 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25619 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25620 (gst_object_dispatch_properties_changed),
25621 (gst_object_set_name_default), (gst_object_set_name),
25622 (gst_object_get_name), (gst_object_set_name_prefix),
25623 (gst_object_get_name_prefix), (gst_object_set_parent),
25624 (gst_object_get_parent), (gst_object_unparent),
25625 (gst_object_check_uniqueness), (gst_object_save_thyself),
25626 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25627 (gst_object_set_property), (gst_object_get_property),
25628 (gst_object_get_path_string):
25630 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25631 (gst_real_pad_init), (gst_real_pad_get_property),
25632 (gst_pad_custom_new), (gst_pad_get_direction),
25633 (gst_pad_set_active), (gst_pad_is_active),
25634 (gst_pad_set_event_function), (gst_pad_is_linked),
25635 (gst_pad_link_free), (gst_pad_link_intersect),
25636 (gst_pad_link_fixate), (gst_pad_set_caps),
25637 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25638 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25639 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25640 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25641 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25642 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25643 (gst_pad_realize), (gst_pad_get_allowed_caps),
25644 (gst_real_pad_dispose), (gst_real_pad_finalize),
25645 (gst_pad_collectv), (gst_pad_collect_valist),
25646 (gst_pad_template_dispose), (gst_pad_template_new),
25647 (gst_pad_get_internal_links):
25649 * gst/gstpipeline.c: (gst_pipeline_dispose),
25650 (gst_pipeline_change_state):
25651 * gst/gstpipeline.h:
25653 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25654 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25655 * gst/gstpluginfeature.h:
25656 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25657 * gst/gstquery.c: (_gst_query_type_initialize),
25658 (gst_query_type_register), (gst_query_type_get_by_nick),
25659 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25661 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25662 * gst/gstscheduler.c: (gst_scheduler_add_element),
25663 (gst_scheduler_factory_create):
25664 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25665 (gst_structure_free), (gst_structure_set_name),
25666 (gst_structure_id_set_value), (gst_structure_set_value),
25667 (gst_structure_set_valist), (gst_structure_remove_field),
25668 (gst_structure_remove_fields),
25669 (gst_structure_remove_fields_valist),
25670 (gst_structure_remove_all_fields), (gst_structure_foreach),
25671 (gst_structure_map_in_place),
25672 (gst_caps_structure_fixate_field_nearest_int),
25673 (gst_caps_structure_fixate_field_nearest_double):
25674 * gst/gststructure.h:
25675 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25676 (gst_system_clock_init), (gst_system_clock_dispose),
25677 (gst_system_clock_async_thread),
25678 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25679 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25680 * gst/gstsystemclock.h:
25681 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25682 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25683 * gst/gsttaginterface.c:
25684 * gst/gstthread.c: (gst_thread_dispose),
25685 (gst_thread_release_children_locks), (gst_thread_change_state),
25686 (gst_thread_main_loop):
25687 * gst/gsttrashstack.h:
25688 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25690 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25691 (gst_element_request_pad), (gst_element_get_pad_from_template),
25692 (gst_element_request_compatible_pad),
25693 (gst_element_get_compatible_pad_filtered),
25694 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25695 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25696 (gst_element_link_many), (gst_element_link),
25697 (gst_element_link_pads), (gst_element_unlink_pads),
25698 (gst_element_unlink_many), (gst_element_unlink),
25699 (gst_pad_can_link_filtered), (gst_pad_can_link),
25700 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25701 (gst_object_default_error), (gst_bin_add_many),
25702 (gst_bin_remove_many), (gst_element_populate_std_props),
25703 (gst_element_class_install_std_props), (gst_buffer_merge),
25704 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25705 (link_fold_func), (gst_pad_proxy_setcaps):
25707 * gst/gstvalue.c: (gst_value_deserialize_string):
25708 * gst/parse/grammar.y:
25709 * gst/schedulers/gstbasicscheduler.c:
25710 (gst_basic_scheduler_cothreaded_chain),
25711 (gst_basic_scheduler_chain_recursive_add),
25712 (gst_basic_scheduler_pad_link):
25713 * gst/schedulers/gstoptimalscheduler.c:
25714 (get_group_schedule_function),
25715 (gst_opt_scheduler_state_transition),
25716 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25717 * libs/gst/bytestream/bytestream.c:
25718 * libs/gst/dataprotocol/dataprotocol.c:
25719 (gst_dp_header_from_buffer):
25722 * tests/threadstate/threadstate2.c: (eos):
25723 * tools/gst-compprep.c: (main):
25724 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25725 (print_pad_info), (print_children_info):
25726 * tools/gst-launch.c: (idle_func), (main):
25727 * tools/gst-md5sum.c: (idle_func), (main):
25728 * tools/gst-xmlinspect.c: (print_element_info):
25729 First THREADED backport attempt, focusing on adding locks and
25730 making sure the API is threadsafe. Needs more work. More docs
25733 2005-02-24 Andy Wingo <wingo@pobox.com>
25735 * tests/bench-complexity.scm:
25736 * tests/complexity.gnuplot: New files, good for running complexity
25739 * tests/Makefile.am:
25740 * tests/complexity.c: New test, sets up N elements, at each level
25741 teeing into M streams per element. Eeeenteresting.
25743 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25744 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25745 running bench-mass_elements.scm.
25747 * tests/bench-mass_elements.scm: New script, runs mass_elements
25748 for various numbers of identities, outputting the results to a
25749 file. Requires guile 1.6. Just for testing.
25751 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25753 * gst/schedulers/fairscheduler.c:
25754 compile with debug disabled
25756 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25759 hunting season on 0.9 is now OPEN